[PATCH] i10n navi chart record handler
Wald Commits
scm-commit at wald.intevation.org
Fri Aug 17 09:41:44 CEST 2018
# HG changeset patch
# User gernotbelger
# Date 1534491700 -7200
# Node ID 2c8ba17b807ee2e16179708458cd99ff7e4af6ac
# Parent a31cb674ddd1ecf35411ab923db029ac5a10abb4
i10n navi chart record handler
diff -r a31cb674ddd1 -r 2c8ba17b807e gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants.java Fri Aug 17 09:22:16 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants.java Fri Aug 17 09:41:40 2018 +0200
@@ -1614,4 +1614,6 @@
String bundu_ws_wq_info();
String error_invalid_integer_positive_required();
+
+ String naviThemeOutOfRange();
}
\ No newline at end of file
diff -r a31cb674ddd1 -r 2c8ba17b807e gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants.properties
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants.properties Fri Aug 17 09:22:16 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants.properties Fri Aug 17 09:41:40 2018 +0200
@@ -867,4 +867,6 @@
sinfo_columnlabel_soundings = Wahl der Peilung
sinfo_columnlabel_waterlevels = Wahl des Wasserspiegels
sinfo_sounding_waterlevel_select_waterlevel = W\u00e4hlen Sie zuerst eine Peilung
-sinfo_deactivate_intelligent_datacord = Intelligente Datenkorbfilterung ausschalten
\ No newline at end of file
+sinfo_deactivate_intelligent_datacord = Intelligente Datenkorbfilterung ausschalten
+
+naviThemeOutOfRange = au\u00dferh. G\u00fcltigkeitsb.
\ No newline at end of file
diff -r a31cb674ddd1 -r 2c8ba17b807e gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants_de.properties
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants_de.properties Fri Aug 17 09:22:16 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYSConstants_de.properties Fri Aug 17 09:41:40 2018 +0200
@@ -867,4 +867,6 @@
sinfo_columnlabel_soundings = Wahl der Peilung
sinfo_columnlabel_waterlevels = Wahl des Wasserspiegels
sinfo_sounding_waterlevel_select_waterlevel = W\u00e4hlen Sie zuerst eine Peilung
-sinfo_deactivate_intelligent_datacord = Intelligente Datenkorbfilterung ausschalten
\ No newline at end of file
+sinfo_deactivate_intelligent_datacord = Intelligente Datenkorbfilterung ausschalten
+
+naviThemeOutOfRange = au\u00dferh. G\u00fcltigkeitsb.
\ No newline at end of file
diff -r a31cb674ddd1 -r 2c8ba17b807e gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NaviChartRecordHandler.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NaviChartRecordHandler.java Fri Aug 17 09:22:16 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NaviChartRecordHandler.java Fri Aug 17 09:41:40 2018 +0200
@@ -9,12 +9,14 @@
*/
package org.dive4elements.river.client.client.ui.chart;
+import org.dive4elements.river.client.client.FLYSConstants;
import org.dive4elements.river.client.client.ui.CollectionView;
import org.dive4elements.river.client.client.ui.IThemeRecordHandler;
import org.dive4elements.river.client.shared.model.AttributedTheme;
import org.dive4elements.river.client.shared.model.FacetRecord;
import org.dive4elements.river.client.shared.model.Theme;
+import com.google.gwt.core.client.GWT;
import com.smartgwt.client.widgets.grid.CellFormatter;
import com.smartgwt.client.widgets.grid.ListGridRecord;
@@ -24,8 +26,11 @@
final class NaviChartRecordHandler implements IThemeRecordHandler, CellFormatter {
private static final String STYLE_CLASS_NAVI_CHART_GRAYED = "naviChartGrayed";
+
private final CollectionView collectionView;
+ private final FLYSConstants msg = GWT.create(FLYSConstants.class);
+
public NaviChartRecordHandler(final CollectionView collectionView) {
this.collectionView = collectionView;
}
@@ -74,8 +79,7 @@
if (isOutsideRange) {
return new StringBuilder(description) //
.append(" (") //
- // FIXME: i10n
- .append("auß. Gültigkeitsbereich") //
+ .append(this.msg.naviThemeOutOfRange()) //
.append(")") //
.toString();
}
More information about the Dive4Elements-commits
mailing list