mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
feat(storage): add French, Spanish, and Italian translations
Register and add complete locale files for FR, ES, IT. All 5 supported languages (DE/EN/FR/ES/IT) now have translations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
56683876cc
commit
a439d5d8ee
4 changed files with 234 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ const defaultLocale = 'de';
|
|||
// Register all available locales
|
||||
register('de', () => import('./locales/de.json'));
|
||||
register('en', () => import('./locales/en.json'));
|
||||
register('fr', () => import('./locales/fr.json'));
|
||||
register('es', () => import('./locales/es.json'));
|
||||
register('it', () => import('./locales/it.json'));
|
||||
|
||||
// Get initial locale from browser or localStorage
|
||||
function getInitialLocale(): SupportedLocale {
|
||||
|
|
|
|||
77
apps/storage/apps/web/src/lib/i18n/locales/es.json
Normal file
77
apps/storage/apps/web/src/lib/i18n/locales/es.json
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"app": {
|
||||
"name": "Storage",
|
||||
"description": "Almacenamiento seguro en la nube para tus archivos"
|
||||
},
|
||||
"nav": {
|
||||
"files": "Archivos",
|
||||
"shared": "Compartido",
|
||||
"favorites": "Favoritos",
|
||||
"trash": "Papelera",
|
||||
"search": "Buscar",
|
||||
"settings": "Ajustes",
|
||||
"profile": "Perfil",
|
||||
"feedback": "Feedback"
|
||||
},
|
||||
"files": {
|
||||
"title": "Mis archivos",
|
||||
"upload": "Subir",
|
||||
"newFolder": "Nueva carpeta",
|
||||
"empty": "Aún no hay archivos",
|
||||
"dropHere": "Arrastra archivos aquí",
|
||||
"viewGrid": "Vista de cuadrícula",
|
||||
"viewList": "Vista de lista"
|
||||
},
|
||||
"folder": {
|
||||
"create": "Crear carpeta",
|
||||
"name": "Nombre de la carpeta",
|
||||
"color": "Color de la carpeta"
|
||||
},
|
||||
"actions": {
|
||||
"download": "Descargar",
|
||||
"rename": "Renombrar",
|
||||
"move": "Mover",
|
||||
"share": "Compartir",
|
||||
"favorite": "Añadir a favoritos",
|
||||
"unfavorite": "Quitar de favoritos",
|
||||
"delete": "Eliminar",
|
||||
"restore": "Restaurar",
|
||||
"permanentDelete": "Eliminar permanentemente"
|
||||
},
|
||||
"trash": {
|
||||
"title": "Papelera",
|
||||
"empty": "La papelera está vacía",
|
||||
"emptyTrash": "Vaciar papelera",
|
||||
"restoreAll": "Restaurar todo"
|
||||
},
|
||||
"share": {
|
||||
"title": "Compartir",
|
||||
"createLink": "Crear enlace",
|
||||
"copyLink": "Copiar enlace",
|
||||
"linkCopied": "¡Enlace copiado!",
|
||||
"accessLevel": "Nivel de acceso",
|
||||
"view": "Ver",
|
||||
"download": "Descargar",
|
||||
"edit": "Editar",
|
||||
"password": "Protección con contraseña",
|
||||
"expiration": "Fecha de expiración",
|
||||
"maxDownloads": "Descargas máx."
|
||||
},
|
||||
"search": {
|
||||
"title": "Buscar",
|
||||
"placeholder": "Buscar archivos y carpetas...",
|
||||
"noResults": "Sin resultados"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "Favoritos",
|
||||
"empty": "Aún no hay favoritos"
|
||||
},
|
||||
"common": {
|
||||
"loading": "Cargando...",
|
||||
"save": "Guardar",
|
||||
"cancel": "Cancelar",
|
||||
"confirm": "Confirmar",
|
||||
"error": "Error",
|
||||
"success": "Éxito"
|
||||
}
|
||||
}
|
||||
77
apps/storage/apps/web/src/lib/i18n/locales/fr.json
Normal file
77
apps/storage/apps/web/src/lib/i18n/locales/fr.json
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"app": {
|
||||
"name": "Storage",
|
||||
"description": "Stockage cloud sécurisé pour vos fichiers"
|
||||
},
|
||||
"nav": {
|
||||
"files": "Fichiers",
|
||||
"shared": "Partagés",
|
||||
"favorites": "Favoris",
|
||||
"trash": "Corbeille",
|
||||
"search": "Recherche",
|
||||
"settings": "Paramètres",
|
||||
"profile": "Profil",
|
||||
"feedback": "Feedback"
|
||||
},
|
||||
"files": {
|
||||
"title": "Mes fichiers",
|
||||
"upload": "Télécharger",
|
||||
"newFolder": "Nouveau dossier",
|
||||
"empty": "Pas encore de fichiers",
|
||||
"dropHere": "Déposez les fichiers ici",
|
||||
"viewGrid": "Vue grille",
|
||||
"viewList": "Vue liste"
|
||||
},
|
||||
"folder": {
|
||||
"create": "Créer un dossier",
|
||||
"name": "Nom du dossier",
|
||||
"color": "Couleur du dossier"
|
||||
},
|
||||
"actions": {
|
||||
"download": "Télécharger",
|
||||
"rename": "Renommer",
|
||||
"move": "Déplacer",
|
||||
"share": "Partager",
|
||||
"favorite": "Ajouter aux favoris",
|
||||
"unfavorite": "Retirer des favoris",
|
||||
"delete": "Supprimer",
|
||||
"restore": "Restaurer",
|
||||
"permanentDelete": "Supprimer définitivement"
|
||||
},
|
||||
"trash": {
|
||||
"title": "Corbeille",
|
||||
"empty": "La corbeille est vide",
|
||||
"emptyTrash": "Vider la corbeille",
|
||||
"restoreAll": "Tout restaurer"
|
||||
},
|
||||
"share": {
|
||||
"title": "Partager",
|
||||
"createLink": "Créer un lien",
|
||||
"copyLink": "Copier le lien",
|
||||
"linkCopied": "Lien copié !",
|
||||
"accessLevel": "Niveau d'accès",
|
||||
"view": "Consulter",
|
||||
"download": "Télécharger",
|
||||
"edit": "Modifier",
|
||||
"password": "Protection par mot de passe",
|
||||
"expiration": "Date d'expiration",
|
||||
"maxDownloads": "Téléchargements max."
|
||||
},
|
||||
"search": {
|
||||
"title": "Recherche",
|
||||
"placeholder": "Rechercher des fichiers et dossiers...",
|
||||
"noResults": "Aucun résultat"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "Favoris",
|
||||
"empty": "Pas encore de favoris"
|
||||
},
|
||||
"common": {
|
||||
"loading": "Chargement...",
|
||||
"save": "Enregistrer",
|
||||
"cancel": "Annuler",
|
||||
"confirm": "Confirmer",
|
||||
"error": "Erreur",
|
||||
"success": "Succès"
|
||||
}
|
||||
}
|
||||
77
apps/storage/apps/web/src/lib/i18n/locales/it.json
Normal file
77
apps/storage/apps/web/src/lib/i18n/locales/it.json
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"app": {
|
||||
"name": "Storage",
|
||||
"description": "Archiviazione cloud sicura per i tuoi file"
|
||||
},
|
||||
"nav": {
|
||||
"files": "File",
|
||||
"shared": "Condivisi",
|
||||
"favorites": "Preferiti",
|
||||
"trash": "Cestino",
|
||||
"search": "Cerca",
|
||||
"settings": "Impostazioni",
|
||||
"profile": "Profilo",
|
||||
"feedback": "Feedback"
|
||||
},
|
||||
"files": {
|
||||
"title": "I miei file",
|
||||
"upload": "Carica",
|
||||
"newFolder": "Nuova cartella",
|
||||
"empty": "Nessun file ancora",
|
||||
"dropHere": "Trascina i file qui",
|
||||
"viewGrid": "Vista griglia",
|
||||
"viewList": "Vista elenco"
|
||||
},
|
||||
"folder": {
|
||||
"create": "Crea cartella",
|
||||
"name": "Nome cartella",
|
||||
"color": "Colore cartella"
|
||||
},
|
||||
"actions": {
|
||||
"download": "Scarica",
|
||||
"rename": "Rinomina",
|
||||
"move": "Sposta",
|
||||
"share": "Condividi",
|
||||
"favorite": "Aggiungi ai preferiti",
|
||||
"unfavorite": "Rimuovi dai preferiti",
|
||||
"delete": "Elimina",
|
||||
"restore": "Ripristina",
|
||||
"permanentDelete": "Elimina definitivamente"
|
||||
},
|
||||
"trash": {
|
||||
"title": "Cestino",
|
||||
"empty": "Il cestino è vuoto",
|
||||
"emptyTrash": "Svuota cestino",
|
||||
"restoreAll": "Ripristina tutto"
|
||||
},
|
||||
"share": {
|
||||
"title": "Condividi",
|
||||
"createLink": "Crea link",
|
||||
"copyLink": "Copia link",
|
||||
"linkCopied": "Link copiato!",
|
||||
"accessLevel": "Livello di accesso",
|
||||
"view": "Visualizza",
|
||||
"download": "Scarica",
|
||||
"edit": "Modifica",
|
||||
"password": "Protezione con password",
|
||||
"expiration": "Data di scadenza",
|
||||
"maxDownloads": "Download max."
|
||||
},
|
||||
"search": {
|
||||
"title": "Cerca",
|
||||
"placeholder": "Cerca file e cartelle...",
|
||||
"noResults": "Nessun risultato"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "Preferiti",
|
||||
"empty": "Nessun preferito ancora"
|
||||
},
|
||||
"common": {
|
||||
"loading": "Caricamento...",
|
||||
"save": "Salva",
|
||||
"cancel": "Annulla",
|
||||
"confirm": "Conferma",
|
||||
"error": "Errore",
|
||||
"success": "Successo"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue