Commit Graph

476 Commits

Author SHA1 Message Date
Amir E. Aharoni 85c3341aec Update language-data
* Add rsk, fat
* Update Kirundi autonym
* Automatically reorder some language codes in region info

Updating to
https://github.com/wikimedia/language-data/commit/abc5ad4b4ec0055fbde6da676ed22e7e19cea292
2022-03-07 21:37:46 +05:30
Amir E. Aharoni d0a5b92e57 Update language-data
* Add ken, bum
* Update region data for Canada and U.K.
  (automatically from CLDR)

Updating to
https://github.com/wikimedia/language-data/commit/eb467ffa0f812ccc6d02c1c8028d26c3bddd525b
2022-02-24 18:14:29 +05:30
Amir E. Aharoni fe46a2f7ce Update language-data
* Added: fvr, mos, se-fi, se-no, se-se
* Added shy-latn, uz-cyrl, and uz-latn
  for compatibility with MediaWiki.
* Added standard code for "Toki Pona" (tok),
  keeping the non-standard "tokipona" as redirect
  for backwards compatibility.
* Renamed "Sediq Taroko" to "Seediq".
* Added English as one of the languages of Maldives
  (automatically from CLDR).

Updating to
https://github.com/wikimedia/language-data/commit/ed481a74378fa9aac7da82d36e238de2a29778d7
2022-02-02 16:22:57 +02:00
Amir E. Aharoni c10140c12b Upgrade eslint-config-wikimedia to 0.21.0
JavaScript code and comments changes:
* Remove no-multi-str disabling.
* Document $ parameter.
* Replace .substring() with .slice().
* Change assert.ok() to assert.strictEqual() in a test.
2022-01-31 11:13:58 +02:00
Amir E. Aharoni 04ec45d5fd Update language-data from upstream
* Fix Angika autonym to "अंगिका"
* Add Nkore (nyn)

Updating to
https://github.com/wikimedia/language-data/commit/064aebfbda2e77bc6e36a4a3c1b80592d6078713
2022-01-17 18:05:10 +05:30
Amir E. Aharoni 57b52268d2 Update language-data from upstream
* Change autonyms for Nheengatu (yrl) and Abkhaz (ab)
* Add Aleut language (ale, ale-cyrl)

Updating to
https://github.com/wikimedia/language-data/commit/868370a287452e2a02cb8183c5691ca83da8ae4b
2022-01-03 14:19:55 +05:30
Amir E. Aharoni 09c410877d Update language-data from upstream
Add:
* Aja (ajg)
* Logooli (rag)

Updating to
https://github.com/wikimedia/language-data/commit/2ea97c8bd4ad2f56f47824a942b2fb6bdac4b17a
2021-11-15 17:27:14 +05:30
Amir E. Aharoni bc2f80a811 Update language-data from upstream
* Add: agq, gpe, mcn, nmz
* Split nod to nod (Tai Tham) and nod-thai, and add Tai Tham support
* Change Cyrillic-alphabet languages to lowercase
* Update autonym: ksw
2021-11-09 17:05:24 +02:00
Amir E. Aharoni 1b3e4265e6 Update language-data from upstream
Add:
* Levantine Arabic (ajp, ajp-latn, ajp-arab)
* Pa'O (blk)
* Nigerian Pidgin (pcm)
* Paiwan (pwn)
* Sirionó (srq)
* Makhuwa (vmw)

Changed configuration:
* Add Pacific region to Indonesian (id) and Rapanui (rap)
* Add Pacific and America regions to Chinese (zh, zh-hans, zh-hant)
* Remove uppercase from Cape Verdian autonym (kea)
* Change autonym for Lombard (lmo)
* Change autonym of gur to "farefare"

Updating to:
https://github.com/wikimedia/language-data/commit/ceb18ea4dd2efb86c1bb4f7aef2a49bf0c6fbb18
2021-10-11 11:37:17 +03:00
Abijeet e3a9a11840 ULS LCD: Check if region exists before adding languages
The regions displayed on ULS depend on the showRegions parameter
passed to uls.lcd plugin. If a new language and region have
been added to the language data, the region for it will not be
available to showRegion because it's static.

Bug: T187553
2021-09-28 15:58:32 +03:00
Ed S 7a6e559fe5 Update eslint and other devDependencies (#391)
* Update eslint and other devDependencies

* Lint JS in examples/ using eslint-plugin-html (#392)
2021-05-14 15:18:37 +05:30
Amir Aharoni ab929b81d8 Update language-data from upstream
Make 'ha' the primary code for Hausa
instead of ha-latn.

Updating to:
https://github.com/wikimedia/language-data/commit/d56debb089c61c019c77b1c63dc37ae2cf198791
2021-05-11 17:17:55 +03:00
Amir Aharoni 4c124f2d71 Update language-data from upstream
Split ciw to ciw and ojb

Updating to
https://github.com/wikimedia/language-data/commit/4e45e0cd80091f9f45038e81178114fae7bc8cca

For more info see downstream task
https://phabricator.wikimedia.org/T280461
2021-04-27 16:09:23 +03:00
Amir Aharoni 67e4d46f6a Update language-data from upstream
Add the Dargin (Dargwa) language (dar).

Updating to
https://github.com/wikimedia/language-data/commit/06fe4cd2711d6b504ddada85fb7ca9789b9bdf68
2021-04-14 14:29:36 +03:00
Amir Aharoni 4495850b9c Update language-data from upstream
* Add languages bas, bkm, bzj

Updating to
https://github.com/wikimedia/language-data/commit/2ddadd3a7f791f3a4f81911ff8847ec5a313916a
2021-03-31 18:13:07 +05:30
Niklas Laxström 5c7ff63b98 Add options.onPosition and deprecate top and left (#385) 2021-03-22 17:14:10 +05:30
Santhosh Thottingal 990c5402f4 Use sed and a template for generating jquery.uls.data.js
Drop browserify.
2021-03-18 18:56:17 +02:00
Amir Aharoni 3153ae0fc2 Update language-data from upstream
* Add nan-hani
* Update autonym for guc, cjy, cdo

Updating to
https://github.com/wikimedia/language-data/commit/29025c63f2111fa09f9fb47fe7f0ab290b307678
2021-03-08 18:36:22 +05:30
Amir E. Aharoni 1bed61638b Update language-data (#380)
* Add languages: nus, rhg, rmc
* Add variants: pap-aw, tly-cyrl
* Add script: Rohg
* Update data about Talysh

Updating to
https://github.com/wikimedia/language-data/commit/7181b2ecb77421cf400d78c52c86f195cebd101e
2021-03-01 15:57:18 +05:30
Amir Aharoni 5ccc75a8cf Update language-data
Add language gld and guw.

Updating to
https://github.com/wikimedia/language-data/commit/c0f628fb15d9910982829904c17597583828cd9c
2021-01-18 18:20:29 +05:30
Amir Aharoni bf23ab9f3a Update language-data from upstream
Fixed the autonum for the Shilha language.

Updating to
https://github.com/amire80/language-data/commit/4b7cee6c3d4c5ae67f1e4b80f9594fafc92cf8d1
2020-12-31 15:57:19 +02:00
Amir Aharoni ed6d31d7ff Update language-data from upstream
* Add languages: elm, izh, nia, nog
* Change capitalization for koi, olo, vro
2020-12-23 12:33:35 +02:00
Niklas Laxström 670585033e Update language-data
"Fixed" the build script by using a known working version.

Updating to 69074e24757a59ad9a20be4a28ddbe4285ae06a6.
2020-12-09 11:40:32 +02:00
Amir Aharoni 9a1f5c0e5a Return an empty array if there are no languages in territory
Downstream bug:
https://phabricator.wikimedia.org/T265158
2020-11-16 10:19:11 +02:00
jdlrobson 967eec093e Always send event when triggering onSelect
The $.uls function in jquery.uls.core in createLanguageFilter
passes the onSelect function to the
$.fn.languagefilter so the onSelect there should be made
compatible.

Bug: T261973
2020-11-05 11:06:36 +02:00
Amir Aharoni 5b615109ea Update language-data from upstream
Changes:
* Update autonyms for Altay languages (alt, atv)
* Add redirect from cbk-zam to cbk.
  (Addresses downstream bug https://phabricator.wikimedia.org/T263717 .)

Updating to
https://github.com/wikimedia/language-data/commit/51685b542b325d181b163451f8cf6a8404d54a9b
2020-09-29 13:29:25 +05:30
Amir Aharoni 8ba1d8e9a0 Update language-data
Adding languages:
* Altay (alt)
* Obolo (ann)
* Southern Altay (atv)
* Baoule (bci)
* Nuxalk (blc)
* Mara (mrh)

Also update autonym for Madurese.

Updating to
https://github.com/wikimedia/language-data/commit/762dd9c5f0f5efd48494a7b6d2ddac0acc136fb6
2020-07-24 16:35:26 +03:00
Amir Aharoni b332a6587e Update language-data
* Add Madurese (mad) and Vertical Mongolian (mvf)
* Add America region to Venetian

Updating to
https://github.com/wikimedia/language-data/commit/d60d8bd62964d13a55bb6194f6ed8dd9964de484
2020-05-26 12:09:45 +03:00
Amir Aharoni 9d8b9cb69c Update language-data
* Add syl
* Update moe autonym
* Change script and update autonym for ary

Updating to
https://github.com/wikimedia/language-data/commit/4a6e18a1379e5b37cd006e3b3657f3753b25345f
2020-04-28 19:23:08 +05:30
Amir Aharoni d97c2e9d8d Update language-data
* Update sjd autonym
* Move ms-arab a few lines (automatic change from CLDR)

Updating to
https://github.com/wikimedia/language-data/commit/b485f5a1343ba6348faca8e4f4994fefe6c195e6
2020-04-07 16:35:13 +03:00
Amir Aharoni 0b4357621b Update language-data
* Add Chuckhi (ckt)
* Remove shy and szy, which are not standard in CLDR for the territories.

Updating to
https://github.com/wikimedia/language-data/commit/6ca93c0966d9fddbd98f7891a6a8e5605ef679f1
2019-12-17 09:25:06 +05:30
Amir Aharoni 783ee39251 Update language-data
* Rename ais to szy
* Add shy-latn

Updating to
https://github.com/wikimedia/language-data/commit/ecb14194d929ac1dae14f674c185406d6e69ae6f
2019-11-26 23:09:42 +02:00
Ed Sanders d53beca719 Update linters
* Update eslint and stylelint config
* Fix Gruntfile.js to actually run stylelint
2019-11-13 04:14:16 +02:00
Amir Aharoni c4f0fdab15 Update language-data
Adding languages:
* Bajau (bdr)
* Cakma (ccp); also adds support for the Chakma script
* Jeju (jje)

Also adds Aragonese as a language of Spain.

Updating to
https://github.com/wikimedia/language-data/commit/d7a5e8db99c61771ce54c11bdd1744f93583283d
2019-11-08 08:14:33 +05:30
Amir Aharoni e79ea4b4e6 Update language-data 2019-09-03
* Change autonyms for Sunda and Banjar
* Add Osing

Updating to
https://github.com/wikimedia/language-data/commit/c77e9014985b5827a67e17a811fa27a4370768f0
2019-09-03 15:26:15 +03:00
Amir E. Aharoni 0d0bd11860 Update language-data (#347)
* Add awa and mrv
* Update autonyms for min, mni, and sju

Updating to
https://github.com/wikimedia/language-data/commit/ac6fc6786e3caf065191efd43efd011485cc4477
2019-08-29 16:51:33 +05:30
Amir Aharoni d9405c9839 Update language-data from upstream
* Revert the BCP 47 standardization patch. Will be restored some time soon.
* Update autonyms: ban, gcr, hyw, jv
* Add languages: ksw, pov, rej, vai

Updating to
https://github.com/wikimedia/language-data/commit/6313c6a9f8bf9d0efbe967d21fa77be89e8ca3ac
2019-05-21 13:06:45 +03:00
Santhosh Thottingal 4ba3b6b1bc Update jquery.uls.data with latest language-data
*  Add proper BCP 47 names for various languages by cscott
2019-01-18 17:40:02 +02:00
Kartik Mistry 27c21219b4 Update package.json and fix eslint issues (#322) 2018-09-06 15:41:27 +05:30
Amir Aharoni 9ab4deeb4e Update language-data from upstream
Add Montenegrin (cnr).
2018-09-05 17:05:18 +03:00
Amir Aharoni 248e43a76a Update language-data from upstream
* Remove capital letter from the  Armenian autonym
* Update Santali autonym to the Ol Chiki script
* Add Eastern Pwo (kjp)
* Add Fula language to several countris in regions data

Updating to
5e8bf8b95f6123ab7522ec7876c8399ffd3f6e04
2018-09-03 09:07:53 +03:00
Niklas Laxström 9ff574c8cf Update language data to 9384a83
Add cak
2018-08-29 18:40:12 +05:30
jhsoby 61fa235e84 Update language-data from upstream
* Adding Fang (fan)
* Adding Bunun (bnn)
* Adding Garhwali (gbm)

Updating to
wikimedia/language-data@9e30563
2018-08-07 11:45:11 +02:00
Amire80 37651ed7c1 Update language-data from upstream
* Fixing the Fon autonym
* Adding Kaqchikel
* Fixing es-419 spelling

Updating to
https://github.com/wikimedia/language-data/commit/d52eb59fd8149a345b43f4323ec87e927b43e174
2018-06-24 21:54:53 +03:00
Pl217 44bd07f038 Fix onInputChange being called twice
ULS input element had onInputChange() handler attached to
change, textInput and input events.

That caused onInputChange() to be called twice when there is user
input and ULS gets closed, since 'change' event fires when
<input type="text"> element loses focus.

Registering handler only for 'input' is sufficient for the intent.
2018-05-29 15:21:11 +03:00
Pl217 5dfca5fd8a Replace jQuery.proxy() with Function.prototype.bind() 2018-05-28 12:06:38 +03:00
Amire80 2c1b2dd1b8 Group languages in each region by script group
sortByScriptGroup and getLanguagesByScriptGroup are updated from language-data.
(jquery.uls.data.utils should be merged to language-data.)

This resolves downstream bug
https://phabricator.wikimedia.org/T189090
2018-05-22 17:50:44 +03:00
Amire80 4088411430 Update language-data with the Fon language 2018-05-18 20:03:10 +03:00
Amire80 f4f2808f49 Update language-data from upstream
* Add gor and btm
* Update autonym for brx

Updating to
https://github.com/wikimedia/language-data/commit/057affa5a121b2d74e75264fbd45ce885402ae69
2018-04-30 13:51:03 +05:30
Amir E. Aharoni e5ec92f35c Update language-data from upstream (#311)
Add the following languages:
* Northern Ndebele (nd)
* Okanagan (oka)

Update autonyms for the following languages:
* Kurdish (ku)
* Korean (DPRK variant, ko-kp)

Updating to
https://github.com/wikimedia/language-data/commit/aab40a4f6f805261f1afeeda60fc273db26ee464
2018-04-02 14:25:37 +05:30