aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngPluralize.js
diff options
context:
space:
mode:
authorAndrew Peterson2013-06-26 00:40:18 -0600
committerPete Bacon Darwin2013-06-27 21:15:19 +0100
commit9d27b0af4c434e4b2f68b2e858b82ae02350d525 (patch)
treed3abdec715ff247e92c62401d5fe980099d68139 /src/ng/directive/ngPluralize.js
parentbad9d1b71fbbb32cccfe62959a7319221810a8d5 (diff)
downloadangular.js-9d27b0af4c434e4b2f68b2e858b82ae02350d525.tar.bz2
docs(ngPluralize): improve wording
Diffstat (limited to 'src/ng/directive/ngPluralize.js')
-rw-r--r--src/ng/directive/ngPluralize.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ng/directive/ngPluralize.js b/src/ng/directive/ngPluralize.js
index 2aeb9703..6ab1e182 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 plural 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:
*