L20n/Toolbox: Difference between revisions

No edit summary
Line 113: Line 113:
<drinks(type, num) {
<drinks(type, num) {
     cup: {one: "Cup", many: "Cups"},
     cup: {one: "Cup", many: "Cups"},
     pot: {one: "Pot", many: "Pots"}>
     pot: {one: "Pot", many: "Pots"}
}>
</pre>
</pre>


Line 119: Line 120:
let msg2 = ctx.get("drinks", {type: "pot", num: "many"}) # Pots
let msg2 = ctx.get("drinks", {type: "pot", num: "many"}) # Pots
</pre>
</pre>


=== Entity properties ===
=== Entity properties ===
Confirmed users
1,016

edits