Add translation

This commit is contained in:
Matthias Borremans 2021-06-05 15:19:08 +02:00
commit 465b679558
2 changed files with 5 additions and 2 deletions

View file

@ -68,7 +68,7 @@ export default {
action: "print",
},
{
title: this.$t("Share"),
title: this.$t("general.share"),
icon: "mdi-share-variant",
color: "accent",
action: "share",
@ -93,7 +93,7 @@ export default {
];
},
recipeText() {
return this.$t(`I wanted to share you my {0} recipe.`, [this.name]);
return this.$t("recipe.share-recipe-message", [this.name]);
},
},
data() {

View file

@ -96,6 +96,7 @@
"saturday": "Saturday",
"save": "Save",
"settings": "Settings",
"share": "Share",
"shuffle": "Shuffle",
"sort": "Sort",
"sort-alphabetically": "Alphabetical",
@ -214,6 +215,7 @@
"ingredient": "Ingredient",
"ingredients": "Ingredients",
"instructions": "Instructions",
"share-recipe-message": "I wanted to share you my {0} recipe.",
"key-name-required": "Key Name Required",
"landscape-view-coming-soon": "Landscape View (Coming Soon)",
"milligrams": "milligrams",
@ -249,6 +251,7 @@
"total-time": "Total Time",
"unable-to-delete-recipe": "Unable to Delete Recipe",
"view-recipe": "View Recipe"
},
"search": {
"and": "and",