mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
ICU-21580 fix links to CLDR Language Plural Rules
This commit is contained in:
parent
b303de1ff1
commit
a0baa69277
5 changed files with 17 additions and 15 deletions
|
@ -70,7 +70,7 @@ class NFRule;
|
|||
* use the predefined keywords. The whole plural formatting of messages can
|
||||
* be done using localized patterns from resource bundles. For predefined plural
|
||||
* rules, see the CLDR <i>Language Plural Rules</i> page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
* </ul>
|
||||
* </p>
|
||||
* <h4>Usage of <code>PluralFormat</code></h4>
|
||||
|
|
|
@ -71,8 +71,8 @@ class UFormattedNumberRangeData;
|
|||
* default rule(other) is returned.
|
||||
*
|
||||
* For more information, details, and tips for writing rules, see the
|
||||
* LDML spec, C.11 Language Plural Rules:
|
||||
* http://www.unicode.org/draft/reports/tr35/tr35.html#Language_Plural_Rules
|
||||
* LDML spec, Part 3.5 Language Plural Rules:
|
||||
* https://www.unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules
|
||||
*
|
||||
* Examples:<pre>
|
||||
* "one: n is 1; few: n in 2..4"</pre>
|
||||
|
@ -200,7 +200,7 @@ class UFormattedNumberRangeData;
|
|||
* <p>
|
||||
* ICU defines plural rules for many locales based on CLDR <i>Language Plural Rules</i>.
|
||||
* For these predefined rules, see CLDR page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
* </p>
|
||||
*/
|
||||
class U_I18N_API PluralRules : public UObject {
|
||||
|
|
|
@ -39,8 +39,9 @@ struct UFormattedNumberRange;
|
|||
* returns the keyword for the first condition that matches the number.
|
||||
* If none match, the default rule(other) is returned.
|
||||
*
|
||||
* For more information, see the LDML spec, C.11 Language Plural Rules:
|
||||
* http://www.unicode.org/reports/tr35/#Language_Plural_Rules
|
||||
* For more information, see the
|
||||
* LDML spec, Part 3.5 Language Plural Rules:
|
||||
* https://www.unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules
|
||||
*
|
||||
* Keywords: ICU locale data has 6 predefined values -
|
||||
* 'zero', 'one', 'two', 'few', 'many' and 'other'. Callers need to check
|
||||
|
@ -48,7 +49,7 @@ struct UFormattedNumberRange;
|
|||
*
|
||||
* These are based on CLDR <i>Language Plural Rules</i>. For these
|
||||
* predefined rules, see the CLDR page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -60,7 +60,7 @@ import com.ibm.icu.util.ULocale.Category;
|
|||
* use the predefined keywords. The whole plural formatting of messages can
|
||||
* be done using localized patterns from resource bundles. For predefined plural
|
||||
* rules, see the CLDR <i>Language Plural Rules</i> page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
* </ul>
|
||||
*
|
||||
* <h4>Usage of <code>PluralFormat</code></h4>
|
||||
|
|
|
@ -53,8 +53,8 @@ import com.ibm.icu.util.ULocale;
|
|||
* </p>
|
||||
* <p>
|
||||
* For more information, details, and tips for writing rules, see the <a
|
||||
* href="http://www.unicode.org/draft/reports/tr35/tr35.html#Language_Plural_Rules">LDML spec, C.11 Language Plural
|
||||
* Rules</a>
|
||||
* href="https://www.unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules">LDML spec,
|
||||
* Part 3.5 Language Plural Rules</a>
|
||||
* </p>
|
||||
* <p>
|
||||
* Examples:
|
||||
|
@ -208,7 +208,8 @@ public class PluralRules implements Serializable {
|
|||
*
|
||||
* <p>
|
||||
* ICU defines plural rules for many locales based on CLDR <i>Language Plural Rules</i>. For these predefined
|
||||
* rules, see CLDR page at http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* rules, see CLDR page at
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
*
|
||||
* @param locale
|
||||
* The locale for which a <code>PluralRules</code> object is returned.
|
||||
|
@ -2059,7 +2060,7 @@ public class PluralRules implements Serializable {
|
|||
*
|
||||
* <p>ICU defines plural rules for many locales based on CLDR <i>Language Plural Rules</i>.
|
||||
* For these predefined rules, see CLDR page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
*
|
||||
* @param locale The locale for which a <code>PluralRules</code> object is
|
||||
* returned.
|
||||
|
@ -2081,7 +2082,7 @@ public class PluralRules implements Serializable {
|
|||
*
|
||||
* <p>ICU defines plural rules for many locales based on CLDR <i>Language Plural Rules</i>.
|
||||
* For these predefined rules, see CLDR page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
*
|
||||
* @param locale The locale for which a <code>PluralRules</code> object is
|
||||
* returned.
|
||||
|
@ -2102,7 +2103,7 @@ public class PluralRules implements Serializable {
|
|||
*
|
||||
* <p>ICU defines plural rules for many locales based on CLDR <i>Language Plural Rules</i>.
|
||||
* For these predefined rules, see CLDR page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
*
|
||||
* @param locale The locale for which a <code>PluralRules</code> object is
|
||||
* returned.
|
||||
|
@ -2124,7 +2125,7 @@ public class PluralRules implements Serializable {
|
|||
*
|
||||
* <p>ICU defines plural rules for many locales based on CLDR <i>Language Plural Rules</i>.
|
||||
* For these predefined rules, see CLDR page at
|
||||
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
|
||||
* https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_plural_rules.html
|
||||
*
|
||||
* @param locale The locale for which a <code>PluralRules</code> object is
|
||||
* returned.
|
||||
|
|
Loading…
Add table
Reference in a new issue