Skip to content
Permalink
Browse files

Improve string wording, capitalization and plural consistency

  • Loading branch information
nyalldawson committed Jul 24, 2017
1 parent faa4a09 commit 9a12249b02b34f1076cab13540b0a3cf5863c26b
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/core/qgsunittypes.cpp
  2. +2 −2 src/gui/qgsunitselectionwidget.cpp
2 src/core/qgsunittypes.cpp 100644 → 100755
@@ -1759,7 +1759,7 @@ QString QgsUnitTypes::toString( QgsUnitTypes::RenderUnit unit )
return QObject::tr( "millimeters", "render" );

case RenderMetersInMapUnits:
return QObject::tr( "meters (in map units)", "render" );
return QObject::tr( "meters (at map scale)", "render" );

case RenderMapUnits:
return QObject::tr( "map units", "render" );
@@ -172,11 +172,11 @@ void QgsUnitSelectionWidget::setUnits( const QgsUnitTypes::RenderUnitList &units
}
if ( units.contains( QgsUnitTypes::RenderMetersInMapUnits ) )
{
mUnitCombo->addItem( tr( "Meters in Map unit" ), QgsUnitTypes::RenderMetersInMapUnits );
mUnitCombo->addItem( tr( "Meters (at Map Scale)" ), QgsUnitTypes::RenderMetersInMapUnits );
}
if ( units.contains( QgsUnitTypes::RenderMapUnits ) )
{
mUnitCombo->addItem( tr( "Map unit" ), QgsUnitTypes::RenderMapUnits );
mUnitCombo->addItem( tr( "Map Units" ), QgsUnitTypes::RenderMapUnits );
}
if ( units.contains( QgsUnitTypes::RenderPercentage ) )
{

0 comments on commit 9a12249

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