summaryrefslogtreecommitdiffstats
path: root/assets/plugins/gears-0.4.23.0/shortcuts_dialog.html
blob: fc68120e67e900738f91b0dc9963359b3e671072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
<!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>