Let's suppose instead of writing:
I instead wrote
Would that still work?
Code: Select all
dojo.string.substitute( _("You can pick ${p} cards and discard ${d}"), {
p: pick[player],
d: discard[player]
} );Code: Select all
_(`You can pick ${pick[player]} cards and discard ${discard[player]}`)