GeezerVison is showing github.com — docs(ngPluralize): improve wording · dda/angular.js@9d27b0a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/ng/directive/ngPluralize.js +4-5Lines changed: 4 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | * @description |
9 | 9 | * # Overview |
10 | 10 | * `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 |
12 | 12 | * (see {@link guide/i18n Angular i18n} dev guide). You configure ngPluralize directive |
13 | 13 | * by specifying the mappings between |
14 | 14 | * {@link http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html |
|
21 | 21 | * |
22 | 22 | * While a plural category may match many numbers (for example, in en-US locale, "other" can match |
23 | 23 | * 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. |
26 | 26 | * |
27 | 27 | * # Configuring ngPluralize |
28 | 28 | * You configure ngPluralize by providing 2 attributes: `count` and `when`. |
|
32 | 32 | * Angular expression}; these are evaluated on the current scope for its bound value. |
33 | 33 | * |
34 | 34 | * 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. |
37 | 36 | * |
38 | 37 | * The following example shows how to configure ngPluralize: |
39 | 38 | * |
|