Rename lang variables to reflect new commoning
This commit is contained in:
parent
bd23733166
commit
98d1647cea
@ -1,47 +1,56 @@
|
|||||||
NEW_TITLE = Create Recipe
|
NEW_TITLE = Create Recipe
|
||||||
|
|
||||||
NEW_NAME = Name
|
|
||||||
NEW_NAME_DOC = The name of the recipe
|
|
||||||
NEW_NAME_PH = Recipe name
|
|
||||||
|
|
||||||
NEW_SOURCE = Source
|
|
||||||
NEW_SOURCE_DOC = Information about the source this recipe was based on
|
|
||||||
NEW_SOURCE_PH = http://source.url
|
|
||||||
|
|
||||||
NEW_YIELD = Yield
|
|
||||||
NEW_YIELD_DOC = How many servings does this recipe make?
|
|
||||||
NEW_YIELD_PH = X servings
|
|
||||||
|
|
||||||
NEW_PREPINFO = Prep info
|
|
||||||
NEW_PREPINFO_DOC = How much time each step of the recipe take?
|
|
||||||
NEW_PREPINFO_PH = 10 min prep + 20 min cook
|
|
||||||
|
|
||||||
NEW_TIMEREQ = Time required
|
|
||||||
NEW_TIMEREQ_DOC = How long does this recipe take in total?
|
|
||||||
NEW_TIMEREQ_PH = 1 hour 10 minutes
|
|
||||||
|
|
||||||
NEW_OVENTEMP = Oven preheat
|
|
||||||
NEW_OVENTEMP_DOC = Initial oven temperature (show changes in method)
|
|
||||||
NEW_OVENTEMP_PH = None
|
|
||||||
|
|
||||||
NEW_TYPE = Type
|
|
||||||
NEW_STATUS = Status
|
|
||||||
NEW_TAGS = Tags
|
|
||||||
|
|
||||||
NEW_ADD_SEP = Add Separator
|
|
||||||
NEW_ADD_INGRED = Add Ingredient
|
|
||||||
NEW_ADD_INGRED5 = Add 5 Ingredients
|
|
||||||
NEW_ADD_INGRED10 = Add 10 Ingredients
|
|
||||||
|
|
||||||
|
|
||||||
NEW_INGREDIENTS = Ingredients
|
|
||||||
NEW_ING_QUANT_PH = Quantity
|
|
||||||
NEW_ING_ING_PH = Ingredient
|
|
||||||
NEW_ING_NOTE_PH = Notes
|
|
||||||
NEW_ING_SEP_PH = Separator text
|
|
||||||
NEW_ING_DELETE = Delete
|
|
||||||
|
|
||||||
NEW_METHOD = Method
|
|
||||||
NEW_NOTES = Notes
|
|
||||||
|
|
||||||
NEW_CREATE = Add Recipe
|
NEW_CREATE = Add Recipe
|
||||||
|
NEW_ERRORS = Unable to create recipe; the following errors have been encountered:
|
||||||
|
|
||||||
|
RECIPE_NAME = Name
|
||||||
|
RECIPE_NAME_DOC = The name of the recipe
|
||||||
|
RECIPE_NAME_PH = Recipe name
|
||||||
|
|
||||||
|
RECIPE_SOURCE = Source
|
||||||
|
RECIPE_SOURCE_DOC = Information about the source this recipe was based on
|
||||||
|
RECIPE_SOURCE_PH = http://source.url
|
||||||
|
|
||||||
|
RECIPE_YIELD = Yield
|
||||||
|
RECIPE_YIELD_DOC = How many servings does this recipe make?
|
||||||
|
RECIPE_YIELD_PH = X servings
|
||||||
|
|
||||||
|
RECIPE_PREPINFO = Prep info
|
||||||
|
RECIPE_PREPINFO_DOC = How much time each step of the recipe take?
|
||||||
|
RECIPE_PREPINFO_PH = 10 min prep + 20 min cook
|
||||||
|
|
||||||
|
RECIPE_TIMEREQ = Time required
|
||||||
|
RECIPE_TIMEREQ_DOC = How long does this recipe take in total?
|
||||||
|
RECIPE_TIMEREQ_PH = 1 hour 10 minutes
|
||||||
|
|
||||||
|
RECIPE_OVENTEMP = Oven preheat
|
||||||
|
RECIPE_OVENTEMP_DOC = Initial oven temperature (show changes in method)
|
||||||
|
RECIPE_OVENTEMP_PH = None
|
||||||
|
|
||||||
|
RECIPE_TYPE = Type
|
||||||
|
RECIPE_STATUS = Status
|
||||||
|
RECIPE_TAGS = Tags
|
||||||
|
RECIPE_UNITS = Units
|
||||||
|
RECIPE_PREP = Prep method
|
||||||
|
|
||||||
|
RECIPE_ADD_SEP = Add Separator
|
||||||
|
RECIPE_ADD_INGRED = Add Ingredient
|
||||||
|
RECIPE_ADD_INGRED5 = Add 5 Ingredients
|
||||||
|
RECIPE_ADD_INGRED10 = Add 10 Ingredients
|
||||||
|
|
||||||
|
|
||||||
|
RECIPE_INGREDIENTS = Ingredients
|
||||||
|
RECIPE_ING_QUANT_PH = Quantity
|
||||||
|
RECIPE_ING_ING_PH = Ingredient
|
||||||
|
RECIPE_ING_NOTE_PH = Notes
|
||||||
|
RECIPE_ING_SEP_PH = Separator text
|
||||||
|
RECIPE_ING_DELETE = Delete
|
||||||
|
|
||||||
|
RECIPE_METHOD = Method
|
||||||
|
RECIPE_NOTES = Notes
|
||||||
|
|
||||||
|
ERR_NAMEFORMAT = Unsupported characters in the recipe name: only alphanumerics, _, -, comma, space, and period are supported.
|
||||||
|
ERR_TAGFORMAT = Unsupported characters in tag name: only alphanumerics, _, -, and space are supported.
|
||||||
|
ERR_BADSEPNAME = Unsupported characters in separator name: only alphanumerics, _, -, comma, space, and period are supported.
|
||||||
|
ERR_BADQUANTITY = No quantity specified for ingredient.
|
||||||
|
ERR_BADNOTES = Unsupported characters in notes: only alphanumerics, (, ), _, -, comma, space, and period are supported.
|
||||||
|
ERR_JSONFORMAT = Unknown or corrupt data in ingredient JSON
|
||||||
|
@ -1,38 +1,38 @@
|
|||||||
%(errors)s
|
%(errors)s
|
||||||
<div class="small-8 small-offset-2 cell">
|
<div class="small-8 small-offset-2 cell">
|
||||||
<form class="nomargin" method="POST" id="newgrade">
|
<form class="nomargin" method="POST" id="newrecipe">
|
||||||
<h4 class="underscore">{L_NEW_TITLE}</h4>
|
<h4 class="underscore">{L_NEW_TITLE}</h4>
|
||||||
<div>
|
<div>
|
||||||
<label>{L_NEW_NAME}
|
<label>{L_RECIPE_NAME}
|
||||||
<input maxlength="80" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_NEW_NAME_DOC}" type="text" id="name" name="name" value="%(name)s" placeholder="{L_NEW_NAME_PH}" required />
|
<input maxlength="80" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_RECIPE_NAME_DOC}" type="text" id="name" name="name" value="%(name)s" placeholder="{L_RECIPE_NAME_PH}" required />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label>{L_NEW_SOURCE}
|
<label>{L_RECIPE_SOURCE}
|
||||||
<input maxlength="255" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_NEW_SOURCE_DOC}" type="text" id="source" name="source" value="%(source)s" placeholder="{L_NEW_SOURCE_PH}" required />
|
<input maxlength="255" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_RECIPE_SOURCE_DOC}" type="text" id="source" name="source" value="%(source)s" placeholder="{L_RECIPE_SOURCE_PH}" />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label>{L_NEW_YIELD}
|
<label>{L_RECIPE_YIELD}
|
||||||
<input maxlength="80" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_NEW_YIELD_DOC}" type="text" id="yeild" name="yield" value="%(yield)s" placeholder="{L_NEW_YIELD_PH}" />
|
<input maxlength="80" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_RECIPE_YIELD_DOC}" type="text" id="yeild" name="yield" value="%(yield)s" placeholder="{L_RECIPE_YIELD_PH}" />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label>{L_NEW_PREPINFO}
|
<label>{L_RECIPE_PREPINFO}
|
||||||
<input maxlength="255" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_NEW_PREPINFO_DOC}" type="text" id="timereq" name="timereq" value="%(timereq)s" placeholder="{L_NEW_PREPINFO_PH}" required />
|
<input maxlength="255" data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_RECIPE_PREPINFO_DOC}" type="text" id="timereq" name="timereq" value="%(timereq)s" placeholder="{L_RECIPE_PREPINFO_PH}" required />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label>{L_NEW_TIMEREQ}
|
<label>{L_RECIPE_TIMEREQ}
|
||||||
<input data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_NEW_TIMEREQ_DOC}" type="text" id="timemins" name="timemins" value="%(timemins)s" placeholder="{L_NEW_TIMEREQ_PH}" />
|
<input data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_RECIPE_TIMEREQ_DOC}" type="text" id="timemins" name="timemins" value="%(timemins)s" placeholder="{L_RECIPE_TIMEREQ_PH}" />
|
||||||
<input type="hidden" name="timesecs" value="0" id="timesecs" value="%(timesecs)s" />
|
<input type="hidden" name="timesecs" id="timesecs" value="%(timesecs)s" />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label>{L_NEW_OVENTEMP}
|
<label>{L_RECIPE_OVENTEMP}
|
||||||
<div class="grid-x">
|
<div class="grid-x">
|
||||||
<div class="small-6 cell">
|
<div class="small-6 cell">
|
||||||
<input data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_NEW_OVENTEMP_DOC}" type="number" id="temp" name="temp" value="%(temp)s" placeholder="{L_NEW_OVENTEMP_PH}" />
|
<input data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" title="{L_RECIPE_OVENTEMP_DOC}" type="number" id="temp" name="temp" value="%(temp)s" placeholder="{L_RECIPE_OVENTEMP_PH}" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-6 cell">
|
<div class="small-6 cell">
|
||||||
<select id="temptype" name="temptype">
|
<select id="temptype" name="temptype">
|
||||||
@ -44,14 +44,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="grid-x">
|
<div class="grid-x">
|
||||||
<div class="medium-6 cell form-left">
|
<div class="medium-6 cell form-left">
|
||||||
<label>{L_NEW_TYPE}
|
<label>{L_RECIPE_TYPE}
|
||||||
<select id="type" name="type">
|
<select id="type" name="type">
|
||||||
%(types)s
|
%(types)s
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="medium-6 cell form-right">
|
<div class="medium-6 cell form-right">
|
||||||
<label>{L_NEW_STATUS}
|
<label>{L_RECIPE_STATUS}
|
||||||
<select id="status" name="status">
|
<select id="status" name="status">
|
||||||
%(status)s
|
%(status)s
|
||||||
</select>
|
</select>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="spacer">
|
<div class="spacer">
|
||||||
<label>{L_NEW_TAGS}
|
<label>{L_RECIPE_TAGS}
|
||||||
<select id="tags" name="tags" size="1" multiple="multiple">
|
<select id="tags" name="tags" size="1" multiple="multiple">
|
||||||
%(tags)s
|
%(tags)s
|
||||||
</select>
|
</select>
|
||||||
@ -68,29 +68,30 @@
|
|||||||
<ul id="ingredients">
|
<ul id="ingredients">
|
||||||
%(ingreds)s
|
%(ingreds)s
|
||||||
</ul>
|
</ul>
|
||||||
|
<input type="hidden" id="ingdata" name="ingdata" />
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<button type="button" class="button" id="addsep" >{L_NEW_ADD_SEP}</button>
|
<button type="button" class="button" id="addsep" >{L_RECIPE_ADD_SEP}</button>
|
||||||
<button type="button" class="button adding" data-count="1">{L_NEW_ADD_INGRED}</button>
|
<button type="button" class="button adding" data-count="1">{L_RECIPE_ADD_INGRED}</button>
|
||||||
<a class="dropdown button arrow-only" data-toggle="count-dropdown">
|
<a class="dropdown button arrow-only" data-toggle="count-dropdown">
|
||||||
<span class="show-for-sr">Show menu</span>
|
<span class="show-for-sr">Show menu</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-pane bottom float-left" id="count-dropdown" data-dropdown data-auto-focus="true">
|
<div class="dropdown-pane bottom float-left" id="count-dropdown" data-dropdown data-auto-focus="true">
|
||||||
<ul class="menu vertical">
|
<ul class="menu vertical">
|
||||||
<li><button type="button" class="adding" data-count="5" data-toggle="count-dropdown">{L_NEW_ADD_INGRED5}</button></li>
|
<li><button type="button" class="adding" data-count="5" data-toggle="count-dropdown">{L_RECIPE_ADD_INGRED5}</button></li>
|
||||||
<li><button type="button" class="adding" data-count="10" data-toggle="count-dropdown">{L_NEW_ADD_INGRED10}</button></li>
|
<li><button type="button" class="adding" data-count="10" data-toggle="count-dropdown">{L_RECIPE_ADD_INGRED10}</button></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="spacer">
|
<div class="spacer">
|
||||||
<label>{L_NEW_METHOD}
|
<label>{L_RECIPE_METHOD}
|
||||||
<textarea id="method" name="method">
|
<textarea id="method" name="method">
|
||||||
%(method)s
|
%(method)s
|
||||||
</textarea>
|
</textarea>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="spacer">
|
<div class="spacer">
|
||||||
<label>{L_NEW_NOTES}
|
<label>{L_RECIPE_NOTES}
|
||||||
<textarea id="notes" name="notes">
|
<textarea id="notes" name="notes">
|
||||||
%(notes)s
|
%(notes)s
|
||||||
</textarea>
|
</textarea>
|
||||||
@ -98,7 +99,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<input type="submit" name="newgrade" class="button float-right" value="{L_NEW_CREATE}" />
|
<input type="submit" name="newrecipe" class="button float-right" value="{L_NEW_CREATE}" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@ -106,33 +107,33 @@
|
|||||||
<li class="ingred">
|
<li class="ingred">
|
||||||
<div class="grid-x">
|
<div class="grid-x">
|
||||||
<div class="small-1 cell">
|
<div class="small-1 cell">
|
||||||
<input type="text" placeholder="Quantity">
|
<input class="quantity" type="text" placeholder="{L_RECIPE_ING_QUANT_PH}" value="%(quantity)s" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-2 cell">
|
<div class="small-2 cell">
|
||||||
<select>
|
<select class="units">
|
||||||
%(units)s
|
%(units)s
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-2 cell">
|
<div class="small-2 cell">
|
||||||
<select>
|
<select class="preps">
|
||||||
%(preps)s
|
%(preps)s
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-3 cell">
|
<div class="small-3 cell">
|
||||||
<input type="text" class="ingredient" placeholder="Ingredient">
|
<input type="text" class="ingredient" placeholder="{L_RECIPE_ING_ING_PH}" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-3 cell">
|
<div class="small-3 cell">
|
||||||
<input type="text" placeholder="Notes">
|
<input type="text" class="notes" placeholder="{L_RECIPE_ING_NOTE_PH}" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-1 cell">
|
<div class="small-1 cell">
|
||||||
<button class="button alert deletectrl" type="button" title="Delete"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
<button class="button alert deletectrl" type="button" title="{L_RECIPE_ING_DELETE}"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="separator">
|
<li class="separator">
|
||||||
<div class="grid-x">
|
<div class="grid-x">
|
||||||
<div class="small-11 cell">
|
<div class="small-11 cell">
|
||||||
<input type="text" placeholder="Separator text">
|
<input type="text" class="separator" placeholder="Separator text">
|
||||||
</div>
|
</div>
|
||||||
<div class="small-1 cell">
|
<div class="small-1 cell">
|
||||||
<button class="button alert deletectrl" type="button" title="Delete"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
<button class="button alert deletectrl" type="button" title="Delete"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
||||||
|
@ -1,26 +1,26 @@
|
|||||||
<li>
|
<li class="ingred">
|
||||||
<div class="grid-x">
|
<div class="grid-x">
|
||||||
<div class="small-1 cell">
|
<div class="small-1 cell">
|
||||||
<input type="text" placeholder="{L_NEW_ING_QUANT_PH}" value="%(quantity)s" />
|
<input class="quantity" type="text" placeholder="{L_RECIPE_ING_QUANT_PH}" value="%(quantity)s" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-2 cell">
|
<div class="small-2 cell">
|
||||||
<select>
|
<select class="units">
|
||||||
%(units)s
|
%(units)s
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-2 cell">
|
<div class="small-2 cell">
|
||||||
<select>
|
<select class="preps">
|
||||||
%(preps)s
|
%(preps)s
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-3 cell">
|
<div class="small-3 cell">
|
||||||
<input type="text" class="ingredient" placeholder="{L_NEW_ING_ING_PH}" value="%(name)s" />
|
<input type="text" class="ingredient" placeholder="{L_RECIPE_ING_ING_PH}" value="%(name)s" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-3 cell">
|
<div class="small-3 cell">
|
||||||
<input type="text" placeholder="{L_NEW_ING_NOTE_PH}" value="%(notes)s" />
|
<input type="text" class="notes" placeholder="{L_RECIPE_ING_NOTE_PH}" value="%(notes)s" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-1 cell">
|
<div class="small-1 cell">
|
||||||
<button class="button alert deletectrl" type="button" title="{L_NEW_ING_DELETE}"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
<button class="button alert deletectrl" type="button" title="{L_RECIPE_ING_DELETE}"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
@ -1,10 +1,10 @@
|
|||||||
<li class="separator">
|
<li class="separator">
|
||||||
<div class="grid-x">
|
<div class="grid-x">
|
||||||
<div class="small-11 cell">
|
<div class="small-11 cell">
|
||||||
<input type="text" placeholder="{L_NEW_ING_SEP_PH}" value="%(name)s" />
|
<input type="text" placeholder="{L_RECIPE_ING_SEP_PH}" value="%(name)s" />
|
||||||
</div>
|
</div>
|
||||||
<div class="small-1 cell">
|
<div class="small-1 cell">
|
||||||
<button class="button alert deletectrl" type="button" title="{L_NEW_ING_DELETE}"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
<button class="button alert deletectrl" type="button" title="{L_RECIPE_ING_DELETE}"><i class="fa fa-trash" aria-hidden="true"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
Loading…
x
Reference in New Issue
Block a user