placeholder for required strings

This commit is contained in:
vishnuraghavb 2021-04-16 10:20:04 +05:30
parent 2f3d7ee636
commit cced670aa4
2 changed files with 2 additions and 2 deletions

View file

@ -433,7 +433,7 @@ export default {
changeYield() { changeYield() {
this.$showModal(PromptDialog, { this.$showModal(PromptDialog, {
props: { props: {
title: `${localize("req")} ${localize(this.recipe.yield.unit)}`, title: `${localize("req", localize(this.recipe.yield.unit))}`,
placeholder: Math.abs(parseFloat(this.yieldMultiplier)), placeholder: Math.abs(parseFloat(this.yieldMultiplier)),
action: "SET", action: "SET",
}, },

View file

@ -155,7 +155,7 @@
"rmCmb": "Combination removed", "rmCmb": "Combination removed",
"nwYiU": "New yield unit", "nwYiU": "New yield unit",
"nwCat": "New category", "nwCat": "New category",
"req": "Required", "req": "Required %s",
"recPic": "Recipe photo", "recPic": "Recipe photo",
"cPic": "Crop photo", "cPic": "Crop photo",
"breakfast": "Breakfast", "breakfast": "Breakfast",