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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jul 1 19:28:42 CEST 2010


Author: alfonx
Date: 2010-07-01 19:28:41 +0200 (Thu, 01 Jul 2010)
New Revision: 922

Removed:
   trunk/src/schmitzm/jfree/resource/locales/JFreeResourceBundle_de.properties.nativeiso
Modified:
   trunk/pom.xml
   trunk/src/schmitzm/geotools/epsg.properties
   trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties
   trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties
   trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_fr.properties
   trunk/src/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties
Log:
pom.xml extended to automatically convert native2ascii chars

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2010-07-01 17:24:07 UTC (rev 921)
+++ trunk/pom.xml	2010-07-01 17:28:41 UTC (rev 922)
@@ -189,7 +189,7 @@
 			<type>jar</type>
 			<scope>compile</scope>
 		</dependency>
-		
+
 		<dependency>
 			<groupId>commons-io</groupId>
 			<artifactId>commons-io</artifactId>
@@ -225,6 +225,35 @@
 			<type>jar</type>
 			<scope>compile</scope>
 		</dependency>
+
+
+		<dependency>
+			<!-- Fuer Sonderzeichenbehandlung  -->
+			<groupId>ant-contrib</groupId>
+			<artifactId>ant-contrib</artifactId>
+			<version>1.0b3</version>
+			<type>jar</type>
+			<scope>provided</scope>
+		</dependency>
+
+
+		<dependency>
+			<!-- Fuer Sonderzeichenbehandlung  -->
+			<groupId>ant</groupId>
+			<artifactId>ant-nodeps</artifactId>
+			<version>1.6.5</version>
+			<scope>provided</scope>
+		</dependency>
+
+		<dependency>
+			<!-- Fuer Sonderzeichenbehandlung  -->
+			<groupId>com.sun</groupId>
+			<artifactId>tools</artifactId>
+			<version>1.6.0</version>
+			<scope>system</scope>
+			<systemPath>${java.home}/../lib/tools.jar</systemPath>
+		</dependency>
+
 	</dependencies>
 
 
@@ -310,6 +339,58 @@
 				</configuration>
 			</plugin>
 
+
+
+			<plugin>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<version>1.3</version>
+
+				<executions>
+					<execution>
+						<phase>compile</phase>
+						<goals>
+							<goal>run</goal>
+						</goals>
+						<configuration>
+
+							<tasks>
+								<taskdef resource="net/sf/antcontrib/antlib.xml">
+									<classpath refid="maven.dependency.classpath" />
+								</taskdef>
+								<typedef name="native2ascii"
+									classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii">
+									<classpath refid="maven.dependency.classpath" />
+								</typedef>
+
+								<for param="file"
+									description="Alle .properties nach .propertieNative umbenennen">
+									<path>
+										<fileset dir="src" includes="**/*.properties" />
+									</path>
+									<sequential>
+										<move file="@{file}" overwrite="true" tofile="@{file}Native"
+											verbose="false" preservelastmodified="true" />
+									</sequential>
+								</for>
+
+								<native2ascii encoding="UTF8" src="src"
+									includes="**/*.propertiesNative" dest="src" ext=".properties" />
+
+								<for param="file">
+									<path>
+										<fileset dir="src" includes="**/*.propertiesNative" />
+									</path>
+									<sequential>
+										<delete file="@{file}" quiet="true" />
+									</sequential>
+								</for>
+
+							</tasks>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+
 		</plugins>
 
 	</build>

