Skip to content

Commit

Permalink
Editorial: Standardize the spelling of "uppercase" and "lowercase"
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 authored and leobalter committed Mar 28, 2022
1 parent 96fbdc3 commit 8320719
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/locale-sensitive-functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ <h1>
1. If _locale_ is *undefined*, set _locale_ to *"und"*.
1. Let _codePoints_ be ! StringToCodePoints(_S_).
1. If _targetCase_ is ~lower~, then
1. Let _newCodePoints_ be a List whose elements are the result of a lower case transformation of _codePoints_ according to an implementation-derived algorithm using _locale_ or the Unicode Default Case Conversion algorithm.
1. Let _newCodePoints_ be a List whose elements are the result of a lowercase transformation of _codePoints_ according to an implementation-derived algorithm using _locale_ or the Unicode Default Case Conversion algorithm.
1. Else,
1. Assert: _targetCase_ is ~upper~.
1. Let _newCodePoints_ be a List whose elements are the result of an upper case transformation of _codePoints_ according to an implementation-derived algorithm using _locale_ or the Unicode Default Case Conversion algorithm.
1. Let _newCodePoints_ be a List whose elements are the result of an uppercase transformation of _codePoints_ according to an implementation-derived algorithm using _locale_ or the Unicode Default Case Conversion algorithm.
1. Return ! CodePointsToString(_newCodePoints_).
</emu-alg>

Expand Down
2 changes: 1 addition & 1 deletion spec/locales-currencies-tz.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h1>DefaultLocale ( )</h1>
<h1>Currency Codes</h1>

<p>
The ECMAScript 2022 Internationalization API Specification identifies currencies using 3-letter currency codes as defined by ISO 4217. Their canonical form is upper case.
The ECMAScript 2022 Internationalization API Specification identifies currencies using 3-letter currency codes as defined by ISO 4217. Their canonical form is uppercase.
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion spec/numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ <h1>Abstract Operations for NumberFormat Objects</h1>
<h1>CurrencyDigits ( _currency_ )</h1>

<p>
When the CurrencyDigits abstract operation is called with an argument _currency_ (which must be an upper case String value), the following steps are taken:
When the CurrencyDigits abstract operation is called with an argument _currency_ (which must be an uppercase String value), the following steps are taken:
</p>

<emu-alg>
Expand Down

0 comments on commit 8320719

Please sign in to comment.