diff --git a/src/i18n/locale/ar.json b/src/i18n/locale/ar.json new file mode 100644 index 00000000..d220a37a --- /dev/null +++ b/src/i18n/locale/ar.json @@ -0,0 +1,5 @@ +{ + "library": { + "title": "المكتبة" + } +} diff --git a/src/i18n/locale/es.json b/src/i18n/locale/es.json new file mode 100644 index 00000000..2c63c085 --- /dev/null +++ b/src/i18n/locale/es.json @@ -0,0 +1,2 @@ +{ +} diff --git a/src/i18n/locale/fr.json b/src/i18n/locale/fr.json new file mode 100644 index 00000000..2c63c085 --- /dev/null +++ b/src/i18n/locale/fr.json @@ -0,0 +1,2 @@ +{ +} diff --git a/src/i18n/locale/pt.json b/src/i18n/locale/pt.json index 0967ef42..2c63c085 100644 --- a/src/i18n/locale/pt.json +++ b/src/i18n/locale/pt.json @@ -1 +1,2 @@ -{} +{ +} diff --git a/src/i18n/resources/ar.json b/src/i18n/resources/ar.json deleted file mode 100644 index e8113e9b..00000000 --- a/src/i18n/resources/ar.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "screens": { - "Library": { - "Library": "المكتبة" - } - } -} diff --git a/src/i18n/resources/de.json b/src/i18n/resources/de.json deleted file mode 100644 index 8a2121ef..00000000 --- a/src/i18n/resources/de.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "screens": { - "Library": { - "Library": "Bibliotek", - "could-not-load-categories": "Kategorien konnten nicht geladen werden", - "category-is-empty": "Kategorie ist leer", - "could-not-load-manga": "Manga konnte nicht geladen werden", - "your-library-is-empty": "Deine Bibliothek ist leer" - }, - "Browse": { - "sources": "Quellen", - "extensions": "Erweiterungen" - }, - "DownloadQueue": { - "no-downloads": "Keine Downloads", - "download-queue": "Herunterladen-Warteschlange" - } - } -} diff --git a/src/i18n/resources/es.json b/src/i18n/resources/es.json deleted file mode 100644 index 8fa868d0..00000000 --- a/src/i18n/resources/es.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "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" - } - } -} diff --git a/src/i18n/resources/fr.json b/src/i18n/resources/fr.json deleted file mode 100644 index 5e01d6c7..00000000 --- a/src/i18n/resources/fr.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "screens": { - "Library": { - "Library": "Bibliothèque", - "could-not-load-categories": "Impossible de charger les catégories", - "your-library-is-empty": "Votre bibliothèque est vide", - "category-is-empty": "La catégorie est vide", - "could-not-load-manga": "Impossible de charger le manga" - }, - "Browse": { - "sources": "Sources", - "extensions": "Extensions" - }, - "DownloadQueue": { - "no-downloads": "Aucun téléchargement", - "download-queue": "File d’attente des téléchargements" - } - } -} diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts index d5bab397..f2d36150 100644 --- a/src/i18n/translations.ts +++ b/src/i18n/translations.ts @@ -7,10 +7,10 @@ import en from 'i18n/locale/en.json'; -import ar from 'i18n/resources/ar.json'; -import de from 'i18n/resources/de.json'; -import es from 'i18n/resources/es.json'; -import fr from 'i18n/resources/fr.json'; +import ar from 'i18n/locale/ar.json'; +import de from 'i18n/locale/de.json'; +import es from 'i18n/locale/es.json'; +import fr from 'i18n/locale/fr.json'; const translationHelper = (lng: T) => ({ translation: lng,