diff --git a/harness/testIntl.js b/harness/testIntl.js index 3b9e62d7ce..45694d121a 100644 --- a/harness/testIntl.js +++ b/harness/testIntl.js @@ -283,7 +283,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { var __tagMappings = { // property names must be in lower case; values in canonical form - // grandfathered tags from IANA language subtag registry, file date 2017-12-14 + // grandfathered tags from IANA language subtag registry, file date 2018-04-23 "art-lojban": "jbo", "cel-gaulish": "cel-gaulish", "en-gb-oed": "en-GB-oxendict", @@ -310,7 +310,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { "zh-min": "zh-min", "zh-min-nan": "nan", "zh-xiang": "hsn", - // deprecated redundant tags from IANA language subtag registry, file date 2017-12-14 + // deprecated redundant tags from IANA language subtag registry, file date 2018-04-23 "sgn-br": "bzs", "sgn-co": "csn", "sgn-de": "gsg", @@ -336,7 +336,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { "zh-gan": "gan", "zh-wuu": "wuu", "zh-yue": "yue", - // deprecated variant with prefix from IANA language subtag registry, file date 2017-12-14 + // deprecated variant with prefix from IANA language subtag registry, file date 2018-04-23 "ja-latn-hepburn-heploc": "ja-Latn-alalc97" }; @@ -348,7 +348,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { */ var __subtagMappings = { // property names and values must be in canonical case - // language subtags with Preferred-Value mappings from IANA language subtag registry, file date 2017-12-14 + // language subtags with Preferred-Value mappings from IANA language subtag registry, file date 2018-04-23 "in": "id", "iw": "he", "ji": "yi", @@ -394,6 +394,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { "mwj": "vaj", "myt": "mry", "nad": "xny", + "ncp": "kdz", "nnx": "ngv", "nts": "pij", "oun": "vaj", @@ -426,7 +427,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { "ymt": "mtm", "yos": "zom", "yuu": "yug", - // region subtags with Preferred-Value mappings from IANA language subtag registry, file date 2017-12-14 + // region subtags with Preferred-Value mappings from IANA language subtag registry, file date 2018-04-23 "BU": "MM", "DD": "DE", "FX": "FR", @@ -442,7 +443,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { * Spec: IANA Language Subtag Registry. */ var __extlangMappings = { - // extlang subtags with Preferred-Value mappings from IANA language subtag registry, file date 2017-12-14 + // extlang subtags with Preferred-Value mappings from IANA language subtag registry, file date 2018-04-23 // values are arrays with [0] the replacement value, [1] (if present) the prefix to be removed "aao": ["aao", "ar"], "abh": ["abh", "ar"], @@ -575,6 +576,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { "lsy": ["lsy", "sgn"], "ltg": ["ltg", "lv"], "lvs": ["lvs", "lv"], + "lws": ["lws", "sgn"], "lzh": ["lzh", "zh"], "max": ["max", "ms"], "mdl": ["mdl", "sgn"], @@ -620,6 +622,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { "psr": ["psr", "sgn"], "pys": ["pys", "sgn"], "rms": ["rms", "sgn"], + "rsi": ["rsi", "sgn"], "rsl": ["rsl", "sgn"], "rsm": ["rsm", "sgn"], "sdl": ["sdl", "sgn"], @@ -667,6 +670,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) { "xml": ["xml", "sgn"], "xmm": ["xmm", "ms"], "xms": ["xms", "sgn"], + "yds": ["yds", "sgn"], "ygs": ["ygs", "sgn"], "yhs": ["yhs", "sgn"], "ysl": ["ysl", "sgn"],