Skip to content

Commit 6dc160d

Browse files
committed
make button translatable
1 parent 246de9f commit 6dc160d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/qgisapp.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -8686,7 +8686,7 @@ void QgisApp::updateCRSStatusBar()
86868686

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

97839783
//cancel rendering progress with esc key

0 commit comments

Comments
 (0)