Commit Graph

33 Commits

Author SHA1 Message Date
mjbmr
cf7c65207d Update jquery.uls to 9386f1cf94
Change-Id: I4058acac3d88772e60b587a3e1267c642b19b8be
2015-05-27 19:39:23 +00:00
Amir E. Aharoni
feefea4f56 Update jquery.uls data file from upstream
Added Talossan

Change-Id: If570bc02788fc95522020076111b166e6fe3f11c
2015-04-22 23:01:02 +05:00
mjbmr
56ff0fd0c7 Update jquery.uls from upstream
Update to a24f000a6e41796ff0dae69f9d7d92119ac
Change:
  Fix the regions for some languages

Change-Id: I1ed21b1118646487c0febbb0ae6092f4fd4c25ee
2015-04-09 03:46:07 +00:00
Amir E. Aharoni
219d494dbd Update jquery.uls to 03a1baa
Changes:
 * Localization updates
 * Added localizations to new languages
 * Added the ISO 15924 code for the Balinese script to langdb
 * Added languages to langdb:
 ** abs - Ambonese
 ** acf - Saint Lucian Creole French
 ** ban - Balinese
 ** bfa - Bari
 ** bgn - Western Balochi
 ** ciw - Chippewa
 ** cnh - Haka Chin
 ** din - Dinka
 ** dty - Dotyali
 ** jdt - Judeo-Tat
 ** kac - Jingpho
 ** lki - Laki
 ** lkt - Lakota
 ** luz - Southern Luri
 ** miq - Mískito
 ** mww - Hmong Daw
 ** pbb - Páez
 ** rcf - Réunion Creole French
 ** sdh - Southern Kurdish
 ** son - Songhay
 ** zgh - Standard Moroccan Tamazight
 * Corrections in the autonyms in langdb for:
 ** aeb - Tunisian Arabic
 ** cs  - Czech
 ** nap - Neapolitan
 ** rup - Aromanian
 ** ty  - Tahitian

Change-Id: I700444f34c36f6583bdf79e1bfcd4b34de288ff0
2014-11-27 06:24:30 +00:00
Kartik Mistry
d46206baf9 Update jquery.uls to upstream at a8afed3
Changes:
* Update ULS data with latest supplementalData.xml from CLDR

Bug: 62346
Change-Id: I5a5d501b4d056e0c2c80f08bff050ca8246b364c
2014-09-25 04:10:37 +00:00
Kartik Mistry
ecc8bffa73 Update jquery.uls from upstream f2e00432cef
Changes:
* Localisation updates from translatewiki.net
* Change the autonym for Algerian Arabic

Change-Id: I06c8949f11bfba509486264d44dd7e1b51a769c7
2014-08-28 06:07:56 +00:00
Kartik Mistry
cc3525f3cb Update jquery.uls from upstream
Changes:
* Add the Rutul language.
* Localisation updates.

Change-Id: Ia266542574d7ee9b54ba3f2b521751c9dd03a633
2014-07-23 11:53:51 +00:00
Amir E. Aharoni
77fd46e914 Update jquery.uls from upstream
* Add Khakas language
* Fix id for the search box

Change-Id: I331fb7bbbe5ef47f1ae77a1cf600d13004b9c193
2014-06-10 09:52:15 +00:00
Amir E. Aharoni
a1cbd5074a Update jquery.uls from upstream
* Fix ota writing system and autonym
* Clean up conditions code in uls.core
* Localisation updates

Bug: 60815
Change-Id: I2c7bfa55e495fcac6d9e2cf747004ee4a0e46475
2014-04-25 18:02:59 +03:00
Amir E. Aharoni
e1c6eb9323 Update from ULS upstream
* Localisation updates
* Added to langdb:
** Lushootseed (lut)
** Fíntika Rómma (rmf)

Change-Id: Ica4420acdfbb96fec5d884d293978c854cd801ce
2014-03-16 14:37:24 +00:00
Kartik Mistry
80a8a465e9 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Optimize all SVGs.
* Bug 60815: Add rwr and ota to the languages supported by ULS.
* Drop -moz-linear-gradient for images.
* Localisation updates from https://translatewiki.net.

