1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-23 07:09:41 +02:00

chore: make vue global components and layouts localizable (#1565)

This commit is contained in:
Philipp Fischbeck 2022-08-15 23:55:51 +02:00 committed by GitHub
parent 7af48d51be
commit ba15006bb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 193 additions and 153 deletions

View file

@ -37,7 +37,7 @@
<slot name="button-row"> </slot>
</v-card-actions>
<div class="mx-2 clip-width">
<v-text-field v-model="search" :label="$tc('search.search')"></v-text-field>
<v-text-field v-model="search" :label="$t('search.search')"></v-text-field>
</div>
<v-data-table
v-model="selected"
@ -57,12 +57,12 @@
:buttons="[
{
icon: $globals.icons.edit,
text: 'Edit',
text: $t('general.edit'),
event: 'edit',
},
{
icon: $globals.icons.delete,
text: 'Delete',
text: $t('general.delete'),
event: 'delete',
},
]"
@ -77,7 +77,7 @@
<template #icon>
{{ $globals.icons.download }}
</template>
{{ $tc("general.download") }}
{{ $t("general.download") }}
</BaseButton>
</v-card-actions>
</div>