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

View file

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