Skip to content
Permalink
Browse files

Capitalization

  • Loading branch information
nyalldawson committed Jun 1, 2020
1 parent f0bb647 commit ac6afaab481f32da8c839e2d763fa91438559c01
@@ -303,7 +303,7 @@ QVariant QgsRuleBased3DRendererModel::headerData( int section, Qt::Orientation o
if ( orientation == Qt::Horizontal && role == Qt::DisplayRole && section >= 0 && section < 2 )
{
QStringList lst;
lst << tr( "Label" ) << tr( "Rule" ); // << tr( "Count" ) << tr( "Duplicate count" );
lst << tr( "Label" ) << tr( "Rule" ); // << tr( "Count" ) << tr( "Duplicate Count" );
return lst[section];
}

@@ -141,7 +141,7 @@ QVariant QgsVectorLayerAndAttributeModel::headerData( int section, Qt::Orientati
if ( section == 0 )
return tr( "Layer" );
else if ( section == 1 )
return tr( "Output layer attribute" );
return tr( "Output Layer Attribute" );
}
else if ( role == Qt::ToolTipRole )
{
@@ -477,7 +477,7 @@ QVariant QgsSnappingLayerTreeModel::headerData( int section, Qt::Orientation ori
case 3:
return tr( "Units" );
case 4:
return tr( "Avoid overlap" );
return tr( "Avoid Overlap" );
case 5:
return tr( "Min Scale" );
case 6:
@@ -341,7 +341,7 @@ QVariant QgsRuleBasedLabelingModel::headerData( int section, Qt::Orientation ori
if ( orientation == Qt::Horizontal && role == Qt::DisplayRole && section >= 0 && section < 5 )
{
QStringList lst;
lst << tr( "Label" ) << tr( "Rule" ) << tr( "Min. scale" ) << tr( "Max. scale" ) << tr( "Text" ); // << tr( "Count" ) << tr( "Duplicate count" );
lst << tr( "Label" ) << tr( "Rule" ) << tr( "Min. Scale" ) << tr( "Max. Scale" ) << tr( "Text" ); // << tr( "Count" ) << tr( "Duplicate Count" );
return lst[section];
}

@@ -41,7 +41,7 @@ QVariant QgsFieldMappingModel::headerData( int section, Qt::Orientation orientat
{
case ColumnDataIndex::SourceExpression:
{
return tr( "Source expression" );
return tr( "Source Expression" );
}
case ColumnDataIndex::DestinationName:
{
@@ -1029,7 +1029,7 @@ QVariant QgsRuleBasedRendererModel::headerData( int section, Qt::Orientation ori
if ( orientation == Qt::Horizontal && role == Qt::DisplayRole && section >= 0 && section < 7 )
{
QStringList lst;
lst << tr( "Label" ) << tr( "Rule" ) << tr( "Min. scale" ) << tr( "Max. scale" ) << tr( "Count" ) << tr( "Duplicate count" );
lst << tr( "Label" ) << tr( "Rule" ) << tr( "Min. Scale" ) << tr( "Max. Scale" ) << tr( "Count" ) << tr( "Duplicate Count" );
return lst[section];
}
else if ( orientation == Qt::Horizontal && role == Qt::ToolTipRole )
@@ -102,7 +102,7 @@ QVariant QgsVectorTileBasicLabelingListModel::headerData( int section, Qt::Orien
if ( orientation == Qt::Horizontal && role == Qt::DisplayRole && section >= 0 && section < 5 )
{
QStringList lst;
lst << tr( "Label" ) << tr( "Layer" ) << tr( "Min. zoom" ) << tr( "Max. zoom" ) << tr( "Filter" );
lst << tr( "Label" ) << tr( "Layer" ) << tr( "Min. Zoom" ) << tr( "Max. Zoom" ) << tr( "Filter" );
return lst[section];
}

@@ -117,7 +117,7 @@ QVariant QgsVectorTileBasicRendererListModel::headerData( int section, Qt::Orien
if ( orientation == Qt::Horizontal && role == Qt::DisplayRole && section >= 0 && section < 5 )
{
QStringList lst;
lst << tr( "Label" ) << tr( "Layer" ) << tr( "Min. zoom" ) << tr( "Max. zoom" ) << tr( "Filter" );
lst << tr( "Label" ) << tr( "Layer" ) << tr( "Min. Zoom" ) << tr( "Max. Zoom" ) << tr( "Filter" );
return lst[section];
}

0 comments on commit ac6afaa

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