Skip to content
Permalink
Browse files

translation string fixes

  • Loading branch information
jef-n committed May 20, 2016
1 parent 8724feb commit 5cfcf8468f89c3916c130afd7ba826fd2d212b18
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/gui/qgsnewgeopackagelayerdialog.cpp
  2. +1 −1 src/gui/qgssqlcomposerdialog.cpp
@@ -277,7 +277,7 @@ bool QgsNewGeoPackageLayerDialog::apply()
QMessageBox msgBox;
msgBox.setIcon( QMessageBox::Question );
msgBox.setWindowTitle( tr( "The file already exists." ) );
msgBox.setText( tr( "Do you want to overwrite the existing file with a new database or add a new layer to it ?" ) );
msgBox.setText( tr( "Do you want to overwrite the existing file with a new database or add a new layer to it?" ) );
QPushButton *overwriteButton = msgBox.addButton( tr( "Overwrite" ), QMessageBox::ActionRole );
QPushButton *addNewLayerButton = msgBox.addButton( tr( "Add new layer" ), QMessageBox::ActionRole );
msgBox.setStandardButtons( QMessageBox::Cancel );
@@ -365,7 +365,7 @@ bool QgsNewGeoPackageLayerDialog::apply()
overwriteTable = property( "question_existing_layer_answer_overwrite" ).toBool();
}
else if ( QMessageBox::question( this, tr( "Existing layer" ),
tr( "A table with the same name already exists. Do you want to overwrite it ?" ),
tr( "A table with the same name already exists. Do you want to overwrite it?" ),
QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) == QMessageBox::Yes )
{
overwriteTable = true;
@@ -162,7 +162,7 @@ void QgsSQLComposerDialog::accept()
if ( !mSQLValidatorCallback->isValid( sql(), errorMsg ) )
{
if ( errorMsg.isEmpty() )
errorMsg = tr( "An error occured during eveluation of the SQL statement" );
errorMsg = tr( "An error occured during evaluation of the SQL statement" );
QMessageBox::critical( this, tr( "SQL error" ), errorMsg );
return;
}

0 comments on commit 5cfcf84

Please sign in to comment.
You can’t perform that action at this time.