config, language

This commit is contained in:
2026-03-17 10:34:47 +00:00
parent 22a34506c9
commit b7c59c6305
2 changed files with 606 additions and 70 deletions

468
src/lib/i18n.js Normal file
View File

@@ -0,0 +1,468 @@
export const translations = {
PT: {
loginModeIntro: "O Futuro do Teu Estilo",
emailPlaceholder: "E-mail",
passwordPlaceholder: "Palavra-passe",
loginBtn: "ENTRAR",
registerBtn: "REGISTAR",
createAccount: "Criar Nova Conta",
haveAccount: "Já Tenho Conta",
authErrorDisabled: "O login por e-mail está desativado.",
dashboard: "Dashboard",
closet: "Armário",
laundry: "Lavandaria",
outfits: "Looks",
settings: "Definições",
online: "Online",
logout: "Sair do Sistema",
overview: "Visão Geral",
myCloset: "O Meu Armário",
outfitsAndStyle: "Looks & Estilo",
readyClothes: "Roupas Prontas",
inLaundry: "Na Lavandaria",
myLooks: "Meus Looks",
favorites: "Favoritos",
todayIn: "Hoje em Portugal",
weatherUpdate: "22°C - Ensolarado",
weatherMsg: "Está um dia fantástico! Recomendamos as tuas peças leves. Que tal um visual casual com as tuas sapatilhas favoritas?",
exploreSuggestions: "Explorar Sugestões",
topColors: "Top Cores",
searchPlaceholder: "Procurar no meu guarda-roupa...",
all: "Todos",
tops: "Tops",
bottoms: "Bottoms",
footwear: "Calçado",
coats: "Casacos",
accessories: "Acessórios",
edit: "Editar",
makeDirty: "Sujar",
moveToTrash: "Mover para Lixo",
laundryBasket: "Cesto da Roupa",
laundryMsg: "Aqui encontras as peças que marcaste como sujas. Lava-as para que voltem ao armário principal.",
washing: "A lavar",
emptyBasket: "Cesto Vazio",
createNewLook: "Criar Novo Look",
lookName: "Nome do Look",
selectedPieces: "Peças Selecionadas",
selectPieces: "Seleciona peças...",
saveLook: "Guardar Look",
closetLabel: "Armário",
lookHistory: "Histórico de Looks",
pieces: "Peças",
newItem: "Novo Item",
preview: "Preview",
name: "Nome",
category: "Categoria",
color: "Cor",
imageUrl: "URL da Imagem",
cancel: "Cancelar",
save: "Guardar",
register: "Registar",
yourAccount: "A Tua Conta",
papMode: "Modo PAP",
preferences: "Preferências",
darkMode: "Modo Escuro",
interfaceAppearance: "Aparência da interface",
notifications: "Notificações",
lookReminders: "Lembretes de looks",
weatherAlerts: "Alertas de Clima",
weatherSuggestions: "Sugestões pelo tempo",
systemAndData: "Sistema e Dados",
appLanguage: "Idioma da Aplicação",
portuguese: "Português (PT)",
english: "English (EN)",
spanish: "Español (ES)",
french: "Français (FR)",
german: "Deutsch (DE)",
exportData: "Exportar Dados (JSON)",
exportDataAlert: "Os teus dados seriam exportados agora em formato JSON.",
privacyPolicy: "Política de Privacidade",
recycleBin: "Reciclagem",
empty: "Esvaziar",
deleted: "Eliminado",
criticalZone: "Zona Crítica",
fullCleanActions: "Ações de limpeza total do armário.",
clearAll: "Limpar Tudo",
confirmDeletePerm: "Apagar permanentemente?",
confirmDeleteLook: "Apagar este Look?",
confirmEmptyTrash: "Esvaziar o lixo permanentemente?",
confirmClearAll: "Mover todas as peças ativas para o lixo?",
colorBlack: "Preto",
colorWhite: "Branco",
colorBlue: "Azul",
userTitle: "Utilizador"
},
EN: {
loginModeIntro: "The Future of Your Style",
emailPlaceholder: "Email",
passwordPlaceholder: "Password",
loginBtn: "LOGIN",
registerBtn: "REGISTER",
createAccount: "Create New Account",
haveAccount: "I Already Have an Account",
authErrorDisabled: "Email login is disabled.",
dashboard: "Dashboard",
closet: "Closet",
laundry: "Laundry",
outfits: "Outfits",
settings: "Settings",
online: "Online",
logout: "Logout",
overview: "Overview",
myCloset: "My Closet",
outfitsAndStyle: "Outfits & Style",
readyClothes: "Ready Clothes",
inLaundry: "In Laundry",
myLooks: "My Looks",
favorites: "Favorites",
todayIn: "Today in Portugal",
weatherUpdate: "22°C - Sunny",
weatherMsg: "It's a fantastic day! We recommend your light pieces. How about a casual look with your favorite sneakers?",
exploreSuggestions: "Explore Suggestions",
topColors: "Top Colors",
searchPlaceholder: "Search my wardrobe...",
all: "All",
tops: "Tops",
bottoms: "Bottoms",
footwear: "Footwear",
coats: "Coats",
accessories: "Accessories",
edit: "Edit",
makeDirty: "Make Dirty",
moveToTrash: "Move to Trash",
laundryBasket: "Laundry Basket",
laundryMsg: "Here you find the pieces you marked as dirty. Wash them to return them to the main closet.",
washing: "Washing",
emptyBasket: "Empty Basket",
createNewLook: "Create New Look",
lookName: "Look Name",
selectedPieces: "Selected Pieces",
selectPieces: "Select pieces...",
saveLook: "Save Look",
closetLabel: "Closet",
lookHistory: "Look History",
pieces: "Pieces",
newItem: "New Item",
preview: "Preview",
name: "Name",
category: "Category",
color: "Color",
imageUrl: "Image URL",
cancel: "Cancel",
save: "Save",
register: "Register",
yourAccount: "Your Account",
papMode: "PAP Mode",
preferences: "Preferences",
darkMode: "Dark Mode",
interfaceAppearance: "Interface Appearance",
notifications: "Notifications",
lookReminders: "Look reminders",
weatherAlerts: "Weather Alerts",
weatherSuggestions: "Weather-based suggestions",
systemAndData: "System and Data",
appLanguage: "App Language",
portuguese: "Português (PT)",
english: "English (EN)",
spanish: "Español (ES)",
french: "Français (FR)",
german: "Deutsch (DE)",
exportData: "Export Data (JSON)",
exportDataAlert: "Your data would be exported now in JSON format.",
privacyPolicy: "Privacy Policy",
recycleBin: "Recycle Bin",
empty: "Empty",
deleted: "Deleted",
criticalZone: "Critical Zone",
fullCleanActions: "Full closet wipe actions.",
clearAll: "Clear All",
confirmDeletePerm: "Delete permanently?",
confirmDeleteLook: "Delete this Look?",
confirmEmptyTrash: "Empty trash permanently?",
confirmClearAll: "Move all active pieces to trash?",
colorBlack: "Black",
colorWhite: "White",
colorBlue: "Blue",
userTitle: "User"
},
ES: {
loginModeIntro: "El Futuro de Tu Estilo",
emailPlaceholder: "Correo electrónico",
passwordPlaceholder: "Contraseña",
loginBtn: "ENTRAR",
registerBtn: "REGISTRAR",
createAccount: "Crear Nueva Cuenta",
haveAccount: "Ya Tengo Cuenta",
authErrorDisabled: "El inicio de sesión por correo electrónico está desactivado.",
dashboard: "Panel",
closet: "Armario",
laundry: "Lavandería",
outfits: "Looks",
settings: "Ajustes",
online: "En línea",
logout: "Cerrar Sesión",
overview: "Visión General",
myCloset: "Mi Armario",
outfitsAndStyle: "Looks y Estilo",
readyClothes: "Ropa Lista",
inLaundry: "En la Lavandería",
myLooks: "Mis Looks",
favorites: "Favoritos",
todayIn: "Hoy en Portugal",
weatherUpdate: "22°C - Soleado",
weatherMsg: "¡Es un día fantástico! Recomendamos tus piezas ligeras. ¿Qué tal un look casual con tus zapatillas favoritas?",
exploreSuggestions: "Explorar Sugerencias",
topColors: "Colores Principales",
searchPlaceholder: "Buscar en mi guardarropa...",
all: "Todos",
tops: "Tops",
bottoms: "Partes Inferiores",
footwear: "Calzado",
coats: "Abrigos",
accessories: "Accesorios",
edit: "Editar",
makeDirty: "Ensuciar",
moveToTrash: "Mover a la Papelera",
laundryBasket: "Cesto de Ropa",
laundryMsg: "Aquí encuentras las piezas que marcaste como sucias. Lávalas para que vuelvan al armario principal.",
washing: "Lavando",
emptyBasket: "Cesto Vacío",
createNewLook: "Crear Nuevo Look",
lookName: "Nombre del Look",
selectedPieces: "Piezas Seleccionadas",
selectPieces: "Elige piezas...",
saveLook: "Guardar Look",
closetLabel: "Armario",
lookHistory: "Historial de Looks",
pieces: "Piezas",
newItem: "Nuevo Artículo",
preview: "Vista Previa",
name: "Nombre",
category: "Categoría",
color: "Color",
imageUrl: "URL de la Imagen",
cancel: "Cancelar",
save: "Guardar",
register: "Registrar",
yourAccount: "Tu Cuenta",
papMode: "Modo PAP",
preferences: "Preferencias",
darkMode: "Modo Oscuro",
interfaceAppearance: "Apariencia de la interfaz",
notifications: "Notificaciones",
lookReminders: "Recordatorios de looks",
weatherAlerts: "Alertas del Clima",
weatherSuggestions: "Sugerencias por clima",
systemAndData: "Sistema y Datos",
appLanguage: "Idioma de la Aplicación",
portuguese: "Português (PT)",
english: "English (EN)",
spanish: "Español (ES)",
french: "Français (FR)",
german: "Deutsch (DE)",
exportData: "Exportar Datos (JSON)",
exportDataAlert: "Tus datos se exportarían ahora en formato JSON.",
privacyPolicy: "Política de Privacidad",
recycleBin: "Papelera de Reciclaje",
empty: "Vaciar",
deleted: "Eliminado",
criticalZone: "Zona Crítica",
fullCleanActions: "Acciones de limpieza total.",
clearAll: "Limpiar Todo",
confirmDeletePerm: "¿Borrar permanentemente?",
confirmDeleteLook: "¿Borrar este Look?",
confirmEmptyTrash: "¿Vaciar la papelera permanentemente?",
confirmClearAll: "¿Mover todas las piezas activas a la papelera?",
colorBlack: "Negro",
colorWhite: "Blanco",
colorBlue: "Azul",
userTitle: "Usuario"
},
FR: {
loginModeIntro: "Le Futur de Ton Style",
emailPlaceholder: "E-mail",
passwordPlaceholder: "Mot de passe",
loginBtn: "CONNEXION",
registerBtn: "S'INSCRIRE",
createAccount: "Créer un Nouveau Compte",
haveAccount: "J'ai Déjà un Compte",
authErrorDisabled: "La connexion par e-mail est désactivée.",
dashboard: "Tableau de bord",
closet: "Placard",
laundry: "Blanchisserie",
outfits: "Tenues",
settings: "Paramètres",
online: "En ligne",
logout: "Déconnexion",
overview: "Vue d'ensemble",
myCloset: "Mon Placard",
outfitsAndStyle: "Tenues & Style",
readyClothes: "Vêtements Prêts",
inLaundry: "À la Blanchisserie",
myLooks: "Mes Looks",
favorites: "Favoris",
todayIn: "Aujourd'hui au Portugal",
weatherUpdate: "22°C - Ensoleillé",
weatherMsg: "C'est une journée fantastique ! Nous recommandons vos pièces légères. Que diriez-vous d'un look décontracté avec vos baskets préférées ?",
exploreSuggestions: "Explorer les Suggestions",
topColors: "Couleurs Principales",
searchPlaceholder: "Chercher dans ma garde-robe...",
all: "Tout",
tops: "Hauts",
bottoms: "Bas",
footwear: "Chaussures",
coats: "Manteaux",
accessories: "Accessoires",
edit: "Modifier",
makeDirty: "Salir",
moveToTrash: "Mettre à la corbeille",
laundryBasket: "Panier à linge",
laundryMsg: "Ici vous trouvez les pièces que vous avez marquées comme sales. Lavez-les pour les remettre dans le placard principal.",
washing: "En lavage",
emptyBasket: "Panier Vide",
createNewLook: "Créer un Nouveau Look",
lookName: "Nom du Look",
selectedPieces: "Pièces Sélectionnées",
selectPieces: "Sélectionnez des pièces...",
saveLook: "Enregistrer le Look",
closetLabel: "Placard",
lookHistory: "Historique des Looks",
pieces: "Pièces",
newItem: "Nouvel Article",
preview: "Aperçu",
name: "Nom",
category: "Catégorie",
color: "Couleur",
imageUrl: "URL de l'image",
cancel: "Annuler",
save: "Enregistrer",
register: "S'inscrire",
yourAccount: "Votre Compte",
papMode: "Mode PAP",
preferences: "Préférences",
darkMode: "Mode Sombre",
interfaceAppearance: "Apparence de l'interface",
notifications: "Notifications",
lookReminders: "Rappels de looks",
weatherAlerts: "Alertes Météo",
weatherSuggestions: "Suggestions selon la météo",
systemAndData: "Système et Données",
appLanguage: "Langue de l'application",
portuguese: "Português (PT)",
english: "English (EN)",
spanish: "Español (ES)",
french: "Français (FR)",
german: "Deutsch (DE)",
exportData: "Exporter les Données (JSON)",
exportDataAlert: "Vos données seraient exportées maintenant au format JSON.",
privacyPolicy: "Politique de Confidentialité",
recycleBin: "Corbeille",
empty: "Vider",
deleted: "Supprimé",
criticalZone: "Zone Critique",
fullCleanActions: "Actions de nettoyage total.",
clearAll: "Tout Effacer",
confirmDeletePerm: "Supprimer définitivement ?",
confirmDeleteLook: "Supprimer ce Look ?",
confirmEmptyTrash: "Vider la corbeille définitivement ?",
confirmClearAll: "Déplacer toutes les pièces actives vers la corbeille ?",
colorBlack: "Noir",
colorWhite: "Blanc",
colorBlue: "Bleu",
userTitle: "Utilisateur"
},
DE: {
loginModeIntro: "Die Zukunft deines Stils",
emailPlaceholder: "E-Mail",
passwordPlaceholder: "Passwort",
loginBtn: "ANMELDEN",
registerBtn: "REGISTRIEREN",
createAccount: "Neues Konto erstellen",
haveAccount: "Ich habe bereits ein Konto",
authErrorDisabled: "E-Mail-Anmeldung ist deaktiviert.",
dashboard: "Dashboard",
closet: "Schrank",
laundry: "Wäsche",
outfits: "Outfits",
settings: "Einstellungen",
online: "Online",
logout: "Abmelden",
overview: "Übersicht",
myCloset: "Mein Schrank",
outfitsAndStyle: "Outfits & Stil",
readyClothes: "Fertige Kleidung",
inLaundry: "In der Wäsche",
myLooks: "Meine Looks",
favorites: "Favoriten",
todayIn: "Heute in Portugal",
weatherUpdate: "22°C - Sonnig",
weatherMsg: "Es ist ein fantastischer Tag! Wir empfehlen leichte Stücke. Wie wäre es mit einem lässigen Look mit deinen Lieblings-Sneakern?",
exploreSuggestions: "Vorschläge entdecken",
topColors: "Top Farben",
searchPlaceholder: "In meiner Garderobe suchen...",
all: "Alle",
tops: "Oberteile",
bottoms: "Unterteile",
footwear: "Schuhe",
coats: "Mäntel",
accessories: "Accessoires",
edit: "Bearbeiten",
makeDirty: "Schmutzig machen",
moveToTrash: "In den Papierkorb verschieben",
laundryBasket: "Wäschekorb",
laundryMsg: "Hier findest du die Stücke, die du als schmutzig markiert hast. Wasche sie, um sie in den Hauptschrank zurückzulegen.",
washing: "Waschen",
emptyBasket: "Leerer Korb",
createNewLook: "Neuen Look erstellen",
lookName: "Look Name",
selectedPieces: "Ausgewählte Stücke",
selectPieces: "Stücke auswählen...",
saveLook: "Look speichern",
closetLabel: "Schrank",
lookHistory: "Look-Verlauf",
pieces: "Stücke",
newItem: "Neuer Artikel",
preview: "Vorschau",
name: "Name",
category: "Kategorie",
color: "Farbe",
imageUrl: "Bild-URL",
cancel: "Abbrechen",
save: "Speichern",
register: "Registrieren",
yourAccount: "Dein Konto",
papMode: "PAP-Modus",
preferences: "Präferenzen",
darkMode: "Dunkelmodus",
interfaceAppearance: "Erscheinungsbild der Schnittstelle",
notifications: "Benachrichtigungen",
lookReminders: "Look-Erinnerungen",
weatherAlerts: "Wetterwarnungen",
weatherSuggestions: "Wetterbasierte Vorschläge",
systemAndData: "System und Daten",
appLanguage: "App-Sprache",
portuguese: "Português (PT)",
english: "English (EN)",
spanish: "Español (ES)",
french: "Français (FR)",
german: "Deutsch (DE)",
exportData: "Daten exportieren (JSON)",
exportDataAlert: "Deine Daten würden jetzt im JSON-Format exportiert werden.",
privacyPolicy: "Datenschutzrichtlinie",
recycleBin: "Papierkorb",
empty: "Leeren",
deleted: "Gelöscht",
criticalZone: "Kritische Zone",
fullCleanActions: "Aktionen zur vollständigen Bereinigung.",
clearAll: "Alles löschen",
confirmDeletePerm: "Dauerhaft löschen?",
confirmDeleteLook: "Diesen Look löschen?",
confirmEmptyTrash: "Papierkorb dauerhaft leeren?",
confirmClearAll: "Alle aktiven Stücke in den Papierkorb verschieben?",
colorBlack: "Schwarz",
colorWhite: "Weiß",
colorBlue: "Blau",
userTitle: "Benutzer"
}
};