Alexander Wels has uploaded a new change for review.

Change subject: engine: Missing language docs message
......................................................................

engine: Missing language docs message

- The display 'language' was not translated into the locale of the
  message. This caused for instance Japanese to be in English in the
  Japanese translated message.

Change-Id: I1d9348e6e9782858edc2ecfafea0d5fd740cb4fc
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1132733
Signed-off-by: Alexander Wels <[email protected]>
---
M backend/manager/modules/docs/src/main/webapp/WEB-INF/no_lang.jsp
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/04/34704/1

diff --git a/backend/manager/modules/docs/src/main/webapp/WEB-INF/no_lang.jsp 
b/backend/manager/modules/docs/src/main/webapp/WEB-INF/no_lang.jsp
index e42f077..21e5084 100644
--- a/backend/manager/modules/docs/src/main/webapp/WEB-INF/no_lang.jsp
+++ b/backend/manager/modules/docs/src/main/webapp/WEB-INF/no_lang.jsp
@@ -10,7 +10,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
     <obrand:favicon />
     <title><fmt:message key="docs.missing.title" bundle="${docs}">
-        <fmt:param value="${requestScope['locale'].getDisplayLanguage()}" />
+        <fmt:param 
value="${requestScope['locale'].getDisplayLanguage(requestScope['locale'])}" />
         </fmt:message>
     </title>
     <obrand:stylesheets />
@@ -33,7 +33,7 @@
 
                     <div class="col-sm-12">
                         <fmt:message key="docs.missing.appears" 
bundle="${docs}">
-                            <fmt:param 
value="${requestScope['locale'].getDisplayLanguage()}" />
+                            <fmt:param 
value="${requestScope['locale'].getDisplayLanguage(requestScope['locale'])}" />
                         </fmt:message>
                         <fmt:message key="docs.missing.admin" bundle="${docs}" 
/>
                     </div>


-- 
To view, visit http://gerrit.ovirt.org/34704
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d9348e6e9782858edc2ecfafea0d5fd740cb4fc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to