Change-Id: I3455db4ec0b9ffd8f0a29d41e8ef56309e9c59d2
2014-02-20 17:59:20 +05:30
Amir E. Aharoni
f2355dfd65 Updating from ULS upstream
* Localization updates.
* Added localization for Dutch informal.
* Performance improvements - see
  https://github.com/wikimedia/jquery.uls/pull/122

Change-Id: I6a76097722ae7ab2774172838823d73da5050581
2013-12-20 15:24:41 +02:00
Amir E. Aharoni
d7d43e1dbb Update from upstream
Includes the change of all i18n files to Unicode encoding.

Change-Id: I0529696fe541f40c9cdcf8589c9e6b717a921ff9
2013-12-03 20:13:31 +02:00
Santhosh Thottingal
c197309810 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Reduce data size of uls language data a bit by using unescaped unicode
* Move the autonym font to example instead of making part of jquery.uls
* Use attr and prop consistently in jquery.uls.lcd.js
* Remove unnecessary object instance from jquery.uls.lcd.js
* Avoid 'recalculate style' by changing classes conditionally while
scrolling the language list
* Remove non-existing "-ms-linear-gradient"
* Localisation updates

Change-Id: I10b8658e29c03b136b4475c4c69ace33e5628a98
2013-11-01 09:57:48 +00:00
Santhosh Thottingal
63a0dd5666 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls/

Changes:

* Update Autonym font
* Code formatting fixes
* Localization updates
* Language autonym correction and language additions
* Performance fix for region selector

Change-Id: I1da30aa31ad8a4fe430a12fef05c4e6b54fc6648
2013-10-23 20:33:14 +05:30
Santhosh Thottingal
5b16505dc1 Update jquery.uls from upstream
Bug: 49847
Change-Id: I4172445ed39525956b167cd8ee38bbfc676997f2
2013-06-25 19:00:17 +05:30
Santhosh Thottingal
1248d24fb2 Update jquery.uls from upstream
* i18n update
* Fixes Bug 48151
* Adds Syriac language

Change-Id: I9b77b3eb74ce0050bc854c85e62060855c1268cb
2013-05-24 17:45:37 +05:30
Siebrand Mazeland
0bbdabd5ab Update from upstream
Change-Id: If0e2a166c50b1e6c104cb81f01c42e4f22d43c21
2013-04-26 17:31:21 +02:00
Amir E. Aharoni
6168c77924 Don't show tipsy for an unknown language
Includes an update from upstream.

Bug: 46841
Change-Id: I5a221037af72319f2220bb54230a9549046b6024
2013-04-25 19:21:38 +03:00
Santhosh Thottingal
d4cea039b4 Update jquery.uls and make it more modular
jquery.uls RL module split to
* jquery.uls (language selector UI/UX)
* jquery.uls.grid (Foundation grid framework)
* jquery.uls.data (language database)
* jquery.uls.compact (compact mode ULS)

This contains updates from jquery.uls upstream

Change-Id: Iaddb1228c076f698498d3b0554061624b6e433c6
2013-03-26 07:17:58 +00:00
Santhosh Thottingal
a13f9b739d Internationalize ULS
* Integrate jquery.i18n
* Update jquery.uls from upstream and use the build version

Change-Id: I523444b1f6b177f14a4799a455a16a14649b0e1b
2012-09-23 13:12:45 -07:00
Santhosh Thottingal
dd3d214cb5 Misc jshint fixes
* Move the invocation into the parens that contain the function.
* unescaped regex
* Do not wrap function literals in parens unless they are to be
  immediately invoked.

Change-Id: Ib3360f88fb7674af0e857d8a84a91fdac1fd8487
2012-09-04 16:02:28 +05:30
Amir E. Aharoni
126af493b7 (bug 39946) Add Portuguese to WW
Change-Id: I1b54971ae4e4d1ec9e1eac98a46291504d53bb61
2012-09-03 20:04:46 +03:00
Santhosh Thottingal
9354d197d3 Fix Bug 39926 - Australia region inconsistent visibility
Removed AU region, using PA instead.

