From 59053e6676777fd2592bf2ba914d56c5fb390459 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Wed, 21 Dec 2022 16:49:54 -0500 Subject: [PATCH] Editorial: Improve consistency of referencing Unicode documents (#736) --- spec/collator.html | 8 ++++---- spec/datetimeformat.html | 6 +++--- spec/locale.html | 4 ++-- spec/locales-currencies-tz.html | 8 ++++---- spec/negotiation.html | 6 +++--- spec/normative-references.html | 16 +++++++++++----- spec/numberformat.html | 6 +++--- spec/pluralrules.html | 4 ++-- spec/relativetimeformat.html | 4 ++-- spec/segmenter.html | 2 +- 10 files changed, 35 insertions(+), 29 deletions(-) diff --git a/spec/collator.html b/spec/collator.html index 5af8ed20..24961af9 100644 --- a/spec/collator.html +++ b/spec/collator.html @@ -123,7 +123,7 @@

Internal slots

- Unicode Technical Standard 35 describes ten locale extension keys that are relevant to collation: *"co"* for collator usage and specializations, *"ka"* for alternate handling, *"kb"* for backward second level weight, *"kc"* for case level, *"kf"* for case first, *"kh"* for hiragana quaternary, *"kk"* for normalization, *"kn"* for numeric, *"kr"* for reordering, *"ks"* for collation strength, and *"vt"* for variable top. Collator, however, requires that the usage is specified through the *"usage"* property of the options object, alternate handling through the *"ignorePunctuation"* property of the options object, and case level and the strength through the *"sensitivity"* property of the options object. The *"co"* key in the language tag is supported only for collator specializations, and the keys *"kb"*, *"kh"*, *"kk"*, *"kr"*, and *"vt"* are not allowed in this version of the Internationalization API. Support for the remaining keys is implementation dependent. + Unicode Technical Standard #35 Part 1 Core, Section 3.6.1 Key and Type Definitions describes ten locale extension keys that are relevant to collation: *"co"* for collator usage and specializations, *"ka"* for alternate handling, *"kb"* for backward second level weight, *"kc"* for case level, *"kf"* for case first, *"kh"* for hiragana quaternary, *"kk"* for normalization, *"kn"* for numeric, *"kr"* for reordering, *"ks"* for collation strength, and *"vt"* for variable top. Collator, however, requires that the usage is specified through the *"usage"* property of the options object, alternate handling through the *"ignorePunctuation"* property of the options object, and case level and the strength through the *"sensitivity"* property of the options object. The *"co"* key in the language tag is supported only for collator specializations, and the keys *"kb"*, *"kh"*, *"kk"*, *"kr"*, and *"vt"* are not allowed in this version of the Internationalization API. Support for the remaining keys is implementation dependent.

@@ -266,7 +266,7 @@

CompareStrings ( _collator_, _x_, _y_ )

- For the interpretation of options settable through locale extension keys, see Unicode Technical Standard #35 LDML ยง 3.6.1 U Extension Key And Type Definitions. + For the interpretation of options settable through locale extension keys, see Unicode Technical Standard #35 Part 1 Core, Section 3.6.1 Key and Type Definitions.

@@ -274,7 +274,7 @@

CompareStrings ( _collator_, _x_, _y_ )

- It is recommended that the CompareStrings abstract operation be implemented following Unicode Technical Standard 10, Unicode Collation Algorithm (available at https://unicode.org/reports/tr10/), using tailorings for the effective locale and collation options of _collator_. It is recommended that implementations use the tailorings provided by the Common Locale Data Repository (available at https://cldr.unicode.org/). + It is recommended that the CompareStrings abstract operation be implemented following Unicode Technical Standard #10: Unicode Collation Algorithm, using tailorings for the effective locale and collation options of _collator_. It is recommended that implementations use the tailorings provided by the Common Locale Data Repository (available at https://cldr.unicode.org/). @@ -376,7 +376,7 @@

Properties of Intl.Collator Instances

  • [[Usage]] is one of the String values *"sort"* or *"search"*, identifying the collator usage.
  • [[Sensitivity]] is one of the String values *"base"*, *"accent"*, *"case"*, or *"variant"*, identifying the collator's sensitivity.
  • [[IgnorePunctuation]] is a Boolean value, specifying whether punctuation should be ignored in comparisons.
  • -
  • [[Collation]] is a String value with the *"type"* given in Unicode Technical Standard 35 for the collation, except that the values *"standard"* and *"search"* are not allowed, while the value *"default"* is allowed.
  • +
  • [[Collation]] is a String value with the *"type"* given in Unicode Technical Standard #35 for the collation, except that the values *"standard"* and *"search"* are not allowed, while the value *"default"* is allowed.
  • diff --git a/spec/datetimeformat.html b/spec/datetimeformat.html index a21406cc..54b3e9c4 100644 --- a/spec/datetimeformat.html +++ b/spec/datetimeformat.html @@ -188,7 +188,7 @@

    Internal slots

    - Unicode Technical Standard 35 describes four locale extension keys that are relevant to date and time formatting: *"ca"* for calendar, *"hc"* for hour cycle, *"nu"* for numbering system (of formatted numbers), and *"tz"* for time zone. DateTimeFormat, however, requires that the time zone is specified through the *"timeZone"* property in the options objects. + Unicode Technical Standard #35 describes four locale extension keys that are relevant to date and time formatting: *"ca"* for calendar, *"hc"* for hour cycle, *"nu"* for numbering system (of formatted numbers), and *"tz"* for time zone. DateTimeFormat, however, requires that the time zone is specified through the *"timeZone"* property in the options objects.

    @@ -655,8 +655,8 @@

    Properties of Intl.DateTimeFormat Instances