mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
localize homepage settings vue
This commit is contained in:
parent
d986190a55
commit
a7d937e89e
2 changed files with 12 additions and 5 deletions
|
@ -1,15 +1,15 @@
|
||||||
<template>
|
<template>
|
||||||
<v-card flat>
|
<v-card flat>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<h2 class="mt-1 mb-1">Home Page</h2>
|
<h2 class="mt-1 mb-1">{{$t('settings.homepage.home-page')}}</h2>
|
||||||
<v-row align="center" justify="center" dense class="mb-n7 pb-n5">
|
<v-row align="center" justify="center" dense class="mb-n7 pb-n5">
|
||||||
<v-col cols="12" sm="3" md="2">
|
<v-col cols="12" sm="3" md="2">
|
||||||
<v-switch v-model="showRecent" label="Show Recent"></v-switch>
|
<v-switch v-model="showRecent" :label="$t('settings.homepage.show-recent')"></v-switch>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="5" md="5">
|
<v-col cols="12" sm="5" md="5">
|
||||||
<v-slider
|
<v-slider
|
||||||
class="pt-sm-4"
|
class="pt-sm-4"
|
||||||
label="Card Per Section"
|
:label="$t('settings.homepage.card-per-section')"
|
||||||
v-model="showLimit"
|
v-model="showLimit"
|
||||||
max="30"
|
max="30"
|
||||||
dense
|
dense
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<v-col cols="12" sm="6">
|
<v-col cols="12" sm="6">
|
||||||
<v-card outlined min-height="250">
|
<v-card outlined min-height="250">
|
||||||
<v-card-text class="pt-2 pb-1">
|
<v-card-text class="pt-2 pb-1">
|
||||||
<h3>Homepage Categories</h3>
|
<h3>{{$t('settings.homepage.homepage-categories')}}</h3>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-divider></v-divider>
|
<v-divider></v-divider>
|
||||||
<v-list
|
<v-list
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
<v-card outlined min-height="250px">
|
<v-card outlined min-height="250px">
|
||||||
<v-card-text class="pt-2 pb-1">
|
<v-card-text class="pt-2 pb-1">
|
||||||
<h3>
|
<h3>
|
||||||
All Categories
|
{{$t('settings.homepage.all-categories')}}
|
||||||
<span>
|
<span>
|
||||||
<v-btn absolute right x-small color="success" icon>
|
<v-btn absolute right x-small color="success" icon>
|
||||||
<v-icon>mdi-plus</v-icon></v-btn
|
<v-icon>mdi-plus</v-icon></v-btn
|
||||||
|
|
|
@ -140,6 +140,13 @@
|
||||||
"backup-restore-report": "Backup Restore Report",
|
"backup-restore-report": "Backup Restore Report",
|
||||||
"successfully-imported": "Successfully Imported",
|
"successfully-imported": "Successfully Imported",
|
||||||
"failed-imports": "Failed Imports"
|
"failed-imports": "Failed Imports"
|
||||||
|
},
|
||||||
|
"homepage": {
|
||||||
|
"card-per-section": "Card Per Section",
|
||||||
|
"homepage-categories": "Homepage Categories",
|
||||||
|
"home-page": "Home Page",
|
||||||
|
"all-categories": "All Categories",
|
||||||
|
"show-recent": "Show Recent"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"migration": {
|
"migration": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue