Skip to content
Permalink
Browse files

Clarify use of the term "OTF"

- change button tooltip from referring to "OTFR" to "OTF" to match
button text
- change wording of enable CRS transformation option to make it
more obvious that this option is what "OTF" refers to

Inspired by @rouault
  • Loading branch information
nyalldawson committed Jun 1, 2016
1 parent 062aa9a commit ba0fdfafe9dfb24fda5bf1b557663bd044b8c5d4
Showing with 135 additions and 45 deletions.
  1. +2 −2 src/app/qgisapp.cpp
  2. +133 −43 src/ui/qgsprojectpropertiesbase.ui
@@ -9704,13 +9704,13 @@ void QgisApp::updateCRSStatusBar()
{
mOnTheFlyProjectionStatusButton->setText( tr( "%1 (OTF)" ).arg( mOnTheFlyProjectionStatusButton->text() ) );
mOnTheFlyProjectionStatusButton->setToolTip(
tr( "Current CRS: %1 (OTFR enabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
tr( "Current CRS: %1 (OTF enabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( "mIconProjectionEnabled.png" ) );
}
else
{
mOnTheFlyProjectionStatusButton->setToolTip(
tr( "Current CRS: %1 (OTFR disabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
tr( "Current CRS: %1 (OTF disabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( "mIconProjectionDisabled.png" ) );
}
}

1 comment on commit ba0fdfa

@NathanW2

This comment has been minimized.

Copy link
Member

@NathanW2 NathanW2 commented on ba0fdfa Jun 1, 2016

Good move!

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