Skip to content

Commit

Permalink
Merge pull request #24 from Zolon-DOL/development-baseline-320
Browse files Browse the repository at this point in the history
Splash screen language settings ISDMISSSTC-320 Github USDepartmentofLabor#92
  • Loading branch information
transreductionist authored Feb 7, 2020
2 parents aab1d76 + f1854c4 commit 4d3940e
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 14 deletions.
58 changes: 51 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"fs-extra": "7.0.1",
"html-webpack-plugin": "4.0.0-alpha.2",
"identity-obj-proxy": "3.0.0",
"ios-sim": "^8.0.2",
"jest": "^24.7.1",
"jest-pnp-resolver": "1.0.2",
"jest-resolve": "23.6.0",
Expand Down
8 changes: 4 additions & 4 deletions src/routes/Splash/Splash.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class Splash extends Component {
};

render() {
const { localizor } = this.props;
return (
<Wrapper>
<FlexContent>
Expand All @@ -102,10 +103,9 @@ class Splash extends Component {
</LogoWrapper>
<Brand>ILAB</Brand>
</BrandLogoWrapper>
<SubText>
Working to eliminate the worst forms of child labor,
forced labor, and human trafficking worldwide.
</SubText>
<SubText>
{localizor.strings.general.logline}
</SubText>
</SplashHeader>
<LanguageWrapper id="language-switcher">
<LanguageButton
Expand Down
9 changes: 6 additions & 3 deletions src/static/data/general/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export const General = {
usDol: "Bureau of International Labor Affairs",
dolSeal: "United States Department of Labor seal",
dol: "United States Department of Labor",
back: "Back"
back: "Back",
logline: "Working to eliminate the worst forms of child labor, forced labor, and human trafficking worldwide."
},
es: {
home: "Página principal",
Expand Down Expand Up @@ -87,7 +88,8 @@ export const General = {
usDol: "Dirección de Asuntos Laborales Internacionales",
dolSeal: "Sello del Departamento de Trabajo de los Estados Unidos",
dol: "Departamento de Trabajo de los Estados Unidos",
back: "Regresar"
back: "Regresar",
logline: "Iniciativas para eliminar las peores formas de trabajo infantil, trabajo forzoso y trata de personas en todo el mundo."
},
fr: {
home: "Page d'accueil",
Expand Down Expand Up @@ -132,6 +134,7 @@ export const General = {
usDol: "Bureau des affaires internationales du travail",
dolSeal: "Sceau du Département du Travail des États-Unis",
dol: "Département du Travail des États-Unis",
back: "Retour"
back: "Retour",
logline: "Agir pour éliminer les pires formes de travail des enfants, le travail forcé et la traite des personnes à travers le monde."
}
};

0 comments on commit 4d3940e

Please sign in to comment.