W3cubDocs

/Ember.js

DS.Ember.HTMLBars.helpers

Module: ember-data

pluralize (count, word)

count
Number|Property
count of objects
word
String|Property
word to pluralize

If you have Ember Inflector (such as if Ember Data is present), pluralize a word. For example, turn "ox" into "oxen". Example: {{pluralize count myProperty}} {{pluralize 1 "oxen"}} {{pluralize myProperty}} {{pluralize "ox"}}

© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/ember-data/2.14/classes/DS.Ember.HTMLBars.helpers/methods