This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.11 by this push:
new 4b33764 ui: display translation labels as html instead of plain text
(#2815)
4b33764 is described below
commit 4b3376469db3699e624626e7f0f7e45ef59df527
Author: ernjvr <[email protected]>
AuthorDate: Tue Aug 21 12:25:43 2018 +0200
ui: display translation labels as html instead of plain text (#2815)
Fixes #2575
---
ui/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/index.html b/ui/index.html
index 5003f00..6b3eef8 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -1759,7 +1759,7 @@
// Translate labels on the fly
$.each($.find('translate[key]'), function(idx, elem) {
var key = $(elem).attr('key');
- $(elem).text(translate(key));
+ $(elem).html(translate(key));
});
// Translate element attributes