Translate the number of items selected in the options list

This commit is contained in:
GogoVega 2024-05-27 19:56:51 +02:00
parent da97c5d558
commit 341f43610a
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B
3 changed files with 5 additions and 1 deletions

View File

@ -915,6 +915,8 @@
}
},
"typedInput": {
"selected": "__count__ selected",
"selected_plural": "__count__ selected",
"type": {
"str": "string",
"num": "number",

View File

@ -915,6 +915,8 @@
}
},
"typedInput": {
"selected": "__count__ sélectionnée",
"selected_plural": "__count__ sélectionnées",
"type": {
"str": "chaîne de caractères",
"num": "nombre",

View File

@ -830,7 +830,7 @@
this.input.trigger('change',[this.propertyType,this.value()]);
}
} else {
this.optionSelectLabel.text(o.length+" selected");
this.optionSelectLabel.text(RED._("typedInput.selected", { count: o.length }));
}
}
},