Skip to content

Commit

Permalink
Corrected spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 committed Feb 4, 2021
1 parent a9edb93 commit 034ace4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/array_majority
Expand Up @@ -2,7 +2,7 @@
"name": "array_majority",
"type": "function",
"groups": ["Arrays"],
"description": "Returns the value which has majority in the array. Majority means the count of the value is greather than half the size of the array.</p><p><b>Note</b><br/>For the same behaviour of the majority() function from Aggregates see array_mode().</p>",
"description": "Returns the value which has majority in the array. Majority means the count of the value is greather than half the size of the array.</p><p><b>Note</b><br/>For the same behavior of the majority() function from Aggregates see array_mode().</p>",
"arguments": [ {"arg":"array","description":"an array"} ],
"examples": [
{ "expression":"array_majority(array(0,1,42,42,43))", "returns":"NULL"},
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/json/array_minority
Expand Up @@ -2,7 +2,7 @@
"name": "array_minority",
"type": "function",
"groups": ["Arrays"],
"description": "Returns an array containing the minority values of a given array. All values are minority exept the majority value, if available.",
"description": "Returns an array containing the minority values of a given array. All values are minority except the majority value, if available.",
"arguments": [ {"arg":"array","description":"an array"} ],
"examples": [
{ "expression":"array_minority(array(0,1,42,42,43))", "returns":"[ 0, 1, 42, 43 ]"},
Expand Down
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -5470,7 +5470,7 @@ static QVariant fcnArrayMode( const QVariantList &values, const QgsExpressionCon
}
else
{
parent->setEvalErrorString( QObject::tr( "No such merge behaviour '%1'" ).arg( merge ) );
parent->setEvalErrorString( QObject::tr( "No such merge behavior '%1'" ).arg( merge ) );
return QVariant();
}
}
Expand Down

0 comments on commit 034ace4

Please sign in to comment.