Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix broken use of HTML entities for property help strings
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Jun 2, 2020
1 parent 616b94f commit 8da482b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/core/qgsproperty.cpp
Expand Up @@ -37,27 +37,27 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString &name, const QString

case Integer:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "int [<= 0 =>]" );
mHelpText = QObject::tr( "int [ 0 ]" );
break;

case IntegerPositive:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "int [>= 0]" );
mHelpText = QObject::tr( "int [ 0]" );
break;

case IntegerPositiveGreaterZero:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "int [>= 1]" );
mHelpText = QObject::tr( "int [ 1]" );
break;

case Double:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [<= 0.0 =>]" );
mHelpText = QObject::tr( "double [ 0.0 ]" );
break;

case DoublePositive:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [>= 0.0]" );
mHelpText = QObject::tr( "double [ 0.0]" );
break;

case Double0To1:
Expand Down Expand Up @@ -114,7 +114,7 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString &name, const QString

case Size:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [>= 0.0]" );
mHelpText = QObject::tr( "double [ 0.0]" );
break;

case Size2D:
Expand All @@ -129,7 +129,7 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString &name, const QString

case StrokeWidth:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [>= 0.0]" );
mHelpText = QObject::tr( "double [ 0.0]" );
break;

case FillStyle:
Expand Down

0 comments on commit 8da482b

Please sign in to comment.