[QGIS Commit] r12308 - trunk/qgis/src/plugins/ogr_converter
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Dec 2 12:38:32 EST 2009
Author: jef
Date: 2009-12-02 12:38:32 -0500 (Wed, 02 Dec 2009)
New Revision: 12308
Modified:
trunk/qgis/src/plugins/ogr_converter/dialog.cpp
Log:
add some ogr converter translation strings
Modified: trunk/qgis/src/plugins/ogr_converter/dialog.cpp
===================================================================
--- trunk/qgis/src/plugins/ogr_converter/dialog.cpp 2009-12-01 23:25:20 UTC (rev 12307)
+++ trunk/qgis/src/plugins/ogr_converter/dialog.cpp 2009-12-02 17:38:32 UTC (rev 12308)
@@ -237,14 +237,16 @@
if ( srcUrl.isEmpty() )
{
- QMessageBox::warning( this, "OGR Layer Converter",
+ QMessageBox::warning( this,
+ tr( "OGR Layer Converter" ),
tr( "Input OGR dataset is missing!" ) );
return;
}
if ( srcLayer.isEmpty() )
{
- QMessageBox::warning( this, "OGR Layer Converter",
+ QMessageBox::warning( this,
+ tr( "OGR Layer Converter" ),
tr( "Input OGR layer name is missing!" ) );
return;
}
@@ -258,21 +260,24 @@
if ( dstFormat.isEmpty() )
{
- QMessageBox::warning( this, "OGR Layer Converter",
+ QMessageBox::warning( this,
+ tr( "OGR Layer Converter" ),
tr( "Target OGR format not selected!" ) );
return;
}
if ( dstUrl.isEmpty() )
{
- QMessageBox::warning( this, "OGR Layer Converter",
+ QMessageBox::warning( this,
+ tr( "OGR Layer Converter" ),
tr( "Output OGR dataset is missing!" ) );
return;
}
if ( dstLayer.isEmpty() )
{
- QMessageBox::warning( this, "OGR Layer Converter",
+ QMessageBox::warning( this,
+ tr( "OGR Layer Converter" ),
tr( "Output OGR layer name is missing!" ) );
return;
}
@@ -294,12 +299,14 @@
if ( success )
{
- QMessageBox::information( this, "OGR Layer Converter",
+ QMessageBox::information( this,
+ tr( "OGR Layer Converter" ),
tr( "Successfully translated layer '%1'" ).arg( srcLayer ) );
}
else
{
- QMessageBox::information( this, "OGR Layer Converter",
+ QMessageBox::information( this,
+ tr( "OGR Layer Converter" ),
tr( "Failed to translate layer '%1'" ).arg( srcLayer ) );
}
More information about the QGIS-commit
mailing list