From b2fa1db4f92b30c4bdb51e270f1137ff31718579 Mon Sep 17 00:00:00 2001 From: MaxJa4 <74194322+MaxJa4@users.noreply.github.com> Date: Thu, 24 Feb 2022 19:19:25 +0100 Subject: [PATCH] Added some translations in meal plan, recipe search and recipe switcher. --- .../RecipeSearchView/RecipeSearchView.vue | 2 +- vue/src/components/Buttons/RecipeSwitcher.vue | 12 +++--- vue/src/components/MealPlanCalenderHeader.vue | 4 +- vue/src/locales/de.json | 40 ++++++++++++++++++- vue/src/locales/en.json | 12 +++++- 5 files changed, 58 insertions(+), 12 deletions(-) diff --git a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue index 467569152..20266b913 100644 --- a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue +++ b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue @@ -16,7 +16,7 @@ - + diff --git a/vue/src/components/Buttons/RecipeSwitcher.vue b/vue/src/components/Buttons/RecipeSwitcher.vue index 57a233c6d..f164d5dbd 100644 --- a/vue/src/components/Buttons/RecipeSwitcher.vue +++ b/vue/src/components/Buttons/RecipeSwitcher.vue @@ -6,7 +6,7 @@ - Planned + {{$t("Planned")}} @@ -24,11 +24,11 @@ - You have nothing planned for today! + {{$t("nothing_planned_today")}} - Pinned + {{$t("Pinned")}} @@ -53,7 +53,7 @@ - You have no pinned recipes! + {{$t("no_pinned_recipes")}} @@ -77,8 +77,8 @@ - Quick actions - Close + {{$t("Quick actions")}} + {{$t("Close")}} diff --git a/vue/src/components/MealPlanCalenderHeader.vue b/vue/src/components/MealPlanCalenderHeader.vue index 25126f547..5e9c8985e 100644 --- a/vue/src/components/MealPlanCalenderHeader.vue +++ b/vue/src/components/MealPlanCalenderHeader.vue @@ -21,11 +21,11 @@ - Period: + {{ $t('Period') }}: - Periods: + {{ $t('Periods') }}: