1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

feat(lang): more localization(#2219)

* feat(lang): localize some views

* fix: typo

* fix: Localization broke bug report generation

* feat(lang): localize recipe page instructions
This commit is contained in:
sephrat 2023-03-21 20:45:27 +01:00 committed by GitHub
parent 6b63c751b1
commit 9fd1ba6e46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 362 additions and 226 deletions

View file

@ -137,7 +137,7 @@
<v-icon left>
{{ $globals.icons.tags }}
</v-icon>
{{ mealplan.entryType }}
{{ getEntryTypeText(mealplan.entryType) }}
</v-chip>
</template>
<v-list>
@ -167,7 +167,7 @@
children: [
{
icon: $globals.icons.diceMultiple,
text: 'Breakfast',
text: $tc('meal-plan.breakfast'),
event: 'randomBreakfast',
},
{
@ -212,7 +212,7 @@ import { SortableEvent } from "sortablejs";
import draggable from "vuedraggable";
import { watchDebounced } from "@vueuse/core";
import { MealsByDate } from "./types";
import { useMealplans, planTypeOptions } from "~/composables/use-group-mealplan";
import { useMealplans, usePlanTypeOptions, getEntryTypeText } from "~/composables/use-group-mealplan";
import RecipeCardImage from "~/components/Domain/Recipe/RecipeCardImage.vue";
import { PlanEntryType } from "~/lib/api/types/meal-plan";
import { useUserApi } from "~/composables/api";
@ -333,10 +333,13 @@ export default defineComponent({
const search = useRecipeSearch(api);
const planTypeOptions = usePlanTypeOptions();
return {
state,
onMoveCallback,
planTypeOptions,
getEntryTypeText,
// Dialog
dialog,