[Dive4elements-commits] [PATCH 1 of 5] Add i18n for mapfish_data variables. A bit ugly because we

Wald Commits scm-commit at wald.intevation.org
Fri Apr 12 13:02:13 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365763986 -7200
# Node ID c6a6ef2d4e7e158ac70aa626ba3ab1ad54885ede
# Parent  e1ba8273df07273d08cd13a39efa14556feef267
Add i18n for mapfish_data variables. A bit ugly because we
save the sorting information and in which json dictionary they should
be put in their name.

diff -r e1ba8273df07 -r c6a6ef2d4e7e flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Fri Apr 12 12:23:53 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Fri Apr 12 12:53:06 2013 +0200
@@ -1210,5 +1210,22 @@
 
     String printWindowTitle();
 
+    String mapfish_data_range();
+
+    String mapfish_data_subtitle();
+
+    String mapfish_data_strech();
+
+    String mapfish_data_created();
+
+    String mapfish_data_source();
+
+    String mapfish_data_creator();
+
+    String mapfish_data_dateplace();
+
+    String mapfish_data_river();
+
+
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
diff -r e1ba8273df07 -r c6a6ef2d4e7e flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Fri Apr 12 12:23:53 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Fri Apr 12 12:53:06 2013 +0200
@@ -629,3 +629,18 @@
 measurement_station_url = https://flys-intern.intevation.de/MessstellenInfo/
 measurement_station_info_link = Measurement Station Info
 measurement_station_gauge_name = Reference Gauge
+
+# The prefix is used to classify them and will be stripped
+# If the payload part sarts with a number it will be sorted
+# By this number and the number will be stripped.
+# Number must be a single digit 0-9. This hack was made necessary
+# by the usage of an attribute table in mapfish
+
+mapfish_data_range = mapfish_data_3Range
+mapfish_data_subtitle = mapfish_data_0Subtitle
+mapfish_data_strech = mapfish_data_2Stretch
+mapfish_data_created = mapfish_data_4Created
+mapfish_data_source = mapfish_data_5Source
+mapfish_data_creator = mapfish_data_6Creator
+mapfish_data_dateplace = mapfish_data_7Place, Date
+mapfish_data_river = mapfish_data_1River
diff -r e1ba8273df07 -r c6a6ef2d4e7e flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Fri Apr 12 12:23:53 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Fri Apr 12 12:53:06 2013 +0200
@@ -628,3 +628,18 @@
 measurement_station_url = https://flys-intern.intevation.de/MessstellenInfo/
 measurement_station_info_link = Messstelleninfo
 measurement_station_gauge_name = hydrologischer Bezugspegel
+
+# The prefix is used to classify them and will be stripped
+# If the payload part sarts with a number it will be sorted
+# By this number and the number will be stripped.
+# Number must be a single digit 0-9. This hack was made necessary
+# by the usage of an attribute table in mapfish
+
+mapfish_data_range = mapfish_data_3Bereich
+mapfish_data_subtitle = mapfish_data_0Untertitel
+mapfish_data_strech = mapfish_data_2Strecke
+mapfish_data_created = mapfish_data_4Aufgestellt
+mapfish_data_source = mapfish_data_5Datenquelle
+mapfish_data_creator = mapfish_data_6Ersteller
+mapfish_data_dateplace = mapfish_data_7Ort, Datum
+mapfish_data_river = mapfish_data_1Gewässer


More information about the Dive4elements-commits mailing list