diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:52 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:52 -0800 |
commit | ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6 (patch) | |
tree | f4f3c7225a6ed8d870f32cedbbc8f6e41b5633e7 /assets | |
parent | ba6d7b853c32ad6c3be26c443daa61f322bcfdc2 (diff) | |
download | packages_apps_browser-ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6.zip packages_apps_browser-ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6.tar.gz packages_apps_browser-ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'assets')
-rw-r--r-- | assets/html/flashtest.html | 18 | ||||
-rwxr-xr-x | assets/html/plugin.html | 43 | ||||
-rw-r--r-- | assets/plugins/gears-0.4.23.0/permissions_dialog.html | 2857 | ||||
-rw-r--r-- | assets/plugins/gears-0.4.23.0/settings_dialog.html | 2750 | ||||
-rw-r--r-- | assets/plugins/gears-0.4.23.0/shortcuts_dialog.html | 2907 | ||||
-rw-r--r-- | assets/plugins/gears-0.5.2.0/dummy | 1 | ||||
-rw-r--r-- | assets/plugins/gears.so | bin | 1174896 -> 1188380 bytes |
7 files changed, 62 insertions, 8514 deletions
diff --git a/assets/html/flashtest.html b/assets/html/flashtest.html new file mode 100644 index 0000000..8e1cf48 --- /dev/null +++ b/assets/html/flashtest.html @@ -0,0 +1,18 @@ +<html> +<head> +<title>Flash test</title> +</head> +<body> +<h1>Flash test</h1> +This is text above the plugin +<a href="http://www.google.com">Google</a> +<br> +lhs +<object type="application/x-shockwave-flash" height=120 width=240> + <param name="FlashFileName" value="/data/data/com.android.browser/app_plugins/Ball.swf" /> +</object> +<br> + +This is some the text and more text and more text and more text and more text and more text and more text and more text and more text and more text and more text +</body> +</html> diff --git a/assets/html/plugin.html b/assets/html/plugin.html new file mode 100755 index 0000000..f112a4b --- /dev/null +++ b/assets/html/plugin.html @@ -0,0 +1,43 @@ +<html> +<head> +<title>Plugin test</title> +</head> +<body> +<h1>Plugin test page</h1> +This is text above the plugin +<a href="http://www.google.com">Google</a> +<br> +lhs +<object type="application/x-testplugin" height=40 width=64> + <param name="DrawingModel" value="Bitmap" /> +</object> +<object type="application/x-testplugin" height=40 width=64> + <param name="DrawingModel" value="Canvas" /> +</object> +rhs +<br> + +This is some the text and more text and more text and more text and more text and more text and more text and more text and more text and more text and more text +<ol> +<li><a href="http://www.google.com">Google</a></li> +<li><a href="http://www.gmail.com">Gmail</a></li> +<li><a href="http://maps.google.com/">Google Maps</a></li> +<li><a href="http://news.google.com">Google News</a></li> +<li><a href="http://www.yahoo.com">Yahoo!</a></li> +<li><a href="http://www.yahoomail.com">Yahoo! Mail</a></li> +<li><a href="http://www.msn.com">MSN</a></li> +<li><a href="http://www.hotmail.com">Hotmail</a></li> +<li><a href="http://www.aol.com">AOL</a></li> +<li><a href="http://mail.aol.com">AOL Mail</a></li> +<li><a href="http://www.ebay.com">eBay</a></li> +<li><a href="http://www.ask.com">Ask.com</a></li> +<li><a href="http://www.amazon.com">Amazon</a></li> +<li><a href="http://www.myspace.com">MySpace</a></li> +<li><a href="http://www.nytimes.com">New York Times</a></li> +<li><a href="http://www.weather.com">Weather Channel</a></li> +<li><a href="http://www.wikipedia.org/">Wikipedia</a></li> +<li><a href="http://www.cnet.com">CNET</a></li> +<li><a href="http://www.apple.com">Apple</a></li> +</ol> +</body> +</html> diff --git a/assets/plugins/gears-0.4.23.0/permissions_dialog.html b/assets/plugins/gears-0.4.23.0/permissions_dialog.html deleted file mode 100644 index a332f78..0000000 --- a/assets/plugins/gears-0.4.23.0/permissions_dialog.html +++ /dev/null @@ -1,2857 +0,0 @@ -<!DOCTYPE html> - -<!-- -Copyright 2007, The Android Open Source Project - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - 3. Neither the name of Google Inc. nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---> - -<html> -<head> - <style type="text/css"> - - -/* -Copyright 2007, The Android Open Source Project - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - 3. Neither the name of Google Inc. nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -body, html { - background-color:white; - padding:0; - margin:0; - height:100%; - overflow:hidden; - cursor:default; - - /* - Makes the text unselectable in mozilla. See html_diaog.js for IE - implementation. - */ - -moz-user-select:none; -} - -body, td, input, select, button { - font-family:arial,sans-serif; - font-size:13px; -} - -p { - margin:0; - margin-bottom:1em; -} - -a { - color:blue; - text-decoration:underline; -} - -button { - /* - It would be better to express margins in ems, but it causes layout - artifacts (presumably because of rounding errors) when combined with - the -moz-border-radius property used in button.css on Firefox 2. - - Also: bizarely, if I try to use the more natural margin-left:10px, I get - a bug where the buttons bounce on IE when you hover over them. - */ - position:relative; - margin-right:7px; - left:7px; -} - -#head { - padding:1em; -} - -#foot { - - /* - On Android we do not use position:absolute due to some - rendering limitations (absolute positioning works, but - the automatic resizing of dialog is confused by the - variable content and the display is wrong, while if we - remove the absolute positioning, #foot is back in the - flow and the dialog displays correctly) - */ - - background:white; - bottom:0; - width:100%; -} - -#button-row { - margin:1em; -} - -.accesskey { - text-decoration: underline; - - /* IE CSS extension */ - accelerator: true; -} - - #content { - margin:0 1em; - } - - #yellowbox-right { - padding-left:1em; - padding-right:1em; - } - - - - #checkbox-row { - margin-top:1em; - - margin-bottom:1em; - - } - - .header-icon { - margin-right:0.5em; - display:none; - } - - #custom-icon { - display:none; - margin-left:1em; - } - - #custom-name { - font-weight:bold; - font-size:1.1em; - display:none; - } - - #origin { - display:none; - } - - #custom-message { - - margin-top:6px; - - display:none; - } - - #origin-only { - font-weight:bold; - font-size:1.1em; - display:none; - } - - #yellowbox { - margin:4px 0 4px 0; - border:solid #f1cc1d; - border-width:1px 0; - background:#faefb8; - } - - #yellowbox-inner { - /* pseudo-rounded corners */ - margin:0 -1px; - border:solid #f1cc1d; - border-width:0 1px; - - padding:1em 0; - - } - - #yellowbox p { - - padding:0 1em; - - } - - #permissions-help { - margin:4px; - display:none; - } - </style> -</head> -<body> - <div id="strings" style="display:none"> - <div id="string-allow"></div> - <div id="string-allow-accesskey"></div> - <div id="string-deny"></div> - <div id="string-deny-accesskey"></div> - <div id="string-cancel"></div> - <div id="string-trust-site-accesskey"></div> - </div> - - <!-- - PIE only works with one window, and we are in a modal dialog. - Using window.open(this.href) replaces the content of the current dialog, - which is annoying when no back button is displayed... - The workaround is to embed directly a short explanation text, and - hide/show the div container for the help and the settings dialog. - --> - - <div id="permissions-help"> - <h2>Information</h2> - <p> - <span id="string-description"></span> - </p> - <ul> - <li><span id="string-localserver-desc"></span></li> - <li><span id="string-database-desc"></span></li> - <li><span id="string-workerpool-desc"></span></li> - </ul> - <a href="#" onclick="showHelp(false); return false;">Go back</a> - </div> - - - <div id="head"> - <table width="100%" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td valign="top"> - <!-- On IE Mobile, we can reliably hide or show div elements. - Showing or hiding image elements is like playing the Russian roulette: - it is potentially lethal. --> - <div id="icon-local-data" class="header-icon"> - - <img width="32" height="32" src="data:image/png;base64, -iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0 -d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABLNJREFUeNrEV1toHFUY/ua2 -9yTYpKEJxIRisJJWY+1L82KtLaYPtRE1IERSFYxVKEqLoH2QPFjxhr5ozUuD -iIZWkdQgWgu2IsQH26TFeklqAxpzaUjcZJPdzVzX/5zdmb3NdlYM5od/z5mz -Z/7/O//1jJBKpbCeJGKdSf7g/Y5+Gg+6/Tk1HYJpWbBMExaNeXM+mjRaMAwd -mqZB13XOTU2VaL6tOlfUZeJdh547s1QEgCl/rLMCPp/AF+bmLNTWpg1z+GiY -C2QKbOGGnoJumDQ3aZ5eUzUVyUQS8XgciUQcrXf60d1VSc8pApbC98OJ1mjU -unDivQNFIBgAUq7kLJnEEp8piuJpwr33V2D3rhC3ypmhGzj92Z/0XiAjOkWy -gfa9Vfj6XIxAmBdo8e4iAM5QsCzLsieAurogWu+q5PPRKwmEw2EC4MvIsJA+ -oEggbsHA6flWuGrKnDhN1r+ygCjKzn5Z9iEYCkLx+QtkSgRCcg/C/wpAkrIA -JALjJ+WKXAygZBawH0HImloQDOe5HBcwAPZ+keYMtCQpfE0QbJnyzQHklwPJ -eS7fBaIDRqZ3RMmWIXqWmzSAPIS681wOgGvXLQwOJXgW/DZuOBbIk+ltgXx/ -xVessgFcn9AxNp506oQiK1Q3BC6DahPPAM8YyN0QDvud+ZNdsyVeUzIcvCk4 -FvmKT/J2gSBkAUQqpP+3FxQWov4PL62pgie67ykHQL6Jnnl2cE2UU6PzbLhi -FofsUpLz6eoXn3K2aW7sZwz3vYPV5SWPM5aWLXtVKkZL05M4/2YvUqYBdWUZ -c+O/IFBRiV+/+pzqgICxb4aw56VX0bBjp1up8nZBbhCWIi2+gurGJqiRMGJT -E1igthusjEBPJpFcXiSQf6HB5b1C2fV1m5z59Mys7QIph4vJT6eNz9+AQX3f -1DUkFxeRiEZhGgYx3RFWNb6nRLEulN2U4Y0MjOhUKpsLiPl3uO9d1GxuptMm -yPxj2PZQF9oOvUhKa6DRRUSURYwM9POYKDZBkezGDG9mxUTMxqJYFLGTF3/A -qac6sbowDx/1+ejkH9j/xglsffBRNN/3ADr7BqAEK8gqBqYuX8THjx/gQVkc -53myhQxr7PbjmQXs5H7yOzO9QM2m9vaWvP/v2NcBi65olmGhqn5TuVnAruJ/ -s94v2oFis1sGqBSApqFRBizx51z6/btzHIDso04YCLkGoYtsg3jBMwhZWu05 -dhzaqgp1OYZITQ2+PHYY186f5e4ZPPI0FibGyToWQtUbsbPnCNp6XvAKQkZx -4kRZdYCZvL33LZzsuBcbGm+FqSbx7esvU0ZopFhPG5N+2nqe53FRRh1gbyza -F8YSl1KX/hcIkKl1WKRUlMmk1HJTVoqfPlKzwbva59/5osz8TimemZ3HyOhV -ProRM78vUoVkLEbxEEftllZsaX+Y8l+l248IJRQpXQeY721OUyLjgiy82Zk5 -jI7+RLnh3jiq6hvQfepspu7HsPvoK3x96/5HcOmTk9z8bI+r/mIXLGSCMAug -pWUbtm/fwRdGRq+UNGZhgLH42Nf7dlkdX1VVe2HeNj8HSJ9LJb8N15roO/Kj -46/9eJAAWA6A9f48/0eAAQASLt1W3nvcdQAAAABJRU5ErkJggg== - "> - - </div> - <div id="icon-locationdata" class="header-icon"> - - <img width="32" height="32" src="data:image/png;base64, -iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsT -AAALEwEAmpwYAAAAIGNIUk0AAG4nAABzrwAA/oMAAH9bAABMGwAA+PYAADHr -AAAXyBit77wAAAXuSURBVHja7JdLbFxnFcd/3+M+Zjz2jCe168QTx2lw0rRV -E4PapGqgXhDRpkhTsUCAqDQLFjyE2kUjsUGGJcomG8tdQOsKNggEKZQuKEhu -FYqAFjshNLaT+DUO8sw44/G8PHPn3rks5tp1wqNjCMqGTzr6pPOd+53/eX7n -Ct/3uZdLco/X/wGI3X5wbnggCjwHjACDAXsRmAQunJ1a3vifATg3PJAEJqTW -Ma/hoQyFMhRCSDzXxXMaBSB1dmr59XbvVLtQPiq18XLv4cO2UyrjN320qdGm -iRkOEYpGsTs77Xql8oXTfV28tbrx9l0DcG54IKkM8+WDJ5+knFulsraOMlvW -K9NEmSbaMjE7Ogh3d7NZ2Bg5fX/X9FurG7N3KwnPD544RaNWpriapWfoEI89 -/2ViiQTR/n6GP/9F4oOHkFpjd3XRM3QY4Hw7F+t2rDc7IoNWJExm9jJew+XI -6U/TMzTEvkePIZWBkAq7K8aVX/4cpU26+qLkFxcHzw0PJD8qH9rxwPHuxADr -KwtU1gpIrTA6wggpKedyFFbSCKkwQmGUNpCGgTIMuvcPABy/GyE47rl11pfT -gM/To98mti9B7to1/jjxCpd++mPyC/NEeu/n5Fe+jtIGSptYndG2AOg2ABTK -uSy1YgVlKMxwB0JKaqUSytAoramXywghMSwTZbTI9zyAwt0AsFjbKCOUQmrF -n374Gp/40vMcOPEEAoEyDBIff4xmw+Xqb95AahNlWGwWN7Ya1H8dggsIH6kl -UisKK2nWrl9DCMnBJz/F4BOfRAhJKZuhXiyiDRN8KKws4zb9X5imJXeQCAjT -tNoDcHZq+RIwid9EaYXSmsraGl6jwcLv3mHh3Ys0XZdyLhtYb5K9NkPDqb89 -ejV7BTAAM9iNwOsSEKZptRUCgBe9hjvpuV7M7ND87dIU2ZkPUJaNYYfIz99A -22EMu4N8eomVy+9vLFUbo0Bsh0IfaAJ1YBNoAF5bjSjwQqpequA3faTWSG20 -yk4byCDxnEqZxT9c5Oam+9L3F9dvAvftoJ5g7wbsoAuLtp/joKGkiqtZhJQt -EIFipVtxn5v8NfMV57vjC/nLQC+wJ/BCFOgK9m4gtBX+Xc0DZ6eWX/ObzQvF -TA6lzaDmDZRhcvMv0xSqtXd+sLj+28DCrXirHa+uH4SgDniA/58MJKlqPl9w -Nqsoo9V0qut5cos3Sj9KF74XGCV3KPQAN4j7LSADlALe7ieiYOA4v55Ot7xg -mKzO/JVMzf3JyqZbCaz1A3KBSqB0OaBbQQL6jlP/6CoYH0seC+K4vby16vTm -m9fxGi5COhTXcxSO9Yc/++DeFEKglfA7Ow0vFJLXXdd785WJqaUAjO849fYm -ovGx5CiQikRCg5FIqOXPpofve0ilWPvVLEapCyElVXOd/FAfjuMRCmkOHLDZ -t9eiVHZIpzdBcB74zte+8fpGWyPZ+Fjy1Xg8mjp54lH6+uIBeI+52QVsW7F/ -oIfc3Co/++YbeI7Dx756klwDenstYt2KcEhw9MEwQniUSnUu/j5PJuNMAyN3 -gpD/XHksdeaZEfbu7dnm12p1stlb9PZ2A9AzdB9WpwBb0gjbPP54D6dO9fDI -w1EKBZd6vQlAJKJ4+nScQw/Yx4HJ8bFk9F96YHws+WqiP5raE49hmsaOXPKp -1eq4rkckYuPjg+/zwcSfqVYbJD73CH19diALlYqL1mBZYpsHPumVGpls+TZP -iNst70499dQJpNiqnibQxG04XL06x9GjB9Fa4NME38PbdAAPFZJAE99vfeO6 -HrOzZY4csVCquX2PZbm8936ZG/ONbRDiQ+Xx1LNnPoNpSfC9AEAr6ZaXlihX -yjz00EHw3QCAuy2zJbeVK+Bx5UqRaJckkZA75FrnF9+tcmPenQZG1PhY8oV4 -fM+3nj1zBtMyArQfut5zG8zMzHHogQFse+f57XJ38iwTFhbr9PfrfzjfnxCs -Zry+SsVfFeNjySQwcWetb08sWrInHiaTLe+6ZcaiNoWN2r8TeU7c69/zvw8A -aBuA3Xz76MYAAAAASUVORK5CYII= - "> - - </div> - <!-- Some browsers automatically focus the first focusable item. We - don't want anything focused, so we add this fake item. --> - <a href="#" id="focus-thief"></a> - </td> - <td width="100%" valign="middle"> - <div id="local-data" style="display:none"> - <span id="string-query-data"></span> - </div> - <div id="location-data" style="display:none"> - <span id="string-query-location"></span> - </div> - </td> - </tr> - </table> - </div> - - <div id="content"> - <div id="yellowbox"> - <div id="yellowbox-inner"> - <table width="100%" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td id="yellowbox-left" valign="top"> - <img id="custom-icon" width="0" height="0" src="blank.gif"> - </td> - <td id="yellowbox-right" width="100%" valign="middle"> - <div id="custom-name"></div> - <div id="origin"></div> - <div id="origin-only"></div> - <div id="custom-message"></div> - </td> - </tr> - </table> - </div> - </div> - - <div id="string-location-privacy-statement" style="display:none; padding-top:3px;"></div> - - <p id="checkbox-row" style="display:none"> - <table width="100%" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td valign="middle"> - <input type="checkbox" id="unlock" accesskey="T" - onclick="updateAllowButtonEnabledState()"> - </td> - <td valign="middle"> - <label for="unlock"> - <span id="string-trust-site"></span> - </label> - </td> - </tr> - </table> - </p> - - </div> - - <div id="foot"> - - <div id="button-row"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - - - <td width="100%" valign="middle"> - - <a href="#" onclick="denyAccessPermanently(); return false;"> - - <span id="string-never-allow-link"></span></a> - - </td> - - - <td nowrap="true" align="right" valign="middle"> - <button id="allow-button" class="custom" - onclick="allowAccessPermanently(); return false;"></button - ><button id="deny-button" class="custom" - onclick="denyAccessTemporarily(); return false;"></button> - </td> - </tr> - </table> - </div> - </div> - - -</body> -<!-- -We include all files through m4 as the HTML dialog implementation on -PocketIE does not support callbacks for loading external JavaScript files. -TODO: find a better way to include scripts for PIE ---> -<script> -/* -Copyright (c) 2005 JSON.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The Software shall be used for Good, not Evil. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -*/ - -//Array.prototype.______array = '______array'; - -var JSON = { - org: 'http://www.JSON.org', - copyright: '(c)2005 JSON.org', - license: 'http://www.crockford.com/JSON/license.html', - - stringify: function (arg) { - var c, i, l, s = '', v; - - switch (typeof arg) { - case 'object': - if (arg) { - if (arg.constructor == Array.prototype.constructor) { - for (i = 0; i < arg.length; ++i) { - v = this.stringify(arg[i]); - if (s) { - s += ','; - } - s += v; - } - return '[' + s + ']'; - } else if (typeof arg.toString != 'undefined') { - for (i in arg) { - v = arg[i]; - if (typeof v != 'undefined' && typeof v != 'function') { - v = this.stringify(v); - if (s) { - s += ','; - } - s += this.stringify(i) + ':' + v; - } - } - return '{' + s + '}'; - } - } - return 'null'; - case 'number': - return isFinite(arg) ? String(arg) : 'null'; - case 'string': - l = arg.length; - s = '"'; - for (i = 0; i < l; i += 1) { - c = arg.charAt(i); - if (c >= ' ') { - if (c == '\\' || c == '"') { - s += '\\'; - } - s += c; - } else { - switch (c) { - case '\b': - s += '\\b'; - break; - case '\f': - s += '\\f'; - break; - case '\n': - s += '\\n'; - break; - case '\r': - s += '\\r'; - break; - case '\t': - s += '\\t'; - break; - default: - c = c.charCodeAt(); - s += '\\u00' + Math.floor(c / 16).toString(16) + - (c % 16).toString(16); - } - } - } - return s + '"'; - case 'boolean': - return String(arg); - default: - return 'null'; - } - }, - parse: function (text) { - var at = 0; - var ch = ' '; - - function error(m) { - throw { - name: 'JSONError', - message: m, - at: at - 1, - text: text - }; - } - - function next() { - ch = text.charAt(at); - at += 1; - return ch; - } - - function white() { - while (ch) { - if (ch <= ' ') { - next(); - } else if (ch == '/') { - switch (next()) { - case '/': - while (next() && ch != '\n' && ch != '\r') {} - break; - case '*': - next(); - for (;;) { - if (ch) { - if (ch == '*') { - if (next() == '/') { - next(); - break; - } - } else { - next(); - } - } else { - error("Unterminated comment"); - } - } - break; - default: - error("Syntax error"); - } - } else { - break; - } - } - } - - function string() { - var i, s = '', t, u; - - if (ch == '"') { -outer: while (next()) { - if (ch == '"') { - next(); - return s; - } else if (ch == '\\') { - switch (next()) { - case 'b': - s += '\b'; - break; - case 'f': - s += '\f'; - break; - case 'n': - s += '\n'; - break; - case 'r': - s += '\r'; - break; - case 't': - s += '\t'; - break; - case 'u': - u = 0; - for (i = 0; i < 4; i += 1) { - t = parseInt(next(), 16); - if (!isFinite(t)) { - break outer; - } - u = u * 16 + t; - } - s += String.fromCharCode(u); - break; - default: - s += ch; - } - } else { - s += ch; - } - } - } - error("Bad string"); - } - - function array() { - var a = []; - - if (ch == '[') { - next(); - white(); - if (ch == ']') { - next(); - return a; - } - while (ch) { - a.push(value()); - white(); - if (ch == ']') { - next(); - return a; - } else if (ch != ',') { - break; - } - next(); - white(); - } - } - error("Bad array"); - } - - function object() { - var k, o = {}; - - if (ch == '{') { - next(); - white(); - if (ch == '}') { - next(); - return o; - } - while (ch) { - k = string(); - white(); - if (ch != ':') { - break; - } - next(); - o[k] = value(); - white(); - if (ch == '}') { - next(); - return o; - } else if (ch != ',') { - break; - } - next(); - white(); - } - } - error("Bad object"); - } - - function number() { - var n = '', v; - if (ch == '-') { - n = '-'; - next(); - } - while (ch >= '0' && ch <= '9') { - n += ch; - next(); - } - if (ch == '.') { - n += '.'; - while (next() && ch >= '0' && ch <= '9') { - n += ch; - } - } - if (ch == 'e' || ch == 'E') { - n += 'e'; - next(); - if (ch == '-' || ch == '+') { - n += ch; - next(); - } - while (ch >= '0' && ch <= '9') { - n += ch; - next(); - } - } - v = +n; - if (!isFinite(v)) { - ////error("Bad number"); - } else { - return v; - } - } - - function word() { - switch (ch) { - case 't': - if (next() == 'r' && next() == 'u' && next() == 'e') { - next(); - return true; - } - break; - case 'f': - if (next() == 'a' && next() == 'l' && next() == 's' && - next() == 'e') { - next(); - return false; - } - break; - case 'n': - if (next() == 'u' && next() == 'l' && next() == 'l') { - next(); - return null; - } - break; - } - error("Syntax error"); - } - - function value() { - white(); - switch (ch) { - case '{': - return object(); - case '[': - return array(); - case '"': - return string(); - case '-': - return number(); - default: - return ch >= '0' && ch <= '9' ? number() : word(); - } - } - - return value(); - } -}; - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// Various basic JavaScript utilities. -//============================================================================= - -/** - * Check that the type is not undefined (we do it here as on - * some devices typeof returns unknown instead of undefined...). - * We have to pass the evaluation of (typeof elem) (i.e., a string) - * to the function rather than simply (element) -- passing an - * undefined object would make the function crash on PIE. - */ -function isDefined(type) { - return type != 'undefined' && type != 'unknown'; -} - -/** - * Returns true if val is a function. - */ -function isFunction(val) { - return typeof val == "function"; -} - -// TODO(aa): more basic type checking here. - - -/** - * Creates a 'bound' function that calls the current function with a preset - * 'this' object and set of arguments. - */ -Function.prototype.bind = function(obj) { - var preArgs = Array.prototype.slice.call(arguments, 1); - var self = this; - return function() { - var postArgs = Array.prototype.slice.call(arguments, 0); - var totalArgs = preArgs.concat(postArgs); - return self.apply(obj, totalArgs); - } -}; - -/** - * Creates a partially applied function that calls the current function with - * a preset set of arguments. - */ -Function.prototype.partial = function() { - var args = Array.prototype.slice.call(arguments, 0); - return this.bind(null, args); -}; - -/** - * Binds all the methods in obj to obj. - */ -function bindMethods(obj) { - for (var p in obj) { - if (isFunction(obj[p])) { - obj[p] = obj[p].bind(obj); - } - } -} - - -/** - * Trim leading and trailing whitespace from a string. - */ -String.prototype.trim = function(str) { - return this.replace(/^\s+/, "").replace(/\s+$/, ""); -}; - - -/** - * Find the index of a given element in an array. Returns -1 if the item does - * not exist. - */ -Array.prototype.indexOf = function(item) { - for (var i = 0; i < this.length; i++) { - if (this[i] === item) { - return i; - } - } - return -1; -}; - -/** - * Makes a deep copy of an object. - */ -function cloneObject(original) { - var newObject = new Object(); - for (i in original) { - if (typeof original[i] == 'object') { - newObject[i] = cloneObject(original[i]); - } - else { - newObject[i] = original[i]; - } - } - newObject.length = original.length; - return newObject; -} - -var browser = {}; - -(function() { - var ua = navigator.userAgent; - browser.opera = typeof opera != "undefined"; - browser.ie = !browser.opera && ua.indexOf("MSIE") > -1; - browser.ie_mobile = (ua.indexOf("Windows CE") > -1) && - (ua.indexOf("MSIE") > -1); - browser.webkit = ua.indexOf("WebKit") > -1; - // WebKit also gives product == "gecko". - browser.mozilla = !browser.webkit && navigator.product == "Gecko"; - browser.safari = ua.indexOf("Safari") > -1; - browser.mac = navigator.platform.indexOf("Mac") > -1; - browser.linux = navigator.platform.indexOf("Linux") > -1; - browser.windows = navigator.platform.indexOf("Win") > -1; - browser.android = ua.indexOf("Android") > -1; - if (browser.android) { - browser.safari = false; - } - // TODO(aa): Add detection for more browsers, as necessary. -})(); - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// DOM manipulation utilities. -// Requires: base.js -//============================================================================= - -var dom = {}; - -/** - * Provides a cross-browser way of getting an element by its id - */ -dom.getElementById = function(id) { - if (isDefined(typeof document.getElementById)) { - return document.getElementById(id); - } else if (isDefined(typeof document.all)) { - return document.all[id]; - } - throw new Error("Failed to get element by ID."); -}; - -/** - * Gets the position and dimensions of an element in pixels in relation - * to the window origin. - */ -dom.getPosition = function(elem) { - var ret = { 'left' : 0, - 'top' : 0, - 'width' : elem.width, - 'height' : elem.height }; - - if (!elem.offsetParent) return ret; - - var left = 0; - var top = 0; - while (elem) { - left += elem.offsetLeft; - top += elem.offsetTop; - elem = elem.offsetParent - } - ret.left = left; - ret.top = top; - return ret; -}; - -/** - * Returns the height of the inside of the window. - */ -dom.getWindowInnerHeight = function() { - if (isDefined(typeof window.innerHeight)) { // Firefox - return window.innerHeight; - } else if (isDefined(typeof document.body.offsetHeight)) { // IE - return document.body.offsetHeight; - } - - throw new Error("Could not get windowInnerHeight."); -}; - -/** - * Add an event listener to an element cross-browser. - */ -dom.addEvent = function(element, eventName, handler) { - var wrapper = dom._callEventHandler.bind(dom, handler); - - if (isDefined(typeof element.addEventListener)) { - // Standards-compatible browsers - element.addEventListener(eventName, wrapper, false); - } else if (isDefined(typeof element.attachEvent)) { - // IE - element.attachEvent("on" + eventName, wrapper); - } else { - throw new Error('Failed to attach event.'); - } -}; - -/** - * Private helper for calling event handlers compatibly across browsers. - */ -dom._callEventHandler = function(handler, e) { - // Older versions of IE don't pass event to the handler. - if (!e) e = window.event; - - // TODO(aa): Normalize event object properties. - - return handler(e); -}; - -/** - * Gets the CSS classes for an element. - */ -dom.getClasses = function(elm) { - return elm.className.split(/\s+/); -}; - -/** - * Check is an element has a particular CSS class name. - */ -dom.hasClass = function(elm, className) { - return this.getClasses(elm).indexOf(className) > -1; -}; - -/** - * Adds a CSS class to an element. Do nothing if the class already exists. - */ -dom.addClass = function(elm, className) { - var classes = this.getClasses(elm); - if (classes.indexOf(className) > -1) { - return; - } - classes.push(className); - elm.className = classes.join(" "); -}; - -/** - * Removes a CSS class from an element. Do nothing if the class doesn't exist. - */ -dom.removeClass = function(elm, className) { - var classes = this.getClasses(elm); - var index = classes.indexOf(className); - if (index == -1) { - return; - } - classes.splice(index, 1); - elm.className = classes.join(" "); -}; - -/** - * Gets the text (non-html) content of an element. - */ -dom.getTextContent = function(elm) { - if (isDefined(typeof elm.textContent)) { - return elm.textContent; - } else if (isDefined(typeof elm.innerText)) { - return elm.innerText; - } else { - throw new Error("Could not find a property to get text content."); - } -}; - -/** - * Sets the text (non-html) contents of an element. - */ -dom.setTextContent = function(elm, text) { - if (isDefined(typeof elm.textContent)) { - elm.textContent = text; - } else if (isDefined(typeof elm.innerText)) { - elm.innerText = text; - } else { - throw new Error("Could not find a property to set text content."); - } -}; - -// Copyright 2007, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -/** - * Initialize the base functionality of the dialog. - */ -function initDialog() { - if (!browser.ie_mobile) { - dom.addEvent(document, "keyup", handleKeyUp); - } else { - var buttonRowElem = null; - if (window.pie_dialog.IsSmartPhone()) { - buttonRowElem = dom.getElementById("button-row-smartphone"); - } else { - buttonRowElem = dom.getElementById("button-row"); - } - if (buttonRowElem) { - buttonRowElem.style.display = 'block'; - } - } - if (browser.ie_mobile) { - window.pie_dialog.SetScriptContext(window); - window.pie_dialog.ResizeDialog(); - } -} - -/** - * Set the label of an input button, and optionally, its accesskey. - */ -function setButtonLabel(textID, elemID, accessKeyID) { - var textElem = dom.getElementById(textID); - var buttonElem = dom.getElementById(elemID); - if (textElem == null || buttonElem == null) { - return; - } - - var accessKeyElem = null; - if (isDefined(typeof accessKeyID)) { - accessKeyElem = dom.getElementById(accessKeyID); - } - - // This function works for two different kinds of buttons. Simple buttons - // based on the <input type="button"> tag, and custom buttons based on a - // <button> tag with the css class "custom". - // Note that on Windows Mobile 5, the tagName property is not defined. - // We can therefore safely assume that the converse is also true: - // if tagName is not defined, then the platform must be Windows Mobile 5. - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.value = dom.getTextContent(textElem).trim(); - if (accessKeyElem != null) { - buttonElem.accessKey = dom.getTextContent(accessKeyElem).trim(); - } - } else if (buttonElem.tagName.toLowerCase() == "button") { - var text = dom.getTextContent(textElem).trim(); - - if (accessKeyElem != null) { - // Some browsers use the accessKey attribute of the the anchor tag. - var accessKey = dom.getTextContent(accessKeyElem).trim(); - buttonElem.accessKey = accessKey; - - // Find the first matching character in the text and mark it. - // Note: this form of String.replace() only replaces the first occurence. - text = text.replace(accessKey, - "<span class='accesskey'>" + accessKey + "</span>"); - } - - buttonElem.innerHTML = text; - } else { - throw new Error("Unexpected button tag name: " + buttonElem.tagName); - } -} - -/** - * Allows a dialog to do custom layout when the window changes sizes. The - * provided function will be called with the height of the content area when the - * dialog should relayout. - */ -function initCustomLayout(layoutFunction) { - function doLayout() { - layoutFunction(getContentHeight()); - } - - doLayout(); - - // We do an additional layout in onload because sometimes things aren't - // stabilized when the first doLayout() is called above. - dom.addEvent(window, "load", doLayout); - dom.addEvent(window, "resize", doLayout); - - // Mozilla doesn't fire continuous events during resize, so if we want to get - // somewhat smooth resizing, we need to run our own timer loop. This still - // doesn't look perfect, because the timer goes off out of sync with the - // browser's internal reflow, but I think it's better than nothing. - // TODO(aa): Keep looking for a way to get an event for each reflow, like IE. - if (browser.mozilla) { - var lastHeight = -1; - - function maybeDoLayout() { - var currentHeight = dom.getWindowInnerHeight(); - if (currentHeight != lastHeight) { - lastHeight = currentHeight; - doLayout(); - } - } - - window.setInterval(maybeDoLayout, 30); - } -} - -/** - * Get the JSON-formatted arguments that were passed by the caller. - */ -function getArguments() { - var argsString; - if (browser.ie_mobile) { - argsString = window.pie_dialog.GetDialogArguments(); - } else if (browser.ie) { - argsString = window.external.GetDialogArguments(); - } else if (browser.mozilla) { - argsString = getFirefoxArguments(window.arguments[0]); - } else if (browser.safari) { - argsString = window.gears_dialogArguments; - } else if (browser.android) { - argsString = "" + window.bridge.getDialogArguments(); - } - - if (typeof argsString == "string") { - return JSON.parse(argsString); - } else { - return null; - } -} - -/** - * Helper used by getArguments(). Getting the arguments in the right type is - * more involved in Firefox. - */ -function getFirefoxArguments(windowArguments) { - var Ci = Components.interfaces; - windowArguments.QueryInterface(Ci.nsIProperties); - var supportsString = - windowArguments.get("dialogArguments", Ci.nsISupportsString); - return supportsString.data; -} - -/** - * Close the dialog, sending the specified result back to the caller. - */ -function saveAndClose(resultObject) { - var resultString = JSON.stringify(resultObject); - if (browser.ie_mobile) { - window.pie_dialog.CloseDialog(resultString); - } else if (browser.ie) { - window.external.CloseDialog(resultString); - } else if (browser.mozilla) { - saveFirefoxResults(resultString); - window.close(); - } else if (browser.safari) { - window.gears_dialog.setResults(resultString); - } else if (browser.android) { - window.bridge.closeDialog(resultString); - } -} - -/** - * Helper used by endDialog() for Firefox. - */ -function saveFirefoxResults(resultString) { - var Cc = Components.classes; - var Ci = Components.interfaces; - - var props = window.arguments[0].QueryInterface(Ci.nsIProperties); - var supportsString = Cc["@mozilla.org/supports-string;1"] - .createInstance(Ci.nsISupportsString); - - supportsString.data = resultString; - props.set("dialogResult", supportsString); -} - -/** - * Returns the height of the content area of the dialog. - */ -function getContentHeight() { - var head = dom.getElementById("head"); - var foot = dom.getElementById("foot"); - return dom.getWindowInnerHeight() - head.offsetHeight - foot.offsetHeight; -} - -/** - * For some reason ESC doesn't work on HTML dialogs in either Firefox or IE. So - * we implement it manually. - */ -function handleKeyUp(e) { - var ESC_KEY_CODE = 27; - - if (e.keyCode == ESC_KEY_CODE) { - saveAndClose(null); - } -} - -/** - * Disables a button in the right way, whether it is normal or custom. - */ -function disableButton(buttonElem) { - buttonElem.disabled = true; - - if (browser.ie_mobile) { - window.pie_dialog.SetButtonEnabled(false); - } - - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.style.color = "gray"; - } else if (buttonElem.tagName.toLowerCase() == "button") { - dom.addClass(buttonElem, "disabled"); - } else { - throw new Error("Unexpected tag name: " + buttonElem.tagName); - } -} - -/** - * Enables a button in the right way, whether it is normal or custom. - */ -function enableButton(buttonElem) { - buttonElem.disabled = false; - - if (browser.ie_mobile) { - window.pie_dialog.SetButtonEnabled(true); - } - - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.style.color = "black"; - } else if (buttonElem.tagName.toLowerCase() == "button") { - dom.removeClass(buttonElem, "disabled"); - } else { - throw new Error("Unexpected tag name: " + buttonElem.tagName); - } -} - -/** - * Returns a wrapped domain (useful for small screens dialogs, - * e.g. windows mobile devices) - */ -function wrapDomain(str) { - if (!browser.ie_mobile) { - return str; - } - - var max = 20; - var url; - var scheme_start = str.indexOf("://"); - var scheme = ""; - - if (scheme_start != -1) { - scheme = str.substring(0, scheme_start); - scheme += "://"; - // there's automatically an hyphenation - // point used by the browser after http:// - // so we only have to hyphenate the - // rest of the string - url = str.substring(scheme.length); - } else { - url = str; - } - - // We hyphenate the string on every dot - var components = url.split("."); - if (components.length < 1) { - return str; - } - - var content = components[0]; - var len = content.length; - for (var i=1; i < components.length; i++) { - var elem = components[i]; - content += "."; - len++; - if (len + elem.length > max) { - content += "<br>"; - len = 0; - } - content += elem; - len += elem.length; - } - return scheme + content; -} - -/** - * Resizes the dialog to fit the content size. - */ -function resizeDialogToFitContent(opt_minDialogInnerHeight) { - // This does not work on PIE (no height measurement) - if (browser.ie_mobile) { - window.pie_dialog.ResizeDialog(); - return; - } - // window.resize() is not working on Android, we bail out. - if (browser.android) { - return; - } - - // Resize the window to fit - var contentDiv = dom.getElementById("content"); - var contentHeightProvided = getContentHeight(); - var contentHeightDesired = contentDiv.offsetHeight; - - var dialogHeightProvided = dom.getWindowInnerHeight(); - var dialogHeightDesired = - dialogHeightProvided + (contentHeightDesired - contentHeightProvided); - - var minDialogHeight = opt_minDialogInnerHeight || 0; - var maxDialogHeight = 400; // arbitrary max height for a dialog to resize to - - var targetHeight = Math.max(dialogHeightDesired, minDialogHeight); - targetHeight = Math.min(dialogHeightDesired, maxDialogHeight); - - if (targetHeight != dialogHeightProvided) { - var dy = targetHeight - dialogHeightProvided; - window.resizeBy(0, dy); - } -} - -/** - * Safari running on OSX 10.4 can't load images dynamically from the network, - * this helper function calls gears-specific code to work around this - * limitation. - */ -function loadImage(elem, image_url) { - if (browser.safari) { - var position = dom.getPosition(elem); - window.gears_dialog.loadImageIntoElement(image_url, position.top, - position.left, - position.width, - position.height); - } else { - elem.src = image_url; - } -} - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// Implements the behavior of our custom buttons. There is no native support in -// IE for rounded corners on HTML elements, so this script also implements a -// hack to simulate them in that browser. -// -// Requires: base.js, dom.js -//============================================================================= - -/** - * Constructor. - */ -function CustomButton(htmlButton) { - bindMethods(this); - - this._focused = false; - this._htmlButton = htmlButton; - - if (!document.all) { // not IE - dom.addEvent(htmlButton, "mouseover", this._handleMouseOver); - dom.addEvent(htmlButton, "mouseout", this._handleMouseOut); - } else { // IE - // mouseover/mouseout behave badly with nested elements in IE. Luckily, - // mouseenter/mouseleave are provided and have the equivalent semantics. - dom.addEvent(htmlButton, "mouseenter", this._handleMouseOver); - dom.addEvent(htmlButton, "mouseleave", this._handleMouseOut); - - // We also handle focus and blur in IE so that we can update the corners - // to match the black border IE provides. - dom.addEvent(htmlButton, "focusin", this._handleFocus); - dom.addEvent(htmlButton, "blur", this._handleBlur); - - dom.addClass(htmlButton, "ie"); - this._createCorners(); - } - - // Limit button widths to a minimum of 60px. They look funny skinnier. - if (htmlButton.offsetWidth < 60) { - htmlButton.style.width = "60px"; - } - - htmlButton.style.visibility = "visible"; -} - -/** - * Initializes all the custom buttons on the page. - */ -CustomButton.initializeAll = function() { - var buttons = document.getElementsByTagName("button"); - for (var i = 0, button; button = buttons[i]; i++) { - if (dom.hasClass(button, "custom")) { - new CustomButton(button); - } - } -}; - -/** - * Highlights the button on mouseover. Note that this gets called multiple - * times while the mouse goes over sub elements inside the button. - */ -CustomButton.prototype._handleMouseOver = function() { - if (!this._htmlButton.disabled && !this._focused) { - dom.addClass(this._htmlButton, "hover"); - this._setCornerColor("blue"); - } -}; - -/** - * Undoes the highlighting of the button on mouseout. Note that this gets called - * multiple times when the mouse moves out of sub elements, even if it is still - * over the button. That is OK, as long as there is immediately a mouseover - * event. - */ -CustomButton.prototype._handleMouseOut = function() { - if (!this._htmlButton.disabled && !this._focused) { - dom.removeClass(this._htmlButton, "hover"); - this._setCornerColor("grey"); - } -}; - -/** - * Highlights the button on focus. Currently only used for IE. - * TODO(aa): The black highlight looks cool. Consider for other browsers. - */ -CustomButton.prototype._handleFocus = function() { - dom.removeClass(this._htmlButton, "hover"); - this._setCornerColor("black"); - this._focused = true; -}; - -/** - * Undoes the highlighting of the button on blur. - */ -CustomButton.prototype._handleBlur = function() { - this._setCornerColor("grey"); - this._focused = false; -}; - -/** - * Helper to create the graphics that make the button have rounded corners in - * IE. - */ -CustomButton.prototype._createCorners = function() { - // Making the button position:relative makes it possible to position things - // inside it relative to it's border. - this._htmlButton.style.position = "relative"; - - var verticalEdges = ["left", "right"]; - var horizontalEdges = ["top", "bottom"]; - var colors = ["grey", "blue", "black"]; - - for (var i = 0; i < verticalEdges.length; i++) { - for (var j = 0; j < horizontalEdges.length; j++) { - for (var k = 0; k < colors.length; k++) { - var img = document.createElement("img"); - img.src = "button_corner_" + colors[k] + ".gif"; - img.color = colors[k]; - img.style.position = "absolute"; - img.style[verticalEdges[i]] = "-2px"; - img.style[horizontalEdges[j]] = "-2px"; - img.style.filter = - "progid:DXImageTransform.Microsoft.BasicImage(Rotation=" + - (i + j) + ")"; - this._htmlButton.appendChild(img); - } - } - } - - this._setCornerColor("grey"); -}; - -/** - * Sets the color of the corners in IE by changing the stack order of the corner - * images. - */ -CustomButton.prototype._setCornerColor = function(newColor) { - var imgs = this._htmlButton.getElementsByTagName("img"); - for (var i = 0, img; img = imgs[i]; i++) { - img.style.zIndex = Number(img.color == newColor); - } -}; - -var localized_strings = { - "el": { - "string-workerpool-desc": "Εκτέλεση ασύγχρονου JavaScript για βελτίωση απόκρισης εφαρμογών", - "string-allow": "Να επιτρέπεται", - "string-query-data": "Ο παρακάτω ιστότοπος επιθυμεί να αποθηκεύει πληροφορίες στον υπολογιστή σας χρησιμοποιώντας το Gears.", - "string-deny-accesskey": "D", - "string-query-location": "Ο παρακάτω ιστότοπος επιθυμεί να αποκτήσει πρόσβαση σε πληροφορίες σχετικά με την τοποθεσία σας μέσω του Gears.", - "string-html-title": "Προειδοποίηση ασφαλείας Gears", - "string-description": "Το Gears είναι μια επέκταση προγράμματος περιήγησης ανοιχτής προέλευσης που επιτρέπει τις εφαρμογές ιστού να παρέχουν λειτουργίες εκτός σύνδεσης χρησιμοποιώντας τα ακόλουθα JavaScript API:", - "string-database-desc": "Αποθήκευση δεδομένων τοπικά σε μια σχεσιακή βάση δεδομένων με δυνατότητα πλήρους αναζήτησης", - "string-allow-accesskey": "A", - "string-cancel": "Άκυρο", - "string-never-allow-link": "Να μην επιτρέπεται ποτέ αυτός ο ιστότοπος", - "string-deny": "Απόρριψη", - "string-never-allow-link-wince": "Να μην επιτρέπεται ποτέ", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Αποθήκευση και διανομή πόρων εφαρμογών τοπικά", - "string-location-privacy-statement": "Διαβάστε την πολιτική για θέματα ιδιωτικού περιεχομένου του ιστότοπου για να δείτε πώς θα χρησιμοποιηθεί η τοποθεσία σας.", - "string-trust-site": "Εμπιστεύομαι αυτόν τον ιστότοπο. Να επιτρέπεται να χρησιμοποιεί το Gears." - }, - "gu": { - "string-workerpool-desc": "એપ્લિકેશનની રિસ્પોંસિવનેસ વધારવા માટે અસિંક્રોનસ JavaScript ચલાવો", - "string-allow": "મંજૂરી આપો", - "string-query-data": "નીચેની વેબસાઇટ Gearsનો ઉપયોગ કરીને તમારા કમ્પ્યુટર પર માહિતી સંગ્રહિત કરવા માંગે છે.", - "string-deny-accesskey": "D", - "string-query-location": "નીચેની વેબસાઇટ Gearsનો ઉપયોગ કરીને તમારા સ્થાન વિશેની માહિતી એક્સેસ કરવા માંગે છે.", - "string-html-title": "Gears સુરક્ષા ચેતવણી", - "string-description": "Gears એક ઓપન સોર્સ બ્રાઉઝર એક્સ્ટેંશન છે જે નીચેની JavaScript APIsનો ઉપયોગ કરીને ઓફલાઇન ફંક્શનાલિટી આપવા વેબ એપ્લિકેશંસને એનેબલ કરે છે.", - "string-database-desc": "ડેટાને સ્થાનિક રીતે સંપૂર્ણ રીતે શોધી શકાય તેવા રિલેશનલ ડેટાબેસમાં સ્ટોર કરો", - "string-allow-accesskey": "A", - "string-cancel": "રદ કરો", - "string-never-allow-link": "આ સાઇટને ક્યારેય મંજૂરી આપશો નહીં", - "string-deny": "નકારો", - "string-never-allow-link-wince": "તેને ક્યારેય મંજૂર કરશો નહીં", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "એપ્લિકેશન સાધનોને સ્થાનિક રીતે સ્ટોર અને સર્વ કરો", - "string-location-privacy-statement": "તમારા સ્થળનો ઉપયોગ કેવી રીતે થશે તે જોવા સાઇટની ગોપનીયતા નીતિ વાંચો.", - "string-trust-site": "આ સાઇટ પર મને વિષ્વાસ છે. તેને Gearsનો ઉપયોગ કરવાની મંજુરી આપો." - }, - "zh-TW": { - "string-workerpool-desc": "執行非同步 JavaScript 以提升應用程式的回應速度", - "string-allow": "允許", - "string-query-data": "下方的網站要使用 Gears 在您的電腦上儲存資訊。", - "string-deny-accesskey": "D", - "string-query-location": "下方的網站要使用 Gears 存取您位置的相關資訊。", - "string-html-title": "Gears 安全性警告", - "string-description": "Gears 是一種開放程式碼的瀏覽器擴充功能,它透過下列 JavaScript API 為網路應用程式提供離線功能:", - "string-database-desc": "在本機將資料儲存到完全可搜尋的關聯式資料庫中", - "string-allow-accesskey": "A", - "string-cancel": "取消", - "string-never-allow-link": "永不允許這個網站", - "string-deny": "拒絕", - "string-never-allow-link-wince": "永不允許", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "在本機儲存並提供應用程式資源", - "string-location-privacy-statement": "閱讀網站的隱私權政策以查看網站會如何使用您的位置。", - "string-trust-site": "我相信這個網站。 讓它使用 Gears。" - }, - "vi": { - "string-workerpool-desc": "Chạy JavaScript không đồng bộ để tăng khả năng phản hồi của ứng dụng", - "string-allow": "Cho phép", - "string-query-data": "Trang web dưới đây muốn lưu trữ thông tin trên máy tính của bạn bằng cách sử dụng Gears.", - "string-deny-accesskey": "T", - "string-query-location": "Trang web dưới đây muốn truy cập vào thông tin về vị trí của bạn bằng cách sử dụng Gears.", - "string-html-title": "Cảnh báo Bảo mật của Gears", - "string-description": "Gears là một tiện ích bổ sung nguồn mở của trình duyệt cho phép ứng dụng web cung cấp tính năng ngoại tuyến bằng cách sử dụng các JavaScript API dưới đây:", - "string-database-desc": "Lưu dữ liệu cục bộ trong cơ sở dữ liệu quan hệ có thể tìm kiếm đầy đủ", - "string-allow-accesskey": "P", - "string-cancel": "Huỷ", - "string-never-allow-link": "Không bao giờ cho phép trang web này", - "string-deny": "Từ chối", - "string-never-allow-link-wince": "Không bao giờ cho phép Gears trên trang web này", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Lưu trữ và phục vụ các tài nguyên ứng dụng cục bộ", - "string-location-privacy-statement": "Đọc chính sách bảo mật của trang để xem vị trí của bạn sẽ được sử dụng thế nào.", - "string-trust-site": "Tôi tin cậy trang này. Cho phép trang web này sử dụng Gears." - }, - "ca": { - "string-workerpool-desc": "Executar JavaScript asíncron per millorar la sensibilitat de les aplicacions", - "string-allow": "Permet", - "string-query-data": "El lloc web següent vol emmagatzemar informació al vostre ordinador mitjançant Gears.", - "string-deny-accesskey": "D", - "string-query-location": "El lloc web següent vol accedir a informació sobre la vostra ubicació mitjançant Gears.", - "string-html-title": "Advertència de seguretat de Gears", - "string-description": "Gear és una extensió de navegador de codi obert que permet que les aplicacions web proporcionin funcionalitat fora de línia mitjançant les següents API de JavaScript:", - "string-database-desc": "Desar dades localment en una base de dades relacional amb funció de cerca completa", - "string-allow-accesskey": "P", - "string-cancel": "Cancel·la", - "string-never-allow-link": "No permetis mai aquest lloc", - "string-deny": "Denega", - "string-never-allow-link-wince": "No permetre'l mai", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Desar i servir recursos d'aplicacions localment", - "string-location-privacy-statement": "Llegiu la política de privadesa del lloc per veure com es farà servir la vostra ubicació.", - "string-trust-site": "Confio en aquest lloc. Permet que utilitzi Gears." - }, - "it": { - "string-workerpool-desc": "Eseguire codice JavaScript in modo asincrono per migliorare la velocità di risposta dell'applicazione", - "string-allow": "Consenti", - "string-query-data": "Il sito Web riportato di seguito vuole memorizzare le informazioni relative al computer che utilizza Google Gears.", - "string-deny-accesskey": "D", - "string-query-location": "Il sito Web riportato di seguito vuole accedere alle informazioni relative alla posizione di utilizzo di Google Gears.", - "string-html-title": "Avviso di protezione di Google Gears", - "string-description": "Google Gears è un'estensione browser open source che permette alle applicazioni Web di fornire funzionalità offline tramite le seguenti API JavaScript:", - "string-database-desc": "Memorizzare i dati localmente in un database relazionale dotato di ricerca integrata", - "string-allow-accesskey": "A", - "string-cancel": "Annulla", - "string-never-allow-link": "Non consentire mai l'accesso a questo sito", - "string-deny": "Nega", - "string-never-allow-link-wince": "Non consentirlo mai", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Memorizzare e fornire localmente le risorse dell'applicazione", - "string-location-privacy-statement": "Leggi le norme sulla privacy del sito per vedere come verrà utilizzata la tua posizione.", - "string-trust-site": "Considero questo sito attendibile. Consenti al sito di utilizzare Google Gears." - }, - "kn": { - "string-workerpool-desc": "ಅಪ್ಲಿಕೇಶನ್ ಪ್ರತಿಕ್ರಿಯೆಯನ್ನು ಉತ್ತಮಪಡಿಸಲು ಏಸಿಂಕ್ರೋನಸ್ ಜಾವಾಸ್ಕ್ರಿಪ್ಟ್ ಚಲಿಸಿ", - "string-allow": "ಅನುಮತಿಸು", - "string-query-data": "ಈ ಕೆಳಗಿನ ವೆಬ್ ಸೈಟ್ Gears ಬಳಸಿ ನಿಮ್ಮ ಕಂಪ್ಯೂಟರಿನಲ್ಲಿ ಮಾಹಿತಿಯನ್ನು ಇರಿಸಲು ಬಯಸುತ್ತಿದೆ.", - "string-deny-accesskey": "D", - "string-query-location": "ಈ ಕೆಳಗಿನ ವೆಬ್ ಸೈಟ್ Gears ಬಳಸಿ ನಿಮ್ಮ ಸ್ಥಳದ ಕುರಿತು ಮಾಹಿತಿ ಪಡೆದುಕೊಳ್ಳಲು ಬಯಸುತ್ತಿದೆ.", - "string-html-title": "Gears ರಕ್ಷಣಾ ಎಚ್ಚರಿಕೆ", - "string-description": "Gears ಒಂದು ಓಪನ್ ಸೋರ್ಸ್ ಬ್ರೌಸರ್ ವಿಸ್ತರಣೆಯಾಗಿದ್ದು, ಅದು ವೆಬ್ ಅಪ್ಲಿಕೇಶನ್ ಗಳಿಗೆ ಈ ಕೆಳಗಿನ JavaScript API ಗಳನ್ನು ಬಳಸಿ ಆಫ್ಲೈನ್ ಫಂಕ್ಷನಾಲಿಟಿಯನ್ನು ನೀಡಲು ಸಾಧ್ಯವಾಗಿಸುತ್ತದೆ.", - "string-database-desc": "ಪೂರ್ಣವಾಗಿ ಹುಡುಕಬಹುದಾದ ಸಾಂಬಂಧಿಕ ಡೇಟಾಬೇಸ್ನಲ್ಲಿ ಸ್ಥಳೀಯವಾಗಿ ಡೇಟಾವನ್ನು ಸಂಗ್ರಹಿಸಿ", - "string-allow-accesskey": "A", - "string-cancel": "ರದ್ದುಮಾಡು", - "string-never-allow-link": "ಈ ಸೈಟನ್ನು ಎಂದಿಗೂ ಅನುಮತಿಸಬೇಡಿ", - "string-deny": "ನಿರಾಕರಿಸು", - "string-never-allow-link-wince": "ಅದನ್ನು ಎಂದಿಗೂ ಅನುಮತಿಸಬೇಡಿ", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "ಸ್ಥಳೀಯವಾಗಿ ಅಪ್ಲಿಕೇಶನ್ ಮೂಲಗಳನ್ನು ಸಂಗ್ರಹಿಸಿ ಮತ್ತು ಒದಗಿಸಿ", - "string-location-privacy-statement": "ನಿಮ್ಮ ಸ್ಥಳವನ್ನು ಹೇಗೆ ಉಪಯೋಗಿಸಲಾಗುತ್ತದೆ ಎಂದು ತಿಳಿಯಲು ಈ ಸೈಟ್ ನ ಗೌಪ್ಯತಾ ನೀತಿಯನ್ನು ಓದಿ.", - "string-trust-site": "ಈ ಸೈಟನ್ನು ನಾನು ನಂಬುತ್ತೇನೆ. ಇದಕ್ಕೆ Gears ಉಪಯೋಗಿಸಲು ಅನುಮತಿಸು." - }, - "ar": { - "string-workerpool-desc": "تشغيل جافا سكريبت غير متزامنة لتحسين سرعة استجابة التطبيقات", - "string-allow": "سماح", - "string-query-data": "يرغب موقع الويب أدناه في تخزين معلومات على موقعك باستخدام Gears.", - "string-deny-accesskey": "ف", - "string-query-location": "يرغب موقع الويب أدناه في الوصول إلى معلومات حول موقعك باستخدام Gears.", - "string-html-title": "تحذير أمان خاص بـ Gears", - "string-description": "Gears هو ملحق متصفح مفتوح المصدر يتيح لتطبيقات الويب إمكانية القيام بوظائفها في حالة عدم الاتصال باستخدام واجهات برمجة التطبيقات (API) التالية المعدة باستخدام جافا سكريبت:", - "string-database-desc": "تخزين البيانات محليًا في قاعدة بيانات ارتباطية قابلة للبحث بشكل كامل", - "string-allow-accesskey": "س", - "string-cancel": "إلغاء", - "string-never-allow-link": "عدم السماح لهذا الموقع مطلقًا", - "string-deny": "رفض", - "string-never-allow-link-wince": "عدم السماح بـ Gears مطلقًا", - "string-trust-site-accesskey": "موثوق", - "string-localserver-desc": "تخزين موارد التطبيقات وإتاحتها محليًا", - "string-location-privacy-statement": "قم بقراءة سياسة خصوصية الموقع لمعرفة كيف سيتم استخدام موقعك.", - "string-trust-site": "أثق في هذا الموقع. وأرجو السماح له باستخدام Gears." - }, - "ml": { - "string-workerpool-desc": "അപ്ലിക്കേഷന് പ്രതികരണം അഭിവൃദ്ധിപ്പെടുത്താന് ഏകകാലികമല്ലാത്ത ജാവാസ്ക്രിപ്റ്റ് പ്രവര്ത്തിപ്പിക്കുക", - "string-allow": "അനുവദിക്കൂ", - "string-query-data": "താഴെക്കാണുന്ന വെബ്സൈറ്റ് നിങ്ങളുടെ കമ്പ്യൂട്ടറില് വിവരങ്ങള് Gears ഉപയോഗിച്ച് ശേഖരിക്കാനാഗ്രഹിക്കുന്നു.", - "string-deny-accesskey": "D", - "string-query-location": "താഴെക്കാണുന്ന വെബ്സൈറ്റ് നിങ്ങളുടെ മേഖലയെക്കുറിച്ചുള്ള വിവരങ്ങള് Gears ഉപയോഗിച്ച് ആക്സസ്സ് ചെയ്യാനാഗ്രഹിക്കുന്നു.", - "string-html-title": "Gears സുരക്ഷാ മുന്നറിയിപ്പ്", - "string-description": "Gears ഒരു തുറന്ന ഉറവിട ബ്രൌസര് എക്സ്റ്റന്ഷനാണ്, അത് JavaScript APIs ഉപയോഗിച്ച് വെബ് അപ്ളിക്കേഷന് ഓഫ്ലൈന് ക്രിയാത്മകത നല്കുന്നു:", - "string-database-desc": "പൂര്ണമായും തിരയാവുന്ന ആനുപാതികമായ ഡാറ്റാബേസില് ഡാറ്റ സംഭരിക്കുക", - "string-allow-accesskey": "A", - "string-cancel": "റദ്ദാക്കൂ", - "string-never-allow-link": "ഈ സൈറ്റിനെ ഒരിക്കലും അനുവദിക്കരുത്", - "string-deny": "നിരസിക്കൂ", - "string-never-allow-link-wince": "ഇതൊരിക്കലും അനുവദിക്കരുത്", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "അപ്ലിക്കേഷന് വിഭവങ്ങള് പ്രാദേശികമായി സംഭരിച്ച് പ്രയോജനപ്പെടുത്തൂ", - "string-location-privacy-statement": "നിങ്ങളുടെ ലൊക്കേഷന് എങ്ങനെയാണ് ഉപയോഗിച്ചിരിക്കുന്നതെന്ന് കാണാന് സൈറ്റിന്റെ സ്വകാര്യതാ നയം വായിക്കുക.", - "string-trust-site": "ഞാനീ സൈറ്റിനെ വിശ്വസിക്കുന്നു. ഇതിനെ Gears ഉപയോഗിക്കാന് അനുവദിക്കുക." - }, - "cs": { - "string-workerpool-desc": "Spouštět asynchronní JavaScript ke zlepšení odezvy aplikace", - "string-allow": "Povolit", - "string-query-data": "Následující webová stránka chce pomocí aplikace Gears uložit informace do vašeho počítače.", - "string-deny-accesskey": "Z", - "string-query-location": "Následující webová stránka se pomocí aplikace Gears pokouší získat informace o vaší lokalitě.", - "string-html-title": "Výstraha zabezpečení aplikace Gears", - "string-description": "Gears je rozšíření typu open source pro webové prohlížeče, které umožňuje webovým aplikacím pracovat v režimu offline pomocí následujících rozhraní API prostředí JavaScript:", - "string-database-desc": "Ukládat data lokálně v relační databázi, ve které lze vyhledávat", - "string-allow-accesskey": "P", - "string-cancel": "Zrušit", - "string-never-allow-link": "Nikdy nepovolit tyto stránky", - "string-deny": "Zamítnout", - "string-never-allow-link-wince": "Nikdy nepovolit tuto aplikaci", - "string-trust-site-accesskey": "d", - "string-localserver-desc": "Ukládat a nabízet zdroje aplikací lokálně", - "string-location-privacy-statement": "Přečtěte si zásady ochrany osobních údajů tohoto webu, kde zjistíte, jakým způsobem budou použity informace o vaší lokalitě.", - "string-trust-site": "Důvěřuji tomuto webu. Umožnit používání aplikace Gears." - }, - "et": { - "string-workerpool-desc": "Käivita asünkroonne JavaScript, et rakenduse töö kiirust parandada", - "string-allow": "Luba", - "string-query-data": "Alljärgnev veebisait soovib Gearsi kasutades salvestada teavet teie arvutisse.", - "string-deny-accesskey": "K", - "string-query-location": "Alljärgnev veebisait soovib Gearsi kasutades juurdepääsu teabele teie asukoha kohta.", - "string-html-title": "Gearsi turvahoiatus", - "string-description": "Gears on avatud lähtekoodiga brauserilaiendus, mis võimaldab veebirakendustel võrguühenduseta töötada, kasutades järgmisi JavaScripti rakendusliideseid:", - "string-database-desc": "Salvestage andmed lokaalselt otsingu täisfunktsiooniga relatsioonandmebaasi", - "string-allow-accesskey": "L", - "string-cancel": "Tühista", - "string-never-allow-link": "Ära luba seda saiti kunagi", - "string-deny": "Keeldu", - "string-never-allow-link-wince": "Ära luba seda kunagi", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Salvestage ja kasutage rakenduse vahendeid lokaalselt", - "string-location-privacy-statement": "Kui soovite teada, kuidas teie asukohateavet kasutatakse, lugege saidi privaatsuspõhimõtteid.", - "string-trust-site": "Usaldan seda saiti. Luba sellel Gearsi kasutada." - }, - "id": { - "string-workerpool-desc": "Menjalankan JavaScript asinkron untuk meningkatkan respons aplikasi", - "string-allow": "OK", - "string-query-data": "Website berikut ingin menyimpan informasi di komputer Anda dengan menggunakan Gears.", - "string-deny-accesskey": "D", - "string-query-location": "Website berikut ingin mengakses informasi tentang lokasi Anda dengan menggunakan Gears.", - "string-html-title": "Peringatan Keamanan Gears", - "string-description": "Gears adalah ekstensi browser open source yang memungkinkan aplikasi web untuk menyediakan fungsionalitas offline dengan menggunakan JavaScript API:", - "string-database-desc": "Menyimpan data secara lokal pada basis data relasional yang dapat cari", - "string-allow-accesskey": "A", - "string-cancel": "Batalkan", - "string-never-allow-link": "Jangan pernah izinkan situs ini", - "string-deny": "Tolak", - "string-never-allow-link-wince": "Jangan pernah mengizinkannya", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Menyimpan dan menggunakan sumber daya aplikasi secara lokal", - "string-location-privacy-statement": "Baca kebijakan privasi situs untuk melihat bagaimana lokasi Anda akan digunakan.", - "string-trust-site": "Saya mempercayai situs ini. Izinkan untuk menggunakan Gears." - }, - "es": { - "string-workerpool-desc": "Ejecutar JavaScript asíncrono para mejorar la capacidad de respuesta de la aplicación", - "string-allow": "Permitir", - "string-query-data": "El siguiente sitio Web desea almacenar información en tu equipo utilizando Gears.", - "string-deny-accesskey": "D", - "string-query-location": "El siguiente sitio web desea acceder a información sobre tu ubicación con Gears.", - "string-html-title": "Advertencia de seguridad Gears", - "string-description": "Gears es una extensión del navegador de software libre que permite a las aplicaciones web funcionar sin conexión a través de las siguientes interfaces de programación de aplicaciones (API) de Javascript:", - "string-database-desc": "Almacenar datos localmente en una base de datos relacional que admite búsquedas completas", - "string-allow-accesskey": "P", - "string-cancel": "Cancelar", - "string-never-allow-link": "No permitir nunca este sitio", - "string-deny": "Denegar", - "string-never-allow-link-wince": "No permitirlo nunca", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Almacenar y proporcionar recursos de aplicaciones de forma local.", - "string-location-privacy-statement": "Lee la política de privacidad de este sitio para ver cómo se utilizará tu ubicación.", - "string-trust-site": "Confío en este sitio. Permitir utilizar Gears." - }, - "en-GB": { - "string-workerpool-desc": "Run asynchronous JavaScript to improve application responsiveness", - "string-allow": "Allow", - "string-query-data": "The website below wants to store information on your computer using Gears.", - "string-deny-accesskey": "D", - "string-query-location": "The website below wants to access information about your location using Gears.", - "string-html-title": "Gears Security Warning", - "string-description": "Gears is an open source browser extension that enables web applications to provide offline functionality using the following JavaScript APIs:", - "string-database-desc": "Store data locally in a fully-searchable relational database", - "string-allow-accesskey": "A", - "string-cancel": "Cancel", - "string-never-allow-link": "Never allow this site", - "string-deny": "Deny", - "string-never-allow-link-wince": "Never allow", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Store and serve application resources locally", - "string-location-privacy-statement": "Read the site's privacy policy to see how your location will be used.", - "string-trust-site": "I trust this site. Allow it to use Gears." - }, - "ru": { - "string-workerpool-desc": "Запустить асинхронный JavaScript, чтобы ускорить работу приложения", - "string-allow": "Разрешить", - "string-query-data": "Указанный ниже веб-сайт запрашивает разрешение на хранение информации на компьютере с помощью Gears.", - "string-deny-accesskey": "D", - "string-query-location": "Указанный ниже веб-сайт запрашивает разрешение на получение информации о местонахождении с помощью Gears.", - "string-html-title": "Предупреждение безопасности Gears", - "string-description": "Gears – это расширение для браузера с открытым исходным кодом, позволяющее веб-приложениям работать в автономном режиме с помощью следующих API JavaScript:", - "string-database-desc": "Сохраняйте данные на компьютере пользователя в виде реляционной БД с возможностью поиска по ним", - "string-allow-accesskey": "A", - "string-cancel": "Отмена", - "string-never-allow-link": "Никогда не разрешать этому сайту", - "string-deny": "Запретить", - "string-never-allow-link-wince": "Никогда не разрешать", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Сохраняйте и размещайте ресурсы приложений на локальном компьютере", - "string-location-privacy-statement": "Для того чтобы узнать о том, как будет использована информация о местонахождении, ознакомьтесь с политикой конфиденциальности сайта.", - "string-trust-site": "Я доверяю этому сайту. Разрешить использование Gears." - }, - "nl": { - "string-workerpool-desc": "Asynchroon JavaScript uitvoeren om ontvankelijkheid van toepassing te verbeteren", - "string-allow": "Toestaan", - "string-query-data": "De website hieronder probeert via Gears informatie op uw computer op te slaan.", - "string-deny-accesskey": "D", - "string-query-location": "De website hieronder probeert via Gears informatie te krijgen over uw locatie.", - "string-html-title": "Beveiligingswaarschuwing voor Gears", - "string-description": "Gears is een browseruitbreiding met open broncode waarmee webtoepassingen offline functionaliteit kunnen bieden met de volgende JavaScript-API's:", - "string-database-desc": "Gegevens lokaal opslaan in een volledig doorzoekbare relationele database", - "string-allow-accesskey": "A", - "string-cancel": "Annuleren", - "string-never-allow-link": "Deze site nooit toestaan", - "string-deny": "Weigeren", - "string-never-allow-link-wince": "Nooit toestaan", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Toepassingsbronnen lokaal opslaan en aanbieden", - "string-location-privacy-statement": "Lees het privacybeleid op de site voor informatie over het gebruik van uw locatie.", - "string-trust-site": "Ik vertrouw deze site. Sta deze site toe Gears te gebruiken." - }, - "no": { - "string-workerpool-desc": "Kjør asynkront JavaScript for å forbedre programmets respons", - "string-allow": "Tillat", - "string-query-data": "Nettstedet nedenfor ønsker å bruke Gears til å lagre informasjon om datamaskinen.", - "string-deny-accesskey": "V", - "string-query-location": "Nettstedet nedenfor ønsker å bruke Gears for å få tilgang på informasjon om hvor du befinner deg.", - "string-html-title": "Sikkerhetsadvarsel for Gears", - "string-description": "Gears er en nettleserutvidelse med åpen kildekode som lar nettprogrammer fungere i frakoblet modus ved hjelp av følgende JavaScript API-er:", - "string-database-desc": "Lagre data lokalt i en fullt søkbar relasjonsdatabase", - "string-allow-accesskey": "T", - "string-cancel": "Avbryt", - "string-never-allow-link": "Avvis alltid dette nettstedet", - "string-deny": "Avvis", - "string-never-allow-link-wince": "Avvis alltid", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Lagre og bruk programressurser lokalt", - "string-location-privacy-statement": "Les retningslinjene for personvern for nettstedet for å se hvordan området brukes.", - "string-trust-site": "Jeg stoler på dette nettstedet. Tillat at det bruker Gears." - }, - "tr": { - "string-workerpool-desc": "Uygulamanın daha iyi yanıt vermesi için asenkron olarak Javascript yürütür", - "string-allow": "İzin ver", - "string-query-data": "Aşağıdaki web sitesi Gears'ı kullanarak bilgisayarınızda bilgi depolamak istiyor.", - "string-deny-accesskey": "R", - "string-query-location": "Aşağıdaki web sitesi Gears'ı kullanarak konumunuzla ilgili bilgilere erişmek istiyor.", - "string-html-title": "Gears Güvenlik Uyarısı", - "string-description": "Gears, web uygulamalarının aşağıdaki JavaScript API'larını kullanarak çevrimdışı çalışmasına olanak tanıyan açık kaynaklı bir tarayıcı uzantısıdır:", - "string-database-desc": "Verileri tamamen aratılabilir ilişkisel veritabanında yerel olarak sakla", - "string-allow-accesskey": "V", - "string-cancel": "İptal", - "string-never-allow-link": "Bu siteye asla izin verme", - "string-deny": "Reddet", - "string-never-allow-link-wince": "Asla izin verme", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Uygulama kaynaklarını yerel olarak saklar ve sunar", - "string-location-privacy-statement": "Konumunuzun nasıl kullanılacağını öğrenmek için sitenin gizlilik politikasını okuyun.", - "string-trust-site": "Bu siteye güveniyorum. Gears'ı kullanmasına izin ver." - }, - "lv": { - "string-workerpool-desc": "Palaidiet asinhrono JavaScript, lai uzlabotu lietojumprogrammas atbildēšanas iespējas", - "string-allow": "Atļaut", - "string-query-data": "Tālāk minētā vietne vēlas saglabāt informāciju par jūsu datoru, lietojot Gears.", - "string-deny-accesskey": "D", - "string-query-location": "Tālāk minētā vietne vēlas piekļūt informācijai par jūsu atrašanās vietu, lietojot Gears.", - "string-html-title": "Gears drošības brīdinājums", - "string-description": "Gears ir atklāta pirmkoda pārlūkprogramma, ar kuru tīmekļa lietojumprogrammas nodrošina funkcionalitāti bezsaistē, izmantojot šādas JavaScript API:", - "string-database-desc": "Datu glabāšana lokāli pilnībā pārmeklējamā relāciju datu bāzē", - "string-allow-accesskey": "A", - "string-cancel": "Atcelt", - "string-never-allow-link": "Nekad neļaut piekļūt šai vietnei", - "string-deny": "Aizliegt", - "string-never-allow-link-wince": "Nekad to neatļaut", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Lietojumprogrammu resursu saglabāšana un apkalpošana lokāli", - "string-location-privacy-statement": "Izlasiet vietnes konfidencialitātes politiku, lai redzētu, kā tiks izmantota jūsu atrašanās vieta.", - "string-trust-site": "Es uzticos šai vietnei. Atļaujiet tai lietot Gears." - }, - "lt": { - "string-workerpool-desc": "Padidinkite programos jautrumą paleisdami asinchroninę „Javascript“", - "string-allow": "Leisti", - "string-query-data": "Žemiau nurodyta interneto svetainė bando išsaugoti informaciją apie jūsų vietovę naudojant „Gears“.", - "string-deny-accesskey": "D", - "string-query-location": "Žemiau nurodyta interneto svetainė bando prieiti prie informacijos apie jūsų vietovę naudojant „Gears“.", - "string-html-title": "„Gears“ įspėjimas apie saugą", - "string-description": "„Gears“ – tai atvirojo kodo naršyklės plėtinys, leidžiantis žiniatinklio programoms naudoti atjungties funkcines galimybes su šiais „JavaScript“ API:", - "string-database-desc": "Išsaugokite duomenis vietoje, sąryšinėje duomenų bazėje su veikiančia paieškos funkcija", - "string-allow-accesskey": "A", - "string-cancel": "Atšaukti", - "string-never-allow-link": "Niekada neleisti šios svetainės", - "string-deny": "Atmesti", - "string-never-allow-link-wince": "Niekada neleisti", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Saugokite ir prižiūrėkite programos išteklius vietoje", - "string-location-privacy-statement": "Perskaitykite svetainės privatumo politiką, kad sužinotumėte, kaip bus naudojama jūsų vietovė.", - "string-trust-site": "Pasitikiu šia svetaine. Leisti jai naudoti „Gears“." - }, - "th": { - "string-workerpool-desc": "เรียกใช้ JavaScript อะซิงโครนัสเพื่อปรับปรุงการตอบสนองของแอปพลิเคชัน", - "string-allow": "อนุญาต", - "string-query-data": "เว็บไซต์ต่อไปนี้ต้องการเก็บข้อมูลในคอมพิวเตอร์ของคุณโดยใช้ Gears", - "string-deny-accesskey": "ป", - "string-query-location": "เว็บไซต์ต่อไปนี้ต้องการเข้าถึงข้อมูลเกี่ยวกับตำแหน่งของคุณโดยใช้ Gears", - "string-html-title": "คำเตือนด้านความปลอดภัยของ Gears", - "string-description": "Gears เป็นส่วนขยายเบราว์เซอร์แบบโอเพ่นซอร์สที่ช่วยให้แอปพลิเคชันทางเว็บมีการทำงานแบบออฟไลน์โดยใช้ JavaScript API ต่อไปนี้:", - "string-database-desc": "จัดเก็บข้อมูลในตัวเครื่องในฐานข้อมูลที่สัมพันธ์กันและสามารถค้นหาได้อย่างสมบูรณ์", - "string-allow-accesskey": "อ", - "string-cancel": "ยกเลิก", - "string-never-allow-link": "ไม่อนุญาตไซต์นี้", - "string-deny": "ปฏิเสธ", - "string-never-allow-link-wince": "ไม่อนุญาต", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "จัดเก็บและรองรับทรัพยากรของแอปพลิเคชันในเครื่อง", - "string-location-privacy-statement": "อ่านนโยบายส่วนบุคคลของไซต์เพื่อดูว่าตำแหน่งของคุณจะถูกนำมาใช้อย่างไร", - "string-trust-site": "ฉันเชื่อถือไซต์นี้ อนุญาตให้ใช้ Gears" - }, - "ro": { - "string-workerpool-desc": "Rulaţi JavaScript asincron, pentru a îmbunătăţi viteza de răspuns a aplicaţiei", - "string-allow": "Permiteţi", - "string-query-data": "Site-ul Web de mai jos doreşte să salveze informaţii pe computerul dvs. utilizând Gears.", - "string-deny-accesskey": "R", - "string-query-location": "Site-ul Web de mai jos doreşte să acceseze informaţii despre locaţia dvs. utilizând Gears.", - "string-html-title": "Avertizare de securitate Gears", - "string-description": "Gears este o extensie de browser cu sursă liberă care permite aplicaţiilor Web să ofere funcţionalitate offline, utilizând următoarele API-uri JavaScript:", - "string-database-desc": "Stocaţi date local într-o bază de date relaţională în care se pot efectua căutări complete", - "string-allow-accesskey": "P", - "string-cancel": "Anulaţi", - "string-never-allow-link": "Nu permiteţi niciodată acest site", - "string-deny": "Respingeţi", - "string-never-allow-link-wince": "Nu permiteţi niciodată", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Stocaţi şi livraţi local resurse ale aplicaţiei", - "string-location-privacy-statement": "Citiţi politica de confidenţialitate a site-ului pentru a afla cum va fi utilizată locaţia dvs.", - "string-trust-site": "Am încredere în acest site. Îi permit să utilizeze Gears." - }, - "is": { - "string-workerpool-desc": "Keyra ósamstillt JavaScript til að bæta svörun forrits", - "string-allow": "Leyfa", - "string-query-data": "Vefsvæðið hér fyrir neðan vill fá aðgang að upplýsingum um tölvuna þína með því að nota Gears.", - "string-deny-accesskey": "F", - "string-query-location": "Vefsvæðið hér fyrir neðan vill fá aðgang að upplýsingum um staðsetninguna þína með því að nota Gears.", - "string-html-title": "Öryggisviðvörun frá Gears", - "string-description": "Gears er vafraviðbót með opnum kóða sem gerir vefforritum kleift að vinna án nettengingar með eftirfarandi JavaScript forritaskilum:", - "string-database-desc": "Geyma gögn staðbundið í töflugagnagrunni sem hægt er að leita í", - "string-allow-accesskey": "L", - "string-cancel": "Hætta við", - "string-never-allow-link": "Aldrei leyfa þetta svæði", - "string-deny": "Hafna", - "string-never-allow-link-wince": "Aldrei leyfa það", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Geyma og vinna staðbundið með tilföng fyrir forrit", - "string-location-privacy-statement": "Lestu persónuverndarstefnu svæðisins til þess að sjá hvernig staðsetningin þín verður notuð.", - "string-trust-site": "Ég treysti þessu vefsvæði. Það má nota Gears." - }, - "fil": { - "string-workerpool-desc": "Magpatakbo ng hindi magkakasabay na JavaScript upang mapagbuti ang kakayahang tumugon ng application", - "string-allow": "Payagan", - "string-query-data": "Nais lagyan ng impormasyon ang website sa ibaba sa iyong computer gamit ang Mga Gear.", - "string-deny-accesskey": "T", - "string-query-location": "Nais i-access ng website sa ibaba ang impormasyon tungkol sa iyong lokasyon gamit ang mga Gear.", - "string-html-title": "Babala sa Seguridad ng Mga Gear", - "string-description": "Ang mga Gear ay isang open source browser extension na pinagana ng mga web application ng offline na pagpapaandar gamit ang sumusunod na Mga JavaScript API:", - "string-database-desc": "I-imbak ang data nang lokal sa isang ganap na mahahanapan na relational database", - "string-allow-accesskey": "P", - "string-cancel": "Ikansela", - "string-never-allow-link": "Huwag kailanman payagan ang site na ito", - "string-deny": "Tanggihan", - "string-never-allow-link-wince": "Huwag kailanman ito papayagan", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Mag-imbak at maghatid nang lokal ng mga mapagkukunan ng application", - "string-location-privacy-statement": "Basahin ang patakaran sa privacy ng site upang makita kung paano magagamit ang iyong lokasyon.", - "string-trust-site": "Pinagkakatiwalaan ko ang site na ito. Pinahihintulutan na gamitin ang mga Gear na ito." - }, - "ta": { - "string-workerpool-desc": "பயன்பாட்டின் செயல்திறனை மேம்படுத்த ஒத்திசையாத JavaScript ஐ இயக்கவும்.", - "string-allow": "அனுமதி", - "string-query-data": "கீழே உள்ள வலைத்தளம் Gears ஐப் பயன்படுத்தி உங்கள் கணினியில் தகவலைச் சேமிக்க நினைக்கிறது.", - "string-deny-accesskey": "D", - "string-query-location": "கீழே உள்ள வலைத்தளம் Gears ஐப் பயன்படுத்தி உங்கள் இருப்பிடம் பற்றிய தகவலை அணுக நினைக்கிறது.", - "string-html-title": "Gears பாதுகாப்பு எச்சரிக்கை", - "string-description": "Gears ஒரு ஓப்பன் சோர்ஸ் உலாவி விரிவாக்கல், பின்வரும் JavaScript APIகளைப் பயன்படுத்தி ஆஃப்லைனில் வலை பயன்பாடுகளை அணுக உதவுகிறது:", - "string-database-desc": "தரவுகளை உங்கள் கணினியிலேயே, முழுமையாகத் தேடப்படக்கூடிய, ரிலேஷனல் டேடாபேஸில் சேமிக்கவும்", - "string-allow-accesskey": "A", - "string-cancel": "ரத்துசெய்", - "string-never-allow-link": "இந்த தளத்தை எப்போதும் அனுமதிக்காதே", - "string-deny": "மறு", - "string-never-allow-link-wince": "எப்போதும் அனுமதிக்காதே", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "பயன்பாட்டின் ஆதாரங்களை உங்கள் கணினியில் சேமிக்கவும் மற்றும் வழங்கவும்", - "string-location-privacy-statement": "உங்கள் இருப்பிடத்தை எங்கு உபயோகப்படுத்தப்படும் என்று காண தளங்களின் தனியுரிமை கொள்கையைப் படிக்கவும்.", - "string-trust-site": "நான் இந்த தளத்தை நம்புகிறேன். Gears ஐப் பயன்படுத்த அனுமதிக்கவும்." - }, - "fr": { - "string-workerpool-desc": "Exécuter JavaScript asynchrone pour améliorer le temps de réponse de l'application", - "string-allow": "Autoriser", - "string-query-data": "Le site Web ci-dessous souhaite stocker des informations sur votre ordinateur à l'aide de Google Gears.", - "string-deny-accesskey": "R", - "string-query-location": "Le site Web ci-dessous souhaite accéder aux informations sur votre emplacement à l'aide de Google Gears.", - "string-html-title": "Avertissement de sécurité de Google Gears", - "string-description": "Google Gears est une extension open source de navigateur qui permet aux applications Web de fournir des services hors ligne, grâce aux API JavaScript suivantes :", - "string-database-desc": "Enregistrer des données localement dans une base de données relationnelle avec une fonction de recherche", - "string-allow-accesskey": "A", - "string-cancel": "Annuler", - "string-never-allow-link": "Ne jamais autoriser ce site", - "string-deny": "Refuser", - "string-never-allow-link-wince": "Ne jamais l'autoriser", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Stocker et distribuer localement des ressources de l'application", - "string-location-privacy-statement": "Lisez la politique de confidentialité du site pour savoir comment votre emplacement va être utilisé.", - "string-trust-site": "J'ai confiance en ce site. L'autoriser à utiliser Google Gears." - }, - "bg": { - "string-workerpool-desc": "Изпълнявайте асинхронен JavaScript, за да подобрите скоростта на работа на приложенията", - "string-allow": "Разрешаване", - "string-query-data": "Уебсайтът по-долу иска да съхрани информация на компютъра ви чрез Gears.", - "string-deny-accesskey": "D", - "string-query-location": "Уебсайтът по-долу иска да получи достъп до информацията за вашето местоположение чрез Gears.", - "string-html-title": "Предупреждение за защита на Gears", - "string-description": "Gears е разширение за браузъри с отворен код, което позволява на уеб приложенията да функционират в офлайн режим чрез следните приложни програмни интерфейси на JavaScript:", - "string-database-desc": "Съхранявайте информация локално в база от сродни данни с възможност за пълно търсене в тях", - "string-allow-accesskey": "A", - "string-cancel": "Отказ", - "string-never-allow-link": "Не давам разрешението си за този сайт", - "string-deny": "Забраняване", - "string-never-allow-link-wince": "Не се разрешава изобщо", - "string-trust-site-accesskey": "й", - "string-localserver-desc": "Съхранявайте и използайте локално ресурсите на приложенията", - "string-location-privacy-statement": "Прочетете декларацията за поверителност на сайта, за да разберете как ще се използва информацията за местоположението ви.", - "string-trust-site": "Имам доверие на този сайт. Нека да може да използва Gears." - }, - "uk": { - "string-workerpool-desc": "Запустіть асинхронний сценарій Javascript, щоб підвищити швидкість реагування програми", - "string-allow": "Дозволити", - "string-query-data": "Нижченаведений веб-сайт намагається зберегти інформацію на Вашому комп’ютері за допомогою Gears.", - "string-deny-accesskey": "D", - "string-query-location": "Нижченаведений веб-сайт намагається отримати доступ до інформації про Ваше розташування за допомогою Gears.", - "string-html-title": "Попередження системи безпеки Gears", - "string-description": "Gears – це розширення веб-браузера з відкритим кодом, яке дозволяє веб-програмам працювати в автономному режимі за допомогою таких інтерфейсів API JavaScript:", - "string-database-desc": "Дані зберігаються локально у відповідній базі даних із повною підтримкою функцій пошуку", - "string-allow-accesskey": "A", - "string-cancel": "Скасувати", - "string-never-allow-link": "Ніколи не дозволяти цьому веб-сайту", - "string-deny": "Відхилити", - "string-never-allow-link-wince": "Ніколи не дозволяти", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Локальне збереження та обслуговування програмних ресурсів", - "string-location-privacy-statement": "Ознайомтеся з політикою конфіденційності веб-сайту, щоб дізнатися, як буде використовуватися Ваше розташування.", - "string-trust-site": "Я довіряю цьому сайту. Дозволити йому використовувати Gears." - }, - "hr": { - "string-workerpool-desc": "Pokrenite asinkroni JavaScript kako biste poboljšali odziv aplikacije", - "string-allow": "Dopusti", - "string-query-data": "Dolje navedena web-lokacija želi pomoću Gearsa pohraniti informacije na Vaše računalo.", - "string-deny-accesskey": "O", - "string-query-location": "Dolje navedena web-lokacija želi pristupiti informacijama o vašoj lokaciji pomoću Gearsa.", - "string-html-title": "Gearsovo upozorenje o sigurnosti", - "string-description": "Gears je pregledničko proširenje otvorenog izvornog koda koje web-aplikacijama omogućuje izvanmrežno funkcioniranje pomoću sljedećih API-ja za JavaScript:", - "string-database-desc": "Podatke spremi lokalno u potpuno pretraživoj relacijskoj bazi podataka", - "string-allow-accesskey": "A", - "string-cancel": "Odustani", - "string-never-allow-link": "Nikad ne dopuštaj ovu web lokaciju", - "string-deny": "Odbij", - "string-never-allow-link-wince": "Nikad ne dopuštaj", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Izvore aplikacije pohrani i poslužuj lokalno", - "string-location-privacy-statement": "Pročitajte pravila o zaštiti privatnosti te web-lokacije da biste saznali kako će se koristiti Vaša lokacija.", - "string-trust-site": "Ovu web-lokaciju smatram pouzdanom. Dopusti joj da koristi Gears." - }, - "bn": { - "string-workerpool-desc": "প্রয়োগ প্রতিক্রিয়া উন্নত করতে অ্যাসিঙ্ক্রোনাস জাভাস্ক্রিপ্ট রান করুন", - "string-allow": "মঞ্জুরি দিন", - "string-query-data": "নিচের ওয়েবসাইটটি আপনার কম্পিউটারে তথ্য সঞ্চয় করতে চায় Gears ব্যহার করে ׀", - "string-deny-accesskey": "D", - "string-query-location": "নিচের ওয়েবসাইটটি আপনার Gears ব্যবহার করার অবস্থানের সম্পর্কে তথ্য অ্যাকসেস করতে চায় ׀", - "string-html-title": "Gears নিরাপত্তা সতর্কবাণী", - "string-description": "Gears একটি মুক্ত স্রোত ব্রাউসার যা ওয়েব অ্যাপ্লিকেশান প্রদান করে JavaScript APIs ব্যবহার করে অফলাইন ফাংশানালিটি প্রদান করে :", - "string-database-desc": "একটি পূর্ণ-সন্ধানযোগ্য সম্পর্কযুক্ত ডেটাবেসে স্থানীয়ভাবে ডেটা সঞ্চয় করুন", - "string-allow-accesskey": "A", - "string-cancel": "বাতিল", - "string-never-allow-link": "কখনই এই সাইটটির মঞ্জুরি দেবেন না", - "string-deny": "অস্বীকার", - "string-never-allow-link-wince": "এটিকে কখনই অনুমতি দেয় না", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "প্রয়োগ সম্পদ স্থানীয়ভানে সঞ্চয় এবং পরিবেশন করুন", - "string-location-privacy-statement": "এই সাইটের গোপনীয়তা নীতি পড়ুন আপনার অবস্থান কি ভাবে ব্যবহার করা হবে তা দেখতে׀", - "string-trust-site": "আমি এই সাইটে বিশ্বাস করি׀ Gears ব্যবহার করতে অনুমতি দিন ׀" - }, - "en-US": { - "string-workerpool-desc": "Run asynchronous JavaScript to improve application responsiveness", - "string-allow": "Allow", - "string-query-data": "The website below wants to store information on your computer using Gears.", - "string-deny-accesskey": "D", - "string-query-location": "The website below wants to access information about your location using Gears.", - "string-html-title": "Gears Security Warning", - "string-description": "Gears is an open source browser extension that enables web applications to provide offline functionality using the following JavaScript APIs:", - "string-database-desc": "Store data locally in a fully-searchable relational database", - "string-allow-accesskey": "A", - "string-cancel": "Cancel", - "string-never-allow-link": "Never allow this site", - "string-deny": "Deny", - "string-never-allow-link-wince": "Never allow it", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Store and serve application resources locally", - "string-location-privacy-statement": "Read the site's privacy policy to see how your location will be used.", - "string-trust-site": "I trust this site. Allow it to use Gears." - }, - "da": { - "string-workerpool-desc": "Kør asynkron JavaScript for at forbedre programmernes svartid", - "string-allow": "Tillad", - "string-query-data": "Nedenstående websted ønsker at gemme oplysninger på din computer ved hjælp af Gears.", - "string-deny-accesskey": "F", - "string-query-location": "Nedenstående websted ønsker at få adgang til oplysninger om din placering ved hjælp af Gears.", - "string-html-title": "Gears-sikkerhedsadvarsel", - "string-description": "Gears er en open source-browserudvidelse, som gør det muligt for webprogrammer at stille offlinefunktioner til rådighed ved hjælp af følgende JavaScript-API'er:", - "string-database-desc": "Gem data lokalt i en fuldt søgbar relationel database", - "string-allow-accesskey": "I", - "string-cancel": "Annuller", - "string-never-allow-link": "Tillad aldrig dette websted", - "string-deny": "Afvis", - "string-never-allow-link-wince": "Giv aldrig tilladelse", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Gem og servicer applikationsressourcer lokalt", - "string-location-privacy-statement": "Læs webstedets politik til beskyttelse af personlige oplysninger for at få mere at vide om, hvordan din placering vil blive brugt.", - "string-trust-site": "Jeg har tillid til dette websted. Giv tilladelse til, at det bruger Gears." - }, - "fa": { - "string-workerpool-desc": "JavaScript ناهمزمان را برای بهبود پاسخگویی برنامه اجرا کنید.", - "string-allow": "مجاز", - "string-query-data": "وب سایت زیر می خواهد با استفاده از Gears اطلاعات را در رایانه شما ذخیره کند.", - "string-deny-accesskey": "رد كردن", - "string-query-location": "وب سایت زیر می خواهد با استفاده از Gears به اطلاعاتی در مورد موقعیت شما دست یابد.", - "string-html-title": "اخطار امنیتی Gears", - "string-description": "Gears یک پسوند مرورگر منبع باز است که با استفاده از برنامه های JavaScript زیر امکان عملکرد برنامه های وب در حالت آفلاین را فراهم می سازد:", - "string-database-desc": "داده ها را در یک پایگاه داده مربوطه که کاملاً قابل جستجو باشد به صورت محلی ذخیره کنید", - "string-allow-accesskey": "مجاز", - "string-cancel": "لغو", - "string-never-allow-link": "هرگز به این سایت اجازه داده نشود", - "string-deny": "رد", - "string-never-allow-link-wince": "هرگز اجازه داده نشود", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "منابع برنامه را به صورت محلی ذخیره و استفاده کنید", - "string-location-privacy-statement": "برای اطلاع از نحوه استفاده از موقعیت خود، سیاست حفظ حقوق خصوصی سایت را مطالعه کنید.", - "string-trust-site": "من به این سایت اعتماد دارم. به آن اجازه دهید از Gears استفاده کند." - }, - "hi": { - "string-workerpool-desc": "अनुप्रयोग की प्रतिक्रियात्मकता में सुधार लाने के लिए एसिंक्रॉनस JavaScript चलाएँ", - "string-allow": "अनुमति दें", - "string-query-data": "नीचे दी गई वेबसाइट Gears का उपयोग कर आपके कंप्यूटर पर जानकारी संग्रहीत करना चाहती है.", - "string-deny-accesskey": "इंकार करें", - "string-query-location": "नीचे दी गई वेबसाइट Gears का उपयोग कर आपकी स्थिति के बारे में जानकारी पर पहुँचना चाहती है.", - "string-html-title": "Gears सुरक्षा चेतावनी", - "string-description": "Gears एक खुला स्रोत ब्राउज़र एक्सटेंशन है जो वेब अनुप्रयोगों को निम्नलिखित JavaScript APIs का उपयोग कर ऑफ़लाइन कार्यक्षमताएँ उपलब्ध कराने देता है:", - "string-database-desc": "डेटा को स्थानीय रूप से एक पूर्ण रूप से खोजने योग्य रिलेशनल डेटाबेस में संचित करें", - "string-allow-accesskey": "अनुमति दें", - "string-cancel": "रद्द करें", - "string-never-allow-link": "इस साइट को कभी अनुमति न दें", - "string-deny": "इंकार करें", - "string-never-allow-link-wince": "उसे कभी अनुमति न दें", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "अनुप्रयोग संसाधन स्थानीय रूप से संचित और सर्व करें", - "string-location-privacy-statement": "यह देखने के लिए कि आपकी स्थिति का किस प्रकार उपयोग किया जाएगा साइट की गोपनीयता नीति पढ़ें.", - "string-trust-site": "मैं इस साइट पर भरोसा करता हूँ. इसे Gears का उपयोग करने दें." - }, - "pt-BR": { - "string-workerpool-desc": "Executar o JavaScript assíncrono para melhorar a resposta do aplicativo", - "string-allow": "Permitir", - "string-query-data": "O site abaixo deseja armazenar informações sobre o computador que usa o Gears.", - "string-deny-accesskey": "D", - "string-query-location": "O site abaixo deseja acessar informações sobre o local que usa o Gears.", - "string-html-title": "Aviso de segurança do Gears", - "string-description": "O Gears é uma extensão de navegador de código aberto que permite que aplicativos da web forneçam funcionalidades off-line utilizando estas APIs em JavaScript:", - "string-database-desc": "Armazenar os dados em um banco de dados relacional local completamente pesquisável", - "string-allow-accesskey": "P", - "string-cancel": "Cancelar", - "string-never-allow-link": "Nunca permitir este site", - "string-deny": "Negar", - "string-never-allow-link-wince": "Nunca permiti-lo", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Armazenar e atender a recursos de aplicativo localmente", - "string-location-privacy-statement": "Leia as políticas de privacidade dos sites para ver como seu local será usado.", - "string-trust-site": "Este site é confiável. Permita que ele use o Gears." - }, - "fi": { - "string-workerpool-desc": "Paranna sovellusten suorituskykyä käyttämällä asynkronista JavaScriptiä", - "string-allow": "Salli", - "string-query-data": "Alla oleva sivusto haluaa tallentaa tietoja tietokoneellesi käyttämällä Gearsia.", - "string-deny-accesskey": "D", - "string-query-location": "Alla oleva sivusto haluaa päästä sijaintitietoihisi käyttämällä Gearsia.", - "string-html-title": "Gears-tietoturvavaroitus", - "string-description": "Gears on avoimen lähdekoodin selainlaajennus, jonka avulla verkkosovelluksia voi käyttää offline-tilassa seuraavilla JavaScript API -liittymillä:", - "string-database-desc": "Tallenna tietoja paikallisesti täysin haettaviin relaatiotietokantoihin", - "string-allow-accesskey": "A", - "string-cancel": "Peruuta", - "string-never-allow-link": "Älä koskaan salli tätä sivustoa", - "string-deny": "Estä", - "string-never-allow-link-wince": "Älä koskaan salli", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Tallenna ja käytä sovellusten resurssitiedostoja paikallisesti", - "string-location-privacy-statement": "Lukemalla tämän sivuston tietosuojakäytännön näet, miten sijaintiasi käytetään.", - "string-trust-site": "Luotan tähän sivustoon. Anna sen käyttää Gearsia." - }, - "hu": { - "string-workerpool-desc": "Aszinkron JavaScript futtatása az alkalmazás jobb kezelhetősége érdekében", - "string-allow": "Engedélyezés", - "string-query-data": "Az alábbi webhely a Szinkron szolgáltatás használatával adatokat szeretne tárolni az Ön számítógépén.", - "string-deny-accesskey": "T", - "string-query-location": "Az alábbi webhely a Szinkron szolgáltatás használatával adatokat szeretne megtudni az Ön helyéről.", - "string-html-title": "Biztonsági figyelmeztetés a Szinkrontól", - "string-description": "A Szinkron nyílt forráskódú böngészőbővítmény, amely lehetővé teszi a webes alkalmazások számára, hogy kapcsolaton kívüli funkciókat kínáljanak a következő JavaScript API-k segítségével:", - "string-database-desc": "Adatok helyi tárolása egy teljes mértékben kereshető relációs adatbázisban", - "string-allow-accesskey": "E", - "string-cancel": "Mégse", - "string-never-allow-link": "Soha ne engedélyezze ezt a webhelyet", - "string-deny": "Tiltás", - "string-never-allow-link-wince": "Soha ne engedélyezze", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Alkalmazás-erőforrások helyi tárolása és kiszolgálása", - "string-location-privacy-statement": "Olvassa el a webhely adatvédelmi szabályzatát, hogy megtudja, hogyan kezelik a felhasználók helyét.", - "string-trust-site": "Megbízom ebben a webhelyben. Használhatja a Szinkron szolgáltatást." - }, - "ja": { - "string-workerpool-desc": "Asynchronous JavaScript により、アプリケーションのレスポンスを向上", - "string-allow": "許可", - "string-query-data": "下記のウェブサイトは、Gears を使用してパソコンに情報を保存します。", - "string-deny-accesskey": "D", - "string-query-location": "下記のウェブサイトは、Gears を使用して場所に関する情報にアクセスします。", - "string-html-title": "Gears のセキュリティ警告", - "string-description": "Gears は、ウェブ アプリケーションの機能をオフラインで使えるようにするオープン ソースのブラウザ拡張ツールです。使用している JavaScript API は、次のとおりです。", - "string-database-desc": "検索できるローカルのリレーショナル データベースにデータを保存", - "string-allow-accesskey": "A", - "string-cancel": "キャンセル", - "string-never-allow-link": "このサイトを常に拒否する", - "string-deny": "拒否", - "string-never-allow-link-wince": "常に拒否する", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "アプリケーション リソースをクライアント PC 側で格納して提供", - "string-location-privacy-statement": "場所の使用方法については、サイトのプライバシー ポリシーをご覧ください。", - "string-trust-site": "このサイトを信頼します。Gears の使用を許可します。" - }, - "he": { - "string-workerpool-desc": "הפעל Javascript אסינכרוני כדי לשפר את היענות היישום", - "string-allow": "אפשר", - "string-query-data": "אתר האינטרנט שלהלן מבקש לאחסן באמצעות Gears מידע במחשב שלך.", - "string-deny-accesskey": "ד", - "string-query-location": "אתר האינטרנט שלהלן מבקש גישה באמצעות Gears למידע לגבי המיקום שלך.", - "string-html-title": "אזהרת אבטחה של Gears", - "string-description": "Gears הוא הרחבת דפדפן בעלת קוד פתוח. ההרחבה מאפשרת ליישומי אינטרנט לספק פונקציונליות באופן לא מקוון באמצעות ממשקי JavaScript API הבאים:", - "string-database-desc": "אחסן מידע באופן מקומי במסד נתונים טבלאי הניתן לחיפוש במלואו", - "string-allow-accesskey": "א", - "string-cancel": "ביטול", - "string-never-allow-link": "לעולם אין לאפשר אתר זה", - "string-deny": "דחה", - "string-never-allow-link-wince": "לעולם אל תאפשר שירות זה", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "אחסן משאבי יישומים והגש אותם באופן מקומי", - "string-location-privacy-statement": "עיין בהצהרת הפרטיות של האתר כדי לראות את אופן השימוש במיקומך.", - "string-trust-site": "אני נותן אמון באתר זה. אפשר לו להשתמש ב-Gears." - }, - "te": { - "string-workerpool-desc": "అప్లికేషన్ ప్రతిస్పందనా స్వభావాన్ని పెంచడానికి అసమకాలీకరించిన జావాస్క్రిప్ట్ను రన్ చెయ్యండి", - "string-allow": "అనుమతించు", - "string-query-data": "Gears ఉపయోగించి ఈ క్రింది నున్న వెబ్సైట్ మీ కంప్యుటర్లో సమాచారాన్ని నిల్వ చెయ్యలనుకుంటుంది.", - "string-deny-accesskey": "D", - "string-query-location": "Gears ఉపయోగించి ఈ క్రింది నున్న వెబ్సైట్ మీ స్థానం గురించి సమాచారాన్ని ఆక్సెస్ చెయ్యలనుకుంటుంది.", - "string-html-title": "Gears భద్రత హెచ్చెరిక", - "string-description": "Gears అనేది ఒక ఓపెన్ సోర్స్ బ్రౌజర్ ఎక్స్ టెన్షన్. ఇది ఈ క్రింది JavaScript API లని ఉపయోగించి వెబ్ అప్లికేషన్ల కోసం ఆఫ్లైన్ ఉపయోగాన్ని ఎనేబుల్ చేస్తుంది:", - "string-database-desc": "డేటాను స్థానికంగా శోధించదగిన సంబంధిత డేటాబేస్లో నిల్వ చెయ్యండి", - "string-allow-accesskey": "A", - "string-cancel": "రద్దు చెయ్యి", - "string-never-allow-link": "ఈ సైట్ను ఎప్పుడూ అనుమతించవద్దు", - "string-deny": "తిరస్కరించు", - "string-never-allow-link-wince": "దీనిని ఎప్పుడూ అనుమతించవద్దు", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "అప్లికేషన్ రిసోర్సులను స్థానికంగా నిల్వ చేసి, అందించు", - "string-location-privacy-statement": "ఈ సైట్ యొక్క గోప్యతా విధానాన్ని చదివి మీ స్థానం ఎలా ఉపయోగించబడుతుందో తెలుసుకోండి .", - "string-trust-site": "నేను ఈ సైట్ని నమ్ముతున్నాను. దానిని Gears ఉపయోగించడానికి అనుమతించు." - }, - "pt-PT": { - "string-workerpool-desc": "Executar Javascript assíncrono para melhorar a capacidade de resposta das aplicações", - "string-allow": "Permitir", - "string-query-data": "O Web site abaixo deseja armazenar informação no seu computador através do Gears.", - "string-deny-accesskey": "E", - "string-query-location": "O Web site abaixo deseja aceder a informação acerca da sua localização através do Gears.", - "string-html-title": "Aviso de segurança do Gears", - "string-description": "O Gears é uma extensão de browser de software livre que permite às aplicações Web fornecerem a funcionalidade off-line através da utilização das seguintes APIs de JavaScript:", - "string-database-desc": "Armazenar dados localmente numa base de dados relacional totalmente pesquisável", - "string-allow-accesskey": "P", - "string-cancel": "Cancelar", - "string-never-allow-link": "Nunca permitir este site", - "string-deny": "Negar", - "string-never-allow-link-wince": "Nunca permitir", - "string-trust-site-accesskey": "c", - "string-localserver-desc": "Armazenar e servir localmente recursos da aplicação", - "string-location-privacy-statement": "Leia a política de privacidade do site para saber como a sua localização vai ser usada.", - "string-trust-site": "Confio neste site. Permitir que utilize o Gears." - }, - "sr": { - "string-workerpool-desc": "Покрените асинхрони JavaScript како бисте побољшали реакције апликације", - "string-allow": "Дозволи", - "string-query-data": "Веб сајт испод жели да ускладишти информације на вашем рачунару помоћу услуге Gears.", - "string-deny-accesskey": "X", - "string-query-location": "Веб сајт испод жели да приступи информацијама о вашој локацији помоћу услуге Gears.", - "string-html-title": "Gears безбедносно упозорење", - "string-description": "Gears је проширење прегледача отвореног кода којe веб апликацијама омогућава функционисање ван мреже помоћу следећих JavaScript API-ја:", - "string-database-desc": "Складиштите податке локално у потпуно претраживој релационој бази података", - "string-allow-accesskey": "M", - "string-cancel": "Откажи", - "string-never-allow-link": "Никада не дозволи овом сајту", - "string-deny": "Забрани приступ", - "string-never-allow-link-wince": "Никада не дозволи", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Складиштите и пружајте ресурсе апликације локално", - "string-location-privacy-statement": "Прочитајте политику приватности сајта да бисте видели како ће се ваша локација користити.", - "string-trust-site": "Имам поверења у овај сајт. Дозволи му да користи Gears." - }, - "ko": { - "string-workerpool-desc": "비동기 자바스크립트를 실행하여 응용 프로그램 응답성 개선", - "string-allow": "허용", - "string-query-data": "다음 웹사이트가 Gears를 사용하여 컴퓨터에 정보를 저장하려고 합니다.", - "string-deny-accesskey": "D", - "string-query-location": "다음 웹사이트가 Gears를 사용하여 사용자의 위치 정보에 액세스하려고 합니다.", - "string-html-title": "Gears 보안경고", - "string-description": "Gears는 다음과 같은 자바스크립트 API를 통해 오프라인에서 웹 애플리케이션을 사용할 수 있게 해 주는 오픈 소스 브라우저 확장 프로그램입니다.", - "string-database-desc": "완벽한 검색이 가능한 관계형 데이터베이스의 형태로 데이터를 로컬 컴퓨터에 저장", - "string-allow-accesskey": "A", - "string-cancel": "취소", - "string-never-allow-link": "사이트를 허용하지 않음", - "string-deny": "금지", - "string-never-allow-link-wince": "허용하지 않음", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "로컬 컴퓨터에서 애플리케이션 리소스 저장 및 사용", - "string-location-privacy-statement": "위치가 사용되는 방법을 보려면 사이트의 개인정보 보호정책을 읽어 보세요.", - "string-trust-site": "이 사이트를 신뢰합니다. Gears 사용을 허용합니다." - }, - "sv": { - "string-workerpool-desc": "Kör asynkron JavaScript som förbättrar programmets responsivitet", - "string-allow": "Tillåt", - "string-query-data": "Webbplatsen nedan vill ha tillgång till information om din plats som använder Gears.", - "string-deny-accesskey": "E", - "string-query-location": "Webbplatsen nedan will ha tillgång till information om din plats som använder Gears.", - "string-html-title": "Säkerhetsvarning i Gears", - "string-description": "Gears är ett webbläsartillägg med öppen källkod som gör att webbprogram kan ge offlinefunktionalitet med följande JavaScript-API:er:", - "string-database-desc": "Spara data lokalt i en helt sökbar relationsdatabas", - "string-allow-accesskey": "T", - "string-cancel": "Avbryt", - "string-never-allow-link": "Tillåt aldrig den här webbplatsen", - "string-deny": "Neka", - "string-never-allow-link-wince": "Tillåt aldrig", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Spara och hantera programresurser lokalt", - "string-location-privacy-statement": "Läs webbplatsens sekretesspolicy för att se hur din plats kommer att användas.", - "string-trust-site": "Jag litar på den här platsen Tillåt den använda Gears." - }, - "ur": { - "string-workerpool-desc": "اپلی کیشن کا رد عمل بہتر بنانے کیلئے مطابقت پذیر جاوا اسکرپٹ چلائیں", - "string-allow": "اجازت دیں", - "string-query-data": "ذیل کی ویب سائٹ گیئرز کا استعمال کرتے ہوئے آپ کے کمپیوٹر پر معلومات جمع کرنا چاہتی ہے۔", - "string-deny-accesskey": "D", - "string-query-location": "ذیل کی ویب سائٹ گیئرز کا استعمال کرتے ہوئے آپ کے مقام سے متعلق معلومات تک رسائی حاصل کرنا چاہتی ہے۔", - "string-html-title": "گیئرز کی تحفظاتی تنبیہ", - "string-description": "گیئرز براؤزر کی ایک کھلے وسائل والی توسیع ہے جو ویب اطلاقات کو درج ذیل جاوا اسکرپٹ اطلاقات کا استعمال کرتے ہوئے آف لائن کارکردگی فراہم کرنے کے قابل بناتا ہے:", - "string-database-desc": "ایک پوری طرح قابل تلاش متعلقہ ڈیٹا بیس", - "string-allow-accesskey": "A", - "string-cancel": "منسوخ", - "string-never-allow-link": "کبھی بھی اس سائٹ کی اجازت نہ دیں۔", - "string-deny": "مسترد", - "string-never-allow-link-wince": "کبھی بھی اس کی اجازت نہ دیں", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "اطلاقی وسائل کو مقامی طور پر جمع اور استعمال کریں", - "string-location-privacy-statement": "یہ دیکھنے کیلئے کہ آپ کے جائے وقوع کا استعمال کس طرح کیا جائے گا، اس سائٹ کی رازداری کی پالیسی کو پڑھیں۔", - "string-trust-site": "میں اس سائٹ پر اعتبار کرتا ہوں۔ اسے گیئرز استعمال کرنے کی اجازت دیں۔" - }, - "sk": { - "string-workerpool-desc": "Spustiť asynchrónny Javascript na zlepšenie reakcie aplikácie", - "string-allow": "Povoliť", - "string-query-data": "Nižšie uvedená webová lokalita chce použiť rozšírenie Gears na uchovávanie informácií vo vašom počítači.", - "string-deny-accesskey": "K", - "string-query-location": "Nižšie uvedená webová lokalita chce použiť rozšírenie Gears na získanie prístupu k informáciám o vašom umiestnení.", - "string-html-title": "Varovanie zabezpečenia rozšírenia Gears", - "string-description": "Gears je rozšírenie prehliadača typu open source, ktoré umožňuje webovým aplikáciám poskytovať funkcie v režime offline prostredníctvom nasledujúcich rozhraní JavaScript API:", - "string-database-desc": "Uložiť informácie lokálne v relačnej databáze, s možnosťou úplného prehľadávania", - "string-allow-accesskey": "P", - "string-cancel": "Zrušiť", - "string-never-allow-link": "Nikdy nepovoliť túto lokalitu", - "string-deny": "Zakázať", - "string-never-allow-link-wince": "Nikdy nepovoliť", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Uložiť a sprístupniť zdroje aplikácie lokálne", - "string-location-privacy-statement": "Ak chcete zistiť, na aké účely sa použijú informácie o vašom umiestnení, prečítajte si zásady ochrany osobných údajov pre túto lokalitu.", - "string-trust-site": "Považujem túto lokalitu za dôveryhodnú. Povoliť, aby mohla používať rozšírenie Gears." - }, - "zh-CN": { - "string-workerpool-desc": "运行异步 JavaScript 以提高应用程序响应速度", - "string-allow": "允许", - "string-query-data": "下列网站要使用 Gears 在您的计算机上存储信息。", - "string-deny-accesskey": "D", - "string-query-location": "下列网站要使用 Gears 访问有关您的位置的信息。", - "string-html-title": "Gears 安全警告", - "string-description": "Gears 是一种开放源代码的浏览器扩展程序,通过该扩展程序网络应用程序可以使用以下 JavaScript API 提供脱机功能:", - "string-database-desc": "在本地将数据存储到可全面搜索的关系数据库中", - "string-allow-accesskey": "A", - "string-cancel": "取消", - "string-never-allow-link": "永不允许该网站", - "string-deny": "拒绝", - "string-never-allow-link-wince": "永不允许", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "在本地存储和提供应用程序资源", - "string-location-privacy-statement": "阅读网站的隐私政策,了解该网站会如何使用您的位置。", - "string-trust-site": "我信任该网站。 允许其使用 Gears。" - }, - "de": { - "string-workerpool-desc": "Asynchrones JavaScript zum Verbessern der Anwendungsreaktion ausführen", - "string-allow": "Zulassen", - "string-query-data": "Die untenstehende Website möchte über Gears Informationen auf Ihrem Computer speichern.", - "string-deny-accesskey": "V", - "string-query-location": "Die untenstehende Website fordert über Gears Zugriffsinformationen zu Ihrem Speicherort an.", - "string-html-title": "Gears-Sicherheitswarnung", - "string-description": "Gears ist eine Open-Source-Browsererweiterung, mit der Webanwendungen unter Verwendung der folgenden JavaScript-APIs Offline-Funktionen anbieten können:", - "string-database-desc": "Daten lokal in einer voll durchsuchbaren relationalen Datenbank speichern", - "string-allow-accesskey": "Z", - "string-cancel": "Abbrechen", - "string-never-allow-link": "Diese Website nie zulassen", - "string-deny": "Verweigern", - "string-never-allow-link-wince": "Nie zulassen", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Anwendungsressourcen lokal speichern und bereitstellen", - "string-location-privacy-statement": "Lesen Sie die Datenschutzrichtlinien für die Site, um zu erfahren, wie Ihr Speicherort verwendet wird.", - "string-trust-site": "Ich vertraue dieser Site. Verwendung von Gears zulassen." - }, - "pl": { - "string-workerpool-desc": "Uruchom asynchroniczny skrypt JavaScript, aby usprawnić działanie aplikacji", - "string-allow": "Zezwalaj", - "string-query-data": "Poniższa witryna internetowa chce przechowywać informacje na Twoim komputerze za pośrednictwem wtyczki Gears.", - "string-deny-accesskey": "P", - "string-query-location": "Poniższa witryna internetowa chce uzyskać dostęp do informacji o Twojej lokalizacji za pośrednictwem wtyczki Gears.", - "string-html-title": "Ostrzeżenie wtyczki Gears dotyczące zabezpieczeń", - "string-description": "Wtyczka Gears to rozszerzenie przeglądarki typu open source, które umożliwia aplikacjom internetowym funkcjonowanie w trybie offline przy użyciu następujących interfejsów API języka JavaScript:", - "string-database-desc": "Przechowuj dane lokalnie w relacyjnej bazie danych z możliwością pełnego przeszukiwania", - "string-allow-accesskey": "Z", - "string-cancel": "Anuluj", - "string-never-allow-link": "Nigdy nie zezwalaj na tę witrynę", - "string-deny": "Odmów", - "string-never-allow-link-wince": "Nigdy nie zezwalaj", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Przechowuj zasoby aplikacji i obsługuj je lokalnie", - "string-location-privacy-statement": "Zapoznaj się z polityką prywatności witryny, aby zobaczyć, do czego zostaną wykorzystane informacje o Twojej lokalizacji.", - "string-trust-site": "Ufam tej witrynie. Zezwól jej na korzystanie z wtyczki Gears." - }, - "ms": { - "string-workerpool-desc": "Jalankan JavaScript tak segerak untuk meningkatkan kesambutan aplikasi", - "string-allow": "Benarkan", - "string-query-data": "Laman web di bawah mahu menyimpan maklumat pada komputer anda dengan menggunakan Gear.", - "string-deny-accesskey": "L", - "string-query-location": "Laman web di bawah mahu mengakses maklumat mengenai lokasi anda dengan menggunakan Gear.", - "string-html-title": "Amaran Keselamatan Gear", - "string-description": "Gear adalah lanjutan penyemak imbas sumber terbuka yang membolehkan aplikasi web untuk menyediakan kefungsian luar talian menggunakan JavaScript APIs yang berikut:", - "string-database-desc": "Simpan data setempat dalam pangkalan data hubungan boleh cari sepenuhnya", - "string-allow-accesskey": "N", - "string-cancel": "Batal", - "string-never-allow-link": "Jangan sekali-kali benarkan laman ini", - "string-deny": "Tolak", - "string-never-allow-link-wince": "Jangan sekali-kali benarkannya", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Simpan dan berikan sumber aplikasi setempat", - "string-location-privacy-statement": "Baca dasar privasi tapak untuk melihat bagaimana lokasi anda akan digunakan.", - "string-trust-site": "Saya percaya tapak ini. Benarkannya untuk menggunakan Gear." - }, - "sl": { - "string-workerpool-desc": "Zaženi asinhroni javascript, da bo odzivnost aplikacij boljša", - "string-allow": "Dovoli", - "string-query-data": "To spletno mesto želi shraniti informacije o računalniku, v katerem se uporablja program Gears.", - "string-deny-accesskey": "R", - "string-query-location": "To spletno mesto želi omogočiti dostop do informacij o lokaciji, ki uporablja program Gears.", - "string-html-title": "Varnostno opozorilo programa Gears", - "string-description": "Gears je odprtokodna razširitev brskalnika, ki z uporabo teh programskih vmesnikov z JavaScriptom omogoča delovanje spletnih programov brez povezave:", - "string-database-desc": "Lokalno shranjevanje podatkov v relacijsko podatkovno zbirko, po kateri je mogoče iskati", - "string-allow-accesskey": "A", - "string-cancel": "Prekliči", - "string-never-allow-link": "Nikoli ne dovoli tega spletnega mesta", - "string-deny": "Zavrni", - "string-never-allow-link-wince": "Nikoli ne dovoli", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "Lokalno shranjevanje in omogočanje virov za aplikacije", - "string-location-privacy-statement": "Če želite izvedeti, kako bo uporabljena vaša lokacija, preberite pravilnik o zasebnosti, ki velja za to spletno mesto.", - "string-trust-site": "Temu spletnemu mestu zaupam. Dovoli mu uporabo programa Gears." - }, - "mr": { - "string-workerpool-desc": "अनुप्रयोगाच्या प्रतिसादात्मकतेत सुधारणा करण्यासाठी असिंक्रोनस JavaScript चालवा", - "string-allow": "अनुमती द्या", - "string-query-data": "खालील वेबसाइट Gears वापरुन आपल्या संगणकावर माहिती संचयित करू इच्छित आहे.", - "string-deny-accesskey": "D", - "string-query-location": "खालील वेबसाइट Gears वापरुन आपल्या स्थानाबद्दलच्या माहितीमध्ये प्रवेश करू इच्छिते.", - "string-html-title": "Gears सुरक्षा चेतावणी", - "string-description": "Gears एक ओपन सोर्स ब्राउझर विस्तार आहे जो ऑफलाइन कार्यक्षमता प्रदान करण्यासाठी खालील JavaScript APIs वापरुन वेब अनुप्रयोग सक्षम करतोः", - "string-database-desc": "संपूर्ण-शोध करण्यायोग्य संबंधित डेटाबेस मध्ये स्थानिक रुपात डेटा संग्रहित करा", - "string-allow-accesskey": "A", - "string-cancel": "रद्द करा", - "string-never-allow-link": "या साइटला कधीही अनुमती देऊ नये", - "string-deny": "अमान्य करा", - "string-never-allow-link-wince": "यास कधीही परवानगी देऊ नये", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "अनुप्रयोग स्रोतांना स्थानिक रुपात संग्रहित आणि सर्व्ह करा", - "string-location-privacy-statement": "आपले स्थान कसे वापरले जाते हे जाणून घेण्यासाठी साउटचे गोपनीयता धोरण वाचा.", - "string-trust-site": "माझा या साइटवर विश्वास आहे. तिला Gears वापरण्याची परवानगी द्या." - }, - "or": { - "string-workerpool-desc": "ଅନୁପ୍ରୟୋଗ ଶୀଘ୍ର ପ୍ରତିକ୍ରିୟା କରିବାକୁ ଏକ ଏସିଂକ୍ରୋନିୟସ୍ JavaScript ଚଲାନ୍ତୁ", - "string-allow": "ଅନୁମତି", - "string-query-data": "Gears ବ୍ୟବହାର କରି ନିମ୍ନ ୱେବସାଇଟ୍ ଆପଣଙ୍କ କମ୍ପ୍ୟୁଟରରେ ସୂଚନା ଗଚ୍ଛିତ କରିବାକୁ ଚାହୁଁଛି |", - "string-deny-accesskey": "D", - "string-query-location": "Gears ବ୍ୟବହାର କରି ନିମ୍ନ ୱେବସାଇଟ୍ ଆପଣଙ୍କ ଅବସ୍ଥାନ ସମ୍ବନ୍ଧରେ ସୂଚନା ଆସେସ୍ କରିବାକୁ ଚାହୁଁଛି |", - "string-html-title": "Gears ସୁରକ୍ଷା ଚେତାବନୀ", - "string-description": "Gears ଏକ ଖୋଲା ଉତ୍ସ ବ୍ରାଉଜର୍ ବିସ୍ତାର , ଯାହା ଅଫଲାଇନ୍ କାର୍ଯ୍ୟକ୍ଷମତା ପ୍ରଦାନ କରିବାକୁ ନିମ୍ନ JavaScript APIs ବ୍ୟବହାର କରି ୱେବ୍ ଅନୁପ୍ରୟୋଗ ସକ୍ଷମ କରେ", - "string-database-desc": "ପୂର୍ଣ୍ଣ-ସନ୍ଧାନ ଯୋଗ୍ୟ ସମ୍ପର୍କିତ ଡାଟାବେସ୍ରେ ଡାଟା ସ୍ଥାନୀୟ ଭାବରେ ଗଚ୍ଛିତ କରନ୍ତୁ", - "string-allow-accesskey": "A", - "string-cancel": "ବାତିଲ୍", - "string-never-allow-link": "କେବେ ମଧ୍ୟ ଏହି ସାଇଟ୍କୁ ଅନୁମତି କରନ୍ତୁ ନାହିଁ", - "string-deny": "ଅଗ୍ରାହ୍ୟ", - "string-never-allow-link-wince": "ଏହାକୁ କେବେ ମଧ୍ୟ ଅନୁମତି କରନ୍ତୁ ନାହିଁ", - "string-trust-site-accesskey": "t", - "string-localserver-desc": "ଅନୁପ୍ରୟୋଗ ଉତ୍ସଗୁଡିକୁ ସ୍ଥାନୀୟ ଭାବରେ ଗଚ୍ଛିତ ଏବଂ ପରିବେଷିତ କରନ୍ତୁ", - "string-location-privacy-statement": "ଆଣଙ୍କର ଅବସ୍ଥାନ କିପରି ବ୍ୟବହୃତ ହେବ ଦେଖିବାକୁ ଏହି ସାଇଟର ଗୋପନୀୟତା ନୀତି ପଢନ୍ତୁ |", - "string-trust-site": "ମୁଁ ଏହି ସାଇଟକୁ ବିଶ୍ବାସ କରେ,ଏହାକୁ Gears ବ୍ୟବହାର କରିବାକୁ ଅନୁମତି ପ୍ରଦାନ କରନ୍ତୁ |" - } -}; - -// Insert all localized strings for the specified locale into the div or span -// matching the id. -function loadI18nStrings(locale) { - var rtl_languages = ['he', 'ar', 'fa', 'ur']; - - if (!locale) { - locale = 'en-US'; - } else { - if (!localized_strings[locale]) { - // For xx-YY locales, determine what the base locale is. - var base_locale = locale.split('-')[0]; - - if (localized_strings[base_locale]) { - locale = base_locale; - } else { - locale = 'en-US'; - } - } - } - - var strings = localized_strings[locale]; - - // If the specified locale is an right to left language, change the direction - // of the page. - for (index in rtl_languages) { - if (locale == rtl_languages[index]) { - document.body.dir = "rtl"; - break; - } - } - - // Copy each string to the proper UI element, if it exists. - for (name in strings) { - if (name == 'string-html-title') { - if (!browser.ie_mobile) { - // IE Mobile dialogs don't have a title bar. - // Furthermore, document.title is undefined in IE Mobile on WinMo 5. - // It's also impossible to add properties to the window object. - // (see http://code.google.com/apis/gears/mobile.html) - document.title = strings[name]; - } - } else { - var element = dom.getElementById(name); - if (element) { - element.innerHTML = strings[name]; - } - } - } -} - - -</script> - -<script> - var debug = false; - initDialog(); - - initWarning(); - - setButtonLabel("string-allow", "allow-button", "string-allow-accesskey"); - setButtonLabel("string-deny", "deny-button", "string-deny-accesskey"); - - // Highlight the access key in the 'trust' text. - // TODO(zork): Cause this to be based on the localized string, and figure out - // how to programmatically set the access key for the checkbox. - var trustTextElement = dom.getElementById("string-trust-site"); - text = trustTextElement.innerHTML; - text = text.replace(/t/, "<span class='accesskey'>t</span>"); - trustTextElement.innerHTML = text; - - if (!browser.ie_mobile) { - CustomButton.initializeAll(); - } - - if (browser.ie_mobile) { - var allowText = dom.getElementById("string-allow"); - if (allowText) { - window.pie_dialog.SetButton(allowText.innerText, "allowAccessPermanently();"); - window.pie_dialog.SetButtonEnabled(true); - } - var cancelText = dom.getElementById("string-cancel"); - if (cancelText) { - window.pie_dialog.SetCancelButton(cancelText.innerText); - } - // Focus allow button by default. - dom.getElementById('allow-button').focus(); - } - - function setTextContent(elem, content) { - if (isDefined(typeof document.createTextNode)) { - elem.appendChild(document.createTextNode(content)); - } else { - elem.innerText = content; - } - } - - function showHelp(show) { - if (browser.ie_mobile) { - var elemSettings = dom.getElementById("permissions-settings"); - var elemHelp = dom.getElementById("permissions-help"); - if (show) { - elemSettings.style.display = 'none'; - elemHelp.style.display = 'block'; - window.pie_dialog.SetButton("Back", "showHelp(false);"); - window.pie_dialog.SetButtonEnabled(true); - } else { - elemSettings.style.display = 'block'; - elemHelp.style.display = 'none'; - window.pie_dialog.SetButton("Allow", "allowAccessPermanently();"); - } - window.pie_dialog.ResizeDialog(); - } else { - window.open('http://gears.google.com/?action=help'); - } - } - - function initWarning() { - var args; - if (debug) { - // Handy for debugging layout: - args = { - locale: "en-US", - origin: "http://www.google.com", - dialogType: "localData", - customIcon: "http://google-gears.googlecode.com/svn/trunk/gears/test/manual/shortcuts/32.png", - customName: "My Application", - customMessage: "Press the button to enable my application to run offline!" - }; - } else { - // The arguments to this dialog are a single string, see PermissionsDialog - args = getArguments(); - } - - loadI18nStrings(args.locale); - var origin = args['origin']; // required parameter - var dialogType = args['dialogType']; // required parameter - var customIcon = args['customIcon']; - var customName = args['customName']; - var customMessage = args['customMessage']; - - var elem; - - elem = dom.getElementById("icon"); - if (dialogType == "localData") { - elem = dom.getElementById("icon-local-data"); - elem.style.display = "block"; - elem = dom.getElementById("local-data"); - elem.style.display = "block"; - } else if (dialogType == "locationData") { - elem = dom.getElementById("icon-locationdata"); - elem.style.display = "block"; - elem = dom.getElementById("location-data"); - elem.style.display = "block"; - elem = dom.getElementById("string-location-privacy-statement"); - elem.style.display = "block"; - } - - if (!customName) { - elem = dom.getElementById("origin-only"); - elem.style.display = "block"; - if (browser.ie_mobile) { - elem.innerHTML = wrapDomain(origin); - } else { - setTextContent(elem, origin); - } - - // When all we have is the origin, we lay it out centered because that - // looks nicer. This is also what the original dialog did, which did not - // support the extra name, icon, or message. - if (!browser.ie_mobile && !customIcon && !customMessage) { - elem.setAttribute("align", "center"); - } - } else { - elem = dom.getElementById("origin"); - elem.style.display = "block"; - setTextContent(elem, origin); - } - - if (customIcon) { - elem = dom.getElementById("custom-icon"); - elem.style.display = "inline"; - elem.height = 32; - elem.width = 32; - loadImage(elem, customIcon); - } - - if (customName) { - elem = dom.getElementById("custom-name"); - elem.style.display = "block"; - setTextContent(elem, customName); - } - - if (customMessage) { - elem = dom.getElementById("custom-message"); - elem.style.display = "block"; - setTextContent(elem, customMessage); - } - - if (!browser.ie_mobile) { - // Set up the checkbox to toggle the enabledness of the Allow button. - dom.getElementById("unlock").onclick = updateAllowButtonEnabledState; - dom.getElementById("checkbox-row").style.display = 'block'; - updateAllowButtonEnabledState(); - } - resizeDialogToFitContent(); - } - - - function updateAllowButtonEnabledState() { - var allowButton = dom.getElementById("allow-button"); - var unlockCheckbox = dom.getElementById("unlock"); - - if (unlockCheckbox.checked) { - enableButton(allowButton); - } else { - disableButton(allowButton); - } - } - - // Note: The structure that the following functions pass is coupled to the - // code in PermissionsDialog that processes it. - function allowAccessPermanently() { - saveAndClose({"allow": true, "permanently": true}); - } - - function denyAccessTemporarily() { - saveAndClose({"allow": false, "permanently": false}); - } - - function denyAccessPermanently() { - saveAndClose({"allow": false, "permanently": true }); - } -</script> -</html> diff --git a/assets/plugins/gears-0.4.23.0/settings_dialog.html b/assets/plugins/gears-0.4.23.0/settings_dialog.html deleted file mode 100644 index e70e790..0000000 --- a/assets/plugins/gears-0.4.23.0/settings_dialog.html +++ /dev/null @@ -1,2750 +0,0 @@ -<!DOCTYPE html> - -<!-- -Copyright 2007, The Android Open Source Project - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - 3. Neither the name of Google Inc. nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---> - -<html> -<head> - <style type="text/css"> - - -/* -Copyright 2007, The Android Open Source Project - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - 3. Neither the name of Google Inc. nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -body, html { - background-color:white; - padding:0; - margin:0; - height:100%; - overflow:hidden; - cursor:default; - - /* - Makes the text unselectable in mozilla. See html_diaog.js for IE - implementation. - */ - -moz-user-select:none; -} - -body, td, input, select, button { - font-family:arial,sans-serif; - font-size:13px; -} - -p { - margin:0; - margin-bottom:1em; -} - -a { - color:blue; - text-decoration:underline; -} - -button { - /* - It would be better to express margins in ems, but it causes layout - artifacts (presumably because of rounding errors) when combined with - the -moz-border-radius property used in button.css on Firefox 2. - - Also: bizarely, if I try to use the more natural margin-left:10px, I get - a bug where the buttons bounce on IE when you hover over them. - */ - position:relative; - margin-right:7px; - left:7px; -} - -#head { - padding:1em; -} - -#foot { - - /* - On Android we do not use position:absolute due to some - rendering limitations (absolute positioning works, but - the automatic resizing of dialog is confused by the - variable content and the display is wrong, while if we - remove the absolute positioning, #foot is back in the - flow and the dialog displays correctly) - */ - - background:white; - bottom:0; - width:100%; -} - -#button-row { - margin:1em; -} - -.accesskey { - text-decoration: underline; - - /* IE CSS extension */ - accelerator: true; -} - - h1 { - font-size:1.2em; - margin:0; - } - - h2 { - font-size:1.1em; - margin:0; - } - - /* TODO(aa): Move into standard stylesheet if used in all dialogs? */ - #icon { - margin-right:0.5em; - } - - #content { - overflow-x:hidden; - overflow-y:auto; - - margin:0 1em; - - } - - #content table { - border: 1px #ccc; - /* Only set the sides and bottom border of the table because - border-colapse doesn't work on WinCE. */ - border-style: none solid; - border-collapse: collapse; - /* A bug in Mozilla with border-collapse:collapse along with the overflow - settings we have on the scroll element causes the left border to be - placed 1px to the left, making the element invisible. */ - margin-left:1px; - } - - #content td { - - padding: 4px; - - } - - #content table.permissions { - border-bottom-style: solid; - } - - #version { - font-size:0.8em; - font-style:italic; - } - - #content td.left { - width: 100%; - - padding-left: 20px; - - } - - #content td.right { - - padding-right: 20px; - - } - - .app-icon { - width: 30px; - } - - .app-name { - width: 150px; - } - - .app-origin { - width: 70px; - } - - - - td.origin-name { - font-weight: bold; - width: 100%; - } - - - div.radio-buttons { - - width: 150px; - - } - - - - - </style> -</head> -<body> - <div id="strings" style="display:none;"> - <div id="string-cancel"></div> - <div id="string-cancel-accesskey"></div> - <div id="string-apply"></div> - <div id="string-apply-accesskey"></div> - <div id="string-nosites"></div> - <div id="string-allowed"></div> - <div id="string-denied"></div> - <div id="string-local-storage"></div> - <div id="string-location-data"></div> - <div id="string-remove"></div> - </div> - - <div id="head"> - <table width="100%" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td valign="middle"> - - <img id="icon" src="data:image/png;base64, -iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAJPElEQVR4Xq3V -WWyc1d0G8Oecd515Z/csHsfxntiOE8eOMY6dxFkokJCQlACBhEpsvWgLRkAL -IhRxEYrSpp/6XYCgUokKBQEl0ABR0wrShBAI2R1nM3HseB+Px2PPPu/Mu3aE -uKkoUhPzuzhXRzp/PUfPOcQ0TcxGrOcJ9Jz6F4YmTNq2yF4r5436aFyrlyz8 -nyQxH6m7aTdETxO+D8UssSxF/0gGc4NCpc3u2VtctvBNb5HjN71XUw8bxAHd -pPiGkQeg/PADDI5lMZ3QYRUZL2MpqRVIyhpwGwj62OdTObo1l405svEBd9/h -J7ae3Nd1p6rIP+wA5/tzuKExgKDfsZm32KHIU6AUaGnwiD5b5u3R0787OXVu -x0kbF3t7ZuyzPZ/ve2HjfySI65SdPOQf7z/UNM87pPg8zi32wI0/J8oINE1F -NgewLOBxW8GwxnyTUWCqcSycHyT7Du99V9XY1rX37Lh43QPoagrhS689zRnp -X/p9btjcZUB+CL29vThwPD6USOnHrRbGqCixNLc3ueuK3BpMQ0U0oaJvONvd -uvaGoVklkJm+6DbU2Aa3rxxy7CL0VBxj4Qz++s/I4ebF1VvKAyRiaEmkMobt -bO/0Gy0NRZu9bh5XBifVxqXbnm/p2JiZVQtmJs5WhcZHq+XkEAhlYJrAF2cS -qUX1pV13bVgSqa+yo6bMgSInl57XdOdDM0l9kFIKniWcwDP6rFtQUn/f6QTt -uPd0z2AMJoGqGYjMqD1Vc8j5zEw/qJGG3UrBsQwMNpjgqHZW1w3MKbYiFTm1 -StOU2Q3Ai3bcdt9LH4iuusczsgxKCSwiYxLCQMmnwbAUDEMg5/PgRDec3qqc -yXpQ4rejrjj0zME9j+/IyUnrrGrIsDwal3f1GAbReI7FgiqpeTqWWjQxJePK -cAY9lxO4MmrCJc6UOt3BDoAFIQbmV3mF7qN7num/3F2CAnb610+CwITAsjAB -GIYBAkBgKN4ZDiFhAttqq4TpqamNcU0PEULHeUJDnEAUs0P2e0saYeaGsLjO -bjvfl3pDUWnX0IT8JYMcOprLmsTc0T/yzopyNRsFy7CIzOQQy3kO2ezeQRSQ -qVvbEc2r2D00DsUwANNEhdWCUknEuyMT6GpvRTCT3GparW/LeQXTyWT0QjT9 -SXEt9+jSX1Xvd7iql+ZiF8CyDBQNmJzO64ZJj9ntLt3lCTaLNp89E+3BmXMD -hcPVzNh4zLQGOh976oW9f0YBSy0WvD86CcNThLtrKkloZIhSm0PvHp/A1rpq -lCiy17TbdwY710C72IOiaNR7MqFsuJjVXyoOp6Qq/TIEjiKb08FxHMqDFkY3 -yTLK2UGQQiJ0Bf/4fFQfjJa8sG7zI++1+eYYHo9nCN8iXdWlyIHgyboqsJry -cljROmKqtreIY/9uJVgkSLaHi5evXKGHQ1Cv9oNQin2FZC5l0i0ttzrifAU5 -FovpvpEJ+YjLzup1VVL7onk2QRQYUGLi4pUYDp7zPvvcrv07BUH47mcUZXg8 -2rYEpqY8JFTUPFKzoKG5UhJ3uIo8J731Da/PWd65AqExGCODoIQAuoYGlw1B -VthOjpEJPYpVGVNbdvOaus6GGtvqyLSyqvdqdoQS8s21TEZzkGyuE98e/h20 -JeAFL8ttiondjrllQDyGIlGA3+GgFkPH1Imv0NdzFgPxJCJZGQalqHLYsCLg -vosH+ay4j+9sH3PO0z6e+onLZBzzq8RjMLXtn345irc+upr97Pj48bLy8iF8 -D/Liwhp0+jyBSUU52Oh2LbCYOhiOg6pqOBdL4Eg0poRy6gkLy0SKRaGy2W1v -bnTZITEMcgB0wsM0ga8GRkFX+G9pvW/xp4qsMOevpFc6JYTL6n98ua55vc5y -Iv4bsmvxfDS6nYjnlc2VkuWdCqedVxUVR6fj2DM8fpwThF8sdDnPcLoKllJr -QtXur7NL/9fmcVpFlgWVJBT24FTv1zjjLt39xAcf/5S3cPhfUZFSHJ6YQoVV -PMKKYpSxSgjJORyYmBoRrNI9j61ZeWZzZSmaXHYEBD7b5nG8GlO0rlAub6LA -SKehxGOAaMHZLw5u7jt11IdrQP82FkFtSTEsBEGbw+knDidGUhlEFfW9wgM0 -XCynYWMoGl0OgFKEZQUNDuktWTcuEYsFBRhMpvHOhcvZ2k13Ple1uDmNa0C3 -LF6A1ZXl0FRlk3tuOavJWaQ0DQ6OO52MxzE2GQGTzYJwPFoDPlxKpgGYikTJ -JPUUIUcp9g+OZEtuWXf/s7tff8XqcMi4Bux6K+tNDg8+6F+waAcnSchenIRL -FGDjGL+mqIjBBCQRNosFJ0NhhFUNIsdxAqU+wenGcH8/ZkTp/PYXd77P8zyu -FQ0lM09xbvcuR209lKEBUBOolKwICMKDedOkeZb75qV89UIf3uwbwl1zi2GD -2e4sK68DAQopoaS6Jlzk8+N60LCifjAZS0wo3SdBkgmYlMAncmj3OpvSmvYa -SyCUFwdg6jp+VlOGeRxtopL0srN+AZcfHYbf5USq50xw7PLXDK4DObS6FZNy -fr+TZdZRSuEROBT6DoYQjGRljGVz3VaG+cjDMqMCpcvsc+Zs8Ta12JT+y1CH -BwGGweHxMOTWZY9s2/WHV0S7A9eCnLh5KXoTmTVnYsmtGU2HT+SDLW77+haP -CzaHA9l0BjlNhVDkg628HILNDvlqP5SxYXAcjwIcn0ng9RPdZ188cLitbvkK -BdeAPTA5g1a34yDgOFiIHIQQDKayXQ6W/e1ClrWypgE7z4ElJrIDV3ApPImR -VBYCz6FC0iHrBj4eGE413n3v02WNixVcI7bRaYMBoMJmRR4motk8av2+l6Zj -sdWKad5htYjQczkkpiI4MDmNL6LxbsUw/1Ik8nmJYe6ITk8vkWoX7ChU8FPu -OlrA/P+SevhFHj6bhKDVgq/jCUQNwENJkUmwXgCg6QaOzSTx4Wj4PZ/TuX5b -bfWXQYJTvK69Wbduw/sP7Pz9AZc/YOA6sGo2AxMA1Q0IFCghJj4cGERpqf/I -J+HIJRNmOSVUOh9LxtxWy/YHW5cotkgImqZC1/K4/dHHrtrm1+J6UXHZKlg7 -b4Jl+SqwHStRe/NatN++EcFVPzrfcOvaVk/nmhaho7Dctn7TA1u3Xg3Mmwd/ -RyduXL8BbbdvAmuxYjb+DcasAaYvg7ldAAAAAElFTkSuQmCC - "> - - <!-- Some browsers automatically focus the first focusable item. We - don't want anything focused, so we add this fake item. --> - <a href="#" id="focus-thief"></a> - </td> - <td width="100%" valign="middle"> - <h1> - <span id="string-gears-settings"></span> - </h1> - </td> - </tr> - </table> - </div> - <div id="content"> - <p> - <span id="string-permissions-description"></span> - </p> - <div id='div-permissions'> - </div> - <br> - <br> - <div id="string-version"></div> - </div> - <div id="foot"> - <div id="button-row"> - <table width="100%" cellpadding="0" cellspacing="0" border="0"> - <tr> - - <td nowrap="true" align="right" valign="middle"> - <button id="confirm-button" class="custom" - onclick="saveAndClose(calculateDiff()); return false;" - ></button - ><button id="cancel-button" accesskey="C" class="custom" - onclick="saveAndClose(null); return false;" - ></button> - </td> - - </tr> - </table> - </div> - </div> - - -</body> - -<script> -/* -Copyright (c) 2005 JSON.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The Software shall be used for Good, not Evil. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -*/ - -//Array.prototype.______array = '______array'; - -var JSON = { - org: 'http://www.JSON.org', - copyright: '(c)2005 JSON.org', - license: 'http://www.crockford.com/JSON/license.html', - - stringify: function (arg) { - var c, i, l, s = '', v; - - switch (typeof arg) { - case 'object': - if (arg) { - if (arg.constructor == Array.prototype.constructor) { - for (i = 0; i < arg.length; ++i) { - v = this.stringify(arg[i]); - if (s) { - s += ','; - } - s += v; - } - return '[' + s + ']'; - } else if (typeof arg.toString != 'undefined') { - for (i in arg) { - v = arg[i]; - if (typeof v != 'undefined' && typeof v != 'function') { - v = this.stringify(v); - if (s) { - s += ','; - } - s += this.stringify(i) + ':' + v; - } - } - return '{' + s + '}'; - } - } - return 'null'; - case 'number': - return isFinite(arg) ? String(arg) : 'null'; - case 'string': - l = arg.length; - s = '"'; - for (i = 0; i < l; i += 1) { - c = arg.charAt(i); - if (c >= ' ') { - if (c == '\\' || c == '"') { - s += '\\'; - } - s += c; - } else { - switch (c) { - case '\b': - s += '\\b'; - break; - case '\f': - s += '\\f'; - break; - case '\n': - s += '\\n'; - break; - case '\r': - s += '\\r'; - break; - case '\t': - s += '\\t'; - break; - default: - c = c.charCodeAt(); - s += '\\u00' + Math.floor(c / 16).toString(16) + - (c % 16).toString(16); - } - } - } - return s + '"'; - case 'boolean': - return String(arg); - default: - return 'null'; - } - }, - parse: function (text) { - var at = 0; - var ch = ' '; - - function error(m) { - throw { - name: 'JSONError', - message: m, - at: at - 1, - text: text - }; - } - - function next() { - ch = text.charAt(at); - at += 1; - return ch; - } - - function white() { - while (ch) { - if (ch <= ' ') { - next(); - } else if (ch == '/') { - switch (next()) { - case '/': - while (next() && ch != '\n' && ch != '\r') {} - break; - case '*': - next(); - for (;;) { - if (ch) { - if (ch == '*') { - if (next() == '/') { - next(); - break; - } - } else { - next(); - } - } else { - error("Unterminated comment"); - } - } - break; - default: - error("Syntax error"); - } - } else { - break; - } - } - } - - function string() { - var i, s = '', t, u; - - if (ch == '"') { -outer: while (next()) { - if (ch == '"') { - next(); - return s; - } else if (ch == '\\') { - switch (next()) { - case 'b': - s += '\b'; - break; - case 'f': - s += '\f'; - break; - case 'n': - s += '\n'; - break; - case 'r': - s += '\r'; - break; - case 't': - s += '\t'; - break; - case 'u': - u = 0; - for (i = 0; i < 4; i += 1) { - t = parseInt(next(), 16); - if (!isFinite(t)) { - break outer; - } - u = u * 16 + t; - } - s += String.fromCharCode(u); - break; - default: - s += ch; - } - } else { - s += ch; - } - } - } - error("Bad string"); - } - - function array() { - var a = []; - - if (ch == '[') { - next(); - white(); - if (ch == ']') { - next(); - return a; - } - while (ch) { - a.push(value()); - white(); - if (ch == ']') { - next(); - return a; - } else if (ch != ',') { - break; - } - next(); - white(); - } - } - error("Bad array"); - } - - function object() { - var k, o = {}; - - if (ch == '{') { - next(); - white(); - if (ch == '}') { - next(); - return o; - } - while (ch) { - k = string(); - white(); - if (ch != ':') { - break; - } - next(); - o[k] = value(); - white(); - if (ch == '}') { - next(); - return o; - } else if (ch != ',') { - break; - } - next(); - white(); - } - } - error("Bad object"); - } - - function number() { - var n = '', v; - if (ch == '-') { - n = '-'; - next(); - } - while (ch >= '0' && ch <= '9') { - n += ch; - next(); - } - if (ch == '.') { - n += '.'; - while (next() && ch >= '0' && ch <= '9') { - n += ch; - } - } - if (ch == 'e' || ch == 'E') { - n += 'e'; - next(); - if (ch == '-' || ch == '+') { - n += ch; - next(); - } - while (ch >= '0' && ch <= '9') { - n += ch; - next(); - } - } - v = +n; - if (!isFinite(v)) { - ////error("Bad number"); - } else { - return v; - } - } - - function word() { - switch (ch) { - case 't': - if (next() == 'r' && next() == 'u' && next() == 'e') { - next(); - return true; - } - break; - case 'f': - if (next() == 'a' && next() == 'l' && next() == 's' && - next() == 'e') { - next(); - return false; - } - break; - case 'n': - if (next() == 'u' && next() == 'l' && next() == 'l') { - next(); - return null; - } - break; - } - error("Syntax error"); - } - - function value() { - white(); - switch (ch) { - case '{': - return object(); - case '[': - return array(); - case '"': - return string(); - case '-': - return number(); - default: - return ch >= '0' && ch <= '9' ? number() : word(); - } - } - - return value(); - } -}; - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// Various basic JavaScript utilities. -//============================================================================= - -/** - * Check that the type is not undefined (we do it here as on - * some devices typeof returns unknown instead of undefined...). - * We have to pass the evaluation of (typeof elem) (i.e., a string) - * to the function rather than simply (element) -- passing an - * undefined object would make the function crash on PIE. - */ -function isDefined(type) { - return type != 'undefined' && type != 'unknown'; -} - -/** - * Returns true if val is a function. - */ -function isFunction(val) { - return typeof val == "function"; -} - -// TODO(aa): more basic type checking here. - - -/** - * Creates a 'bound' function that calls the current function with a preset - * 'this' object and set of arguments. - */ -Function.prototype.bind = function(obj) { - var preArgs = Array.prototype.slice.call(arguments, 1); - var self = this; - return function() { - var postArgs = Array.prototype.slice.call(arguments, 0); - var totalArgs = preArgs.concat(postArgs); - return self.apply(obj, totalArgs); - } -}; - -/** - * Creates a partially applied function that calls the current function with - * a preset set of arguments. - */ -Function.prototype.partial = function() { - var args = Array.prototype.slice.call(arguments, 0); - return this.bind(null, args); -}; - -/** - * Binds all the methods in obj to obj. - */ -function bindMethods(obj) { - for (var p in obj) { - if (isFunction(obj[p])) { - obj[p] = obj[p].bind(obj); - } - } -} - - -/** - * Trim leading and trailing whitespace from a string. - */ -String.prototype.trim = function(str) { - return this.replace(/^\s+/, "").replace(/\s+$/, ""); -}; - - -/** - * Find the index of a given element in an array. Returns -1 if the item does - * not exist. - */ -Array.prototype.indexOf = function(item) { - for (var i = 0; i < this.length; i++) { - if (this[i] === item) { - return i; - } - } - return -1; -}; - -/** - * Makes a deep copy of an object. - */ -function cloneObject(original) { - var newObject = new Object(); - for (i in original) { - if (typeof original[i] == 'object') { - newObject[i] = cloneObject(original[i]); - } - else { - newObject[i] = original[i]; - } - } - newObject.length = original.length; - return newObject; -} - -var browser = {}; - -(function() { - var ua = navigator.userAgent; - browser.opera = typeof opera != "undefined"; - browser.ie = !browser.opera && ua.indexOf("MSIE") > -1; - browser.ie_mobile = (ua.indexOf("Windows CE") > -1) && - (ua.indexOf("MSIE") > -1); - browser.webkit = ua.indexOf("WebKit") > -1; - // WebKit also gives product == "gecko". - browser.mozilla = !browser.webkit && navigator.product == "Gecko"; - browser.safari = ua.indexOf("Safari") > -1; - browser.mac = navigator.platform.indexOf("Mac") > -1; - browser.linux = navigator.platform.indexOf("Linux") > -1; - browser.windows = navigator.platform.indexOf("Win") > -1; - browser.android = ua.indexOf("Android") > -1; - if (browser.android) { - browser.safari = false; - } - // TODO(aa): Add detection for more browsers, as necessary. -})(); - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// DOM manipulation utilities. -// Requires: base.js -//============================================================================= - -var dom = {}; - -/** - * Provides a cross-browser way of getting an element by its id - */ -dom.getElementById = function(id) { - if (isDefined(typeof document.getElementById)) { - return document.getElementById(id); - } else if (isDefined(typeof document.all)) { - return document.all[id]; - } - throw new Error("Failed to get element by ID."); -}; - -/** - * Gets the position and dimensions of an element in pixels in relation - * to the window origin. - */ -dom.getPosition = function(elem) { - var ret = { 'left' : 0, - 'top' : 0, - 'width' : elem.width, - 'height' : elem.height }; - - if (!elem.offsetParent) return ret; - - var left = 0; - var top = 0; - while (elem) { - left += elem.offsetLeft; - top += elem.offsetTop; - elem = elem.offsetParent - } - ret.left = left; - ret.top = top; - return ret; -}; - -/** - * Returns the height of the inside of the window. - */ -dom.getWindowInnerHeight = function() { - if (isDefined(typeof window.innerHeight)) { // Firefox - return window.innerHeight; - } else if (isDefined(typeof document.body.offsetHeight)) { // IE - return document.body.offsetHeight; - } - - throw new Error("Could not get windowInnerHeight."); -}; - -/** - * Add an event listener to an element cross-browser. - */ -dom.addEvent = function(element, eventName, handler) { - var wrapper = dom._callEventHandler.bind(dom, handler); - - if (isDefined(typeof element.addEventListener)) { - // Standards-compatible browsers - element.addEventListener(eventName, wrapper, false); - } else if (isDefined(typeof element.attachEvent)) { - // IE - element.attachEvent("on" + eventName, wrapper); - } else { - throw new Error('Failed to attach event.'); - } -}; - -/** - * Private helper for calling event handlers compatibly across browsers. - */ -dom._callEventHandler = function(handler, e) { - // Older versions of IE don't pass event to the handler. - if (!e) e = window.event; - - // TODO(aa): Normalize event object properties. - - return handler(e); -}; - -/** - * Gets the CSS classes for an element. - */ -dom.getClasses = function(elm) { - return elm.className.split(/\s+/); -}; - -/** - * Check is an element has a particular CSS class name. - */ -dom.hasClass = function(elm, className) { - return this.getClasses(elm).indexOf(className) > -1; -}; - -/** - * Adds a CSS class to an element. Do nothing if the class already exists. - */ -dom.addClass = function(elm, className) { - var classes = this.getClasses(elm); - if (classes.indexOf(className) > -1) { - return; - } - classes.push(className); - elm.className = classes.join(" "); -}; - -/** - * Removes a CSS class from an element. Do nothing if the class doesn't exist. - */ -dom.removeClass = function(elm, className) { - var classes = this.getClasses(elm); - var index = classes.indexOf(className); - if (index == -1) { - return; - } - classes.splice(index, 1); - elm.className = classes.join(" "); -}; - -/** - * Gets the text (non-html) content of an element. - */ -dom.getTextContent = function(elm) { - if (isDefined(typeof elm.textContent)) { - return elm.textContent; - } else if (isDefined(typeof elm.innerText)) { - return elm.innerText; - } else { - throw new Error("Could not find a property to get text content."); - } -}; - -/** - * Sets the text (non-html) contents of an element. - */ -dom.setTextContent = function(elm, text) { - if (isDefined(typeof elm.textContent)) { - elm.textContent = text; - } else if (isDefined(typeof elm.innerText)) { - elm.innerText = text; - } else { - throw new Error("Could not find a property to set text content."); - } -}; - -// Copyright 2007, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -/** - * Initialize the base functionality of the dialog. - */ -function initDialog() { - if (!browser.ie_mobile) { - dom.addEvent(document, "keyup", handleKeyUp); - } else { - var buttonRowElem = null; - if (window.pie_dialog.IsSmartPhone()) { - buttonRowElem = dom.getElementById("button-row-smartphone"); - } else { - buttonRowElem = dom.getElementById("button-row"); - } - if (buttonRowElem) { - buttonRowElem.style.display = 'block'; - } - } - if (browser.ie_mobile) { - window.pie_dialog.SetScriptContext(window); - window.pie_dialog.ResizeDialog(); - } -} - -/** - * Set the label of an input button, and optionally, its accesskey. - */ -function setButtonLabel(textID, elemID, accessKeyID) { - var textElem = dom.getElementById(textID); - var buttonElem = dom.getElementById(elemID); - if (textElem == null || buttonElem == null) { - return; - } - - var accessKeyElem = null; - if (isDefined(typeof accessKeyID)) { - accessKeyElem = dom.getElementById(accessKeyID); - } - - // This function works for two different kinds of buttons. Simple buttons - // based on the <input type="button"> tag, and custom buttons based on a - // <button> tag with the css class "custom". - // Note that on Windows Mobile 5, the tagName property is not defined. - // We can therefore safely assume that the converse is also true: - // if tagName is not defined, then the platform must be Windows Mobile 5. - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.value = dom.getTextContent(textElem).trim(); - if (accessKeyElem != null) { - buttonElem.accessKey = dom.getTextContent(accessKeyElem).trim(); - } - } else if (buttonElem.tagName.toLowerCase() == "button") { - var text = dom.getTextContent(textElem).trim(); - - if (accessKeyElem != null) { - // Some browsers use the accessKey attribute of the the anchor tag. - var accessKey = dom.getTextContent(accessKeyElem).trim(); - buttonElem.accessKey = accessKey; - - // Find the first matching character in the text and mark it. - // Note: this form of String.replace() only replaces the first occurence. - text = text.replace(accessKey, - "<span class='accesskey'>" + accessKey + "</span>"); - } - - buttonElem.innerHTML = text; - } else { - throw new Error("Unexpected button tag name: " + buttonElem.tagName); - } -} - -/** - * Allows a dialog to do custom layout when the window changes sizes. The - * provided function will be called with the height of the content area when the - * dialog should relayout. - */ -function initCustomLayout(layoutFunction) { - function doLayout() { - layoutFunction(getContentHeight()); - } - - doLayout(); - - // We do an additional layout in onload because sometimes things aren't - // stabilized when the first doLayout() is called above. - dom.addEvent(window, "load", doLayout); - dom.addEvent(window, "resize", doLayout); - - // Mozilla doesn't fire continuous events during resize, so if we want to get - // somewhat smooth resizing, we need to run our own timer loop. This still - // doesn't look perfect, because the timer goes off out of sync with the - // browser's internal reflow, but I think it's better than nothing. - // TODO(aa): Keep looking for a way to get an event for each reflow, like IE. - if (browser.mozilla) { - var lastHeight = -1; - - function maybeDoLayout() { - var currentHeight = dom.getWindowInnerHeight(); - if (currentHeight != lastHeight) { - lastHeight = currentHeight; - doLayout(); - } - } - - window.setInterval(maybeDoLayout, 30); - } -} - -/** - * Get the JSON-formatted arguments that were passed by the caller. - */ -function getArguments() { - var argsString; - if (browser.ie_mobile) { - argsString = window.pie_dialog.GetDialogArguments(); - } else if (browser.ie) { - argsString = window.external.GetDialogArguments(); - } else if (browser.mozilla) { - argsString = getFirefoxArguments(window.arguments[0]); - } else if (browser.safari) { - argsString = window.gears_dialogArguments; - } else if (browser.android) { - argsString = "" + window.bridge.getDialogArguments(); - } - - if (typeof argsString == "string") { - return JSON.parse(argsString); - } else { - return null; - } -} - -/** - * Helper used by getArguments(). Getting the arguments in the right type is - * more involved in Firefox. - */ -function getFirefoxArguments(windowArguments) { - var Ci = Components.interfaces; - windowArguments.QueryInterface(Ci.nsIProperties); - var supportsString = - windowArguments.get("dialogArguments", Ci.nsISupportsString); - return supportsString.data; -} - -/** - * Close the dialog, sending the specified result back to the caller. - */ -function saveAndClose(resultObject) { - var resultString = JSON.stringify(resultObject); - if (browser.ie_mobile) { - window.pie_dialog.CloseDialog(resultString); - } else if (browser.ie) { - window.external.CloseDialog(resultString); - } else if (browser.mozilla) { - saveFirefoxResults(resultString); - window.close(); - } else if (browser.safari) { - window.gears_dialog.setResults(resultString); - } else if (browser.android) { - window.bridge.closeDialog(resultString); - } -} - -/** - * Helper used by endDialog() for Firefox. - */ -function saveFirefoxResults(resultString) { - var Cc = Components.classes; - var Ci = Components.interfaces; - - var props = window.arguments[0].QueryInterface(Ci.nsIProperties); - var supportsString = Cc["@mozilla.org/supports-string;1"] - .createInstance(Ci.nsISupportsString); - - supportsString.data = resultString; - props.set("dialogResult", supportsString); -} - -/** - * Returns the height of the content area of the dialog. - */ -function getContentHeight() { - var head = dom.getElementById("head"); - var foot = dom.getElementById("foot"); - return dom.getWindowInnerHeight() - head.offsetHeight - foot.offsetHeight; -} - -/** - * For some reason ESC doesn't work on HTML dialogs in either Firefox or IE. So - * we implement it manually. - */ -function handleKeyUp(e) { - var ESC_KEY_CODE = 27; - - if (e.keyCode == ESC_KEY_CODE) { - saveAndClose(null); - } -} - -/** - * Disables a button in the right way, whether it is normal or custom. - */ -function disableButton(buttonElem) { - buttonElem.disabled = true; - - if (browser.ie_mobile) { - window.pie_dialog.SetButtonEnabled(false); - } - - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.style.color = "gray"; - } else if (buttonElem.tagName.toLowerCase() == "button") { - dom.addClass(buttonElem, "disabled"); - } else { - throw new Error("Unexpected tag name: " + buttonElem.tagName); - } -} - -/** - * Enables a button in the right way, whether it is normal or custom. - */ -function enableButton(buttonElem) { - buttonElem.disabled = false; - - if (browser.ie_mobile) { - window.pie_dialog.SetButtonEnabled(true); - } - - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.style.color = "black"; - } else if (buttonElem.tagName.toLowerCase() == "button") { - dom.removeClass(buttonElem, "disabled"); - } else { - throw new Error("Unexpected tag name: " + buttonElem.tagName); - } -} - -/** - * Returns a wrapped domain (useful for small screens dialogs, - * e.g. windows mobile devices) - */ -function wrapDomain(str) { - if (!browser.ie_mobile) { - return str; - } - - var max = 20; - var url; - var scheme_start = str.indexOf("://"); - var scheme = ""; - - if (scheme_start != -1) { - scheme = str.substring(0, scheme_start); - scheme += "://"; - // there's automatically an hyphenation - // point used by the browser after http:// - // so we only have to hyphenate the - // rest of the string - url = str.substring(scheme.length); - } else { - url = str; - } - - // We hyphenate the string on every dot - var components = url.split("."); - if (components.length < 1) { - return str; - } - - var content = components[0]; - var len = content.length; - for (var i=1; i < components.length; i++) { - var elem = components[i]; - content += "."; - len++; - if (len + elem.length > max) { - content += "<br>"; - len = 0; - } - content += elem; - len += elem.length; - } - return scheme + content; -} - -/** - * Resizes the dialog to fit the content size. - */ -function resizeDialogToFitContent(opt_minDialogInnerHeight) { - // This does not work on PIE (no height measurement) - if (browser.ie_mobile) { - window.pie_dialog.ResizeDialog(); - return; - } - // window.resize() is not working on Android, we bail out. - if (browser.android) { - return; - } - - // Resize the window to fit - var contentDiv = dom.getElementById("content"); - var contentHeightProvided = getContentHeight(); - var contentHeightDesired = contentDiv.offsetHeight; - - var dialogHeightProvided = dom.getWindowInnerHeight(); - var dialogHeightDesired = - dialogHeightProvided + (contentHeightDesired - contentHeightProvided); - - var minDialogHeight = opt_minDialogInnerHeight || 0; - var maxDialogHeight = 400; // arbitrary max height for a dialog to resize to - - var targetHeight = Math.max(dialogHeightDesired, minDialogHeight); - targetHeight = Math.min(dialogHeightDesired, maxDialogHeight); - - if (targetHeight != dialogHeightProvided) { - var dy = targetHeight - dialogHeightProvided; - window.resizeBy(0, dy); - } -} - -/** - * Safari running on OSX 10.4 can't load images dynamically from the network, - * this helper function calls gears-specific code to work around this - * limitation. - */ -function loadImage(elem, image_url) { - if (browser.safari) { - var position = dom.getPosition(elem); - window.gears_dialog.loadImageIntoElement(image_url, position.top, - position.left, - position.width, - position.height); - } else { - elem.src = image_url; - } -} - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// Implements the behavior of our custom buttons. There is no native support in -// IE for rounded corners on HTML elements, so this script also implements a -// hack to simulate them in that browser. -// -// Requires: base.js, dom.js -//============================================================================= - -/** - * Constructor. - */ -function CustomButton(htmlButton) { - bindMethods(this); - - this._focused = false; - this._htmlButton = htmlButton; - - if (!document.all) { // not IE - dom.addEvent(htmlButton, "mouseover", this._handleMouseOver); - dom.addEvent(htmlButton, "mouseout", this._handleMouseOut); - } else { // IE - // mouseover/mouseout behave badly with nested elements in IE. Luckily, - // mouseenter/mouseleave are provided and have the equivalent semantics. - dom.addEvent(htmlButton, "mouseenter", this._handleMouseOver); - dom.addEvent(htmlButton, "mouseleave", this._handleMouseOut); - - // We also handle focus and blur in IE so that we can update the corners - // to match the black border IE provides. - dom.addEvent(htmlButton, "focusin", this._handleFocus); - dom.addEvent(htmlButton, "blur", this._handleBlur); - - dom.addClass(htmlButton, "ie"); - this._createCorners(); - } - - // Limit button widths to a minimum of 60px. They look funny skinnier. - if (htmlButton.offsetWidth < 60) { - htmlButton.style.width = "60px"; - } - - htmlButton.style.visibility = "visible"; -} - -/** - * Initializes all the custom buttons on the page. - */ -CustomButton.initializeAll = function() { - var buttons = document.getElementsByTagName("button"); - for (var i = 0, button; button = buttons[i]; i++) { - if (dom.hasClass(button, "custom")) { - new CustomButton(button); - } - } -}; - -/** - * Highlights the button on mouseover. Note that this gets called multiple - * times while the mouse goes over sub elements inside the button. - */ -CustomButton.prototype._handleMouseOver = function() { - if (!this._htmlButton.disabled && !this._focused) { - dom.addClass(this._htmlButton, "hover"); - this._setCornerColor("blue"); - } -}; - -/** - * Undoes the highlighting of the button on mouseout. Note that this gets called - * multiple times when the mouse moves out of sub elements, even if it is still - * over the button. That is OK, as long as there is immediately a mouseover - * event. - */ -CustomButton.prototype._handleMouseOut = function() { - if (!this._htmlButton.disabled && !this._focused) { - dom.removeClass(this._htmlButton, "hover"); - this._setCornerColor("grey"); - } -}; - -/** - * Highlights the button on focus. Currently only used for IE. - * TODO(aa): The black highlight looks cool. Consider for other browsers. - */ -CustomButton.prototype._handleFocus = function() { - dom.removeClass(this._htmlButton, "hover"); - this._setCornerColor("black"); - this._focused = true; -}; - -/** - * Undoes the highlighting of the button on blur. - */ -CustomButton.prototype._handleBlur = function() { - this._setCornerColor("grey"); - this._focused = false; -}; - -/** - * Helper to create the graphics that make the button have rounded corners in - * IE. - */ -CustomButton.prototype._createCorners = function() { - // Making the button position:relative makes it possible to position things - // inside it relative to it's border. - this._htmlButton.style.position = "relative"; - - var verticalEdges = ["left", "right"]; - var horizontalEdges = ["top", "bottom"]; - var colors = ["grey", "blue", "black"]; - - for (var i = 0; i < verticalEdges.length; i++) { - for (var j = 0; j < horizontalEdges.length; j++) { - for (var k = 0; k < colors.length; k++) { - var img = document.createElement("img"); - img.src = "button_corner_" + colors[k] + ".gif"; - img.color = colors[k]; - img.style.position = "absolute"; - img.style[verticalEdges[i]] = "-2px"; - img.style[horizontalEdges[j]] = "-2px"; - img.style.filter = - "progid:DXImageTransform.Microsoft.BasicImage(Rotation=" + - (i + j) + ")"; - this._htmlButton.appendChild(img); - } - } - } - - this._setCornerColor("grey"); -}; - -/** - * Sets the color of the corners in IE by changing the stack order of the corner - * images. - */ -CustomButton.prototype._setCornerColor = function(newColor) { - var imgs = this._htmlButton.getElementsByTagName("img"); - for (var i = 0, img; img = imgs[i]; i++) { - img.style.zIndex = Number(img.color == newColor); - } -}; - -var localized_strings = { - "el": { - "string-denied": "Δεν επιτρέπονται", - "string-apply-accesskey": "A", - "string-remove": "Κατάργηση", - "string-gears-settings": "Ρυθμίσεις Gears", - "string-apply": "Εφαρμογή", - "string-cancel-accesskey": "C", - "string-cancel": "Άκυρο", - "string-html-title": "Ρυθμίσεις Gears", - "string-allowed": "Επιτρέπονται", - "string-local-storage": "Τοπικός αποθηκευτικός χώρος", - "string-nosites": "Δεν υπάρχουν ιστότοποι.", - "string-permissions-description": "Ο παρακάτω πίνακας δείχνει τα δικαιώματα που χορηγήσατε σε κάθε ιστότοπο που επιχείρησε να χρησιμοποιήσει το Gears.", - "string-location-data": "Τοποθεσία", - "string-version": "Έκδοση Gears 0.4.23.0" - }, - "gu": { - "string-denied": "નકારેલું", - "string-apply-accesskey": "A", - "string-remove": "દૂર કરો", - "string-gears-settings": "Gears સેટિંગ્સ", - "string-apply": "લાગુ કરો", - "string-cancel-accesskey": "C", - "string-cancel": "રદ કરો", - "string-html-title": "Gears સેટિંગ્સ", - "string-allowed": "મંજુર કરેલ", - "string-local-storage": "સ્થાનિક સ્ટોરેજ", - "string-nosites": "કોઇ સાઇટ્સ નથીં.", - "string-permissions-description": "નીચેનુ કોષ્ટક દર્શાવે છે કે તમે જુદી-જુદી સાઇટ્સને કઇ પરવાનગીઓ આપેલી છે કે જેમણે Gearsનો ઉપયોગ કરવાનો પ્રયત્ન કર્યો છે.", - "string-location-data": "સ્થાન", - "string-version": "Gears સંસ્કરણ 0.4.23.0" - }, - "zh-TW": { - "string-denied": "遭拒", - "string-apply-accesskey": "A", - "string-remove": "移除", - "string-gears-settings": "Gears 設定", - "string-apply": "套用", - "string-cancel-accesskey": "C", - "string-cancel": "取消", - "string-html-title": "Gears 設定", - "string-allowed": "允許", - "string-local-storage": "本機儲存", - "string-nosites": "沒有網站。", - "string-permissions-description": "下表顯示您授予嘗試使用 Gears 之各個網站的權限。", - "string-location-data": "位置", - "string-version": "Gears 版本 0.4.23.0" - }, - "vi": { - "string-denied": "Bị từ chối", - "string-apply-accesskey": "P", - "string-remove": "Xoá", - "string-gears-settings": "Cài đặt Gears", - "string-apply": "Áp dụng", - "string-cancel-accesskey": "H", - "string-cancel": "Huỷ", - "string-html-title": "Cài đặt Gears", - "string-allowed": "Được phép", - "string-local-storage": "Bộ nhớ cục bộ", - "string-nosites": "Không có trang web nào.", - "string-permissions-description": "Bảng dưới đây hiển thị các quyền bạn cấp cho mỗi trang đã cố gắng sử dụng Gears.", - "string-location-data": "Vị trí", - "string-version": "Gears phiên bản 0.4.23.0" - }, - "ca": { - "string-denied": "Denegat", - "string-apply-accesskey": "P", - "string-remove": "Elimina", - "string-gears-settings": "Configuració de Gears", - "string-apply": "Aplica", - "string-cancel-accesskey": "C", - "string-cancel": "Cancel·la", - "string-html-title": "Configuració de Gears", - "string-allowed": "Permès", - "string-local-storage": "Emmagatzematge local", - "string-nosites": "Cap lloc.", - "string-permissions-description": "La taula següent mostra els permisos que teniu a cada lloc que ha intentat utilizar Gears.", - "string-location-data": "Ubicació", - "string-version": "Versió de Gears 0.4.23.0" - }, - "it": { - "string-denied": "Non consentito", - "string-apply-accesskey": "A", - "string-remove": "Rimuovi", - "string-gears-settings": "Impostazioni di Google Gears", - "string-apply": "Applica", - "string-cancel-accesskey": "A", - "string-cancel": "Annulla", - "string-html-title": "Impostazioni di Google Gears", - "string-allowed": "Consentito", - "string-local-storage": "Archiviazione locale", - "string-nosites": "Nessun sito.", - "string-permissions-description": "La tabella riportata di seguito mostra le autorizzazioni concesse ai siti che hanno tentato di utilizzare Google Gears.", - "string-location-data": "Posizione", - "string-version": "Versione di Google Gears 0.4.23.0" - }, - "kn": { - "string-denied": "ನಿರಾಕರಿಸಲಾಗಿದೆ", - "string-apply-accesskey": "A", - "string-remove": "ತೆಗೆಯಿರಿ", - "string-gears-settings": "Gears ಸೆಟ್ಟಿಂಗ್ಸ್", - "string-apply": "ಅನ್ವಯಿಸಿ", - "string-cancel-accesskey": "C", - "string-cancel": "ರದ್ದುಮಾಡು", - "string-html-title": "Gears ಸೆಟ್ಟಿಂಗ್ಸ್", - "string-allowed": "ಅನುಮತಿಸಲಾಗಿದೆ", - "string-local-storage": "ಸ್ಥಳೀಯ ಶೇಖರಣೆ", - "string-nosites": "ಸೈಟುಗಳಿಲ್ಲ.", - "string-permissions-description": "ಕೆಳಗಿನ ಟೇಬಲ್ Gears ಬಳಸಲು ಪ್ರಯತ್ನಿಸಿದ ಪ್ರತಿಯೊಂದು ಸೈಟ್ ಗೂ ನೀವು ನೀಡಿದ ಅನುಮತಿಗಳನ್ನು ತೋರಿಸುತ್ತಿದೆ.", - "string-location-data": "ಸ್ಥಳ", - "string-version": "0.4.23.0 Gears ಆವೃತ್ತಿ" - }, - "ar": { - "string-denied": "مرفوض", - "string-apply-accesskey": "س", - "string-remove": "إزالة", - "string-gears-settings": "إعدادات Gears", - "string-apply": "تطبيق", - "string-cancel-accesskey": "غ", - "string-cancel": "إلغاء", - "string-html-title": "إعدادات Gears", - "string-allowed": "مسموح", - "string-local-storage": "تخزين محلي", - "string-nosites": "لا توجد مواقع.", - "string-permissions-description": "يوضح الجدول أدناه الأذونات التي قمت بمنحها لكل موقع حاول استخدام Gears.", - "string-location-data": "الموقع", - "string-version": "Gears الإصدار 0.4.23.0" - }, - "ml": { - "string-denied": "തടഞ്ഞു", - "string-apply-accesskey": "A", - "string-remove": "നീക്കംചെയ്യൂ", - "string-gears-settings": "Gears ക്രമീകരണങ്ങള്", - "string-apply": "അപേക്ഷിക്കുക", - "string-cancel-accesskey": "C", - "string-cancel": "റദ്ദാക്കൂ", - "string-html-title": "Gears ക്രമീകരണങ്ങള്", - "string-allowed": "അനുവദിച്ചു", - "string-local-storage": "പ്രാദേശിക ശേഖരം", - "string-nosites": "സൈറ്റുകളൊന്നുമില്ല.", - "string-permissions-description": "താഴെക്കാണുന്ന പട്ടിക Gears ഉപയോഗിക്കാന് ശ്രമിച്ച ഓരോ സൈറ്റിലേക്കും അനുവദിച്ചവ കാണിക്കുന്നു.", - "string-location-data": "ലൊക്കേഷന്", - "string-version": "Gears പതിപ്പ് 0.4.23.0" - }, - "cs": { - "string-denied": "Zamítnuto", - "string-apply-accesskey": "P", - "string-remove": "Odebrat", - "string-gears-settings": "Nastavení aplikace Gears", - "string-apply": "Použít", - "string-cancel-accesskey": "R", - "string-cancel": "Zrušit", - "string-html-title": "Nastavení aplikace Gears", - "string-allowed": "Povoleno", - "string-local-storage": "Místní úložiště", - "string-nosites": "Žádné weby.", - "string-permissions-description": "Následující tabulka zobrazuje oprávnění udělená každému webu, který se pokusil použít aplikaci Gears.", - "string-location-data": "Lokalita", - "string-version": "Gears verze 0.4.23.0" - }, - "et": { - "string-denied": "Keelatud", - "string-apply-accesskey": "L", - "string-remove": "Eemalda", - "string-gears-settings": "Gearsi seaded", - "string-apply": "Rakenda", - "string-cancel-accesskey": "T", - "string-cancel": "Tühista", - "string-html-title": "Gearsi seaded", - "string-allowed": "Lubatud", - "string-local-storage": "Kohalik salvestamine", - "string-nosites": "Saidid puuduvad.", - "string-permissions-description": "Alljärgnev tabel näitab lubasid, mille olete igale Gearsi kasutada püüdnud saidile andnud.", - "string-location-data": "Asukoht", - "string-version": "Gearsi versioon 0.4.23.0" - }, - "id": { - "string-denied": "Ditolak", - "string-apply-accesskey": "A", - "string-remove": "Hapus", - "string-gears-settings": "Pengaturan Gears", - "string-apply": "Terapkan", - "string-cancel-accesskey": "C", - "string-cancel": "Batalkan", - "string-html-title": "Pengaturan Gears", - "string-allowed": "Diizinkan", - "string-local-storage": "Penyimpanan lokal", - "string-nosites": "Tiada situs.", - "string-permissions-description": "Tabel berikut menunjukkan izin yang telah Anda berikan ke setiap situs yang berusaha menggunakan Gears.", - "string-location-data": "Lokasi", - "string-version": "Versi Gears 0.4.23.0" - }, - "es": { - "string-denied": "Denegado", - "string-apply-accesskey": "P", - "string-remove": "Quitar", - "string-gears-settings": "Configuración Gears", - "string-apply": "Aplicar", - "string-cancel-accesskey": "C", - "string-cancel": "Cancelar", - "string-html-title": "Configuración Gears", - "string-allowed": "Permitido", - "string-local-storage": "Almacenamiento local", - "string-nosites": "No hay sitios.", - "string-permissions-description": "La siguiente tabla muestra las autorizaciones que has concedido a cada sitio en el que has intentado usar Gears.", - "string-location-data": "Ubicación", - "string-version": "Versión Gears 0.4.23.0" - }, - "en-GB": { - "string-denied": "Denied", - "string-apply-accesskey": "A", - "string-remove": "Remove", - "string-gears-settings": "Gears Settings", - "string-apply": "Apply", - "string-cancel-accesskey": "C", - "string-cancel": "Cancel", - "string-html-title": "Gears Settings", - "string-allowed": "Allowed", - "string-local-storage": "Local storage", - "string-nosites": "No sites.", - "string-permissions-description": "The table below shows the permissions you have granted to each site that has attempted to use Gears.", - "string-location-data": "Location", - "string-version": "Gears version 0.4.23.0" - }, - "ru": { - "string-denied": "Отказано", - "string-apply-accesskey": "A", - "string-remove": "Удалить", - "string-gears-settings": "Настройки Gears", - "string-apply": "Применить", - "string-cancel-accesskey": "C", - "string-cancel": "Отмена", - "string-html-title": "Настройки Gears", - "string-allowed": "Разрешено", - "string-local-storage": "Локальное хранилище", - "string-nosites": "Нет сайтов.", - "string-permissions-description": "В таблице ниже перечислены разрешения, предоставленные каждому сайту, который пытался воспользоваться Gears.", - "string-location-data": "Местонахождение", - "string-version": "Gears версии 0.4.23.0" - }, - "nl": { - "string-denied": "Geweigerd", - "string-apply-accesskey": "A", - "string-remove": "Verwijderen", - "string-gears-settings": "Instellingen voor Gears", - "string-apply": "Toepassen", - "string-cancel-accesskey": "C", - "string-cancel": "Annuleren", - "string-html-title": "Instellingen voor Gears", - "string-allowed": "Toegestaan", - "string-local-storage": "Lokale opslag", - "string-nosites": "Geen sites.", - "string-permissions-description": "Voor elke site die heeft geprobeerd Gears te gebruiken, worden in de tabel hieronder de machtigingen weergegeven die u aan deze site hebt verleend.", - "string-location-data": "Locatie", - "string-version": "Gears-versie 0.4.23.0" - }, - "no": { - "string-denied": "Ikke tillatt", - "string-apply-accesskey": "T", - "string-remove": "Fjern", - "string-gears-settings": "Innstillinger for Gears", - "string-apply": "Bruk", - "string-cancel-accesskey": "A", - "string-cancel": "Avbryt", - "string-html-title": "Innstillinger for Gears", - "string-allowed": "Tillatt", - "string-local-storage": "Lokal lagring", - "string-nosites": "Ingen steder.", - "string-permissions-description": "Tabellen nedenfor viser tillatelsene du har gitt til hvert nettsted som har forsøkt å bruke Gears.", - "string-location-data": "Område", - "string-version": "Gears versjon 0.4.23.0" - }, - "tr": { - "string-denied": "Reddedildi", - "string-apply-accesskey": "V", - "string-remove": "Kaldır", - "string-gears-settings": "Gears Ayarları", - "string-apply": "Uygula", - "string-cancel-accesskey": "a", - "string-cancel": "İptal", - "string-html-title": "Gears Ayarları", - "string-allowed": "İzin verildi", - "string-local-storage": "Yerel depolama", - "string-nosites": "Site yok.", - "string-permissions-description": "Aşağıdaki tablo Gears kullanan her site için sağladığınız izinleri gösterir.", - "string-location-data": "Konum", - "string-version": "Gears sürüm 0.4.23.0" - }, - "lv": { - "string-denied": "Neatļauts", - "string-apply-accesskey": "A", - "string-remove": "Noņemt", - "string-gears-settings": "Gears iestatījumi", - "string-apply": "Lietot", - "string-cancel-accesskey": "C", - "string-cancel": "Atcelt", - "string-html-title": "Gears iestatījumi", - "string-allowed": "Atļauts", - "string-local-storage": "Vietējā atmiņa", - "string-nosites": "Nav vietņu.", - "string-permissions-description": "Tālāk minētā tabula rāda atļaujas, kuras esat piešķīris katrai vietnei, kas mēģināja lietot Gears.", - "string-location-data": "Atrašanās vieta", - "string-version": "Gears versija 0.4.23.0" - }, - "lt": { - "string-denied": "Neleidžiama", - "string-apply-accesskey": "A", - "string-remove": "Pašalinti", - "string-gears-settings": "„Gears“ nuostatos", - "string-apply": "Taikyti", - "string-cancel-accesskey": "C", - "string-cancel": "Atšaukti", - "string-html-title": "„Gears“ nuostatos", - "string-allowed": "Leidžiama", - "string-local-storage": "Vietinė saugykla", - "string-nosites": "Nėra svetainių.", - "string-permissions-description": "Žemiau pateikta lentelėje rodomi leidimai, kuriuos suteikėte kiekvienai svetainei, bandžiusiai naudoti „Gears“.", - "string-location-data": "Vietovė", - "string-version": "„Gears“ versija 0.4.23.0" - }, - "th": { - "string-denied": "ปฏิเสธ", - "string-apply-accesskey": "อ", - "string-remove": "ลบ", - "string-gears-settings": "การตั้งค่า Gears", - "string-apply": "ใช้", - "string-cancel-accesskey": "ย", - "string-cancel": "ยกเลิก", - "string-html-title": "การตั้งค่า Gears", - "string-allowed": "อนุญาต", - "string-local-storage": "พื้นที่เก็บข้อมูลในเครื่อง", - "string-nosites": "ไม่มีไซต์", - "string-permissions-description": "ตารางต่อไปนี้แสดงสิทธิ์ที่คุณให้แก่แต่ละไซต์ที่พยายามใช้ Gears", - "string-location-data": "ตำแหน่ง", - "string-version": "Gears เวอร์ชัน 0.4.23.0" - }, - "ro": { - "string-denied": "Refuzat", - "string-apply-accesskey": "P", - "string-remove": "Eliminaţi", - "string-gears-settings": "Setări Gears", - "string-apply": "Aplicaţi", - "string-cancel-accesskey": "A", - "string-cancel": "Anulaţi", - "string-html-title": "Setări Gears", - "string-allowed": "Permis", - "string-local-storage": "Stocare locală", - "string-nosites": "Niciun site.", - "string-permissions-description": "Tabelul de mai jos afişează permisiunile pe care le-aţi acordat fiecărui site care a încercat să utilizeze Gears.", - "string-location-data": "Locaţie", - "string-version": "Versiune Gears 0.4.23.0" - }, - "is": { - "string-denied": "Hafnað", - "string-apply-accesskey": "L", - "string-remove": "Fjarlægja", - "string-gears-settings": "Stillingar Gears", - "string-apply": "Nota", - "string-cancel-accesskey": "H", - "string-cancel": "Hætta við", - "string-html-title": "Stillingar Gears", - "string-allowed": "Leyft", - "string-local-storage": "Staðbundin geymsla", - "string-nosites": "Engin vefsvæði.", - "string-permissions-description": "Taflan hér fyrir neðan sýnir þær heimildir sem þú hefur veitt hverju svæði sem hefur reynt að nota Gears.", - "string-location-data": "Staðsetning", - "string-version": "Gears útgáfa 0.4.23.0" - }, - "fil": { - "string-denied": "Tinganggihan", - "string-apply-accesskey": "P", - "string-remove": "Alisin", - "string-gears-settings": "Mga Setting ng Gear", - "string-apply": "Ilapat", - "string-cancel-accesskey": "I", - "string-cancel": "Ikansela", - "string-html-title": "Mga Setting ng Gear", - "string-allowed": "Pinahintulutan", - "string-local-storage": "Lokal na imbakan", - "string-nosites": "Walang mga site.", - "string-permissions-description": "Ang talahanayan sa ibaba ay nagpapakita ng mga pahintulot na naibigay mo sa bawat site na sinubukang gumamit ng Mga Gear.", - "string-location-data": "Lokasyon", - "string-version": "bersyon ng Mga Gear 0.4.23.0" - }, - "ta": { - "string-denied": "அனுமதி மறுத்தது", - "string-apply-accesskey": "A", - "string-remove": "அகற்று", - "string-gears-settings": "Gears அமைப்புகள்", - "string-apply": "பயன்படுத்து", - "string-cancel-accesskey": "C", - "string-cancel": "ரத்துசெய்", - "string-html-title": "Gears அமைப்புகள்", - "string-allowed": "அனுமதிக்கப்பட்டது", - "string-local-storage": "உள்ளக சேமிப்பிடம்", - "string-nosites": "தளங்கள் இல்லை.", - "string-permissions-description": "கீழே உள்ள அட்டவணை Gears ஐப் பயன்படுத்த ஒவ்வொரு தளங்களுக்கும் நீங்கள் அளித்த அனுமதிகளை காட்டுகிறது.", - "string-location-data": "இருப்பிடம்", - "string-version": "Gears பதிப்பு 0.4.23.0" - }, - "fr": { - "string-denied": "Refusé", - "string-apply-accesskey": "A", - "string-remove": "Supprimer", - "string-gears-settings": "Paramètres de Google Gears", - "string-apply": "Appliquer", - "string-cancel-accesskey": "U", - "string-cancel": "Annuler", - "string-html-title": "Paramètres de Google Gears", - "string-allowed": "Autorisé", - "string-local-storage": "Stockage local", - "string-nosites": "Aucun site.", - "string-permissions-description": "Le tableau ci-dessous montre les autorisations que vous avez accordées à chaque site ayant tenté d'utiliser Google Gears.", - "string-location-data": "Emplacement", - "string-version": "Version 0.4.23.0 de Google Gears" - }, - "bg": { - "string-denied": "Отказан", - "string-apply-accesskey": "A", - "string-remove": "Премахване", - "string-gears-settings": "Настройки на Gears", - "string-apply": "Прилагане", - "string-cancel-accesskey": "С", - "string-cancel": "Отказ", - "string-html-title": "Настройки на Gears", - "string-allowed": "Разрешен", - "string-local-storage": "Локално хранилище", - "string-nosites": "Няма сайтове.", - "string-permissions-description": "В таблицата по-долу са показани дадените от вас разрешения на всеки сайт, който се е опитал да използва Gears.", - "string-location-data": "Местоположение", - "string-version": "Версия 0.4.23.0 на Gears" - }, - "uk": { - "string-denied": "Відхилено", - "string-apply-accesskey": "A", - "string-remove": "Видалити", - "string-gears-settings": "Налаштування Gears", - "string-apply": "Застосувати", - "string-cancel-accesskey": "C", - "string-cancel": "Скасувати", - "string-html-title": "Налаштування Gears", - "string-allowed": "Дозволено", - "string-local-storage": "Збереження на локальному диску", - "string-nosites": "Сайти відсутні.", - "string-permissions-description": "У нижченаведеній таблиці наведено дозволи, надані кожному сайту, який намагається використовувати Gears.", - "string-location-data": "Розташування", - "string-version": "Gears версії 0.4.23.0" - }, - "hr": { - "string-denied": "Odbijeno", - "string-apply-accesskey": "A", - "string-remove": "Ukloni", - "string-gears-settings": "Postavke Gearsa", - "string-apply": "Primijeni", - "string-cancel-accesskey": "C", - "string-cancel": "Odustani", - "string-html-title": "Postavke Gearsa", - "string-allowed": "Dopušteno", - "string-local-storage": "Lokalna pohrana", - "string-nosites": "Nema web-lokacija.", - "string-permissions-description": "U dolje navedenoj tablici navedene su dozvole koje ste dali svakoj web-lokaciji koja je pokušala koristiti Gears.", - "string-location-data": "Lokacija", - "string-version": "Verzija Gearsa 0.4.23.0" - }, - "bn": { - "string-denied": "অস্বীকৃত", - "string-apply-accesskey": "A", - "string-remove": "সরান", - "string-gears-settings": "Gears সেটিংস", - "string-apply": "প্রয়োগ", - "string-cancel-accesskey": "C", - "string-cancel": "বাতিল", - "string-html-title": "Gears সেটিংস", - "string-allowed": "অনুমতিপ্রাপ্ত", - "string-local-storage": "স্থানিয় স্টোরেজ", - "string-nosites": "কোন সাইটগুলি ׀", - "string-permissions-description": "নিচের সারণিটির অনুসারে আপনি প্রত্যেকটি সাইটটিকে অনুমতি দিয়েছেন যা Gears ব্যবহার করতে চেয়েছে ׀", - "string-location-data": "অবস্থান", - "string-version": "Gears সংস্করণ 0.4.23.0" - }, - "en-US": { - "string-denied": "Denied", - "string-apply-accesskey": "A", - "string-remove": "Remove", - "string-gears-settings": "Gears Settings", - "string-apply": "Apply", - "string-cancel-accesskey": "C", - "string-cancel": "Cancel", - "string-html-title": "Gears Settings", - "string-allowed": "Allowed", - "string-local-storage": "Local storage", - "string-nosites": "No sites.", - "string-permissions-description": "The table below shows the permissions you have granted to each site that has attempted to use Gears.", - "string-location-data": "Location", - "string-version": "Gears version 0.4.23.0" - }, - "da": { - "string-denied": "Afvist", - "string-apply-accesskey": "I", - "string-remove": "Fjern", - "string-gears-settings": "Indstillinger til Gears", - "string-apply": "Anvend", - "string-cancel-accesskey": "A", - "string-cancel": "Annuller", - "string-html-title": "Indstillinger til Gears", - "string-allowed": "Tilladt", - "string-local-storage": "Lokalt lager", - "string-nosites": "Ingen websteder.", - "string-permissions-description": "Nedenstående tabel indeholder en oversigt over de tilladelser, du har givet til de websteder, der har forsøgt at få adgang til at bruge Gears.", - "string-location-data": "Placering", - "string-version": "Gears-version PRODUKT_VERSION" - }, - "fa": { - "string-denied": "مردود", - "string-apply-accesskey": "مجاز", - "string-remove": "حذف", - "string-gears-settings": "تنظیمات Gears", - "string-apply": "اعمال", - "string-cancel-accesskey": "C", - "string-cancel": "لغو", - "string-html-title": "تنظیمات Gears", - "string-allowed": "مجاز", - "string-local-storage": "مکان ذخیره", - "string-nosites": "سایتی وجود ندارد.", - "string-permissions-description": "جدول زیر مجوزهای شما برای دستیابی به سایتهایی که از Gears استفاده می کند را نشان می دهد.", - "string-location-data": "موقعیت", - "string-version": "Gears نسخه 0.4.23.0" - }, - "hi": { - "string-denied": "अस्वीकृत", - "string-apply-accesskey": "अनुमति दें", - "string-remove": "निकालें", - "string-gears-settings": "Gears सेटिंग्स", - "string-apply": "लागू करें", - "string-cancel-accesskey": "रद्द करें", - "string-cancel": "रद्द करें", - "string-html-title": "Gears सेटिंग्स", - "string-allowed": "स्वीकार्य", - "string-local-storage": "स्थानीय संग्रहण", - "string-nosites": "कोई साइट नहीं.", - "string-permissions-description": "नीचे दी गई टेबल वे अनुमतियाँ दिखाती है जो आपने उन साइटों को दी है जिन्होंने Gears का उपयोग करने का प्रयास किया है.", - "string-location-data": "स्थिति", - "string-version": "Gears संस्करण 0.4.23.0" - }, - "pt-BR": { - "string-denied": "Negado", - "string-apply-accesskey": "P", - "string-remove": "Remover", - "string-gears-settings": "Configurações do Gears", - "string-apply": "Aplicar", - "string-cancel-accesskey": "C", - "string-cancel": "Cancelar", - "string-html-title": "Configurações do Gears", - "string-allowed": "Permitido", - "string-local-storage": "Armazenamento local", - "string-nosites": "Nenhum site.", - "string-permissions-description": "A tabela abaixo mostra as permissões concedidas por você a cada site que tentou usar o Gears.", - "string-location-data": "Local", - "string-version": "Gears versão 0.4.23.0" - }, - "fi": { - "string-denied": "Estetty", - "string-apply-accesskey": "A", - "string-remove": "Poista", - "string-gears-settings": "Gearsin asetukset", - "string-apply": "Ota käyttöön", - "string-cancel-accesskey": "P", - "string-cancel": "Peruuta", - "string-html-title": "Gearsin asetukset", - "string-allowed": "Sallittu", - "string-local-storage": "Paikallinen tallennus", - "string-nosites": "Ei sivustoja.", - "string-permissions-description": "Oheisesta taulukosta näet luvat, jotka olet myöntänyt jokaiselle sivustolle, joka on yrittänyt käyttää Gearsia.", - "string-location-data": "Sijainti", - "string-version": "Gearsin versio 0.4.23.0" - }, - "hu": { - "string-denied": "Megtagadva", - "string-apply-accesskey": "E", - "string-remove": "Eltávolítás", - "string-gears-settings": "A Szinkron beállításai", - "string-apply": "OK", - "string-cancel-accesskey": "M", - "string-cancel": "Mégse", - "string-html-title": "A Szinkron beállításai", - "string-allowed": "Engedélyezve", - "string-local-storage": "Helyi tárolás", - "string-nosites": "Nincsenek webhelyek.", - "string-permissions-description": "Az alábbi táblázat azt mutatja, hogy a Szinkron használatát megkísérlő webhelyeknek milyen engedélyeket adott.", - "string-location-data": "Hely", - "string-version": "A Szinkron verziószáma: 0.4.23.0" - }, - "ja": { - "string-denied": "拒否", - "string-apply-accesskey": "A", - "string-remove": "削除", - "string-gears-settings": "Gears の設定", - "string-apply": "適用", - "string-cancel-accesskey": "C", - "string-cancel": "キャンセル", - "string-html-title": "Gears の設定", - "string-allowed": "許可", - "string-local-storage": "ローカル保存", - "string-nosites": "サイトがありません。", - "string-permissions-description": "下記の表は、Gears を使用しようとした各サイトに与えた権限を示しています。", - "string-location-data": "場所", - "string-version": "Gears バージョン 0.4.23.0" - }, - "he": { - "string-denied": "נדחה", - "string-apply-accesskey": "א", - "string-remove": "הסר", - "string-gears-settings": "הגדרות Gears", - "string-apply": "החל", - "string-cancel-accesskey": "ביטול", - "string-cancel": "ביטול", - "string-html-title": "הגדרות Gears", - "string-allowed": "מותר", - "string-local-storage": "אחסון מקומי", - "string-nosites": "ללא אתרים.", - "string-permissions-description": "הטבלה שלהלן מראה את ההרשאות שהענקת לכל אתר שניסה להשתמש ב-Gears.", - "string-location-data": "מיקום", - "string-version": "Gears בגרסה 0.4.23.0" - }, - "te": { - "string-denied": "అనుమతి లేని", - "string-apply-accesskey": "A", - "string-remove": "తొలగించు", - "string-gears-settings": "Gears సెట్టింగులు", - "string-apply": "వర్తించు", - "string-cancel-accesskey": "C", - "string-cancel": "రద్దు చెయ్యి", - "string-html-title": "Gears సెట్టింగులు", - "string-allowed": "అనుమతించబడిన", - "string-local-storage": "స్థానిక నిల్వ", - "string-nosites": "సైట్లు లేవు.", - "string-permissions-description": "ఈ క్రింది పట్టిక, మీరు ఏ సైట్లకి Gears ఉపయోగించడానికి అనుమతి ఇచ్చారో, చూపిస్తుంది.", - "string-location-data": "స్థానం", - "string-version": "0.4.23.0 Gears వర్షన్" - }, - "pt-PT": { - "string-denied": "Negado", - "string-apply-accesskey": "P", - "string-remove": "Remover", - "string-gears-settings": "Definições do Gears", - "string-apply": "Aplicar", - "string-cancel-accesskey": "C", - "string-cancel": "Cancelar", - "string-html-title": "Definições do Gears", - "string-allowed": "Permitido", - "string-local-storage": "Armazenamento local", - "string-nosites": "Não existem sites.", - "string-permissions-description": "A tabela abaixo mostra as autorizações que concedeu a cada site que tentou utilizar o Gears.", - "string-location-data": "Localização", - "string-version": "Versão 0.4.23.0 do Gears" - }, - "sr": { - "string-denied": "Забрањен приступ", - "string-apply-accesskey": "M", - "string-remove": "Уклони", - "string-gears-settings": "Gears подешавања", - "string-apply": "Примени", - "string-cancel-accesskey": "О", - "string-cancel": "Откажи", - "string-html-title": "Gears подешавања", - "string-allowed": "Дозвољен приступ", - "string-local-storage": "Локални простор за складиштење", - "string-nosites": "Ниједан сајт.", - "string-permissions-description": "Табела испод приказује дозволе које сте одобрили сваком сајту који је покушао да користи Gears.", - "string-location-data": "Локација", - "string-version": "Gears верзија 0.4.23.0" - }, - "ko": { - "string-denied": "거부됨", - "string-apply-accesskey": "A", - "string-remove": "삭제", - "string-gears-settings": "Gears 설정", - "string-apply": "적용", - "string-cancel-accesskey": "C", - "string-cancel": "취소", - "string-html-title": "Gears 설정", - "string-allowed": "허용", - "string-local-storage": "로컬 저장소", - "string-nosites": "사이트가 없습니다.", - "string-permissions-description": "다음 표는 Gears를 사용하려 시도했던 각 사이트에 대해 승인받은 사용권한을 보여줍니다.", - "string-location-data": "위치", - "string-version": "Gears 버전 0.4.23.0" - }, - "sv": { - "string-denied": "Nekad", - "string-apply-accesskey": "T", - "string-remove": "Ta bort", - "string-gears-settings": "Inställningar i Gears", - "string-apply": "Tillämpa", - "string-cancel-accesskey": "A", - "string-cancel": "Avbryt", - "string-html-title": "Inställningar i Gears", - "string-allowed": "Tillåten", - "string-local-storage": "Lokal lagring", - "string-nosites": "Inga webbplatser", - "string-permissions-description": "Tabellen nedan visar beviljade tillstånd för varje webbplats som har försökt att använda Gears.", - "string-location-data": "Plats", - "string-version": "Gears version 0.4.23.0" - }, - "ur": { - "string-denied": "مسترد", - "string-apply-accesskey": "A", - "string-remove": "حذف کریں", - "string-gears-settings": "گیئرز کی ترتیبات", - "string-apply": "اطلاق کریں", - "string-cancel-accesskey": "C", - "string-cancel": "منسوخ", - "string-html-title": "گیئرز کی ترتیبات", - "string-allowed": "اجازت ہے", - "string-local-storage": "ذخیرہ کرنے کی مقامی جگہ", - "string-nosites": "کوئی سائٹ نہیں۔", - "string-permissions-description": "ذیل کا جدول ان اجازتوں کو دکھاتا ہے جو آپ نے ان سائٹوں کیلئے دی ہیں جنہوں نے گیئرز کے استعمال کی کوشش کی تھی۔", - "string-location-data": "جائے وقوع", - "string-version": "گیئرز ورژن0.4.23.0" - }, - "sk": { - "string-denied": "Odmietnuté", - "string-apply-accesskey": "P", - "string-remove": "Odstrániť", - "string-gears-settings": "Nastavenia rozšírenia Gears", - "string-apply": "Použiť", - "string-cancel-accesskey": "R", - "string-cancel": "Zrušiť", - "string-html-title": "Nastavenia rozšírenia Gears", - "string-allowed": "Povolené", - "string-local-storage": "Lokálny ukladací priestor", - "string-nosites": "Žiadne lokality.", - "string-permissions-description": "V nižšie uvedenej tabuľke sú uvedené povolenia, ktoré máte udelené pre všetky lokality, ktoré sa pokúsili použiť rozšírenie Gears.", - "string-location-data": "Umiestnenie", - "string-version": "Gears, verzia 0.4.23.0" - }, - "zh-CN": { - "string-denied": "已拒绝", - "string-apply-accesskey": "A", - "string-remove": "删除", - "string-gears-settings": "Gears 设置", - "string-apply": "应用", - "string-cancel-accesskey": "C", - "string-cancel": "取消", - "string-html-title": "Gears 设置", - "string-allowed": "允许", - "string-local-storage": "本地存储", - "string-nosites": "没有网站。", - "string-permissions-description": "下表显示了您向试图使用 Gears 的每个网站授予了哪些权限。", - "string-location-data": "位置", - "string-version": "Gears 版本 0.4.23.0" - }, - "de": { - "string-denied": "Verweigert", - "string-apply-accesskey": "Z", - "string-remove": "Entfernen", - "string-gears-settings": "Gears-Einstellungen", - "string-apply": "Anwenden", - "string-cancel-accesskey": "A", - "string-cancel": "Abbrechen", - "string-html-title": "Gears-Einstellungen", - "string-allowed": "Zulässig", - "string-local-storage": "Lokaler Speicherplatz", - "string-nosites": "Keine Sites.", - "string-permissions-description": "Die untenstehende Tabelle zeigt die Berechtigungen an, die Sie jeder Site gewährt haben, die versucht hat, Gears zu verwenden.", - "string-location-data": "Speicherort", - "string-version": "Gears-Version PRODUKT_VERSION" - }, - "pl": { - "string-denied": "Zabroniono", - "string-apply-accesskey": "Z", - "string-remove": "Usuń", - "string-gears-settings": "Ustawienia wtyczki Gears", - "string-apply": "Zastosuj", - "string-cancel-accesskey": "A", - "string-cancel": "Anuluj", - "string-html-title": "Ustawienia wtyczki Gears", - "string-allowed": "Zezwolono", - "string-local-storage": "Przechowywanie danych lokalnie", - "string-nosites": "Brak witryn.", - "string-permissions-description": "Poniższa tabela zawiera uprawnienia, jakie przyznano każdej z witryn próbujących użyć wtyczki Gears.", - "string-location-data": "Lokalizacja", - "string-version": "Gears 0.4.23.0" - }, - "ms": { - "string-denied": "Ditolak", - "string-apply-accesskey": "N", - "string-remove": "Keluarkan", - "string-gears-settings": "Tetapan Gear", - "string-apply": "Gunakan", - "string-cancel-accesskey": "B", - "string-cancel": "Batal", - "string-html-title": "Tetapan Gear", - "string-allowed": "Dibenarkan", - "string-local-storage": "Penyimpanan setempat", - "string-nosites": "Tiada tapak.", - "string-permissions-description": "Jadual di bawah menunjukkan kebenaran yang telah anda berikan kepada setiap tapak yang telah cuba menggunakan Gear.", - "string-location-data": "Lokasi", - "string-version": "Versi Gear 0.4.23.0" - }, - "sl": { - "string-denied": "Zavrnjeno", - "string-apply-accesskey": "A", - "string-remove": "Odstrani", - "string-gears-settings": "Nastavitve programa Gears", - "string-apply": "Uporabi", - "string-cancel-accesskey": "C", - "string-cancel": "Prekliči", - "string-html-title": "Nastavitve programa Gears", - "string-allowed": "Dovoljeno", - "string-local-storage": "Lokalna shramba", - "string-nosites": "Ni spletnih mest.", - "string-permissions-description": "V spodnji tabeli so prikazana dovoljenja, ki ste jih podelili vsem spletnim mestom, ki so poskusila uporabljati program Gears.", - "string-location-data": "Lokacija", - "string-version": "Različica programa Gears 0.4.23.0" - }, - "mr": { - "string-denied": "अननुमत", - "string-apply-accesskey": "A", - "string-remove": "काढा", - "string-gears-settings": "Gears सेटिंग्ज", - "string-apply": "लागू करा", - "string-cancel-accesskey": "C", - "string-cancel": "रद्द करा", - "string-html-title": "Gears सेटिंग्ज", - "string-allowed": "अनुमत", - "string-local-storage": "स्थानिक संचय", - "string-nosites": "साइट नाहीत.", - "string-permissions-description": "निम्न सारणी Gears वापरण्याचा प्रयत्न केलेल्या प्रत्येक साइटकरिता आपल्याकडे किती परवानग्या आहेत हे दर्शविते.", - "string-location-data": "स्थान", - "string-version": "Gears आवृत्ती 0.4.23.0" - }, - "or": { - "string-denied": "ମନାକରନ୍ତୁ", - "string-apply-accesskey": "A", - "string-remove": "ଅପସାରଣ", - "string-gears-settings": "Gears ସେଟିଂସମୂହ", - "string-apply": "ଲାଗୁ କରନ୍ତୁ", - "string-cancel-accesskey": "C", - "string-cancel": "ବାତିଲ୍", - "string-html-title": "Gears ସେଟିଂସମୂହ", - "string-allowed": "ଅନୁମତି ପ୍ରାପ୍ତ କରନ୍ତୁ", - "string-local-storage": "ସ୍ଥାନୀୟ ସଂଞ୍ଚୟ", - "string-nosites": "କୌଣସି ସାଇଟମାନ ନାହିଁ |", - "string-permissions-description": "ନିମ୍ନ ସାରଣୀ ଆପଣ ପ୍ରତ୍ୟେକ ସାଇଟକୁ ପ୍ରଦାନ କରିଥିବା ସ୍ବୀକୃତି ଦର୍ଶାଉଛି,ଯାହା Gears ବ୍ୟବହାର କରିବାକୁ ପଦକ୍ଷେପ ନେଇଛି |", - "string-location-data": "ସ୍ଥାନ", - "string-version": "Gears ସଂସ୍କରଣ 0.4.23.0" - } -}; - -// Insert all localized strings for the specified locale into the div or span -// matching the id. -function loadI18nStrings(locale) { - var rtl_languages = ['he', 'ar', 'fa', 'ur']; - - if (!locale) { - locale = 'en-US'; - } else { - if (!localized_strings[locale]) { - // For xx-YY locales, determine what the base locale is. - var base_locale = locale.split('-')[0]; - - if (localized_strings[base_locale]) { - locale = base_locale; - } else { - locale = 'en-US'; - } - } - } - - var strings = localized_strings[locale]; - - // If the specified locale is an right to left language, change the direction - // of the page. - for (index in rtl_languages) { - if (locale == rtl_languages[index]) { - document.body.dir = "rtl"; - break; - } - } - - // Copy each string to the proper UI element, if it exists. - for (name in strings) { - if (name == 'string-html-title') { - if (!browser.ie_mobile) { - // IE Mobile dialogs don't have a title bar. - // Furthermore, document.title is undefined in IE Mobile on WinMo 5. - // It's also impossible to add properties to the window object. - // (see http://code.google.com/apis/gears/mobile.html) - document.title = strings[name]; - } - } else { - var element = dom.getElementById(name); - if (element) { - element.innerHTML = strings[name]; - } - } - } -} - - -</script> -<script> - var debug = false; - var permissions; - var originalPermissions; - - // Must match values in permission_db.h - var PERMISSION_NOT_SET = 0; - var PERMISSION_ALLOWED = 1; - var PERMISSION_DENIED = 2; - - if (debug && browser.ie_mobile) { - // Handy for debugging layout. - // Remember to remove the pie_dialog object tag above when debugging on - // WinMo 5, otherwise the assignement below will fail with "the object does - // not support this property or method". - pie_dialog = new Object(); - pie_dialog.IsSmartPhone = function() { return false; }; - pie_dialog.SetCancelButton = function() {}; - pie_dialog.SetButton = function() {}; - pie_dialog.SetButtonEnabled = function() {}; - pie_dialog.SetScriptContext = function() {}; - pie_dialog.ResizeDialog = function() {}; - } - - initDialog(); - - initSettings(); - - setButtonLabel("string-cancel", "cancel-button", "string-cancel-accesskey"); - setButtonLabel("string-apply", "confirm-button", "string-apply-accesskey"); - - if (!browser.ie_mobile) { - CustomButton.initializeAll(); - if (!browser.android) { - initCustomLayout(layoutSettings); - } - } else { - var applyText = dom.getElementById("string-apply"); - if (applyText) { - window.pie_dialog.SetButton(applyText.innerText, - "saveAndClose(calculateDiff());"); - } - var cancelText = dom.getElementById("string-cancel"); - if (cancelText) { - window.pie_dialog.SetCancelButton(cancelText.innerText); - } - window.pie_dialog.SetButtonEnabled(true); - } - - // Start out with only cancel enabled, just for clarity. - disableButton(dom.getElementById("confirm-button")); - - function initSettings() { - var args; - - if (debug) { - // Handy for debugging layout: - var args = { - locale: "en-US", - permissions: [ - { - name: "http://www.google.com", - localStorage: { permissionState: 1 }, - locationData: { permissionState: 0 } - }, - { - name: "http://www.aaronboodman.com", - localStorage: { permissionState: 1 }, - locationData: { permissionState: 1 } - }, - { - name: "http://www.evil.org", - localStorage: { permissionState: 2 }, - locationData: { permissionState: 2 } - } - ] - }; - } else { - args = getArguments(); - } - loadI18nStrings(args.locale); - permissions = args.permissions; - originalPermissions = cloneObject(permissions); - - updatePermissionsList(); - } - - function updatePermissionsList() { - var table = dom.getElementById('div-permissions'); - - var content = ""; - var isFirstOrigin = true; - for (var index = 0; index < permissions.length; index++) { - content += renderOrigin(index, permissions[index], isFirstOrigin); - isFirstOrigin = false; - } - if (content == "") { - content = "<table style=\"border-style: solid;\"><tbody>"; - content += "<tr><td class=\"left\"><em>"; - var noSitesText = dom.getElementById("string-nosites"); - if (noSitesText) { - if (isDefined(typeof noSitesText.innerText)) { - content += noSitesText.innerText; - } else { - content += noSitesText.textContent; - } - } - content += "</em></td><td></td></tr></tbody></table>"; - } - table.innerHTML = content; - } - - function renderOrigin(index, originData, isFirstOrigin) { - var localStorageContent = - renderLocalStorage(index, originData.localStorage); - var locationDataContent = - renderLocationData(index, originData.locationData); - - // Defend against an origin having no data for any permission class. - if (localStorageContent == "" && locationDataContent == "") { - return ""; - } - var content = "<table"; - if (isFirstOrigin) { - content += " style=\"border-top-style: solid;\""; - } - content += "><tbody>"; - content += "<tr><td class=\"origin-name\">"; - content += wrapDomain(originData.name); - content += "</td><td><a href='#' onclick='handleRemoveClick("; - content += index; - content += ");'>"; - content += getString("string-remove"); - content += "</a></td>"; - content += "</td></tr></tbody></table>"; - - content += "<table class=\"permissions\"><tbody>"; - if (localStorageContent != "") { - content += "<tr>"; - content += localStorageContent; - content += "</tr>"; - } - if (locationDataContent != "") { - content += "<tr>"; - content += locationDataContent; - content += "</tr>"; - } - content += "</td></tr></tbody></table>"; - return content; - } - - function renderLocalStorage(index, data) { - if (data == null || data.permissionState == PERMISSION_NOT_SET) { - return ""; - } - var content = ""; - content += "<td class=\"left\">"; - content += getString("string-local-storage"); - content += "</td><td class=\"right\">"; - content += renderRadioButtons(index, "localStorage", - data.permissionState); - content += "</td>"; - // Permission class-specific content goes here; - return content; - } - - function renderLocationData(index, data) { - if (data == null || data.permissionState == PERMISSION_NOT_SET) { - return ""; - } - var content = ""; - content += "<td class=\"left\">"; - content += getString("string-location-data"); - content += "</td><td class=\"right\">"; - content += renderRadioButtons(index, "locationData", - data.permissionState); - content += "</td>"; - // Permission class-specific content goes here; - return content; - } - - function getString(stringId) { - var textElement = dom.getElementById(stringId); - if (!isDefined(typeof textElement)) { - return ""; - } - return dom.getTextContent(textElement); - } - - function renderRadioButtons(index, permissionClass, permissionState) { - var radioButtonName = getRadioButtonName(index, permissionClass); - var content = "<div class=\"radio-buttons\">"; - content += "<input type=\"radio\" name=\"" + radioButtonName + "\""; - content += " id=\"" + radioButtonName + "-allow\""; - - if (permissionState == PERMISSION_ALLOWED) { - content += "checked=\"true\""; - } - content += " onclick='handleRadioClick(" + index + ", \"" + - permissionClass + "\", " + PERMISSION_ALLOWED + ");'>"; - content += "</input>"; - content += "<label for=\"" + radioButtonName + "-allow\">"; - content += getString("string-allowed"); - content += "</label>"; - - content += "<input type=\"radio\" name=\"" + radioButtonName + "\""; - content += " id=\"" + radioButtonName + "-deny\""; - - if (permissionState == PERMISSION_DENIED) { - content += "checked=\"true\""; - } - content += " onclick='handleRadioClick(" + index + ", \"" + - permissionClass + "\", " + PERMISSION_DENIED + ");'>"; - content += "</input>"; - content += "<label for=\"" + radioButtonName + "-deny\">"; - content += getString("string-denied"); - content += "</label>"; - content += "</div>"; - return content; - } - - function getRadioButtonName(index, permissionClass) { - return index + "-" + permissionClass + "-radio"; - } - - function handleRadioClick(index, permissionClass, permissionState) { - updatePermission(index, permissionClass, permissionState); - - // Return false to prevent the default link action (scrolling up to top of - // page in this case). - return false; - } - - function handleRemoveClick(index) { - updatePermission(index, "localStorage", PERMISSION_NOT_SET); - updatePermission(index, "locationData", PERMISSION_NOT_SET); - updatePermissionsList(); - - // Return false to prevent the default link action (scrolling up to top of - // page in this case). - return false; - } - - function updatePermission(index, permissionClass, permissionState) { - if (permissions[index][permissionClass]) { - if (permissions[index][permissionClass].permissionState != - permissionState) { - permissions[index][permissionClass].permissionState = - permissionState; - enableButton(dom.getElementById("confirm-button")); - } - } - } - - function layoutSettings(contentHeight) { - var content = dom.getElementById("content"); - - content.style.height = Math.max(contentHeight, 0) + "px"; - - // If a scrollbar is going to be visible, then add some padding between it - // and the inner right edge of the content. We don't want to have this in - // all the time or else there will be double-padding when the scrollbar - // isn't visible. - if (content.scrollHeight > contentHeight) { - content.style.paddingRight = "1em"; - } else { - content.style.paddingRight = ""; - } - } - - function calculateDiff() { - var permissionClasses = ["localStorage", "locationData"]; - var result = { "modifiedOrigins": [] }; - for (var index = 0; index < originalPermissions.length; index++) { - var originalOriginData = originalPermissions[index]; - var originData = permissions[index]; - // Defend against a mis-match between the origins in each list. - if (isDefined(typeof originData) && - originData.name == originalOriginData.name) { - var modifiedOriginData = new Object(); - var modified = false; - for (var i = 0; i < permissionClasses.length; i++) { - var permissionClass = permissionClasses[i]; - // The data may not include entries for all permission classes. - if (isDefined(typeof originalOriginData[permissionClass])) { - var originalState = - originalOriginData[permissionClass]["permissionState"]; - var state = originData[permissionClass]["permissionState"]; - if (originalState != state) { - modified = true; - modifiedOriginData[permissionClass] = new Object(); - modifiedOriginData[permissionClass]["permissionState"] = state; - } - } - } - if (modified) { - modifiedOriginData.name = originData.name; - result.modifiedOrigins.push(modifiedOriginData); - } - } - } - return result; - } - -</script> -</html> diff --git a/assets/plugins/gears-0.4.23.0/shortcuts_dialog.html b/assets/plugins/gears-0.4.23.0/shortcuts_dialog.html deleted file mode 100644 index fc68120..0000000 --- a/assets/plugins/gears-0.4.23.0/shortcuts_dialog.html +++ /dev/null @@ -1,2907 +0,0 @@ -<!DOCTYPE html> - -<!-- -Copyright 2007, The Android Open Source Project - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - 3. Neither the name of Google Inc. nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---> - -<html> -<head> - <style type="text/css"> - - -/* -Copyright 2007, The Android Open Source Project - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - 3. Neither the name of Google Inc. nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -body, html { - background-color:white; - padding:0; - margin:0; - height:100%; - overflow:hidden; - cursor:default; - - /* - Makes the text unselectable in mozilla. See html_diaog.js for IE - implementation. - */ - -moz-user-select:none; -} - -body, td, input, select, button { - font-family:arial,sans-serif; - font-size:13px; -} - -p { - margin:0; - margin-bottom:1em; -} - -a { - color:blue; - text-decoration:underline; -} - -button { - /* - It would be better to express margins in ems, but it causes layout - artifacts (presumably because of rounding errors) when combined with - the -moz-border-radius property used in button.css on Firefox 2. - - Also: bizarely, if I try to use the more natural margin-left:10px, I get - a bug where the buttons bounce on IE when you hover over them. - */ - position:relative; - margin-right:7px; - left:7px; -} - -#head { - padding:1em; -} - -#foot { - - /* - On Android we do not use position:absolute due to some - rendering limitations (absolute positioning works, but - the automatic resizing of dialog is confused by the - variable content and the display is wrong, while if we - remove the absolute positioning, #foot is back in the - flow and the dialog displays correctly) - */ - - background:white; - bottom:0; - width:100%; -} - -#button-row { - margin:1em; -} - -.accesskey { - text-decoration: underline; - - /* IE CSS extension */ - accelerator: true; -} - - #icon { - margin-right:0.5em; - } - - #content { - margin:0 1em; - padding-bottom:1em; - } - - #scroll td { - padding-top:0; - } - - #scroll img { - margin-right:1em; - } - - #highlightbox { - /* for pseudo-rounded corners, also see highlightbox-inner */ - margin:0 1px; - border:solid #e8e8e8; - border-width:1px 0; - background:#f8f8f8; - } - - #highlightbox-inner { - margin:0 -1px; - border:solid #e8e8e8; - border-width:0 1px; - padding:1em; - } - - #shortcut-name { - margin-bottom:2px; - font-weight: bold; - } - - #shortcut-description { - /* We turn this on only when there is a description */ - display:none; - } - - #locations { - margin-top:1.2em; - display:none; - } - - #locations table { - margin-top:-2px; - margin-left:0.45em; - } - - </style> -</head> -<body> - <!-- This div contains strings that are conditionally used in the UI --> - <div id="strings" style="display:none;"> - <!-- window titles --> - <div id="string-title-default"></div> - <div id="string-title-simple"></div> - - <!-- headers --> - <div id="string-header-desktop"></div> - <div id="string-header-wince"></div> - - <!-- buttons --> - <div id="string-ok"></div> - <div id="string-ok-accesskey"></div> - <div id="string-cancel"></div> - <div id="string-cancel-accesskey"></div> - <div id="string-yes"></div> - <div id="string-yes-accesskey"></div> - <div id="string-no"></div> - <div id="string-no-accesskey"></div> - <div id="string-never-allow"></div> - <div id="string-never-allow-wince"></div> - </div> - - <div id="head"> - <table width="100%" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td valign="top"> - - <img id="icon" src="data:image/png;base64, -iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAJPElEQVR4Xq3V -WWyc1d0G8Oecd515Z/csHsfxntiOE8eOMY6dxFkokJCQlACBhEpsvWgLRkAL -IhRxEYrSpp/6XYCgUokKBQEl0ABR0wrShBAI2R1nM3HseB+Px2PPPu/Mu3aE -uKkoUhPzuzhXRzp/PUfPOcQ0TcxGrOcJ9Jz6F4YmTNq2yF4r5436aFyrlyz8 -nyQxH6m7aTdETxO+D8UssSxF/0gGc4NCpc3u2VtctvBNb5HjN71XUw8bxAHd -pPiGkQeg/PADDI5lMZ3QYRUZL2MpqRVIyhpwGwj62OdTObo1l405svEBd9/h -J7ae3Nd1p6rIP+wA5/tzuKExgKDfsZm32KHIU6AUaGnwiD5b5u3R0787OXVu -x0kbF3t7ZuyzPZ/ve2HjfySI65SdPOQf7z/UNM87pPg8zi32wI0/J8oINE1F -NgewLOBxW8GwxnyTUWCqcSycHyT7Du99V9XY1rX37Lh43QPoagrhS689zRnp -X/p9btjcZUB+CL29vThwPD6USOnHrRbGqCixNLc3ueuK3BpMQ0U0oaJvONvd -uvaGoVklkJm+6DbU2Aa3rxxy7CL0VBxj4Qz++s/I4ebF1VvKAyRiaEmkMobt -bO/0Gy0NRZu9bh5XBifVxqXbnm/p2JiZVQtmJs5WhcZHq+XkEAhlYJrAF2cS -qUX1pV13bVgSqa+yo6bMgSInl57XdOdDM0l9kFIKniWcwDP6rFtQUn/f6QTt -uPd0z2AMJoGqGYjMqD1Vc8j5zEw/qJGG3UrBsQwMNpjgqHZW1w3MKbYiFTm1 -StOU2Q3Ai3bcdt9LH4iuusczsgxKCSwiYxLCQMmnwbAUDEMg5/PgRDec3qqc -yXpQ4rejrjj0zME9j+/IyUnrrGrIsDwal3f1GAbReI7FgiqpeTqWWjQxJePK -cAY9lxO4MmrCJc6UOt3BDoAFIQbmV3mF7qN7num/3F2CAnb610+CwITAsjAB -GIYBAkBgKN4ZDiFhAttqq4TpqamNcU0PEULHeUJDnEAUs0P2e0saYeaGsLjO -bjvfl3pDUWnX0IT8JYMcOprLmsTc0T/yzopyNRsFy7CIzOQQy3kO2ezeQRSQ -qVvbEc2r2D00DsUwANNEhdWCUknEuyMT6GpvRTCT3GparW/LeQXTyWT0QjT9 -SXEt9+jSX1Xvd7iql+ZiF8CyDBQNmJzO64ZJj9ntLt3lCTaLNp89E+3BmXMD -hcPVzNh4zLQGOh976oW9f0YBSy0WvD86CcNThLtrKkloZIhSm0PvHp/A1rpq -lCiy17TbdwY710C72IOiaNR7MqFsuJjVXyoOp6Qq/TIEjiKb08FxHMqDFkY3 -yTLK2UGQQiJ0Bf/4fFQfjJa8sG7zI++1+eYYHo9nCN8iXdWlyIHgyboqsJry -cljROmKqtreIY/9uJVgkSLaHi5evXKGHQ1Cv9oNQin2FZC5l0i0ttzrifAU5 -FovpvpEJ+YjLzup1VVL7onk2QRQYUGLi4pUYDp7zPvvcrv07BUH47mcUZXg8 -2rYEpqY8JFTUPFKzoKG5UhJ3uIo8J731Da/PWd65AqExGCODoIQAuoYGlw1B -VthOjpEJPYpVGVNbdvOaus6GGtvqyLSyqvdqdoQS8s21TEZzkGyuE98e/h20 -JeAFL8ttiondjrllQDyGIlGA3+GgFkPH1Imv0NdzFgPxJCJZGQalqHLYsCLg -vosH+ay4j+9sH3PO0z6e+onLZBzzq8RjMLXtn345irc+upr97Pj48bLy8iF8 -D/Liwhp0+jyBSUU52Oh2LbCYOhiOg6pqOBdL4Eg0poRy6gkLy0SKRaGy2W1v -bnTZITEMcgB0wsM0ga8GRkFX+G9pvW/xp4qsMOevpFc6JYTL6n98ua55vc5y -Iv4bsmvxfDS6nYjnlc2VkuWdCqedVxUVR6fj2DM8fpwThF8sdDnPcLoKllJr -QtXur7NL/9fmcVpFlgWVJBT24FTv1zjjLt39xAcf/5S3cPhfUZFSHJ6YQoVV -PMKKYpSxSgjJORyYmBoRrNI9j61ZeWZzZSmaXHYEBD7b5nG8GlO0rlAub6LA -SKehxGOAaMHZLw5u7jt11IdrQP82FkFtSTEsBEGbw+knDidGUhlEFfW9wgM0 -XCynYWMoGl0OgFKEZQUNDuktWTcuEYsFBRhMpvHOhcvZ2k13Ple1uDmNa0C3 -LF6A1ZXl0FRlk3tuOavJWaQ0DQ6OO52MxzE2GQGTzYJwPFoDPlxKpgGYikTJ -JPUUIUcp9g+OZEtuWXf/s7tff8XqcMi4Bux6K+tNDg8+6F+waAcnSchenIRL -FGDjGL+mqIjBBCQRNosFJ0NhhFUNIsdxAqU+wenGcH8/ZkTp/PYXd77P8zyu -FQ0lM09xbvcuR209lKEBUBOolKwICMKDedOkeZb75qV89UIf3uwbwl1zi2GD -2e4sK68DAQopoaS6Jlzk8+N60LCifjAZS0wo3SdBkgmYlMAncmj3OpvSmvYa -SyCUFwdg6jp+VlOGeRxtopL0srN+AZcfHYbf5USq50xw7PLXDK4DObS6FZNy -fr+TZdZRSuEROBT6DoYQjGRljGVz3VaG+cjDMqMCpcvsc+Zs8Ta12JT+y1CH -BwGGweHxMOTWZY9s2/WHV0S7A9eCnLh5KXoTmTVnYsmtGU2HT+SDLW77+haP -CzaHA9l0BjlNhVDkg628HILNDvlqP5SxYXAcjwIcn0ng9RPdZ188cLitbvkK -BdeAPTA5g1a34yDgOFiIHIQQDKayXQ6W/e1ClrWypgE7z4ElJrIDV3ApPImR -VBYCz6FC0iHrBj4eGE413n3v02WNixVcI7bRaYMBoMJmRR4motk8av2+l6Zj -sdWKad5htYjQczkkpiI4MDmNL6LxbsUw/1Ik8nmJYe6ITk8vkWoX7ChU8FPu -OlrA/P+SevhFHj6bhKDVgq/jCUQNwENJkUmwXgCg6QaOzSTx4Wj4PZ/TuX5b -bfWXQYJTvK69Wbduw/sP7Pz9AZc/YOA6sGo2AxMA1Q0IFCghJj4cGERpqf/I -J+HIJRNmOSVUOh9LxtxWy/YHW5cotkgImqZC1/K4/dHHrtrm1+J6UXHZKlg7 -b4Jl+SqwHStRe/NatN++EcFVPzrfcOvaVk/nmhaho7Dctn7TA1u3Xg3Mmwd/ -RyduXL8BbbdvAmuxYjb+DcasAaYvg7ldAAAAAElFTkSuQmCC - "> - - <!-- Some browsers automatically focus the first focusable item. We - don't want anything focused, so we add this fake item. --> - <a href="#" id="focus-thief"></a> - </td> - <td id="header" width="100%" valign="middle"></td> - </tr> - </table> - </div> - - <div id="content"> - <div id="highlightbox"> - <div id="highlightbox-inner"> - <div id="scroll"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td valign="top"><img id="shortcut-icon" width="32" height="32" src="blank.gif"></td> - <td align="left" width="100%" valign="middle"> - <div id="shortcut-name"></div - ><div id="shortcut-description"></div> - </td> - </tr> - </table> - </div> - </div> - </div> - - <div id="locations"> - <p><span id="string-location-query"></span></p> - <div id="locations-windows"> - <table cellpadding="0" cellspacing="2" border="0"> - <tr> - <!-- NOTE: Confusingly, onclick also gets fired when the checkbox changes via keyboard press. --> - <!-- NOTE: The values in the checkboxes correspond to the SHORTCUT_LOCATION_* bitmasks defined in desktop.cc. --> - <td valign="middle"><input type="checkbox" id="location-desktop" value="1" onclick="resetConfirmDisabledState()"></td> - <td valign="middle"><label for="location-desktop"><span id="string-desktop"></span></label></td> - </tr> - <tr> - <td valign="middle"><input type="checkbox" id="location-startmenu" value="4" onclick="resetConfirmDisabledState()"></td> - <td valign="middle"><label for="location-startmenu"><span id="string-startmenu"></span></label></td> - </tr> - <tr> - <td valign="middle"><input type="checkbox" id="location-quicklaunch" value="2" onclick="resetConfirmDisabledState()"></td> - <td valign="middle"><label for="location-quicklaunch"><span id="string-quicklaunch"></span></label></td> - </tr> - </table> - </div> - <!-- TODO(aa): Support more locations on other platforms, such as dock - and applications on OSX? --> - </div> - </div> - - <div id="foot"> - - - <div id="button-row"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - - <td width="100%" valign="middle"> - <a href="#" onclick="denyShortcutPermanently(); return false;" id="deny-permanently-link"></a> - </td> - <td nowrap="true" align="right" valign="middle"> - <button id="allow-button" class="custom" - onclick="allowShortcutsTemporarily(); return false;"></button - ><button id="deny-button" class="custom" - onclick="denyShortcutsTemporarily(); return false;"></button> - </td> - - </tr> - </table> - </div> - </div> - -</body> -<!-- -We include all files through m4 as the HTML dialog implementation on -PocketIE does not support callbacks for loading external JavaScript files. -TODO: find a better way to include scripts for PIE ---> -<script> -/* -Copyright (c) 2005 JSON.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The Software shall be used for Good, not Evil. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -*/ - -//Array.prototype.______array = '______array'; - -var JSON = { - org: 'http://www.JSON.org', - copyright: '(c)2005 JSON.org', - license: 'http://www.crockford.com/JSON/license.html', - - stringify: function (arg) { - var c, i, l, s = '', v; - - switch (typeof arg) { - case 'object': - if (arg) { - if (arg.constructor == Array.prototype.constructor) { - for (i = 0; i < arg.length; ++i) { - v = this.stringify(arg[i]); - if (s) { - s += ','; - } - s += v; - } - return '[' + s + ']'; - } else if (typeof arg.toString != 'undefined') { - for (i in arg) { - v = arg[i]; - if (typeof v != 'undefined' && typeof v != 'function') { - v = this.stringify(v); - if (s) { - s += ','; - } - s += this.stringify(i) + ':' + v; - } - } - return '{' + s + '}'; - } - } - return 'null'; - case 'number': - return isFinite(arg) ? String(arg) : 'null'; - case 'string': - l = arg.length; - s = '"'; - for (i = 0; i < l; i += 1) { - c = arg.charAt(i); - if (c >= ' ') { - if (c == '\\' || c == '"') { - s += '\\'; - } - s += c; - } else { - switch (c) { - case '\b': - s += '\\b'; - break; - case '\f': - s += '\\f'; - break; - case '\n': - s += '\\n'; - break; - case '\r': - s += '\\r'; - break; - case '\t': - s += '\\t'; - break; - default: - c = c.charCodeAt(); - s += '\\u00' + Math.floor(c / 16).toString(16) + - (c % 16).toString(16); - } - } - } - return s + '"'; - case 'boolean': - return String(arg); - default: - return 'null'; - } - }, - parse: function (text) { - var at = 0; - var ch = ' '; - - function error(m) { - throw { - name: 'JSONError', - message: m, - at: at - 1, - text: text - }; - } - - function next() { - ch = text.charAt(at); - at += 1; - return ch; - } - - function white() { - while (ch) { - if (ch <= ' ') { - next(); - } else if (ch == '/') { - switch (next()) { - case '/': - while (next() && ch != '\n' && ch != '\r') {} - break; - case '*': - next(); - for (;;) { - if (ch) { - if (ch == '*') { - if (next() == '/') { - next(); - break; - } - } else { - next(); - } - } else { - error("Unterminated comment"); - } - } - break; - default: - error("Syntax error"); - } - } else { - break; - } - } - } - - function string() { - var i, s = '', t, u; - - if (ch == '"') { -outer: while (next()) { - if (ch == '"') { - next(); - return s; - } else if (ch == '\\') { - switch (next()) { - case 'b': - s += '\b'; - break; - case 'f': - s += '\f'; - break; - case 'n': - s += '\n'; - break; - case 'r': - s += '\r'; - break; - case 't': - s += '\t'; - break; - case 'u': - u = 0; - for (i = 0; i < 4; i += 1) { - t = parseInt(next(), 16); - if (!isFinite(t)) { - break outer; - } - u = u * 16 + t; - } - s += String.fromCharCode(u); - break; - default: - s += ch; - } - } else { - s += ch; - } - } - } - error("Bad string"); - } - - function array() { - var a = []; - - if (ch == '[') { - next(); - white(); - if (ch == ']') { - next(); - return a; - } - while (ch) { - a.push(value()); - white(); - if (ch == ']') { - next(); - return a; - } else if (ch != ',') { - break; - } - next(); - white(); - } - } - error("Bad array"); - } - - function object() { - var k, o = {}; - - if (ch == '{') { - next(); - white(); - if (ch == '}') { - next(); - return o; - } - while (ch) { - k = string(); - white(); - if (ch != ':') { - break; - } - next(); - o[k] = value(); - white(); - if (ch == '}') { - next(); - return o; - } else if (ch != ',') { - break; - } - next(); - white(); - } - } - error("Bad object"); - } - - function number() { - var n = '', v; - if (ch == '-') { - n = '-'; - next(); - } - while (ch >= '0' && ch <= '9') { - n += ch; - next(); - } - if (ch == '.') { - n += '.'; - while (next() && ch >= '0' && ch <= '9') { - n += ch; - } - } - if (ch == 'e' || ch == 'E') { - n += 'e'; - next(); - if (ch == '-' || ch == '+') { - n += ch; - next(); - } - while (ch >= '0' && ch <= '9') { - n += ch; - next(); - } - } - v = +n; - if (!isFinite(v)) { - ////error("Bad number"); - } else { - return v; - } - } - - function word() { - switch (ch) { - case 't': - if (next() == 'r' && next() == 'u' && next() == 'e') { - next(); - return true; - } - break; - case 'f': - if (next() == 'a' && next() == 'l' && next() == 's' && - next() == 'e') { - next(); - return false; - } - break; - case 'n': - if (next() == 'u' && next() == 'l' && next() == 'l') { - next(); - return null; - } - break; - } - error("Syntax error"); - } - - function value() { - white(); - switch (ch) { - case '{': - return object(); - case '[': - return array(); - case '"': - return string(); - case '-': - return number(); - default: - return ch >= '0' && ch <= '9' ? number() : word(); - } - } - - return value(); - } -}; - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// Various basic JavaScript utilities. -//============================================================================= - -/** - * Check that the type is not undefined (we do it here as on - * some devices typeof returns unknown instead of undefined...). - * We have to pass the evaluation of (typeof elem) (i.e., a string) - * to the function rather than simply (element) -- passing an - * undefined object would make the function crash on PIE. - */ -function isDefined(type) { - return type != 'undefined' && type != 'unknown'; -} - -/** - * Returns true if val is a function. - */ -function isFunction(val) { - return typeof val == "function"; -} - -// TODO(aa): more basic type checking here. - - -/** - * Creates a 'bound' function that calls the current function with a preset - * 'this' object and set of arguments. - */ -Function.prototype.bind = function(obj) { - var preArgs = Array.prototype.slice.call(arguments, 1); - var self = this; - return function() { - var postArgs = Array.prototype.slice.call(arguments, 0); - var totalArgs = preArgs.concat(postArgs); - return self.apply(obj, totalArgs); - } -}; - -/** - * Creates a partially applied function that calls the current function with - * a preset set of arguments. - */ -Function.prototype.partial = function() { - var args = Array.prototype.slice.call(arguments, 0); - return this.bind(null, args); -}; - -/** - * Binds all the methods in obj to obj. - */ -function bindMethods(obj) { - for (var p in obj) { - if (isFunction(obj[p])) { - obj[p] = obj[p].bind(obj); - } - } -} - - -/** - * Trim leading and trailing whitespace from a string. - */ -String.prototype.trim = function(str) { - return this.replace(/^\s+/, "").replace(/\s+$/, ""); -}; - - -/** - * Find the index of a given element in an array. Returns -1 if the item does - * not exist. - */ -Array.prototype.indexOf = function(item) { - for (var i = 0; i < this.length; i++) { - if (this[i] === item) { - return i; - } - } - return -1; -}; - -/** - * Makes a deep copy of an object. - */ -function cloneObject(original) { - var newObject = new Object(); - for (i in original) { - if (typeof original[i] == 'object') { - newObject[i] = cloneObject(original[i]); - } - else { - newObject[i] = original[i]; - } - } - newObject.length = original.length; - return newObject; -} - -var browser = {}; - -(function() { - var ua = navigator.userAgent; - browser.opera = typeof opera != "undefined"; - browser.ie = !browser.opera && ua.indexOf("MSIE") > -1; - browser.ie_mobile = (ua.indexOf("Windows CE") > -1) && - (ua.indexOf("MSIE") > -1); - browser.webkit = ua.indexOf("WebKit") > -1; - // WebKit also gives product == "gecko". - browser.mozilla = !browser.webkit && navigator.product == "Gecko"; - browser.safari = ua.indexOf("Safari") > -1; - browser.mac = navigator.platform.indexOf("Mac") > -1; - browser.linux = navigator.platform.indexOf("Linux") > -1; - browser.windows = navigator.platform.indexOf("Win") > -1; - browser.android = ua.indexOf("Android") > -1; - if (browser.android) { - browser.safari = false; - } - // TODO(aa): Add detection for more browsers, as necessary. -})(); - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// DOM manipulation utilities. -// Requires: base.js -//============================================================================= - -var dom = {}; - -/** - * Provides a cross-browser way of getting an element by its id - */ -dom.getElementById = function(id) { - if (isDefined(typeof document.getElementById)) { - return document.getElementById(id); - } else if (isDefined(typeof document.all)) { - return document.all[id]; - } - throw new Error("Failed to get element by ID."); -}; - -/** - * Gets the position and dimensions of an element in pixels in relation - * to the window origin. - */ -dom.getPosition = function(elem) { - var ret = { 'left' : 0, - 'top' : 0, - 'width' : elem.width, - 'height' : elem.height }; - - if (!elem.offsetParent) return ret; - - var left = 0; - var top = 0; - while (elem) { - left += elem.offsetLeft; - top += elem.offsetTop; - elem = elem.offsetParent - } - ret.left = left; - ret.top = top; - return ret; -}; - -/** - * Returns the height of the inside of the window. - */ -dom.getWindowInnerHeight = function() { - if (isDefined(typeof window.innerHeight)) { // Firefox - return window.innerHeight; - } else if (isDefined(typeof document.body.offsetHeight)) { // IE - return document.body.offsetHeight; - } - - throw new Error("Could not get windowInnerHeight."); -}; - -/** - * Add an event listener to an element cross-browser. - */ -dom.addEvent = function(element, eventName, handler) { - var wrapper = dom._callEventHandler.bind(dom, handler); - - if (isDefined(typeof element.addEventListener)) { - // Standards-compatible browsers - element.addEventListener(eventName, wrapper, false); - } else if (isDefined(typeof element.attachEvent)) { - // IE - element.attachEvent("on" + eventName, wrapper); - } else { - throw new Error('Failed to attach event.'); - } -}; - -/** - * Private helper for calling event handlers compatibly across browsers. - */ -dom._callEventHandler = function(handler, e) { - // Older versions of IE don't pass event to the handler. - if (!e) e = window.event; - - // TODO(aa): Normalize event object properties. - - return handler(e); -}; - -/** - * Gets the CSS classes for an element. - */ -dom.getClasses = function(elm) { - return elm.className.split(/\s+/); -}; - -/** - * Check is an element has a particular CSS class name. - */ -dom.hasClass = function(elm, className) { - return this.getClasses(elm).indexOf(className) > -1; -}; - -/** - * Adds a CSS class to an element. Do nothing if the class already exists. - */ -dom.addClass = function(elm, className) { - var classes = this.getClasses(elm); - if (classes.indexOf(className) > -1) { - return; - } - classes.push(className); - elm.className = classes.join(" "); -}; - -/** - * Removes a CSS class from an element. Do nothing if the class doesn't exist. - */ -dom.removeClass = function(elm, className) { - var classes = this.getClasses(elm); - var index = classes.indexOf(className); - if (index == -1) { - return; - } - classes.splice(index, 1); - elm.className = classes.join(" "); -}; - -/** - * Gets the text (non-html) content of an element. - */ -dom.getTextContent = function(elm) { - if (isDefined(typeof elm.textContent)) { - return elm.textContent; - } else if (isDefined(typeof elm.innerText)) { - return elm.innerText; - } else { - throw new Error("Could not find a property to get text content."); - } -}; - -/** - * Sets the text (non-html) contents of an element. - */ -dom.setTextContent = function(elm, text) { - if (isDefined(typeof elm.textContent)) { - elm.textContent = text; - } else if (isDefined(typeof elm.innerText)) { - elm.innerText = text; - } else { - throw new Error("Could not find a property to set text content."); - } -}; - -// Copyright 2007, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -/** - * Initialize the base functionality of the dialog. - */ -function initDialog() { - if (!browser.ie_mobile) { - dom.addEvent(document, "keyup", handleKeyUp); - } else { - var buttonRowElem = null; - if (window.pie_dialog.IsSmartPhone()) { - buttonRowElem = dom.getElementById("button-row-smartphone"); - } else { - buttonRowElem = dom.getElementById("button-row"); - } - if (buttonRowElem) { - buttonRowElem.style.display = 'block'; - } - } - if (browser.ie_mobile) { - window.pie_dialog.SetScriptContext(window); - window.pie_dialog.ResizeDialog(); - } -} - -/** - * Set the label of an input button, and optionally, its accesskey. - */ -function setButtonLabel(textID, elemID, accessKeyID) { - var textElem = dom.getElementById(textID); - var buttonElem = dom.getElementById(elemID); - if (textElem == null || buttonElem == null) { - return; - } - - var accessKeyElem = null; - if (isDefined(typeof accessKeyID)) { - accessKeyElem = dom.getElementById(accessKeyID); - } - - // This function works for two different kinds of buttons. Simple buttons - // based on the <input type="button"> tag, and custom buttons based on a - // <button> tag with the css class "custom". - // Note that on Windows Mobile 5, the tagName property is not defined. - // We can therefore safely assume that the converse is also true: - // if tagName is not defined, then the platform must be Windows Mobile 5. - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.value = dom.getTextContent(textElem).trim(); - if (accessKeyElem != null) { - buttonElem.accessKey = dom.getTextContent(accessKeyElem).trim(); - } - } else if (buttonElem.tagName.toLowerCase() == "button") { - var text = dom.getTextContent(textElem).trim(); - - if (accessKeyElem != null) { - // Some browsers use the accessKey attribute of the the anchor tag. - var accessKey = dom.getTextContent(accessKeyElem).trim(); - buttonElem.accessKey = accessKey; - - // Find the first matching character in the text and mark it. - // Note: this form of String.replace() only replaces the first occurence. - text = text.replace(accessKey, - "<span class='accesskey'>" + accessKey + "</span>"); - } - - buttonElem.innerHTML = text; - } else { - throw new Error("Unexpected button tag name: " + buttonElem.tagName); - } -} - -/** - * Allows a dialog to do custom layout when the window changes sizes. The - * provided function will be called with the height of the content area when the - * dialog should relayout. - */ -function initCustomLayout(layoutFunction) { - function doLayout() { - layoutFunction(getContentHeight()); - } - - doLayout(); - - // We do an additional layout in onload because sometimes things aren't - // stabilized when the first doLayout() is called above. - dom.addEvent(window, "load", doLayout); - dom.addEvent(window, "resize", doLayout); - - // Mozilla doesn't fire continuous events during resize, so if we want to get - // somewhat smooth resizing, we need to run our own timer loop. This still - // doesn't look perfect, because the timer goes off out of sync with the - // browser's internal reflow, but I think it's better than nothing. - // TODO(aa): Keep looking for a way to get an event for each reflow, like IE. - if (browser.mozilla) { - var lastHeight = -1; - - function maybeDoLayout() { - var currentHeight = dom.getWindowInnerHeight(); - if (currentHeight != lastHeight) { - lastHeight = currentHeight; - doLayout(); - } - } - - window.setInterval(maybeDoLayout, 30); - } -} - -/** - * Get the JSON-formatted arguments that were passed by the caller. - */ -function getArguments() { - var argsString; - if (browser.ie_mobile) { - argsString = window.pie_dialog.GetDialogArguments(); - } else if (browser.ie) { - argsString = window.external.GetDialogArguments(); - } else if (browser.mozilla) { - argsString = getFirefoxArguments(window.arguments[0]); - } else if (browser.safari) { - argsString = window.gears_dialogArguments; - } else if (browser.android) { - argsString = "" + window.bridge.getDialogArguments(); - } - - if (typeof argsString == "string") { - return JSON.parse(argsString); - } else { - return null; - } -} - -/** - * Helper used by getArguments(). Getting the arguments in the right type is - * more involved in Firefox. - */ -function getFirefoxArguments(windowArguments) { - var Ci = Components.interfaces; - windowArguments.QueryInterface(Ci.nsIProperties); - var supportsString = - windowArguments.get("dialogArguments", Ci.nsISupportsString); - return supportsString.data; -} - -/** - * Close the dialog, sending the specified result back to the caller. - */ -function saveAndClose(resultObject) { - var resultString = JSON.stringify(resultObject); - if (browser.ie_mobile) { - window.pie_dialog.CloseDialog(resultString); - } else if (browser.ie) { - window.external.CloseDialog(resultString); - } else if (browser.mozilla) { - saveFirefoxResults(resultString); - window.close(); - } else if (browser.safari) { - window.gears_dialog.setResults(resultString); - } else if (browser.android) { - window.bridge.closeDialog(resultString); - } -} - -/** - * Helper used by endDialog() for Firefox. - */ -function saveFirefoxResults(resultString) { - var Cc = Components.classes; - var Ci = Components.interfaces; - - var props = window.arguments[0].QueryInterface(Ci.nsIProperties); - var supportsString = Cc["@mozilla.org/supports-string;1"] - .createInstance(Ci.nsISupportsString); - - supportsString.data = resultString; - props.set("dialogResult", supportsString); -} - -/** - * Returns the height of the content area of the dialog. - */ -function getContentHeight() { - var head = dom.getElementById("head"); - var foot = dom.getElementById("foot"); - return dom.getWindowInnerHeight() - head.offsetHeight - foot.offsetHeight; -} - -/** - * For some reason ESC doesn't work on HTML dialogs in either Firefox or IE. So - * we implement it manually. - */ -function handleKeyUp(e) { - var ESC_KEY_CODE = 27; - - if (e.keyCode == ESC_KEY_CODE) { - saveAndClose(null); - } -} - -/** - * Disables a button in the right way, whether it is normal or custom. - */ -function disableButton(buttonElem) { - buttonElem.disabled = true; - - if (browser.ie_mobile) { - window.pie_dialog.SetButtonEnabled(false); - } - - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.style.color = "gray"; - } else if (buttonElem.tagName.toLowerCase() == "button") { - dom.addClass(buttonElem, "disabled"); - } else { - throw new Error("Unexpected tag name: " + buttonElem.tagName); - } -} - -/** - * Enables a button in the right way, whether it is normal or custom. - */ -function enableButton(buttonElem) { - buttonElem.disabled = false; - - if (browser.ie_mobile) { - window.pie_dialog.SetButtonEnabled(true); - } - - if (!isDefined(typeof buttonElem.tagName) || - buttonElem.tagName.toLowerCase() == "input") { - buttonElem.style.color = "black"; - } else if (buttonElem.tagName.toLowerCase() == "button") { - dom.removeClass(buttonElem, "disabled"); - } else { - throw new Error("Unexpected tag name: " + buttonElem.tagName); - } -} - -/** - * Returns a wrapped domain (useful for small screens dialogs, - * e.g. windows mobile devices) - */ -function wrapDomain(str) { - if (!browser.ie_mobile) { - return str; - } - - var max = 20; - var url; - var scheme_start = str.indexOf("://"); - var scheme = ""; - - if (scheme_start != -1) { - scheme = str.substring(0, scheme_start); - scheme += "://"; - // there's automatically an hyphenation - // point used by the browser after http:// - // so we only have to hyphenate the - // rest of the string - url = str.substring(scheme.length); - } else { - url = str; - } - - // We hyphenate the string on every dot - var components = url.split("."); - if (components.length < 1) { - return str; - } - - var content = components[0]; - var len = content.length; - for (var i=1; i < components.length; i++) { - var elem = components[i]; - content += "."; - len++; - if (len + elem.length > max) { - content += "<br>"; - len = 0; - } - content += elem; - len += elem.length; - } - return scheme + content; -} - -/** - * Resizes the dialog to fit the content size. - */ -function resizeDialogToFitContent(opt_minDialogInnerHeight) { - // This does not work on PIE (no height measurement) - if (browser.ie_mobile) { - window.pie_dialog.ResizeDialog(); - return; - } - // window.resize() is not working on Android, we bail out. - if (browser.android) { - return; - } - - // Resize the window to fit - var contentDiv = dom.getElementById("content"); - var contentHeightProvided = getContentHeight(); - var contentHeightDesired = contentDiv.offsetHeight; - - var dialogHeightProvided = dom.getWindowInnerHeight(); - var dialogHeightDesired = - dialogHeightProvided + (contentHeightDesired - contentHeightProvided); - - var minDialogHeight = opt_minDialogInnerHeight || 0; - var maxDialogHeight = 400; // arbitrary max height for a dialog to resize to - - var targetHeight = Math.max(dialogHeightDesired, minDialogHeight); - targetHeight = Math.min(dialogHeightDesired, maxDialogHeight); - - if (targetHeight != dialogHeightProvided) { - var dy = targetHeight - dialogHeightProvided; - window.resizeBy(0, dy); - } -} - -/** - * Safari running on OSX 10.4 can't load images dynamically from the network, - * this helper function calls gears-specific code to work around this - * limitation. - */ -function loadImage(elem, image_url) { - if (browser.safari) { - var position = dom.getPosition(elem); - window.gears_dialog.loadImageIntoElement(image_url, position.top, - position.left, - position.width, - position.height); - } else { - elem.src = image_url; - } -} - -// Copyright 2008, The Android Open Source Project -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// 3. Neither the name of Google Inc. nor the names of its contributors may be -// used to endorse or promote products derived from this software without -// specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -//============================================================================= -// Implements the behavior of our custom buttons. There is no native support in -// IE for rounded corners on HTML elements, so this script also implements a -// hack to simulate them in that browser. -// -// Requires: base.js, dom.js -//============================================================================= - -/** - * Constructor. - */ -function CustomButton(htmlButton) { - bindMethods(this); - - this._focused = false; - this._htmlButton = htmlButton; - - if (!document.all) { // not IE - dom.addEvent(htmlButton, "mouseover", this._handleMouseOver); - dom.addEvent(htmlButton, "mouseout", this._handleMouseOut); - } else { // IE - // mouseover/mouseout behave badly with nested elements in IE. Luckily, - // mouseenter/mouseleave are provided and have the equivalent semantics. - dom.addEvent(htmlButton, "mouseenter", this._handleMouseOver); - dom.addEvent(htmlButton, "mouseleave", this._handleMouseOut); - - // We also handle focus and blur in IE so that we can update the corners - // to match the black border IE provides. - dom.addEvent(htmlButton, "focusin", this._handleFocus); - dom.addEvent(htmlButton, "blur", this._handleBlur); - - dom.addClass(htmlButton, "ie"); - this._createCorners(); - } - - // Limit button widths to a minimum of 60px. They look funny skinnier. - if (htmlButton.offsetWidth < 60) { - htmlButton.style.width = "60px"; - } - - htmlButton.style.visibility = "visible"; -} - -/** - * Initializes all the custom buttons on the page. - */ -CustomButton.initializeAll = function() { - var buttons = document.getElementsByTagName("button"); - for (var i = 0, button; button = buttons[i]; i++) { - if (dom.hasClass(button, "custom")) { - new CustomButton(button); - } - } -}; - -/** - * Highlights the button on mouseover. Note that this gets called multiple - * times while the mouse goes over sub elements inside the button. - */ -CustomButton.prototype._handleMouseOver = function() { - if (!this._htmlButton.disabled && !this._focused) { - dom.addClass(this._htmlButton, "hover"); - this._setCornerColor("blue"); - } -}; - -/** - * Undoes the highlighting of the button on mouseout. Note that this gets called - * multiple times when the mouse moves out of sub elements, even if it is still - * over the button. That is OK, as long as there is immediately a mouseover - * event. - */ -CustomButton.prototype._handleMouseOut = function() { - if (!this._htmlButton.disabled && !this._focused) { - dom.removeClass(this._htmlButton, "hover"); - this._setCornerColor("grey"); - } -}; - -/** - * Highlights the button on focus. Currently only used for IE. - * TODO(aa): The black highlight looks cool. Consider for other browsers. - */ -CustomButton.prototype._handleFocus = function() { - dom.removeClass(this._htmlButton, "hover"); - this._setCornerColor("black"); - this._focused = true; -}; - -/** - * Undoes the highlighting of the button on blur. - */ -CustomButton.prototype._handleBlur = function() { - this._setCornerColor("grey"); - this._focused = false; -}; - -/** - * Helper to create the graphics that make the button have rounded corners in - * IE. - */ -CustomButton.prototype._createCorners = function() { - // Making the button position:relative makes it possible to position things - // inside it relative to it's border. - this._htmlButton.style.position = "relative"; - - var verticalEdges = ["left", "right"]; - var horizontalEdges = ["top", "bottom"]; - var colors = ["grey", "blue", "black"]; - - for (var i = 0; i < verticalEdges.length; i++) { - for (var j = 0; j < horizontalEdges.length; j++) { - for (var k = 0; k < colors.length; k++) { - var img = document.createElement("img"); - img.src = "button_corner_" + colors[k] + ".gif"; - img.color = colors[k]; - img.style.position = "absolute"; - img.style[verticalEdges[i]] = "-2px"; - img.style[horizontalEdges[j]] = "-2px"; - img.style.filter = - "progid:DXImageTransform.Microsoft.BasicImage(Rotation=" + - (i + j) + ")"; - this._htmlButton.appendChild(img); - } - } - } - - this._setCornerColor("grey"); -}; - -/** - * Sets the color of the corners in IE by changing the stack order of the corner - * images. - */ -CustomButton.prototype._setCornerColor = function(newColor) { - var imgs = this._htmlButton.getElementsByTagName("img"); - for (var i = 0, img; img = imgs[i]; i++) { - img.style.zIndex = Number(img.color == newColor); - } -}; - -var localized_strings = { - "el": { - "string-no": "Όχι", - "string-header-desktop": "Αυτός ο ιστότοπος θέλει να δημιουργήσει μια συντόμευση στον υπολογιστή σας. Θέλετε να το επιτρέψετε αυτό;", - "string-no-accesskey": "Ο", - "string-header-wince": "Αυτός ο ιστότοπος θέλει να δημιουργήσει μια συντόμευση στη λίστα προγραμμάτων. Θέλετε να το επιτρέψετε;", - "string-title-simple": "Δημιουργία συντομεύσεων εφαρμογών", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Άκυρο", - "string-startmenu": "Μενού έναρξης", - "string-yes": "Ναι", - "string-never-allow": "Να μην επιτρέπεται ποτέ αυτή η συντόμευση", - "string-yes-accesskey": "Ν", - "string-quicklaunch": "Γραμμή γρήγορης εκκίνησης", - "string-never-allow-wince": "Να μην επιτρέπεται ποτέ", - "string-desktop": "Επιφάνεια εργασίας", - "string-title-default": "Gears - Δημιουργία συντόμευσης στην επιφάνεια εργασίας", - "string-location-query": "Δημιουργία συντομεύσεων στις παρακάτω θέσεις:" - }, - "gu": { - "string-no": "નહીં", - "string-header-desktop": "આ વેબસાઇટને તમારા કમ્પ્યુટર પર એક શોર્ટકટ બનાવવો છે શું આની તમારે મંજુરી આપવી છે?", - "string-no-accesskey": "N", - "string-header-wince": "આ વેબસાઇટ આપની પ્રોગ્રામોની સૂચિમાં શૉર્ટકટ્સ બનાવવા માંગે છે. શું આપ આને મંજુરી આપવા માંગો છો?", - "string-title-simple": "એપ્લિકેશન શોર્ટકટ બનાવો", - "string-ok-accesskey": "O", - "string-ok": "ઓકે", - "string-cancel-accesskey": "C", - "string-cancel": "રદ કરો", - "string-startmenu": "પ્રારંભ મેનુ", - "string-yes": "હા", - "string-never-allow": "આ શૉર્ટકટને ક્યારેય મંજૂર કરશો નહીં", - "string-yes-accesskey": "Y", - "string-quicklaunch": "ક્વિક લોંચ બાર", - "string-never-allow-wince": "ક્યારેય મંજૂર કરશો નહીં", - "string-desktop": "ડેસ્કટોપ", - "string-title-default": "Gears - ડેસ્ક્ટોપ શોર્ટકટ બનાવો", - "string-location-query": "નીચેના સ્થાનો પર શોર્ટકટ્સ બનાવો" - }, - "zh-TW": { - "string-no": "否", - "string-header-desktop": "這個網站要在您的電腦上建立捷徑。 您是否允許這個動作?", - "string-no-accesskey": "N", - "string-header-wince": "這個網站要在您的程式清單中建立捷徑。 您是否允許這個動作?", - "string-title-simple": "建立應用程式捷徑", - "string-ok-accesskey": "O", - "string-ok": "確定", - "string-cancel-accesskey": "C", - "string-cancel": "取消", - "string-startmenu": "開始功能表", - "string-yes": "是", - "string-never-allow": "永不允許這個捷徑", - "string-yes-accesskey": "Y", - "string-quicklaunch": "快速啟動列", - "string-never-allow-wince": "永不允許", - "string-desktop": "桌面", - "string-title-default": "Gears - 建立桌面捷徑", - "string-location-query": "在下列位置建立捷徑:" - }, - "vi": { - "string-no": "Không", - "string-header-desktop": "Trang web này muốn tạo một lối tắt trên màn hình của bạn. Bạn có cho phép tác vụ này không?", - "string-no-accesskey": "K", - "string-header-wince": "Trang web này muốn tạo lối tắt trong danh sách chương trình của bạn. Bạn có cho phép tác vụ này không?", - "string-title-simple": "Tạp Lối tắt cho Ứng dụng", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "H", - "string-cancel": "Huỷ", - "string-startmenu": "Trình đơn bắt đầu", - "string-yes": "Có", - "string-never-allow": "Không bao giờ cho phép lối tắt này", - "string-yes-accesskey": "C", - "string-quicklaunch": "Thanh khởi động nhanh", - "string-never-allow-wince": "Không bao giờ cho phép", - "string-desktop": "Màn hình", - "string-title-default": "Gears - Tạo Lối tắt trên Màn hình", - "string-location-query": "Tạo lối tắt trong các vị trí sau:" - }, - "ca": { - "string-no": "No", - "string-header-desktop": "Aquest lloc web vol crear una drecera al vostre ordinador. Ho voleu permetre?", - "string-no-accesskey": "N", - "string-header-wince": "Aquest lloc web vol crear una drecera a la vostra llista de programes. Ho voleu permetre?", - "string-title-simple": "Creeu dreceres d'aplicacions", - "string-ok-accesskey": "O", - "string-ok": "D'acord", - "string-cancel-accesskey": "C", - "string-cancel": "Cancel·la", - "string-startmenu": "Menú Inici", - "string-yes": "Sí", - "string-never-allow": "No permetre mai aquesta drecera", - "string-yes-accesskey": "S", - "string-quicklaunch": "Barra d'inici ràpid", - "string-never-allow-wince": "No permetre mai", - "string-desktop": "Escriptori", - "string-title-default": "Gears - Crea una drecera a l'escriptori", - "string-location-query": "Crea dreceres a les ubicacions següents:" - }, - "it": { - "string-no": "No", - "string-header-desktop": "Questo sito web vuole creare un collegamento sul tuo computer. Consentire l'operazione?", - "string-no-accesskey": "N", - "string-header-wince": "Questo sito Web vuole creare sul tuo desktop un collegamento nel tuo elenco di programmi. Consentire l'operazione?", - "string-title-simple": "Crea collegamenti applicazione", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "A", - "string-cancel": "Annulla", - "string-startmenu": "Menu Start", - "string-yes": "Sì", - "string-never-allow": "Non consentire mai questo collegamento", - "string-yes-accesskey": "S", - "string-quicklaunch": "Barra Avvio veloce", - "string-never-allow-wince": "Non consentire mai", - "string-desktop": "Desktop", - "string-title-default": "Google Gears - Crea collegamento sul desktop", - "string-location-query": "Crea collegamenti nelle seguenti posizioni:" - }, - "kn": { - "string-no": "ಇಲ್ಲ", - "string-header-desktop": "ಈ ವೆಬ್ ಸೈಟ್ ನಿಮ್ಮ ಕಂಪ್ಯೂಟರಿನಲ್ಲಿ ಒಂದು ಶಾರ್ಟ್ ಕಟ್ ರಚಿಸಲು ಬಯಸುತ್ತದೆ. ಇದನ್ನು ನೀವು ಅನುಮತಿಸಲು ಬಯಸುತ್ತೀರಾ?", - "string-no-accesskey": "N", - "string-header-wince": "ನಿಮ್ಮ ಕಾರ್ಯಕ್ರಮಗಳ ಪಟ್ಟಿಯಲ್ಲಿ ಶಾರ್ಟ್ಕಟ್ಗಳನ್ನು ರಚಿಸಲು ಈ ವೆಬ್ಸೈಟ್ ಬಯಸುತ್ತದೆ. ನೀವು ಇದನ್ನು ಅನುಮತಿಸಲು ಬಯಸುತ್ತೀರಾ?", - "string-title-simple": "ಅಪ್ಲಿಕೇಶನ್ ಶಾರ್ಟ್ ಕಟ್ ಗಳನ್ನು ರಚಿಸಿ", - "string-ok-accesskey": "O", - "string-ok": "ಸರಿ", - "string-cancel-accesskey": "C", - "string-cancel": "ರದ್ದುಮಾಡು", - "string-startmenu": "ಪ್ರಾರಂಭ ಮೆನು", - "string-yes": "ಹೌದು", - "string-never-allow": "ಈ ಶಾರ್ಟ್ಕಟ್ನ್ನು ಎಂದಿಗೂ ಅನುಮತಿಸಬೇಡಿ", - "string-yes-accesskey": "Y", - "string-quicklaunch": "ಕ್ವಿಕ್ ಲಾಂಚ್ ಬಾರ್", - "string-never-allow-wince": "ಎಂದಿಗೂ ಅನುಮತಿಸಬೇಡಿ", - "string-desktop": "ಡೆಸ್ಕ್ ಟಾಪ್", - "string-title-default": "Gears - ಡೆಸ್ಕ್ ಟಾಪ್ ಶಾರ್ಟ್ ಕಟ್ ರಚಿಸಿ", - "string-location-query": "ಈ ಕೆಳಗಿನ ಸ್ಥಳಗಳಲ್ಲಿ ಶಾರ್ಟ್ ಕಟ್ ಗಳನ್ನು ರಚಿಸಿ:" - }, - "ar": { - "string-no": "لا", - "string-header-desktop": "يتطلب موقع الويب هذا إنشاء اختصار على الكمبيوتر الخاص بك. هل تريد السماح بذلك؟", - "string-no-accesskey": "ل", - "string-header-wince": "يرغب موقع الويب هذا في إنشاء اختصار في قائمة البرامج لديك. هل ترغب في السماح له بذلك؟", - "string-title-simple": "إنشاء اختصارات للتطبيقات", - "string-ok-accesskey": "م", - "string-ok": "موافق", - "string-cancel-accesskey": "غ", - "string-cancel": "إلغاء", - "string-startmenu": "القائمة ابدأ", - "string-yes": "نعم", - "string-never-allow": "عدم السماح بهذا الاختصار مطلقًا", - "string-yes-accesskey": "ن", - "string-quicklaunch": "شريط التشغيل السريع", - "string-never-allow-wince": "عدم السماح مطلقًا", - "string-desktop": "سطح المكتب", - "string-title-default": "Gears - إنشاء اختصار لسطح المكتب", - "string-location-query": "قم بإنشاء اختصارات في المواقع التالية:" - }, - "ml": { - "string-no": "ഇല്ല", - "string-header-desktop": "ഈ വെബ്സൈറ്റ് നിങ്ങളുടെ കമ്പ്യൂട്ടരില് ഒരു കുറുക്കുവഴി സൃഷ്ടിക്കാന് ആവശ്യപ്പെടുന്നു. ഇതനുവദിക്കാന് നിങ്ങള് ആഗ്രഹിക്കുന്നുണ്ടോ?", - "string-no-accesskey": "N", - "string-header-wince": "പ്രോഗ്രാമുകളുടെ പട്ടികയില് ഒരു കുറുക്കുവഴി സൃഷ്ടിക്കാന് ഈ വെബ്സൈറ്റ് ആവശ്യപ്പെടുന്നു. ഇതനുവദിക്കാന് നിങ്ങള് ആഗ്രഹിക്കുന്നുണ്ടോ?", - "string-title-simple": "അപ്ലിക്കേഷന് കുറുക്കുവഴികള് സൃഷ്ടിക്കുക", - "string-ok-accesskey": "O", - "string-ok": "ശരി", - "string-cancel-accesskey": "C", - "string-cancel": "റദ്ദാക്കൂ", - "string-startmenu": "തുടങ്ങുക മെനു", - "string-yes": "അതെ", - "string-never-allow": "ഈ കുറുക്കുവഴി ഒരിക്കലും അനുവദിക്കരുത്", - "string-yes-accesskey": "Y", - "string-quicklaunch": "ദ്രുത ലോഞ്ച് ബാര്", - "string-never-allow-wince": "ഒരിക്കലും അനുവദിക്കരുത്", - "string-desktop": "ഡെസ്ക്ടോപ്", - "string-title-default": "Gears - ഡെസ്ക്ടോപ് കുറുക്കുവഴി സൃഷ്ടിക്കുക", - "string-location-query": "താഴെക്കാണുന്ന ലോക്കഷനുകളില് കുറുക്കുവഴികള് സൃഷ്ടിക്കുക" - }, - "cs": { - "string-no": "Ne", - "string-header-desktop": "Tato webová stránka chce vytvořit zástupce ve vašem počítači. Chcete tuto akci povolit?", - "string-no-accesskey": "N", - "string-header-wince": "Tento web chce vytvořit zástupce v seznamu programů. Chcete tuto akci povolit?", - "string-title-simple": "Vytvořit zástupce aplikace", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "R", - "string-cancel": "Zrušit", - "string-startmenu": "Nabídka Start", - "string-yes": "Ano", - "string-never-allow": "Nikdy nepovolit tohoto zástupce", - "string-yes-accesskey": "A", - "string-quicklaunch": "Panel rychlého spuštění", - "string-never-allow-wince": "Nikdy nepovolit", - "string-desktop": "Plocha", - "string-title-default": "Gears – vytvořit zástupce na ploše", - "string-location-query": "Vytvořit zástupce v následujících umístěních:" - }, - "et": { - "string-no": "Ei", - "string-header-desktop": "See veebilehekülg tahab teie arvutisse otseteed luua. Kas soovite seda lubada?", - "string-no-accesskey": "E", - "string-header-wince": "Veebisait soovib teie programmiloendisse luua otsetee. Kas lubate seda?", - "string-title-simple": "Loo rakenduse otseteed", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "T", - "string-cancel": "Tühista", - "string-startmenu": "Start-menüü", - "string-yes": "Jah", - "string-never-allow": "Ära luba seda otseteed kunagi", - "string-yes-accesskey": "J", - "string-quicklaunch": "Kiirkäivitusriba", - "string-never-allow-wince": "Ära luba kunagi", - "string-desktop": "Töölaud", - "string-title-default": "Gears – loo töölaua otsetee", - "string-location-query": "Loo otseteed järgmistesse asukohtadesse:" - }, - "id": { - "string-no": "Tidak", - "string-header-desktop": "Website ini ingin membuat pintasan pada komputer Anda. Anda ingin mengizinkannya?", - "string-no-accesskey": "T", - "string-header-wince": "Situs web ini ingin membuat pintasan dalam daftar program Anda. Apakah Anda mengizinkannya?", - "string-title-simple": "Buat Pintasan Aplikasi", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Batalkan", - "string-startmenu": "Menu Mulai", - "string-yes": "Ya", - "string-never-allow": "Jangan pernah mengizinkan pintasan ini", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Bilah luncur cepat", - "string-never-allow-wince": "Jangan pernah mengizinkan", - "string-desktop": "Desktop", - "string-title-default": "Gears - Buat Jalan Pintas Desktop", - "string-location-query": "Buat pintasan di lokasi berikut ini:" - }, - "es": { - "string-no": "No", - "string-header-desktop": "Este sitio web desea crear un acceso directo en tu equipo. ¿Quieres permitirlo?", - "string-no-accesskey": "N", - "string-header-wince": "Este sitio web desea crear un acceso directo en tu lista de programas. ¿Quieres permitirlo?", - "string-title-simple": "Crear accesos directos de la aplicación", - "string-ok-accesskey": "A", - "string-ok": "Aceptar", - "string-cancel-accesskey": "C", - "string-cancel": "Cancelar", - "string-startmenu": "Menú Inicio", - "string-yes": "Sí", - "string-never-allow": "No permitir nunca este acceso directo", - "string-yes-accesskey": "S", - "string-quicklaunch": "Barra de inicio rápida", - "string-never-allow-wince": "No permitir nunca", - "string-desktop": "Escritorio", - "string-title-default": "Gears - Crear acceso directo en el escritorio", - "string-location-query": "Crear accesos directos en las siguientes ubicaciones:" - }, - "en-GB": { - "string-no": "No", - "string-header-desktop": "This website wants to create a shortcut on your computer. Do you want to allow this?", - "string-no-accesskey": "N", - "string-header-wince": "This website wants to create the shortcuts listed below in your list of programmes. Do you want to allow this?", - "string-title-simple": "Create Application Shortcuts", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Cancel", - "string-startmenu": "Start menu", - "string-yes": "Yes", - "string-never-allow": "Never allow this shortcut", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Quick launch bar", - "string-never-allow-wince": "Never allow", - "string-desktop": "Desktop", - "string-title-default": "Gears - Create Desktop Shortcut", - "string-location-query": "Create shortcuts in the following locations:" - }, - "ru": { - "string-no": "Нет", - "string-header-desktop": "Этот веб-сайт собирается создать ярлык на вашем компьютере. Разрешить?", - "string-no-accesskey": "N", - "string-header-wince": "Этот веб-сайт пытается создать ярлык в вашем списке программ. Разрешить?", - "string-title-simple": "Создать ярлыки для приложений", - "string-ok-accesskey": "O", - "string-ok": "ОК", - "string-cancel-accesskey": "C", - "string-cancel": "Отмена", - "string-startmenu": "Меню \"Пуск\"", - "string-yes": "Да", - "string-never-allow": "Никогда не разрешать создание этого ярлыка", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Панель быстрого запуска", - "string-never-allow-wince": "Никогда", - "string-desktop": "Рабочий стол", - "string-title-default": "Gears — создать ярлык на рабочем столе", - "string-location-query": "Создать ярлыки со следующим размещением:" - }, - "nl": { - "string-no": "Nee", - "string-header-desktop": "Deze website wil een snelkoppeling maken op je computer. Vind je dat goed?", - "string-no-accesskey": "N", - "string-header-wince": "Deze website wil een snelkoppeling maken in uw programmalijst. Wilt u dit toestaan?", - "string-title-simple": "Toepassingssnelkoppelingen maken", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Annuleren", - "string-startmenu": "Startmenu", - "string-yes": "Ja", - "string-never-allow": "Deze snelkoppeling nooit toestaan", - "string-yes-accesskey": "J", - "string-quicklaunch": "Werkbalk Snel starten", - "string-never-allow-wince": "Nooit toestaan", - "string-desktop": "Bureaublad", - "string-title-default": "Gears - Snelkoppeling op bureaublad maken", - "string-location-query": "Snelkoppelingen maken op de volgende locaties:" - }, - "no": { - "string-no": "Nei", - "string-header-desktop": "Dette nettstedet ønsker å opprette en snarvei på datamaskinen. Vil du tillate dette?", - "string-no-accesskey": "N", - "string-header-wince": "Dette nettstedet vil opprette en snarvei i listen over programmer. Vil du tillate dette?", - "string-title-simple": "Opprett snarveier til programmer", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "A", - "string-cancel": "Avbryt", - "string-startmenu": "Start-meny", - "string-yes": "Ja", - "string-never-allow": "Avvis alltid denne snarveien", - "string-yes-accesskey": "J", - "string-quicklaunch": "Hurtigstartlinje", - "string-never-allow-wince": "Avvis alltid", - "string-desktop": "Skrivebord", - "string-title-default": "Gears – Opprett snarvei på skrivebordet", - "string-location-query": "Opprett snarveier på følgende plasseringer:" - }, - "tr": { - "string-no": "Hayır", - "string-header-desktop": "Bu web sitesi bilgisayarınızda bir kısayol oluşturmak istiyor. Buna izin vermek istiyor musunuz?", - "string-no-accesskey": "H", - "string-header-wince": "Bu web sitesi, programlar listenizde bir kısayol oluşturmak istiyor. Buna izin vermek istiyor musunuz?", - "string-title-simple": "Uygulama Kısayolları Oluştur", - "string-ok-accesskey": "T", - "string-ok": "Tamam", - "string-cancel-accesskey": "a", - "string-cancel": "İptal", - "string-startmenu": "Başlat menüsü", - "string-yes": "Evet", - "string-never-allow": "Bu kısayola asla izin verme", - "string-yes-accesskey": "E", - "string-quicklaunch": "Hızlı başlat çubuğu", - "string-never-allow-wince": "Asla izin verme", - "string-desktop": "Masaüstü", - "string-title-default": "Gears - Masaüstü Kısayolu Oluştur", - "string-location-query": "Kısayolları aşağıdaki konumlarda oluştur:" - }, - "lv": { - "string-no": "Nē", - "string-header-desktop": "Šī vietne vēlas izveidot datorā saīsni. Vai vēlaties to atļaut?", - "string-no-accesskey": "Nē", - "string-header-wince": "Šī vietne jūsu programmu sarakstā gatavojas izveidot īsceļu. Vai atļausit?", - "string-title-simple": "Izveidot lietojumprogrammu saīsnes", - "string-ok-accesskey": "O", - "string-ok": "Labi", - "string-cancel-accesskey": "C", - "string-cancel": "Atcelt", - "string-startmenu": "Izvēlne Sākt", - "string-yes": "Jā", - "string-never-allow": "Nekad neatļaut šī īsceļa izveidi", - "string-yes-accesskey": "Jā", - "string-quicklaunch": "Ātrās palaišanas josla", - "string-never-allow-wince": "Nekad neatļaut", - "string-desktop": "Datora darbvirsma", - "string-title-default": "Gears — darbvirsmas saīsnes izveide", - "string-location-query": "Izveidot saīsnes šādās vietās:" - }, - "lt": { - "string-no": "Ne", - "string-header-desktop": "Ši svetainė sukurs šaukinį jūsų kompiuteryje. Ar leisti?", - "string-no-accesskey": "N", - "string-header-wince": "Ši svetainė sukurs šaukinį programų sąraše. Ar leisti?", - "string-title-simple": "Sukurti programos šaukinius", - "string-ok-accesskey": "O", - "string-ok": "Gerai", - "string-cancel-accesskey": "C", - "string-cancel": "Atšaukti", - "string-startmenu": "Pradinis meniu", - "string-yes": "Taip", - "string-never-allow": "Niekada neleisti šio šaukinio", - "string-yes-accesskey": "T", - "string-quicklaunch": "Sparčiosios paleisties juosta", - "string-never-allow-wince": "Niekada neleisti", - "string-desktop": "Darbalaukis", - "string-title-default": "„Gears“ – sukurti darbalaukio šaukinį", - "string-location-query": "Sukurti šaukinius šiose vietose:" - }, - "th": { - "string-no": "ไม่", - "string-header-desktop": "เว็บไซต์นี้ต้องการสร้างทางลัดบนเดสก์ท็อปของคุณ คุณต้องการอนุญาตหรือไม่", - "string-no-accesskey": "ม", - "string-header-wince": "เว็บไซต์นี้ต้องการสร้างทางลัดที่ปรากฏในรายการโปรแกรมของคุณ คุณต้องการอนุญาตหรือไม่", - "string-title-simple": "สร้างทางลัดของแอปพลิเคชัน", - "string-ok-accesskey": "ต", - "string-ok": "ตกลง", - "string-cancel-accesskey": "ย", - "string-cancel": "ยกเลิก", - "string-startmenu": "เมนู Start", - "string-yes": "ใช่", - "string-never-allow": "ไม่อนุญาตให้สร้างทางลัดนี้", - "string-yes-accesskey": "ช", - "string-quicklaunch": "แถบ Quick Launch", - "string-never-allow-wince": "ไม่อนุญาต", - "string-desktop": "เดสก์ท็อป", - "string-title-default": "Gears - สร้างทางลัดบนเดสก์ท็อป", - "string-location-query": "สร้างทางลัดในตำแหน่งต่อไปนี้:" - }, - "ro": { - "string-no": "Nu", - "string-header-desktop": "Acest site Web doreşte să creeze o comandă rapidă pe computerul dvs. Permiteţi acest lucru?", - "string-no-accesskey": "N", - "string-header-wince": "Acest site Web doreşte să creeze o comandă rapidă în lista dvs. de programe. Permiteţi acest lucru?", - "string-title-simple": "Creaţi comenzi rapide pentru aplicaţii", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "A", - "string-cancel": "Anulaţi", - "string-startmenu": "Meniul Start", - "string-yes": "Da", - "string-never-allow": "Nu permiteţi niciodată această comandă rapidă", - "string-yes-accesskey": "D", - "string-quicklaunch": "Bara Lansare rapidă", - "string-never-allow-wince": "Nu permiteţi niciodată", - "string-desktop": "Desktop", - "string-title-default": "Gears – Creaţi comandă rapidă de pe desktop", - "string-location-query": "Creaţi comenzi rapide în următoarele locaţii:" - }, - "is": { - "string-no": "Nei", - "string-header-desktop": "Þetta vefsvæði óskar eftir að búa til flýtivísun á tölvunni hjá þér. Viltu leyfa það?", - "string-no-accesskey": "N", - "string-header-wince": "Þetta vefsvæði óskar eftir að búa til flýtivísun í forritalistanum hjá þér. Viltu leyfa það?", - "string-title-simple": "Útbúa flýtivísanir fyrir forrit", - "string-ok-accesskey": "O", - "string-ok": "Í lagi", - "string-cancel-accesskey": "H", - "string-cancel": "Hætta við", - "string-startmenu": "Upphafsvalmynd", - "string-yes": "Já", - "string-never-allow": "Aldrei heimila þessa flýtivísun", - "string-yes-accesskey": "J", - "string-quicklaunch": "Stika fyrir flýtiræsingu", - "string-never-allow-wince": "Leyfa aldrei", - "string-desktop": "Skjáborð", - "string-title-default": "Gears - Setja flýtivísun á skjáborð", - "string-location-query": "Útbúa flýtivísanir á eftirfarandi staðsetningum:" - }, - "fil": { - "string-no": "Hindi", - "string-header-desktop": "Nais ng website na ito na lumikha ng isang shortcut sa iyong computer. Nais mo bang payagan ito?", - "string-no-accesskey": "H", - "string-header-wince": "Nais ng website na ito na lumikha ng isang shortcut sa iyong listahan ng mga program. Nais mo ba itong payagan?", - "string-title-simple": "Lumikha ng mga Shortcut ng Application", - "string-ok-accesskey": "K", - "string-ok": "OK", - "string-cancel-accesskey": "I", - "string-cancel": "Ikansela", - "string-startmenu": "Start menu", - "string-yes": "Oo", - "string-never-allow": "Huwag kailanman payagan ang shortcut na ito", - "string-yes-accesskey": "O", - "string-quicklaunch": "Quick launch bar", - "string-never-allow-wince": "Huwag kailanman papayagan", - "string-desktop": "Desktop", - "string-title-default": "Mga Gear - Lumikha ng Shortcut sa Desktop", - "string-location-query": "Lumikha ng mga shortcut sa mga sumusunod na lokasyon:" - }, - "ta": { - "string-no": "இல்லை", - "string-header-desktop": "இந்தத் தளம் உங்கள் கணினியில் குறுக்கு வழியை உருவாக்க விரும்புகிறது. நீங்கள் இதை அனுமதிக்க வேண்டுமா?", - "string-no-accesskey": "N", - "string-header-wince": "உங்கள் நிரல்களின் பட்டியலில் ஒரு குறுக்குவழியை உருவாக்க இந்த வலைத்தளம் முயற்சிக்கிறது. இதனை அனுமதிக்க விரும்புகிறீர்களா?", - "string-title-simple": "அப்ளிகேஷன் குறுக்குவழியை உருவாக்கு", - "string-ok-accesskey": "O", - "string-ok": "சரி", - "string-cancel-accesskey": "C", - "string-cancel": "ரத்துசெய்", - "string-startmenu": "ஸ்டார்ட் மெனு", - "string-yes": "ஆம்", - "string-never-allow": "இந்த குறுக்குவழியை எப்போதும் அனுமதிக்க வேண்டாம்", - "string-yes-accesskey": "Y", - "string-quicklaunch": "குவிக் லான்ச் பார்", - "string-never-allow-wince": "எப்போதும் அனுமதிக்காதே", - "string-desktop": "டெஸ்க்டாப்", - "string-title-default": "Gears - டெஸ்க்டாப் குறுக்குவழியை உருவாக்கு", - "string-location-query": "பின்வரும் இடத்தில் குறுக்கு வழியை உருவாக்கவும்:" - }, - "fr": { - "string-no": "Non", - "string-header-desktop": "Autorisez-vous la création par ce site Web d'un raccourci sur votre ordinateur ?", - "string-no-accesskey": "N", - "string-header-wince": "Ce site Web souhaite créer un raccourci dans votre liste de programmes. Autorisez-vous cette opération ?", - "string-title-simple": "Créer des raccourcis d'applications", - "string-ok-accesskey": "K", - "string-ok": "OK", - "string-cancel-accesskey": "U", - "string-cancel": "Annuler", - "string-startmenu": "Menu Démarrer", - "string-yes": "Oui", - "string-never-allow": "Ne jamais autoriser ce raccourci", - "string-yes-accesskey": "O", - "string-quicklaunch": "Barre de lancement rapide", - "string-never-allow-wince": "Ne jamais autoriser", - "string-desktop": "Bureau", - "string-title-default": "Google Gears - Créer un raccourci sur le Bureau", - "string-location-query": "Créer des raccourcis aux emplacements suivants :" - }, - "bg": { - "string-no": "Не", - "string-header-desktop": "Прави се опит за създаване на пряк път към този уебсайт на компютъра ви. Разрешавате ли?", - "string-no-accesskey": "N", - "string-header-wince": "Този уебсайт иска да създаде пряк път в списъка ви с програми. Разрешавате ли?", - "string-title-simple": "Създаване на преки пътища към приложението", - "string-ok-accesskey": "О", - "string-ok": "OK", - "string-cancel-accesskey": "С", - "string-cancel": "Отказ", - "string-startmenu": "Меню „Старт“", - "string-yes": "Да", - "string-never-allow": "Създаването на този пряк път не се разрешава изобщо", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Лента за бързо стартиране", - "string-never-allow-wince": "Не се разрешава изобщо", - "string-desktop": "Работен плот", - "string-title-default": "Gears - Създаване на пряк път на работния плот", - "string-location-query": "Преки пътища да бъдат създадени на следните места:" - }, - "uk": { - "string-no": "Ні", - "string-header-desktop": "Цей веб-сайт хоче створити ярлик на Вашому комп’ютері. Дозволити?", - "string-no-accesskey": "N", - "string-header-wince": "Цей веб-сайт намагається створити ярлик у списку програм. Дозволити це?", - "string-title-simple": "Створіть ярлики програм", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Скасувати", - "string-startmenu": "Меню \"Пуск\"", - "string-yes": "Так", - "string-never-allow": "Ніколи не дозволяти створювати цей ярлик", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Панель \"Швидкий запуск\"", - "string-never-allow-wince": "Ніколи не дозволяти", - "string-desktop": "Робочий стіл", - "string-title-default": "Gears – Створення ярликів на робочому столі", - "string-location-query": "Створіть ярлики у таких розташуваннях:" - }, - "hr": { - "string-no": "Ne", - "string-header-desktop": "Ova web-lokacija želi stvoriti prečac na Vašem računalu. Dopuštate li taj postupak?", - "string-no-accesskey": "N", - "string-header-wince": "Ova web-lokacija želi stvoriti prečac na Vašem popisu programa. Dopuštate li taj postupak?", - "string-title-simple": "Stvori prečace za aplikacije", - "string-ok-accesskey": "K", - "string-ok": "U redu", - "string-cancel-accesskey": "C", - "string-cancel": "Odustani", - "string-startmenu": "Izbornik Start", - "string-yes": "Da", - "string-never-allow": "Nikad ne dopuštaj ovaj prečac", - "string-yes-accesskey": "D", - "string-quicklaunch": "Traka za brzo pokretanje", - "string-never-allow-wince": "Ne dopuštaj", - "string-desktop": "Radna površina", - "string-title-default": "Gears – Napravi prečac na radnoj površini", - "string-location-query": "Stvori prečace na sljedećim mjestima:" - }, - "bn": { - "string-no": "না", - "string-header-desktop": "এই ওয়েবসাইটটা আপনার কম্পিউটারে একটি শর্টকার্ট তৈরি করতে চায় ׀ আপনি কি এটার অনুমতি দিতে চান?", - "string-no-accesskey": "N", - "string-header-wince": "এই ওয়েবসাইটটি আপনার প্রোগ্রামের তালিকাতে একটি শর্টকাট তৈরি করতে চায়৷ আপনি কি এটি মঞ্জুরি দিতে চান?", - "string-title-simple": "অ্যাপ্লিকেশান শর্টকার্ট তৈরি করুন", - "string-ok-accesskey": "O", - "string-ok": "ওকে", - "string-cancel-accesskey": "C", - "string-cancel": "বাতিল", - "string-startmenu": "সূচনা মেনু", - "string-yes": "হ্যাঁ", - "string-never-allow": "কখনই এই শর্টকাটটির মঞ্জুরি দেবেন না", - "string-yes-accesskey": "Y", - "string-quicklaunch": "দ্রুত লঞ্চ দণ্ড", - "string-never-allow-wince": "কখনই মঞ্জুরি দেবেন না", - "string-desktop": "ডেস্কটপ", - "string-title-default": "Gears- ডেস্কটপ শর্টকাট তৈরি করুন", - "string-location-query": "এই যায়গাগুলিতে জন্য শর্টকার্টগুলি তৈরি করুন:" - }, - "en-US": { - "string-no": "No", - "string-header-desktop": "This website wants to create a shortcut on your computer. Do you want to allow this?", - "string-no-accesskey": "N", - "string-header-wince": "This website wants to create a shortcut in your list of programs. Do you want to allow this?", - "string-title-simple": "Create Application Shortcuts", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Cancel", - "string-startmenu": "Start menu", - "string-yes": "Yes", - "string-never-allow": "Never allow this shortcut", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Quick launch bar", - "string-never-allow-wince": "Never allow", - "string-desktop": "Desktop", - "string-title-default": "Gears - Create Desktop Shortcut", - "string-location-query": "Create shortcuts in the following locations:" - }, - "da": { - "string-no": "Nej", - "string-header-desktop": "Dette websted ønsker at oprette en genvej på din computer. Vil du tillade det?", - "string-no-accesskey": "N", - "string-header-wince": "Dette websted ønsker at oprette en genvej i din liste med programmer. Vil du tillade det?", - "string-title-simple": "Opret genveje til programmer", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "A", - "string-cancel": "Annuller", - "string-startmenu": "Startmenu", - "string-yes": "Ja", - "string-never-allow": "Tillad aldrig denne genvej", - "string-yes-accesskey": "J", - "string-quicklaunch": "Værktøjslinjen Hurtig start", - "string-never-allow-wince": "Giv aldrig tilladelse", - "string-desktop": "Skrivebord", - "string-title-default": "Gears – opret genvej på skrivebordet", - "string-location-query": "Opret genveje følgende steder:" - }, - "fa": { - "string-no": "خیر", - "string-header-desktop": "این وب سایت می خواهد میانبری در رایانه شما ایجاد کند. آیا اجازه می دهید؟", - "string-no-accesskey": "N", - "string-header-wince": "این وب سایت می خواهد یك میانبر در ليست برنامه های شما ایجاد کند. آیا اجازه می دهید؟", - "string-title-simple": "ايجاد ميانبرهای برنامه", - "string-ok-accesskey": "O", - "string-ok": "تأیید", - "string-cancel-accesskey": "C", - "string-cancel": "لغو", - "string-startmenu": "منوی شروع", - "string-yes": "بله", - "string-never-allow": "هرگز اجازه ندهید این میانبر ایجاد شود.", - "string-yes-accesskey": "Y", - "string-quicklaunch": "ميله راه اندازی سريع", - "string-never-allow-wince": "هرگز اجازه داده نشود", - "string-desktop": "دسک تاپ", - "string-title-default": "Gears- ایجاد میانبر در دسک تاپ", - "string-location-query": "ایجاد میانبر در محل های زیر:" - }, - "hi": { - "string-no": "नहीं", - "string-header-desktop": "यह वेबसाइट आपके कंप्यूटर पर एक शॉर्टकट बनाना चाहती है. क्या आप इसकी अनुमति देना चाहते हैं?", - "string-no-accesskey": "नहीं", - "string-header-wince": "यह वेबसाइट आपके प्रोग्रामों की सूची में शॉर्टकट बनाना चाहती है. क्या आप इसकी अनुमति देना चाहते हैं?", - "string-title-simple": "अनुप्रयोग शार्टकट बनाएँ", - "string-ok-accesskey": "ठीक", - "string-ok": "ठीक", - "string-cancel-accesskey": "रद्द करें", - "string-cancel": "रद्द करें", - "string-startmenu": "प्रारंभ मेनू", - "string-yes": "हाँ", - "string-never-allow": "इस शॉर्टकट को कभी अनुमति न दें", - "string-yes-accesskey": "हाँ", - "string-quicklaunch": "त्वरित लॉन्च पट्टिका", - "string-never-allow-wince": "कभी अनुमति न दें", - "string-desktop": "डेस्कटॉप", - "string-title-default": "Gears - डेस्कटॉप शॉर्टकट बनाएँ", - "string-location-query": "निम्न स्थानों पर शॉर्टकट बनाएँ:" - }, - "pt-BR": { - "string-no": "Não", - "string-header-desktop": "Este site deseja criar um atalho no seu computador. Gostaria de permitir isso?", - "string-no-accesskey": "N", - "string-header-wince": "Este site deseja criar um atalho na sua lista de programas. Deseja permitir isso?", - "string-title-simple": "Criar atalhos do aplicativo", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Cancelar", - "string-startmenu": "Menu Iniciar", - "string-yes": "Sim", - "string-never-allow": "Nunca permitir este atalho", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Barra de inicialização rápida", - "string-never-allow-wince": "Nunca permitir", - "string-desktop": "Área de trabalho", - "string-title-default": "Gears - Criar atalho na área de trabalho", - "string-location-query": "Criar atalhos nos seguintes locais:" - }, - "fi": { - "string-no": "Ei", - "string-header-desktop": "Tämä sivusto haluaa luoda pikakuvakkeen tietokoneellesi. Sallitko pikakuvakkeen luomisen?", - "string-no-accesskey": "E", - "string-header-wince": "Tämä sivusto haluaa luoda pikakuvakkeen ohjelmaluetteloosi. Sallitko pikakuvakkeen luomisen?", - "string-title-simple": "Luo sovelluksista pikakuvakkeita", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "P", - "string-cancel": "Peruuta", - "string-startmenu": "Aloitusvalikko", - "string-yes": "Kyllä", - "string-never-allow": "Älä koskaan salli tätä pikakuvaketta", - "string-yes-accesskey": "K", - "string-quicklaunch": "Pikakäynnistyspalkki", - "string-never-allow-wince": "Älä koskaan salli", - "string-desktop": "Työpöytä", - "string-title-default": "Gears - Luo pikakuvake työpöydälle", - "string-location-query": "Luo pikakuvakkeet seuraaviin kohteisiin:" - }, - "hu": { - "string-no": "Nem", - "string-header-desktop": "Ez a webhely parancsikont szeretne létrehozni a számítógépen. Engedélyezi ezt?", - "string-no-accesskey": "N", - "string-header-wince": "Ez a webhely egy parancsikont kíván létrehozni a programlistában. Engedélyezi ezt?", - "string-title-simple": "Alkalmazásindító parancsikonok létrehozása", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "M", - "string-cancel": "Mégse", - "string-startmenu": "Start menü", - "string-yes": "Igen", - "string-never-allow": "Soha ne engedélyezze ezt a parancsikont", - "string-yes-accesskey": "I", - "string-quicklaunch": "Gyorsindítás eszköztár", - "string-never-allow-wince": "Soha ne engedélyezze", - "string-desktop": "Asztal", - "string-title-default": "Szinkron - Asztali parancsikon létrehozása", - "string-location-query": "Parancsikonok létrehozása a következő helyeken:" - }, - "ja": { - "string-no": "いいえ", - "string-header-desktop": "デスクトップにこのサイトのショートカットが作成されます。許可しますか?", - "string-no-accesskey": "N", - "string-header-wince": "プログラム一覧にこのサイトのショートカットが作成されます。許可しますか?", - "string-title-simple": "アプリケーション ショートカットを作成", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "キャンセル", - "string-startmenu": "スタート メニュー", - "string-yes": "はい", - "string-never-allow": "このショートカットを常に拒否する", - "string-yes-accesskey": "Y", - "string-quicklaunch": "クイック起動バー", - "string-never-allow-wince": "許可しない", - "string-desktop": "デスクトップ", - "string-title-default": "Gears - デスクトップ ショートカットを作成", - "string-location-query": "ショートカットを作成する場所" - }, - "he": { - "string-no": "לא", - "string-header-desktop": "אתר אינטרנט זה רוצה ליצור קיצור דרך במחשב שלך. האם ברצונך לאפשר זאת?", - "string-no-accesskey": "לא", - "string-header-wince": "אתר אינטרנט זה מעוניין ליצור קיצור דרך ברשימת התוכניות שלך. האם ברצונך לאפשר זאת?", - "string-title-simple": "צור קיצורי דרך ליישומים", - "string-ok-accesskey": "אישור", - "string-ok": "אישור", - "string-cancel-accesskey": "ביטול", - "string-cancel": "ביטול", - "string-startmenu": "תפריט 'התחל'", - "string-yes": "כן", - "string-never-allow": "לעולם אל תאפשר קיצור דרך זה", - "string-yes-accesskey": "כן", - "string-quicklaunch": "סרגל הפעלה מהירה", - "string-never-allow-wince": "לעולם אל תאפשר", - "string-desktop": "שולחן עבודה", - "string-title-default": "Gears - צור קיצור דרך בשולחן העבודה", - "string-location-query": "צור קיצורי דרך במיקומים הבאים:" - }, - "te": { - "string-no": "వద్దు", - "string-header-desktop": "ఈ వెబ్ సైట్ మీ కమ్ప్యుటర్ పైన షార్ట్ కట్స్ సృష్టించాలని అనుకుంటుంది . ఇది మీరు కొనసాగించాలని అనుకుంటున్నారా?", - "string-no-accesskey": "N", - "string-header-wince": "ఈ వెబ్సైట్ మీ ప్రోగ్రామ్ల జాబితాలో ఒక సత్వర మార్గాన్ని సృష్టించదలిచింది. మీరు దీనిని అనుమతించదలిచారా?", - "string-title-simple": "అప్ప్లికేషన్ల షార్ట్కట్లు సృష్టించు", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "రద్దు చెయ్యి", - "string-startmenu": "స్టార్ట్ మెన్యు", - "string-yes": "అవును", - "string-never-allow": "ఈ సత్వర మార్గాన్ని ఎప్పుడూ అనుమతించవద్దు", - "string-yes-accesskey": "Y", - "string-quicklaunch": "శీఘ్ర లాంచ్ బార్", - "string-never-allow-wince": "ఎప్పుడూ అనుమతించవద్దు", - "string-desktop": "డెస్క్ టాప్", - "string-title-default": "Gears -డెస్క్ టాప్ షార్ట్ కట్ని సృష్టించు", - "string-location-query": "ఈ లోకేషన్స్ లో షార్ట్ కట్స్ సృష్టించండి:" - }, - "pt-PT": { - "string-no": "Não", - "string-header-desktop": "Este Web site pretende criar um atalho no seu computador. Pretende permitir esta acção?", - "string-no-accesskey": "N", - "string-header-wince": "Este Web site pretende criar um atalho na sua lista de programas. Pretende permitir esta acção?", - "string-title-simple": "Criar atalhos para as aplicações", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "C", - "string-cancel": "Cancelar", - "string-startmenu": "Menu Iniciar", - "string-yes": "Sim", - "string-never-allow": "Nunca permitir este atalho", - "string-yes-accesskey": "S", - "string-quicklaunch": "Barra de iniciação rápida", - "string-never-allow-wince": "Nunca permitir", - "string-desktop": "Ambiente de trabalho", - "string-title-default": "Gears - Criar atalho no ambiente de trabalho", - "string-location-query": "Criar atalhos nas seguintes localizações:" - }, - "sr": { - "string-no": "Не", - "string-header-desktop": "Овај веб сајт жели да направи пречицу на вашем рачунару. Да ли желите да то дозволите?", - "string-no-accesskey": "N", - "string-header-wince": "Овај веб сајт жели да направи пречицу на листи програма. Да ли желите да то дозволите?", - "string-title-simple": "Креирај пречице апликација", - "string-ok-accesskey": "P", - "string-ok": "Потврди", - "string-cancel-accesskey": "О", - "string-cancel": "Откажи", - "string-startmenu": "Старт мени", - "string-yes": "Да", - "string-never-allow": "Никада не дозволи ову пречицу", - "string-yes-accesskey": "D", - "string-quicklaunch": "Трака за брзо покретање", - "string-never-allow-wince": "Никада не дозволи", - "string-desktop": "Радна површина", - "string-title-default": "Gears - направи пречицу на радној површини", - "string-location-query": "Hаправи пречице на следећим локацијама:" - }, - "ko": { - "string-no": "아니요", - "string-header-desktop": "웹사이트에서 사용자 컴퓨터에 바로가기를 만들려고 합니다. 허용하시겠습니까?", - "string-no-accesskey": "N", - "string-header-wince": "웹사이트에서 프로그램 목록에 바로가기를 만들려고 합니다. 바로가기를 만드시겠습니까?", - "string-title-simple": "애플리케이션 바로가기 만들기", - "string-ok-accesskey": "O", - "string-ok": "확인", - "string-cancel-accesskey": "C", - "string-cancel": "취소", - "string-startmenu": "시작 메뉴", - "string-yes": "예", - "string-never-allow": "바로가기를 허용하지 않음", - "string-yes-accesskey": "Y", - "string-quicklaunch": "빠른실행 표시줄", - "string-never-allow-wince": "허용 안함", - "string-desktop": "바탕화면", - "string-title-default": "Gears - 바탕화면 바로가기 만들기", - "string-location-query": "바로가기 생성 위치:" - }, - "sv": { - "string-no": "Nej", - "string-header-desktop": "Webbplatsen försöker skapa en genväg i datorn. Vill du tillåta det?", - "string-no-accesskey": "N", - "string-header-wince": "Den här webbplatsen vill skapa en genväg i din programlista. Vill du tillåta det?", - "string-title-simple": "Skapa programgenvägar", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "A", - "string-cancel": "Avbryt", - "string-startmenu": "Start-meny", - "string-yes": "Ja", - "string-never-allow": "Tillåt aldrig den här genvägen", - "string-yes-accesskey": "J", - "string-quicklaunch": "Fältet Snabbstart", - "string-never-allow-wince": "Tillåt aldrig", - "string-desktop": "Skrivbord", - "string-title-default": "Gears - Skapa genväg på skrivbordet", - "string-location-query": "Skapa genvägar på följande platser:" - }, - "ur": { - "string-no": "نہیں", - "string-header-desktop": "یہ ویب سائٹ آپ کے کمپیوٹر پر ایک شارٹ کٹ بنانا چاہتی ہے۔ کیا آپ اس کی اجازت دیں گے؟", - "string-no-accesskey": "نہیں", - "string-header-wince": "یہ ویب سائٹ آپ کے پروگرامز کی فہرست میں درج ذیل شارٹ کٹ بنانا چاہتی ہے۔ کیا آپ اس کی اجازت دیں گے؟", - "string-title-simple": "اطلاق کا شارٹ کٹ بنائیں", - "string-ok-accesskey": "O", - "string-ok": "ٹھیک ہے", - "string-cancel-accesskey": "C", - "string-cancel": "منسوخ", - "string-startmenu": "اسٹارٹ مینو", - "string-yes": "ہاں", - "string-never-allow": "کبھی بھی اس شارٹ کٹ کی اجازت نہ دیں۔", - "string-yes-accesskey": "ہاں", - "string-quicklaunch": "فوری شروع کرنے کا بار", - "string-never-allow-wince": "کبھی بھی اجازت نہ دیں", - "string-desktop": "ڈیسک ٹاپ", - "string-title-default": "گیئرز - ڈیسک ٹاپ شارٹ کٹ بنائیں", - "string-location-query": "درج ذیل مقامات پر شارٹ کٹ بنائیں:" - }, - "sk": { - "string-no": "Nie", - "string-header-desktop": "Táto webová lokalita chce vytvoriť odkaz v počítači. Chcete to povoliť?", - "string-no-accesskey": "N", - "string-header-wince": "Táto webová lokalita chce vytvoriť odkaz v zozname programov. Chcete to povoliť?", - "string-title-simple": "Vytvorte odkazy na aplikácie", - "string-ok-accesskey": "K", - "string-ok": "OK", - "string-cancel-accesskey": "R", - "string-cancel": "Zrušiť", - "string-startmenu": "Ponuka Štart", - "string-yes": "Áno", - "string-never-allow": "Nikdy nepovoliť tento odkaz", - "string-yes-accesskey": "O", - "string-quicklaunch": "Panel s nástrojmi Rýchly prístup", - "string-never-allow-wince": "Nikdy nepovoliť", - "string-desktop": "Pracovná plocha", - "string-title-default": "Gears - Vytvoriť odkaz na pracovnej ploche", - "string-location-query": "Vytvoriť odkazy na nasledujúcich miestach:" - }, - "zh-CN": { - "string-no": "否", - "string-header-desktop": "该网站要在您的计算机上创建快捷键。 是否允许该操作?", - "string-no-accesskey": "N", - "string-header-wince": "该网站要在您的程序列表中创建快捷方式。 是否允许该操作?", - "string-title-simple": "创建应用程序快捷键", - "string-ok-accesskey": "O", - "string-ok": "确定", - "string-cancel-accesskey": "C", - "string-cancel": "取消", - "string-startmenu": "开始菜单", - "string-yes": "是", - "string-never-allow": "永不允许该快捷方式", - "string-yes-accesskey": "Y", - "string-quicklaunch": "快速启动栏", - "string-never-allow-wince": "永不允许", - "string-desktop": "桌面", - "string-title-default": "Gears - 创建桌面快捷方式", - "string-location-query": "在以下位置创建快捷键:" - }, - "de": { - "string-no": "Nein", - "string-header-desktop": "Für diese Website soll eine Verknüpfung auf Ihrem Computer erstellt werden. Möchten Sie dies zulassen?", - "string-no-accesskey": "N", - "string-header-wince": "Für diese Website soll eine Verknüpfung in Ihrer Programmliste erstellt werden. Möchten Sie dies zulassen?", - "string-title-simple": "Anwendungsverknüpfungen erstellen", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "A", - "string-cancel": "Abbrechen", - "string-startmenu": "Startmenü", - "string-yes": "Ja", - "string-never-allow": "Diese Verknüpfung nie zulassen", - "string-yes-accesskey": "J", - "string-quicklaunch": "Schnellstartleiste", - "string-never-allow-wince": "Nie zulassen", - "string-desktop": "Desktop", - "string-title-default": "Gears - Desktopverknüpfung erstellen", - "string-location-query": "Verknüpfungen unter folgenden Speicherpfaden erstellen:" - }, - "pl": { - "string-no": "Nie", - "string-header-desktop": "Ta witryna internetowa chce utworzyć skrót na Twoim komputerze. Czy chcesz na to zezwolić?", - "string-no-accesskey": "N", - "string-header-wince": "Ta witryna chce utworzyć skrót na Twojej liście programów. Czy chcesz na to zezwolić?", - "string-title-simple": "Utwórz skróty do aplikacji", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "A", - "string-cancel": "Anuluj", - "string-startmenu": "Menu Start", - "string-yes": "Tak", - "string-never-allow": "Nigdy nie zezwalaj na ten skrót", - "string-yes-accesskey": "T", - "string-quicklaunch": "Pasek szybkiego uruchamiania", - "string-never-allow-wince": "Nigdy nie zezwalaj", - "string-desktop": "Pulpit", - "string-title-default": "Gears — utwórz skrót na pulpicie", - "string-location-query": "Utwórz skróty w następujących lokalizacjach:" - }, - "ms": { - "string-no": "Tidak", - "string-header-desktop": "Laman web ini mahu membuat pintasan pada komputer anda. Adakah anda membenarkannya?", - "string-no-accesskey": "T", - "string-header-wince": "Laman web ini mahu membuat pintasan dalam senarai atur cara anda. Adakah anda hendak membenarkannya?", - "string-title-simple": "Buat Pintasan Aplikasi", - "string-ok-accesskey": "O", - "string-ok": "OK", - "string-cancel-accesskey": "B", - "string-cancel": "Batal", - "string-startmenu": "Menu mula", - "string-yes": "Ya", - "string-never-allow": "Jangan sekali-kali benarkan pintasan ini", - "string-yes-accesskey": "Y", - "string-quicklaunch": "Bar lancar cepat", - "string-never-allow-wince": "Jangan sekali-kali benarkan", - "string-desktop": "Desktop", - "string-title-default": "Gear - Buat Pintasan Desktop", - "string-location-query": "Buat pintasan dalam lokasi yang berikut:" - }, - "sl": { - "string-no": "Ne", - "string-header-desktop": "To spletno mesto želi v vašem računalniku ustvariti bližnjico. Ali želite to dejanje dovoliti?", - "string-no-accesskey": "N", - "string-header-wince": "To spletno mesto skuša na seznamu programov ustvariti bližnjico. Ali želite to dejanje dovoliti?", - "string-title-simple": "Ustvarite bližnjice za programe", - "string-ok-accesskey": "O", - "string-ok": "V redu", - "string-cancel-accesskey": "C", - "string-cancel": "Prekliči", - "string-startmenu": "Meni »Start«", - "string-yes": "Da", - "string-never-allow": "Nikoli ne dovoli te bližnjice", - "string-yes-accesskey": "D", - "string-quicklaunch": "Vrstica za hitri zagon", - "string-never-allow-wince": "Nikoli ne dovoli", - "string-desktop": "Namizje", - "string-title-default": "Gears – Ustvarjanje bližnjice na namizju", - "string-location-query": "Ustvari bližnjice na teh mestih:" - }, - "mr": { - "string-no": "नाही", - "string-header-desktop": "ही वेबसाइट आपल्या संगणकावर शॉर्टकट तयार करू इच्छिते. यास आपली अनुमती आहे?", - "string-no-accesskey": "N", - "string-header-wince": "ही वेबसाइट आपल्या प्रोग्राम्स सूचीमध्ये एक शॉर्टकट तयार करू इच्छित आहे. आपण यास परवानगी देऊ इच्छिता काय?", - "string-title-simple": "एप्लिकेशन शॉर्टकट तयार करा", - "string-ok-accesskey": "O", - "string-ok": "ओके", - "string-cancel-accesskey": "C", - "string-cancel": "रद्द करा", - "string-startmenu": "स्टार्ट मेनू", - "string-yes": "होय", - "string-never-allow": "या शॉर्टकटला कधीही परवानगी देऊ नये", - "string-yes-accesskey": "Y", - "string-quicklaunch": "क्विक लाँच बार", - "string-never-allow-wince": "कधीही परवानगी देऊ नये", - "string-desktop": "डेस्कटॉप", - "string-title-default": "Gears - डेस्कटॉप शॉर्टकट तयार करा", - "string-location-query": "खालील स्थानांवर शॉर्टकट तयार करा:" - }, - "or": { - "string-no": "ନା", - "string-header-desktop": "ଏହି ୱେବସାଇଟ୍ ଆପଣଙ୍କ କମ୍ପ୍ୟୁଟରରେ ଏକ ସର୍ଟକଟ ସୃଷ୍ଟି କରିବାକୁ ଚାହୁଁଛି ଆପଣ ଏହାକୁ ଅନୁମତି ଦେବାକୁ ଚାହୁଁଛନ୍ତି ?", - "string-no-accesskey": "N", - "string-header-wince": "ଏହି ୱେବସାଇଟ୍ ଆପଣଙ୍କର ପ୍ରୋଗ୍ରାମ୍ ତାଲିକାରେ ଏକ ସର୍ଟକଟ୍ ସୃଷ୍ଟି କରିବାକୁ ଚାହୁଁଛି । ଆପଣ ଏହାକୁ ଅନୁମତି କରିବାକୁ ଚାହୁଁଛନ୍ତି କି?", - "string-title-simple": "ଅନୁପ୍ରୟୋଗ ସର୍ଟକଟଗୁଡିକ ସୃଷ୍ଟି କରନ୍ତୁ", - "string-ok-accesskey": "O", - "string-ok": "ଓକେ", - "string-cancel-accesskey": "C", - "string-cancel": "ବାତିଲ୍", - "string-startmenu": "ଷ୍ଟାର୍ଟ ମେନୁ", - "string-yes": "ହଁ", - "string-never-allow": "ଏହି ସର୍ଟକଟ୍ କେବେ ମଧ୍ୟ ଅନୁମତି କରନ୍ତୁ ନାହିଁ", - "string-yes-accesskey": "Y", - "string-quicklaunch": "କୁଇକ୍ ଲଞ୍ଚ୍ ବାର୍", - "string-never-allow-wince": "କେବେ ମଧ୍ୟ ଅନୁମତି କରନ୍ତୁ ନାହିଁ", - "string-desktop": "ଡେସ୍କଟପ୍", - "string-title-default": "Gears - ଡେସ୍କଟପ୍ ସର୍ଟକଟ୍ ସୃଷ୍ଟି କରନ୍ତୁ", - "string-location-query": "ନିମ୍ନ ଅବସ୍ଥାନ ଗୁଡିକରେ ସର୍ଟକଟ ସୃଷ୍ଟି କରନ୍ତୁ:" - } -}; - -// Insert all localized strings for the specified locale into the div or span -// matching the id. -function loadI18nStrings(locale) { - var rtl_languages = ['he', 'ar', 'fa', 'ur']; - - if (!locale) { - locale = 'en-US'; - } else { - if (!localized_strings[locale]) { - // For xx-YY locales, determine what the base locale is. - var base_locale = locale.split('-')[0]; - - if (localized_strings[base_locale]) { - locale = base_locale; - } else { - locale = 'en-US'; - } - } - } - - var strings = localized_strings[locale]; - - // If the specified locale is an right to left language, change the direction - // of the page. - for (index in rtl_languages) { - if (locale == rtl_languages[index]) { - document.body.dir = "rtl"; - break; - } - } - - // Copy each string to the proper UI element, if it exists. - for (name in strings) { - if (name == 'string-html-title') { - if (!browser.ie_mobile) { - // IE Mobile dialogs don't have a title bar. - // Furthermore, document.title is undefined in IE Mobile on WinMo 5. - // It's also impossible to add properties to the window object. - // (see http://code.google.com/apis/gears/mobile.html) - document.title = strings[name]; - } - } else { - var element = dom.getElementById(name); - if (element) { - element.innerHTML = strings[name]; - } - } - } -} - - -</script> - -<script> - var debug = false; - var dialogMinHeight = 200; - - // We currently only support custom locations for desktop windows. - var locationsEnabled = browser.windows && !browser.ie_mobile; - - var args; - - if (debug) { - // Handy for debugging layout: - if (browser.ie_mobile) { - window.pie_dialog = new Object(); - window.pie_dialog.IsSmartPhone = function() { return false; }; - window.pie_dialog.SetCancelButton = function() {}; - window.pie_dialog.SetButton = function() {}; - window.pie_dialog.SetButtonEnabled = function() {}; - window.pie_dialog.SetScriptContext = function() {}; - window.pie_dialog.ResizeDialog = function() {}; - } - - args = { - locale: "en-US", - style: "simple", - name: "My Application", - link: "http://www.google.com/", - description: "This application does things does things!", - // description: "This application does things does things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things that do things.", - icon16x16: "http://google-gears.googlecode.com/svn/trunk/gears/test/manual/shortcuts/16.png", - icon32x32: "http://google-gears.googlecode.com/svn/trunk/gears/test/manual/shortcuts/32.png", - icon48x48: "http://google-gears.googlecode.com/svn/trunk/gears/test/manual/shortcuts/48.png", - icon128x128: "http://google-gears.googlecode.com/svn/trunk/gears/test/manual/shortcuts/128.png" - }; - } else { - args = getArguments(); - } - - loadI18nStrings(args.locale); - - initDialog(); - initLayout(); - initShortcuts(args); - resizeDialogToFitContent(dialogMinHeight); - - function initLayout() { - if (locationsEnabled) { - dom.getElementById("locations").style.display = "block"; - } - - // Set up the rest of the layout. The details vary based on the layout style - // and the user agent (currently "simple" style only supported by desktop - // Gears). - if (isDefined(typeof args.style) && args.style == "simple") { - initSimpleStyle(); - } else if (browser.ie_mobile) { - initPieStyle(); - } else { - initDefaultStyle(); - } - - resetConfirmDisabledState(); - } - - function initSimpleStyle() { - document.title = - dom.getTextContent(dom.getElementById("string-title-simple")); - dom.getElementById("icon").parentNode.style.display = "none"; - dom.getElementById("header").style.display = "none"; - dom.getElementById("head").style.paddingBottom = "0"; - dom.getElementById("deny-permanently-link").style.display = "none"; - setButtonLabel("string-ok", "allow-button", "string-ok-accesskey"); - setButtonLabel("string-cancel", "deny-button", "string-cancel-accesskey"); - - // Also check the desktop checkbox by default - dom.getElementById("location-desktop").checked = true; - - // Turn on the buttons. They are turned off by default for CustomButton, but - // simple style does not use custom button. - var buttons = document.getElementsByTagName("button"); - for (var i = 0, button; button = buttons[i]; i++) { - button.className = ""; - button.style.visibility = "visible"; - } - } - - function initPieStyle() { - // For PIE, we don't set a window title. - setElementContents("string-header-wince", "header"); - - if (window.pie_dialog.IsSmartPhone()) { - // On softkey-only devices we only use a regular link to trigger - // the "never-allow" action. For "allow" and "deny" we use only - // the softkey lables. - setElementContents("string-never-allow-wince", "deny-permanently-link"); - } else { - // For touchscreen devices, we use buttons for all actions. Additionally, - // we also set the sofkey labels. - setButtonLabel("string-yes", "allow-button", "string-yes-accesskey"); - setButtonLabel("string-no", "deny-button", "string-no-accesskey"); - setButtonLabel("string-never-allow-wince", "deny-permanently-button"); - } - // Set the softkey labels for both softkey-only and touchscreen UIs. - window.pie_dialog.SetButton(dom.getElementById("string-yes").innerText, - "allowShortcutsTemporarily();"); - window.pie_dialog.SetCancelButton(dom.getElementById("string-no").innerText); - // On PIE, the allow button is disabled by default. - // Why not just remove the disabled attribute? - // Because on WinCE, we need to also call - // window.pie_dialog.SetButtonEnabled(true); , which enables the right - // softkey button. - enableButton(dom.getElementById("allow-button")); - } - - function initDefaultStyle() { - document.title = - dom.getTextContent(dom.getElementById("string-title-default")); - setElementContents("string-header-desktop", "header"); - setButtonLabel("string-yes", "allow-button", "string-yes-accesskey"); - setButtonLabel("string-no", "deny-button", "string-no-accesskey"); - setElementContents("string-never-allow", "deny-permanently-link"); - - CustomButton.initializeAll(); - } - - /** - * Populate the shortcuts UI based on the data passed in from C++. - */ - function initShortcuts(shortcutData) { - var iconElement = dom.getElementById("shortcut-icon"); - var nameElement = dom.getElementById("shortcut-name"); - var descriptionElement = dom.getElementById("shortcut-description"); - - loadImage(iconElement, pickIconToRender(shortcutData)); - dom.setTextContent(nameElement, shortcutData.name); - - if (isDefined(typeof shortcutData.description) && - shortcutData.description) { - dom.setTextContent(descriptionElement, shortcutData.description); - descriptionElement.style.display = "block"; - } - - preloadIcons(shortcutData); - } - - /** - * Picks the best icon to render in the UI. - */ - function pickIconToRender(shortcutData) { - if (shortcutData.icon32x32) { // ideal size - return shortcutData.icon32x32; - } else if (shortcutData.icon48x48) { // better to pick one that is too big - return shortcutData.icon48x48; - } else if (shortcutData.icon128x128) { - return shortcutData.icon128x128; - } else { - return shortcutData.icon16x16; // pick too small icon last - } - } - - /** - * Preloads the icons for a shortcut so that later when they are requested - * from C++, they will be fast. - */ - function preloadIcons(shortcutData) { - for (var prop in shortcutData) { - if (prop.indexOf("icon") == 0) { - var img = new Image(); - img.src = shortcutData[prop]; - } - } - } - - /** - * Sets the confirm button's disabled state depending on whether there is - * at least one checkbox checked. - */ - function resetConfirmDisabledState() { - if (!locationsEnabled) { - return; - } - - var allowButton = dom.getElementById("allow-button"); - var checkboxes = - dom.getElementById("locations").getElementsByTagName("input"); - - for (var i = 0, checkbox; checkbox = checkboxes[i]; i++) { - if (checkbox.checked) { - enableButton(allowButton); - return; - } - } - - disableButton(allowButton); - } - - /** - * Called when the user clicks the allow button. - */ - function allowShortcutsTemporarily() { - var result = { - allow: true, - locations: 0 - }; - - if (locationsEnabled) { - var checkboxes = - dom.getElementById("locations").getElementsByTagName("input"); - for (var i = 0, checkbox; checkbox = checkboxes[i]; i++) { - if (checkbox.checked) { - result.locations |= parseInt(checkbox.value); - } - } - } - saveAndClose(result); - } - - /** - * Called when the user clicks the no button. - */ - function denyShortcutsTemporarily() { - saveAndClose(null); // default behavior is to deny all - } - - /** - * Called when the user clicks the "Never allow this shortcut" link. - */ - function denyShortcutPermanently() { - saveAndClose({ - allow: false - }); - } - - /** - * Set the contents of the element specified by destID from from that of the - * element specified by sourceID. - */ - function setElementContents(sourceID, destID) { - var sourceElem = dom.getElementById(sourceID); - var destElem = dom.getElementById(destID); - if (isDefined(typeof sourceElem) && isDefined(typeof destElem)) { - destElem.innerHTML = sourceElem.innerHTML; - } - } -</script> -</html> diff --git a/assets/plugins/gears-0.5.2.0/dummy b/assets/plugins/gears-0.5.2.0/dummy new file mode 100644 index 0000000..50f9ab9 --- /dev/null +++ b/assets/plugins/gears-0.5.2.0/dummy @@ -0,0 +1 @@ +This file is used to ensure this subdirectory is created. diff --git a/assets/plugins/gears.so b/assets/plugins/gears.so Binary files differindex 1d0ba0e..4a1aff2 100644 --- a/assets/plugins/gears.so +++ b/assets/plugins/gears.so |