Merge remote-tracking branch 'origin/master'

This commit is contained in:
Hosted Weblate
2023-03-28 18:36:36 +02:00
10 changed files with 16 additions and 69 deletions

View File

@@ -10,3 +10,4 @@ This is a `create-react-app` project, you can find it's readme in [BUILDING.md](
- Don't use relative imports.
- We are using MUI v5, the all stylings must be applied with the new system.
- Never use the `style` prop, there's always a cleaner solution with `sx` or `styled`.
- Any new or changed string that might be shown to the user must be translated.

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,