Plurify.js is .NET's String.Format
-like formatting library for Java-script.
- To format string call
plurify(format_string, format_arguments)
. - To define new operation use
plurify.operations["my_operation"] = function(argument) { ... }
.
Please, see plurify.tests.html for some examples.