Skip to content

Commit

Permalink
fix: update options and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck committed Nov 25, 2024
1 parent ffadfd1 commit 48a4114
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 74 deletions.
21 changes: 9 additions & 12 deletions api/src/enums/applications/household-member-relationship-enum.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
export enum HouseholdMemberRelationship {
spouse = 'spouse',
registeredDomesticPartner = 'registeredDomesticPartner',
parent = 'parent',
spousePartner = 'spousePartner',
girlfriendBoyfriend = 'girlfriendBoyfriend',
child = 'child',
sibling = 'sibling',
cousin = 'cousin',
aunt = 'aunt',
uncle = 'uncle',
nephew = 'nephew',
niece = 'niece',
grandparent = 'grandparent',
greatGrandparent = 'greatGrandparent',
inLaw = 'inLaw',
parent = 'parent',
friend = 'friend',
brotherSister = 'brotherSister',
cousin = 'cousin',
auntUncle = 'auntUncle',
nephewNiece = 'nephewNiece',
grandparentGreatGrandparent = 'grandparentGreatGrandparent',
liveInAide = 'liveInAide',
other = 'other',
}
16 changes: 7 additions & 9 deletions shared-helpers/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,19 @@
"application.financial.vouchers.title": "¿Recibe usted o algún miembro de su hogar vales de la sección 8 o emitidos por la Autoridad de Vivienda, incluidos los vales de Vivienda de Apoyo para Asuntos de Veteranos (VASH), o ayuda para el alquiler de otras fuentes?",
"application.form.general.saveAndFinishLater": "Guardar y terminar más tarde",
"application.form.general.saveAndReturn": "Guardar y regresar a revisión",
"application.form.options.relationship.aunt": "Tía",
"application.form.options.relationship.auntUncle": "Tía/Tío",
"application.form.options.relationship.child": "Hijo",
"application.form.options.relationship.cousin": "Primo",
"application.form.options.relationship.friend": "Amigo(a)",
"application.form.options.relationship.grandparent": "Abuelo",
"application.form.options.relationship.greatGrandparent": "Bisabuelo",
"application.form.options.relationship.grandparentGreatGrandparent": "Abuelo/Bisabuelo",
"application.form.options.relationship.inLaw": "Pariente político",
"application.form.options.relationship.nephew": "Sobrino",
"application.form.options.relationship.niece": "Sobrina",
"application.form.options.relationship.nephew": "Sobrino/Sobrina",
"application.form.options.relationship.liveInAide": "Asistente Residente",
"application.form.options.relationship.other": "Otro",
"application.form.options.relationship.parent": "Padre",
"application.form.options.relationship.registeredDomesticPartner": "Pareja de hecho registrada",
"application.form.options.relationship.sibling": "Hermano",
"application.form.options.relationship.spouse": "Cónyuge",
"application.form.options.relationship.uncle": "Tío",
"application.form.options.relationship.girlfriendBoyfriend": "Novia/Novio",
"application.form.options.relationship.brotherSister": "Hermano/Hermana",
"application.form.options.relationship.spousePartner": "Cónyuge/Pareja",
"application.household.addMembers.addHouseholdMember": "+ Añadir miembro del hogar",
"application.household.addMembers.done": "Ya terminó de añadir personas",
"application.household.addMembers.doubleCheck": "Por favor revise la información de cada miembro del hogar.",
Expand Down
17 changes: 7 additions & 10 deletions shared-helpers/src/locales/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,18 @@
"application.financial.vouchers.title": "Do you or anyone in your household receive Section 8 or Housing Authority issued vouchers, including Veterans Affairs Supportive Housing (VASH) vouchers, or rental assistance from other sources?",
"application.form.general.saveAndFinishLater": "Save and finish later",
"application.form.general.saveAndReturn": "Save and return to review",
"application.form.options.relationship.aunt": "Aunt",
"application.form.options.relationship.auntUncle": "Aunt/Uncle",
"application.form.options.relationship.child": "Child",
"application.form.options.relationship.cousin": "Cousin",
"application.form.options.relationship.friend": "Friend",
"application.form.options.relationship.grandparent": "Grandparent",
"application.form.options.relationship.greatGrandparent": "Great Grandparent",
"application.form.options.relationship.inLaw": "In Law",
"application.form.options.relationship.nephew": "Nephew",
"application.form.options.relationship.niece": "Niece",
"application.form.options.relationship.grandparentGreatGrandparent": "Grandparent/Great Grandparent",
"application.form.options.relationship.nephewNiece": "Nephew/Niece",
"application.form.options.relationship.liveInAide": "Live-in Aide",
"application.form.options.relationship.other": "Other",
"application.form.options.relationship.parent": "Parent",
"application.form.options.relationship.registeredDomesticPartner": "Registered Domestic Partner",
"application.form.options.relationship.sibling": "Sibling",
"application.form.options.relationship.spouse": "Spouse",
"application.form.options.relationship.uncle": "Uncle",
"application.form.options.relationship.girlfriendBoyfriend": "Girlfriend/Boyfriend",
"application.form.options.relationship.brotherSister": "Brother/Sister",
"application.form.options.relationship.spousePartner": "Spouse/Partner",
"application.household.addMembers.addHouseholdMember": "+ Add Household Member",
"application.household.addMembers.done": "Done adding people",
"application.household.addMembers.doubleCheck": "Please double-check the information for each household member.",
Expand Down
17 changes: 7 additions & 10 deletions shared-helpers/src/locales/tl.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,18 @@
"application.financial.vouchers.title": "Ikaw ba o sinuman sa iyong sambahayan ay tumatanggap ng Seksyon 8 o Housing Authority na inisyu ng mga voucher, kabilang ang mga voucher ng Veterans Affairs Supportive Housing (VASH), o tulong sa pag-upa mula sa ibang mga mapagkukunan?",
"application.form.general.saveAndFinishLater": "I-save at tapusin pagkatapos",
"application.form.general.saveAndReturn": "I-save at ibalik para repasuhin",
"application.form.options.relationship.aunt": "Tiyahin",
"application.form.options.relationship.auntUncle": "Tita/Tito",
"application.form.options.relationship.child": "Anak",
"application.form.options.relationship.cousin": "Pinsan",
"application.form.options.relationship.friend": "Kaibigan",
"application.form.options.relationship.grandparent": "Lolo o Lola",
"application.form.options.relationship.greatGrandparent": "Lolo o Lola sa Tuhod",
"application.form.options.relationship.inLaw": "Biyenan o Bayaw o Manugang",
"application.form.options.relationship.nephew": "Pamangkin na lalaki",
"application.form.options.relationship.niece": "Pamangkin na babae",
"application.form.options.relationship.grandparentGreatGrandparent": "Lolo o Lola/Lolo o Lola sa Tuhod",
"application.form.options.relationship.nephewNiece": "Pamangkin na lalaki/Pamangkin na babae",
"application.form.options.relationship.liveInAide": "Live-in Aide",
"application.form.options.relationship.other": "Iba pa",
"application.form.options.relationship.parent": "Magulang",
"application.form.options.relationship.registeredDomesticPartner": "Nakarehistrong kinakasama",
"application.form.options.relationship.sibling": "Kapatid",
"application.form.options.relationship.spouse": "Asawa",
"application.form.options.relationship.uncle": "Tiyuhin",
"application.form.options.relationship.girlfriendBoyfriend": "Kasintahan",
"application.form.options.relationship.brotherSister": "Kuya/Ate",
"application.form.options.relationship.spousePartner": "Asawa/Kasosyo",
"application.household.addMembers.addHouseholdMember": "+ Magdagdag ng miyembro ng sambahayan",
"application.household.addMembers.done": "Tapos nang magdagdag ng mga tao",
"application.household.addMembers.doubleCheck": "Pakitingnan muli ang impormasyon para sa bawat miyembro ng sambahayan.",
Expand Down
17 changes: 7 additions & 10 deletions shared-helpers/src/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,18 @@
"application.financial.vouchers.title": "Bạn hay ai đó trong hộ gia đình mình có nhận phiếu theo Mục 8 hoặc phiếu do Cơ quan Quản lý Nhà ở cấp, bao gồm các phiếu Nhà ở hỗ trợ Cựu chiến binh (VASH) hoặc sự hỗ trợ tiền thuê nhà từ các nguồn khác không?",
"application.form.general.saveAndFinishLater": "Lưu và hoàn thành sau",
"application.form.general.saveAndReturn": "Lưu và quay lại để xem",
"application.form.options.relationship.aunt": "Cô/Dì/Bác/Mợ",
"application.form.options.relationship.auntUncle": "Cô/Chú",
"application.form.options.relationship.child": "Con",
"application.form.options.relationship.cousin": "Anh chị em họ",
"application.form.options.relationship.friend": "Bạn",
"application.form.options.relationship.grandparent": "Ông/Bà",
"application.form.options.relationship.greatGrandparent": "Cụ",
"application.form.options.relationship.inLaw": "Người thân bên thông gia",
"application.form.options.relationship.nephew": "Cháu trai",
"application.form.options.relationship.niece": "Cháu gái",
"application.form.options.relationship.grandparentGreatGrandparent": "Ông bà/Ông bà cố",
"application.form.options.relationship.nephewNiece": "Cháu trai/Cháu gái",
"application.form.options.relationship.liveInAide": "Trợ lý nội trú",
"application.form.options.relationship.other": "Khác",
"application.form.options.relationship.parent": "Phụ huynh",
"application.form.options.relationship.registeredDomesticPartner": "Người đã đăng ký sống cùng",
"application.form.options.relationship.sibling": "Anh chị em",
"application.form.options.relationship.spouse": "Vợ/Chồng/Bạn đời",
"application.form.options.relationship.uncle": "Chú/Cậu/Bác",
"application.form.options.relationship.girlfriendBoyfriend": "Bạn gái/Bạn trai",
"application.form.options.relationship.brotherSister": "Anh trai/Em gái",
"application.form.options.relationship.spousePartner": "Vợ/chồng/đối tác",
"application.household.addMembers.addHouseholdMember": "+ Thêm thành viên trong hộ gia đình",
"application.household.addMembers.done": "Thêm xong thành viên",
"application.household.addMembers.doubleCheck": "Hãy kiểm tra lại thông tin cho mỗi thành viên hộ gia đình.",
Expand Down
17 changes: 7 additions & 10 deletions shared-helpers/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,18 @@
"application.financial.vouchers.title": "您或您家中是否有人領取第 8 節或住房管理局所發放的住房券,包括退伍軍人事務支援住房(Veterans Affairs Supportive Housing,VASH)券,或其他來源的租金援助?",
"application.form.general.saveAndFinishLater": "儲存並於稍後完成",
"application.form.general.saveAndReturn": "儲存並返回檢視",
"application.form.options.relationship.aunt": "阿姨/姑姑",
"application.form.options.relationship.auntUncle": "阿姨/姑姑",
"application.form.options.relationship.child": "孩子",
"application.form.options.relationship.cousin": "表親",
"application.form.options.relationship.friend": "朋友",
"application.form.options.relationship.grandparent": "祖父母",
"application.form.options.relationship.greatGrandparent": "曾祖父母",
"application.form.options.relationship.inLaw": "姻親",
"application.form.options.relationship.nephew": "姪兒/外甥",
"application.form.options.relationship.niece": "姪女/外甥女",
"application.form.options.relationship.grandparentGreatGrandparent": "祖父母/曾祖父母",
"application.form.options.relationship.nephewNiece": "姪子/姪女",
"application.form.options.relationship.liveInAide": "住家助理",
"application.form.options.relationship.other": "其他",
"application.form.options.relationship.parent": "父母",
"application.form.options.relationship.registeredDomesticPartner": "已登記的同居伴侶",
"application.form.options.relationship.sibling": "兄弟姊妹",
"application.form.options.relationship.spouse": "配偶",
"application.form.options.relationship.uncle": "舅舅/叔伯",
"application.form.options.relationship.girlfriendBoyfriend": "女朋友/男朋友",
"application.form.options.relationship.brotherSister": "兄弟/姊妹",
"application.form.options.relationship.spousePartner": "配偶/伴侶",
"application.household.addMembers.addHouseholdMember": "+ 新增家庭成員",
"application.household.addMembers.done": "完成加入成員",
"application.household.addMembers.doubleCheck": "請再次確認每位家庭成員的資訊。",
Expand Down
21 changes: 9 additions & 12 deletions shared-helpers/src/types/backend-swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6437,20 +6437,17 @@ export enum AlternateContactRelationship {
}

