Alexander Wels has uploaded a new change for review. Change subject: engine: locale in jsps not used ......................................................................
engine: locale in jsps not used - Fixed issue where the user selected locale was not being used in the translated messages on the page for non branded messages. Change-Id: Ief357cf989325402d84efe9d786584373566b0fc Signed-off-by: Alexander Wels <aw...@redhat.com> --- M backend/manager/modules/docs/src/main/webapp/WEB-INF/no_lang.jsp M backend/manager/modules/welcome/src/main/webapp/WEB-INF/404.jsp 2 files changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/36/25336/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 ae062c6..6325cab 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 @@ -2,7 +2,8 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="obrand" uri="obrand" %> -<fmt:setBundle basename="messages" var="docs"/> +<fmt:setLocale value="${locale}" /> +<fmt:setBundle basename="messages" var="docs" /> <!DOCTYPE html> <html> <head> diff --git a/backend/manager/modules/welcome/src/main/webapp/WEB-INF/404.jsp b/backend/manager/modules/welcome/src/main/webapp/WEB-INF/404.jsp index 6e4c788..db1334e 100644 --- a/backend/manager/modules/welcome/src/main/webapp/WEB-INF/404.jsp +++ b/backend/manager/modules/welcome/src/main/webapp/WEB-INF/404.jsp @@ -2,7 +2,8 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="obrand" uri="obrand" %> -<fmt:setBundle basename="messages" var="pagenotfound"/> +<fmt:setLocale value="${locale}" /> +<fmt:setBundle basename="messages" var="pagenotfound" /> <!DOCTYPE html> <html> <head> -- To view, visit http://gerrit.ovirt.org/25336 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ief357cf989325402d84efe9d786584373566b0fc Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alexander Wels <aw...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches