Santhosh Thottingal
0b89a50ff6
i18n updates for jquery.uls
...
Change-Id: Iaf7470e0443e4e0124f2b5379045bb2935917f14
2012-11-02 10:38:12 +05:30
Santhosh Thottingal
f6fbf13e05
Update jquery.i18n from upstream
...
Follow up of Id533eb69
Change-Id: Ib32c044433ee6ba8f487a33137a704885003cfbb
2012-11-01 17:43:16 +05:30
Santhosh Thottingal
63d98b05ea
Update jquery.i18n from upstream
...
Change-Id: Id533eb69c2c192f2cb42749214e5bb23d379e404
2012-11-01 11:47:59 +00:00
Santhosh Thottingal
ef8bad5754
Add z-index for the input selector to avoid hiding behind popup divs
...
update from upstream
Change-Id: Ic8ecb1439f4d2862f592426d9463bdea5ac37c83
2012-11-01 16:43:16 +05:30
Santhosh Thottingal
e6c0052d1a
Update jquery.ime from upstream
...
Avoid css inheritance for the selector menu.
Change-Id: I407ff816582be9def0e9802a21e8ad06aa0d45ff
2012-10-31 18:03:32 +05:30
Santhosh Thottingal
b24d629780
Update jquery.ime from upstream
...
- Namespaces for events
Change-Id: Ife372ec4fc3b9610c6a04ce5a94aa2b83b9c933e
2012-10-31 12:52:16 +05:30
Santhosh Thottingal
8069e530e7
i18n for input method settings
...
Change-Id: Id6cf3f24fe355a6757533d3b7f302e3d33cfa0c3
2012-10-30 19:50:35 +01:00
Siebrand
a9aa42bf87
Merge "Update jquery.ime from upstream"
2012-10-30 18:27:20 +00:00
Santhosh Thottingal
7546da7888
Update jquery.ime from upstream
...
Localized named for input methods
Remove capitalize keyboard for English
Change-Id: I3cd64c01adbe9749f8210119070301e0c4cb3488
2012-10-30 20:48:40 +05:30
Santhosh Thottingal
427c94dbbf
Avoid 404s in non-localized locales
...
* Update jquery.i18n - if messageLocationResolver returns false for
a locale, no server hit will be attempted
* Refactor i18n preparation code to a new method
* Use the ULS RL hooks to find out to which locales it is localized,
pass that list to js to avoid hitting server.
* Also avoid directory scanning in each request by putting
the locale list in cache
Fixes Bug 41454
Change-Id: I0c923b35db01b884e2dd55873dd5fb7384434645
2012-10-30 13:53:47 +00:00
Siebrand
c65d916787
Merge "Update jquery.ime from upstream"
2012-10-30 07:27:29 +00:00
Santhosh Thottingal
e10bf2f3ce
Update jquery.ime from upstream
...
Fixes IE8 error on Object.keys
Change-Id: I91e05725ce890edc79b64fbbce3a6e2b920c7216
2012-10-30 11:03:07 +05:30
Amir E. Aharoni
0f8512a627
(bug 39560) Bring fix from upstream
...
Change-Id: I22bb979475511ec6354ff61411248e134c4a14a8
2012-10-30 07:05:49 +02: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
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
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
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
Amire80
702d45286e
Merge changes I1e913e08,I898bcf6e
...
* changes:
Update jquery.i18n from upstream
Load the fallback locales
2012-10-13 11:12:48 +00:00
Amir E. Aharoni
9576538e21
Update from GitHub
...
Change-Id: I3af46eea6dd81f09710157db1f3a239c623cef6b
2012-10-11 12:21:33 +02:00
Santhosh Thottingal
f667c41d51
Update jquery.i18n from upstream
...
Change-Id: I1e913e08a45a899343eef84595374afdc76dff20
2012-10-10 17:54:51 +05:30
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
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
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
f102417791
Update jquery.i18n from upstream
...
Change-Id: I08eca83de39963b03e6b25b12cf1992f42c047e2
2012-09-24 23:23:01 -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
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
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
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
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
Santhosh Thottingal
8134f523dc
Add grunt to jquery.uls
...
This library is supposed to be hosted outside WMF gerrit. So adding a
build, test system.
* Add js lint and css lint
* minifier for css and js
* css lint does not pass now.
Change-Id: Iaadfad786f5de4b2ab95e24d3ea4f1d21952af75
2012-09-05 15:03:54 +03:00
Santhosh Thottingal
62a8d4f8fd
Update version from upstream
...
* Adds exclude option
Change-Id: Iaa220abf0bc11c26b13a481e1fbf3b307a0e9d0b
2012-09-05 13:46:58 +05:30
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
Siebrand
b4b3a4894d
Merge "Fix Bug 39921 - World wide languages need not be repeated in all regions."
2012-09-03 16:58:27 +00:00
Siebrand
65f63a143b
Merge "Fix Bug 39926 - Australia region inconsistent visibility"
2012-09-03 16:39:54 +00:00
Siebrand
9b185f9f35
Merge "Fix Bug 39829 - Language Selection does not work while using Language Code"
2012-09-03 16:35:12 +00:00
Santhosh Thottingal
97cbd51b49
Fix Bug 39922 - The "No results found" view lacks suggested languages
...
noresultsview is part of uls.lcd now, moved the html template too.
Change-Id: I9aee0ab1b62e61c3ec0e2c89f7d07b7a4432ef33
2012-09-03 19:31:41 +05:30
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
Santhosh Thottingal
3609e1f42e
Fix Bug 39829 - Language Selection does not work while using Language Code
...
This happens when you type language code and hit enter very fast, without
a pause. A matched language is not available when enter is hit, so it goes
noop.
Handled this special case by checking whether the input is a valid language
code and calling onselect on it.
Change-Id: Icaf809f8db8162264d990247a164449b02b2f418
2012-09-03 18:18:53 +05:30
Santhosh Thottingal
7a64e48321
Fix Bug 39921 - World wide languages need not be repeated in all regions.
...
Change-Id: I4470a2a7976df17f6f0f8f97d15ce12163cc3c27
2012-09-03 18:10:31 +05:30
Niklas Laxström
01b41b9783
Message consistency
...
* Removed title case
* "language used for menus"
Change-Id: If5c0323f5e49f2e71a3b6257b62ce5a08c74704c
2012-09-03 09:10:08 +00:00
Santhosh Thottingal
472cb8ba55
Fix Bug 39535 Recent languages in languages settings
...
* Refactor the code for frequent languages and introduce
mw.uls.getFrequentLanguageList
* Use it for showing previous languages in language settings
* Show the frequent/common language list in the language selector
opened from display settings.
Change-Id: Ic0f8ea6b9e9ba137b22649e8425fce8014ad456c
2012-09-03 08:46:47 +00:00
Amir E. Aharoni
de3abc3315
(bug 38679) Replacing regions NA, LA, SA with AM
...
Change-Id: Ib484dd9cb0453ec1bd214e0196119b14d96ac128
2012-09-01 10:09:16 +03:00
Santhosh
953e0fb60b
Merge "Fix to allow using the ULS when it is bigger than the viewport"
2012-08-31 11:03:10 +00:00
pginer
70b0dc79fb
Fix to allow using the ULS when it is bigger than the viewport
...
Small fix that make global scrolling to affect the ULS (using absolute positioning instead of fixed).
It solves the problem behind bug 39414 without the need for making the window draggable.
Change-Id: Icc3ca81c4b48040b38a5efb42422bdb53e0e2422
2012-08-31 12:16:11 +02:00