mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-26 21:54:24 -05:00
More localization (#373)
* Translate missing string * Display language in original language + English * Translate assets * Translate recipe settings
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<v-spacer></v-spacer>
|
||||
<base-dialog
|
||||
@submit="addAsset"
|
||||
title="New Asset"
|
||||
:title="$t('recipe.new-asset')"
|
||||
:title-icon="newAsset.icon"
|
||||
>
|
||||
<template v-slot:open="{ open }">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<v-card>
|
||||
<v-card-title class="py-2">
|
||||
<div>
|
||||
Recipe Settings
|
||||
{{$t('recipe.recipe-settings')}}
|
||||
</div>
|
||||
</v-card-title>
|
||||
<v-divider class="mx-2"></v-divider>
|
||||
@@ -39,14 +39,18 @@ export default {
|
||||
props: {
|
||||
value: Object,
|
||||
},
|
||||
data: () => ({
|
||||
labels: {
|
||||
public: "Public Recipe",
|
||||
showNutrition: "Show Nutrition Values",
|
||||
showAssets: "Show Assets",
|
||||
landscapeView: "Landscape View (Coming Soon)",
|
||||
},
|
||||
}),
|
||||
|
||||
computed: {
|
||||
labels() {
|
||||
return {
|
||||
public: this.$t('recipe.public-recipe'),
|
||||
showNutrition: this.$t('recipe.show-nutrition-values'),
|
||||
showAssets: this.$t('recipe.show-assets'),
|
||||
landscapeView: this.$t('recipe.landscape-view-coming-soon'),
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
methods: {},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user