This commit is contained in:
m
2026-09-10 07:09:42 +02:00
parent 77d2ea8356
commit 4ad2166559
9 changed files with 101 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
{
"files": "Files",
"search": "Search",
"configuration": "Settings",
"add_folder": "Add a folder",
"no_folders_yet": "No folders yet. Tap \"Add a folder\" to sync a folder.",
"folder": "Folder",
"empty_folder": "Empty folder — next syncDevice will refresh it.",
"bytes": "B",
"kilobytes": "KB",
"megabytes": "MB"
}
+12
View File
@@ -0,0 +1,12 @@
{
"files": "Fichiers",
"search": "Recherche",
"configuration": "Configuration",
"add_folder": "Ajouter un dossier",
"no_folders_yet": "Aucun dossier pour le moment. Appuie sur « Ajouter un dossier » pour synchroniser un dossier.",
"folder": "Dossier",
"empty_folder": "Dossier vide — le prochain syncDevice l'actualisera.",
"bytes": "o",
"kilobytes": "Ko",
"megabytes": "Mo"
}
+12
View File
@@ -0,0 +1,12 @@
import { I18n } from 'i18n-js';
import { getLocales } from 'expo-localization';
import fr from './fr.json';
import en from './en.json';
const i18n = new I18n({ fr, en });
i18n.defaultLocale = 'fr';
i18n.enableFallback = true;
i18n.locale = getLocales()[0]?.languageCode ?? 'fr';
export default i18n;