Skip to content

Commit

Permalink
proper english past form
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Jan 8, 2019
1 parent 15ddb27 commit 22ddcb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/ogr/qgsgeopackagedataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,15 +529,15 @@ bool QgsGeoPackageAbstractLayerItem::deleteLayer()
QgsGeoPackageConnectionItem *connectionParentItem = qobject_cast<QgsGeoPackageConnectionItem *>( mParent );
if ( connectionParentItem )
{
if ( QMessageBox::question( nullptr, QObject::tr( "Delete Layer" ), QObject::tr( "The layer <b>%1</b> has been deleted successfully."
if ( QMessageBox::question( nullptr, QObject::tr( "Delete Layer" ), QObject::tr( "The layer <b>%1</b> was deleted successfully."
" Compact database (VACUUM) <b>%2</b> now?" ).arg( mName, connectionParentItem->name() ), QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) == QMessageBox::Yes )
{
connectionParentItem->vacuumGeoPackageDbAction();
}
}
else
{
QMessageBox::information( nullptr, tr( "Delete Layer" ), tr( "The layer <b>%1</b> has been deleted successfully." ).arg( mName ) );
QMessageBox::information( nullptr, tr( "Delete Layer" ), tr( "The layer <b>%1</b> was deleted successfully." ).arg( mName ) );
}
if ( mParent )
mParent->refreshConnections();
Expand Down

0 comments on commit 22ddcb8

Please sign in to comment.