From 2f3d7ee636e8e5631fdac896b796eabf79ba3968 Mon Sep 17 00:00:00 2001 From: vishnuraghavb Date: Fri, 16 Apr 2021 09:41:08 +0530 Subject: [PATCH 1/2] removed version string --- app/i18n/en-GB.default.json | 1 - 1 file changed, 1 deletion(-) diff --git a/app/i18n/en-GB.default.json b/app/i18n/en-GB.default.json index 76c47c62..bfcd6155 100644 --- a/app/i18n/en-GB.default.json +++ b/app/i18n/en-GB.default.json @@ -94,7 +94,6 @@ "buInfo": "Generates a ZIP file containing all your data that can be imported back", "impBu": "Import data", "impInfo": "Supports full backups exported by this app", - "ver": "Version", "joinTG": "Join the Telegram group", "newRec": "New recipe", "editRec": "Edit recipe", From cced670aa48f70909e1d19122db3fd3453332ce3 Mon Sep 17 00:00:00 2001 From: vishnuraghavb Date: Fri, 16 Apr 2021 10:20:04 +0530 Subject: [PATCH 2/2] placeholder for required strings --- app/components/ViewRecipe.vue | 2 +- app/i18n/en-GB.default.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/ViewRecipe.vue b/app/components/ViewRecipe.vue index f0091247..8e2f0fad 100644 --- a/app/components/ViewRecipe.vue +++ b/app/components/ViewRecipe.vue @@ -433,7 +433,7 @@ export default { changeYield() { this.$showModal(PromptDialog, { props: { - title: `${localize("req")} ${localize(this.recipe.yield.unit)}`, + title: `${localize("req", localize(this.recipe.yield.unit))}`, placeholder: Math.abs(parseFloat(this.yieldMultiplier)), action: "SET", }, diff --git a/app/i18n/en-GB.default.json b/app/i18n/en-GB.default.json index bfcd6155..859a3975 100644 --- a/app/i18n/en-GB.default.json +++ b/app/i18n/en-GB.default.json @@ -155,7 +155,7 @@ "rmCmb": "Combination removed", "nwYiU": "New yield unit", "nwCat": "New category", - "req": "Required", + "req": "Required %s", "recPic": "Recipe photo", "cPic": "Crop photo", "breakfast": "Breakfast",