From 83675d925941db725e4535903f2ccb92f4da3bef Mon Sep 17 00:00:00 2001
From: Ben Allen
Date: Tue, 30 Apr 2024 08:08:46 -0700
Subject: [PATCH] Editorial: capitalized previously-uncapitalized instances of
"list" and "record" as appropriate
---
spec/collator.html | 2 +-
spec/datetimeformat.html | 40 ++++++++++++++++-----------------
spec/listformat.html | 8 +++----
spec/locales-currencies-tz.html | 8 +++----
spec/negotiation.html | 12 +++++-----
spec/numberformat.html | 2 +-
spec/relativetimeformat.html | 2 +-
7 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/spec/collator.html b/spec/collator.html
index bbc0d7e1..d2e69b5e 100644
--- a/spec/collator.html
+++ b/spec/collator.html
@@ -139,7 +139,7 @@ Internal slots
- The first element of [[SortLocaleData]].[[<_locale_>]].[[co]] and [[SearchLocaleData]].[[<_locale_>]].[[co]] must be *null*.
- - The values *"standard"* and *"search"* must not be used as elements in any [[SortLocaleData]].[[<_locale_>]].[[co]] and [[SearchLocaleData]].[[<_locale_>]].[[co]] list.
+ - The values *"standard"* and *"search"* must not be used as elements in any [[SortLocaleData]].[[<_locale_>]].[[co]] and [[SearchLocaleData]].[[<_locale_>]].[[co]] List.
- [[SearchLocaleData]].[[<_locale_>]] must have a [[sensitivity]] field with one of the String values *"base"*, *"accent"*, *"case"*, or *"variant"*.
- [[SearchLocaleData]].[[<_locale_>]] and [[SortLocaleData]].[[<_locale_>]] must have an [[ignorePunctuation]] field with a Boolean value.
diff --git a/spec/datetimeformat.html b/spec/datetimeformat.html
index a1ac78c9..b9208371 100644
--- a/spec/datetimeformat.html
+++ b/spec/datetimeformat.html
@@ -269,7 +269,7 @@ Internal slots
[[LocaleData]].[[<_locale_>]].[[hourCycle24]] must be one of the String values *"h23"* or *"h24"*.
- [[LocaleData]].[[<_locale_>]] must have a [[formats]] field. This [[formats]] field must be a Record with [[<_calendar_>]] fields for all calendar values _calendar_. The value of this field must be a list of records, each of which has a subset of the fields shown in , where each field must have one of the values specified for the field in . Multiple records in a list may use the same subset of the fields as long as they have different values for the fields. The following subsets must be available for each locale:
+ [[LocaleData]].[[<_locale_>]] must have a [[formats]] field. This [[formats]] field must be a Record with [[<_calendar_>]] fields for all calendar values _calendar_. The value of this field must be a List of Records, each of which has a subset of the fields shown in , where each field must have one of the values specified for the field in . Multiple Records in a List may use the same subset of the fields as long as they have different values for the fields. The following subsets must be available for each locale:
- weekday, year, month, day, hour, minute, second, fractionalSecondDigits
- weekday, year, month, day, hour, minute, second
@@ -284,45 +284,45 @@ Internal slots
- dayPeriod, hour, minute, second
- dayPeriod, hour, minute
- Each of the records must also have the following fields:
+ Each of the Records must also have the following fields:
- - A [[pattern]] field, whose value is a String value that contains for each of the date and time format component fields of the record a substring starting with *"{"*, followed by the name of the field, followed by *"}"*.
- - If the record has an [[hour]] field, it must also have a [[pattern12]] field, whose value is a String value that, in addition to the substrings of the [[pattern]] field, contains at least one of the substrings *"{ampm}"* or *"{dayPeriod}"*.
- - If the record has a [[year]] field, the [[pattern]] and [[pattern12]] values may contain the substrings *"{yearName}"* and *"{relatedYear}"*.
+ - A [[pattern]] field, whose value is a String value that contains for each of the date and time format component fields of the Record a substring starting with *"{"*, followed by the name of the field, followed by *"}"*.
+ - If the Record has an [[hour]] field, it must also have a [[pattern12]] field, whose value is a String value that, in addition to the substrings of the [[pattern]] field, contains at least one of the substrings *"{ampm}"* or *"{dayPeriod}"*.
+ - If the Record has a [[year]] field, the [[pattern]] and [[pattern12]] values may contain the substrings *"{yearName}"* and *"{relatedYear}"*.
-
A [[rangePatterns]] field with a Record value:
- - The [[rangePatterns]] record may have any of the fields in , where each field represents a range pattern and its value is a Record.
+
- The [[rangePatterns]] Record may have any of the fields in , where each field represents a range pattern and its value is a Record.
- The name of the field indicates the largest calendar element that must be different between the start and end dates in order to use this range pattern. For example, if the field name is [[Month]], it contains the range pattern that should be used to format a date range where the era and year values are the same, but the month value is different.
- - The record will contain the following fields:
+ - The Record will contain the following fields:
- - A subset of the fields shown in the Property column of , where each field must have one of the values specified for that field in the Values column of . All fields required to format a date for any of the [[PatternParts]] records must be present.
- - A [[PatternParts]] field whose value is a list of Records each representing a part of the range pattern. Each record contains a [[Pattern]] field and a [[Source]] field. The [[Pattern]] field's value is a String of the same format as the regular date pattern String. The [[Source]] field is one of the String values *"shared"*, *"startRange"*, or *"endRange"*. It indicates which of the range's dates should be formatted using the value of the [[Pattern]] field.
+ - A subset of the fields shown in the Property column of , where each field must have one of the values specified for that field in the Values column of . All fields required to format a date for any of the [[PatternParts]] Records must be present.
+ - A [[PatternParts]] field whose value is a List of Records each representing a part of the range pattern. Each Record contains a [[Pattern]] field and a [[Source]] field. The [[Pattern]] field's value is a String of the same format as the regular date pattern String. The [[Source]] field is one of the String values *"shared"*, *"startRange"*, or *"endRange"*. It indicates which of the range's dates should be formatted using the value of the [[Pattern]] field.
- - The [[rangePatterns]] record must have a [[Default]] field which contains the default range pattern used when the specific range pattern is not available. Its value is a list of records with the same structure as the other fields in the [[rangePatterns]] record.
+ - The [[rangePatterns]] Record must have a [[Default]] field which contains the default range pattern used when the specific range pattern is not available. Its value is a List of Records with the same structure as the other fields in the [[rangePatterns]] Record.
- - If the record has an [[hour]] field, it must also have a [[rangePatterns12]] field. Its value is similar to the Record in [[rangePatterns]], but it uses a String similar to [[pattern12]] for each part of the range pattern.
- - If the record has a [[year]] field, the [[rangePatterns]] and [[rangePatterns12]] fields may contain range patterns where the [[Pattern]] values may contain the substrings *"{yearName}"* and *"{relatedYear}"*.
+ - If the Record has an [[hour]] field, it must also have a [[rangePatterns12]] field. Its value is similar to the Record in [[rangePatterns]], but it uses a String similar to [[pattern12]] for each part of the range pattern.
+ - If the Record has a [[year]] field, the [[rangePatterns]] and [[rangePatterns12]] fields may contain range patterns where the [[Pattern]] values may contain the substrings *"{yearName}"* and *"{relatedYear}"*.
- [[LocaleData]].[[<_locale_>]] must have a [[styles]] field. The [[styles]] field must be a Record with [[<_calendar_>]] fields for all calendar values _calendar_. The calendar records must contain [[DateFormat]], [[TimeFormat]], [[DateTimeFormat]] and [[DateTimeRangeFormat]] fields, the value of these fields are Records, where each of which has [[full]], [[long]], [[medium]] and [[short]] fields. For [[DateFormat]] and [[TimeFormat]], the value of these fields must be a record, which has a subset of the fields shown in , where each field must have one of the values specified for the field in . Each of the records must also have the following fields:
+ [[LocaleData]].[[<_locale_>]] must have a [[styles]] field. The [[styles]] field must be a Record with [[<_calendar_>]] fields for all calendar values _calendar_. The calendar Records must contain [[DateFormat]], [[TimeFormat]], [[DateTimeFormat]] and [[DateTimeRangeFormat]] fields, the value of these fields are Records, where each of which has [[full]], [[long]], [[medium]] and [[short]] fields. For [[DateFormat]] and [[TimeFormat]], the value of these fields must be a Record, which has a subset of the fields shown in , where each field must have one of the values specified for the field in . Each of the Records must also have the following fields:
- - A [[pattern]] field, whose value is a String value that contains for each of the date and time format component fields of the record a substring starting with *"{"*, followed by the name of the field, followed by *"}"*.
- - If the record has an [[hour]] field, it must also have a [[pattern12]] field, whose value is a String value that, in addition to the substrings of the pattern field, contains at least one of the substrings *"{ampm}"* or *"{dayPeriod}"*.
- - A [[rangePatterns]] field that contains a record similar to the one described in the [[formats]] field.
- - If the record has an [[hour]] field, it must also have a [[rangePatterns12]] field. Its value is similar to the record in [[rangePatterns]] but it uses a string similar to [[pattern12]] for each range pattern.
+ - A [[pattern]] field, whose value is a String value that contains for each of the date and time format component fields of the Record a substring starting with *"{"*, followed by the name of the field, followed by *"}"*.
+ - If the Record has an [[hour]] field, it must also have a [[pattern12]] field, whose value is a String value that, in addition to the substrings of the pattern field, contains at least one of the substrings *"{ampm}"* or *"{dayPeriod}"*.
+ - A [[rangePatterns]] field that contains a Record similar to the one described in the [[formats]] field.
+ - If the Record has an [[hour]] field, it must also have a [[rangePatterns12]] field. Its value is similar to the Record in [[rangePatterns]] but it uses a string similar to [[pattern12]] for each range pattern.
- For [[DateTimeFormat]], the field value must be a string pattern which contains the strings *"{0}"* and *"{1}"*. For [[DateTimeRangeFormat]] the value of these fields must be a nested record which also has [[full]], [[long]], [[medium]] and [[short]] fields. The [[full]], [[long]], [[medium]] and [[short]] fields in the enclosing record refer to the date style of the range pattern, while the fields in the nested record refers to the time style of the range pattern. The value of these fields in the nested record is a record with a [[rangePatterns]] field and a [[rangePatterns12]] field which are similar to the [[rangePatterns]] and [rangePatterns12]] fields in [[DateFormat]] and [[TimeFormat]].
+ For [[DateTimeFormat]], the field value must be a string pattern which contains the strings *"{0}"* and *"{1}"*. For [[DateTimeRangeFormat]] the value of these fields must be a nested Record which also has [[full]], [[long]], [[medium]] and [[short]] fields. The [[full]], [[long]], [[medium]] and [[short]] fields in the enclosing Record refer to the date style of the range pattern, while the fields in the nested Record refers to the time style of the range pattern. The value of these fields in the nested Record is a Record with a [[rangePatterns]] field and a [[rangePatterns12]] field which are similar to the [[rangePatterns]] and [rangePatterns12]] fields in [[DateFormat]] and [[TimeFormat]].
- For example, an implementation might include the following record as part of its English locale data:
+ For example, an implementation might include the following Record as part of its English locale data:
- [[hour]]: *"numeric"*
- [[minute]]: *"numeric"*
@@ -840,7 +840,7 @@
1. Assert: _dateStyle_ is not *undefined* or _timeStyle_ is not *undefined*.
diff --git a/spec/listformat.html b/spec/listformat.html
index c0eb8e12..9805dcc8 100644
--- a/spec/listformat.html
+++ b/spec/listformat.html
@@ -240,9 +240,9 @@
- A language priority list is a List of structurally valid and canonicalized language tags representing a sequence of locale preferences by descending priority. It corresponds with the term of the same name defined in BCP 47 at RFC 4647 section 2.3 but prohibits *"\*"* elements and contains only canonicalized contents.
+ A Language Priority List is a List of structurally valid and canonicalized language tags representing a sequence of locale preferences by descending priority. It corresponds with the term of the same name defined in BCP 47 at RFC 4647 section 2.3 but prohibits *"\*"* elements and contains only canonicalized contents.
@@ -45,7 +45,7 @@ Abstract Operations
CanonicalizeLocaleList (
_locales_: an ECMAScript language value,
- ): either a normal completion containing a language priority list or a throw completion
+ ): either a normal completion containing a Language Priority List or a throw completion
@@ -89,7 +89,7 @@
LookupMatchingLocaleByPrefix (
_availableLocales_: an Available Locales List,
- _requestedLocales_: a language priority list,
+ _requestedLocales_: a Language Priority List,
): a Record with fields [[locale]] (a Unicode canonicalized locale identifier) and [[extension]] (a Unicode locale extension sequence or ~empty~) or *undefined*
- The list that is the value of the *"nu"* field of any locale field of [[LocaleData]] must not include the values *"native"*, *"traditio"*, or *"finance"*.
+ The List that is the value of the *"nu"* field of any locale field of [[LocaleData]] must not include the values *"native"*, *"traditio"*, or *"finance"*.