Skip to content

Commit

Permalink
💬 Add translations for job postings
Browse files Browse the repository at this point in the history
  • Loading branch information
petterhh committed Dec 3, 2024
1 parent f6a0f8c commit ab17aa0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@
"Administasjon": "Administration",
"field": "Field",
"showMore": "Show all"
},
"job_posting": {
"office": "Office",
"all": "All"
}
}
4 changes: 4 additions & 0 deletions messages/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@
"Administasjon": "Administrasjon",
"field": "Fag",
"showMore": "Vis alle"
},
"job_posting": {
"office": "Kontor",
"all": "Alle"
}
}
4 changes: 4 additions & 0 deletions messages/se.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@
"Administasjon": "Administration",
"field": "Fält",
"showMore": "Vis alla"
},
"job_posting": {
"office": "Kontor",
"all": "Alla"
}
}
4 changes: 2 additions & 2 deletions src/components/sections/jobs/JobPostingList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function JobPostingList({
}
}

const t = useTranslations("employee_card");
const t = useTranslations("job_posting");

useEffect(() => {
if (locationFilter === null) {
Expand All @@ -72,7 +72,7 @@ export default function JobPostingList({
return (
<div className={styles.jobPostingsContainer}>
<div className={styles.filters}>
<Text type="labelRegular">Kontor</Text>
<Text type="labelRegular">{t("office")}</Text>
<Tag
active={!locationFilter}
type="button"
Expand Down

0 comments on commit ab17aa0

Please sign in to comment.