Commit Graph

331 Commits

Author SHA1 Message Date
Santhosh Thottingal
4818545939 Add a more settings link instead of the help link
It opens the input settings panel of ULS

Change-Id: I6d22585f735073d3d7d3e59eba24befe72238786
2012-10-30 11:33:50 +05:30
Translation updater bot
15b19d9f32 Localisation updates from http://translatewiki.net.
Change-Id: I2171966350bb85266d4ce3762efa6a936963c4ca
2012-10-29 21:52:27 +00:00
Santhosh Thottingal
45acc5d7b3 Update jquery.ime from upstream
Provides overridable help link along with other code cleanups

Change-Id: I78b8cdcd3ca53c9008674fc775e98aa9cf1e5764
2012-10-29 16:18:49 +05:30
Amire80
8a0845ee55 Merge "Move the IME customization code out of document.ready" 2012-10-29 10:31:46 +00:00
Amire80
c111f46c92 Merge "Remove unused settingspanel.js" 2012-10-29 09:39:27 +00:00
Santhosh Thottingal
87c7d50b01 Move the IME customization code out of document.ready
Change-Id: If358cb1639b4a7e847aefac8f4b7b1923209f76d
2012-10-29 14:32:44 +05:30
Santhosh Thottingal
1c72077c89 Cleanup
whitepace, unwanted fixmes, wrong comments, jshint

Change-Id: I571b2b3a7e9fbbe7c93262ee9783fbe334d9170e
2012-10-29 14:27:40 +05:30
Santhosh Thottingal
3a621cbfea Remove unused settingspanel.js
This was added in the assumption that there will be common code between
input settings and font settings. After development of both, it turns out
that there is not much common code

Change-Id: Id424122e515e9fa1f74030b0077c35835e6f15fa
2012-10-29 14:19:11 +05:30
Santhosh Thottingal
fc4ca9f823 Callback for preference save action is optional
$.noop() was wrong. Changed it to $.noop as callback

Change-Id: Iff935e1a9c1b364efd947ce1bff785dacb81570e
2012-10-29 10:34:43 +05:30
Santhosh Thottingal
e12f80ee75 Save the ime preference when disabled
This was causing unwanted activation of IME across page visits

Change-Id: Ibbcb5494154770ca363f8baf8e975973a393f7e2
2012-10-29 10:25:48 +05:30
Translation updater bot
08045dc2e9 Localisation updates from http://translatewiki.net.
Change-Id: I03d4fee39a51205cb71b36caf3eeb2d28c51efb2
2012-10-28 21:17:17 +00:00
Translation updater bot
fbd6b2b134 Localisation updates from http://translatewiki.net.
Change-Id: Ie2c35e4bd6260ba60e63c2cd571072d49bc83ed5
2012-10-27 21:15:59 +00:00
Siebrand
7590d846ab Merge "Guard for web execution" 2012-10-27 12:38:05 +00:00
Translation updater bot
234bee5c2c Localisation updates from http://translatewiki.net.
Change-Id: Ic30e5a8a1c83f1cf0fb913f821cc848e56aba170
2012-10-26 19:44:47 +00:00
Niklas Laxström
8529ed7377 Guard for web execution
Change-Id: I4cac7035a9b80865c3ff5a709f5d7d7c5e5cada4
2012-10-26 19:35:00 +00:00
Santhosh Thottingal
4adb53b01f Show languages with Input methods in the language selector
When accessed from ... of input settings.

Change-Id: I553f1052143c56d5e4e96a2d62d1c3bc35eb4a02
2012-10-26 15:10:56 +05:30
Santhosh Thottingal
5cbad377e0 Update jquery.ime from upstream and a fix in default preferences
Default preferences are kept while loading from localstorage. It may
be empty first time. Handling that case.

Change-Id: If5780006120e401a4df1171146760692b8963363
2012-10-26 08:54:19 +00:00
Amire80
66b2badb5c Merge "CSS, tooltip fixes for the more button in IME selector menu." 2012-10-26 08:51:56 +00:00
Santhosh Thottingal
3ef527960c CSS, tooltip fixes for the more button in IME selector menu.
Change-Id: Ic1ace1191ad9745c9f02be4e5938ce3fb53da8b9
2012-10-26 10:49:45 +02:00
Amire80
835e4f1dbd Merge "Avoid lazyloading when used for input method language selection." 2012-10-26 08:24:28 +00:00
Amir E. Aharoni
98bb1c200c (bug 40693) Refactor font selector creation code
Change-Id: Id9560ad326cbd5202553da872b5fb0254c074109
2012-10-26 07:11:53 +00:00
Santhosh Thottingal
2fb85713cb Avoid lazyloading when used for input method language selection.
That list is small and we can load all the languages initially.
Fixes the scroll not appearing issue. Also fixes English being
appended to America region on scroll

Change-Id: Ic70d3ea30dc0ccf33a172361e0b50c07ed8ff82b
2012-10-26 11:14:03 +05:30
Santhosh Thottingal
10279414ed Update jquery.uls from upstream
Change-Id: I77792a9f48bc3b8d030cdaef5fd2bfb9bd4e4699
2012-10-26 11:14:03 +05:30
Santhosh Thottingal
f13e474e43 Input method integration with ULS
The file ext.uls.settingspanel.js is a draft for common
code in the different settings panels.

Change-Id: I057274f16b27b2c18d43d41c1d43f485a18ef0bf
2012-10-26 11:14:02 +05:30
Santhosh Thottingal
90de05cb97 Make the setting item toggle on click
Selection was not removed from other items when clicked.

Change-Id: Ie460ecc6504ccbe2abc217ba2e0a027f407c31cc
2012-10-26 11:14:02 +05:30
Translation updater bot
b486528cdf Localisation updates from http://translatewiki.net.
Change-Id: I330c0fe1a374a77e480a258cf91b79c36a58b1dd
2012-10-25 20:04:01 +00:00
Translation updater bot
0a824d4ac6 Localisation updates from http://translatewiki.net.
Change-Id: Ia8608c6e7f0dd987bb0f6cd7127289133d7bcaa0
2012-10-24 20:04:56 +00:00
Nikerabbit
4c26d822f2 Merge "Simplify the preference system" 2012-10-24 15:54:33 +00:00
Siebrand
99e320eb67 Merge "Make "system" the default font for Hebrew" 2012-10-24 07:07:20 +00:00
Translation updater bot
81abff19e8 Localisation updates from http://translatewiki.net.
Change-Id: Ieea1684b8eab95ae573b70192b9b66b8634eabe3
2012-10-23 20:08:56 +00:00
Santhosh Thottingal
4b09afb2ba Simplify the preference system
* Just use key,value system and drop the concept of groups
* Abstract the preferences for each type of systems(display, input)
  to have meaningful APIs

Change-Id: I25423667adf6ca181a4027cdfc4ed378f36a94ba
2012-10-23 09:59:26 +05:30
Translation updater bot
cf5eefcaf6 Localisation updates from http://translatewiki.net.
Change-Id: Ib9661c887265386b3792d0a25943d2a6d8868993
2012-10-22 18:38:01 +00:00
Translation updater bot
53f87b78b7 Localisation updates from http://translatewiki.net.
Change-Id: I776a6bb8ad68d1d0499913d453dc514dfc3407d1
2012-10-22 01:52:12 +00:00
Amir E. Aharoni
ebfc81d058 Make "system" the default font for Hebrew
"Miriam" was used for initial experimentation. It shouldn't be
the default, becase people complain repeatedly, and rightly, that
it's too small and hard to read.

Change-Id: Ie791ed66acdf71a20275884c39208602bddb06cc
2012-10-21 17:29:22 +02:00
Translation updater bot
4cc000543a Localisation updates from http://translatewiki.net.
Change-Id: I0288a2f586034fd8c28ca47ba74e27ad8c793b9c
2012-10-20 10:25:42 +00:00
Translation updater bot
6db0b62b24 Localisation updates from http://translatewiki.net.
Change-Id: I9c72a0d3a3377a52b1609db9665ca3986020ebd5
2012-10-19 20:22:08 +00:00
Translation updater bot
43c56b2a3a Localisation updates from http://translatewiki.net.
Change-Id: Ia746b52751f8a8e95339fb08021ff631e4e5058a
2012-10-18 19:24:15 +00:00
Translation updater bot
cbb6159086 Localisation updates from http://translatewiki.net.
Change-Id: Ib0e98def5cf58ea914ba1e990749d419790a68d8
2012-10-16 19:20:57 +00:00
Amire80
83b912d683 Merge "Use default font only if webfonts is enabled." 2012-10-16 12:07:50 +00:00
Amire80
c04b0a83ba Merge "JSHint fixes" 2012-10-16 11:56:17 +00:00
Amire80
b9f2ba105f Merge "More jshint fixes" 2012-10-16 11:54:21 +00:00
Santhosh Thottingal
b8b6cc7be7 More jshint fixes
Change-Id: I132133b183be28165067f2c023304c00a4cb8f76
2012-10-16 17:10:08 +05:30
Santhosh Thottingal
59da3610f4 Jshint fixes for displaysettings
Change-Id: I29549893fa9081f5af3d7108a7515963ecf6bfc9
2012-10-16 16:58:51 +05:30
Santhosh Thottingal
7b30aa7f1a JSHint fixes
* variables in one line
* double quote , single quote consistancy
* Unused variables

Change-Id: Id368190e7c4f46c8ef09deea88a0d5a7b32889ef
2012-10-16 16:55:53 +05:30
Santhosh Thottingal
2d18576bec Use default font only if webfonts is enabled.
Also contains fixes to make code jshint valid.

Change-Id: I40577acfc939512c71ffe607c14a9fe795760588
2012-10-16 16:26:59 +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