Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Pluralization module #220

Closed
rxaviers opened this issue Mar 26, 2014 · 2 comments
Closed

Create Pluralization module #220

rxaviers opened this issue Mar 26, 2014 · 2 comments
Assignees

Comments

@rxaviers
Copy link
Member

PR #241.

Implementation

.plural( value )
.plural( 5 );

Should return the count group String: zero | one | two | few | many | other;

.formatPlural( value, pluralData )
.formatPlural( 5, { one: "{0} second", other: "{0} seconds"} )

Should return the appropriate plural message.

Documentation

Use

@rxaviers
Copy link
Member Author

This is module is needed for:

  • moment-cldr (cc @ichernev);
  • currency formatting;
  • number short|long format;

@rxaviers
Copy link
Member Author

cc @jzaefferer

rxaviers added a commit that referenced this issue Apr 17, 2014
rxaviers added a commit that referenced this issue Apr 29, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Apr 29, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Apr 29, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Apr 30, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
@rxaviers rxaviers self-assigned this May 20, 2014
rxaviers added a commit that referenced this issue May 21, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue May 21, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue May 22, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue May 28, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue May 29, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit to rxaviers/globalize that referenced this issue May 29, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref globalizejs#220
rxaviers added a commit that referenced this issue May 30, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Jun 20, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Jun 23, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Aug 20, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Aug 20, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Aug 20, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit that referenced this issue Aug 28, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref #220
rxaviers added a commit to rxaviers/globalize that referenced this issue Sep 1, 2014
Borrow santhoshtr/CLDRPluralRuleParser.

Ref globalizejs#220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant