More forms to plural phrase function

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Jul 11, 2012, 8:58:34 AM7/11/12
to In-Portal Development
In-Portal getPluralPhrase function, that allows to display proper phrase based on displayed number. For example "1 user", "2 users", "5 users".
Right now it supports 3 different forms.

I propose to add 2 missing forms (for "3 users" and for "4 users"), which will fallback to "2 users" form, when not specified.



Ready for testing.

more_plural_phrase_forms_addon.patch
Reply all
Reply to author
Forward
0 new messages