[QGIS Commit] r11226 - in trunk/qgis: python/plugins/osm
python/plugins/osm/ui_files scripts
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Jul 31 12:21:56 EDT 2009
Author: jef
Date: 2009-07-31 12:21:56 -0400 (Fri, 31 Jul 2009)
New Revision: 11226
Modified:
trunk/qgis/python/plugins/osm/DlgDownloadOSM.py
trunk/qgis/python/plugins/osm/ui_files/DlgAddRelation.ui
trunk/qgis/scripts/update_ts_files.sh
Log:
fix some translation strings
Modified: trunk/qgis/python/plugins/osm/DlgDownloadOSM.py
===================================================================
--- trunk/qgis/python/plugins/osm/DlgDownloadOSM.py 2009-07-31 13:26:49 UTC (rev 11225)
+++ trunk/qgis/python/plugins/osm/DlgDownloadOSM.py 2009-07-31 16:21:56 UTC (rev 11226)
@@ -6,7 +6,7 @@
Note that OpenStreetMap server you are downloading OSM data from (~api.openstreetmap.org)
has fixed limitations of how much data you can get. As written on wiki.openstreetmap.org
-neighter latitude nor longitude extent of downloaded region can be larger than 0.25 degree.
+neither latitude nor longitude extent of downloaded region can be larger than 0.25 degrees.
Each error response from OSM server is caught by OSM Plugin and display to its user.
"""
@@ -32,7 +32,7 @@
Note that OpenStreetMap server you are downloading OSM data from (~api.openstreetmap.org)
has fixed limitations of how much data you can get. As written on wiki.openstreetmap.org
- neighter latitude nor longitude extent of downloaded region can be larger than 0.25 degree.
+ neither latitude nor longitude extent of downloaded region can be larger than 0.25 degrees.
Each error response from OSM server is caught by OSM Plugin and display to its user.
"""
@@ -357,7 +357,7 @@
mb=QMessageBox()
mb.setMinimumWidth(390)
- mb.information(self, self.tr("Getting data"),self.tr("The OpenStreetMap server you are downloading OSM data from (~ api.openstreetmap.org) has fixed limitations of how much data you can get. As written at <http://wiki.openstreetmap.org/wiki/Getting_Data> neighter latitude nor longitude extent of downloaded region can be larger than 0.25 degree. Note that Quantum GIS allows you to specify any extent you want, but OpenStreetMap server will reject all request that won't satisfy downloading limitations."))
+ mb.information(self, self.tr("Getting data"),self.tr("The OpenStreetMap server you are downloading OSM data from (~ api.openstreetmap.org) has fixed limitations of how much data you can get. As written at <http://wiki.openstreetmap.org/wiki/Getting_Data> neither latitude nor longitude extent of downloaded region can be larger than 0.25 degrees. Note that Quantum GIS allows you to specify any extent you want, but OpenStreetMap server will reject all request that won't satisfy downloading limitations."))
def checkExtent(self):
Modified: trunk/qgis/python/plugins/osm/ui_files/DlgAddRelation.ui
===================================================================
--- trunk/qgis/python/plugins/osm/ui_files/DlgAddRelation.ui 2009-07-31 13:26:49 UTC (rev 11225)
+++ trunk/qgis/python/plugins/osm/ui_files/DlgAddRelation.ui 2009-07-31 16:21:56 UTC (rev 11226)
@@ -273,7 +273,7 @@
</size>
</property>
<property name="text" >
- <string>Storno</string>
+ <string>Cancel</string>
</property>
<property name="autoDefault" >
<bool>false</bool>
Modified: trunk/qgis/scripts/update_ts_files.sh
===================================================================
--- trunk/qgis/scripts/update_ts_files.sh 2009-07-31 13:26:49 UTC (rev 11225)
+++ trunk/qgis/scripts/update_ts_files.sh 2009-07-31 16:21:56 UTC (rev 11226)
@@ -29,7 +29,7 @@
echo Updating translation files
lupdate -verbose qgis_ts.pro
echo Removing temporary python plugin translation files
-perl -i.bak -pe '$_="" if /^\s+<location.*python-i18n\.cpp.*$/;' i18n/qgis_*.ts
+perl -i.bak -ne 'print unless /^\s+<location.*python-i18n\.cpp.*$/;' i18n/qgis_*.ts
rm python/plugins/*/python-i18n.cpp i18n/qgis_*.ts.bak
echo Removing qmake project file
rm qgis_ts.pro
More information about the QGIS-commit
mailing list