ernjvr closed pull request #2815: display translation labels as html instead of
plain text
URL: https://github.com/apache/cloudstack/pull/2815
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/ui/index.html b/ui/index.html
index 5003f00b369..6b3eef8174e 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -1759,7 +1759,7 @@ <h3><translate key="label.set.up.zone.type"/></h3>
// 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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services