From 1e1a0c7320b6a1bef0f94a7c8a1b6e290b6c9b70 Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Mon, 16 Mar 2026 08:13:01 +0100 Subject: [PATCH] feat: Update translations for indoor season to outdoor season across multiple locales and adjust MainPageLayout component accordingly --- src/components/MainPageLayout.js | 8 ++++---- src/i18n/locales/ar/sections.js | 6 +++--- src/i18n/locales/bg/sections.js | 4 ++-- src/i18n/locales/cs/sections.js | 2 +- src/i18n/locales/de/sections.js | 2 +- src/i18n/locales/el/sections.js | 2 +- src/i18n/locales/en/sections.js | 2 +- src/i18n/locales/es/sections.js | 4 ++-- src/i18n/locales/fr/sections.js | 2 +- src/i18n/locales/hr/sections.js | 2 +- src/i18n/locales/hu/sections.js | 2 +- src/i18n/locales/it/sections.js | 4 ++-- src/i18n/locales/pl/sections.js | 2 +- src/i18n/locales/ro/sections.js | 2 +- src/i18n/locales/ru/sections.js | 2 +- src/i18n/locales/sk/sections.js | 8 ++++---- src/i18n/locales/sl/sections.js | 4 ++-- src/i18n/locales/sq/sections.js | 4 ++-- src/i18n/locales/sr/sections.js | 2 +- src/i18n/locales/sv/sections.js | 2 +- src/i18n/locales/tr/sections.js | 4 ++-- src/i18n/locales/uk/sections.js | 2 +- src/i18n/locales/zh/sections.js | 2 +- 23 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/components/MainPageLayout.js b/src/components/MainPageLayout.js index 562b743..65a5491 100644 --- a/src/components/MainPageLayout.js +++ b/src/components/MainPageLayout.js @@ -14,7 +14,7 @@ import { useTranslation } from 'react-i18next'; const ContentBox = ({ box, index, pageType, starHovered, setStarHovered, opacity, translatedContent }) => ( - {index === 0 && pageType === "filiale" && ( + {index === 0 && pageType === "home" && (
- {translatedContent.showUsPhoto} + {translatedContent.outdoorSeason}
{translatedContent.selectSeedRate} @@ -71,7 +71,7 @@ const ContentBox = ({ box, index, pageType, starHovered, setStarHovered, opacity
- {translatedContent.indoorSeason} + {translatedContent.showUsPhoto}
)} @@ -116,7 +116,7 @@ const MainPageLayout = () => { const translatedContent = { showUsPhoto: t('sections.showUsPhoto'), selectSeedRate: t('sections.selectSeedRate'), - indoorSeason: t('sections.indoorSeason') + outdoorSeason: t('sections.outdoorSeason') }; const isHome = currentPath === "/"; diff --git a/src/i18n/locales/ar/sections.js b/src/i18n/locales/ar/sections.js index ab5bffd..8f7fab3 100644 --- a/src/i18n/locales/ar/sections.js +++ b/src/i18n/locales/ar/sections.js @@ -6,7 +6,7 @@ export default { "thcTest": "اختبار THC", "address1": "شارع تراشينبرجر 14", "address2": "01129 دريسدن", - "showUsPhoto": "اعرض لنا أجمل صورة لديك", - "selectSeedRate": "اختر البذرة، واضغط للتقييم", - "indoorSeason": "بدأ موسم الزراعة الداخلية" + "showUsPhoto": "ورّينا أجمل صورة عندك", + "selectSeedRate": "اختار البذرة، واضغط تقييم", + "outdoorSeason": "موسم الزراعة في الهواء الطلق بدأ" }; diff --git a/src/i18n/locales/bg/sections.js b/src/i18n/locales/bg/sections.js index c1684cd..f949676 100644 --- a/src/i18n/locales/bg/sections.js +++ b/src/i18n/locales/bg/sections.js @@ -2,11 +2,11 @@ export default { "seeds": "Семена", "stecklinge": "Резници", "konfigurator": "Конфигуратор", - "oilPress": "Наеми преса за олио", + "oilPress": "Наеми преса за масло", "thcTest": "THC тест", "address1": "Trachenberger Straße 14", "address2": "01129 Dresden", "showUsPhoto": "Покажи ни най-красивата си снимка", "selectSeedRate": "Избери семе, кликни за оценка", - "indoorSeason": "Вътрешният сезон започва" + "outdoorSeason": "Започва откритият сезон" }; diff --git a/src/i18n/locales/cs/sections.js b/src/i18n/locales/cs/sections.js index 731a374..62f9b8f 100644 --- a/src/i18n/locales/cs/sections.js +++ b/src/i18n/locales/cs/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Ukaž nám svou nejkrásnější fotku", "selectSeedRate": "Vyber semeno, klikni na hodnocení", - "indoorSeason": "Začíná indoor sezóna" + "outdoorSeason": "Venkovní sezóna začíná" }; diff --git a/src/i18n/locales/de/sections.js b/src/i18n/locales/de/sections.js index 15bda6f..53497ef 100644 --- a/src/i18n/locales/de/sections.js +++ b/src/i18n/locales/de/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Zeig uns dein schönstes Foto", "selectSeedRate": "Wähle Seed aus, klicke Bewerten", - "indoorSeason": "Die Indoorsaison beginnt" + "outdoorSeason": "Die Outdoorsaison beginnt" }; \ No newline at end of file diff --git a/src/i18n/locales/el/sections.js b/src/i18n/locales/el/sections.js index 7b70ca3..538f799 100644 --- a/src/i18n/locales/el/sections.js +++ b/src/i18n/locales/el/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Δείξε μας την πιο όμορφη φωτογραφία σου", "selectSeedRate": "Επίλεξε σπόρο, κάνε κλικ για αξιολόγηση", - "indoorSeason": "Η εσωτερική σεζόν ξεκινά" + "outdoorSeason": "Η εξωτερική σεζόν ξεκινά" }; diff --git a/src/i18n/locales/en/sections.js b/src/i18n/locales/en/sections.js index c79d2fc..1872b73 100644 --- a/src/i18n/locales/en/sections.js +++ b/src/i18n/locales/en/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", // 01129 Dresden "showUsPhoto": "Show us your most beautiful photo", // Zeig uns dein schönstes Foto "selectSeedRate": "Select seed, click rate", // Wähle Seed aus, klicke Bewerten - "indoorSeason": "The indoor season begins" // Die Indoorsaison beginnt + "outdoorSeason": "The outdoor season begins" // Die Outdoorsaison beginnt }; diff --git a/src/i18n/locales/es/sections.js b/src/i18n/locales/es/sections.js index 4fbddda..285399e 100644 --- a/src/i18n/locales/es/sections.js +++ b/src/i18n/locales/es/sections.js @@ -7,6 +7,6 @@ export default { "address1": "Trachenberger Straße 14", "address2": "01129 Dresden", "showUsPhoto": "Muéstranos tu foto más hermosa", - "selectSeedRate": "Selecciona semilla, haz clic en valorar", - "indoorSeason": "Comienza la temporada de interior" + "selectSeedRate": "Selecciona semilla, haz clic para valorar", + "outdoorSeason": "Comienza la temporada al aire libre" }; diff --git a/src/i18n/locales/fr/sections.js b/src/i18n/locales/fr/sections.js index b1c4328..d9b3a86 100644 --- a/src/i18n/locales/fr/sections.js +++ b/src/i18n/locales/fr/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Montre-nous ta plus belle photo", "selectSeedRate": "Sélectionne une graine, clique pour noter", - "indoorSeason": "La saison indoor commence" + "outdoorSeason": "La saison en extérieur commence" }; diff --git a/src/i18n/locales/hr/sections.js b/src/i18n/locales/hr/sections.js index 0e65f6e..5a62e35 100644 --- a/src/i18n/locales/hr/sections.js +++ b/src/i18n/locales/hr/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Pokaži nam svoju najljepšu fotografiju", "selectSeedRate": "Odaberi sjeme, klikni ocijeni", - "indoorSeason": "Počinje sezona uzgoja u zatvorenom" + "outdoorSeason": "Sezona na otvorenom počinje" }; diff --git a/src/i18n/locales/hu/sections.js b/src/i18n/locales/hu/sections.js index 34f2ab5..6245054 100644 --- a/src/i18n/locales/hu/sections.js +++ b/src/i18n/locales/hu/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Mutasd meg nekünk a legszebb fotódat", "selectSeedRate": "Válassz magot, kattints az értékelésre", - "indoorSeason": "Kezdődik a beltéri szezon" + "outdoorSeason": "Kezdődik a szabadtéri szezon" }; diff --git a/src/i18n/locales/it/sections.js b/src/i18n/locales/it/sections.js index 9804f34..0e94545 100644 --- a/src/i18n/locales/it/sections.js +++ b/src/i18n/locales/it/sections.js @@ -7,6 +7,6 @@ export default { "address1": "Trachenberger Straße 14", "address2": "01129 Dresden", "showUsPhoto": "Mostraci la tua foto più bella", - "selectSeedRate": "Seleziona il seme, clicca per valutare", - "indoorSeason": "La stagione indoor inizia" + "selectSeedRate": "Seleziona il seme, clicca valuta", + "outdoorSeason": "La stagione all'aperto inizia" }; diff --git a/src/i18n/locales/pl/sections.js b/src/i18n/locales/pl/sections.js index ef40b25..9f5aa25 100644 --- a/src/i18n/locales/pl/sections.js +++ b/src/i18n/locales/pl/sections.js @@ -8,6 +8,6 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Pokaż nam swoje najpiękniejsze zdjęcie", "selectSeedRate": "Wybierz nasiono, kliknij ocenę", - "indoorSeason": "Sezon indoorowy się zaczyna", + "outdoorSeason": "Sezon na uprawę na zewnątrz się zaczyna", "locale": "pl" }; diff --git a/src/i18n/locales/ro/sections.js b/src/i18n/locales/ro/sections.js index 9349d6b..c9b3fc8 100644 --- a/src/i18n/locales/ro/sections.js +++ b/src/i18n/locales/ro/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Arată-ne cea mai frumoasă fotografie a ta", "selectSeedRate": "Selectează sămânța, apasă evaluează", - "indoorSeason": "Sezonul indoor începe" + "outdoorSeason": "Sezonul în aer liber începe" }; diff --git a/src/i18n/locales/ru/sections.js b/src/i18n/locales/ru/sections.js index c8c1891..3db2f70 100644 --- a/src/i18n/locales/ru/sections.js +++ b/src/i18n/locales/ru/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Покажи нам свою самую красивую фотографию", "selectSeedRate": "Выберите семена, нажмите оценить", - "indoorSeason": "Начинается сезон для выращивания в помещении" + "outdoorSeason": "Начинается сезон для выращивания на улице" }; diff --git a/src/i18n/locales/sk/sections.js b/src/i18n/locales/sk/sections.js index 1d85e2d..88de5a6 100644 --- a/src/i18n/locales/sk/sections.js +++ b/src/i18n/locales/sk/sections.js @@ -2,11 +2,11 @@ export default { "seeds": "Semienka", "stecklinge": "Rezky", "konfigurator": "Konfigurátor", - "oilPress": "Požičajte si lis na olej", + "oilPress": "Požičať lis na olej", "thcTest": "THC test", "address1": "Trachenberger Straße 14", "address2": "01129 Dresden", - "showUsPhoto": "Ukážte nám svoju najkrajšiu fotku", - "selectSeedRate": "Vyberte semienko, kliknite na hodnotenie", - "indoorSeason": "Začína sezóna pestovania v interiéri" + "showUsPhoto": "Ukáž nám svoju najkrajšiu fotku", + "selectSeedRate": "Vyber semienko, klikni na hodnotenie", + "outdoorSeason": "Začína vonkajšia sezóna" }; diff --git a/src/i18n/locales/sl/sections.js b/src/i18n/locales/sl/sections.js index 934b706..a0490e9 100644 --- a/src/i18n/locales/sl/sections.js +++ b/src/i18n/locales/sl/sections.js @@ -2,11 +2,11 @@ export default { "seeds": "Semena", "stecklinge": "Rezalci", "konfigurator": "Konfigurator", - "oilPress": "Izposodi si stiskalnico olja", + "oilPress": "Izposodi si stiskalnico za olje", "thcTest": "THC test", "address1": "Trachenberger Straße 14", "address2": "01129 Dresden", "showUsPhoto": "Pokaži nam svojo najlepšo fotografijo", "selectSeedRate": "Izberi seme, klikni oceni", - "indoorSeason": "Začne se sezona gojenja v zaprtih prostorih" + "outdoorSeason": "Sezona na prostem se začenja" }; diff --git a/src/i18n/locales/sq/sections.js b/src/i18n/locales/sq/sections.js index df4aaf8..3f9ad94 100644 --- a/src/i18n/locales/sq/sections.js +++ b/src/i18n/locales/sq/sections.js @@ -1,12 +1,12 @@ export default { "seeds": "Farëra", "stecklinge": "Përkëmbëza", - "konfigurator": "Konfiguruesi", + "konfigurator": "Konfigurues", "oilPress": "Huazo shtypësin e vajit", "thcTest": "Testi THC", "address1": "Trachenberger Straße 14", "address2": "01129 Dresden", "showUsPhoto": "Na trego foton tënde më të bukur", "selectSeedRate": "Zgjidh farën, kliko vlerësimin", - "indoorSeason": "Sezona e brendshme fillon" + "outdoorSeason": "Sezona në natyrë fillon" }; diff --git a/src/i18n/locales/sr/sections.js b/src/i18n/locales/sr/sections.js index 57faba5..b03b5ad 100644 --- a/src/i18n/locales/sr/sections.js +++ b/src/i18n/locales/sr/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Pokaži nam svoju najlepšu fotografiju", "selectSeedRate": "Izaberi seme, klikni oceni", - "indoorSeason": "Počinje sezona za uzgoj u zatvorenom" + "outdoorSeason": "Počinje sezona na otvorenom" }; diff --git a/src/i18n/locales/sv/sections.js b/src/i18n/locales/sv/sections.js index 744066b..38f3aed 100644 --- a/src/i18n/locales/sv/sections.js +++ b/src/i18n/locales/sv/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Visa oss din vackraste bild", "selectSeedRate": "Välj frö, klicka betyg", - "indoorSeason": "Inomhussäsongen börjar" + "outdoorSeason": "Utomhussäsongen börjar" }; diff --git a/src/i18n/locales/tr/sections.js b/src/i18n/locales/tr/sections.js index cd076cd..cb95e1e 100644 --- a/src/i18n/locales/tr/sections.js +++ b/src/i18n/locales/tr/sections.js @@ -2,11 +2,11 @@ export default { "seeds": "Tohumlar", "stecklinge": "Çelikler", "konfigurator": "Konfigüratör", - "oilPress": "Yağ presini ödünç al", + "oilPress": "Yağ presi ödünç al", "thcTest": "THC testi", "address1": "Trachenberger Straße 14", "address2": "01129 Dresden", "showUsPhoto": "En güzel fotoğrafını göster", "selectSeedRate": "Tohumu seç, oy ver", - "indoorSeason": "Kapalı sezon başlıyor" + "outdoorSeason": "Açık hava sezonu başlıyor" }; diff --git a/src/i18n/locales/uk/sections.js b/src/i18n/locales/uk/sections.js index fa2a712..5e7666e 100644 --- a/src/i18n/locales/uk/sections.js +++ b/src/i18n/locales/uk/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "Покажи нам своє найкрасивіше фото", "selectSeedRate": "Виберіть насіння, натисніть оцінити", - "indoorSeason": "Починається сезон для вирощування в приміщенні" + "outdoorSeason": "Починається сезон на відкритому повітрі" }; diff --git a/src/i18n/locales/zh/sections.js b/src/i18n/locales/zh/sections.js index f8bc5a1..e20c00c 100644 --- a/src/i18n/locales/zh/sections.js +++ b/src/i18n/locales/zh/sections.js @@ -8,5 +8,5 @@ export default { "address2": "01129 Dresden", "showUsPhoto": "展示你最美的照片", "selectSeedRate": "选择种子,点击评分", - "indoorSeason": "室内季节开始了" + "outdoorSeason": "户外季节开始了" };