Commit Graph

364 Commits

Author SHA1 Message Date
jenkins-bot
32a074525c Merge "Remove border-radius from ULS cog" 2013-06-20 13:35:11 +00:00
Santhosh Thottingal
8e27852651 Fonts for nan(Min-nan) - Charis SIL and Doulos SIL
Added Doulos SIL
Mapped Charis SIL to nan

Bug: 47190
Change-Id: I2778f2e432bd9012fc985d8f10708a6ac7153ab3
2013-06-20 15:50:05 +05:30
Santhosh Thottingal
0815b87fe1 Update LinuxLiberine fonts
All fonts are autohinted from upstream
Version: 5.3.0

Bug: 49511
Change-Id: I1ad0c0e4fa2570ae9190be8f3ee8c5d5e21413a8
2013-06-20 11:31:18 +05:30
Santhosh Thottingal
47d4854aba Update Lohit fonts from upstream
All upgraded to 2.5.3 version from upstream
https://fedorahosted.org/lohit/

Bug: 49567
Change-Id: I407fbb84c8466302888d4f3c2390884aee860282
2013-06-20 10:36:05 +05:30
Niklas Laxström
10c1177c1d Remove comma that shouldn't have been introduced
Change-Id: Iaf24bc1cf4ec59fe2c44601eee1a19ccdac757ba
2013-06-19 18:19:42 +00:00
Santhosh Thottingal
7a95d13345 Use content language as default language for ime selector
Change-Id: I9780cefc6585ebcc99bd8a45ccf10ecf6ee54a4d
2013-06-19 10:04:43 +00:00
Niklas Laxström
d9883c90d7 Remove border-radius from ULS cog
Per http://stackoverflow.com/questions/11114636/opera-border-radius-svg-background-bug

Bug: 49379
Change-Id: I197e9e9a8c5afcefc998e302329aa96dc2df33da
2013-06-19 09:54:34 +00:00
Siebrand Mazeland
9ac9163ecf Simplify return statement
Change-Id: I6a7a5c2aae4ead9c14208f67abf9f82ff71e165d
2013-06-17 16:39:03 +02:00
Siebrand Mazeland
1f9bf6f82c Update indentation and newlines
Change-Id: Iac833df12a00949d32f2ce2fc26a657bab3d8229
2013-06-17 16:36:34 +02:00
jenkins-bot
44a5d0c3dd Merge "Validate imeId before rendering" 2013-06-17 09:43:22 +00:00
Santhosh Thottingal
3b3e2da332 Disable Webfonts too for blacklisted browsers
Change-Id: I9feb342b091e00ef0279333018b86045932d68de
2013-06-17 09:33:03 +00:00
Santhosh Thottingal
9d75ff9a09 Disable IME too in blacklisted browsers
Change-Id: I140352f723bc4863d14ed6441c9e173310c683b3
2013-06-17 09:31:06 +00:00
jenkins-bot
c57bcd86f7 Merge "Make Display settings the default view for the cog Language settings" 2013-06-17 08:18:34 +00:00
Santhosh Thottingal
34d4045c3b Validate imeId before rendering
Fix: TypeError: $.ime.sources[imeId] is undefined

Bug: 49584
Change-Id: I9f5615d8b6729d76feae04e195a5ec6f26676bda
2013-06-17 10:08:16 +05:30
Amir E. Aharoni
b5dd51a1f3 Make Display settings the default view for the cog Language settings
Without this change, clicking the cog near the interlanguage
links can show Input settings first, and the design says that
Display settings must be shown first.

Change-Id: Ieb2dcd7efb5c1a5e1320a271ec7c7ae69d071bae
2013-06-15 08:21:29 -07:00
Amir E. Aharoni
3332062bac Cleanup ext.uls.languagesettings.js
Change-Id: Ied12c6bf2022c0c291d7e5edc213340e6a159f77
2013-06-14 18:28:35 -07:00
Santhosh Thottingal
658d97de36 Make the link to undo language change usable
Fix bug: Link to revert to the earlier display language inside the tooltip cannot
be clicked. It was hiding on mouse over.

Bug: 49556
Change-Id: If536142fd61aa191601262dbfec6de960c167081
2013-06-14 11:53:01 +05:30
Santhosh Thottingal
6a34b6159d Update Lohit Tamil fonts to 2.5.3 version
Change-Id: Id447cdf5c07b0b02ae0b3b29a6bf2380c9896a7e
2013-06-13 15:58:25 +05:30
jenkins-bot
dce0b387c7 Merge "Input settings - language selection cleanup" 2013-06-13 10:09:31 +00:00
jenkins-bot
f0eca06c1c Merge "Set the language for the settings panel for correct webfonts" 2013-06-13 09:51:16 +00:00
jenkins-bot
0661c2e1b2 Merge "Use system as default font for Tamil" 2013-06-13 09:46:44 +00:00
jenkins-bot
8ca09510ba Merge "Use Tipsy on "Language settings" tooltip" 2013-06-13 09:44:38 +00:00
Santhosh Thottingal
e726f01615 Use system as default font for Tamil
Tamil has wide support in major operating systems

Change-Id: I30adb4aa607b0e4261efdce34457e5b07a0c61ca
2013-06-13 15:11:04 +05:30
Santhosh Thottingal
d11576b27e Add Linux Libertine font
It is Wikipedia wordmark font

Change-Id: Ib280869d8a8686268c7f67aefb29a76752e9e4f4
2013-06-13 12:51:07 +05:30
Santhosh Thottingal
d36f6c516e Set the language for the settings panel for correct webfonts
Change-Id: Ia404f5e0b50d5b9114255c2e1e7daca39c79d414
2013-06-13 11:22:32 +05:30
Santhosh Thottingal
a8c9b923d0 Add UnifrakturMaguntia font
Not mapped to any language, but available by explicit
style definition. style="font-family:'UnifrakturMaguntia';"

Bug: 49499
Change-Id: I346f81ecc145b261f3bc8386c47cce779ac11e33
2013-06-13 09:38:15 +05:30
Santhosh Thottingal
638ab5bb3d Input settings - language selection cleanup
Renamed imeLanguage to UI language to make it correct.
And some logic corrections as per that change.

Bug: 49380
Change-Id: I1ed664623b23393e289bd817b88d7f326f6524be
2013-06-12 11:41:56 +00:00
Santhosh Thottingal
d8a8542c19 Use Tipsy on "Language settings" tooltip
Bug: 47977
Change-Id: Ic50d1be0256170872c7674745d5b2feaefb44095
2013-06-12 14:32:09 +05:30
Santhosh Thottingal
43be2f274c Scroll to viewport after input methods list is rendered
Added input methods may increase the height of window.
Make sure the entire window is in view port.

Bug: 49427
Change-Id: I06194b7d51459a31247104b2113ef3212774f004
2013-06-12 06:53:27 +00:00
Santhosh Thottingal
f0b3e6524c Cleanup
Minor whitespace, coding convention cleanup

Change-Id: Ibb10ce64ad4c35bfd6f924665243961c80b81714
2013-06-11 10:24:13 +05:30
Santhosh Thottingal
ae27298bee Fix: new language is not added to button on the display panel
Bug: 49377
Change-Id: Ibfec48d84ecc166628d2bc0b052688f19967491f
2013-06-10 12:02:26 +05:30
Santhosh Thottingal
271ec67a80 Update button css from Agora
Css copied from https://github.com/wikimedia/mediawiki-extensions-Agora

Bug: 49112
Change-Id: Ibc5d144a22228fd7ec6e3793bf8d9d6c28748101
2013-06-07 14:39:06 +00:00
Santhosh Thottingal
9bc9aa7238 Avoid duplicate language buttons in input settings panel
Bug: 49141
Change-Id: Ibf076e6049e87e1398c87d2a264343f32eaddf28
2013-06-07 14:28:17 +00:00
Santhosh Thottingal
e9ab300889 Fix: ULS popup moves to sidebar if opened from ime menu
Issues fixed:
Incorrect position of ULS when accessed from more languages button
of input/display settings, when language settings opened from ime
menu.

Arrow(callout) appearing for ULS when opened from more languages
button of input/display settings, when language settings opened from ime
menu.

Used a class 'callout' to mark whether windows need callout arrow or not.

