fix type mistake, plus correcting math.
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
</span>
|
||||
|
||||
<div class="help" ng-if="model.maxlength === true && model.count >= (model.config.maxChars*.8) && model.count <= model.config.maxChars">
|
||||
<localize key="textbox_characters_left" tokens="[model.count, model.config.maxChars]">characters left</localize>
|
||||
<localize key="textbox_characters_left" tokens="[model.config.maxChars - model.count]">characters left</localize>
|
||||
</div>
|
||||
<div class="help text-error" ng-if="model.maxlength === true && model.count > model.config.maxChars">
|
||||
<localize key="textbox_characters_exceed" tokens="[model.count, model.config.maxChars]">Maximum {0} characters ({1} too many)</localize>
|
||||
<localize key="textbox_characters_exceed" tokens="[model.config.maxChars, model.count - model.config.maxChars]">Maximum {0} characters ({1} too many)</localize>
|
||||
</div>
|
||||
|
||||
</ng-form>
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
</span>
|
||||
|
||||
<div class="help" ng-if="model.count >= (model.config.maxChars*.8) && model.count <= model.config.maxChars">
|
||||
<localize key="textbox_characters_left" tokens="[model.count, model.config.maxChars]">characters left</localize>
|
||||
<localize key="textbox_characters_left" tokens="[model.config.maxChars - model.count]">characters left</localize>
|
||||
</div>
|
||||
<div class="help text-error" ng-if="model.count > model.config.maxChars">
|
||||
<localize key="textbox_characters_exceed" tokens="[model.count, model.config.maxChars]">Maximum {0} characters ({1} too many)</localize>
|
||||
<localize key="textbox_characters_exceed" tokens="[model.config.maxChars, model.count - model.config.maxChars]">Maximum {0} characters ({1} too many)</localize>
|
||||
</div>
|
||||
|
||||
</ng-form>
|
||||
|
||||
@@ -1569,7 +1569,7 @@ Mange hilsner fra Umbraco robotten
|
||||
<key alias="emptyDictionaryTree">Ingen ordbog elementer at vælge imellem</key>
|
||||
</area>
|
||||
<area alias="textbox">
|
||||
<key alias="characters_left">><![CDATA[<strong>{0}</strong> tegn tilbage.]]></key>
|
||||
<key alias="characters_left"><![CDATA[<strong>{0}</strong> tegn tilbage.]]></key>
|
||||
<key alias="characters_exceed"><![CDATA[Maksimum {0} tegn, <strong>{1}</strong> for mange.]]></key>
|
||||
</area>
|
||||
<area alias="recycleBin">
|
||||
|
||||
@@ -2079,7 +2079,7 @@ To manage your website, simply open the Umbraco back office and start adding con
|
||||
<key alias="emptyDictionaryTree">No Dictionary items to choose from</key>
|
||||
</area>
|
||||
<area alias="textbox">
|
||||
<key alias="characters_left">><![CDATA[<strong>{0}</strong> characters left.]]></key>
|
||||
<key alias="characters_left"><![CDATA[<strong>{0}</strong> characters left.]]></key>
|
||||
<key alias="characters_exceed"><![CDATA[Maximum {0} characters, <strong>{1}</strong> too many.]]></key>
|
||||
</area>
|
||||
<area alias="recycleBin">
|
||||
|
||||
@@ -2091,7 +2091,7 @@ To manage your website, simply open the Umbraco back office and start adding con
|
||||
<key alias="emptyDictionaryTree">No Dictionary items to choose from</key>
|
||||
</area>
|
||||
<area alias="textbox">
|
||||
<key alias="characters_left">><![CDATA[<strong>{0}</strong> characters left.]]></key>
|
||||
<key alias="characters_left"><![CDATA[<strong>{0}</strong> characters left.]]></key>
|
||||
<key alias="characters_exceed"><![CDATA[Maximum {0} characters, <strong>{1}</strong> too many.]]></key>
|
||||
</area>
|
||||
<area alias="recycleBin">
|
||||
|
||||
Reference in New Issue
Block a user