Skip to content

Commit

Permalink
more strings
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Apr 15, 2023
1 parent 6f70d30 commit ad63e7a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/WorkplaceInfo/WorkplaceInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function WorkplaceInfo({
<div className="input-control">
<label htmlFor="numSeats">
<FormattedMessage
id="label.worksCouncilSeats"
id="label.worksCouncilSeatCount"
defaultMessage={"Works Council Seats"}
/>
</label>
Expand Down
25 changes: 13 additions & 12 deletions src/locales/ar.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/* eslint-disable import/no-anonymous-default-export */
export default {
title: "نموذج عمل انتخابات مجلس العمال",
"workplaceInfo.header": "عدد ومعلومات مجالس العمال",
"label.numGendered": "{gender} الموظفين",
"gender.men": "ذكور",
"gender.men.singular": "ذكر",
"gender.women": "اناث",
"gender.women.singular": "انثى",
"gender.nonbinary": "غير ثنائي",
"gender.nonbinary.singular": "غير ثنائثي",
}
const ar = {
title: "نموذج عمل انتخابات مجلس العمال",
"workplaceInfo.header": "عدد ومعلومات مجالس العمال",
"label.numGendered": "{gender} الموظفين",
"gender.men": "ذكور",
"gender.men.singular": "ذكر",
"gender.women": "اناث",
"gender.women.singular": "انثى",
"gender.nonbinary": "غير ثنائي",
"gender.nonbinary.singular": "غير ثنائثي",
};

export default ar;
5 changes: 3 additions & 2 deletions src/locales/de.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/* eslint-disable import/no-anonymous-default-export */
const de: Record<string, string> = {
const de = {
title: "Betriebrat Wahlmodellierer",
"workplaceInfo.header": "Betrieb Info",
// using dot notated keys so we can seamlessly switch to a nested
// object literal syntax if we want to, i.e.
// { gender: { men: "Männer", women: "Frauen" } }
"label.numGendered": "# {gender} als Mitarbeiter",
"label.workerCount": "Mitarbeiterzahl",
"label.worksCouncilSeatCount": "Zahl der Betriebsratsmitglieder",
"gender.men": "Männer",
"gender.men.singular": "Mann",
"gender.women": "Frauen",
Expand Down
6 changes: 4 additions & 2 deletions src/locales/en.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
/* eslint-disable import/no-anonymous-default-export */
export default {
const en = {
title: "Works Council Election Modeller",
"workplaceInfo.header": "Workplace Info",
"label.numGendered": "# of {gender} Employees",
"label.workerCount": "Worker Count",
"label.worksCouncilSeats": "Works Council Seat Count",
"label.worksCouncilSeatCount": "Works Council Seat Count",
"gender.men": "Men",
"gender.men.singular": "Man",
"gender.women": "Women",
"gender.women.singular": "Woman",
"gender.nonbinary": "Non-Binary",
"gender.nonbinary.singular": "Non-Binary",
}

export default en

0 comments on commit ad63e7a

Please sign in to comment.