GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(ngPluralize): improve wording · dda/angular.js@9d27b0a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/ng/directive
    • ngPluralize.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/ng/directive/ngPluralize.js‎

Copy file name to clipboardExpand all lines: src/ng/directive/ngPluralize.js
+4-5Lines changed: 4 additions & 5 deletions
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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.