Skip to content
Permalink
Browse files

Add comments to unlcear translatable strings

  • Loading branch information
borysiasty committed Dec 13, 2017
1 parent 5c28eca commit 279c674cf02e7ba9b98030e7f3190fce083bc479
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgisapp.cpp
  2. +1 −1 src/app/qgssnappingwidget.cpp
@@ -1206,7 +1206,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
zoomInToolShortCut->setWhatsThis( tr( "Zoom in (secondary)" ) );
zoomInToolShortCut->setProperty( "Icon", QgsApplication::getThemeIcon( QStringLiteral( "/mActionZoomIn.svg" ) ) );

QShortcut *toggleSnapping = new QShortcut( QKeySequence( tr( "S" ) ), this );
QShortcut *toggleSnapping = new QShortcut( QKeySequence( tr( "S", "Keyboard Shortcut: Toggle snapping" ) ), this );
toggleSnapping->setObjectName( QStringLiteral( "toggleSnapping" ) );
toggleSnapping->setWhatsThis( tr( "Toggle snapping" ) );
toggleSnapping->setProperty( "Icon", QgsApplication::getThemeIcon( QStringLiteral( "/mIconSnapping.svg" ) ) );
@@ -147,7 +147,7 @@ QgsSnappingWidget::QgsSnappingWidget( QgsProject *project, QgsMapCanvas *canvas,
mEnableTracingAction->setCheckable( true );
mEnableTracingAction->setIcon( QIcon( QgsApplication::getThemeIcon( "/mActionTracing.svg" ) ) );
mEnableTracingAction->setToolTip( tr( "Enable Tracing (T)" ) );
mEnableTracingAction->setShortcut( tr( "T", "Enable Tracing" ) );
mEnableTracingAction->setShortcut( tr( "T", "Keyboard shortcut: Enable tracing" ) );
mEnableTracingAction->setObjectName( QStringLiteral( "EnableTracingAction" ) );

mTracingOffsetSpinBox = new QgsDoubleSpinBox;

0 comments on commit 279c674

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