Bug: 49060
Change-Id: Ic4c0a1e386918494a0d006a02dd0cf93ef269163
2013-06-07 14:26:46 +00:00
Santhosh Thottingal
6a9b31ad26 Use smooth scrolling for the windows when not in viewport
Change-Id: I94591d17ba023d9a13e2436ddebfd0209e076845
2013-06-07 14:26:31 +00:00
Santhosh Thottingal
84355a422d On show of language settings, update the panel
Settings changed using other UIs will not be updated unless we refresh
the settings panel.

Bug: 49148
Change-Id: Ia7cd8c91e59360c80eb72fdf0a966bdb3ce52d27
2013-06-07 14:25:39 +00:00
Santhosh Thottingal
c9aa1f1130 Correct the loop logic for language buttons
It is possible that the count reach more than  SUGGESTED_LANGUAGES_NUMBER
before it reach the

languagesForButtons.length === SUGGESTED_LANGUAGES_NUMBER

check. This will cause the loop to run for all languages.

Change-Id: Ie6190d1c80c2a7152af490db2bc115ecdfde4184
2013-06-06 06:36:36 +00:00
jenkins-bot
f16c42ef71 Merge "Workaround for border-radius due to bug 49074" 2013-06-04 13:08:24 +00:00
Santhosh Thottingal
18fe9e8b86 Fix: Uncaught TypeError: Cannot read property 'shown' of undefined
Bug: 49103
Change-Id: Iecaa078835777625eca5d35dbb6ece19de1e8b29
2013-06-04 17:25:16 +05:30
jenkins-bot
c3ee636c17 Merge "Hide ULS trigger from unsupported browsers" 2013-06-04 10:34:15 +00:00
jenkins-bot
c45100ca29 Merge "Introduce Api for loading jquery.i18n json files" 2013-06-04 10:31:52 +00:00
Niklas Laxström
0c53c38304 Hide ULS trigger from unsupported browsers
For position=sidebar, the dummy "in other languages" section is
visible in the same manner as it is to browsers without JavaScript.

Bug: 49028
Change-Id: I931a2e904b37c754f63bfe5feb2d98bfe6c2747b
2013-06-04 10:26:57 +00:00
Santhosh Thottingal
ec0ea0407d Introduce Api for loading jquery.i18n json files
To avoid CORS issue with old browsers

Bug: 45958
Change-Id: I37638e06f21ab573c9ce37a4e9fb20bc763ac98f
2013-06-04 10:21:32 +00:00
jenkins-bot
47019d27aa Merge "Huge icons in language settings" 2013-06-04 10:11:41 +00:00
Pau Giner
6075f79871 Huge icons in language settings
Graphic assets have been modified so hat they are of the size at which
they are displayed. This makes them safer for browsers not supporting
background-size property.

Bug: 49107
Change-Id: Ifdce9ff5034e2b11d3e1dd24ac649cb99a151312
2013-06-04 10:09:18 +00:00
jenkins-bot
b5ad1c0514 Merge "(bug 49106) Keyboard icon misaligned in Firefox" 2013-06-04 09:50:24 +00:00
Pau Giner
62385075c7 (bug 49106) Keyboard icon misaligned in Firefox
Fixed positioning to avoid the use of float which was problematic in Firefox.
The current solution uses absolute positioning.
Extra padding has been added to the label next to it to avoid the text to overlap.

Change-Id: I82c69fa524f05262b60928fc4ba09104c6d05c2c
2013-06-04 11:40:56 +02:00
Niklas Laxström
979c2da418 Workaround for border-radius due to bug 49074
Change-Id: I411ea2cda0fcfc0c3182189ed6dc2f25851cd04c
2013-06-04 09:31:51 +00:00
Amir E. Aharoni
1a17ef392d Properly save back-up preferences for repeated canceling
Before this patch, this scenarios didn't yield the expected result:

1) Disable IME, click Apply 2) Enable IME, click Cancel

The expected result is that IME would be disabled, but it was enabled.

This patch re-stashes the preferences when they are saved, so
the last saved preferences are loaded when pressing Cancel.

Change-Id: Ic7abdab165e367d970e6568ba69b25bf7d4f675a
2013-06-04 12:00:21 +03:00
Amir E. Aharoni
361eb95f33 Make "Cancel" reset preferences and "Apply" save and close
Bug: 48898
Change-Id: I9f5444ffd57ddf46d197ebdb23a18c0c4600b196
2013-06-04 10:42:29 +03:00