Moved the locale configuration to it's own GWT module to have a single

source of thruth that is consistent in Home and AdminConsole.
This commit is contained in:
Steffen Schaefer committed 2016-02-24 13:13:38 +01:00
1 parent 8c59b527b2
commit 52ceb2c736
3 files changed
+12 -5

No files matched your search

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" "http://gwtproject.org/doctype/2.7.0/gwt-module.dtd">
<module>
<extend-property name="locale" values="en,de,zh,ru" />
<set-property name="locale" value="en,de,zh,ru" />
<set-property-fallback name="locale" value="en" />
</module>
@@ -25,9 +25,7 @@
<inherits name="com.github.gwtbootstrap.BootstrapNoResources" />
<inherits name='com.github.gwtbootstrap.datetimepicker.DatetimepickerNoResources' />
<extend-property name="locale" values="en,de,zh,ru" />
<set-property name="locale" value="en,de,zh,ru" />
<set-property-fallback name="locale" value="en"/>
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
<source path='client' />
<source path='shared' />
@@ -44,9 +44,11 @@
<set-property name="gwt.logging.developmentModeHandler" value="DISABLED" />
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<extend-property name="locale" values="en,de,zh,ru" />
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
<!-- AdminConsole inherits the default sailing locale configuration but only activates de and en permutations.
With this, all default sailing locales are included in GWT'2 LocaleInfo.
So we can populate UI elements in the AdminConsole with all locales without the need to really support all those locales for users of the AdminConsole. -->
<set-property name="locale" value="en,de"/>
<set-property-fallback name="locale" value="en"/>
<!-- Turning CSS obfuscation off -->
<!-- <set-configuration-property name="CssResource.style" value="pretty"/> -->