diff --git a/frontend/src/components/Recipe/Parts/Assets.vue b/frontend/src/components/Recipe/Parts/Assets.vue index 65d4ec0ae..c8a094d5b 100644 --- a/frontend/src/components/Recipe/Parts/Assets.vue +++ b/frontend/src/components/Recipe/Parts/Assets.vue @@ -38,7 +38,7 @@ diff --git a/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue b/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue index 75445f160..24464579f 100644 --- a/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue +++ b/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue @@ -12,7 +12,7 @@ - Recipe Settings + {{$t('recipe.recipe-settings')}} @@ -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: {}, }; diff --git a/frontend/src/components/UI/Dialogs/BaseDialog.vue b/frontend/src/components/UI/Dialogs/BaseDialog.vue index 57e9335bd..4109d9a49 100644 --- a/frontend/src/components/UI/Dialogs/BaseDialog.vue +++ b/frontend/src/components/UI/Dialogs/BaseDialog.vue @@ -23,11 +23,11 @@ - Cancel + {{$t('general.cancel')}} - Submit + {{$t('general.submit')}} diff --git a/frontend/src/components/UI/TheSiteMenu.vue b/frontend/src/components/UI/TheSiteMenu.vue index d936b9b52..5f4255f75 100644 --- a/frontend/src/components/UI/TheSiteMenu.vue +++ b/frontend/src/components/UI/TheSiteMenu.vue @@ -49,7 +49,7 @@ export default { return [ { icon: "mdi-account", - title: "Login", + title: this.$t('user.login'), restricted: false, login: true, }, diff --git a/frontend/src/locales/messages/en-US.json b/frontend/src/locales/messages/en-US.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/en-US.json +++ b/frontend/src/locales/messages/en-US.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/store/modules/language.js b/frontend/src/store/modules/language.js index 364e6b298..aa98e3538 100644 --- a/frontend/src/store/modules/language.js +++ b/frontend/src/store/modules/language.js @@ -6,35 +6,35 @@ const state = { value: "en-US", }, { - name: "Danish", + name: "Dansk (Danish)", value: "da-DK", }, { - name: "French", + name: "Français (French)", value: "fr-FR", }, { - name: "Polish", + name: "Polski (Polish)", value: "pl-PL", }, { - name: "Swedish", + name: "Svenska (Swedish)", value: "sv-SE", }, { - name: "简体中文", + name: "简体中文 (Chinese simplified)", value: "zh-CN", }, { - name: "繁體中文", + name: "繁體中文 (Chinese traditional)", value: "zh-TW", }, { - name: "German", + name: "Deutsch (German)", value: "de-DE", }, { - name: "Português", + name: "Português (Portuguese)", value: "pt-PT", }, ],