Revert "Revert "Added some translations in meal plan, recipe search and recipe switcher.""
This reverts commit 391c45b8be
.
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
<b-button variant="light" v-b-tooltip.hover :title="$t('Random Recipes')" @click="openRandom()">
|
||||
<i class="fas fa-dice-five" style="font-size: 1.5em"></i>
|
||||
</b-button>
|
||||
<b-button v-b-toggle.collapse_advanced_search v-b-tooltip.hover :title="$t('Advanced Settings')" v-bind:variant="searchFiltered(true) ? 'danger' : 'primary'">
|
||||
<b-button v-b-toggle.collapse_advanced_search v-b-tooltip.hover :title="$t('advanced_search_settings')" v-bind:variant="searchFiltered(true) ? 'danger' : 'primary'">
|
||||
<!-- TODO consider changing this icon to a filter -->
|
||||
<i class="fas fa-caret-down" v-if="!search.advanced_search_visible"></i>
|
||||
<i class="fas fa-caret-up" v-if="search.advanced_search_visible"></i>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<b-sidebar id="related-recipes" backdrop right bottom no-header shadow="sm" style="z-index: 10000" @shown="updatePinnedRecipes()">
|
||||
<template #default="{ hide }">
|
||||
<div class="d-flex flex-column justify-content-end h-100 p-3 align-items-end">
|
||||
<h5>Planned <i class="fas fa-calendar fa-fw"></i></h5>
|
||||
<h5>{{$t("Planned")}} <i class="fas fa-calendar fa-fw"></i></h5>
|
||||
|
||||
<div class="text-right">
|
||||
<template v-if="planned_recipes.length > 0">
|
||||
@ -24,11 +24,11 @@
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<span class="text-muted">You have nothing planned for today!</span>
|
||||
<span class="text-muted">{{$t("nothing_planned_today")}}</span>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<h5>Pinned <i class="fas fa-thumbtack fa-fw"></i></h5>
|
||||
<h5>{{$t("Pinned")}} <i class="fas fa-thumbtack fa-fw"></i></h5>
|
||||
|
||||
<template v-if="pinned_recipes.length > 0">
|
||||
<div class="text-right">
|
||||
@ -53,7 +53,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<span class="text-muted">You have no pinned recipes!</span>
|
||||
<span class="text-muted">{{$t("no_pinned_recipes")}}</span>
|
||||
</template>
|
||||
|
||||
<template v-if="related_recipes.length > 0">
|
||||
@ -77,8 +77,8 @@
|
||||
</template>
|
||||
<template #footer="{ hide }">
|
||||
<div class="d-flex bg-dark text-light align-items-center px-3 py-2">
|
||||
<strong class="mr-auto">Quick actions</strong>
|
||||
<b-button size="sm" @click="hide">Close</b-button>
|
||||
<strong class="mr-auto">{{$t("Quick actions")}}</strong>
|
||||
<b-button size="sm" @click="hide">{{$t("Close")}}</b-button>
|
||||
</div>
|
||||
</template>
|
||||
</b-sidebar>
|
||||
|
@ -21,11 +21,11 @@
|
||||
</div>
|
||||
<div class="actionArea pt-1 pb-1 d-none d-lg-flex">
|
||||
<span class="period-span-1 pt-1 pb-1 pl-1 pr-1 d-none d-xl-inline-flex text-body align-items-center">
|
||||
<small>Period:</small>
|
||||
<small>{{ $t('Period') }}:</small>
|
||||
<b-form-select class="ml-1" id="UomInput" v-model="settings.displayPeriodUom" :options="options.displayPeriodUom"></b-form-select>
|
||||
</span>
|
||||
<span class="period-span-2 pt-1 pb-1 pl-1 pr-1 mr-1 ml-1 d-none d-xl-inline-flex text-body align-items-center">
|
||||
<small>Periods:</small>
|
||||
<small>{{ $t('Periods') }}:</small>
|
||||
<b-form-select class="ml-1" id="UomInput" v-model="settings.displayPeriodCount" :options="options.displayPeriodCount"></b-form-select>
|
||||
</span>
|
||||
<span
|
||||
|
@ -137,7 +137,7 @@
|
||||
"Move_Down": "Runter",
|
||||
"Step_Name": "Schritt Name",
|
||||
"Create": "Erstellen",
|
||||
"Advanced Search Settings": "Erweiterte Sucheinstellungen",
|
||||
"advanced_search_settings": "Erweiterte Sucheinstellungen",
|
||||
"View": "Ansicht",
|
||||
"Recipes": "Rezepte",
|
||||
"Move": "Verschieben",
|
||||
@ -298,5 +298,41 @@
|
||||
"Foods": "Lebensmittel",
|
||||
"food_recipe_help": "Wird ein Rezept hier verknüpft, wird diese Verknüpfung in allen anderen Rezepten übernommen, die dieses Lebensmittel beinhaltet",
|
||||
"review_shopping": "Überprüfe die Einkaufsliste vor dem Speichern",
|
||||
"view_recipe": "Rezept anschauen"
|
||||
"view_recipe": "Rezept anschauen",
|
||||
"Planned": "Geplant",
|
||||
"Pinned": "Angeheftet",
|
||||
"nothing_planned_today": "Sie haben für heute nichts geplant!",
|
||||
"no_pinned_recipes": "Sie haben nichts angeheftet!",
|
||||
"Quick actions": "Schnellbefehle",
|
||||
"search_no_recipes": "Keine Rezepte gefunden!",
|
||||
"search_import_help_text": "Importiere ein Rezept von einer externen Webseite oder Anwendung.",
|
||||
"search_create_help_text": "Erstelle ein neues Rezept direkt in Tandoor.",
|
||||
"Ratings": "Bewertungen",
|
||||
"Custom Filter": "Benutzerdefinierter Filter",
|
||||
"expert_mode": "Experten-Modus",
|
||||
"simple_mode": "Einfacher Modus",
|
||||
"explain": "Erklären",
|
||||
"save_filter": "Filter speichern",
|
||||
"Internal": "Intern",
|
||||
"advanced": "Erweitert",
|
||||
"fields": "Felder",
|
||||
"show_keywords": "Schlüsselwörter anzeigen",
|
||||
"show_foods": "Zutaten anzeigen",
|
||||
"show_books": "Bücher anzeigen",
|
||||
"show_rating": "Bewertungen anzeigen",
|
||||
"show_units": "Einheiten anzeigen",
|
||||
"show_filters": "Filter anzeigen",
|
||||
"times_cooked": "Wie oft gekocht",
|
||||
"show_sortby": "Zeige 'Sortiere nach'",
|
||||
"make_now": "Jetzt machen",
|
||||
"date_viewed": "Letztens besucht",
|
||||
"last_cooked": "Letztens gekocht",
|
||||
"created_on": "Erstellt am",
|
||||
"updatedon": "Geändert am",
|
||||
"date_created": "Erstellungsdatum",
|
||||
"Units": "Einheiten",
|
||||
"last_viewed": "Letztens besucht",
|
||||
"sort_by": "Sortiere nach",
|
||||
"Random Recipes": "Zufällige Rezepte",
|
||||
"recipe_filter": "Rezept-Filter"
|
||||
}
|
||||
|
@ -350,5 +350,15 @@
|
||||
"InheritFields_help": "The values of these fields will be inheritted from parent (Exception: blank shopping categories are not inheritted)",
|
||||
"last_viewed": "Last Viewed",
|
||||
"created_on": "Created On",
|
||||
"updatedon": "Updated On"
|
||||
"updatedon": "Updated On",
|
||||
"advanced_search_settings": "Advanced Search Settings",
|
||||
"nothing_planned_today": "You have nothing planned for today!",
|
||||
"no_pinned_recipes": "You have no pinned recipes!",
|
||||
"Planned": "Planned",
|
||||
"Pinned": "Pinned",
|
||||
"Quick actions": "Quick actions",
|
||||
"Ratings": "Ratings",
|
||||
"Internal": "Internal",
|
||||
"Units": "Units",
|
||||
"Random Recipes": "Random Recipes"
|
||||
}
|
||||
|
Reference in New Issue
Block a user