german translation update

This commit is contained in:
Juergen E. Fischer 2011-11-12 15:00:07 +01:00
parent 6274cd112f
commit 821b0ea560
3 changed files with 101 additions and 142 deletions

View File

@ -78,7 +78,7 @@
<location filename="../python/plugins/fTools/tools/frmRandPoints.ui" line="203"/>
<location filename="../python/plugins/fTools/tools/frmReProject.ui" line="136"/>
<location filename="../python/plugins/fTools/tools/frmRegPoints.ui" line="223"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="93"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="90"/>
<location filename="../python/plugins/fTools/tools/frmSpatialJoin.ui" line="177"/>
<location filename="../python/plugins/fTools/tools/frmSumLines.ui" line="77"/>
<location filename="../python/plugins/fTools/tools/frmVectorGrid.ui" line="321"/>
@ -303,7 +303,7 @@
<message>
<location filename="../python/plugins/fTools/tools/frmGeoprocessing.ui" line="49"/>
<location filename="../python/plugins/fTools/tools/frmGeoprocessing.ui" line="81"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="40"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="37"/>
<location filename="../python/plugins/fTools/tools/frmVisual.ui" line="42"/>
<source>Use only selected features</source>
<translation>Nur gewählte Objekte nutzen</translation>
@ -749,10 +749,26 @@ Would you like to add the new layer to the TOC?</source>
Soll es als neuer Layer hinzugefügt werden?</translation>
</message>
<message>
<source>Finished</source>
<translation>Abgeschlossen</translation>
</message>
<message>
<source>Processing completed.</source>
<translation>Verarbeitung abgeschlossen.</translation>
</message>
<message>
<source>Use selected features only</source>
<translation>Nur gewählte Objekte nutzen</translation>
</message>
<message>
<source>Densify geometries</source>
<translation>Geometrien verdichten</translation>
</message>
<message>
<source>Vertices to add</source>
<translation>Zu ergänzende Stützpunkte</translation>
</message>
<message>
<source>Simplify results</source>
<translation>Ergebnisse vereinfachen</translation>
@ -763,6 +779,10 @@ were reduced to %2 vertices after simplification</source>
<translation>%1 Stützpunkte des ursprünglichen Datenbestands
wurden auf %2 Stützpunkte vereinfacht</translation>
</message>
<message>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
<source>Create Point Distance Matrix</source>
<translation>Punktabstandsmatrix erzeugen</translation>
@ -1123,30 +1143,60 @@ Soll sie dem Projekt als neuer Layer hinzugefügt werden?</translation>
<translation>Punkte in Polygon zählen</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="17"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="14"/>
<source>Simplify geometries</source>
<translation>Geometrien vereinfachen</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="23"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="20"/>
<source>Input line or polygon layer</source>
<translation>Eingabelinien- oder -polygonlayer</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="49"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="46"/>
<source>Simplify tolerance</source>
<translation>Vereinfachungstoleranz</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="76"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="73"/>
<source>Save to new file</source>
<translation>In neuer Datei speichern</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="105"/>
<location filename="../python/plugins/fTools/tools/frmSimplify.ui" line="102"/>
<source>Add result to canvas</source>
<translation>Ergebnis der Karte hinzufügen</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSpatialIndex.ui" line="14"/>
<source>Build spatial index</source>
<translation>Räumlicher Index erzeugen</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSpatialIndex.ui" line="22"/>
<source>Select files from disk</source>
<translation>Dateien wählen</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSpatialIndex.ui" line="29"/>
<source>Select files...</source>
<translation>Durchsuchen...</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSpatialIndex.ui" line="53"/>
<source>Select all</source>
<translation>Alle wählen</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSpatialIndex.ui" line="60"/>
<source>Select none</source>
<translation>Keine wählen</translation>
</message>
<message>
<location filename="../python/plugins/fTools/tools/frmSpatialIndex.ui" line="67"/>
<source>Clear list</source>
<translation>Liste leeren</translation>
</message>
</context>
<context>
<name>DlgSymbolV2Properties</name>
@ -6207,12 +6257,12 @@ Would you like to specify path (GISBASE) to your GRASS installation?</source>
<translation>Auf OracleSpatial-Georaster zugreifen</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="994"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1000"/>
<source>Deleted vertices</source>
<translation>Gelöschte Stützpunkte</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1061"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1067"/>
<source>Moved vertices</source>
<translation>Verschobene Stützpunkte</translation>
</message>
@ -6324,7 +6374,7 @@ Would you like to specify path (GISBASE) to your GRASS installation?</source>
</message>
<message numerus="yes">
<location filename="../src/app/qgsmaptoolcapture.cpp" line="319"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="985"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="991"/>
<source>%n geometry error(s) found.</source>
<comment>number of geometry errors</comment>
<translation>
@ -26053,42 +26103,42 @@ Fortfahren?</translation>
<context>
<name>QgsProjectionSelector</name>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="59"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="60"/>
<source>All</source>
<translation>Alle</translation>
</message>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="596"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="599"/>
<source>User Defined Coordinate Systems</source>
<translation>Benutzerdefiniertes Koordinatensystem</translation>
</message>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="671"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="674"/>
<source>Geographic Coordinate Systems</source>
<translation>Geografisches Koordinatensystem</translation>
</message>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="680"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="683"/>
<source>Projected Coordinate Systems</source>
<translation>Projiziertes Koordinatensystem</translation>
</message>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="976"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="980"/>
<source>Find projection</source>
<translation>Projektion finden</translation>
</message>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="976"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="980"/>
<source>No matching projection found.</source>
<translation>Keine passende Projektion gefunden.</translation>
</message>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="1115"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="1119"/>
<source>Resource Location Error</source>
<translation>Ressource nicht gefunden</translation>
</message>
<message>
<location filename="../src/gui/qgsprojectionselector.cpp" line="1116"/>
<location filename="../src/gui/qgsprojectionselector.cpp" line="1120"/>
<source>Error reading database file from:
%1
Because of this the projection selector will not work...</source>
@ -34571,44 +34621,44 @@ Beschreibung: %3</translation>
<context>
<name>SelectionFeature</name>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1191"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1197"/>
<source>ring %1, vertex %2</source>
<translation>Ring %1, Stützpunkt %2</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1219"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1225"/>
<source>polygon %1, ring %2, vertex %3</source>
<translation>Polygon %1, Ring %2, Stützpunkt %3</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1252"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1258"/>
<source>polyline %1, vertex %2</source>
<translation>Polylinie %1, Stützpunkt %2</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1273"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1279"/>
<source>vertex %1</source>
<translation>Stützpunkt %1</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1296"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1302"/>
<source>point %1</source>
<translation>Punkt %1</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1312"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1318"/>
<source>single point</source>
<translation>Einzelpunkt</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1039"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1113"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1045"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1119"/>
<source>Node tool</source>
<translation>Knotenwerkzeug</translation>
</message>
<message>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1040"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1114"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1046"/>
<location filename="../src/app/qgsmaptoolnodetool.cpp" line="1120"/>
<source>Result geometry is invalid. Reverting last changes.
</source>
<translation>Ergebnisgeometrie ist ungültig. Letzte Änderungen werden zurückgenommen.
@ -36369,6 +36419,10 @@ Base Path (i.e. keep only filename from attribute)</source>
<source>Simplify geometries</source>
<translation>Geometrien vereinfachen</translation>
</message>
<message>
<source>Densify geometries</source>
<translation>Geometrien verdichten</translation>
</message>
<message>
<source>Multipart to singleparts</source>
<translation>Mehr- zu einteilig</translation>
@ -36401,6 +36455,10 @@ Base Path (i.e. keep only filename from attribute)</source>
<source>Split vector layer</source>
<translation>Vektorlayer teilen</translation>
</message>
<message>
<source>Create spatial index</source>
<translation>Räumlichen Index erzeugen</translation>
</message>
<message>
<source>&amp;Research Tools</source>
<translation>&amp;Forschungswerkzeuge</translation>

