Skip to content

Commit

Permalink
Clarify use of the term "OTF"
Browse files Browse the repository at this point in the history
- 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 ba0fdfa
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 45 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) );
}
}
Expand Down
Loading

1 comment on commit ba0fdfa

@NathanW2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good move!

Please sign in to comment.