SiteMenu translatable

This commit is contained in:
Florian Dupret 2021-03-14 09:28:51 +01:00
commit 01830b6ca2
3 changed files with 11 additions and 5 deletions

View file

@ -54,31 +54,31 @@ export default {
},
{
icon: "mdi-calendar-week",
title: this.$i18n.t("meal-plan.dinner-this-week"),
title: this.$t("meal-plan.dinner-this-week"),
nav: "/meal-plan/this-week",
restricted: true,
},
{
icon: "mdi-calendar-today",
title: this.$i18n.t("meal-plan.dinner-today"),
title: this.$t("meal-plan.dinner-today"),
nav: "/meal-plan/today",
restricted: true,
},
{
icon: "mdi-calendar-multiselect",
title: this.$i18n.t("meal-plan.planner"),
title: this.$t("meal-plan.planner"),
nav: "/meal-plan/planner",
restricted: true,
},
{
icon: "mdi-account",
title: "Logout",
title: this.$t('auth.logout'),
restricted: true,
nav: "/logout",
},
{
icon: "mdi-cog",
title: this.$i18n.t("general.settings"),
title: this.$t("general.settings"),
nav: "/admin",
restricted: true,
},

View file

@ -175,5 +175,8 @@
"title": "Chowdown",
"description": "Migrate data from Chowdown"
}
},
"auth": {
"logout": "Logout"
}
}

View file

@ -175,5 +175,8 @@
"title": "Chowdown",
"description": "Importer des recettes depuis Chowdown"
}
},
"auth": {
"logout": "Déconnexion"
}
}