Skip to content

Commit

Permalink
Merge pull request #1997 from headlamp-k8s/i18next-bump
Browse files Browse the repository at this point in the history
frontend: Update i18next-parser version
  • Loading branch information
joaquimrocha authored May 29, 2024
2 parents 86aa99c + fc5aaae commit 5854429
Show file tree
Hide file tree
Showing 10 changed files with 2,261 additions and 261 deletions.
2 changes: 2 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ yarn-debug.log*
yarn-error.log*

.eslintcache

**/locales/**/*_old.json
1,279 changes: 1,067 additions & 212 deletions frontend/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"productName": "Headlamp",
"engines" : {
"npm" : ">=10.0.0",
"node" : ">=20.9.0"
"engines": {
"npm": ">=10.0.0",
"node": ">=20.9.0"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.9",
Expand Down Expand Up @@ -214,7 +214,7 @@
"fetch-mock": "^9.11.0",
"http-proxy-middleware": "^2.0.1",
"husky": "^4.3.8",
"i18next-parser": "^4.7.0",
"i18next-parser": "^7.9.0",
"jest-canvas-mock": "^2.4.0",
"jest-html-reporter": "^3.10.2",
"jest-websocket-mock": "^2.5.0",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/i18n/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@
"All namespaces": "Alle Namespaces",
"From": "Von",
"Age": "Alter",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})": "{{ eventDate }} ({{ count }} mal seit {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_plural": "{{ eventDate }} ({{ count }} mal seit {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_one": "",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_other": "",
"Release Notes ({{ appVersion }})": "Versionshinweise ({{ appVersion }})",
"Fetching release information…": "Abrufen von Release-Informationen…",
"Skip": "Überspringen",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@
"All namespaces": "All namespaces",
"From": "From",
"Age": "Age",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})": "{{ eventDate }} ({{ count }} times since {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_plural": "{{ eventDate }} ({{ count }} times since {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_one": "{{ eventDate }} ({{ count }} times since {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_other": "{{ eventDate }} ({{ count }} times since {{ firstEventDate }})",
"Release Notes ({{ appVersion }})": "Release Notes ({{ appVersion }})",
"Fetching release information…": "Fetching release information…",
"Skip": "Skip",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/i18n/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@
"All namespaces": "Todos los esp. de nombre",
"From": "De",
"Age": "Edad",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})": "{{ eventDate }} ({{ count }} vez desde {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_plural": "{{ eventDate }} ({{ count }} veces desde {{ firstEventDate }})_plural",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_one": "",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_many": "",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_other": "",
"Release Notes ({{ appVersion }})": "Notas de lanzamiento ({{ appVersion }})",
"Fetching release information…": "Obteniendo información de la versión…",
"Skip": "Saltar",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/i18n/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@
"All namespaces": "Tous les espaces de noms",
"From": "De",
"Age": "Âge",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})": "{{ eventDate }} ({{ count }} foix depuis {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_plural": "{{ eventDate }} ({{ count }} fois depuis {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_one": "",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_many": "",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_other": "",
"Release Notes ({{ appVersion }})": "Notes de version ({{ appVersion }})",
"Fetching release information…": "Récupération des informations de version…",
"Skip": "Passer",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/i18n/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@
"All namespaces": "Todos os \"namespaces\"",
"From": "De",
"Age": "Idade",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})": "{{ eventDate }} ({{ count }} vez desde {{ firstEventDate }})",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_plural": "{{ eventDate }} ({{ count }} vezes desde {{ firstEventDate }})_plural",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_one": "",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_many": "",
"{{ eventDate }} ({{ count }} times since {{ firstEventDate }})_other": "",
"Release Notes ({{ appVersion }})": "Notas de lançamento ({{ appVersion }})",
"Fetching release information…": "A obter informação da versão…",
"Skip": "Saltar",
Expand Down
Loading

0 comments on commit 5854429

Please sign in to comment.