Functiondojox.dtl.filter.misc.pluralize

dojo.require("dojox.dtl.filter.misc");
defined in dojox/dtl/filter/misc.js

By default, 's' is used as a suffix; if an argument is provided, that string is used instead. If the provided argument contains a comma, the text before the comma is used for the singular case.

Usage

function (value, arg) (view source)
parametertypedescription
value  
arg