Commit Graph

287 Commits

Author SHA1 Message Date
Santhosh Thottingal
59da3610f4 Jshint fixes for displaysettings
Change-Id: I29549893fa9081f5af3d7108a7515963ecf6bfc9
2012-10-16 16:58:51 +05:30
Santhosh
400f401d4e Merge "(bug 39531) Only show the fonts dropdown if there are fonts" 2012-10-16 09:05:30 +00:00
Siebrand Mazeland
b3a4705ecc Fix I6cd69962: Put files in the correct folder.
Change-Id: I8b01150c892bb3ac770c563616e2c742143fe408
2012-10-16 00:43:20 +02:00
Translation updater bot
60b26de113 Localisation updates from http://translatewiki.net.
Change-Id: I6cd699629b55d5b65029647dc2492e2ff38596f2
2012-10-15 22:35:38 +00:00
Translation updater bot
0dcfb6d28d Localisation updates from http://translatewiki.net.
Change-Id: I6fe20fa31c0ec7dfdcb50a43da703fe856a20c7e
2012-10-15 20:09:53 +00:00
Amir E. Aharoni
0385ed8bfb (bug 39531) Only show the fonts dropdown if there are fonts
The Display settings template is wrapped in a new <div>
to allow easy $template.find() queries.

This change requires a change in jquery.webfonts, that makes
the lib function return an empty list when there are no fonts:
https://github.com/wikimedia/jquery.webfonts/pull/1

Change-Id: Ief5a920439df340360a44ca95de2a7f070b96d5d
2012-10-15 17:00:31 +02:00
Santhosh Thottingal
1276a35f31 Check for window.GEO in getCountryCode
Followup of Id8d7356e

Change-Id: Ib89d72d35e69742797ffb29c0eb10897c410cc83
2012-10-15 11:01:19 +05:30
Santhosh
148afd77fb Merge "Fix Hebrew L10n" 2012-10-14 11:32:20 +00:00
Santhosh Thottingal
b04a9bcced Fix some TODO items in font repository
* upstream URLs

Change-Id: I4f2333c5aacab32e27347f056a1197d45b8b0baa
2012-10-14 14:59:45 +05:30
Amir E. Aharoni
fc6a632f94 Fix Hebrew L10n
Change-Id: I17d9dee1c056c7bd806c8cc77625e23cf371ac64
2012-10-13 21:44:39 +02:00
Santhosh Thottingal
c19c0b4db7 Fix Bug 40714 - ULS geoclient needs proper interface
Change-Id: Id8d7356ec75e8652c75927736a60b916dd069c28
2012-10-13 20:02:32 +05:30
Amire80
702d45286e Merge changes I1e913e08,I898bcf6e
* changes:
  Update jquery.i18n from upstream
  Load the fallback locales
2012-10-13 11:12:48 +00:00
Santhosh Thottingal
3ca9bbd8c3 Merge "Add .jshintrc" 2012-10-13 06:19:27 +00:00
Nikerabbit
488d4bae45 Merge "Removed "Select prefered font" heading" 2012-10-12 19:31:39 +00:00
Amir E. Aharoni
9576538e21 Update from GitHub
Change-Id: I3af46eea6dd81f09710157db1f3a239c623cef6b
2012-10-11 12:21:33 +02:00
Amir E. Aharoni
2ad892ae81 Removed "Select prefered font" heading
It seems redundant to me: There are one or two dropdown menus for
selecting fonts, with pretty clear labels.

Change-Id: If6134997b7c34eeb32efed1dcee13c61d8af7750
2012-10-11 08:41:09 +02:00
Santhosh Thottingal
3dc66fd34c Add .jshintrc
Change-Id: I2d2ee30da8bf6dad928e1027e67537310eb103dd
2012-10-10 18:07:18 +05:30
Santhosh Thottingal
f667c41d51 Update jquery.i18n from upstream
Change-Id: I1e913e08a45a899343eef84595374afdc76dff20
2012-10-10 17:54:51 +05:30
Santhosh Thottingal
da05b4e305 Load the fallback locales
To avoid message keys appearing for non-translated strings in a locale

Change-Id: I898bcf6ee4085054ae956740ba8d87f8e5ebee27
2012-10-10 17:53:19 +05:30
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