diff --git a/.vscode/.ei18n-editor-config.json b/.vscode/.ei18n-editor-config.json new file mode 100644 index 0000000..1afb930 --- /dev/null +++ b/.vscode/.ei18n-editor-config.json @@ -0,0 +1,28 @@ +{ + "allowEmptyTranslations": false, + "defaultLanguage": "en", + "forceKeyUPPERCASE": true, + "jsonSpace": 2, + "keySeparator": ".", + "lineEnding": "\n", + "supportedFolders": [ + "i18n" + ], + "workspaceFolders": [ + { + "name": "src", + "path": "src/i18n", + "visibleColumns": [ + "es", + "fr", + "he", + "pt", + "uk" + ], + "hiddenColumns": [] + } + ], + "defaultWorkspaceFolder": "src", + "translationService": "Coming soon", + "translationServiceApiKey": "Coming soon" +} \ No newline at end of file diff --git a/src/i18n/he.json b/src/i18n/he.json index 50127dc..4376f02 100644 --- a/src/i18n/he.json +++ b/src/i18n/he.json @@ -7,7 +7,7 @@ "nav.contact": "צור קשר", "hero.name": "ד\"ר חוסה בנחמין פרז מאטוס", - "hero.title": "Líder fundador", + "hero.title": "מייסד ומנהיג", "hero.body": "“החלום שלי הוא לראות את הגשמת חזון הנביאים: עולם של צדק ושלום, לטובת ישראל והאנושות כולה.”", "carousel.text1": "שלום", @@ -110,7 +110,7 @@ }, { "type": "text", - "icon": "ph:arrow-circle-right-thin", + "icon": "ph:arrow-circle-left-thin", "text": "Participación activa en escenarios internacionales.", "textColor": "#003421", "bgColor": "#BEA48D" @@ -136,7 +136,7 @@ }, { "type": "text", - "icon": "ph:arrow-circle-left-thin", + "icon": "ph:arrow-circle-right-thin", "text": "Compromiso público en la defensa de Israel, la justicia y la paz.", "textColor": "#003421", "bgColor": "#EBE5D0" diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index be44627..731e103 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -15,17 +15,11 @@ const { url } = Astro.props; +const currentLocale = Astro.currentLocale ?? 'es'; +const direction = currentLocale === 'he' ? 'rtl' : 'ltr'; --- - - +