forkcms/forkcms — pull request #322 by siesqo (2012-10-02 12:23:07+00:00)
Title: Added utils.string.sprintf to frontend and backend + updated changelog

This is needed in some modules where you want to add multiple variables in a label / message / ...

f.e.:

Javascript:
utils.string.sprintf(jsBackend.locale.msg('%1$s items selected of %2$s items.'), 2, 5);

Will output:
'2 items selected of 5';