diff options
| author | Andrew Peterson | 2013-06-26 00:40:18 -0600 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-27 21:15:33 +0100 |
| commit | 32e440cffc7c321002aed5f5a857dded7afbd49f (patch) | |
| tree | bb432bb7102ef1bc6d110a0efec71910b6389e84 | |
| parent | 89c8c93b9ab355c05428f78854e51aab72b0e369 (diff) | |
| download | angular.js-32e440cffc7c321002aed5f5a857dded7afbd49f.tar.bz2 | |
docs(ngPluralize): improve wording
| -rw-r--r-- | src/ng/directive/ngPluralize.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ng/directive/ngPluralize.js b/src/ng/directive/ngPluralize.js index 5d9ba73f..a92ae909 100644 --- a/src/ng/directive/ngPluralize.js +++ b/src/ng/directive/ngPluralize.js @@ -8,7 +8,7 @@ * @description * # Overview * `ngPluralize` is a directive that displays messages according to en-US localization rules. - * These rules are bundled with angular.js and the rules can be overridden + * These rules are bundled with angular.js, but can be overridden * (see {@link guide/i18n Angular i18n} dev guide). You configure ngPluralize directive * by specifying the mappings between * {@link http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html @@ -21,8 +21,8 @@ * * While a pural category may match many numbers (for example, in en-US locale, "other" can match * any number that is not 1), an explicit number rule can only match one number. For example, the - * explicit number rule for "3" matches the number 3. You will see the use of plural categories - * and explicit number rules throughout later parts of this documentation. + * explicit number rule for "3" matches the number 3. There are examples of plural categories + * and explicit number rules throughout the rest of this documentation. * * # Configuring ngPluralize * You configure ngPluralize by providing 2 attributes: `count` and `when`. @@ -32,8 +32,7 @@ * Angular expression}; these are evaluated on the current scope for its bound value. * * The `when` attribute specifies the mappings between plural categories and the actual - * string to be displayed. The value of the attribute should be a JSON object so that Angular - * can interpret it correctly. + * string to be displayed. The value of the attribute should be a JSON object. * * The following example shows how to configure ngPluralize: * |
