Skip to content
Permalink
Browse files

make button translatable

  • Loading branch information
jef-n committed Jan 1, 2015
1 parent 246de9f commit 6dc160d92f36aa155359d88f969cb4752340511f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -8686,7 +8686,7 @@ void QgisApp::updateCRSStatusBar()

if ( mMapCanvas->mapSettings().hasCrsTransformEnabled() )
{
mOnTheFlyProjectionStatusButton->setText( QString("%1 (OTF)").arg( mOnTheFlyProjectionStatusButton->text() ) );
mOnTheFlyProjectionStatusButton->setText( tr( "%1 (OTF)" ).arg( mOnTheFlyProjectionStatusButton->text() ) );
mOnTheFlyProjectionStatusButton->setToolTip(
tr( "Current CRS: %1 (OTFR enabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( "mIconProjectionEnabled.png" ) );
@@ -9777,7 +9777,7 @@ void QgisApp::keyPressEvent( QKeyEvent * e )
// The following statement causes a crash on WIN32 and should be
// enclosed in an #ifdef QGISDEBUG if its really necessary. Its
// commented out for now. [gsherman]
// QgsDebugMsg(QString("%1 (keypress recevied)").arg(e->text()));
// QgsDebugMsg( QString( "%1 (keypress received)" ).arg( e->text() ) );
emit keyPressed( e );

//cancel rendering progress with esc key

0 comments on commit 6dc160d

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