mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
Localize import summary dialog
This commit is contained in:
parent
281594aebf
commit
ba53ad75af
2 changed files with 34 additions and 22 deletions
|
@ -7,7 +7,7 @@
|
||||||
mdi-import
|
mdi-import
|
||||||
</v-icon>
|
</v-icon>
|
||||||
<v-toolbar-title class="headline">
|
<v-toolbar-title class="headline">
|
||||||
Import Summary
|
{{ $t("settings.backup.import-summary") }}
|
||||||
</v-toolbar-title>
|
</v-toolbar-title>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
</v-app-bar>
|
</v-app-bar>
|
||||||
|
@ -18,8 +18,8 @@
|
||||||
<div>
|
<div>
|
||||||
<h3>{{ values.title }}</h3>
|
<h3>{{ values.title }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="success--text">Success: {{ values.success }}</div>
|
<div class="success--text">{{ $t("general.success-count", { count: values.success }) }}</div>
|
||||||
<div class="error--text">Failed: {{ values.failure }}</div>
|
<div class="error--text">{{ $t("general.failed-count", { count: values.failure }) }}</div>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</div>
|
</div>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
<v-tab>{{ $t("general.recipes") }}</v-tab>
|
<v-tab>{{ $t("general.recipes") }}</v-tab>
|
||||||
<v-tab>{{ $t("general.themes") }}</v-tab>
|
<v-tab>{{ $t("general.themes") }}</v-tab>
|
||||||
<v-tab>{{ $t("general.settings") }}</v-tab>
|
<v-tab>{{ $t("general.settings") }}</v-tab>
|
||||||
<v-tab> Pages </v-tab>
|
<v-tab> {{ $t("settings.pages") }} </v-tab>
|
||||||
<v-tab>{{ $t("general.users") }}</v-tab>
|
<v-tab>{{ $t("general.users") }}</v-tab>
|
||||||
<v-tab>{{ $t("general.groups") }}</v-tab>
|
<v-tab>{{ $t("general.groups") }}</v-tab>
|
||||||
</v-tabs>
|
</v-tabs>
|
||||||
|
@ -59,24 +59,30 @@ export default {
|
||||||
userData: [],
|
userData: [],
|
||||||
groupData: [],
|
groupData: [],
|
||||||
pageData: [],
|
pageData: [],
|
||||||
importHeaders: [
|
|
||||||
{
|
|
||||||
text: "Status",
|
|
||||||
value: "status",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Name",
|
|
||||||
align: "start",
|
|
||||||
sortable: true,
|
|
||||||
value: "name",
|
|
||||||
},
|
|
||||||
|
|
||||||
{ text: "Exception", value: "data-table-expand", align: "center" },
|
|
||||||
],
|
|
||||||
allDataTables: [],
|
allDataTables: [],
|
||||||
}),
|
}),
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|
||||||
|
importHeaders() {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
text: this.$t('general.status'),
|
||||||
|
value: "status",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: this.$t('general.name'),
|
||||||
|
align: "start",
|
||||||
|
sortable: true,
|
||||||
|
value: "name",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: this.$t('general.exception'),
|
||||||
|
value: "data-table-expand",
|
||||||
|
align: "center"
|
||||||
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
recipeNumbers() {
|
recipeNumbers() {
|
||||||
return this.calculateNumbers(this.$t("general.recipes"), this.recipeData);
|
return this.calculateNumbers(this.$t("general.recipes"), this.recipeData);
|
||||||
},
|
},
|
||||||
|
@ -96,7 +102,7 @@ export default {
|
||||||
return this.calculateNumbers(this.$t("general.groups"), this.groupData);
|
return this.calculateNumbers(this.$t("general.groups"), this.groupData);
|
||||||
},
|
},
|
||||||
pageNumbers() {
|
pageNumbers() {
|
||||||
return this.calculateNumbers("Pages", this.pageData);
|
return this.calculateNumbers(this.$t("settings.pages"), this.pageData);
|
||||||
},
|
},
|
||||||
allNumbers() {
|
allNumbers() {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -32,6 +32,8 @@
|
||||||
"download": "Download",
|
"download": "Download",
|
||||||
"edit": "Edit",
|
"edit": "Edit",
|
||||||
"enabled": "Enabled",
|
"enabled": "Enabled",
|
||||||
|
"exception": "Exception",
|
||||||
|
"failed-count": "Failed: {count}",
|
||||||
"field-required": "Field Required",
|
"field-required": "Field Required",
|
||||||
"filter": "Filter",
|
"filter": "Filter",
|
||||||
"friday": "Friday",
|
"friday": "Friday",
|
||||||
|
@ -52,7 +54,9 @@
|
||||||
"settings": "Settings",
|
"settings": "Settings",
|
||||||
"sort": "Sort",
|
"sort": "Sort",
|
||||||
"sort-alphabetically": "A-Z",
|
"sort-alphabetically": "A-Z",
|
||||||
|
"status": "Status",
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
|
"success-count": "Success: {count}",
|
||||||
"sunday": "Sunday",
|
"sunday": "Sunday",
|
||||||
"templates": "Templates",
|
"templates": "Templates",
|
||||||
"themes": "Themes",
|
"themes": "Themes",
|
||||||
|
@ -147,14 +151,14 @@
|
||||||
"view-recipe": "View Recipe"
|
"view-recipe": "View Recipe"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search-mealie": "Search Mealie (press /)",
|
|
||||||
"search-placeholder": "Search...",
|
|
||||||
"max-results": "Max Results",
|
|
||||||
"category-filter": "Category Filter",
|
"category-filter": "Category Filter",
|
||||||
"exclude": "Exclude",
|
"exclude": "Exclude",
|
||||||
"include": "Include",
|
"include": "Include",
|
||||||
|
"max-results": "Max Results",
|
||||||
"or": "Or",
|
"or": "Or",
|
||||||
"search": "Search",
|
"search": "Search",
|
||||||
|
"search-mealie": "Search Mealie (press /)",
|
||||||
|
"search-placeholder": "Search...",
|
||||||
"tag-filter": "Tag Filter"
|
"tag-filter": "Tag Filter"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
@ -165,6 +169,7 @@
|
||||||
"backup-tag": "Backup Tag",
|
"backup-tag": "Backup Tag",
|
||||||
"create-heading": "Create a Backup",
|
"create-heading": "Create a Backup",
|
||||||
"full-backup": "Full Backup",
|
"full-backup": "Full Backup",
|
||||||
|
"import-summary": "Import Summary",
|
||||||
"partial-backup": "Partial Backup"
|
"partial-backup": "Partial Backup"
|
||||||
},
|
},
|
||||||
"backup-and-exports": "Backups",
|
"backup-and-exports": "Backups",
|
||||||
|
@ -189,6 +194,7 @@
|
||||||
"migrations": "Migrations",
|
"migrations": "Migrations",
|
||||||
"new-page": "New Page",
|
"new-page": "New Page",
|
||||||
"page-name": "Page Name",
|
"page-name": "Page Name",
|
||||||
|
"pages": "Pages",
|
||||||
"profile": "Profile",
|
"profile": "Profile",
|
||||||
"remove-existing-entries-matching-imported-entries": "Remove existing entries matching imported entries",
|
"remove-existing-entries-matching-imported-entries": "Remove existing entries matching imported entries",
|
||||||
"set-new-time": "Set New Time",
|
"set-new-time": "Set New Time",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue