Make all autonyms unique and add a test for this

In a list of languages to select autonyms must be unique so that
every user would know what to select.

* Batak Toba language in the Batak writing variant (bbc-batk) has
  an autonum in the right script now. This is taken from the Indonesian
  Wikipedia article "Surat Batak".
* Similarly to the practice with pa -> pa-guru:
  * iu for Inuktitut in the Canadian script redirects to ike-cans.
  * ks for Kashmiri in the Arabic writing redirects to ks-arab.
  * tg for Tajik in the Cyrillic script redirects to tg-cyrl.
* zgh has an updated autonym, taken from Ethologue.
* zh-classical redirects to lzh, similarly to zh-yue -> yue.
This commit is contained in:
Amire80
2017-06-09 20:35:47 +03:00
parent e01c2e6440
commit 777d71e0d2
4 changed files with 50 additions and 46 deletions

View File

@@ -316,14 +316,10 @@
[
"AS"
],
"Batak Toba"
"ᯅᯖᯂ᯲ ᯖᯬᯅ"
],
"bbc": [
"Latn",
[
"AS"
],
"Batak Toba"
"bbc-latn"
],
"bcc": [
"Arab",
@@ -1445,11 +1441,7 @@
"italiano"
],
"iu": [
"Cans",
[
"AM"
],
"ᐃᓄᒃᑎᑐᑦ"
"ike-cans"
],
"ja": [
"Jpan",
@@ -1756,11 +1748,7 @@
"कॉशुर"
],
"ks": [
"Arab",
[
"AS"
],
"کٲشُر"
"ks-arab"
],
"ksf": [
"Latn",
@@ -3239,11 +3227,7 @@
"tojikī"
],
"tg": [
"Cyrl",
[
"AS"
],
"тоҷикӣ"
"tg-cyrl"
],
"th": [
"Thai",
@@ -3700,7 +3684,7 @@
[
"AF"
],
"ⵜⴰⵎⴰⵣⵉⵖⵜ"
"ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ"
],
"zh": [
"Hans",
@@ -3710,11 +3694,7 @@
"中文"
],
"zh-classical": [
"Hant",
[
"AS"
],
"文言"
"lzh"
],
"zh-cn": [
"Hans",
@@ -4076,7 +4056,7 @@
"pdt",
"cr",
"yi",
"iu",
"ike-cans",
"atj"
],
"CC": [
@@ -4356,7 +4336,7 @@
"zh",
"el",
"it",
"ks",
"ks-arab",
"gd",
"yi",
"ml",
@@ -4483,7 +4463,7 @@
"bug",
"bjn",
"ace",
"bbc",
"bbc-latn",
"zh-hant",
"zh",
"sly",
@@ -4531,7 +4511,7 @@
"hne",
"ne",
"sat",
"ks",
"ks-arab",
"gom-deva",
"sd",
"doi",
@@ -4984,10 +4964,10 @@
"brh",
"fa",
"bgn",
"tg",
"tg-cyrl",
"bft",
"khw",
"ks"
"ks-arab"
],
"PL": [
"pl",
@@ -5242,7 +5222,7 @@
"shn"
],
"TJ": [
"tg",
"tg-cyrl",
"ru",
"fa",
"ar"