Skip to content

Commit

Permalink
feat: add farmworkerHousing and update other translations (bloom-hous…
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgarrye authored Oct 30, 2024
1 parent eb608f5 commit d0e639f
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 19 deletions.
15 changes: 12 additions & 3 deletions api/src/dtos/script-runner/community-type.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,25 @@ export class CommunityTypeDTO {
@IsString({ groups: [ValidationsGroupsEnum.default] })
@IsUUID(4, { groups: [ValidationsGroupsEnum.default] })
@IsDefined({ groups: [ValidationsGroupsEnum.default] })
@ApiProperty()
@ApiProperty({
type: String,
example: 'jurisdiction id',
})
id: string;

@Expose()
@IsString({ groups: [ValidationsGroupsEnum.default] })
@ApiProperty()
@ApiProperty({
type: String,
example: 'newReservedCommunityName',
})
name: string;

@Expose()
@IsString({ groups: [ValidationsGroupsEnum.default] })
@ApiPropertyOptional()
@ApiPropertyOptional({
type: String,
example: 'Description of reserved community type',
})
description?: string;
}
8 changes: 5 additions & 3 deletions shared-helpers/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -665,14 +665,16 @@
"listings.reservedCommunityTitleDefault": "Edificio Reservado",
"listings.reservedCommunityType": "Tipo de comunidad reservada",
"listings.reservedCommunityTypeDescriptions.developmentalDisability": "Personas con discapacidades del desarrollo",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "el titular del vale de HCV / Sección 8",
"listings.reservedCommunityTypeDescriptions.farmworkerHousing": "Trabajadores agrícolas y sus familias",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "Titulares de vales HCV / Sección 8",
"listings.reservedCommunityTypeDescriptions.senior": "Personas mayores",
"listings.reservedCommunityTypeDescriptions.senior55": "Personas mayores de 55 años",
"listings.reservedCommunityTypeDescriptions.senior62": "Personas mayores de 62 años",
"listings.reservedCommunityTypeDescriptions.specialNeeds": "Necesidades especiales",
"listings.reservedCommunityTypeDescriptions.veteran": "Veterano",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "Empleado de la escuela",
"listings.reservedCommunityTypeDescriptions.veteran": "Veteranos",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "Empleados de la escuela",
"listings.reservedCommunityTypes.developmentalDisability": "La discapacidad del desarrollo",
"listings.reservedCommunityTypes.farmworkerHousing": "Vivienda para trabajadores agrícolas",
"listings.reservedCommunityTypes.housingVoucher": "Vale HCV/Sección 8",
"listings.reservedCommunityTypes.senior": "Personas mayores",
"listings.reservedCommunityTypes.senior55": "Personas mayores de 55 años",
Expand Down
8 changes: 5 additions & 3 deletions shared-helpers/src/locales/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -656,14 +656,16 @@
"listings.reservedCommunityTitleDefault": "Reserved Building",
"listings.reservedCommunityType": "Reserved Community Type",
"listings.reservedCommunityTypeDescriptions.developmentalDisability": "People with Developmental Disabilities",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "HCV/Section 8 Voucher Holder",
"listings.reservedCommunityTypeDescriptions.farmworkerHousing": "Farmworkers and Their Families",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "HCV/Section 8 Voucher Holders",
"listings.reservedCommunityTypeDescriptions.senior": "Seniors",
"listings.reservedCommunityTypeDescriptions.senior55": "Seniors 55+",
"listings.reservedCommunityTypeDescriptions.senior62": "Seniors 62+",
"listings.reservedCommunityTypeDescriptions.specialNeeds": "Special Needs",
"listings.reservedCommunityTypeDescriptions.veteran": "Veteran",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "School Employee",
"listings.reservedCommunityTypeDescriptions.veteran": "Veterans",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "School Employees",
"listings.reservedCommunityTypes.developmentalDisability": "Developmental Disability",
"listings.reservedCommunityTypes.farmworkerHousing": "Farmworker Housing",
"listings.reservedCommunityTypes.housingVoucher": "HCV/Section 8 Voucher",
"listings.reservedCommunityTypes.senior": "Seniors",
"listings.reservedCommunityTypes.senior55": "Seniors 55+",
Expand Down
8 changes: 5 additions & 3 deletions shared-helpers/src/locales/tl.json
Original file line number Diff line number Diff line change
Expand Up @@ -664,14 +664,16 @@
"listings.reservedCommunityTitleDefault": "Nakareserbang Gusali",
"listings.reservedCommunityType": "Nakareserbang Uri ng Komunidad",
"listings.reservedCommunityTypeDescriptions.developmentalDisability": "Mga taong may Kapansanan sa Pag-unlad",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "May-hawak ng Voucher ng HCV/Seksyon 8",
"listings.reservedCommunityTypeDescriptions.farmworkerHousing": "Mga Manggagawa sa Bukid at Kanilang Pamilya",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "Mga May hawak ng Voucher ng HCV/Seksyon 8",
"listings.reservedCommunityTypeDescriptions.senior": "Mga nakatatanda",
"listings.reservedCommunityTypeDescriptions.senior55": "Mga nakatatanda 55+",
"listings.reservedCommunityTypeDescriptions.senior62": "Mga nakatatanda 62+",
"listings.reservedCommunityTypeDescriptions.specialNeeds": "Espesyal na pangangailangan",
"listings.reservedCommunityTypeDescriptions.veteran": "Beterano",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "Empleyado ng Paaralan",
"listings.reservedCommunityTypeDescriptions.veteran": "Mga beterano",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "Mga empleyado ng paaralan",
"listings.reservedCommunityTypes.developmentalDisability": "Kapansanan sa Pag-unlad",
"listings.reservedCommunityTypes.farmworkerHousing": "Pabahay ng Magsasaka",
"listings.reservedCommunityTypes.housingVoucher": "Voucher ng HCV/Seksyon 8",
"listings.reservedCommunityTypes.senior": "Mga nakatatanda",
"listings.reservedCommunityTypes.senior55": "Mga nakatatanda 55+",
Expand Down
6 changes: 4 additions & 2 deletions shared-helpers/src/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -665,14 +665,16 @@
"listings.reservedCommunityTitleDefault": "Tòa nhà dành riêng",
"listings.reservedCommunityType": "Loại cộng đồng dành riêng",
"listings.reservedCommunityTypeDescriptions.developmentalDisability": "Người khuyết tật phát triển",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "Người giữ phiếu HCV/Phần 8",
"listings.reservedCommunityTypeDescriptions.farmworkerHousing": "Công nhân nông trại và gia đình của họ",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "Người sở hữu Phiếu giảm giá HCV/Mục 8",
"listings.reservedCommunityTypeDescriptions.senior": "Người lớn tuổi",
"listings.reservedCommunityTypeDescriptions.senior55": "Người cao tuổi 55+",
"listings.reservedCommunityTypeDescriptions.senior62": "Người cao tuổi 62+",
"listings.reservedCommunityTypeDescriptions.specialNeeds": "Nhu cầu đặc biệt",
"listings.reservedCommunityTypeDescriptions.veteran": "Cựu chiến binh",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "Nhân viên trường học",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "Nhân viên nhà trường",
"listings.reservedCommunityTypes.developmentalDisability": "Khuyết tật phát triển",
"listings.reservedCommunityTypes.farmworkerHousing": "Nhà ở cho công nhân nông trại",
"listings.reservedCommunityTypes.housingVoucher": "Phiếu HCV/Phần 8",
"listings.reservedCommunityTypes.senior": "Người lớn tuổi",
"listings.reservedCommunityTypes.senior55": "Người cao tuổi 55+",
Expand Down
12 changes: 7 additions & 5 deletions shared-helpers/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -665,21 +665,23 @@
"listings.reservedCommunityTitleDefault": "预留楼",
"listings.reservedCommunityType": "保留社区类型",
"listings.reservedCommunityTypeDescriptions.developmentalDisability": "发育障碍人士",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "HCV/第 8 节凭证持有者",
"listings.reservedCommunityTypeDescriptions.farmworkerHousing": "農場工人及其家人",
"listings.reservedCommunityTypeDescriptions.housingVoucher": "HCV/第 8 節優惠券持有者",
"listings.reservedCommunityTypeDescriptions.senior": "老年人",
"listings.reservedCommunityTypeDescriptions.senior55": "55 岁以上的老年人",
"listings.reservedCommunityTypeDescriptions.senior62": "62 岁以上的老年人",
"listings.reservedCommunityTypeDescriptions.specialNeeds": "特殊需求",
"listings.reservedCommunityTypeDescriptions.veteran": "老将",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "学校员工",
"listings.reservedCommunityTypeDescriptions.veteran": "退伍軍人",
"listings.reservedCommunityTypeDescriptions.schoolEmployee": "學校員工",
"listings.reservedCommunityTypes.developmentalDisability": "发育障碍",
"listings.reservedCommunityTypes.farmworkerHousing": "移工住房",
"listings.reservedCommunityTypes.housingVoucher": "HCV/第 8 节优惠券",
"listings.reservedCommunityTypes.senior": "老年人",
"listings.reservedCommunityTypes.senior55": "55 岁以上的老年人",
"listings.reservedCommunityTypes.senior62": "62 岁以上的老年人",
"listings.reservedCommunityTypes.specialNeeds": "特殊需求",
"listings.reservedCommunityTypes.veteran": "老将",
"listings.reservedCommunityTypes.schoolEmployee": "学校员工",
"listings.reservedCommunityTypes.veteran": "老將",
"listings.reservedCommunityTypes.schoolEmployee": "學校員工",
"listings.reservedFor": "保留給 %{type}",
"listings.reservedTypePlural.developmentalDisability": "发育障碍",
"listings.reservedTypePlural.family": "家庭",
Expand Down
1 change: 1 addition & 0 deletions shared-helpers/src/types/backend-swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2275,6 +2275,7 @@ export class ScriptRunnerService {
axios(configs, resolve, reject)
})
}

/**
* A script that updates the preference keys for applications on Spark Homes
*/
Expand Down

0 comments on commit d0e639f

Please sign in to comment.