fix translation files (#273)

This commit is contained in:
Aria Moradi
2023-03-28 20:06:26 +03:30
committed by GitHub
parent 6f75837b81
commit 07c0e83f8f
9 changed files with 15 additions and 69 deletions

5
src/i18n/locale/ar.json Normal file
View File

@@ -0,0 +1,5 @@
{
"library": {
"title": "المكتبة"
}
}

2
src/i18n/locale/es.json Normal file
View File

@@ -0,0 +1,2 @@
{
}

2
src/i18n/locale/fr.json Normal file
View File

@@ -0,0 +1,2 @@
{
}

View File

@@ -1 +1,2 @@
{}
{
}

View File

@@ -1,7 +0,0 @@
{
"screens": {
"Library": {
"Library": "المكتبة"
}
}
}

View File

@@ -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"
}
}
}

View File

@@ -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"
}
}
}

View File

@@ -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 dattente des téléchargements"
}
}
}

View File

@@ -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 = <T>(lng: T) => ({
translation: lng,