Commit Graph

1287 Commits

Author SHA1 Message Date
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
translatewiki.net
8fee21de8c Localisation updates from https://translatewiki.net. 2023-05-25 13:20:31 +02:00
translatewiki.net
74085cd0a5 Localisation updates from https://translatewiki.net. 2023-05-22 13:16:59 +02:00
translatewiki.net
9b73e96c2d Localisation updates from https://translatewiki.net. 2023-05-15 13:16:11 +02: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
translatewiki.net
555671c0a9 Localisation updates from https://translatewiki.net. 2023-05-08 13:27:49 +02:00
translatewiki.net
37eb08950f Localisation updates from https://translatewiki.net. 2023-05-04 13:19:15 +02:00
Amir E. Aharoni
c9ba48b906 Update language-data from upstream
Add Crimen Tatar (Romania).

Updating to
d8b9138988
2023-05-04 13:33:19 +03:00
translatewiki.net
fa2899706b Localisation updates from https://translatewiki.net. 2023-04-27 13:20:53 +02:00
translatewiki.net
95e65bf1b0 Localisation updates from https://translatewiki.net. 2023-04-24 13:22:41 +02:00
translatewiki.net
5f527be2d6 Localisation updates from https://translatewiki.net. 2023-04-20 13:18:49 +02: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
translatewiki.net
d164459cc6 Localisation updates from https://translatewiki.net. 2023-04-17 13:18:40 +02:00
translatewiki.net
5e68e67f6e Localisation updates from https://translatewiki.net. 2023-04-10 13:19:18 +02:00
translatewiki.net
27e3a7e5c2 Localisation updates from https://translatewiki.net. 2023-04-06 13:22:54 +02: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
translatewiki.net
289f88737d Localisation updates from https://translatewiki.net. 2023-03-27 17:45:08 +02:00
translatewiki.net
27a3270405 Localisation updates from https://translatewiki.net. 2023-03-23 13:24:14 +01: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
translatewiki.net
92aa012bc7 Localisation updates from https://translatewiki.net. 2023-03-20 13:27:22 +01:00
translatewiki.net
51f9a7b01d Localisation updates from https://translatewiki.net. 2023-03-16 13:19:39 +01:00
wangombe-g
81766b49f1 Remove padding from .uls-filterinput (#448)
Padding hid the search placeholder making it appear cropped.

Bug: T318633

Co-authored-by: Wangombe <ewangombe-ctr@wikimedia.org>
2023-03-14 19:32:25 +05:30
translatewiki.net
236b6ff704 Localisation updates from https://translatewiki.net. 2023-03-13 13:17:28 +01:00
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
translatewiki.net
198e825eeb Localisation updates from https://translatewiki.net. 2023-03-09 13:18:11 +01: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
translatewiki.net
af18da6b00 Localisation updates from https://translatewiki.net. 2023-03-06 13:19:14 +01:00
translatewiki.net
ced4ee08fe Localisation updates from https://translatewiki.net. 2023-03-02 13:22:51 +01:00
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
translatewiki.net
00c7952375 Localisation updates from https://translatewiki.net. 2023-02-20 13:18:08 +01:00
Abijeet
02cd462ec2 jquery.uls.lcd: Add null check for navigationIndex for up navigation 2023-02-16 11:11:11 +02:00
translatewiki.net
36ca765fbe Localisation updates from https://translatewiki.net. 2023-02-09 13:17:48 +01:00
Amir E. Aharoni
0627f0ef32 Update language-data from upstream
Add Hassaniya (mey).

Updating to
f1c2a81beb
2023-01-29 11:23:06 +02:00
translatewiki.net
87f1446596 Localisation updates from https://translatewiki.net. 2023-01-26 13:22:46 +01:00
Amir E. Aharoni
33ded5382c Update language-data from upstream
Add Hindko (hno).

Updating to:
16db71c2bc
2023-01-25 13:59:34 +02:00
translatewiki.net
9fd5044b83 Localisation updates from https://translatewiki.net. 2023-01-23 13:17:05 +01: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
translatewiki.net
0a0ebbf770 Localisation updates from https://translatewiki.net. 2023-01-16 13:17:32 +01:00
dependabot[bot]
faf95ef413 Bump json5 from 2.2.0 to 2.2.3 (#440)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 16:50:01 +05:30
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