mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-06-03 05:35:02 -04:00
* feat(lang): localize some views * feat(lang): an attempt at localizing vuetify (WIP) * feat(lang): localized some more screens * feat(lang): localized some more screens again * feat(lang): hack to localize vuetify * feat(lang): localize data management pages * fix linting errors --------- Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
41 lines
883 B
Vue
41 lines
883 B
Vue
<template>
|
|
<v-container>
|
|
<RecipeOrganizerPage
|
|
v-if="tools"
|
|
:icon="$globals.icons.potSteam"
|
|
:items="tools"
|
|
item-type="tools"
|
|
@delete="actions.deleteOne"
|
|
>
|
|
<template #title> {{ $t('tool.tools') }} </template>
|
|
</RecipeOrganizerPage>
|
|
</v-container>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent, ref } from "@nuxtjs/composition-api";
|
|
import RecipeOrganizerPage from "~/components/Domain/Recipe/RecipeOrganizerPage.vue";
|
|
import { useToolStore } from "~/composables/store";
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
RecipeOrganizerPage,
|
|
},
|
|
setup() {
|
|
const toolStore = useToolStore();
|
|
const dialog = ref(false);
|
|
|
|
return {
|
|
dialog,
|
|
tools: toolStore.items,
|
|
actions: toolStore.actions,
|
|
};
|
|
},
|
|
head() {
|
|
return {
|
|
title: this.$tc("tool.tools"),
|
|
};
|
|
},
|
|
});
|
|
</script>
|