View File

@ -40,6 +40,18 @@ trap cleanup EXIT
PATH=$QTDIR/bin:$PATH
if type qmake-qt4 >/dev/null 2>&1; then
QMAKE=qmake-qt4
else
QMAKE=qmake
fi
if type lupdate-qt4 >/dev/null 2>&1; then
LUPDATE=lupdate-qt4
else
LUPDATE=lupdate
fi
exclude=
opts=
while (( $# > 0 )); do
@ -89,7 +101,7 @@ for i in \
do
[ -f "$i" ] && mv "$i" "$i.save"
done
qmake -project -o qgis_ts.pro -nopwd src python i18n
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n
if [ -n "$add" ]; then
for i in $add; do
echo "Adding translation for $i"
@ -97,14 +109,14 @@ if [ -n "$add" ]; then
done
fi
echo Updating translations
lupdate$opts -verbose qgis_ts.pro
$LUPDATE$opts -verbose qgis_ts.pro
if [ -n "$add" ]; then
for i in $add; do
if [ -f i18n/qgis_$i.ts ]; then
git add i18n/qgis_$i.ts
else
echo "Translaiton for $i was not added"
echo "Translation for $i was not added"
exit 1
fi
done

View File

@ -1,111 +0,0 @@
#!/bin/bash
# Update the translation files with strings used in QGIS
# 1. create a clean Qt .pro file for the project
# 2. run lupdate using the .pro file from step 1
# 3. remove the .pro
# Note the .pro file must NOT be named qgis.pro as this
# name is reserved for the Windows qmake project file
# $Id$
set -e
cleanup() {
if [ -f i18n/qgis_ts.tar ]; then
echo Restoring excluded translations
tar -xf i18n/qgis_ts.tar
fi
echo Removing temporary files
perl -i.bak -ne 'print unless /^\s+<location.*python-i18n\.cpp.*$/;' i18n/qgis_*.ts
for i in \
python/python-i18n.{ts,cpp} \
python/plugins/*/python-i18n.{ts,cpp} \
i18n/qgis_*.ts.bak \
src/plugins/grass/grasslabels-i18n.cpp \
i18n/qgis_ts.tar \
qgis_ts.pro
do
[ -f "$i" ] && rm "$i"
done
for i in \
src/plugins/plugin_template/plugingui.cpp \
src/plugins/plugin_template/plugin.cpp
do
[ -f "$i.save" ] && mv "$i.save" "$i"
done
}
trap cleanup EXIT
PATH=$QTDIR/bin:$PATH
exclude=
opts=
while (( $# > 0 )); do
arg=$1
shift
if [ "$arg" = "-a" ]; then
arg=$1
shift
if [ -f "i18n/qgis_$arg.ts" ]; then
echo "cannot add existing translation $arg"
exit 1
else
add="$add $arg"
fi
elif [ -f "i18n/qgis_$arg.ts" ]; then
exclude="$exclude --exclude i18n/qgis_$arg.ts"
else
opts="$opts $arg"
fi
done
if [ -n "$exclude" -o -n "$add" ]; then
echo Saving excluded translations
tar --remove-files -cf i18n/qgis_ts.tar i18n/qgis_*.ts$exclude
fi
echo Updating python translations
cd python
pylupdate4 console.py utils.py -ts python-i18n.ts
perl ../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
rm python-i18n.ts
cd ..
for i in python/plugins/*/CMakeLists.txt; do
cd ${i%/*}
pylupdate4 $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts
perl ../../../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
rm python-i18n.ts
cd ../../..
done
echo Updating GRASS module translations
perl scripts/qgm2cpp.pl >src/plugins/grass/grasslabels-i18n.cpp
mv src/plugins/plugin_template/plugingui.cpp src/plugins/plugin_template/plugingui.cpp.save
echo Creating qmake project file
for i in \
src/plugins/plugin_template/plugingui.cpp \
src/plugins/plugin_template/plugin.cpp
do
[ -f "$i" ] && mv "$i" "$i.save"
done
qmake-qt4 -project -o qgis_ts.pro -nopwd src python i18n
if [ -n "$add" ]; then
for i in $add; do
echo "Adding translation for $i"
echo "TRANSLATIONS += i18n/qgis_$i.ts" >> qgis_ts.pro
done
fi
echo Updating translations
lupdate-qt4$opts -verbose qgis_ts.pro
if [ -n "$add" ]; then
for i in $add; do
if [ -f i18n/qgis_$i.ts ]; then
git add i18n/qgis_$i.ts
else
echo "Translaiton for $i was not added"
exit 1
fi
done
fi