Commit Graph

474 Commits

Author SHA1 Message Date
Amir E. Aharoni b90f3dfe05 Update language-data from upstream
Add Ebira (igb), Nupe (nup), Petjo (pey).

Updating to
https://github.com/wikimedia/language-data/commit/a4bc253c925b3a4bb19b43c9f0cb77117c0e76a4
2024-02-08 10:51:30 +05:30
Amir E. Aharoni 638462d10d Update language-data from upstream (#473)
* Update Mon (mnw) autonym
  https://phabricator.wikimedia.org/T352776
* Add:
** Gondi (wsg)
** Kolami (nit)
** Nyoro (nyo)
** Tooro (ttj)
2024-01-09 09:25:24 +05:30
Amir E. Aharoni 749c878548 Update language-data from upstream
* Add: apw, kge, kge-arab

Updating to
https://github.com/wikimedia/language-data/commit/29df0255d51ad638ba424f1a8de527cc0367b9d7
2023-11-27 15:36:05 +02:00
Abijeet d16d2be0ee Update language-data to the latest version
Bug: https://phabricator.wikimedia.org/T347849
2023-10-25 15:35:02 +03:00
Jon Harald Søby b686fe6170 Focus ULS button when the language menu is closed with Escape (#468)
Before this, the focus would return to the <body> element (i.e. at
the very top of the document) when you hit the Escape key, instead
of the ULS button, so if you were navigating with the keyboard, you
would have to tab through all preceding focusable elements before
you got back to the language button (and beyond).

Bug: https://phabricator.wikimedia.org/T325009
2023-08-25 18:59:49 +05:30
Amir E. Aharoni 9d623bd958 Update language-data from upstream (#467)
* Add Bole (bol) and Karai-Karai (Karekare; code kai).

Updating to
https://github.com/wikimedia/language-data/commit/f54835f16324b0c81a4fd9422e5ad0cacbd4ff40
2023-07-31 16:10:15 +05:30
Amir E. Aharoni 95e50bb37b Shorten a comment line (#464)
Recommended atomatically at
https://github.com/wikimedia/jquery.uls/pull/463/files
2023-07-24 13:41:50 +05:30
Amir E. Aharoni 372ebc2f77 Update language-data from upstream (#465)
* Add Pintupi-Luritja (piu)
* Internal alphabetical reordering of languages in the data file.

Updating to
https://github.com/wikimedia/language-data/commit/0eb8e84e8ab3d8558ea2036ac28e031e4cffaa6c
2023-07-24 13:41:19 +05:30
Amir E. Aharoni bd70495ada Update language-data from upstream (#462)
* For Buginese add bug-bugi and redirect
  from bug-latn to bug.
* For Serbo-Croatian, add sh-cyrl, and redirect
  sh-latn to sh.
* For Wu, add wu-hans and wu-hant.
* For Yue (Cantonese), add yue-hans and yue-hant.

Updating to
https://github.com/wikimedia/language-data/commit/eca5c5f53c82060cbff90626297a7261a28692b9
2023-07-17 12:40:41 +05:30
Amir E. Aharoni 07452b3ca1 Update language-data from upstream
Update Betawi autonym (bew)

Updating to:
https://github.com/wikimedia/language-data/commit/6deb5b2ce2f7e98b36ccb559f54f0316e3e2ef8f
2023-06-12 18:18:14 +05:30
Amir E. Aharoni 03396b63c0 Update language-data from upstream
Updating to:
https://github.com/wikimedia/language-data/commit/99529ee4cbdf2dd1843fcd40849fb0515c56d1d1
2023-06-06 17:55:55 +03:00
Abijeet 8292fe90e3 uls.lcd: Add auto-correcting code when index goes beyond max index
Leave the error logging code in place in order to identify any
other places where this issue occurs.

Bug: https://phabricator.wikimedia.org/T328956
2023-05-29 11:14:13 +03:00
Amir E. Aharoni 0deb12e5ef Update language-data from upstream
Add languages used in Wikimedia MinT:
* acq
* bem
* cjk
* dyu
* kam
* kmb
* lua
* luo
* taq (taq-latn, taq-tfng)
* umb

Redirects for MinT compatibility:
* als -> sq
* dik -> din
* fuv -> ff
* gaz -> om
* khk -> mn
* kmr -> ku-latn
* knc -> kr
* lvs -> lv
* npi -> ne
* ory -> or
* pbt -> ps
* pes -> fa
* plt -> mg
* quy -> qu
* swh -> sw
* uzn -> uz
* zsm -> ms

Updating to
https://github.com/wikimedia/language-data/commit/4198119b5c3c6f9441f5cbb857dced158a14ace5
2023-05-10 16:54:53 +05:30
Amir E. Aharoni c9ba48b906 Update language-data from upstream
Add Crimen Tatar (Romania).

Updating to
https://github.com/wikimedia/language-data/commit/d8b9138988d0abaadb0a40fa1d158a3fa3a4aa7d
2023-05-04 13:33:19 +03:00
Abijeet ea8af529a2 jquery.uls.lcd: Handle scenario where selected item is undetermined
Throw an error if during keyboard navigation the selected item could
not be determined.

Bug: https://phabricator.wikimedia.org/T328956
2023-04-18 14:32:17 +03:00
Amir E. Aharoni b2ed2ffc02 Update language-data from upstream
Adding Ibibio (ibb).

Updating to
https://github.com/wikimedia/language-data/commit/7c53b11762b1bd6ca33f1ac65ba9943e4817d58a
2023-04-04 08:45:47 +05:30
Amir E. Aharoni 94f9001a4f Update language-data from upstream
Updating to
https://github.com/wikimedia/language-data/commit/2585a1835db759f441281e16500373dccd621d85
2023-04-03 18:49:37 +03:00
wangombe-g 9eddca7d53 Conditionally render search placeholder text (#450)
Placeholder text was appearing cropped in menuWidth = 'narrow' 
This commit serves to conditionally render placeholder text to a shorter 'Search'

Bug: https://phabricator.wikimedia.org/T318633
2023-03-22 19:50:01 +05:30
Abijeet a5a4701792 jquery.uls.lcd: Check if languages are present before highlighting
There might not be any languages if uls empty state is set in ULS
extension
2023-03-13 14:16:12 +02:00
Amir E. Aharoni 5128f8f164 Update language-data from upstream (#447)
Add:
* Haryanvi (bgc)
* Tausug (tsg)

Updating to
https://github.com/wikimedia/language-data/commit/52c9e2971432dd6c08d95aea38e49081425a268d
2023-03-08 18:30:52 +05:30
Amir E. Aharoni f5779eceb1 Update language-data from upstream
* Replace ajp with apc for Levantine Arabic.
* Add variants: en-us, nrf-gg, nrf-je
* Add Láadan (ldn)
* Add CQ region (backwards compatibility)
2023-02-27 08:33:20 +02:00
Abijeet 02cd462ec2 jquery.uls.lcd: Add null check for navigationIndex for up navigation 2023-02-16 11:11:11 +02:00
Amir E. Aharoni 0627f0ef32 Update language-data from upstream
Add Hassaniya (mey).

Updating to
https://github.com/wikimedia/language-data/commit/f1c2a81bebe8f39d689b1d1ad627057e4797b0f3
2023-01-29 11:23:06 +02:00
Amir E. Aharoni 33ded5382c Update language-data from upstream
Add Hindko (hno).

Updating to:
https://github.com/wikimedia/language-data/commit/16db71c2bc397fef0e2b6b0e47765b952d735b6a
2023-01-25 13:59:34 +02:00
Abijeet 6f1c6a4743 Fix line length warnings 2023-01-16 15:04:12 +02:00
Abijeet cfbfc5d2ff Remove unused variable and add uls prefix for CSS class 2023-01-16 15:04:12 +02:00
Abijeet 606697ae7c Fix issue with moving cursor location when pressing arrow keys 2023-01-16 15:04:12 +02:00
Abijeet f6b1e5cc6e Add some comments to the code 2023-01-16 15:04:12 +02:00
Abijeet 453cc37341 Fix general and usability issues, add some more features
* Scoll to currently highlighted item if its not visible.
* Fix navigation when list is filtered
* Add support for selecting highlighted item by pressing enter
2023-01-16 15:04:12 +02:00
NikG 31bd5c43db Set navigation index to the selected language item index on hover 2023-01-16 15:04:12 +02:00
NikG d7f7927ec3 Add caching for language option list items 2023-01-16 15:04:12 +02:00
NikG f3f14a2098 Fix lint errors 2023-01-16 15:04:12 +02:00
NikG cd1452eb76 Enable up/down keys for navigating the ULS menu 2023-01-16 15:04:12 +02:00
Amir E. Aharoni b23041a2a3 Update language-data from upstream (#442)
* Add Arbëresh language (aae)

https://github.com/wikimedia/language-data/commit/66e804116b68c87c7d162ee5535b2ee052621a20
2023-01-11 16:37:52 +05:30
Amir E. Aharoni 78d3abcd8d Update language-data from upstream
* Use turned comma in the autonym of Hawaii (haw)
* Add Igala (igl)

Updating to
https://github.com/wikimedia/language-data/commit/f95b5fe6758d5d9a1d899392e39bc6c6ff4c45f1
2023-01-11 13:24:24 +05:30
Amir E. Aharoni ea2197b73d Update jquery.uls from upstream
Add:
* Monegasque (lij-mc)
* Norwegian Hognorsk (nn-hognorsk)
* Varieties of Rhetoromanian (rm-puter, rm-rumgr,
  rm-surmiran, rm-sursilv, rm-sutsilv, rm-vallader)
* Manado (xmm)
2022-12-07 17:10:16 +05:30
wangombe 257fd1a837 Add Berom and Nzema languages
Updating to:
wikimedia/language-data@4ecd1d32
2022-12-05 12:13:02 +03:00
wangombe 5ae47c1b43 Update language-data from upstream
* Add Dagaare (dga), Kʋsaal (kus), (ajp) languages
* updates to 	South Levantine Arabic (ajp)
2022-12-01 16:05:03 +03:00
Amir E. Aharoni ce15e82ad8 Update language-data from upstream
Add Magahi (mag).

Updating to
https://github.com/wikimedia/language-data/commit/af77a5dc50a8c995197ac3586ff21415319641bd
2022-10-13 13:35:47 +05:30
Amir E. Aharoni 4b07e4fe64 Update language-data from upstream
Add Iraqi Arabic.

Updating to
https://github.com/wikimedia/language-data/commit/7de21c489f564008103f668da1587059c1be0ca4
2022-09-07 16:39:09 +05:30
Amir E. Aharoni cd13f0af75 Update language-data from upstream
* Update Iñupiaq (ik) autonym.
* Add Esan (ish).
* Add Makassarese (mak) in Latin and Buginese.
* Updates in regional data.

Updating to
https://github.com/wikimedia/language-data/commit/80b389b48ddbf4b69d93bba089c195e09f354a04
2022-08-29 18:35:48 +05:30
Amir E. Aharoni 677d9c5ae2 Update language-data from upstream
* Add Kalanga (kck), Wolaytta (wal), Yonaguni (yoi)
* Fix capitalization for Bunun (bnn).

Updating to
https://github.com/wikimedia/language-data/commit/0d800daf30c84732984763b93eabe1326dfd4b23
2022-07-20 12:16:52 +05:30
Amir E. Aharoni 9584756187 Update language-data from upstream
* Add Bura (bwr)
* Add Tai Nua (tdd), with Thai Le writing system (Tale)
* Change autonym of Kanuri (kr)
* Add Occitan (oc) as a language of Spain
* Remove Tajik Cyrillic (tg-cyrl) as a language of Pakistan

Updating to
https://github.com/wikimedia/language-data/commit/0a7203ca51b4e5e56dab29daa03efd77a730411c
2022-06-13 12:40:25 +05:30
Amir E. Aharoni 1995aeb868 Update language-data
* Add Tai Nüa (tdd).
* Add Occitan to Spain.

Updating to
https://github.com/wikimedia/language-data/commit/5163dfcfe785289293ecf7df3e61393191c89828
2022-05-31 10:14:32 +05:30
Amir E. Aharoni 6fc0e736d9 Update language-data from upstream
Updating Efik (efi) autonym.

Updating to
https://github.com/wikimedia/language-data/commit/e5abc089ffba354edfeb20ec3dc85725b14f3051
2022-05-23 17:30:05 +05:30
Amir E. Aharoni 54864601fa Update language-data
* Add Campidanese Sardinian (sro)
* Auto-update territory info: add Obolo (ann) to Nigeria
  and Pijin (pis) to Solomon Islands.

Updating to
https://github.com/wikimedia/language-data/commit/627d49561e9d1728c2a82d09a4be40a665231c9a
2022-05-18 20:14:51 +05:30
Amir E. Aharoni f422273d0f Update language-data from upstream
* Fix location for Karay-a (krj) and Livvi-Karelian (olo)
* Fix autonyms for Kinyarwanda (rw), Okinawan (ryu),
  and Kokborok (trp)
* Remove Eastern Yiddish (ydd), which is practically
  identical to Yiddish (yi).
* Remove "Kana" as a separate writing systems, and merge it with "Jpan".

Updating to
https://github.com/wikimedia/language-data/commit/35f37b6c5fa14881bb9e107edc3d52c20272636e
2022-05-05 12:46:29 +05:30
Amir E. Aharoni 62bcddbd8f Update language-data
Add Efik (efi).

Updating to
https://github.com/wikimedia/language-data/commit/fcb78913c6f220e0699b768b4bfde24bb4aab674
2022-04-13 13:00:57 +05:30
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