Skip to content

Commit

Permalink
String capitalization, ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 16, 2018
1 parent d711915 commit 79fc5b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/geometry_checker/qgsgeometrycheckerplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void QgsGeometryCheckerPlugin::initGui()
{
mDialog = new QgsGeometryCheckerDialog( mIface, mIface->mainWindow() );
mDialog->setWindowModality( Qt::NonModal );
mMenuAction = new QAction( QIcon( ":/geometrychecker/icons/geometrychecker.png" ), QApplication::translate( "QgsGeometryCheckerPlugin", "Check Geometries" ), this );
mMenuAction = new QAction( QIcon( ":/geometrychecker/icons/geometrychecker.png" ), QApplication::translate( "QgsGeometryCheckerPlugin", "Check Geometries" ), this );
connect( mMenuAction, &QAction::triggered, mDialog, &QWidget::show );
connect( mMenuAction, &QAction::triggered, mDialog, &QWidget::raise );
mIface->addPluginToVectorMenu( QApplication::translate( "QgsGeometryCheckerPlugin", "G&eometry Tools" ), mMenuAction );
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/offline_editing/offline_editing_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void QgsOfflineEditingPlugin::initGui()
delete mActionConvertProject;

// Create the action for tool
mActionConvertProject = new QAction( QIcon( ":/offline_editing/offline_editing_copy.png" ), tr( "Convert to offline project" ), this );
mActionConvertProject = new QAction( QIcon( ":/offline_editing/offline_editing_copy.png" ), tr( "Convert to Offline Project…" ), this );
mActionConvertProject->setObjectName( QStringLiteral( "mActionConvertProject" ) );
// Set the what's this text
mActionConvertProject->setWhatsThis( tr( "Create offline copies of selected layers and save as offline project" ) );
Expand Down Expand Up @@ -103,7 +103,7 @@ void QgsOfflineEditingPlugin::convertProject()
return;
}

mProgressDialog->setTitle( tr( "Converting to offline project" ) );
mProgressDialog->setTitle( tr( "Converting to Offline Project" ) );
if ( mOfflineEditing->convertToOfflineProject( myPluginGui->offlineDataPath(), myPluginGui->offlineDbFile(), selectedLayerIds, myPluginGui->onlySelected() ) )
{
updateActions();
Expand All @@ -117,7 +117,7 @@ void QgsOfflineEditingPlugin::convertProject()

void QgsOfflineEditingPlugin::synchronize()
{
mProgressDialog->setTitle( tr( "Synchronizing to remote layers" ) );
mProgressDialog->setTitle( tr( "Synchronizing to Remote Layers" ) );
mOfflineEditing->synchronize();
updateActions();
}
Expand Down

0 comments on commit 79fc5b9

Please sign in to comment.