Translate CardSection

This commit is contained in:
Florian Dupret 2021-03-14 09:21:35 +01:00
commit 7a2ff1b01e
3 changed files with 12 additions and 8 deletions

View file

@ -15,15 +15,15 @@
<v-menu offset-y v-if="sortable">
<template v-slot:activator="{ on, attrs }">
<v-btn-toggle group>
<v-btn text v-bind="attrs" v-on="on"> Sort </v-btn>
<v-btn text v-bind="attrs" v-on="on">{{$t('general.sort')}}</v-btn>
</v-btn-toggle>
</template>
<v-list>
<v-list-item @click="$emit('sort-recent')">
<v-list-item-title> Recent </v-list-item-title>
<v-list-item-title>{{$t('general.recent')}}</v-list-item-title>
</v-list-item>
<v-list-item @click="$emit('sort')">
<v-list-item-title> A-Z </v-list-item-title>
<v-list-item-title>{{$t('general.sort-alphabetically')}}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>

View file

@ -1,5 +1,4 @@
{
"404": {
"page-not-found": "404 Page Not Found",
"take-me-home": "Take me Home"
@ -36,7 +35,10 @@
"templates": "Templates",
"recipes": "Recipes",
"themes": "Themes",
"confirm": "Confirm"
"confirm": "Confirm",
"sort": "Sort",
"recent": "Recent",
"sort-alphabetically": "A-Z"
},
"page": {
"home-page": "Home Page",
@ -174,4 +176,4 @@
"description": "Migrate data from Chowdown"
}
}
}
}

View file

@ -1,5 +1,4 @@
{
"404": {
"page-not-found": "404 Page introuvable",
"take-me-home": "Retour à l'accueil"
@ -36,7 +35,10 @@
"templates": "Modèles",
"recipes": "Recettes",
"themes": "Thèmes",
"confirm": "Confirmer"
"confirm": "Confirmer",
"recent": "Récent",
"sort": "Trier",
"sort-alphabetically": "A-Z"
},
"page": {
"home-page": "Accueil",