Skip to content

Commit

Permalink
change rule label (#669)
Browse files Browse the repository at this point in the history
* change rule label to criterion label

---------

Signed-off-by: Etienne LESOT <[email protected]>
  • Loading branch information
EtienneLt authored Jan 30, 2025
1 parent 3f3542b commit 10827de
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/translations/en/filterEn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export const filterEn = {
OR: 'OR',
AND: 'AND',
rule: 'rule',
rule: 'criterion',
subGroup: 'subgroup',
is: 'is',
contains: 'contains',
Expand All @@ -23,8 +23,8 @@ export const filterEn = {
emptyRule: 'Filter contains an empty field',
incorrectRule: 'Filter contains an incorrect field',
obsoleteFilter: 'This filter is no longer supported. Please remove it or change its equipment type.',
betweenRule: "Left value of 'between' rule have to be lower than the right value",
emptyGroup: 'Filter contains an empty group. Consider removing it or adding rules to this group',
betweenRule: "Left value of 'between' criterion has to be lower than the right value",
emptyGroup: 'Filter contains an empty group. Consider removing it or adding criteria to this group',
Hvdc: 'HVDC',
'filter.expert': 'Criteria based',
'filter.explicitNaming': 'Explicit naming',
Expand Down
2 changes: 1 addition & 1 deletion src/translations/en/filterExpertEn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const filterExpertEn = {
YupNotTypeNumber: 'This field only accepts numeric values',
YupNotTypeDefault: 'Field value format is incorrect',
changeOperatorMessage:
'The operator will be changed and will be applied to all the rules already created in the group.',
'The operator will be changed and will be applied to all the criteria already created in the group.',
lowShortCircuitCurrentLimit: 'Low short-circuit current limit',
highShortCircuitCurrentLimit: 'High short-circuit current limit',
};
2 changes: 1 addition & 1 deletion src/translations/fr/filterExpertFr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const filterExpertFr = {
lessOrEqual: '<=',
YupNotTypeNumber: "Ce champ n'accepte que des valeurs numériques",
YupNotTypeDefault: "La valeur du champ n'est pas au bon format",
changeOperatorMessage: "L'opérateur sera modifié et s'appliquera sur toutes les règles déjà créées dans le groupe.",
changeOperatorMessage: "L'opérateur sera modifié et s'appliquera sur tous les critères déjà créés dans le groupe.",
lowShortCircuitCurrentLimit: 'Limite ICC min',
highShortCircuitCurrentLimit: 'Limite ICC max',
};
6 changes: 3 additions & 3 deletions src/translations/fr/filterFr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export const filterFr = {
OR: 'OU',
AND: 'ET',
rule: 'règle',
rule: 'critère',
subGroup: 'sous-groupe',
is: 'est',
contains: 'contient',
Expand All @@ -23,8 +23,8 @@ export const filterFr = {
emptyRule: 'Le filtre contient un champ vide',
incorrectRule: 'Le filtre contient un champ incorrect',
obsoleteFilter: "Ce filtre n'est plus supporté. Veuillez le supprimer ou changer son type d'équipement.",
betweenRule: "La valeur de gauche d'une règle 'entre' doit être inférieure à la valeur de droite",
emptyGroup: 'Le filtre contient un groupe vide. Supprimez le ou ajoutez des règles à ce groupe',
betweenRule: "La valeur de gauche d'un critère 'entre' doit être inférieure à la valeur de droite",
emptyGroup: 'Le filtre contient un groupe vide. Supprimez le ou ajoutez des critères à ce groupe',
Hvdc: 'HVDC',
'filter.expert': 'Par critères',
'filter.explicitNaming': 'Par nommage',
Expand Down

0 comments on commit 10827de

Please sign in to comment.