Skip to content

Commit 233d29c

Browse files
gibson042leobalter
authored andcommitted
Editorial: Rename operations and sections to align with UTS 35
1 parent 47237fb commit 233d29c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/locales-currencies-tz.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,33 +235,33 @@ <h1>IsWellFormedUnitIdentifier ( _unitIdentifier_ )</h1>
235235
</p>
236236

237237
<emu-alg>
238-
1. If ! IsSanctionedSimpleUnitIdentifier(_unitIdentifier_) is *true*, then
238+
1. If ! IsSanctionedSingleUnitIdentifier(_unitIdentifier_) is *true*, then
239239
1. Return *true*.
240240
1. Let _i_ be ! StringIndexOf(_unitIdentifier_, *"-per-"*, 0).
241241
1. If _i_ is -1 or ! StringIndexOf(_unitIdentifier_, *"-per-"*, _i_ + 1) is not -1, then
242242
1. Return *false*.
243243
1. Assert: The five-character substring *"-per-"* occurs exactly once in _unitIdentifier_, at index _i_.
244244
1. Let _numerator_ be the substring of _unitIdentifier_ from 0 to _i_.
245245
1. Let _denominator_ be the substring of _unitIdentifier_ from _i_ + 5.
246-
1. If ! IsSanctionedSimpleUnitIdentifier(_numerator_) and ! IsSanctionedSimpleUnitIdentifier(_denominator_) are both *true*, then
246+
1. If ! IsSanctionedSingleUnitIdentifier(_numerator_) and ! IsSanctionedSingleUnitIdentifier(_denominator_) are both *true*, then
247247
1. Return *true*.
248248
1. Return *false*.
249249
</emu-alg>
250250
</emu-clause>
251251

252-
<emu-clause id="sec-issanctionedsimpleunitidentifier" aoid="IsSanctionedSimpleUnitIdentifier">
253-
<h1>IsSanctionedSimpleUnitIdentifier ( _unitIdentifier_ )</h1>
252+
<emu-clause id="sec-issanctionedsingleunitidentifier" aoid="IsSanctionedSingleUnitIdentifier" oldids="sec-issanctionedsimpleunitidentifier">
253+
<h1>IsSanctionedSingleUnitIdentifier ( _unitIdentifier_ )</h1>
254254

255255
<p>
256-
The IsSanctionedSimpleUnitIdentifier abstract operation verifies that the _unitIdentifier_ argument (which must be a String value) is among the single unit identifiers sanctioned in the current version of the ECMAScript Internationalization API Specification, which are a subset of the Common Locale Data Repository <a href="https://github.com/unicode-org/cldr/blob/maint/maint-38/common/validity/unit.xml">release 38 unit validity data</a>; the list may grow over time. As discussed in UTS #35, a single unit identifier is a core unit identifier that is not composed of multiplication or division of other unit identifiers. The following steps are taken:
256+
The IsSanctionedSingleUnitIdentifier abstract operation verifies that the _unitIdentifier_ argument (which must be a String value) is among the single unit identifiers sanctioned in the current version of the ECMAScript Internationalization API Specification, which are a subset of the Common Locale Data Repository <a href="https://github.com/unicode-org/cldr/blob/maint/maint-38/common/validity/unit.xml">release 38 unit validity data</a>; the list may grow over time. As discussed in UTS #35, a single unit identifier is a core unit identifier that is not composed of multiplication or division of other unit identifiers. The following steps are taken:
257257
</p>
258258

259259
<emu-alg>
260-
1. If _unitIdentifier_ is listed in <emu-xref href="#table-sanctioned-simple-unit-identifiers"></emu-xref> below, return *true*.
260+
1. If _unitIdentifier_ is listed in <emu-xref href="#table-sanctioned-single-unit-identifiers"></emu-xref> below, return *true*.
261261
1. Else, return *false*.
262262
</emu-alg>
263263

264-
<emu-table id="table-sanctioned-simple-unit-identifiers">
264+
<emu-table id="table-sanctioned-single-unit-identifiers" oldids="table-sanctioned-simple-unit-identifiers">
265265
<emu-caption>Single units sanctioned for use in ECMAScript</emu-caption>
266266
<table class="real-table">
267267
<thead>

0 commit comments

Comments
 (0)