Skip to content
Permalink
Browse files

proper english past form

  • Loading branch information
signedav committed Jan 8, 2019
1 parent 15ddb27 commit 22ddcb8cec181a8470f0677c8b5c3ee92e9d3fed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/ogr/qgsgeopackagedataitems.cpp
@@ -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();

0 comments on commit 22ddcb8

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