mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
Localize homepage settings + FR translation (#180)
* localize homepage settings vue * French localization for homepage settings * localize meal planner settings
This commit is contained in:
parent
d986190a55
commit
6d6e0574b2
4 changed files with 25 additions and 9 deletions
|
@ -1,15 +1,15 @@
|
|||
<template>
|
||||
<v-card flat>
|
||||
<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-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 cols="12" sm="5" md="5">
|
||||
<v-slider
|
||||
class="pt-sm-4"
|
||||
label="Card Per Section"
|
||||
:label="$t('settings.homepage.card-per-section')"
|
||||
v-model="showLimit"
|
||||
max="30"
|
||||
dense
|
||||
|
@ -27,7 +27,7 @@
|
|||
<v-col cols="12" sm="6">
|
||||
<v-card outlined min-height="250">
|
||||
<v-card-text class="pt-2 pb-1">
|
||||
<h3>Homepage Categories</h3>
|
||||
<h3>{{$t('settings.homepage.homepage-categories')}}</h3>
|
||||
</v-card-text>
|
||||
<v-divider></v-divider>
|
||||
<v-list
|
||||
|
@ -68,7 +68,7 @@
|
|||
<v-card outlined min-height="250px">
|
||||
<v-card-text class="pt-2 pb-1">
|
||||
<h3>
|
||||
All Categories
|
||||
{{$t('settings.homepage.all-categories')}}
|
||||
<span>
|
||||
<v-btn absolute right x-small color="success" icon>
|
||||
<v-icon>mdi-plus</v-icon></v-btn
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
item-value="name"
|
||||
multiple
|
||||
chips
|
||||
hint="Only recipes with these categories will be used in Meal Plans"
|
||||
:hint="$t('meal-plan.only-recipes-with-these-categories-will-be-used-in-meal-plans')"
|
||||
class="mt-2"
|
||||
persistent-hint
|
||||
>
|
||||
|
|
|
@ -53,7 +53,8 @@
|
|||
"meal-plans": "Meal Plans",
|
||||
"create-a-new-meal-plan": "Create a New Meal Plan",
|
||||
"start-date": "Start Date",
|
||||
"end-date": "End Date"
|
||||
"end-date": "End Date",
|
||||
"only-recipes-with-these-categories-will-be-used-in-meal-plans": "Only recipes with these categories will be used in Meal Plans"
|
||||
},
|
||||
"recipe": {
|
||||
"description": "Description",
|
||||
|
@ -140,6 +141,13 @@
|
|||
"backup-restore-report": "Backup Restore Report",
|
||||
"successfully-imported": "Successfully Imported",
|
||||
"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": {
|
||||
|
|
|
@ -51,7 +51,8 @@
|
|||
"meal-plans": "Plans de menu",
|
||||
"create-a-new-meal-plan": "Créer un nouveau plan de menu",
|
||||
"start-date": "Date de début",
|
||||
"end-date": "Date de fin"
|
||||
"end-date": "Date de fin",
|
||||
"only-recipes-with-these-categories-will-be-used-in-meal-plans": "Seules les recettes appartenant à ces catégories seront utilisées dans le planificateur de repas."
|
||||
},
|
||||
"recipe": {
|
||||
"description": "Description",
|
||||
|
@ -138,6 +139,13 @@
|
|||
"backup-restore-report": "Rapport de la restauration de la sauvegarde",
|
||||
"successfully-imported": "Importé avec succès",
|
||||
"failed-imports": "Importations échouées"
|
||||
},
|
||||
"homepage": {
|
||||
"all-categories": "Toutes les catégories",
|
||||
"card-per-section": "Tuiles par section",
|
||||
"home-page": "Page d'accueil",
|
||||
"homepage-categories": "Catégories de la page d'accueil",
|
||||
"show-recent": "Afficher les récentes"
|
||||
}
|
||||
},
|
||||
"migration": {
|
||||
|
@ -155,4 +163,4 @@
|
|||
"description": "Importer des recettes depuis Chowdown"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue