Commit Graph

269 Commits

Author SHA1 Message Date
Amir E. Aharoni
9576538e21 Update from GitHub
Change-Id: I3af46eea6dd81f09710157db1f3a239c623cef6b
2012-10-11 12:21:33 +02:00
Santhosh
c3b26001d0 Merge "(bug 39535) Fix the creation of language buttons" 2012-10-10 11:11:35 +00:00
Santhosh
d9885d1522 Merge "Refactor font selection HTML" 2012-10-10 11:01:46 +00:00
Amir E. Aharoni
5a4667c3fd Delete utils.data tests - they were moved to the jQuery component
Change-Id: Iead160c5845a64d4c0106037c2c7cf4d51eadae7
2012-10-10 16:27:20 +05:30
Amir E. Aharoni
2c86954cfb Add Hebrew localization
It's manual, but it makes testing in RTL much easier.

Change-Id: I7aa0b172169ab1a449d394f38f7dce1247b0cb95
2012-10-09 20:20:59 +02:00
Amir E. Aharoni
3699095401 (bug 39535) Fix the creation of language buttons
Assure that the language buttons in the display settings always
show the content and the UI language and that all the buttons are
filled with some language (by assuming major world languages if
nothing more likely was found).

Also other fixes:
* Add lang and dir attributes for the languages.
* General refactoring and better variable names.

Change-Id: Ie6a93439237b389179ebc6c4a5df34c1566a5e12
2012-10-09 17:21:00 +02:00
Santhosh Thottingal
069d9e6915 Update jquery.uls
Also update the onReady callback as per the changes in jquery.uls

Change-Id: I9e4968af87258558f7a94900bd9bc735cb0d9662
2012-10-09 19:59:20 +05:30
Amir E. Aharoni
2991ed18f3 Refactor font selection HTML
Added whitespace for readability
and comments to understand the different parts of the HTML template.
Also removed an unneeded closing </span>.

The output is not supposed to change.

Change-Id: I43891170eb6fac03370cf1d71cd399d2de3c4da8
2012-10-09 12:44:59 +02:00
Amir E. Aharoni
8d31bf8c07 Updated util functions names after refactoring
jquery.uls.js is just updated from GitHub.

Change-Id: I506ab810d7136ba5d96dfdd469394a843110f8de
2012-10-08 20:50:49 +02:00
Santhosh Thottingal
93ced2526e Merge "Fix Bug 40539 Add Opendyslexic font" 2012-10-08 15:55:26 +00:00
Amir E. Aharoni
22c20f9dbb Update from GitHub
Utils refactoring
CSS lint
bug 39932: Clicking twice in a region moves the focus to the Worldwide region

Change-Id: I7853700a077db8de7dbe3c57fd71b829784f2fe6
2012-10-08 11:41:39 +02:00
Amir E. Aharoni
a0aae6d1b9 Update from GitHub
RTL and other bug fixes

Change-Id: I8d9040a1c140f0ff8f3dd430ff33f9602895f4fe
2012-10-07 17:19:20 +02:00
Santhosh Thottingal
d9215c0585 Fix Bug 40539 Add Opendyslexic font
Added it as non-default font for following languages
en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy

Change-Id: Ia4b18cf0429dc9e07c89b84cdae16a8325806618
2012-10-05 10:36:53 +05:30
Translation updater bot
5c8a11482c Localisation updates from http://translatewiki.net.
Change-Id: I6c081054e0aaa79a2328dea320dd5ea8b81965b9
2012-10-02 14:02:54 +00:00
Nikerabbit
4709c97fd4 Merge "Make the previous language link work" 2012-10-02 07:28:34 +00:00
Nikerabbit
f78ee750e8 Merge "Respect the system default font for languages" 2012-10-02 07:25:29 +00:00
Santhosh Thottingal
99936c2b80 Update the test for webfonts
This was broken when jquery.uls moved to github

Change-Id: I874fb96301726792e7d22d66e71406192c44cf9f
2012-10-02 10:24:09 +05:30
amire80
a8399e210f Make the previous language link work
Refactored the showing and hiding functionality of tipsy tooltip.

Also made the class name clearer.

Change-Id: I54972e3c8039e97cceced9fce3abb10d34fbf098
2012-10-02 09:59:10 +05:30
Santhosh Thottingal
68c69fab6f Respect the system default font for languages
If the default font is 'system' do not apply fonts.
Required for languages like English

Change-Id: I4f798c62856d33220b3b1d2d87451bcf6dca41d8
2012-10-02 09:34:39 +05:30
Reedy
10edd7848e Merge "Small tweaks." 2012-09-29 17:54:08 +00:00
Reedy
da0a9e2b8f Merge "Add profiling." 2012-09-29 17:53:36 +00:00
Siebrand Mazeland
b2ff1cb8ce Small tweaks.
* Assign $languageToSave earlier; more efficient.
* Double quotes to single quotes.
* Whitespace update.

Change-Id: I7028ac3ce5cbbe3611f33290331d0a014a073bf5
2012-09-29 00:59:53 -07:00
Siebrand Mazeland
126bf95079 Add profiling.
Change-Id: I965ae08f801dfd24cd7fd5cc69087da7949f8a51
2012-09-29 00:57:44 -07:00
Santhosh Thottingal
68f63e003c Explicitly mark the default fonts for many languages
Change-Id: Ib01e0dbf1bbd2bff6ff8e3aabd6a5ddbdcea6e6b
2012-09-26 21:26:08 -07:00
Santhosh Thottingal
e7cfb6efcb Removed a trailing comma in message file
Change-Id: I48929297cd3ddcd1c82aaf5ea0ff3826161cc2e8
2012-09-26 21:03:25 -07:00
Santhosh Thottingal
018f8418ad Internationalize Mediawiki ULS extension
Change-Id: I17d6c4d6322e30c96a48788dd34dc11530b809b5
2012-09-25 16:39:40 -07:00
Translation updater bot
85bc037349 Localisation updates from http://translatewiki.net.
Change-Id: Iadc7df08a103b06589240abf5429f470135b719a
2012-09-25 19:50:58 +00:00
Santhosh Thottingal
f102417791 Update jquery.i18n from upstream
Change-Id: I08eca83de39963b03e6b25b12cf1992f42c047e2
2012-09-24 23:23:01 -07:00
Santhosh Thottingal
8a570ec603 Updated README
Change-Id: Iddf21725a939884e7d45ae6520d6876b889ab6c5
2012-09-23 21:59:18 -07: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
Siebrand Mazeland
e1a4f7f0cb After training the PHPStorm code formatter.
See https://github.com/siebrand/MediaWiki-PHPStorm

Issue remains with anonymous functions in JavaScript.

Change-Id: I2b520f8df127452acf02deb659277a6465e6ca59
2012-09-17 17:10:59 -07:00
Santhosh Thottingal
569b09712c Wrong exclude selector for webfonts
* It is not textbox. It is textarea. :(

Change-Id: Ib6b170fe09101448ccf231c5c3244b7ad3f7b291
2012-09-17 09:25:48 -07:00
Siebrand
d4a46dccd2 Merge "Fix Bug 39560 - Monospace font setting overridden" 2012-09-16 16:53:50 +00:00
Translation updater bot
e1e51bacaa Localisation updates from http://translatewiki.net.
Change-Id: I7ff1d84288b76155612b73fa16739f8d1e371edb
2012-09-15 19:54:36 +00:00
Santhosh Thottingal
6e1f652abc Update test cases and remove references to AU region
AU region does not exist, It was merged with PA

Change-Id: Icb0e8ec92b85db3b771d32c8728c02fd09c29a41
2012-09-14 22:17:15 -07:00
Santhosh Thottingal
ac79f8a205 Fix the broken default module rendering
defaultModule option for language settings is module name string
and not the module itself

Change-Id: Ief84cc723157df43c7ec57d6576a707df09b9e2d
2012-09-12 15:30:33 -07:00
Santhosh Thottingal
5c07275300 Fix Bug 39686 - Cancel button in settings should go to the previous context
* Add an onClose option for language settings
* Add a close method to language settings and display settings
* some documentation and cleanup

Change-Id: I3040e0740bd8a9f9f7d3ad508a3003415a24e7a9
2012-09-12 10:52:58 +05:30
Translation updater bot
997e0ac512 Localisation updates from http://translatewiki.net.
Change-Id: I479bebd142d4443ebe5eacd677032bbe943dfb61
2012-09-11 19:35:42 +00:00
Niklas Laxström
ceb1a80eea ext.uls.geoclient should not break if it runs before ext.uls.init
Change-Id: If4c8203bccd4287a94de6b22210f067852241614
2012-09-09 07:55:23 +00:00
Santhosh Thottingal
5b728ec413 User region names instead of region codes
* Till i18n is in place, use a workaround to show region names in
  English

Change-Id: I6e14ab67600ad32263f04eb0aa6b931177425e5a
2012-09-09 07:50:16 +00:00
Santhosh Thottingal
0b2b993b19 Correct selectors, and formatting
Fix the issues from Ib2c8cfed
And for ID based selectors removed the element name.

Change-Id: I0016246c3a32b2b3696a1da1c04f507275c2267c
2012-09-07 18:55:02 +05:30
Santhosh Thottingal
805482d9cd Fix Bug 39529 - Display settings section should be selected by default
* add a parameter acitve to renderModule so that it is highlighted
  and active
* move the default module render call to renderModule method

Change-Id: I5dca8586dddf1065b4e85642a40c3558f0b6586b
2012-09-07 17:25:02 +05:30
Santhosh Thottingal
5b3f7cc269 Whitespace cleanup, remove deprecated methods
* Fixed many white space issues- mainly whitespace missing before
  function start paranthesis eg: function()
* Removed the deprecated live methods and replaced with on
* Added file documentation for ext.uls.geoclient

Change-Id: Ib2c8cfed1a6ff3859495e707680d5c19882a33e8
2012-09-07 16:47:03 +05:30
Nikerabbit
d29364989f Merge changes I83d4808a,If8ea8c1f
* changes:
  JsHint fixes - Move the invocation into the parens that contain the function.
  Fix Bug 39096 - Narayam compatibility with ULS
2012-09-07 11:07:10 +00:00
Santhosh Thottingal
5ce0dac72d JsHint fixes - Move the invocation into the parens that contain the function.
Change-Id: I83d4808a9daeb6e0d52f77c718f9e384454d8ecc
2012-09-07 13:46:12 +05:30
Santhosh Thottingal
df34d47723 Fix Bug 39096 - Narayam compatibility with ULS
* Correct the event propagation
* Narayam blue background prevents the autocomplete visible. Overriding
 background color with transparent, but that does not look good. May be we
should consider this while designing jquery.ime

Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b
2012-09-07 11:06:30 +05:30
Santhosh Thottingal
6d9bb6f6a5 (bug 39833) Make language code search case insensitive
Change-Id: I67b98f058f969cd2fe9fa22085f8f781b29dce3f
2012-09-06 09:59:35 +00:00
Santhosh Thottingal
b7d61c3607 Fix Bug 39930 - Common languages not always shown in the Worldwide region
Change-Id: I764af7ad88cf79e9e07b96f899f352ad3082df45
2012-09-06 14:15:05 +05:30
Santhosh Thottingal
cc1cca33d7 Fix Bug 39560 - Monospace font setting overridden
* use the exclude option from jquery.webfonts

Change-Id: I5c35c848197ceae0def6cbc31249f887b962365b
2012-09-06 11:18:11 +05:30
Santhosh Thottingal
bad1394c6a Fix the broken region links in 'noresults' screen.
It was commented out in some previous commits.
Also correct the region code of America from NA to AM

Change-Id: I6cec2560393134de1190291e1f49bc0ac4280af0
2012-09-05 18:15:45 +05:30