Skip to content

Commit

Permalink
Fix untranslatable tooltip in project properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
artfwo committed Aug 16, 2013
1 parent 2046342 commit dffd64c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/qgsprojectproperties.cpp
Expand Up @@ -1345,7 +1345,7 @@ void QgsProjectProperties::populateEllipsoidList()
mEllipsoidList.append( myItem ); mEllipsoidList.append( myItem );


myItem.acronym = QString( "PARAMETER:6370997:6370997" ); myItem.acronym = QString( "PARAMETER:6370997:6370997" );
myItem.description = tr( "Parameters :" ); myItem.description = tr( "Parameters:" );
myItem.semiMajor = 6370997.0; myItem.semiMajor = 6370997.0;
myItem.semiMinor = 6370997.0; myItem.semiMinor = 6370997.0;
mEllipsoidList.append( myItem ); mEllipsoidList.append( myItem );
Expand Down Expand Up @@ -1449,8 +1449,8 @@ void QgsProjectProperties::updateEllipsoidUI( int newIndex )
} }
else else
{ {
leSemiMajor->setToolTip( QString( "Select %1 from pull-down menu to adjust radii" ).arg( tr( "Parameters:" ) ) ); leSemiMajor->setToolTip( tr( "Select %1 from pull-down menu to adjust radii" ).arg( tr( "Parameters:" ) ) );
leSemiMinor->setToolTip( QString( "Select %1 from pull-down menu to adjust radii" ).arg( tr( "Parameters:" ) ) ); leSemiMinor->setToolTip( tr( "Select %1 from pull-down menu to adjust radii" ).arg( tr( "Parameters:" ) ) );
} }
cmbEllipsoid->setCurrentIndex( mEllipsoidIndex ); // Not always necessary cmbEllipsoid->setCurrentIndex( mEllipsoidIndex ); // Not always necessary
if ( mEllipsoidList[ mEllipsoidIndex ].acronym != GEO_NONE ) if ( mEllipsoidList[ mEllipsoidIndex ].acronym != GEO_NONE )
Expand Down

0 comments on commit dffd64c

Please sign in to comment.