Skip to content

Commit

Permalink
fix(deps): update dependency i18next to v24 (#3820)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency i18next to v24

* refactor: updated i18next files to v4 format (new plurals)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Rettig <[email protected]>
  • Loading branch information
renovate[bot] and sr258 authored Dec 29, 2024
1 parent 39139a0 commit 6b5310c
Show file tree
Hide file tree
Showing 29 changed files with 120 additions and 112 deletions.
20 changes: 14 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/h5p-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"express": "4.21.2",
"express-fileupload": "^1.4.0",
"fs-extra": "11.2.0",
"i18next": "22.5.1",
"i18next": "24.2.0",
"i18next-fs-backend": "2.6.0",
"i18next-http-middleware": "3.7.1",
"ioredis": "^5.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/h5p-rest-example-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"express-fileupload": "1.5.1",
"express-session": "1.18.1",
"fs-extra": "11.2.0",
"i18next": "22.5.1",
"i18next": "24.2.0",
"i18next-fs-backend": "2.6.0",
"i18next-http-middleware": "3.7.1",
"passport": "0.7.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "Не е посочен тип съдържание.",
"illegal-filename": "Името на файла, което сте използвали, не е разрешено.",
"import-package-no-id-assigned": "Нещо се обърка при съхраняване на пакета: не е зададен идентификатор на съдържанието.",
"installed-libraries_plural": "Добавени са {{count}} нови H5P библиотеки.",
"installed-libraries": "Добавена е {{count}} нова библиотека H5P.",
"installed-libraries_other": "Добавени са {{count}} нови H5P библиотеки.",
"installed-libraries_one": "Добавена е {{count}} нова библиотека H5P.",
"invalid-content-folder": "Липсва валидна папка със съдържание",
"invalid-h5p-json-file-2": "Основният h5p.json не отговаря на схемата ( {{reason}} )",
"invalid-h5p-json-file": "Липсва валиден основен файл h5p.json",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "Не може да се анализира JSON файл от пакета: {{fileName}}",
"unable-to-read-package-file": "Не може да се прочете файл от пакета: {{fileName}}",
"unable-to-unzip": "Каченият от вас файл не е валиден HTML5 пакет (Не можем да го разархивираме)",
"updated-libraries_plural": "Актуализирани {{count}} стари библиотеки.",
"updated-libraries": "Обновена {{count}} стара библиотека.",
"updated-libraries_other": "Актуализирани {{count}} стари библиотеки.",
"updated-libraries_one": "Обновена {{count}} стара библиотека.",
"upload-package-failed-tmp": "Каченият пакет не можа да бъде запазен във временен файл.",
"upload-validation-error": "Каченият от вас файл е невалиден.",
"unsatisfiable-range": "Исканият диапазон на файла не е в рамките на размера на действителния файл.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/bs.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "Nije navedena vrsta sadržaja.",
"illegal-filename": "Naziv datoteke koji ste koristili nije dozvoljen.",
"import-package-no-id-assigned": "Nešto je pošlo po zlu prilikom spremanja paketa: nije dodijeljen nikakav ID sadržaja.",
"installed-libraries_plural": "Dodano {{count}} novih H5P biblioteka.",
"installed-libraries": "Dodano {{count}} novih H5P biblioteka.",
"installed-libraries_other": "Dodano {{count}} novih H5P biblioteka.",
"installed-libraries_one": "Dodano {{count}} novih H5P biblioteka.",
"invalid-content-folder": "Nedostaje važeća mapa sadržaja",
"invalid-h5p-json-file-2": "Glavni h5p.json nije u skladu sa shemom ( {{reason}} )",
"invalid-h5p-json-file": "Nedostaje važeća glavna datoteka h5p.json",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "Nije moguće raščlaniti JSON datoteku iz paketa: {{fileName}}",
"unable-to-read-package-file": "Nije moguće pročitati datoteku iz paketa: {{fileName}}",
"unable-to-unzip": "Datoteka koju ste prenijeli nije važeći HTML5 paket (ne možemo je raspakirati)",
"updated-libraries_plural": "Ažurirano {{count}} starih biblioteka.",
"updated-libraries": "Ažurirano {{count}} starih biblioteka.",
"updated-libraries_other": "Ažurirano {{count}} starih biblioteka.",
"updated-libraries_one": "Ažurirano {{count}} starih biblioteka.",
"upload-package-failed-tmp": "Učitani paket nije moguće sačuvati u privremenu datoteku.",
"upload-validation-error": "Datoteka koju ste prenijeli je nevaljana.",
"unsatisfiable-range": "Traženi opseg datoteke nije unutar veličine stvarne datoteke.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "No s'ha especificat cap tipus de contingut.",
"illegal-filename": "No es permet el nom de fitxer que heu utilitzat.",
"import-package-no-id-assigned": "S'ha produït un error en emmagatzemar el paquet: no s'ha assignat cap identificador de contingut.",
"installed-libraries_plural": "S'han afegit {{count}} biblioteques H5P noves.",
"installed-libraries": "S'ha afegit {{count}} nova biblioteca H5P.",
"installed-libraries_other": "S'han afegit {{count}} biblioteques H5P noves.",
"installed-libraries_one": "S'ha afegit {{count}} nova biblioteca H5P.",
"invalid-content-folder": "Falta una carpeta de contingut vàlida",
"invalid-h5p-json-file-2": "El principal h5p.json no s'ajusta a l'esquema ( {{reason}} )",
"invalid-h5p-json-file": "Falta un fitxer h5p.json principal vàlid",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "No es pot analitzar el fitxer JSON del paquet: {{fileName}}",
"unable-to-read-package-file": "No es pot llegir el fitxer del paquet: {{fileName}}",
"unable-to-unzip": "El fitxer que heu penjat no és un paquet HTML5 vàlid (no podem descomprimir-lo)",
"updated-libraries_plural": "S'han actualitzat {{count}} biblioteques antigues.",
"updated-libraries": "{{count}} biblioteca antiga actualitzada.",
"updated-libraries_other": "S'han actualitzat {{count}} biblioteques antigues.",
"updated-libraries_one": "{{count}} biblioteca antiga actualitzada.",
"upload-package-failed-tmp": "No s'ha pogut desar el paquet carregat al fitxer temporal.",
"upload-validation-error": "El fitxer que heu penjat no és vàlid.",
"unsatisfiable-range": "L'interval sol·licitat del fitxer no es troba dins de la mida del fitxer real.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "Nebyl zadán žádný typ obsahu.",
"illegal-filename": "Název souboru, který jste použili, není povolen.",
"import-package-no-id-assigned": "Při ukládání balíčku se něco pokazilo: nebylo přiděleno žádné ID obsahu.",
"installed-libraries_plural": "Přidáno {{count}} nových knihoven H5P.",
"installed-libraries": "Přidána {{count}} nová knihovna H5P.",
"installed-libraries_other": "Přidáno {{count}} nových knihoven H5P.",
"installed-libraries_one": "Přidána {{count}} nová knihovna H5P.",
"invalid-content-folder": "Chybí platná složka obsahu",
"invalid-h5p-json-file-2": "Hlavní h5p.json neodpovídá schématu ( {{reason}} )",
"invalid-h5p-json-file": "Chybí platný hlavní soubor h5p.json",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "Nelze analyzovat soubor JSON z balíčku: {{fileName}}",
"unable-to-read-package-file": "Soubor nelze načíst z balíčku: {{fileName}}",
"unable-to-unzip": "Nahraný soubor není platný balíček HTML5 (nemůžeme jej rozbalit)",
"updated-libraries_plural": "Aktualizováno {{count}} starých knihoven.",
"updated-libraries": "Aktualizována {{count}} stará knihovna.",
"updated-libraries_other": "Aktualizováno {{count}} starých knihoven.",
"updated-libraries_one": "Aktualizována {{count}} stará knihovna.",
"upload-package-failed-tmp": "Nahraný balíček nelze uložit do dočasného souboru.",
"upload-validation-error": "Nahraný soubor je neplatný.",
"unsatisfiable-range": "Požadovaný rozsah souboru není ve velikosti skutečného souboru.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "Es wurde kein Inhaltstyp angegeben.",
"illegal-filename": "Der verwendete Dateiname ist nicht erlaubt.",
"import-package-no-id-assigned": "Etwas ist beim Speichern des Pakets schiefgegangen: Es wurde keine Inhalts-ID zugewiesen.",
"installed-libraries_plural": "Es wurden {{count}} neue H5P-Bibliotheken wurden hinzugefügt.",
"installed-libraries": "Es wurde {{count}} neue H5P-Bibliothek hinzugefügt.",
"installed-libraries_other": "Es wurden {{count}} neue H5P-Bibliotheken wurden hinzugefügt.",
"installed-libraries_one": "Es wurde {{count}} neue H5P-Bibliothek hinzugefügt.",
"invalid-content-folder": "Es gibt keinen gültigen Inhalts-Ordner",
"invalid-h5p-json-file-2": "Die h5p.json-Datei hat nicht die erforderliche Struktur ({{reason}})",
"invalid-h5p-json-file": "Es gibt keine gültige h5p.json-Datei",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "Das JSON der Datei {{fileName}} konnte nicht geparst werden.",
"unable-to-read-package-file": "Die Datei {{fileName}} aus dem Paket konnte nicht gelesen werden",
"unable-to-unzip": "Die Datei, die du hochgeladen hast, ist kein gültige H5P-Paket. (Sie konnte nicht entpackt werden.)",
"updated-libraries_plural": "{{count}} alte Bibliotheken wurden aktualisiert.",
"updated-libraries": "{{count}} alte Bibliothek wurde aktualisiert.",
"updated-libraries_other": "{{count}} alte Bibliotheken wurden aktualisiert.",
"updated-libraries_one": "{{count}} alte Bibliothek wurde aktualisiert.",
"upload-package-failed-tmp": "Das hochgeladene H5P-Paket konnte nicht in einer temporären Datei gespeichert werden.",
"upload-validation-error": "Die Datei, die du hochgeladen hast, ist fehlerhaft.",
"unsatisfiable-range": "Der angeforderte Bereich der Datei liegt außerhalb der Dateigröße.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "Δεν καθορίστηκε τύπος περιεχομένου.",
"illegal-filename": "Το όνομα αρχείου που χρησιμοποιήσατε δεν επιτρέπεται.",
"import-package-no-id-assigned": "Κάτι πήγε στραβά κατά την αποθήκευση του πακέτου: δεν ανατέθηκε αναγνωριστικό περιεχομένου.",
"installed-libraries_plural": "Προστέθηκαν {{count}} νέες βιβλιοθήκες H5P.",
"installed-libraries": "Προστέθηκε {{count}} νέα βιβλιοθήκη H5P.",
"installed-libraries_other": "Προστέθηκαν {{count}} νέες βιβλιοθήκες H5P.",
"installed-libraries_one": "Προστέθηκε {{count}} νέα βιβλιοθήκη H5P.",
"invalid-content-folder": "Λείπει ένας έγκυρος φάκελος περιεχομένου",
"invalid-h5p-json-file-2": "Το κύριο h5p.json δεν συμμορφώνεται με το σχήμα ( {{reason}} )",
"invalid-h5p-json-file": "Λείπει ένα έγκυρο κύριο αρχείο h5p.json",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "Δεν είναι δυνατή η ανάλυση του αρχείου JSON από το πακέτο: {{fileName}}",
"unable-to-read-package-file": "Δεν είναι δυνατή η ανάγνωση αρχείου από το πακέτο: {{fileName}}",
"unable-to-unzip": "Το αρχείο που ανεβάσατε δεν είναι έγκυρο πακέτο HTML5 (Δεν μπορούμε να το αποσυμπιέσουμε)",
"updated-libraries_plural": "Ενημερώθηκαν {{count}} παλιές βιβλιοθήκες.",
"updated-libraries": "Ενημερώθηκε {{count}} παλιά βιβλιοθήκη.",
"updated-libraries_other": "Ενημερώθηκαν {{count}} παλιές βιβλιοθήκες.",
"updated-libraries_one": "Ενημερώθηκε {{count}} παλιά βιβλιοθήκη.",
"upload-package-failed-tmp": "Δεν ήταν δυνατή η αποθήκευση του μεταφορτωμένου πακέτου σε προσωρινό αρχείο.",
"upload-validation-error": "Το αρχείο που ανεβάσατε δεν είναι έγκυρο.",
"unsatisfiable-range": "Το ζητούμενο εύρος του αρχείου δεν είναι εντός του μεγέθους του πραγματικού αρχείου.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"install-library-lock-max-time-exceeded": "The library {{ubername}} could not be installed, because it took longer than the allowed {{limit}} ms.",
"install-library-lock-timeout": "The library {{ubername}} could not be installed, because the same libraries is being installed from another place (waited {{limit}} ms for lock on the library).",
"install-missing-libraries": "Could not load the content as the following libraries are not installed on this system: {{libraries}}",
"installed-libraries_plural": "Added {{count}} new H5P libraries.",
"installed-libraries": "Added {{count}} new H5P library.",
"installed-libraries_other": "Added {{count}} new H5P libraries.",
"installed-libraries_one": "Added {{count}} new H5P library.",
"invalid-content-folder": "A valid content folder is missing",
"invalid-h5p-json-file-2": "The main h5p.json does not conform to the schema ({{reason}})",
"invalid-h5p-json-file": "A valid main h5p.json file is missing",
Expand Down Expand Up @@ -67,8 +67,8 @@
"unable-to-read-package-file": "Unable to read file from the package: {{fileName}}",
"unable-to-unzip": "The file you uploaded is not a valid HTML5 Package (We are unable to unzip it)",
"unsatisfiable-range": "The requested range of the file is not within the size of the actual file.",
"updated-libraries_plural": "Updated {{count}} old libraries.",
"updated-libraries": "Updated {{count}} old library.",
"updated-libraries_other": "Updated {{count}} old libraries.",
"updated-libraries_one": "Updated {{count}} old library.",
"upload-package-failed-tmp": "Could not save uploaded package to temporary file.",
"upload-validation-error": "The file you've uploaded is invalid.",
"user-state-missing-delete-permission": "You are not allowed to delete this user state.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/es-mx.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "No se especificó ningún tipo de contenido.",
"illegal-filename": "El nombre de archivo que usó no está permitido.",
"import-package-no-id-assigned": "Algo salió mal al almacenar el paquete: no se asignó ningún ID de contenido.",
"installed-libraries_plural": "Se agregaron {{count}} nuevas bibliotecas H5P.",
"installed-libraries": "Se agregó {{count}} nueva biblioteca H5P.",
"installed-libraries_other": "Se agregaron {{count}} nuevas bibliotecas H5P.",
"installed-libraries_one": "Se agregó {{count}} nueva biblioteca H5P.",
"invalid-content-folder": "Falta una carpeta de contenido válida",
"invalid-h5p-json-file-2": "El h5p.json principal no se ajusta al esquema ( {{reason}} )",
"invalid-h5p-json-file": "Falta un archivo h5p.json principal válido",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "No se puede analizar el archivo JSON del paquete: {{fileName}}",
"unable-to-read-package-file": "No se puede leer el archivo del paquete: {{fileName}}",
"unable-to-unzip": "El archivo que cargó no es un paquete HTML5 válido (no podemos descomprimirlo)",
"updated-libraries_plural": "Actualizadas {{count}} librerías antiguas.",
"updated-libraries": "Actualizada {{count}} librería antigua.",
"updated-libraries_other": "Actualizadas {{count}} librerías antiguas.",
"updated-libraries_one": "Actualizada {{count}} librería antigua.",
"upload-package-failed-tmp": "No se pudo guardar el paquete cargado en un archivo temporal.",
"upload-validation-error": "El archivo que ha subido no es válido.",
"unsatisfiable-range": "El rango solicitado del archivo no está dentro del tamaño del archivo real.",
Expand Down
8 changes: 4 additions & 4 deletions packages/h5p-server/assets/translations/server/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"hub-install-no-content-type": "No se especificó ningún tipo de contenido.",
"illegal-filename": "El nombre de archivo que usó no está permitido.",
"import-package-no-id-assigned": "Algo salió mal al almacenar el paquete: no se asignó ningún ID de contenido.",
"installed-libraries_plural": "Se agregaron {{count}} nuevas bibliotecas H5P.",
"installed-libraries": "Se agregó {{count}} nueva biblioteca H5P.",
"installed-libraries_other": "Se agregaron {{count}} nuevas bibliotecas H5P.",
"installed-libraries_one": "Se agregó {{count}} nueva biblioteca H5P.",
"invalid-content-folder": "Falta una carpeta de contenido válida",
"invalid-h5p-json-file-2": "El h5p.json principal no se ajusta al esquema ( {{reason}} )",
"invalid-h5p-json-file": "Falta un archivo h5p.json principal válido",
Expand Down Expand Up @@ -49,8 +49,8 @@
"unable-to-parse-package": "No se puede analizar el archivo JSON del paquete: {{fileName}}",
"unable-to-read-package-file": "No se puede leer el archivo del paquete: {{fileName}}",
"unable-to-unzip": "El archivo que cargó no es un paquete HTML5 válido (no podemos descomprimirlo)",
"updated-libraries_plural": "Actualizadas {{count}} librerías antiguas.",
"updated-libraries": "Actualizada {{count}} librería antigua.",
"updated-libraries_other": "Actualizadas {{count}} librerías antiguas.",
"updated-libraries_one": "Actualizada {{count}} librería antigua.",
"upload-package-failed-tmp": "No se pudo guardar el paquete cargado en un archivo temporal.",
"upload-validation-error": "El archivo que ha subido no es válido.",
"unsatisfiable-range": "El rango solicitado del archivo no está dentro del tamaño del archivo real.",
Expand Down
Loading

0 comments on commit 6b5310c

Please sign in to comment.