Update IANA Language Subtag Registry data to version 2018-02-20
Categories
(Core :: JavaScript: Internationalization API, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(1 file, 2 obsolete files)
|
11.17 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
Doesn't add anything new, but instead only fixes invalid data within the registry.
| Assignee | ||
Comment 1•7 years ago
|
||
hy-arevela and hy-arevmda now both need to be special-cased similar to the existing special case for ja-Latn-hepburn-heploc.
The updated registry entries for both language tags are:
%%
Type: variant
Subtag: arevela
Description: Eastern Armenian
Added: 2006-09-18
Deprecated: 2018-03-24
Prefix: hy
Comments: Preferred tag is hy
%%
Type: variant
Subtag: arevmda
Description: Western Armenian
Added: 2006-09-18
Deprecated: 2018-03-24
Prefix: hy
Comments: Preferred tag is hyw
%%
So there's no longer a Preferred-Value field and instead the preferred tag is only mentioned in the Comments field.
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
- Changed "List" -> "Set" per review comments.
- Changed line indentation per flake error...
| Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Jeff Walden [:Waldo] from comment #2)
@@ +211,5 @@
- for elem in knownSpecialCases:
tag = "{}-{}".format(elem.Prefix, elem.Subtag)assert elem.Type == "variant", "Unexpected non-variant special case"assert tag in variantMappings, "{} not found in variant mappings".format(tag)assert variantMappings[tag] == knownSpecialCases[elem],\Space before line continuation?
Do you mean , \ instead of ,\ or adding/removing space somewhere else? (\, without space between the comma and the line continuation is already used at three other places in make_intl_data.py.)
Comment 5•7 years ago
|
||
(In reply to André Bargull [:anba] from comment #4)
Do you mean
, \instead of,\
Yes, that.
(
\,without space between the comma and the line continuation is already used at three other places in make_intl_data.py.)
Ugh, that's terrible and should change. Whywhywhywhywhy would anyone ever do it that way...
| Assignee | ||
Comment 6•7 years ago
|
||
(In reply to Jeff Walden [:Waldo] from comment #5)
(
\,without space between the comma and the line continuation is already used at three other places in make_intl_data.py.)Ugh, that's terrible and should change. Whywhywhywhywhy would anyone ever do it that way...
Hmm, I just blame it on the reviewer who allowed me to write it that way in the first place. ducks away :-D
| Assignee | ||
Comment 7•7 years ago
|
||
Updated to add whitespace between ',' and the line continuation.
| Assignee | ||
Updated•7 years ago
|
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/75af9e205c28
Update IANA language subtag registry data to version 2019-02-20. r=Waldo
Comment 9•7 years ago
|
||
| bugherder | ||
Description
•