Skip to content

Commit

Permalink
translation string fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 20, 2016
1 parent 8724feb commit 5cfcf84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsnewgeopackagelayerdialog.cpp
Expand Up @@ -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 );
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgssqlcomposerdialog.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5cfcf84

Please sign in to comment.