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 <[email protected]> --- 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/68/26168/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/26168 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ief357cf989325402d84efe9d786584373566b0fc Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Alexander Wels <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
