Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make button translatable
  • Loading branch information
jef-n committed Jan 1, 2015
1 parent 246de9f commit 6dc160d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -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" ) );
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6dc160d

Please sign in to comment.