Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9d27b0a

Browse files
ndppetebacondarwin
authored andcommitted
docs(ngPluralize): improve wording
1 parent bad9d1b commit 9d27b0a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/ng/directive/ngPluralize.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @description
99
* # Overview
1010
* `ngPluralize` is a directive that displays messages according to en-US localization rules.
11-
* These rules are bundled with angular.js and the rules can be overridden
11+
* These rules are bundled with angular.js, but can be overridden
1212
* (see {@link guide/i18n Angular i18n} dev guide). You configure ngPluralize directive
1313
* by specifying the mappings between
1414
* {@link http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
@@ -21,8 +21,8 @@
2121
*
2222
* While a plural category may match many numbers (for example, in en-US locale, "other" can match
2323
* any number that is not 1), an explicit number rule can only match one number. For example, the
24-
* explicit number rule for "3" matches the number 3. You will see the use of plural categories
25-
* and explicit number rules throughout later parts of this documentation.
24+
* explicit number rule for "3" matches the number 3. There are examples of plural categories
25+
* and explicit number rules throughout the rest of this documentation.
2626
*
2727
* # Configuring ngPluralize
2828
* You configure ngPluralize by providing 2 attributes: `count` and `when`.
@@ -32,8 +32,7 @@
3232
* Angular expression}; these are evaluated on the current scope for its bound value.
3333
*
3434
* The `when` attribute specifies the mappings between plural categories and the actual
35-
* string to be displayed. The value of the attribute should be a JSON object so that Angular
36-
* can interpret it correctly.
35+
* string to be displayed. The value of the attribute should be a JSON object.
3736
*
3837
* The following example shows how to configure ngPluralize:
3938
*

0 commit comments

Comments
 (0)