mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Translate the number of items selected in the options list
This commit is contained in:
parent
da97c5d558
commit
341f43610a
@ -915,6 +915,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typedInput": {
|
"typedInput": {
|
||||||
|
"selected": "__count__ selected",
|
||||||
|
"selected_plural": "__count__ selected",
|
||||||
"type": {
|
"type": {
|
||||||
"str": "string",
|
"str": "string",
|
||||||
"num": "number",
|
"num": "number",
|
||||||
|
@ -915,6 +915,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typedInput": {
|
"typedInput": {
|
||||||
|
"selected": "__count__ sélectionnée",
|
||||||
|
"selected_plural": "__count__ sélectionnées",
|
||||||
"type": {
|
"type": {
|
||||||
"str": "chaîne de caractères",
|
"str": "chaîne de caractères",
|
||||||
"num": "nombre",
|
"num": "nombre",
|
||||||
|
@ -830,7 +830,7 @@
|
|||||||
this.input.trigger('change',[this.propertyType,this.value()]);
|
this.input.trigger('change',[this.propertyType,this.value()]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.optionSelectLabel.text(o.length+" selected");
|
this.optionSelectLabel.text(RED._("typedInput.selected", { count: o.length }));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user