Merge "Change internationalizable string"

This commit is contained in:
Jenkins 2014-01-27 23:08:49 +00:00 committed by Gerrit Code Review
commit 4d630104df
2 changed files with 6 additions and 6 deletions

View File

@ -8,11 +8,11 @@ horizon.alert = function (type, message, extra_tags) {
params = {
"type": type,
"type_display": {
'danger': gettext("Danger"),
'warning': gettext("Warning"),
'info': gettext("Notice"),
'success': gettext("Success"),
'error': gettext("Error")
'danger': gettext("Danger: "),
'warning': gettext("Warning: "),
'info': gettext("Notice: "),
'success': gettext("Success: "),
'error': gettext("Error: ")
}[type],
"message": message,
"safe": safe

View File

@ -8,7 +8,7 @@
<div class="alert alert-block fade in alert-[[type]]">
<a class="close" data-dismiss="alert" href="#">&times;</a>
<p>
<strong>[[type_display]]: </strong>
<strong>[[type_display]]</strong>
[[#safe]]
[[[message]]]
[[/safe]]