Modified: trunk/src/schmitzm/geotools/epsg.properties
===================================================================
--- trunk/src/schmitzm/geotools/epsg.properties	2010-07-01 17:24:07 UTC (rev 921)
+++ trunk/src/schmitzm/geotools/epsg.properties	2010-07-01 17:28:41 UTC (rev 922)
@@ -4,7 +4,7 @@
 42101=PROJCS["WGS 84 / LCC Canada",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-95.0],PARAMETER["latitude_of_origin",0],PARAMETER["standard_parallel_1",49.0],PARAMETER["standard_parallel_2",77.0],PARAMETER["false_northing",-8000000.0],UNIT["Meter",1]]
 42102=PROJCS["BC_Albers",GEOGCS["GCS_North_American_1983",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",6378137,298.257222101],TOWGS84[0,0,0]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["False_Easting",1000000],PARAMETER["Central_Meridian",-126],PARAMETER["Standard_Parallel_1",50],PARAMETER["Standard_Parallel_2",58.5],PARAMETER["Latitude_Of_Origin",45],UNIT["Meter",1]]
 42103=PROJCS["WGS 84 / LCC USA",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1978",6378135,298.26]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-100.0],PARAMETER["latitude_of_origin",0],PARAMETER["standard_parallel_1",33.0],PARAMETER["standard_parallel_2",45.0],UNIT["Meter",1]]
-42104=PROJCS["NAD83 / MTM zone 8 Québec",GEOGCS["GRS80",DATUM["GRS_1980",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-73.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],UNIT["Meter",1]]
+42104=PROJCS["NAD83 / MTM zone 8 Qu\u00e9bec",GEOGCS["GRS80",DATUM["GRS_1980",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-73.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],UNIT["Meter",1]]
 42105=PROJCS["WGS84 / Merc NorthAm",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",-96],UNIT["Meter",1]]
 42106=PROJCS["WGS84 / Lambert Azim Mozambique",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_origin",5],PARAMETER["central_meridian",20],UNIT["Meter",1]]
 42301=PROJCS["NAD27 / Polar Stereographic / CM=-98",GEOGCS["NAD27",DATUM["North_American_Datum_1927",SPHEROID["Clarke 1866",6378206.4,294.978698213901],TOWGS84[-9,151,185]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Stereographic"],PARAMETER["latitude_of_origin",90],PARAMETER["central_meridian",-98.0],PARAMETER["scale_factor",0.9996],UNIT["Meter",1]]

Modified: trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties
===================================================================
--- trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties	2010-07-01 17:24:07 UTC (rev 921)
+++ trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle.properties	2010-07-01 17:28:41 UTC (rev 922)
@@ -176,4 +176,4 @@
 SearchMapDialog.searchString.Label=Enter search string:
 SearchMapDialog.searchString.tt=Enter text and press [Enter or Return].
 SearchMapDialog.title=Search labels in map\: ${0}
-SearchMapDialog.Explanation=<html>Here you can search all of the map's <b>labels</b>.</html>  
\ No newline at end of file
+SearchMapDialog.Explanation=<html>Here you can search all of the map's <b>labels</b>.</html>  

Modified: trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties
===================================================================
--- trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties	2010-07-01 17:24:07 UTC (rev 921)
+++ trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_de.properties	2010-07-01 17:28:41 UTC (rev 922)
@@ -174,4 +174,4 @@
 SearchMapDialog.searchString.Label=Suchbegriff eingeben:
 SearchMapDialog.searchString.tt=Geben Sie den Suchbegriff ein und dr\u00FCcken Sie [Enter]
 SearchMapDialog.title=Durchsuche Karte: ${0}
-SearchMapDialog.Explanation=<html>Es werden alle <b>Beschriftungen</b> dieser Karte durchsucht.</html> 
\ No newline at end of file
+SearchMapDialog.Explanation=<html>Es werden alle <b>Beschriftungen</b> dieser Karte durchsucht.</html> 

Modified: trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_fr.properties
===================================================================
--- trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_fr.properties	2010-07-01 17:24:07 UTC (rev 921)
+++ trunk/src/schmitzm/geotools/gui/resource/locales/GTResourceBundle_fr.properties	2010-07-01 17:28:41 UTC (rev 922)
@@ -166,4 +166,4 @@
 SearchMapDialog.searchString.Label=Entrer le domaine de recherche:
 SearchMapDialog.searchString.tt=Saisir le domaine de recherche et appuyer sur [Enter]
 SearchMapDialog.title=Rechercher dans la carte: ${0}
-#SearchMapDialog.Explanation=<html>Here you can search all of the map's <b>labels</b>.</html>
\ No newline at end of file
+#SearchMapDialog.Explanation=<html>Here you can search all of the map's <b>labels</b>.</html>

Deleted: trunk/src/schmitzm/jfree/resource/locales/JFreeResourceBundle_de.properties.nativeiso
===================================================================
--- trunk/src/schmitzm/jfree/resource/locales/JFreeResourceBundle_de.properties.nativeiso	2010-07-01 17:24:07 UTC (rev 921)
+++ trunk/src/schmitzm/jfree/resource/locales/JFreeResourceBundle_de.properties.nativeiso	2010-07-01 17:28:41 UTC (rev 922)
@@ -1,48 +0,0 @@
-##########
-#Copyright (c) 2009 Martin O. J. Schmitz.
-#
-#This file is part of the SCHMITZM library - a collection of utility 
-#classes based on Java 1.6, focussing (not only) on Java Swing 
-#and the Geotools library.
-#
-#The SCHMITZM project is hosted at:
-#http://wald.intevation.org/projects/schmitzm/
-#
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU Lesser General Public License
-#as published by the Free Software Foundation; either version 3
-#of the License, or (at your option) any later version.
-#
-#This program is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#GNU General Public License for more details.
-#
-#You should have received a copy of the GNU Lesser General Public License (license.txt)
-#along with this program; if not, write to the Free Software
-#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-#or try this link: http://www.gnu.org/licenses/lgpl.html
-#
-#Contributors:
-#    Martin O. J. Schmitz - initial API and implementation
-#    Stefan A. Krüger - additional utility classes
-##########
-# ---------------------------------------------------------------
-# ------ German Translations for JFreeChart GUI components ------
-# ------ in Package schmitz.jfree                          ------
-# ---------------------------------------------------------------
-
-# Diagram types
-diagram.points=Punkte
-diagram.lines=Linien
-diagram.bars=Balken
-diagram.areas=Flächen
-
-ChartType_BAR.Desc=<html>Ein Balkendiagram ist eine tolle Sache.</html>
-ChartType_BAR.Title=Balkendiagramm
-
-ChartType_SCATTER.Title=Streudiagramm
-ChartType_PIE.Title=Kreisdiagramm
-ChartType_AREA.Title=Flächendiagramm
-ChartType_LINE.Title=Liniendiagramm
-ChartType_POINT.Title=Punktdiagramm

Modified: trunk/src/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties
===================================================================
--- trunk/src/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties	2010-07-01 17:24:07 UTC (rev 921)
+++ trunk/src/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties	2010-07-01 17:28:41 UTC (rev 922)
@@ -62,7 +62,7 @@
 Apply=\u00DCbernehmen
 Ready=Fertig
 Open=\u00D6ffnen
-OpenFolder=Ordner öffnen
+OpenFolder=Ordner \u00F6ffnen
 Close=Schliessen
 Save=Speichern
 WaitMess=Bitte warten...



More information about the Schmitzm-commits mailing list