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
a4bc253c92
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
29df0255d5
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
f54835f163
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
0eb8e84e8a
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
eca5c5f53c
2023-07-17 12:40:41 +05:30
Amir E. Aharoni
07452b3ca1 Update language-data from upstream
Update Betawi autonym (bew)

Updating to:
6deb5b2ce2
2023-06-12 18:18:14 +05:30
Amir E. Aharoni
03396b63c0 Update language-data from upstream
Updating to:
99529ee4cb
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
4198119b5c
2023-05-10 16:54:53 +05:30
Amir E. Aharoni
c9ba48b906 Update language-data from upstream
Add Crimen Tatar (Romania).

Updating to
d8b9138988
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
7c53b11762
2023-04-04 08:45:47 +05:30
Amir E. Aharoni
94f9001a4f Update language-data from upstream
Updating to
2585a1835d
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
52c9e29714
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
f1c2a81beb
2023-01-29 11:23:06 +02:00
Amir E. Aharoni
33ded5382c Update language-data from upstream
Add Hindko (hno).

Updating to:
16db71c2bc
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)

66e804116b
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
f95b5fe675
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
af77a5dc50
2022-10-13 13:35:47 +05:30
Amir E. Aharoni
4b07e4fe64 Update language-data from upstream
Add Iraqi Arabic.

Updating to
7de21c489f
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
80b389b48d
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
0d800daf30
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
0a7203ca51
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
5163dfcfe7
2022-05-31 10:14:32 +05:30
Amir E. Aharoni
6fc0e736d9 Update language-data from upstream
Updating Efik (efi) autonym.

Updating to
e5abc089ff
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
627d49561e
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
35f37b6c5f
2022-05-05 12:46:29 +05:30
Amir E. Aharoni
62bcddbd8f Update language-data
Add Efik (efi).

Updating to
fcb78913c6
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
abc5ad4b4e
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
eb467ffa0f
2022-02-24 18:14:29 +05:30