Skip to content

Commit

Permalink
add translation for parallel collection page header
Browse files Browse the repository at this point in the history
  • Loading branch information
17luke committed Aug 14, 2024
1 parent d0298ec commit 6507235
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/static/locales/eng/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"take-part": "Take part",
"icelandic-as-a-second-language": "Icelandic as a Second Language",
"parallel-collection": "Parallel Collection",
"parallel-collection-for-pronunciation-research": "Parallel Collection for Pronunciation Research",
"title": "Samrómur",
"sign-out": "Log out",
"why-demographics-title": "Hvers vegna skiptir þetta máli?",
Expand Down
1 change: 1 addition & 0 deletions public/static/locales/isl/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"take-part": "Taka þátt",
"icelandic-as-a-second-language": "Íslenska sem annað mál",
"parallel-collection": "Samhliða safn",
"parallel-collection-for-pronunciation-research": "Samhliða safn til framburðarannsókna",
"title": "Samrómur",
"why-demographics-title": "Hvers vegna skiptir þetta máli?",
"why-demographics-paragraph": "Ofantaldar upplýsingar eru notaðar til að meta hversu lýðfræðilega dreift gagnasafnið Samrómur er. Því dreifðara og fjölbreyttara sem það er, því betra. Sjá skilmála og persónuverndaryfirlýsingu verkefnisins."
Expand Down
5 changes: 4 additions & 1 deletion src/pages/parallel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,12 @@ class ParallelPage extends React.Component<Props, State> {
};

render() {
const { t } = this.props;
return (
<div>
<ParallelHeader>Samhliða safn til framburðarrannsókna</ParallelHeader>
<ParallelHeader>
{t('parallel-collection-for-pronunciation-research')}
</ParallelHeader>
<ContributePage
sentencesSource="parallel"
contributeType={ContributeType.SPEAK}
Expand Down

0 comments on commit 6507235

Please sign in to comment.