Change in ovirt-engine[master]: core: i18n splash screen.

vszocs at redhat.com vszocs at redhat.com
Wed Apr 24 12:18:13 UTC 2013


Vojtech Szocs has submitted this change and it was merged.

Change subject: core: i18n splash screen.
......................................................................


core: i18n splash screen.

- Added SplashServlet to i18n the splash page.
- Added LocaleFilter to automatically detect locale based on
browser preferences, or parameters. Order of importance:
  1. parameter.
  2. Cookie.
  3. Browser preferences.
  4. Default (en-US).
- Added a LocaleUtils class to capture common methods.
- Added triangle_down_gray image.
- Added unit tests for all used classes.

Change-Id: I37156061cbdd7d2df3290c88dee933c41e0087c6
Bug-Url: https://bugzilla.redhat.com/838456
Signed-off-by: Alexander Wels <awels at redhat.com>
---
M backend/manager/modules/root/src/main/java/org/ovirt/engine/core/DocsServlet.java
A backend/manager/modules/root/src/main/java/org/ovirt/engine/core/LocaleFilter.java
A backend/manager/modules/root/src/main/java/org/ovirt/engine/core/SplashServlet.java
A backend/manager/modules/root/src/main/resources/org/ovirt/engine/core/languages.properties
A backend/manager/modules/root/src/main/resources/org/ovirt/engine/core/messages.properties
A backend/manager/modules/root/src/main/webapp/WEB-INF/index.jsp
M backend/manager/modules/root/src/main/webapp/WEB-INF/web.xml
M backend/manager/modules/root/src/main/webapp/ovirt-engine-style.css
A backend/manager/modules/root/src/main/webapp/splash.js
A backend/manager/modules/root/src/main/webapp/triangle_down_gray.gif
A backend/manager/modules/root/src/test/java/org/ovirt/engine/core/LocaleFilterTest.java
A backend/manager/modules/root/src/test/java/org/ovirt/engine/core/SplashServletTest.java
M backend/manager/modules/utils/pom.xml
13 files changed, 555 insertions(+), 3 deletions(-)

Approvals:
  Vojtech Szocs: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I37156061cbdd7d2df3290c88dee933c41e0087c6
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>



More information about the Engine-commits mailing list