Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/67398
Change subject: Update jquery.ime from upstream ...................................................................... Update jquery.ime from upstream Version: 0.1.0+20130607 Changes: * Bug 49178: IME icon not visible in IE8 * Bug 49073 - In RTL, checkmark for selected input method overlaps text in ime menu * Correct Malayalam Avagraha in Malayalam transliteration Change-Id: Ib3fc2409958e8be8522a2f4072181dce434a76e3 --- M lib/jquery.ime/css/jquery.ime.css M lib/jquery.ime/images/ime-active.svg M lib/jquery.ime/images/ime-inactive.svg M lib/jquery.ime/images/tick.svg M lib/jquery.ime/jquery.ime.js M lib/jquery.ime/rules/ml/ml-transliteration.js 6 files changed, 164 insertions(+), 156 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector refs/changes/98/67398/1 diff --git a/lib/jquery.ime/css/jquery.ime.css b/lib/jquery.ime/css/jquery.ime.css index df40cc4..b589a14 100644 --- a/lib/jquery.ime/css/jquery.ime.css +++ b/lib/jquery.ime/css/jquery.ime.css @@ -1,10 +1,12 @@ .imeselector { position: absolute; - /* Fix rgba fallback bug - http://css-tricks.com/ie-background-rgb-bug */ /* @embed */ - background: url('../images/ime-active.png') no-repeat left 3px center #fff; - /* @embed */ - background: url('../images/ime-active.png') no-repeat left 3px center rgba(255,255,255,0.75); + background: url('../images/ime-active.png') no-repeat left center; + background-image: -webkit-linear-gradient(transparent, transparent), url('../images/ime-active.svg'); + background-image: -moz-linear-gradient(transparent, transparent), url('../images/ime-active.svg'); + background-image: linear-gradient(transparent, transparent), url('../images/ime-active.svg'); + background-color: #fff; + background-position: 3px; cursor: pointer; height: 15px; font-size: small; @@ -169,7 +171,10 @@ .imeselector-menu .checked { /* @embed */ - background: url(../images/tick.png) 4px center no-repeat; + background: url(../images/tick.png) left 4px center no-repeat; + background-image: -webkit-linear-gradient(transparent, transparent), url('../images/tick.svg'); + background-image: -moz-linear-gradient(transparent, transparent), url('../images/tick.svg'); + background-image: linear-gradient(transparent, transparent), url('../images/tick.svg'); } .imeselector-menu .ime-help-link { diff --git a/lib/jquery.ime/images/ime-active.svg b/lib/jquery.ime/images/ime-active.svg index 78d33d7..b850c0c 100644 --- a/lib/jquery.ime/images/ime-active.svg +++ b/lib/jquery.ime/images/ime-active.svg @@ -2,55 +2,55 @@ <!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - version="1.1" - id="Layer_1" - x="0px" - y="0px" - width="32" - height="23.5625" - viewBox="0 0 32 23.5625" - enable-background="new 0 0 32 32" - xml:space="preserve" - inkscape:version="0.48.3.1 r9886" - sodipodi:docname="ime-active.svg"><metadata - id="metadata7"><rdf:RDF><cc:Work - rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs - id="defs5" /><sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1024" - id="namedview3" - showgrid="false" - showguides="true" - inkscape:guide-bbox="true" - inkscape:zoom="11.313709" - inkscape:cx="24.246418" - inkscape:cy="9.7406437" - inkscape:window-x="0" - inkscape:window-y="27" - inkscape:window-maximized="1" - inkscape:current-layer="Layer_1" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" /> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="Layer_1" + x="0px" + y="0px" + width="15" + height="11" + viewBox="0 0 15 11" + enable-background="new 0 0 32 32" + xml:space="preserve" + inkscape:version="0.48.3.1 r9886" + sodipodi:docname="ime-active.svg"><metadata + id="metadata7"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs + id="defs5" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1600" + inkscape:window-height="842" + id="namedview3" + showgrid="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:zoom="1" + inkscape:cx="24.423195" + inkscape:cy="9.4281437" + inkscape:window-x="1366" + inkscape:window-y="27" + inkscape:window-maximized="1" + inkscape:current-layer="Layer_1" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" /> <path - style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#565656;fill-opacity:1;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" - d="m 14.40625,0 c 0,0 -0.09206,0.2282048 -0.21875,0.5 -0.118962,0.2552223 -0.343456,0.5183848 -0.34375,0.53125 -0.07459,0.00564 -0.374806,0.1064315 -0.78125,0.125 -0.541925,0.024758 -1.252016,0.00437 -2,-0.03125 C 9.5665318,1.0537633 7.97186,0.9110738 6.90625,1.09375 l -0.03125,0 c -0.6440186,0.1198973 -1.1017059,0.548512 -1.4375,1 -0.3407477,0.458148 -0.5873895,0.9776 -0.75,1.46875 -0.2487501,0.751327 -0.3389545,1.329266 -0.375,1.625 l -4.3125,0 0,18.375 32,0 0,-18.375 -26.15625,0 C 5.8929222,4.889017 5.9697935,4.500037 6.125,4.03125 6.2560186,3.635521 6.4309233,3.229693 6.625,2.96875 6.8190767,2.707807 7.0067168,2.593491 7.1875,2.5625 7.7997705,2.457539 9.4445334,2.55242 10.96875,2.625 c 0.762108,0.03629 1.517666,0.06042 2.15625,0.03125 0.638584,-0.02917 1.151111,0.0042 1.6875,-0.4375 0.418957,-0.345022 0.558509,-0.7187184 0.71875,-1.0625 C 15.691491,0.8124684 15.8125,0.5 15.8125,0.5 L 14.40625,0 z m -11.375,9.375 2.46875,0 c 0.1541065,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.1271435,0.28125 -0.28125,0.28125 l -2.46875,0 C 2.8771435,12.40625 2.75,12.279106 2.75,12.125 l 0,-2.5 c 0,-0.154106 0.1271435,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.1541065,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.1271435,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m -20.53125,4.8125 2.46875,0 c 0.1541065,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.1271435,0.28125 -0.28125,0.28125 l -2.46875,0 C 5.0021435,17.21875 4.875,17.091606 4.875,16.9375 l 0,-2.46875 c 0,-0.154106 0.1271435,-0.28125 0.28125,-0.28125 z m 4.65625,0 2.46875,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.1541065,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.1271435,-0.28125 0.28125,-0.28125 z m 4.65625,0 2.5,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.5,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.127144,-0.28125 0.28125,-0.28125 z m 4.6875,0 2.46875,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.127144,-0.28125 0.28125,-0.28125 z m 4.65625,0 2.46875,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.127144,-0.28125 0.28125,-0.28125 z m -17.40625,5.6875 19.1875,0 c 0.154106,0 0.25,0.127144 0.25,0.28125 l 0,1.28125 c 0,0.154106 -0.09589,0.28125 -0.25,0.28125 l -19.1875,0 c -0.1541065,0 -0.25,-0.127144 -0.25,-0.28125 l 0,-1.28125 c 0,-0.154106 0.095893,-0.28125 0.25,-0.28125 z" - id="path4443" - inkscape:connector-curvature="0" /></svg> + style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#565656;fill-opacity:1;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" + d="m 6.7529297,0 c 0,0 -0.043153,0.10653602 -0.1025391,0.23342175 -0.055763,0.11914873 -0.160995,0.24200467 -0.1611328,0.24801061 -0.034964,0.002614 -0.1756903,0.0496866 -0.3662109,0.0583554 -0.2540274,0.011559 -0.5868825,0.002054 -0.9375,-0.0145889 -0.7012351,-0.0332579 -1.4487375,-0.09987 -1.9482422,-0.0145889 l -0.014648,0 C 2.9207729,0.56658321 2.706232,0.76667934 2.5488285,0.97745358 2.3891026,1.191337 2.2734893,1.4338398 2.1972656,1.66313 2.080664,2.0138821 2.0383807,2.2836892 2.0214844,2.4217507 L 0,2.4217507 0,11 l 15,0 0,-8.5782493 -12.2607422,0 C 2.7623068,2.2824058 2.7983408,2.100813 2.8710938,1.8819629 2.9325088,1.6972194 3.0144953,1.5077612 3.1054688,1.3859416 3.1964418,1.2641221 3.2843985,1.2107544 3.3691406,1.1962865 c 0.2870018,-0.049 1.0579844,-0.00471 1.772461,0.029178 0.3572381,0.016942 0.7114059,0.028207 1.0107421,0.014589 C 6.45168,1.2264352 6.691927,1.2420138 6.9433594,1.035809 7.1397455,0.87473774 7.2051605,0.70028019 7.2802734,0.5397878 7.3553864,0.37929541 7.4121094,0.23342175 7.4121094,0.23342175 L 6.7529297,0 z m -5.3320313,4.3766578 1.1572266,0 c 0.072237,0 0.1318359,0.044766 0.1318359,0.1167109 l 0,1.1671088 c 0,0.071943 -0.059598,0.1312997 -0.1318359,0.1312997 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.059356 -0.1318359,-0.1312997 l 0,-1.1671088 c 0,-0.071943 0.059599,-0.1167109 0.1318359,-0.1167109 z m 2.1240235,0 1.1572265,0 c 0.072237,0 0.131836,0.044766 0.131836,0.1167109 l 0,1.1671088 c 0,0.071943 -0.059599,0.1312997 -0.131836,0.1312997 l -1.1572265,0 c -0.072237,0 -0.131836,-0.059356 -0.131836,-0.1312997 l 0,-1.1671088 c 0,-0.071943 0.059599,-0.1167109 0.131836,-0.1167109 z m 2.1240234,0 1.1572266,0 c 0.072237,0 0.1318359,0.044766 0.1318359,0.1167109 l 0,1.1671088 c 0,0.071943 -0.059599,0.1312997 -0.1318359,0.1312997 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.059356 -0.1318359,-0.1312997 l 0,-1.1671088 c 0,-0.071943 0.059599,-0.1167109 0.1318359,-0.1167109 z m 2.1240234,0 1.1572266,0 c 0.072237,0 0.131836,0.044766 0.131836,0.1167109 l 0,1.1671088 c 0,0.071943 -0.059599,0.1312997 -0.131836,0.1312997 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.059356 -0.1318359,-0.1312997 l 0,-1.1671088 c 0,-0.071943 0.059599,-0.1167109 0.1318359,-0.1167109 z m 2.1240235,0 1.1572268,0 c 0.07224,0 0.131836,0.044766 0.131836,0.1167109 l 0,1.1671088 c 0,0.071943 -0.0596,0.1312997 -0.131836,0.1312997 l -1.1572268,0 c -0.072237,0 -0.1318359,-0.059356 -0.1318359,-0.1312997 l 0,-1.1671088 c 0,-0.071943 0.059599,-0.1167109 0.1318359,-0.1167109 z m 2.1240238,0 1.157226,0 c 0.07224,0 0.131836,0.044766 0.131836,0.1167109 l 0,1.1671088 c 0,0.071943 -0.0596,0.1312997 -0.131836,0.1312997 l -1.157226,0 c -0.07224,0 -0.131836,-0.059356 -0.131836,-0.1312997 l 0,-1.1671088 c 0,-0.071943 0.0596,-0.1167109 0.131836,-0.1167109 z m -9.6240238,2.2466844 1.1572266,0 c 0.072237,0 0.1318359,0.059356 0.1318359,0.1312997 l 0,1.1525199 c 0,0.071943 -0.059599,0.1312997 -0.1318359,0.1312997 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.059356 -0.1318359,-0.1312997 l 0,-1.1525199 c 0,-0.071943 0.059598,-0.1312997 0.1318359,-0.1312997 z m 2.1826172,0 1.1572265,0 c 0.072237,0 0.131836,0.059356 0.131836,0.1312997 l 0,1.1525199 c 0,0.071943 -0.059599,0.1312997 -0.131836,0.1312997 l -1.1572265,0 c -0.072237,0 -0.131836,-0.059356 -0.131836,-0.1312997 l 0,-1.1525199 c 0,-0.071943 0.059599,-0.1312997 0.131836,-0.1312997 z m 2.1826172,0 1.171875,0 c 0.072237,0 0.1318359,0.059356 0.1318359,0.1312997 l 0,1.1525199 c 0,0.071943 -0.059599,0.1312997 -0.1318359,0.1312997 l -1.171875,0 c -0.072237,0 -0.131836,-0.059356 -0.131836,-0.1312997 l 0,-1.1525199 c 0,-0.071943 0.059599,-0.1312997 0.131836,-0.1312997 z m 2.1972656,0 1.1572268,0 c 0.07224,0 0.131836,0.059356 0.131836,0.1312997 l 0,1.1525199 c 0,0.071943 -0.0596,0.1312997 -0.131836,0.1312997 l -1.1572268,0 c -0.072237,0 -0.1318359,-0.059356 -0.1318359,-0.1312997 l 0,-1.1525199 c 0,-0.071943 0.059599,-0.1312997 0.1318359,-0.1312997 z m 2.1826168,0 1.157227,0 c 0.07224,0 0.131836,0.059356 0.131836,0.1312997 l 0,1.1525199 c 0,0.071943 -0.0596,0.1312997 -0.131836,0.1312997 l -1.157227,0 c -0.07224,0 -0.131836,-0.059356 -0.131836,-0.1312997 l 0,-1.1525199 c 0,-0.071943 0.0596,-0.1312997 0.131836,-0.1312997 z m -8.1591793,2.6551724 8.9941403,0 c 0.07224,0 0.117188,0.059356 0.117188,0.1312997 l 0,0.5981437 c 0,0.07194 -0.04495,0.131299 -0.117188,0.131299 l -8.9941403,0 c -0.072237,0 -0.1171875,-0.05936 -0.1171875,-0.131299 l 0,-0.5981437 c 0,-0.071943 0.04495,-0.1312997 0.1171875,-0.1312997 z" + id="path4443" + inkscape:connector-curvature="0" /></svg> \ No newline at end of file diff --git a/lib/jquery.ime/images/ime-inactive.svg b/lib/jquery.ime/images/ime-inactive.svg index efbb6f4..e1f01f6 100644 --- a/lib/jquery.ime/images/ime-inactive.svg +++ b/lib/jquery.ime/images/ime-inactive.svg @@ -2,55 +2,55 @@ <!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - version="1.1" - id="Layer_1" - x="0px" - y="0px" - width="32" - height="23.5625" - viewBox="0 0 32 23.5625" - enable-background="new 0 0 32 32" - xml:space="preserve" - inkscape:version="0.48.3.1 r9886" - sodipodi:docname="ime-inactive.svg"><metadata - id="metadata7"><rdf:RDF><cc:Work - rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs - id="defs5" /><sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1024" - id="namedview3" - showgrid="false" - showguides="true" - inkscape:guide-bbox="true" - inkscape:zoom="11.313709" - inkscape:cx="7.9387686" - inkscape:cy="9.7406437" - inkscape:window-x="0" - inkscape:window-y="27" - inkscape:window-maximized="1" - inkscape:current-layer="Layer_1" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" /> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="Layer_1" + x="0px" + y="0px" + width="32" + height="23.5625" + viewBox="0 0 32 23.5625" + enable-background="new 0 0 32 32" + xml:space="preserve" + inkscape:version="0.48.3.1 r9886" + sodipodi:docname="ime-inactive.svg"><metadata + id="metadata7"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs + id="defs5" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1600" + inkscape:window-height="842" + id="namedview3" + showgrid="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:zoom="11.313709" + inkscape:cx="8.1155453" + inkscape:cy="9.7406437" + inkscape:window-x="1366" + inkscape:window-y="27" + inkscape:window-maximized="1" + inkscape:current-layer="Layer_1" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" /> <path - style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#565656;fill-opacity:0.55000001;stroke:none;stroke-width:1.50000000000000000;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" - d="m 14.40625,0 c 0,0 -0.09206,0.2282048 -0.21875,0.5 -0.118962,0.2552223 -0.343456,0.5183848 -0.34375,0.53125 -0.07459,0.00564 -0.374806,0.1064315 -0.78125,0.125 -0.541925,0.024758 -1.252016,0.00437 -2,-0.03125 C 9.5665318,1.0537633 7.97186,0.9110738 6.90625,1.09375 l -0.03125,0 c -0.6440186,0.1198973 -1.1017059,0.548512 -1.4375,1 -0.3407477,0.458148 -0.5873895,0.9776 -0.75,1.46875 -0.2487501,0.751327 -0.3389545,1.329266 -0.375,1.625 l -4.3125,0 0,18.375 32,0 0,-18.375 -26.15625,0 C 5.8929222,4.889017 5.9697935,4.500037 6.125,4.03125 6.2560186,3.635521 6.4309233,3.229693 6.625,2.96875 6.8190767,2.707807 7.0067168,2.593491 7.1875,2.5625 7.7997705,2.457539 9.4445334,2.55242 10.96875,2.625 c 0.762108,0.03629 1.517666,0.06042 2.15625,0.03125 0.638584,-0.02917 1.151111,0.0042 1.6875,-0.4375 0.418957,-0.345022 0.558509,-0.7187184 0.71875,-1.0625 C 15.691491,0.8124684 15.8125,0.5 15.8125,0.5 L 14.40625,0 z m -11.375,9.375 2.46875,0 c 0.1541065,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.1271435,0.28125 -0.28125,0.28125 l -2.46875,0 C 2.8771435,12.40625 2.75,12.279106 2.75,12.125 l 0,-2.5 c 0,-0.154106 0.1271435,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.1541065,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.1271435,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m 4.53125,0 2.46875,0 c 0.154106,0 0.28125,0.09589 0.28125,0.25 l 0,2.5 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.5 c 0,-0.154106 0.127144,-0.25 0.28125,-0.25 z m -20.53125,4.8125 2.46875,0 c 0.1541065,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.1271435,0.28125 -0.28125,0.28125 l -2.46875,0 C 5.0021435,17.21875 4.875,17.091606 4.875,16.9375 l 0,-2.46875 c 0,-0.154106 0.1271435,-0.28125 0.28125,-0.28125 z m 4.65625,0 2.46875,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.1541065,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.1271435,-0.28125 0.28125,-0.28125 z m 4.65625,0 2.5,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.5,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.127144,-0.28125 0.28125,-0.28125 z m 4.6875,0 2.46875,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.127144,-0.28125 0.28125,-0.28125 z m 4.65625,0 2.46875,0 c 0.154106,0 0.28125,0.127144 0.28125,0.28125 l 0,2.46875 c 0,0.154106 -0.127144,0.28125 -0.28125,0.28125 l -2.46875,0 c -0.154106,0 -0.28125,-0.127144 -0.28125,-0.28125 l 0,-2.46875 c 0,-0.154106 0.127144,-0.28125 0.28125,-0.28125 z m -17.40625,5.6875 19.1875,0 c 0.154106,0 0.25,0.127144 0.25,0.28125 l 0,1.28125 c 0,0.154106 -0.09589,0.28125 -0.25,0.28125 l -19.1875,0 c -0.1541065,0 -0.25,-0.127144 -0.25,-0.28125 l 0,-1.28125 c 0,-0.154106 0.095893,-0.28125 0.25,-0.28125 z" - id="path4443" - inkscape:connector-curvature="0" /></svg> + style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#565656;fill-opacity:0.55;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" + d="m 6.7529297,12.5625 c 0,0 -0.043153,0.106536 -0.1025391,0.233422 -0.055763,0.119149 -0.160995,0.242004 -0.1611328,0.24801 -0.034964,0.0026 -0.1756903,0.04969 -0.3662109,0.05836 -0.2540274,0.01156 -0.5868825,0.002 -0.9375,-0.01459 -0.7012351,-0.03326 -1.4487375,-0.09987 -1.9482422,-0.01459 l -0.014648,0 C 2.9207729,13.129083 2.706232,13.329179 2.5488285,13.539954 2.3891026,13.753837 2.2734893,13.99634 2.1972656,14.22563 2.080664,14.576382 2.0383807,14.846189 2.0214844,14.984251 l -2.0214844,0 0,8.578249 15,0 0,-8.578249 -12.2607422,0 c 0.023049,-0.139345 0.059083,-0.320938 0.131836,-0.539788 0.061415,-0.184744 0.1434015,-0.374202 0.234375,-0.496021 0.090973,-0.12182 0.1789297,-0.175188 0.2636718,-0.189656 0.2870018,-0.049 1.0579844,-0.0047 1.772461,0.02918 0.3572381,0.01694 0.7114059,0.02821 1.0107421,0.01459 0.2993363,-0.01362 0.5395833,0.002 0.7910157,-0.204244 0.1963861,-0.161071 0.2618011,-0.335529 0.336914,-0.496021 0.075113,-0.160492 0.131836,-0.306366 0.131836,-0.306366 L 6.7529297,12.5625 z m -5.3320313,4.376658 1.1572266,0 c 0.072237,0 0.1318359,0.04477 0.1318359,0.116711 l 0,1.167108 c 0,0.07194 -0.059598,0.1313 -0.1318359,0.1313 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.05936 -0.1318359,-0.1313 l 0,-1.167108 c 0,-0.07194 0.059599,-0.116711 0.1318359,-0.116711 z m 2.1240235,0 1.1572265,0 c 0.072237,0 0.131836,0.04477 0.131836,0.116711 l 0,1.167108 c 0,0.07194 -0.059599,0.1313 -0.131836,0.1313 l -1.1572265,0 c -0.072237,0 -0.131836,-0.05936 -0.131836,-0.1313 l 0,-1.167108 c 0,-0.07194 0.059599,-0.116711 0.131836,-0.116711 z m 2.1240234,0 1.1572266,0 c 0.072237,0 0.1318359,0.04477 0.1318359,0.116711 l 0,1.167108 c 0,0.07194 -0.059599,0.1313 -0.1318359,0.1313 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.05936 -0.1318359,-0.1313 l 0,-1.167108 c 0,-0.07194 0.059599,-0.116711 0.1318359,-0.116711 z m 2.1240234,0 1.1572266,0 c 0.072237,0 0.131836,0.04477 0.131836,0.116711 l 0,1.167108 c 0,0.07194 -0.059599,0.1313 -0.131836,0.1313 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.05936 -0.1318359,-0.1313 l 0,-1.167108 c 0,-0.07194 0.059599,-0.116711 0.1318359,-0.116711 z m 2.1240235,0 1.1572268,0 c 0.07224,0 0.131836,0.04477 0.131836,0.116711 l 0,1.167108 c 0,0.07194 -0.0596,0.1313 -0.131836,0.1313 l -1.1572268,0 c -0.072237,0 -0.1318359,-0.05936 -0.1318359,-0.1313 l 0,-1.167108 c 0,-0.07194 0.059599,-0.116711 0.1318359,-0.116711 z m 2.1240238,0 1.157226,0 c 0.07224,0 0.131836,0.04477 0.131836,0.116711 l 0,1.167108 c 0,0.07194 -0.0596,0.1313 -0.131836,0.1313 l -1.157226,0 c -0.07224,0 -0.131836,-0.05936 -0.131836,-0.1313 l 0,-1.167108 c 0,-0.07194 0.0596,-0.116711 0.131836,-0.116711 z m -9.6240238,2.246684 1.1572266,0 c 0.072237,0 0.1318359,0.05936 0.1318359,0.1313 l 0,1.15252 c 0,0.07194 -0.059599,0.1313 -0.1318359,0.1313 l -1.1572266,0 c -0.072237,0 -0.1318359,-0.05936 -0.1318359,-0.1313 l 0,-1.15252 c 0,-0.07194 0.059598,-0.1313 0.1318359,-0.1313 z m 2.1826172,0 1.1572265,0 c 0.072237,0 0.131836,0.05936 0.131836,0.1313 l 0,1.15252 c 0,0.07194 -0.059599,0.1313 -0.131836,0.1313 l -1.1572265,0 c -0.072237,0 -0.131836,-0.05936 -0.131836,-0.1313 l 0,-1.15252 c 0,-0.07194 0.059599,-0.1313 0.131836,-0.1313 z m 2.1826172,0 1.171875,0 c 0.072237,0 0.1318359,0.05936 0.1318359,0.1313 l 0,1.15252 c 0,0.07194 -0.059599,0.1313 -0.1318359,0.1313 l -1.171875,0 c -0.072237,0 -0.131836,-0.05936 -0.131836,-0.1313 l 0,-1.15252 c 0,-0.07194 0.059599,-0.1313 0.131836,-0.1313 z m 2.1972656,0 1.1572268,0 c 0.07224,0 0.131836,0.05936 0.131836,0.1313 l 0,1.15252 c 0,0.07194 -0.0596,0.1313 -0.131836,0.1313 l -1.1572268,0 c -0.072237,0 -0.1318359,-0.05936 -0.1318359,-0.1313 l 0,-1.15252 c 0,-0.07194 0.059599,-0.1313 0.1318359,-0.1313 z m 2.1826168,0 1.157227,0 c 0.07224,0 0.131836,0.05936 0.131836,0.1313 l 0,1.15252 c 0,0.07194 -0.0596,0.1313 -0.131836,0.1313 l -1.157227,0 c -0.07224,0 -0.131836,-0.05936 -0.131836,-0.1313 l 0,-1.15252 c 0,-0.07194 0.0596,-0.1313 0.131836,-0.1313 z m -8.1591793,2.655173 8.9941403,0 c 0.07224,0 0.117188,0.05936 0.117188,0.131299 l 0,0.598144 c 0,0.07194 -0.04495,0.131299 -0.117188,0.131299 l -8.9941403,0 c -0.072237,0 -0.1171875,-0.05936 -0.1171875,-0.131299 l 0,-0.598144 c 0,-0.07194 0.04495,-0.131299 0.1171875,-0.131299 z" + id="path4443" + inkscape:connector-curvature="0" /></svg> \ No newline at end of file diff --git a/lib/jquery.ime/images/tick.svg b/lib/jquery.ime/images/tick.svg index f47f48b..31618d4 100644 --- a/lib/jquery.ime/images/tick.svg +++ b/lib/jquery.ime/images/tick.svg @@ -2,47 +2,50 @@ <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - version="1.1" - width="32" - height="32" - viewBox="0 0 32 32" - id="Layer_1" - xml:space="preserve" - inkscape:version="0.48.3.1 r9886" - sodipodi:docname="tick.svg"><sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1024" - id="namedview6" - showgrid="false" - inkscape:zoom="3.6875" - inkscape:cx="12.379932" - inkscape:cy="32.028115" - inkscape:window-x="0" - inkscape:window-y="27" - inkscape:window-maximized="1" - inkscape:current-layer="Layer_1" /><metadata - id="metadata7"><rdf:RDF><cc:Work - rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs - id="defs5" /> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + width="12" + height="9" + viewBox="0 0 12 9" + id="Layer_1" + xml:space="preserve" + inkscape:version="0.48.3.1 r9886" + sodipodi:docname="tick.svg"><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1600" + inkscape:window-height="842" + id="namedview6" + showgrid="false" + inkscape:zoom="3.6875" + inkscape:cx="13.464678" + inkscape:cy="31.485742" + inkscape:window-x="1366" + inkscape:window-y="27" + inkscape:window-maximized="1" + inkscape:current-layer="Layer_1" /><metadata + id="metadata7"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs5" /> <path - style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#222222;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" - d="M 26.579429,5.7431146 11.48439,20.451101 5.4205703,14.580808 2.5176783,17.548209 c 2.989202,2.902621 5.955731,5.828609 8.9667117,8.708676 C 17.447966,20.350568 23.477578,14.51056 29.482322,8.6460063 z" - id="path10791-42-4" - inkscape:connector-curvature="0" - sodipodi:nodetypes="ccccccc" /></svg> \ No newline at end of file + style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#222222;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" + d="M 11.225812,0.257 4.5081089,6.70983 1.8095442,4.134358 0.5176783,5.436245 C 1.8479545,6.709711 3.1681406,7.993429 4.5081089,9.257 7.1620625,6.665723 9.845404,4.103539 12.517678,1.530585 z" + id="path10791-42-4" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccc" + inkscape:export-filename="/media/C0DE/wiki/wikimedia-git-repos/jqueryime/images/tick.svg.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /></svg> \ No newline at end of file diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js index 437f916..c9354da 100644 --- a/lib/jquery.ime/jquery.ime.js +++ b/lib/jquery.ime/jquery.ime.js @@ -1,4 +1,4 @@ -/*! jquery.ime - v0.1.0+20130531 +/*! jquery.ime - v0.1.0+20130607 * https://github.com/wikimedia/jquery.ime * Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */ ( function ( $ ) { @@ -772,11 +772,11 @@ if ( ime.getLanguage() === languageCode ) { // Nothing to do. It is same as the current language, // but check whether the input method changed. - if ( ime.inputmethod && ime.inputmethod.id === imePref - || imePref === 'system' - ) { - return false; + if ( ime.inputmethod && ime.inputmethod.id !== imePref ) { + this.selectIM( $.ime.preferences.getIM( languageCode ) ); } + + return false; } this.$menu.find( 'li.ime-lang' ).show(); diff --git a/lib/jquery.ime/rules/ml/ml-transliteration.js b/lib/jquery.ime/rules/ml/ml-transliteration.js index 8533706..fd62ea1 100644 --- a/lib/jquery.ime/rules/ml/ml-transliteration.js +++ b/lib/jquery.ime/rules/ml/ml-transliteration.js @@ -318,7 +318,7 @@ [ '(([ൺ-ൿം])\u200c+)?y', '$2യ്' ], [ '(([ൺ-ൿം])\u200c+)?~', '$2്' ], [ '(\u200C)*_', '\u200c' ], - [ '//', 'ऽ' ], + [ '//', 'ഽ' ], [ '1/4\\\\', '൳' ], [ '1/2\\\\', '൴' ], [ '3/4\\\\', '൵' ], -- To view, visit https://gerrit.wikimedia.org/r/67398 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib3fc2409958e8be8522a2f4072181dce434a76e3 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits