add translation keys (#246)

* Fix i18n tsc issue

"t" can return null by default.
This was already disabled in the config, but it had no effect on tsc.

* Fix translation in "DefaultNavBar"

key was missing and since this is a constant the translation wouldn't update in case the language got changed after first load.

* Enable typing for i18n translation keys

* Add translation keys
This commit is contained in:
schroda
2023-03-23 13:59:32 +01:00
committed by GitHub
parent 8c129f2e08
commit d58bd6cd92
56 changed files with 1030 additions and 416 deletions

View File

@@ -1,19 +1,39 @@
{
"screens": {
"Library": {
"Library": "Biblioteca",
"could-not-load-categories": "No se pudieron cargar las categorías",
"your-library-is-empty": "Tu biblioteca esta vacia",
"category-is-empty": "La categoría está vacía",
"could-not-load-manga": "No se pudo cargar el manga"
},
"DownloadQueue": {
"no-downloads": "No hay descargas",
"download-queue": "Descarga en la cola"
},
"Browse": {
"extensions": "Extensiones",
"sources": "Fuentes"
"category": {
"error": {
"label": {
"empty": "La categoría está vacía",
"request_failure": "No se pudieron cargar las categorías"
}
}
},
"download": {
"queue": {
"label": {
"no_downloads": "No hay descargas"
},
"title": "Descarga en la cola"
}
},
"extension": {
"title": "Extensiones"
},
"library": {
"error": {
"label": {
"empty": "Tu biblioteca esta vacia"
}
},
"title": "Biblioteca"
},
"manga": {
"error": {
"label": {
"request_failure": "No se pudo cargar el manga"
}
}
},
"source": {
"title": "Fuentes"
}
}