export enum HouseholdMemberRelationship {
"spouse" = "spouse",
"registeredDomesticPartner" = "registeredDomesticPartner",
"parent" = "parent",
"spousePartner" = "spousePartner",
"girlfriendBoyfriend" = "girlfriendBoyfriend",
"child" = "child",
"sibling" = "sibling",
"cousin" = "cousin",
"aunt" = "aunt",
"uncle" = "uncle",
"nephew" = "nephew",
"niece" = "niece",
"grandparent" = "grandparent",
"greatGrandparent" = "greatGrandparent",
"inLaw" = "inLaw",
"parent" = "parent",
"friend" = "friend",
"brotherSister" = "brotherSister",
"cousin" = "cousin",
"auntUncle" = "auntUncle",
"nephewNiece" = "nephewNiece",
"grandparentGreatGrandparent" = "grandparentGreatGrandparent",
"liveInAide" = "liveInAide",
"other" = "other",
}
export type AllExtraDataTypes = BooleanInput | TextInput | AddressInput
Expand Down
2 changes: 1 addition & 1 deletion sites/public/cypress/mockData/applicationData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export const ElmVillageApplication: Application = {
zipCode: "90223",
},
sameAddress: YesNoEnum.no,
relationship: HouseholdMemberRelationship.spouse,
relationship: HouseholdMemberRelationship.spousePartner,
},
],
preferredUnitTypes: [
Expand Down

0 comments on commit 48a4114

Please sign in to comment.