diff --git a/src/App.jsx b/src/App.jsx index 7e073fe..dd552df 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1037,10 +1037,10 @@ export default function App() { {weatherData ? weatherData.name : t('todayIn')}

- {weatherData ? `${weatherData.currentTemp}°C Atual • Média ${weatherData.avgTemp}°C` : t('weatherUpdate')} + {weatherData ? t('weatherCurrentAvg').replace('{current}', weatherData.currentTemp).replace('{avg}', weatherData.avgTemp) : t('weatherUpdate')}

- {weatherData ? `O dia de hoje tem máximas de ${weatherData.maxTemp}°C e mínimas de ${weatherData.minTemp}°C. ${t('weatherMsg')}` : t('weatherMsg')} + {weatherData ? `${t('weatherForecastDesc').replace('{max}', weatherData.maxTemp).replace('{min}', weatherData.minTemp)} ${t('weatherMsg')}` : t('weatherMsg')}

@@ -1071,7 +1071,7 @@ export default function App() {
)) : ( -

Adicione cores aos seus itens.

+

{t('addColorsToItems')}

)} @@ -1638,7 +1638,7 @@ export default function App() { ))} - {itemColors.length === 0 &&

Selecione pelo menos uma cor

} + {itemColors.length === 0 &&

{t('selectOneColor')}

}
@@ -1653,12 +1653,12 @@ export default function App() { />
- OU + {t('or')}
@@ -1889,16 +1889,16 @@ export default function App() {
diff --git a/src/lib/i18n.js b/src/lib/i18n.js index 5cdf422..65e8ad2 100644 --- a/src/lib/i18n.js +++ b/src/lib/i18n.js @@ -24,6 +24,8 @@ export const translations = { favorites: "Favoritos", todayIn: "Hoje em Portugal", weatherUpdate: "22°C - Ensolarado", + weatherCurrentAvg: "{current}°C Atual • Média {avg}°C", + weatherForecastDesc: "O dia de hoje tem máximas de {max}°C e mínimas de {min}°C.", 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", @@ -181,6 +183,11 @@ export const translations = { removeOutfitDay: "Remover Outfit deste Dia", noOutfitCreated: "Nenhum outfit criado", piecesShort: "peças", + editLook: "Editar Outfit", + uploadGallery: "Upload da Galeria / Ficheiros", + selectOneColor: "Selecione pelo menos uma cor", + addColorsToItems: "Adicione cores aos seus itens.", + or: "OU", }, EN: { loginModeIntro: "The Future of Your Style", @@ -207,6 +214,8 @@ export const translations = { favorites: "Favorites", todayIn: "Today in Portugal", weatherUpdate: "22°C - Sunny", + weatherCurrentAvg: "{current}°C Current • Average {avg}°C", + weatherForecastDesc: "Today has highs of {max}°C and lows of {min}°C.", 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", @@ -364,6 +373,11 @@ export const translations = { removeOutfitDay: "Remove Outfit from this Day", noOutfitCreated: "No outfit created", piecesShort: "pieces", + editLook: "Edit Outfit", + uploadGallery: "Upload from Gallery / Files", + selectOneColor: "Select at least one color", + addColorsToItems: "Add colors to your items.", + or: "OR", }, ES: { loginModeIntro: "El Futuro de Tu Estilo", @@ -390,6 +404,8 @@ export const translations = { favorites: "Favoritos", todayIn: "Hoy en Portugal", weatherUpdate: "22°C - Soleado", + weatherCurrentAvg: "{current}°C Actual • Media {avg}°C", + weatherForecastDesc: "El día de hoy tiene máximas de {max}°C y mínimas de {min}°C.", 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", @@ -547,6 +563,11 @@ export const translations = { removeOutfitDay: "Quitar Outfit de este Día", noOutfitCreated: "Ningún outfit creado", piecesShort: "piezas", + editLook: "Editar Outfit", + uploadGallery: "Subir desde la Galería / Archivos", + selectOneColor: "Selecciona al menos un color", + addColorsToItems: "Añade colores a tus artículos.", + or: "O", }, FR: { loginModeIntro: "Le Futur de Ton Style", @@ -573,6 +594,8 @@ export const translations = { favorites: "Favoris", todayIn: "Aujourd'hui au Portugal", weatherUpdate: "22°C - Ensoleillé", + weatherCurrentAvg: "{current}°C Actuel • Moyenne {avg}°C", + weatherForecastDesc: "Aujourd'hui a des maximales de {max}°C et des minimales de {min}°C.", 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", @@ -730,6 +753,11 @@ export const translations = { removeOutfitDay: "Retirer l'Outfit de ce Jour", noOutfitCreated: "Aucun outfit créé", piecesShort: "pièces", + editLook: "Modifier l'Outfit", + uploadGallery: "Télécharger depuis la Galerie / Fichiers", + selectOneColor: "Sélectionnez au moins une couleur", + addColorsToItems: "Ajoutez des couleurs à vos articles.", + or: "OU", }, DE: { loginModeIntro: "Die Zukunft deines Stils", @@ -756,6 +784,8 @@ export const translations = { favorites: "Favoriten", todayIn: "Heute in Portugal", weatherUpdate: "22°C - Sonnig", + weatherCurrentAvg: "{current}°C Aktuell • Durchschnitt {avg}°C", + weatherForecastDesc: "Der heutige Tag hat Höchstwerte von {max}°C und Tiefstwerte von {min}°C.", 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", @@ -913,5 +943,10 @@ export const translations = { removeOutfitDay: "Outfit von diesem Tag entfernen", noOutfitCreated: "Kein Outfit erstellt", piecesShort: "Stücke", + editLook: "Outfit bearbeiten", + uploadGallery: "Aus Galerie / Dateien hochladen", + selectOneColor: "Wähle mindestens eine Farbe", + addColorsToItems: "Füge deinen Artikeln Farben hinzu.", + or: "ODER", } };