Change-Id: I088baf7de6d0c0d52a0cf42a159b6d3339793dcc
2012-09-03 18:44:25 +05:30
Amir E. Aharoni
de3abc3315 (bug 38679) Replacing regions NA, LA, SA with AM
Change-Id: Ib484dd9cb0453ec1bd214e0196119b14d96ac128
2012-09-01 10:09:16 +03:00
Niklas Laxström
99d3d152b4 Added/fixed some sami languages
Names taken from (en|fi).wiktionary.org

Change-Id: I6b08417e9a9d65753028d6c5f151b89485542484
2012-08-30 14:35:48 +00:00
Santhosh Thottingal
fde6b18e40 Lazy loading of regions
Also adds landing page feature. But candidate list is hardcoded
for now. Example html file updated.

show method of lcd renamed to render.

Introduced a trigger searchclear
Introduced mw.uls.changeLanguage, setPreviousLanguages
getPreviousLanguages and getBrowserLanguage methods

Region groups re-numbered - from [4, 1, 2, 3] to [1, 2, 3, 4].

Change-Id: Iac1edf628708e6f40e41578df70d40c42f15289a
2012-08-30 14:26:57 +03:00
Amir E. Aharoni
ca411138c7 Adding language presence by territory to langdb
A very simple mechanism for importing per-country language lists
from CLDR to ULS' langdb.

If I understand correctly, we only need languages spoken in a country
ordered by number of speakers. The CLDR data already has it and it should be
mostly useful.

Also added a utility function and a test.

Some tweaks to override the CLDR data are still needed:

* The data as it is omits some useful languages. For example, Amharic is not
  listed in Eritrea.
* Some countries have a very large number of languages. Ideally it's right,
  but is not practical currently, for example India with 75. Maybe
  hand-picking or limiting the choice to top X languages can be useful,
  but requires thought.
* Some language codes are standard, but different from Wikipedia practice,
  for example "pa_Guru" (we just write "pa"). Maybe a mapping of codes
  is needed.

Change-Id: I3c0cd5a9118997ba39a4f3695978e359f3de6956
2012-08-26 10:40:52 +03:00
Amir E. Aharoni
67dd765e13 Add basic information and utils for RTL scripts
Change-Id: Ie01b58cd3627e8f0bf726f0bb296bffb25efcbb5
2012-08-22 18:16:01 +03:00
Amir E. Aharoni
05a878ba9f Added French to NA (Quebec), SA (Guiana) and WW
Also updated tests accordingly.
Patch originally proposed by Aude.

Change-Id: Id83f6fb80d394e6fac4d7486ba2feae9e9c5bd99
2012-08-15 09:37:16 +03:00
Amir E. Aharoni
3d2e85664f Partly reverting the langdb
Multiple scripts and autonyms are not currently supported by ULS utils.
I commented out the problematic lines and left the current de-facto
situation in Wikipedia.
This is a TODO item, but it needs proper specification.

Also updated the tests somewhat.

Change-Id: I8cdc6ae430f5bb5af4b1890abf6e71a91b6beb3d
2012-08-14 16:46:11 +03:00
pginer
a870263ad9 Fixes to avoid fragmentation in the language list
Adjustments in the language layout to make it easy to scan through
the language list and distinguish the different script groups:

* Removed the empty spacing row between groups.
* Changed the maximum number of languages in a column.
* Changed the order of script groups for better discoverability.

Change-Id: If223ae65bfec256c56d6092628b3999dfd02a119
2012-08-14 13:53:03 +03:00
Niklas Laxström
23763bd247 Added autonyms directly to langdb.yaml
* Can add languages not in MW
* Can get rid of foo / bar names which include different scripts
* Can get rid of directionality marks
* PHP scripts to generate the jquery.uls.data.js is now independent of
  mediawiki and moved the scripts to lib/jquery.uls/data
* No pretty printing for the jquery.uls.data.js and added a 'do not edit' comment.
* Related changes in RL module definition and example html

Change-Id: I9a360dbdec4e9312aa5c76f801424ff95a8550d6
2012-08-14 10:19:38 +00:00