[Schmitzm-commits] r1362 - in trunk/src/schmitzm/geotools/gui: . resource/locales

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Dec 26 21:20:41 CET 2010


Author: alfonx
Date: 2010-12-26 21:20:41 +0100 (Sun, 26 Dec 2010)
New Revision: 1362

Modified:
   trunk/src/schmitzm/geotools/gui/ScalePane.java
   trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties
   trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties
Log:


Modified: trunk/src/schmitzm/geotools/gui/ScalePane.java
===================================================================
--- trunk/src/schmitzm/geotools/gui/ScalePane.java	2010-12-26 19:05:35 UTC (rev 1361)
+++ trunk/src/schmitzm/geotools/gui/ScalePane.java	2010-12-26 20:20:41 UTC (rev 1362)
@@ -152,9 +152,9 @@
 			scaleLabel.setText("");
 
 		if (isOgcScaleDenominatorVisible() && scaleDenominator != 0) {
-			scaleLabel.setText(scaleLabel.getText() + "(OGC scale denominator "
-					+ NumberFormat.getNumberInstance().format(scaleDenominator)
-					+ ")");
+			scaleLabel.setText(scaleLabel.getText()
+					+ GeotoolsGUIUtil.R("ScalePane.OGCScale", NumberFormat
+							.getIntegerInstance().format(scaleDenominator)));
 		}
 
 		repaint();

Modified: trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties
===================================================================
--- trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties	2010-12-26 19:05:35 UTC (rev 1361)
+++ trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties	2010-12-26 20:20:41 UTC (rev 1362)
@@ -190,3 +190,5 @@
 AtlasFeatureLayerFilterDialog.AttributeTableHeader.Unit = Unit
 AtlasFeatureLayerFilterDialog.WindowTitle = Filter by attribute: ${0}
 FilterTableCellEditor.FilterDialogTitle = Filter for ${0} (${1}), ${2}
+
+ScalePane.OGCScale=Scale: 1:${0}
\ No newline at end of file

Modified: trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties
===================================================================
--- trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties	2010-12-26 19:05:35 UTC (rev 1361)
+++ trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties	2010-12-26 20:20:41 UTC (rev 1362)
@@ -188,3 +188,5 @@
 AtlasFeatureLayerFilterDialog.AttributeTableHeader.Unit=Einheit\t
 AtlasFeatureLayerFilterDialog.AttributeTableHeader.VariableName=Variable
 AtlasFeatureLayerFilterDialog.WindowTitle=Attributfilter\: ${0}
+
+ScalePane.OGCScale=Maßstab: 1:${0}
\ No newline at end of file



More information about the Schmitzm-commits mailing list