Streamlined localization settings across gwt modules

This commit is contained in:
Papick Garcia Taboada
2017-02-01 18:53:35 +01:00
parent d03f62e8f5
commit d288b26892
13 changed files with 20 additions and 23 deletions
@@ -39,7 +39,7 @@
<inherits name='com.google.gwt.maps.Maps' />
<inherits name="com.sap.sailing.domain.SailingDomain" />
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
<inherits name="com.sap.sailing.gwt.ui.NoUI" />
<!-- Specify the app entry point class. -->
@@ -56,8 +56,6 @@
<set-configuration-property name="CssResource.enableGss" value="true" />
<set-configuration-property name="CssResource.conversionMode" value="strict" />
<extend-property name="locale" values="de" />
<define-linker name="manifest" class="com.sap.sailing.dashboards.gwt.client.linker.DashboardManifestLinker"/>
<add-linker name="manifest"/>
@@ -26,13 +26,10 @@
<!-- Specify the app entry point class. -->
<entry-point class='com.sap.sailing.gwt.regattaoverview.client.RegattaOverviewEntryPoint'/>
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<extend-property name="locale" values="ru"/>
<source path='client'/>
<inherits name='com.sap.sailing.gwt.common.SailingLocales' />
<inherits name="com.sap.sailing.gwt.ui.SourceAdminConsole"/>
<inherits name='com.sap.sailing.gwt.ui.SourceClient'/>
<inherits name='com.sap.sailing.gwt.ui.SourceActions'/>
@@ -30,10 +30,8 @@
<!-- Specify the app entry point class. -->
<entry-point class='com.sap.sailing.gwt.ui.leaderboardedit.LeaderboardEditPage'/>
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<extend-property name="locale" values="ru"/>
<inherits name="com.sap.sailing.domain.SailingDomain" />
<source path='common'/>
<source path='client'/>
<source path='adminconsole'/>
@@ -43,9 +43,6 @@
<set-property name="gwt.logging.consoleHandler" value="ENABLED" />
<set-property name="gwt.logging.developmentModeHandler" value="DISABLED" />
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<extend-property name="locale" values="de"/>
<extend-property name="locale" values="ru"/>
<!-- Turning CSS obfuscation off -->
<!-- <set-configuration-property name="CssResource.style" value="pretty"/> -->
@@ -11,6 +11,7 @@
<!-- Other module inherits -->
<inherits name="com.sap.sse.gwt.Settings" />
<inherits name="com.sap.sse.Security" />
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
<!-- Specify the app entry point class. -->
@@ -25,7 +26,6 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<source path='editprofile'/>
<source path='loginpanel'/>
</module>
@@ -10,6 +10,7 @@
<!-- Other module inherits -->
<inherits name="com.sap.sse.gwt.Settings" />
<inherits name="com.sap.sse.Security" />
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
<super-source path="jre" />
@@ -26,7 +27,6 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<source path='emailvalidation'/>
<source path='loginpanel'/>
</module>
@@ -4,6 +4,7 @@
<inherits name='com.google.gwt.debug.Debug' />
<inherits name="com.google.gwt.resources.Resources" />
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
<inherits name="com.sap.sse.security.ui.LoginPanel"/>
<!-- Specify the app entry point class. -->
@@ -20,6 +21,5 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<source path='login'/>
</module>
@@ -9,6 +9,7 @@
<inherits name='com.sap.sse.gwt.Settings'/>
<inherits name="com.sap.sse.gwt.Settings" />
<inherits name="com.sap.sse.Security" />
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
<set-property name="gwt.logging.enabled" value="TRUE"/>
@@ -20,6 +21,5 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<source path='loginpanel'/>
</module>
@@ -9,6 +9,7 @@
<!-- Other module inherits -->
<inherits name="com.sap.sse.gwt.Settings" />
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
<!-- Specify the app entry point class. -->
<entry-point class='com.sap.sse.security.ui.oauth.client.OAuthLoginEntryPoint'/>
@@ -22,6 +23,5 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<source path='login'/>
</module>
@@ -9,6 +9,7 @@
<!-- Other module inherits -->
<inherits name="com.sap.sse.gwt.Settings" />
<inherits name="com.sap.sse.Security" />
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
<inherits name="com.sap.sse.security.SSESecuritySerializers" />
<super-source path="jre" />
@@ -25,7 +26,6 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<source path='registration'/>
<source path='loginpanel'/>
</module>
@@ -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,ja" />
<set-property name="locale" value="en,de,zh,ru,ja" />
<set-property-fallback name="locale" value="en" />
</module>
@@ -11,6 +11,7 @@
<inherits name="com.google.gwt.resources.Resources" />
<inherits name="com.sap.sse.security.ui.SecurityLocales" />
<inherits name="com.sap.sse.security.ui.LoginPanel"/>
<!-- Specify the app entry point class. -->
@@ -25,6 +26,5 @@
<set-property name="gwt.logging.systemHandler" value="ENABLED" />
<!-- Specify the paths for translatable code -->
<extend-property name="locale" values="de"/>
<source path='usermanagement'/>
</module>