Skip to content
Permalink
Browse files

Use plural form to indicate units in map item grid properties

and active form for the checkbox
Same as in label properties and other places
  • Loading branch information
DelazJ authored and nyalldawson committed Sep 20, 2020
1 parent 8a53235 commit 8e284dc9f386d4e02f04767fb92862073325c03b
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/gui/layout/qgslayoutmapgridwidget.cpp
  2. +1 −1 src/ui/layout/qgslayoutmapgridwidgetbase.ui
@@ -112,10 +112,10 @@ QgsLayoutMapGridWidget::QgsLayoutMapGridWidget( QgsLayoutItemMapGrid *mapGrid, Q

blockAllSignals( true );

mMapGridUnitComboBox->addItem( tr( "Map Unit" ), QgsLayoutItemMapGrid::MapUnit );
mMapGridUnitComboBox->addItem( tr( "Map Units" ), QgsLayoutItemMapGrid::MapUnit );
mMapGridUnitComboBox->addItem( tr( "Fit Segment Width" ), QgsLayoutItemMapGrid::DynamicPageSizeBased );
mMapGridUnitComboBox->addItem( tr( "Millimeter" ), QgsLayoutItemMapGrid::MM );
mMapGridUnitComboBox->addItem( tr( "Centimeter" ), QgsLayoutItemMapGrid::CM );
mMapGridUnitComboBox->addItem( tr( "Millimeters" ), QgsLayoutItemMapGrid::MM );
mMapGridUnitComboBox->addItem( tr( "Centimeters" ), QgsLayoutItemMapGrid::CM );

mGridTypeComboBox->insertItem( 0, tr( "Solid" ), QgsLayoutItemMapGrid::Solid );
mGridTypeComboBox->insertItem( 1, tr( "Cross" ), QgsLayoutItemMapGrid::Cross );
@@ -76,7 +76,7 @@
<item>
<widget class="QCheckBox" name="mEnabledCheckBox">
<property name="text">
<string>Grid enabled</string>
<string>Enable grid</string>
</property>
</widget>
</item>

0 comments on commit 8e284dc

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