Remove markup from errors realated localized strings

This commit is contained in:
Dmitriy Simushev 2014-06-05 15:38:17 +00:00
parent 12634894ac
commit 49469f6aaf
4 changed files with 14 additions and 20 deletions

View File

@ -124,12 +124,9 @@ errors.captcha=The letters you typed don't match the letters that were shown in
errors.failed.uploading.file=Error uploading file "{0}": {1}.
errors.file.move.error=Error moving file
errors.file.size.exceeded=Uploaded file size exceeded
errors.footer=</ul>
errors.header=<b>Correct the mistakes:</b><br/><ul>
errors.header=Correct the mistakes:
errors.invalid.file.type=Invalid file type
errors.prefix=<li class="error">
errors.required=Please fill "{0}".
errors.suffix=</li>
errors.wrong_field=Please fill "{0}" correctly.
error.no_password=This is your first time logging in and your password is blank. For security reasons you have to change it.
error.no_password.visit_profile=Visit your <a href="{0}">Profile Page</a>.
@ -179,7 +176,7 @@ form.field.password_confirm.description=Confirm new password.
form.field.password_confirm=Confirmation
form.field.title=Title
form.field.translation=Translation
harderrors.header=<b>Cannot execute:</b><br/><ul>
harderrors.header=Cannot execute:
install.0.app=Application path is {0}
install.0.package=Mibew package is valid.
install.0.php=PHP version {0}

View File

@ -11,13 +11,12 @@
{{#override "content"}}
{{#if errors}}
{{l10n "harderrors.header"}}
<b>{{l10n "harderrors.header"}}</b><br/>
<ul>
{{#each errors}}
{{l10n "errors.prefix"}}
{{{this}}}
{{l10n "errors.suffix"}}
<li class="error">{{{this}}}</li>
{{/each}}
{{l10n "errors.footer"}}
</ul>
{{/if}}
{{/override}}
{{/extends}}

View File

@ -20,13 +20,12 @@
{{#override "content"}}
{{#if errors}}
{{l10n "errors.header"}}
<b>{{l10n "errors.header"}}</b><br/>
<ul>
{{#each errors}}
{{l10n "errors.prefix"}}
{{{this}}}
{{l10n "errors.suffix"}}
<li class="error">{{{this}}}</li>
{{/each}}
{{l10n "errors.footer"}}
</ul>
{{/if}}
{{/override}}
{{/extends}}

View File

@ -1,13 +1,12 @@
{{#if errors}}
<div class="errinfo">
<img src="{{stylePath}}/images/icon_err.gif" width="40" height="40" border="0" alt="" class="left"/>
{{l10n "errors.header"}}
<b>{{l10n "errors.header"}}</b><br/>
<ul>
{{#each errors}}
{{l10n "errors.prefix"}}
{{{this}}}
{{l10n "errors.suffix"}}
<li class="error">{{{this}}}</li>
{{/each}}
{{l10n "errors.footer"}}
</ul>
</div>
<br clear="all"/>
{{/if}}