Version Description
Download this release
Release Info
Developer | rm2773 |
Plugin | Google Language Translator |
Version | 4.0.7 |
Comparing to | |
See all releases |
Code changes from version 4.0.5 to 4.0.7
- banner-772x250.png +0 -0
- css/style.css +2253 -173
- css/style.php +98 -98
- css/toolbar.css +0 -1
- google-language-translator.php +331 -71
- images/flags.png +0 -0
- images/flags16.png +0 -0
- images/flags18.png +0 -0
- images/flags20.png +0 -0
- images/flags22.png +0 -0
- images/flags24/Afrikaans.png +0 -0
- images/flags24/Albanian.png +0 -0
- images/flags24/Arabic.png +0 -0
- images/flags24/Armenian.png +0 -0
- images/flags24/Azerbaijani.png +0 -0
- images/flags24/Basque.png +0 -0
- images/flags24/Belarusian.png +0 -0
- images/flags24/Bengali.png +0 -0
- images/flags24/Bosnian.png +0 -0
- images/flags24/Brazil.png +0 -0
- images/flags24/Bulgarian.png +0 -0
- images/flags24/Canada.png +0 -0
- images/flags24/Catalan.png +0 -0
- images/flags24/Cebuano.png +0 -0
- images/flags24/Chinese(Simplified).png +0 -0
- images/flags24/Chinese(Traditional).png +0 -0
- images/flags24/Croatian.png +0 -0
- images/flags24/Czech.png +0 -0
- images/flags24/Danish.png +0 -0
- images/flags24/Dutch.png +0 -0
- images/flags24/English.png +0 -0
- images/flags24/Esperanto.png +0 -0
- images/flags24/Estonian.png +0 -0
- images/flags24/Filipino.png +0 -0
- images/flags24/Finnish.png +0 -0
- images/flags24/French.png +0 -0
- images/flags24/Galician.png +0 -0
- images/flags24/Georgian.png +0 -0
- images/flags24/German.png +0 -0
- images/flags24/Greek.png +0 -0
- images/flags24/Gujarati.png +0 -0
- images/flags24/Haitian.png +0 -0
- images/flags24/Hausa.png +0 -0
- images/flags24/Hebrew.png +0 -0
- images/flags24/Hindi.png +0 -0
- images/flags24/Hmong.png +0 -0
- images/flags24/Hungarian.png +0 -0
- images/flags24/Icelandic.png +0 -0
- images/flags24/Igbo.png +0 -0
- images/flags24/Indonesian.png +0 -0
- images/flags24/Irish.png +0 -0
- images/flags24/Italian.png +0 -0
- images/flags24/Japanese.png +0 -0
- images/flags24/Javanese.png +0 -0
- images/flags24/Kannada.png +0 -0
- images/flags24/Khmer.png +0 -0
- images/flags24/Korean.png +0 -0
- images/flags24/Lao.png +0 -0
- images/flags24/Latin.png +0 -0
- images/flags24/Latvian.png +0 -0
- images/flags24/Lithuanian.png +0 -0
- images/flags24/Macedonian.png +0 -0
- images/flags24/Malay.png +0 -0
- images/flags24/Maltese.png +0 -0
- images/flags24/Maori.png +0 -0
- images/flags24/Marathi.png +0 -0
- images/flags24/Mexico.png +0 -0
- images/flags24/Mongolian.png +0 -0
- images/flags24/Nepali.png +0 -0
- images/flags24/Nigeria.png +0 -0
- images/flags24/Norwegian.png +0 -0
- images/flags24/Persian.png +0 -0
- images/flags24/Polish.png +0 -0
- images/flags24/Portuguese.png +0 -0
- images/flags24/Punjabi.png +0 -0
- images/flags24/Romanian.png +0 -0
- images/flags24/Russian.png +0 -0
- images/flags24/Serbian.png +0 -0
- images/flags24/Slovak.png +0 -0
- images/flags24/Slovenian.png +0 -0
- images/flags24/Somali.png +0 -0
- images/flags24/Spanish.png +0 -0
- images/flags24/Swahili.png +0 -0
- images/flags24/Swedish.png +0 -0
- images/flags24/Tamil.png +0 -0
- images/flags24/Telugu.png +0 -0
- images/flags24/Thai.png +0 -0
- images/flags24/Turkish.png +0 -0
- images/flags24/Ukranian.png +0 -0
- images/flags24/United-States.png +0 -0
- images/flags24/Urdu.png +0 -0
- images/flags24/Vietnamese.png +0 -0
- images/flags24/Welsh.png +0 -0
- images/flags24/Yiddish.png +0 -0
- images/flags24/Yoruba.png +0 -0
- images/flags24/Zulu.png +0 -0
- js/admin.js +92 -92
- js/load-toolbar.js +21 -21
- readme.txt +36 -3
- screenshot-1.png +0 -0
banner-772x250.png
ADDED
Binary file
|
css/style.css
CHANGED
@@ -1,173 +1,2253 @@
|
|
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 |
-
#flags
|
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 |
-
width:
|
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 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body.wp-admin #flags a {
|
2 |
+
cursor:move !important;
|
3 |
+
}
|
4 |
+
|
5 |
+
#glt-footer,
|
6 |
+
#glt-footer #google_language_translator {
|
7 |
+
display:none !important;
|
8 |
+
}
|
9 |
+
|
10 |
+
select.goog-te-combo {
|
11 |
+
width:143px !important;
|
12 |
+
background:#fff;
|
13 |
+
box-shadow:none !important;
|
14 |
+
-moz-box-shadow:none !important;
|
15 |
+
-webkit-box-shadow:none !important;
|
16 |
+
padding:3px !important;
|
17 |
+
height:auto !important;
|
18 |
+
border:1px solid lightgray !important;
|
19 |
+
border-radius:0px !important;
|
20 |
+
-webkit-border-radius:0px;
|
21 |
+
-moz-border-radius:0px !important;
|
22 |
+
-o-border-radius:0px !important;
|
23 |
+
}
|
24 |
+
|
25 |
+
#flags {
|
26 |
+
overflow:hidden;
|
27 |
+
}
|
28 |
+
|
29 |
+
#flags ul {
|
30 |
+
margin:0;
|
31 |
+
}
|
32 |
+
|
33 |
+
#flags li {
|
34 |
+
float:left !important;
|
35 |
+
margin-bottom:0 !important;
|
36 |
+
padding:0 !important;
|
37 |
+
border:none !important;
|
38 |
+
list-style:none !important;
|
39 |
+
content:none !important;
|
40 |
+
}
|
41 |
+
|
42 |
+
#flags li:before {
|
43 |
+
content:none !important;
|
44 |
+
border:none !important;
|
45 |
+
background:none !important;
|
46 |
+
}
|
47 |
+
|
48 |
+
#flags a,
|
49 |
+
.tool-container .tool-items a {
|
50 |
+
cursor:pointer;
|
51 |
+
}
|
52 |
+
|
53 |
+
#flags.size24 a {
|
54 |
+
width:24px !important;
|
55 |
+
height:18px !important;
|
56 |
+
}
|
57 |
+
|
58 |
+
#flags.size22 a {
|
59 |
+
width:22px !important;
|
60 |
+
height:17px !important;
|
61 |
+
}
|
62 |
+
|
63 |
+
#flags.size20 a {
|
64 |
+
width:20px !important;
|
65 |
+
height:14px !important;
|
66 |
+
}
|
67 |
+
|
68 |
+
#flags.size18 a {
|
69 |
+
width:18px !important;
|
70 |
+
height:14px !important;
|
71 |
+
}
|
72 |
+
|
73 |
+
#flags.size16 a {
|
74 |
+
width:16px !important;
|
75 |
+
height:12px !important;
|
76 |
+
}
|
77 |
+
|
78 |
+
.tool-container .tool-items a {
|
79 |
+
display:inline-block;
|
80 |
+
margin:3px 5px 3px;
|
81 |
+
width:24px !important;
|
82 |
+
height:18px !important;
|
83 |
+
}
|
84 |
+
|
85 |
+
.goog-te-gadget {
|
86 |
+
color:#444;
|
87 |
+
font-size:11px;
|
88 |
+
font-family:"Arial",sans,sans-serif;
|
89 |
+
}
|
90 |
+
|
91 |
+
.goog-te-gadget img {
|
92 |
+
vertical-align:middle;
|
93 |
+
}
|
94 |
+
|
95 |
+
select.goog-te-combo:focus {
|
96 |
+
box-shadow:none !important;
|
97 |
+
-moz-box-shadow:none !important;
|
98 |
+
-webkit-box-shadow:none !important;
|
99 |
+
}
|
100 |
+
|
101 |
+
.metabox-holder {
|
102 |
+
width:65%;
|
103 |
+
float:left;
|
104 |
+
}
|
105 |
+
|
106 |
+
.metabox-holder h2 {
|
107 |
+
margin-bottom:18px;
|
108 |
+
}
|
109 |
+
|
110 |
+
.submit {
|
111 |
+
padding:0px;
|
112 |
+
}
|
113 |
+
|
114 |
+
.form-table th {
|
115 |
+
width:50%;
|
116 |
+
}
|
117 |
+
|
118 |
+
td.advanced {
|
119 |
+
padding-top:0px;
|
120 |
+
padding-bottom:0px;
|
121 |
+
}
|
122 |
+
|
123 |
+
p.hello {
|
124 |
+
font-size:12px;
|
125 |
+
color:darkgray;
|
126 |
+
}
|
127 |
+
|
128 |
+
.flag{
|
129 |
+
padding:1px 0;
|
130 |
+
}
|
131 |
+
|
132 |
+
a.nturl {
|
133 |
+
cursor:pointer;
|
134 |
+
}
|
135 |
+
|
136 |
+
.flag img,
|
137 |
+
.alt_flag img{
|
138 |
+
border:0px !important;
|
139 |
+
margin-top:2px !important;
|
140 |
+
padding:0px !important;
|
141 |
+
}
|
142 |
+
|
143 |
+
.attribution {
|
144 |
+
width:152px;
|
145 |
+
line-height:1em;
|
146 |
+
margin-top:4px;
|
147 |
+
}
|
148 |
+
|
149 |
+
span.goog-branding {
|
150 |
+
font-size: 11px;
|
151 |
+
font-family: arial;
|
152 |
+
color: rgb(102, 102, 102);
|
153 |
+
white-space: nowrap;
|
154 |
+
padding-top: 4px;
|
155 |
+
text-align: left;
|
156 |
+
width: 150px;
|
157 |
+
margin-top: 2px;
|
158 |
+
left:170px;
|
159 |
+
z-index: 9999;
|
160 |
+
float: right;
|
161 |
+
}
|
162 |
+
|
163 |
+
.goog-logo-link,
|
164 |
+
.goog-logo-link:link,
|
165 |
+
.goog-logo-link:visited,
|
166 |
+
.goog-logo-link:hover,
|
167 |
+
.goog-logo-link:active {
|
168 |
+
font-size: 12px;
|
169 |
+
font-weight: bold;
|
170 |
+
color: rgb(68, 68, 68);
|
171 |
+
text-decoration: none;
|
172 |
+
line-height:0.8em;
|
173 |
+
}
|
174 |
+
|
175 |
+
span.goog-branding img {
|
176 |
+
float: left;
|
177 |
+
margin:0px;
|
178 |
+
width: 37px;
|
179 |
+
|
180 |
+
}
|
181 |
+
|
182 |
+
span.vertical-translator {
|
183 |
+
position:auto;
|
184 |
+
float:none !important;
|
185 |
+
font-size: 11px;
|
186 |
+
font-family: arial;
|
187 |
+
color: rgb(102, 102, 102);
|
188 |
+
white-space: nowrap;
|
189 |
+
vertical-align: middle;
|
190 |
+
padding-top: 4px;
|
191 |
+
text-align: left;
|
192 |
+
width: 150px;
|
193 |
+
margin-top: 2px;
|
194 |
+
right: -50px;
|
195 |
+
z-index: 9999;
|
196 |
+
}
|
197 |
+
|
198 |
+
.tool-container .tool-items .flag img {
|
199 |
+
width:24px !important;
|
200 |
+
height:24px !important;
|
201 |
+
margin-top:1px !important;
|
202 |
+
}
|
203 |
+
|
204 |
+
.tool-items .flag {
|
205 |
+
padding:0px !important;
|
206 |
+
}
|
207 |
+
|
208 |
+
.tool-container {
|
209 |
+
line-height:1;
|
210 |
+
}
|
211 |
+
|
212 |
+
#footer-instance {
|
213 |
+
display:none !important;
|
214 |
+
}
|
215 |
+
|
216 |
+
code {
|
217 |
+
border:1px solid lightgray;
|
218 |
+
}
|
219 |
+
|
220 |
+
/* Individual flag backgrounds (22px) */
|
221 |
+
|
222 |
+
#flags.size22 a[title="Afrikaans"],
|
223 |
+
.tool-container .tool-items a[title="Afrikaans"] {
|
224 |
+
background:url('../images/flags22.png') -1px -3px no-repeat;
|
225 |
+
}
|
226 |
+
|
227 |
+
#flags.size22 a[title="Albanian"],
|
228 |
+
.tool-container .tool-items a[title="Albanian"] {
|
229 |
+
background:url('../images/flags22.png') -30px -3px no-repeat;
|
230 |
+
}
|
231 |
+
|
232 |
+
#flags.size22 a[title="Arabic"],
|
233 |
+
.tool-container .tool-items a[title="Arabic"] {
|
234 |
+
background:url('../images/flags22.png') -59px -3px no-repeat;
|
235 |
+
}
|
236 |
+
|
237 |
+
#flags.size22 a[title="Armenian"],
|
238 |
+
.tool-container .tool-items a[title="Armenian"] {
|
239 |
+
background:url('../images/flags22.png') -88px -3px no-repeat;
|
240 |
+
}
|
241 |
+
|
242 |
+
#flags.size22 a[title="Azerbaijani"],
|
243 |
+
.tool-container .tool-items a[title="Azerbaijani"] {
|
244 |
+
background:url('../images/flags22.png') -117px -3px no-repeat;
|
245 |
+
}
|
246 |
+
|
247 |
+
#flags.size22 a[title="Basque"],
|
248 |
+
.tool-container .tool-items a[title="Basque"] {
|
249 |
+
background:url('../images/flags22.png') -146px -3px no-repeat;
|
250 |
+
}
|
251 |
+
|
252 |
+
#flags.size22 a[title="Belarusian"],
|
253 |
+
.tool-container .tool-items a[title="Belarusian"] {
|
254 |
+
background:url('../images/flags22.png') -1px -32px no-repeat;
|
255 |
+
}
|
256 |
+
|
257 |
+
#flags.size22 a[title="Bengali"],
|
258 |
+
.tool-container .tool-items a[title="Bengali"] {
|
259 |
+
background:url('../images/flags22.png') -30px -32px no-repeat;
|
260 |
+
}
|
261 |
+
|
262 |
+
#flags.size22 a[title="Bosnian"],
|
263 |
+
.tool-container .tool-items a[title="Bosnian"] {
|
264 |
+
background:url('../images/flags22.png') -59px -32px no-repeat;
|
265 |
+
}
|
266 |
+
|
267 |
+
#flags.size22 a[title="Bulgarian"],
|
268 |
+
.tool-container .tool-items a[title="Bulgarian"] {
|
269 |
+
background:url('../images/flags22.png') -88px -32px no-repeat;
|
270 |
+
}
|
271 |
+
|
272 |
+
#flags.size22 a[title="Catalan"],
|
273 |
+
.tool-container .tool-items a[title="Catalan"] {
|
274 |
+
background:url('../images/flags22.png') -117px -32px no-repeat;
|
275 |
+
}
|
276 |
+
|
277 |
+
#flags.size22 a[title="Cebuano"],
|
278 |
+
.tool-container .tool-items a[title="Cebuano"] {
|
279 |
+
background:url('../images/flags22.png') -146px -32px no-repeat;
|
280 |
+
}
|
281 |
+
|
282 |
+
#flags.size22 a[title="Chinese(Simplified)"],
|
283 |
+
.tool-container .tool-items a[title="Chinese(Simplified)"] {
|
284 |
+
background:url('../images/flags22.png') -1px -61px no-repeat;
|
285 |
+
}
|
286 |
+
|
287 |
+
#flags.size22 a[title="Chinese(Traditional)"],
|
288 |
+
.tool-container .tool-items a[title="Chinese(Traditional)"] {
|
289 |
+
background:url('../images/flags22.png') -30px -61px no-repeat;
|
290 |
+
}
|
291 |
+
|
292 |
+
#flags.size22 a[title="Croatian"],
|
293 |
+
.tool-container .tool-items a[title="Croatian"] {
|
294 |
+
background:url('../images/flags22.png') -59px -61px no-repeat;
|
295 |
+
}
|
296 |
+
|
297 |
+
#flags.size22 a[title="Czech"],
|
298 |
+
.tool-container .tool-items a[title="Czech"] {
|
299 |
+
background:url('../images/flags22.png') -88px -61px no-repeat;
|
300 |
+
}
|
301 |
+
|
302 |
+
#flags.size22 a[title="Danish"],
|
303 |
+
.tool-container .tool-items a[title="Danish"] {
|
304 |
+
background:url('../images/flags22.png') -117px -61px no-repeat;
|
305 |
+
}
|
306 |
+
|
307 |
+
#flags.size22 a[title="Dutch"],
|
308 |
+
.tool-container .tool-items a[title="Dutch"] {
|
309 |
+
background:url('../images/flags22.png') -146px -61px no-repeat;
|
310 |
+
}
|
311 |
+
|
312 |
+
#flags.size22 a[title="Esperanto"],
|
313 |
+
.tool-container .tool-items a[title="Esperanto"] {
|
314 |
+
background:url('../images/flags22.png') -1px -90px no-repeat;
|
315 |
+
}
|
316 |
+
|
317 |
+
#flags.size22 a[title="Estonian"],
|
318 |
+
.tool-container .tool-items a[title="Estonian"] {
|
319 |
+
background:url('../images/flags22.png') -30px -90px no-repeat;
|
320 |
+
}
|
321 |
+
|
322 |
+
#flags.size22 a[title="Filipino"],
|
323 |
+
.tool-container .tool-items a[title="Filipino"] {
|
324 |
+
background:url('../images/flags22.png') -59px -90px no-repeat;
|
325 |
+
}
|
326 |
+
|
327 |
+
#flags.size22 a[title="Finnish"],
|
328 |
+
.tool-container .tool-items a[title="Finnish"] {
|
329 |
+
background:url('../images/flags22.png') -88px -90px no-repeat;
|
330 |
+
}
|
331 |
+
|
332 |
+
#flags.size22 a[title="French"],
|
333 |
+
.tool-container .tool-items a[title="French"] {
|
334 |
+
background:url('../images/flags22.png') -117px -90px no-repeat;
|
335 |
+
}
|
336 |
+
|
337 |
+
#flags.size22 a[title="Galician"],
|
338 |
+
.tool-container .tool-items a[title="Galician"] {
|
339 |
+
background:url('../images/flags22.png') -146px -90px no-repeat;
|
340 |
+
}
|
341 |
+
|
342 |
+
#flags.size22 a[title="Georgian"],
|
343 |
+
.tool-container .tool-items a[title="Georgian"] {
|
344 |
+
background:url('../images/flags22.png') -1px -119px no-repeat;
|
345 |
+
}
|
346 |
+
|
347 |
+
#flags.size22 a[title="German"],
|
348 |
+
.tool-container .tool-items a[title="German"] {
|
349 |
+
background:url('../images/flags22.png') -30px -119px no-repeat;
|
350 |
+
}
|
351 |
+
|
352 |
+
#flags.size22 a[title="Greek"],
|
353 |
+
.tool-container .tool-items a[title="Greek"] {
|
354 |
+
background:url('../images/flags22.png') -59px -119px no-repeat;
|
355 |
+
}
|
356 |
+
|
357 |
+
#flags.size22 a[title="Gujarati"],
|
358 |
+
.tool-container .tool-items a[title="Gujarati"] {
|
359 |
+
background:url('../images/flags22.png') -88px -119px no-repeat;
|
360 |
+
}
|
361 |
+
|
362 |
+
#flags.size22 a[title="Haitian"],
|
363 |
+
.tool-container .tool-items a[title="Haitian"] {
|
364 |
+
background:url('../images/flags22.png') -117px -119px no-repeat;
|
365 |
+
}
|
366 |
+
|
367 |
+
#flags.size22 a[title="Hausa"],
|
368 |
+
.tool-container .tool-items a[title="Hausa"] {
|
369 |
+
background:url('../images/flags22.png') -146px -119px no-repeat;
|
370 |
+
}
|
371 |
+
|
372 |
+
#flags.size22 a[title="Hebrew"],
|
373 |
+
.tool-container .tool-items a[title="Hebrew"] {
|
374 |
+
background:url('../images/flags22.png') -1px -148px no-repeat;
|
375 |
+
}
|
376 |
+
|
377 |
+
#flags.size22 a[title="Hindi"],
|
378 |
+
.tool-container .tool-items a[title="Hindi"] {
|
379 |
+
background:url('../images/flags22.png') -30px -148px no-repeat;
|
380 |
+
}
|
381 |
+
|
382 |
+
#flags.size22 a[title="Hmong"],
|
383 |
+
.tool-container .tool-items a[title="Hmong"] {
|
384 |
+
background:url('../images/flags22.png') -59px -148px no-repeat;
|
385 |
+
}
|
386 |
+
|
387 |
+
#flags.size22 a[title="Hungarian"],
|
388 |
+
.tool-container .tool-items a[title="Hungarian"] {
|
389 |
+
background:url('../images/flags22.png') -88px -148px no-repeat;
|
390 |
+
}
|
391 |
+
|
392 |
+
#flags.size22 a[title="Icelandic"],
|
393 |
+
.tool-container .tool-items a[title="Icelandic"] {
|
394 |
+
background:url('../images/flags22.png') -117px -148px no-repeat;
|
395 |
+
}
|
396 |
+
|
397 |
+
#flags.size22 a[title="Igbo"],
|
398 |
+
.tool-container .tool-items a[title="Igbo"] {
|
399 |
+
background:url('../images/flags22.png') -146px -148px no-repeat;
|
400 |
+
}
|
401 |
+
|
402 |
+
#flags.size22 a[title="Indonesian"],
|
403 |
+
.tool-container .tool-items a[title="Indonesian"] {
|
404 |
+
background:url('../images/flags22.png') -1px -177px no-repeat;
|
405 |
+
}
|
406 |
+
|
407 |
+
#flags.size22 a[title="Irish"],
|
408 |
+
.tool-container .tool-items a[title="Irish"] {
|
409 |
+
background:url('../images/flags22.png') -30px -177px no-repeat;
|
410 |
+
}
|
411 |
+
|
412 |
+
#flags.size22 a[title="Italian"],
|
413 |
+
.tool-container .tool-items a[title="Italian"] {
|
414 |
+
background:url('../images/flags22.png') -59px -177px no-repeat;
|
415 |
+
}
|
416 |
+
|
417 |
+
#flags.size22 a[title="Japanese"],
|
418 |
+
.tool-container .tool-items a[title="Japanese"] {
|
419 |
+
background:url('../images/flags22.png') -88px -177px no-repeat;
|
420 |
+
}
|
421 |
+
|
422 |
+
#flags.size22 a[title="Javanese"],
|
423 |
+
.tool-container .tool-items a[title="Javanese"] {
|
424 |
+
background:url('../images/flags22.png') -117px -177px no-repeat;
|
425 |
+
}
|
426 |
+
|
427 |
+
#flags.size22 a[title="Kannada"],
|
428 |
+
.tool-container .tool-items a[title="Kannada"] {
|
429 |
+
background:url('../images/flags22.png') -146px -177px no-repeat;
|
430 |
+
}
|
431 |
+
|
432 |
+
#flags.size22 a[title="Khmer"],
|
433 |
+
.tool-container .tool-items a[title="Khmer"] {
|
434 |
+
background:url('../images/flags22.png') -1px -206px no-repeat;
|
435 |
+
}
|
436 |
+
|
437 |
+
#flags.size22 a[title="Korean"],
|
438 |
+
.tool-container .tool-items a[title="Korean"] {
|
439 |
+
background:url('../images/flags22.png') -30px -206px no-repeat;
|
440 |
+
}
|
441 |
+
|
442 |
+
#flags.size22 a[title="Lao"],
|
443 |
+
.tool-container .tool-items a[title="Lao"] {
|
444 |
+
background:url('../images/flags22.png') -59px -206px no-repeat;
|
445 |
+
}
|
446 |
+
|
447 |
+
#flags.size22 a[title="Latin"],
|
448 |
+
.tool-container .tool-items a[title="Latin"] {
|
449 |
+
background:url('../images/flags22.png') -88px -206px no-repeat;
|
450 |
+
}
|
451 |
+
|
452 |
+
#flags.size22 a[title="Latvian"],
|
453 |
+
.tool-container .tool-items a[title="Latvian"] {
|
454 |
+
background:url('../images/flags22.png') -117px -206px no-repeat;
|
455 |
+
}
|
456 |
+
|
457 |
+
#flags.size22 a[title="Lithuanian"],
|
458 |
+
.tool-container .tool-items a[title="Lithuanian"] {
|
459 |
+
background:url('../images/flags22.png') -146px -206px no-repeat;
|
460 |
+
}
|
461 |
+
|
462 |
+
#flags.size22 a[title="Macedonian"],
|
463 |
+
.tool-container .tool-items a[title="Macedonian"] {
|
464 |
+
background:url('../images/flags22.png') -1px -235px no-repeat;
|
465 |
+
}
|
466 |
+
|
467 |
+
#flags.size22 a[title="Malay"],
|
468 |
+
.tool-container .tool-items a[title="Malay"] {
|
469 |
+
background:url('../images/flags22.png') -30px -235px no-repeat;
|
470 |
+
}
|
471 |
+
|
472 |
+
#flags.size22 a[title="Maltese"],
|
473 |
+
.tool-container .tool-items a[title="Maltese"] {
|
474 |
+
background:url('../images/flags22.png') -59px -235px no-repeat;
|
475 |
+
}
|
476 |
+
|
477 |
+
#flags.size22 a[title="Maori"],
|
478 |
+
.tool-container .tool-items a[title="Maori"] {
|
479 |
+
background:url('../images/flags22.png') -88px -235px no-repeat;
|
480 |
+
}
|
481 |
+
|
482 |
+
#flags.size22 a[title="Marathi"],
|
483 |
+
.tool-container .tool-items a[title="Marathi"] {
|
484 |
+
background:url('../images/flags22.png') -117px -235px no-repeat;
|
485 |
+
}
|
486 |
+
|
487 |
+
#flags.size22 a[title="Mongolian"],
|
488 |
+
.tool-container .tool-items a[title="Mongolian"] {
|
489 |
+
background:url('../images/flags22.png') -146px -235px no-repeat;
|
490 |
+
}
|
491 |
+
|
492 |
+
#flags.size22 a[title="Nepali"],
|
493 |
+
.tool-container .tool-items a[title="Nepali"] {
|
494 |
+
background:url('../images/flags22.png') -1px -264px no-repeat;
|
495 |
+
}
|
496 |
+
|
497 |
+
#flags.size22 a[title="Norwegian"],
|
498 |
+
.tool-container .tool-items a[title="Norwegian"] {
|
499 |
+
background:url('../images/flags22.png') -30px -264px no-repeat;
|
500 |
+
}
|
501 |
+
|
502 |
+
#flags.size22 a[title="Persian"],
|
503 |
+
.tool-container .tool-items a[title="Persian"] {
|
504 |
+
background:url('../images/flags22.png') -59px -264px no-repeat;
|
505 |
+
}
|
506 |
+
|
507 |
+
#flags.size22 a[title="Polish"],
|
508 |
+
.tool-container .tool-items a[title="Polish"] {
|
509 |
+
background:url('../images/flags22.png') -88px -264px no-repeat;
|
510 |
+
}
|
511 |
+
|
512 |
+
#flags.size22 a[title="Portuguese"],
|
513 |
+
.tool-container .tool-items a[title="Portuguese"] {
|
514 |
+
background:url('../images/flags22.png') -117px -264px no-repeat;
|
515 |
+
}
|
516 |
+
|
517 |
+
#flags.size22 a[title="Punjabi"],
|
518 |
+
.tool-container .tool-items a[title="Punjabi"] {
|
519 |
+
background:url('../images/flags22.png') -146px -264px no-repeat;
|
520 |
+
}
|
521 |
+
|
522 |
+
#flags.size22 a[title="Romanian"],
|
523 |
+
.tool-container .tool-items a[title="Romanian"] {
|
524 |
+
background:url('../images/flags22.png') -1px -293px no-repeat;
|
525 |
+
}
|
526 |
+
|
527 |
+
#flags.size22 a[title="Russian"],
|
528 |
+
.tool-container .tool-items a[title="Russian"] {
|
529 |
+
background:url('../images/flags22.png') -30px -293px no-repeat;
|
530 |
+
}
|
531 |
+
|
532 |
+
#flags.size22 a[title="Serbian"],
|
533 |
+
.tool-container .tool-items a[title="Serbian"] {
|
534 |
+
background:url('../images/flags22.png') -59px -293px no-repeat;
|
535 |
+
}
|
536 |
+
|
537 |
+
#flags.size22 a[title="Slovak"],
|
538 |
+
.tool-container .tool-items a[title="Slovak"] {
|
539 |
+
background:url('../images/flags22.png') -88px -293px no-repeat;
|
540 |
+
}
|
541 |
+
|
542 |
+
#flags.size22 a[title="Slovenian"],
|
543 |
+
.tool-container .tool-items a[title="Slovenian"] {
|
544 |
+
background:url('../images/flags22.png') -117px -293px no-repeat;
|
545 |
+
}
|
546 |
+
|
547 |
+
#flags.size22 a[title="Somali"],
|
548 |
+
.tool-container .tool-items a[title="Somali"] {
|
549 |
+
background:url('../images/flags22.png') -146px -293px no-repeat;
|
550 |
+
}
|
551 |
+
|
552 |
+
#flags.size22 a[title="Spanish"],
|
553 |
+
.tool-container .tool-items a[title="Spanish"] {
|
554 |
+
background:url('../images/flags22.png') -1px -322px no-repeat;
|
555 |
+
}
|
556 |
+
|
557 |
+
#flags.size22 a[title="Swahili"],
|
558 |
+
.tool-container .tool-items a[title="Swahili"] {
|
559 |
+
background:url('../images/flags22.png') -30px -322px no-repeat;
|
560 |
+
}
|
561 |
+
|
562 |
+
#flags.size22 a[title="Swedish"],
|
563 |
+
.tool-container .tool-items a[title="Swedish"] {
|
564 |
+
background:url('../images/flags22.png') -59px -322px no-repeat;
|
565 |
+
}
|
566 |
+
|
567 |
+
#flags.size22 a[title="Tamil"],
|
568 |
+
.tool-container .tool-items a[title="Tamil"] {
|
569 |
+
background:url('../images/flags22.png') -88px -322px no-repeat;
|
570 |
+
}
|
571 |
+
|
572 |
+
#flags.size22 a[title="Telugu"],
|
573 |
+
.tool-container .tool-items a[title="Telugu"] {
|
574 |
+
background:url('../images/flags22.png') -117px -322px no-repeat;
|
575 |
+
}
|
576 |
+
|
577 |
+
#flags.size22 a[title="Thai"],
|
578 |
+
.tool-container .tool-items a[title="Thai"] {
|
579 |
+
background:url('../images/flags22.png') -146px -322px no-repeat;
|
580 |
+
}
|
581 |
+
|
582 |
+
#flags.size22 a[title="Turkish"],
|
583 |
+
.tool-container .tool-items a[title="Turkish"] {
|
584 |
+
background:url('../images/flags22.png') -30px -351px no-repeat;
|
585 |
+
}
|
586 |
+
|
587 |
+
#flags.size22 a[title="Ukranian"],
|
588 |
+
.tool-container .tool-items a[title="Ukranian"] {
|
589 |
+
background:url('../images/flags22.png') -59px -351px no-repeat;
|
590 |
+
}
|
591 |
+
|
592 |
+
#flags.size22 a[title="English"],
|
593 |
+
.tool-container .tool-items a[title="English"] {
|
594 |
+
background:url('../images/flags22.png') -88px -351px no-repeat;
|
595 |
+
}
|
596 |
+
|
597 |
+
#flags.size22 a[title="Urdu"],
|
598 |
+
.tool-container .tool-items a[title="Urdu"] {
|
599 |
+
background:url('../images/flags22.png') -146px -351px no-repeat;
|
600 |
+
}
|
601 |
+
|
602 |
+
#flags.size22 a[title="Vietnamese"],
|
603 |
+
.tool-container .tool-items a[title="Vietnamese"] {
|
604 |
+
background:url('../images/flags22.png') -1px -380px no-repeat;
|
605 |
+
}
|
606 |
+
|
607 |
+
#flags.size22 a[title="Welsh"],
|
608 |
+
.tool-container .tool-items a[title="Welsh"] {
|
609 |
+
background:url('../images/flags22.png') -30px -380px no-repeat;
|
610 |
+
}
|
611 |
+
|
612 |
+
#flags.size22 a[title="Yiddish"],
|
613 |
+
.tool-container .tool-items a[title="Yiddish"] {
|
614 |
+
background:url('../images/flags22.png') -59px -380px no-repeat;
|
615 |
+
}
|
616 |
+
|
617 |
+
#flags.size22 a[title="Yoruba"],
|
618 |
+
.tool-container .tool-items a[title="Yoruba"] {
|
619 |
+
background:url('../images/flags22.png') -88px -380px no-repeat;
|
620 |
+
}
|
621 |
+
|
622 |
+
#flags.size22 a[title="Zulu"],
|
623 |
+
.tool-container .tool-items a[title="Zulu"] {
|
624 |
+
background:url('../images/flags22.png') -117px -380px no-repeat;
|
625 |
+
}
|
626 |
+
|
627 |
+
/* Individual flag backgrounds (18px) */
|
628 |
+
|
629 |
+
#flags.size18 a[title="Afrikaans"],
|
630 |
+
.tool-container .tool-items a[title="Afrikaans"] {
|
631 |
+
background:url('../images/flags18.png') -2px -4px no-repeat;
|
632 |
+
}
|
633 |
+
|
634 |
+
#flags.size18 a[title="Albanian"],
|
635 |
+
.tool-container .tool-items a[title="Albanian"] {
|
636 |
+
background:url('../images/flags18.png') -31px -4px no-repeat;
|
637 |
+
}
|
638 |
+
|
639 |
+
#flags.size18 a[title="Arabic"],
|
640 |
+
.tool-container .tool-items a[title="Arabic"] {
|
641 |
+
background:url('../images/flags18.png') -60px -4px no-repeat;
|
642 |
+
}
|
643 |
+
|
644 |
+
#flags.size18 a[title="Armenian"],
|
645 |
+
.tool-container .tool-items a[title="Armenian"] {
|
646 |
+
background:url('../images/flags18.png') -89px -4px no-repeat;
|
647 |
+
}
|
648 |
+
|
649 |
+
#flags.size18 a[title="Azerbaijani"],
|
650 |
+
.tool-container .tool-items a[title="Azerbaijani"] {
|
651 |
+
background:url('../images/flags18.png') -118px -4px no-repeat;
|
652 |
+
}
|
653 |
+
|
654 |
+
#flags.size18 a[title="Basque"],
|
655 |
+
.tool-container .tool-items a[title="Basque"] {
|
656 |
+
background:url('../images/flags18.png') -147px -4px no-repeat;
|
657 |
+
}
|
658 |
+
|
659 |
+
#flags.size18 a[title="Belarusian"],
|
660 |
+
.tool-container .tool-items a[title="Belarusian"] {
|
661 |
+
background:url('../images/flags18.png') -2px -33px no-repeat;
|
662 |
+
}
|
663 |
+
|
664 |
+
#flags.size18 a[title="Bengali"],
|
665 |
+
.tool-container .tool-items a[title="Bengali"] {
|
666 |
+
background:url('../images/flags18.png') -31px -33px no-repeat;
|
667 |
+
}
|
668 |
+
|
669 |
+
#flags.size18 a[title="Bosnian"],
|
670 |
+
.tool-container .tool-items a[title="Bosnian"] {
|
671 |
+
background:url('../images/flags18.png') -60px -33px no-repeat;
|
672 |
+
}
|
673 |
+
|
674 |
+
#flags.size18 a[title="Bulgarian"],
|
675 |
+
.tool-container .tool-items a[title="Bulgarian"] {
|
676 |
+
background:url('../images/flags18.png') -89px -33px no-repeat;
|
677 |
+
}
|
678 |
+
|
679 |
+
#flags.size18 a[title="Catalan"],
|
680 |
+
.tool-container .tool-items a[title="Catalan"] {
|
681 |
+
background:url('../images/flags18.png') -118px -33px no-repeat;
|
682 |
+
}
|
683 |
+
|
684 |
+
#flags.size18 a[title="Cebuano"],
|
685 |
+
.tool-container .tool-items a[title="Cebuano"] {
|
686 |
+
background:url('../images/flags18.png') -147px -33px no-repeat;
|
687 |
+
}
|
688 |
+
|
689 |
+
#flags.size18 a[title="Chinese(Simplified)"],
|
690 |
+
.tool-container .tool-items a[title="Chinese(Simplified)"] {
|
691 |
+
background:url('../images/flags18.png') -2px -62px no-repeat;
|
692 |
+
}
|
693 |
+
|
694 |
+
#flags.size18 a[title="Chinese(Traditional)"],
|
695 |
+
.tool-container .tool-items a[title="Chinese(Traditional)"] {
|
696 |
+
background:url('../images/flags18.png') -31px -62px no-repeat;
|
697 |
+
}
|
698 |
+
|
699 |
+
#flags.size18 a[title="Croatian"],
|
700 |
+
.tool-container .tool-items a[title="Croatian"] {
|
701 |
+
background:url('../images/flags18.png') -60px -62px no-repeat;
|
702 |
+
}
|
703 |
+
|
704 |
+
#flags.size18 a[title="Czech"],
|
705 |
+
.tool-container .tool-items a[title="Czech"] {
|
706 |
+
background:url('../images/flags18.png') -89px -62px no-repeat;
|
707 |
+
}
|
708 |
+
|
709 |
+
#flags.size18 a[title="Danish"],
|
710 |
+
.tool-container .tool-items a[title="Danish"] {
|
711 |
+
background:url('../images/flags18.png') -118px -62px no-repeat;
|
712 |
+
}
|
713 |
+
|
714 |
+
#flags.size18 a[title="Dutch"],
|
715 |
+
.tool-container .tool-items a[title="Dutch"] {
|
716 |
+
background:url('../images/flags18.png') -147px -62px no-repeat;
|
717 |
+
}
|
718 |
+
|
719 |
+
#flags.size18 a[title="Esperanto"],
|
720 |
+
.tool-container .tool-items a[title="Esperanto"] {
|
721 |
+
background:url('../images/flags18.png') -2px -91px no-repeat;
|
722 |
+
}
|
723 |
+
|
724 |
+
#flags.size18 a[title="Estonian"],
|
725 |
+
.tool-container .tool-items a[title="Estonian"] {
|
726 |
+
background:url('../images/flags18.png') -31px -91px no-repeat;
|
727 |
+
}
|
728 |
+
|
729 |
+
#flags.size18 a[title="Filipino"],
|
730 |
+
.tool-container .tool-items a[title="Filipino"] {
|
731 |
+
background:url('../images/flags18.png') -60px -91px no-repeat;
|
732 |
+
}
|
733 |
+
|
734 |
+
#flags.size18 a[title="Finnish"],
|
735 |
+
.tool-container .tool-items a[title="Finnish"] {
|
736 |
+
background:url('../images/flags18.png') -89px -91px no-repeat;
|
737 |
+
}
|
738 |
+
|
739 |
+
#flags.size18 a[title="French"],
|
740 |
+
.tool-container .tool-items a[title="French"] {
|
741 |
+
background:url('../images/flags18.png') -118px -91px no-repeat;
|
742 |
+
}
|
743 |
+
|
744 |
+
#flags.size18 a[title="Galician"],
|
745 |
+
.tool-container .tool-items a[title="Galician"] {
|
746 |
+
background:url('../images/flags18.png') -147px -91px no-repeat;
|
747 |
+
}
|
748 |
+
|
749 |
+
#flags.size18 a[title="Georgian"],
|
750 |
+
.tool-container .tool-items a[title="Georgian"] {
|
751 |
+
background:url('../images/flags18.png') -2px -120px no-repeat;
|
752 |
+
}
|
753 |
+
|
754 |
+
#flags.size18 a[title="German"],
|
755 |
+
.tool-container .tool-items a[title="German"] {
|
756 |
+
background:url('../images/flags18.png') -31px -120px no-repeat;
|
757 |
+
}
|
758 |
+
|
759 |
+
#flags.size18 a[title="Greek"],
|
760 |
+
.tool-container .tool-items a[title="Greek"] {
|
761 |
+
background:url('../images/flags18.png') -60px -120px no-repeat;
|
762 |
+
}
|
763 |
+
|
764 |
+
#flags.size18 a[title="Gujarati"],
|
765 |
+
.tool-container .tool-items a[title="Gujarati"] {
|
766 |
+
background:url('../images/flags18.png') -89px -120px no-repeat;
|
767 |
+
}
|
768 |
+
|
769 |
+
#flags.size18 a[title="Haitian"],
|
770 |
+
.tool-container .tool-items a[title="Haitian"] {
|
771 |
+
background:url('../images/flags18.png') -118px -120px no-repeat;
|
772 |
+
}
|
773 |
+
|
774 |
+
#flags.size18 a[title="Hausa"],
|
775 |
+
.tool-container .tool-items a[title="Hausa"] {
|
776 |
+
background:url('../images/flags18.png') -147px -120px no-repeat;
|
777 |
+
}
|
778 |
+
|
779 |
+
#flags.size18 a[title="Hebrew"],
|
780 |
+
.tool-container .tool-items a[title="Hebrew"] {
|
781 |
+
background:url('../images/flags18.png') -2px -149px no-repeat;
|
782 |
+
}
|
783 |
+
|
784 |
+
#flags.size18 a[title="Hindi"],
|
785 |
+
.tool-container .tool-items a[title="Hindi"] {
|
786 |
+
background:url('../images/flags18.png') -31px -149px no-repeat;
|
787 |
+
}
|
788 |
+
|
789 |
+
#flags.size18 a[title="Hmong"],
|
790 |
+
.tool-container .tool-items a[title="Hmong"] {
|
791 |
+
background:url('../images/flags18.png') -60px -149px no-repeat;
|
792 |
+
}
|
793 |
+
|
794 |
+
#flags.size18 a[title="Hungarian"],
|
795 |
+
.tool-container .tool-items a[title="Hungarian"] {
|
796 |
+
background:url('../images/flags18.png') -89px -149px no-repeat;
|
797 |
+
}
|
798 |
+
|
799 |
+
#flags.size18 a[title="Icelandic"],
|
800 |
+
.tool-container .tool-items a[title="Icelandic"] {
|
801 |
+
background:url('../images/flags18.png') -118px -149px no-repeat;
|
802 |
+
}
|
803 |
+
|
804 |
+
#flags.size18 a[title="Igbo"],
|
805 |
+
.tool-container .tool-items a[title="Igbo"] {
|
806 |
+
background:url('../images/flags18.png') -147px -149px no-repeat;
|
807 |
+
}
|
808 |
+
|
809 |
+
#flags.size18 a[title="Indonesian"],
|
810 |
+
.tool-container .tool-items a[title="Indonesian"] {
|
811 |
+
background:url('../images/flags18.png') -2px -178px no-repeat;
|
812 |
+
}
|
813 |
+
|
814 |
+
#flags.size18 a[title="Irish"],
|
815 |
+
.tool-container .tool-items a[title="Irish"] {
|
816 |
+
background:url('../images/flags18.png') -31px -178px no-repeat;
|
817 |
+
}
|
818 |
+
|
819 |
+
#flags.size18 a[title="Italian"],
|
820 |
+
.tool-container .tool-items a[title="Italian"] {
|
821 |
+
background:url('../images/flags18.png') -60px -178px no-repeat;
|
822 |
+
}
|
823 |
+
|
824 |
+
#flags.size18 a[title="Japanese"],
|
825 |
+
.tool-container .tool-items a[title="Japanese"] {
|
826 |
+
background:url('../images/flags18.png') -89px -178px no-repeat;
|
827 |
+
}
|
828 |
+
|
829 |
+
#flags.size18 a[title="Javanese"],
|
830 |
+
.tool-container .tool-items a[title="Javanese"] {
|
831 |
+
background:url('../images/flags18.png') -118px -178px no-repeat;
|
832 |
+
}
|
833 |
+
|
834 |
+
#flags.size18 a[title="Kannada"],
|
835 |
+
.tool-container .tool-items a[title="Kannada"] {
|
836 |
+
background:url('../images/flags18.png') -147px -178px no-repeat;
|
837 |
+
}
|
838 |
+
|
839 |
+
#flags.size18 a[title="Khmer"],
|
840 |
+
.tool-container .tool-items a[title="Khmer"] {
|
841 |
+
background:url('../images/flags18.png') -2px -207px no-repeat;
|
842 |
+
}
|
843 |
+
|
844 |
+
#flags.size18 a[title="Korean"],
|
845 |
+
.tool-container .tool-items a[title="Korean"] {
|
846 |
+
background:url('../images/flags18.png') -31px -207px no-repeat;
|
847 |
+
}
|
848 |
+
|
849 |
+
#flags.size18 a[title="Lao"],
|
850 |
+
.tool-container .tool-items a[title="Lao"] {
|
851 |
+
background:url('../images/flags18.png') -60px -207px no-repeat;
|
852 |
+
}
|
853 |
+
|
854 |
+
#flags.size18 a[title="Latin"],
|
855 |
+
.tool-container .tool-items a[title="Latin"] {
|
856 |
+
background:url('../images/flags18.png') -89px -207px no-repeat;
|
857 |
+
}
|
858 |
+
|
859 |
+
#flags.size18 a[title="Latvian"],
|
860 |
+
.tool-container .tool-items a[title="Latvian"] {
|
861 |
+
background:url('../images/flags18.png') -118px -207px no-repeat;
|
862 |
+
}
|
863 |
+
|
864 |
+
#flags.size18 a[title="Lithuanian"],
|
865 |
+
.tool-container .tool-items a[title="Lithuanian"] {
|
866 |
+
background:url('../images/flags18.png') -147px -207px no-repeat;
|
867 |
+
}
|
868 |
+
|
869 |
+
#flags.size18 a[title="Macedonian"],
|
870 |
+
.tool-container .tool-items a[title="Macedonian"] {
|
871 |
+
background:url('../images/flags18.png') -2px -236px no-repeat;
|
872 |
+
}
|
873 |
+
|
874 |
+
#flags.size18 a[title="Malay"],
|
875 |
+
.tool-container .tool-items a[title="Malay"] {
|
876 |
+
background:url('../images/flags18.png') -31px -236px no-repeat;
|
877 |
+
}
|
878 |
+
|
879 |
+
#flags.size18 a[title="Maltese"],
|
880 |
+
.tool-container .tool-items a[title="Maltese"] {
|
881 |
+
background:url('../images/flags18.png') -60px -236px no-repeat;
|
882 |
+
}
|
883 |
+
|
884 |
+
#flags.size18 a[title="Maori"],
|
885 |
+
.tool-container .tool-items a[title="Maori"] {
|
886 |
+
background:url('../images/flags18.png') -89px -236px no-repeat;
|
887 |
+
}
|
888 |
+
|
889 |
+
#flags.size18 a[title="Marathi"],
|
890 |
+
.tool-container .tool-items a[title="Marathi"] {
|
891 |
+
background:url('../images/flags18.png') -118px -236px no-repeat;
|
892 |
+
}
|
893 |
+
|
894 |
+
#flags.size18 a[title="Mongolian"],
|
895 |
+
.tool-container .tool-items a[title="Mongolian"] {
|
896 |
+
background:url('../images/flags18.png') -147px -236px no-repeat;
|
897 |
+
}
|
898 |
+
|
899 |
+
#flags.size18 a[title="Nepali"],
|
900 |
+
.tool-container .tool-items a[title="Nepali"] {
|
901 |
+
background:url('../images/flags18.png') -2px -265px no-repeat;
|
902 |
+
}
|
903 |
+
|
904 |
+
#flags.size18 a[title="Norwegian"],
|
905 |
+
.tool-container .tool-items a[title="Norwegian"] {
|
906 |
+
background:url('../images/flags18.png') -31px -265px no-repeat;
|
907 |
+
}
|
908 |
+
|
909 |
+
#flags.size18 a[title="Persian"],
|
910 |
+
.tool-container .tool-items a[title="Persian"] {
|
911 |
+
background:url('../images/flags18.png') -60px -265px no-repeat;
|
912 |
+
}
|
913 |
+
|
914 |
+
#flags.size18 a[title="Polish"],
|
915 |
+
.tool-container .tool-items a[title="Polish"] {
|
916 |
+
background:url('../images/flags18.png') -89px -265px no-repeat;
|
917 |
+
}
|
918 |
+
|
919 |
+
#flags.size18 a[title="Portuguese"],
|
920 |
+
.tool-container .tool-items a[title="Portuguese"] {
|
921 |
+
background:url('../images/flags18.png') -118px -265px no-repeat;
|
922 |
+
}
|
923 |
+
|
924 |
+
#flags.size18 a[title="Punjabi"],
|
925 |
+
.tool-container .tool-items a[title="Punjabi"] {
|
926 |
+
background:url('../images/flags18.png') -147px -265px no-repeat;
|
927 |
+
}
|
928 |
+
|
929 |
+
#flags.size18 a[title="Romanian"],
|
930 |
+
.tool-container .tool-items a[title="Romanian"] {
|
931 |
+
background:url('../images/flags18.png') -2px -294px no-repeat;
|
932 |
+
}
|
933 |
+
|
934 |
+
#flags.size18 a[title="Russian"],
|
935 |
+
.tool-container .tool-items a[title="Russian"] {
|
936 |
+
background:url('../images/flags18.png') -31px -294px no-repeat;
|
937 |
+
}
|
938 |
+
|
939 |
+
#flags.size18 a[title="Serbian"],
|
940 |
+
.tool-container .tool-items a[title="Serbian"] {
|
941 |
+
background:url('../images/flags18.png') -60px -294px no-repeat;
|
942 |
+
}
|
943 |
+
|
944 |
+
#flags.size18 a[title="Slovak"],
|
945 |
+
.tool-container .tool-items a[title="Slovak"] {
|
946 |
+
background:url('../images/flags18.png') -89px -294px no-repeat;
|
947 |
+
}
|
948 |
+
|
949 |
+
#flags.size18 a[title="Slovenian"],
|
950 |
+
.tool-container .tool-items a[title="Slovenian"] {
|
951 |
+
background:url('../images/flags18.png') -118px -294px no-repeat;
|
952 |
+
}
|
953 |
+
|
954 |
+
#flags.size18 a[title="Somali"],
|
955 |
+
.tool-container .tool-items a[title="Somali"] {
|
956 |
+
background:url('../images/flags18.png') -147px -294px no-repeat;
|
957 |
+
}
|
958 |
+
|
959 |
+
#flags.size18 a[title="Spanish"],
|
960 |
+
.tool-container .tool-items a[title="Spanish"] {
|
961 |
+
background:url('../images/flags18.png') -2px -323px no-repeat;
|
962 |
+
}
|
963 |
+
|
964 |
+
#flags.size18 a[title="Swahili"],
|
965 |
+
.tool-container .tool-items a[title="Swahili"] {
|
966 |
+
background:url('../images/flags18.png') -31px -323px no-repeat;
|
967 |
+
}
|
968 |
+
|
969 |
+
#flags.size18 a[title="Swedish"],
|
970 |
+
.tool-container .tool-items a[title="Swedish"] {
|
971 |
+
background:url('../images/flags18.png') -60px -323px no-repeat;
|
972 |
+
}
|
973 |
+
|
974 |
+
#flags.size18 a[title="Tamil"],
|
975 |
+
.tool-container .tool-items a[title="Tamil"] {
|
976 |
+
background:url('../images/flags18.png') -89px -323px no-repeat;
|
977 |
+
}
|
978 |
+
|
979 |
+
#flags.size18 a[title="Telugu"],
|
980 |
+
.tool-container .tool-items a[title="Telugu"] {
|
981 |
+
background:url('../images/flags18.png') -118px -323px no-repeat;
|
982 |
+
}
|
983 |
+
|
984 |
+
#flags.size18 a[title="Thai"],
|
985 |
+
.tool-container .tool-items a[title="Thai"] {
|
986 |
+
background:url('../images/flags18.png') -147px -323px no-repeat;
|
987 |
+
}
|
988 |
+
|
989 |
+
#flags.size18 a[title="Turkish"],
|
990 |
+
.tool-container .tool-items a[title="Turkish"] {
|
991 |
+
background:url('../images/flags18.png') -31px -352px no-repeat;
|
992 |
+
}
|
993 |
+
|
994 |
+
#flags.size18 a[title="Ukranian"],
|
995 |
+
.tool-container .tool-items a[title="Ukranian"] {
|
996 |
+
background:url('../images/flags18.png') -60px -352px no-repeat;
|
997 |
+
}
|
998 |
+
|
999 |
+
#flags.size18 a[title="English"],
|
1000 |
+
.tool-container .tool-items a[title="English"] {
|
1001 |
+
background:url('../images/flags18.png') -89px -352px no-repeat;
|
1002 |
+
}
|
1003 |
+
|
1004 |
+
#flags.size18 a[title="Urdu"],
|
1005 |
+
.tool-container .tool-items a[title="Urdu"] {
|
1006 |
+
background:url('../images/flags18.png') -147px -352px no-repeat;
|
1007 |
+
}
|
1008 |
+
|
1009 |
+
#flags.size18 a[title="Vietnamese"],
|
1010 |
+
.tool-container .tool-items a[title="Vietnamese"] {
|
1011 |
+
background:url('../images/flags18.png') -2px -381px no-repeat;
|
1012 |
+
}
|
1013 |
+
|
1014 |
+
#flags.size18 a[title="Welsh"],
|
1015 |
+
.tool-container .tool-items a[title="Welsh"] {
|
1016 |
+
background:url('../images/flags18.png') -31px -381px no-repeat;
|
1017 |
+
}
|
1018 |
+
|
1019 |
+
#flags.size18 a[title="Yiddish"],
|
1020 |
+
.tool-container .tool-items a[title="Yiddish"] {
|
1021 |
+
background:url('../images/flags18.png') -60px -381px no-repeat;
|
1022 |
+
}
|
1023 |
+
|
1024 |
+
#flags.size18 a[title="Yoruba"],
|
1025 |
+
.tool-container .tool-items a[title="Yoruba"] {
|
1026 |
+
background:url('../images/flags18.png') -89px -381px no-repeat;
|
1027 |
+
}
|
1028 |
+
|
1029 |
+
#flags.size18 a[title="Zulu"],
|
1030 |
+
.tool-container .tool-items a[title="Zulu"] {
|
1031 |
+
background:url('../images/flags18.png') -118px -381px no-repeat;
|
1032 |
+
}
|
1033 |
+
|
1034 |
+
/* Individual flag backgrounds (20px) */
|
1035 |
+
|
1036 |
+
#flags.size20 a[title="Afrikaans"],
|
1037 |
+
.tool-container .tool-items a[title="Afrikaans"] {
|
1038 |
+
background:url('../images/flags20.png') -2px -4px no-repeat;
|
1039 |
+
}
|
1040 |
+
|
1041 |
+
#flags.size20 a[title="Albanian"],
|
1042 |
+
.tool-container .tool-items a[title="Albanian"] {
|
1043 |
+
background:url('../images/flags20.png') -31px -4px no-repeat;
|
1044 |
+
}
|
1045 |
+
|
1046 |
+
#flags.size20 a[title="Arabic"],
|
1047 |
+
.tool-container .tool-items a[title="Arabic"] {
|
1048 |
+
background:url('../images/flags20.png') -60px -4px no-repeat;
|
1049 |
+
}
|
1050 |
+
|
1051 |
+
#flags.size20 a[title="Armenian"],
|
1052 |
+
.tool-container .tool-items a[title="Armenian"] {
|
1053 |
+
background:url('../images/flags20.png') -89px -4px no-repeat;
|
1054 |
+
}
|
1055 |
+
|
1056 |
+
#flags.size20 a[title="Azerbaijani"],
|
1057 |
+
.tool-container .tool-items a[title="Azerbaijani"] {
|
1058 |
+
background:url('../images/flags20.png') -118px -4px no-repeat;
|
1059 |
+
}
|
1060 |
+
|
1061 |
+
#flags.size20 a[title="Basque"],
|
1062 |
+
.tool-container .tool-items a[title="Basque"] {
|
1063 |
+
background:url('../images/flags20.png') -147px -4px no-repeat;
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
#flags.size20 a[title="Belarusian"],
|
1067 |
+
.tool-container .tool-items a[title="Belarusian"] {
|
1068 |
+
background:url('../images/flags20.png') -2px -33px no-repeat;
|
1069 |
+
}
|
1070 |
+
|
1071 |
+
#flags.size20 a[title="Bengali"],
|
1072 |
+
.tool-container .tool-items a[title="Bengali"] {
|
1073 |
+
background:url('../images/flags20.png') -31px -33px no-repeat;
|
1074 |
+
}
|
1075 |
+
|
1076 |
+
#flags.size20 a[title="Bosnian"],
|
1077 |
+
.tool-container .tool-items a[title="Bosnian"] {
|
1078 |
+
background:url('../images/flags20.png') -60px -33px no-repeat;
|
1079 |
+
}
|
1080 |
+
|
1081 |
+
#flags.size20 a[title="Bulgarian"],
|
1082 |
+
.tool-container .tool-items a[title="Bulgarian"] {
|
1083 |
+
background:url('../images/flags20.png') -89px -33px no-repeat;
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
#flags.size20 a[title="Catalan"],
|
1087 |
+
.tool-container .tool-items a[title="Catalan"] {
|
1088 |
+
background:url('../images/flags20.png') -118px -33px no-repeat;
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
#flags.size20 a[title="Cebuano"],
|
1092 |
+
.tool-container .tool-items a[title="Cebuano"] {
|
1093 |
+
background:url('../images/flags20.png') -147px -33px no-repeat;
|
1094 |
+
}
|
1095 |
+
|
1096 |
+
#flags.size20 a[title="Chinese(Simplified)"],
|
1097 |
+
.tool-container .tool-items a[title="Chinese(Simplified)"] {
|
1098 |
+
background:url('../images/flags20.png') -2px -62px no-repeat;
|
1099 |
+
}
|
1100 |
+
|
1101 |
+
#flags.size20 a[title="Chinese(Traditional)"],
|
1102 |
+
.tool-container .tool-items a[title="Chinese(Traditional)"] {
|
1103 |
+
background:url('../images/flags20.png') -31px -62px no-repeat;
|
1104 |
+
}
|
1105 |
+
|
1106 |
+
#flags.size20 a[title="Croatian"],
|
1107 |
+
.tool-container .tool-items a[title="Croatian"] {
|
1108 |
+
background:url('../images/flags20.png') -60px -62px no-repeat;
|
1109 |
+
}
|
1110 |
+
|
1111 |
+
#flags.size20 a[title="Czech"],
|
1112 |
+
.tool-container .tool-items a[title="Czech"] {
|
1113 |
+
background:url('../images/flags20.png') -89px -62px no-repeat;
|
1114 |
+
}
|
1115 |
+
|
1116 |
+
#flags.size20 a[title="Danish"],
|
1117 |
+
.tool-container .tool-items a[title="Danish"] {
|
1118 |
+
background:url('../images/flags20.png') -118px -62px no-repeat;
|
1119 |
+
}
|
1120 |
+
|
1121 |
+
#flags.size20 a[title="Dutch"],
|
1122 |
+
.tool-container .tool-items a[title="Dutch"] {
|
1123 |
+
background:url('../images/flags20.png') -147px -62px no-repeat;
|
1124 |
+
}
|
1125 |
+
|
1126 |
+
#flags.size20 a[title="Esperanto"],
|
1127 |
+
.tool-container .tool-items a[title="Esperanto"] {
|
1128 |
+
background:url('../images/flags20.png') -2px -91px no-repeat;
|
1129 |
+
}
|
1130 |
+
|
1131 |
+
#flags.size20 a[title="Estonian"],
|
1132 |
+
.tool-container .tool-items a[title="Estonian"] {
|
1133 |
+
background:url('../images/flags20.png') -31px -91px no-repeat;
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
#flags.size20 a[title="Filipino"],
|
1137 |
+
.tool-container .tool-items a[title="Filipino"] {
|
1138 |
+
background:url('../images/flags20.png') -60px -91px no-repeat;
|
1139 |
+
}
|
1140 |
+
|
1141 |
+
#flags.size20 a[title="Finnish"],
|
1142 |
+
.tool-container .tool-items a[title="Finnish"] {
|
1143 |
+
background:url('../images/flags20.png') -89px -91px no-repeat;
|
1144 |
+
}
|
1145 |
+
|
1146 |
+
#flags.size20 a[title="French"],
|
1147 |
+
.tool-container .tool-items a[title="French"] {
|
1148 |
+
background:url('../images/flags20.png') -118px -91px no-repeat;
|
1149 |
+
}
|
1150 |
+
|
1151 |
+
#flags.size20 a[title="Galician"],
|
1152 |
+
.tool-container .tool-items a[title="Galician"] {
|
1153 |
+
background:url('../images/flags20.png') -147px -91px no-repeat;
|
1154 |
+
}
|
1155 |
+
|
1156 |
+
#flags.size20 a[title="Georgian"],
|
1157 |
+
.tool-container .tool-items a[title="Georgian"] {
|
1158 |
+
background:url('../images/flags20.png') -2px -120px no-repeat;
|
1159 |
+
}
|
1160 |
+
|
1161 |
+
#flags.size20 a[title="German"],
|
1162 |
+
.tool-container .tool-items a[title="German"] {
|
1163 |
+
background:url('../images/flags20.png') -31px -120px no-repeat;
|
1164 |
+
}
|
1165 |
+
|
1166 |
+
#flags.size20 a[title="Greek"],
|
1167 |
+
.tool-container .tool-items a[title="Greek"] {
|
1168 |
+
background:url('../images/flags20.png') -60px -120px no-repeat;
|
1169 |
+
}
|
1170 |
+
|
1171 |
+
#flags.size20 a[title="Gujarati"],
|
1172 |
+
.tool-container .tool-items a[title="Gujarati"] {
|
1173 |
+
background:url('../images/flags20.png') -89px -120px no-repeat;
|
1174 |
+
}
|
1175 |
+
|
1176 |
+
#flags.size20 a[title="Haitian"],
|
1177 |
+
.tool-container .tool-items a[title="Haitian"] {
|
1178 |
+
background:url('../images/flags20.png') -118px -120px no-repeat;
|
1179 |
+
}
|
1180 |
+
|
1181 |
+
#flags.size20 a[title="Hausa"],
|
1182 |
+
.tool-container .tool-items a[title="Hausa"] {
|
1183 |
+
background:url('../images/flags20.png') -147px -120px no-repeat;
|
1184 |
+
}
|
1185 |
+
|
1186 |
+
#flags.size20 a[title="Hebrew"],
|
1187 |
+
.tool-container .tool-items a[title="Hebrew"] {
|
1188 |
+
background:url('../images/flags20.png') -2px -149px no-repeat;
|
1189 |
+
}
|
1190 |
+
|
1191 |
+
#flags.size20 a[title="Hindi"],
|
1192 |
+
.tool-container .tool-items a[title="Hindi"] {
|
1193 |
+
background:url('../images/flags20.png') -31px -149px no-repeat;
|
1194 |
+
}
|
1195 |
+
|
1196 |
+
#flags.size20 a[title="Hmong"],
|
1197 |
+
.tool-container .tool-items a[title="Hmong"] {
|
1198 |
+
background:url('../images/flags20.png') -60px -149px no-repeat;
|
1199 |
+
}
|
1200 |
+
|
1201 |
+
#flags.size20 a[title="Hungarian"],
|
1202 |
+
.tool-container .tool-items a[title="Hungarian"] {
|
1203 |
+
background:url('../images/flags20.png') -89px -149px no-repeat;
|
1204 |
+
}
|
1205 |
+
|
1206 |
+
#flags.size20 a[title="Icelandic"],
|
1207 |
+
.tool-container .tool-items a[title="Icelandic"] {
|
1208 |
+
background:url('../images/flags20.png') -118px -149px no-repeat;
|
1209 |
+
}
|
1210 |
+
|
1211 |
+
#flags.size20 a[title="Igbo"],
|
1212 |
+
.tool-container .tool-items a[title="Igbo"] {
|
1213 |
+
background:url('../images/flags20.png') -147px -149px no-repeat;
|
1214 |
+
}
|
1215 |
+
|
1216 |
+
#flags.size20 a[title="Indonesian"],
|
1217 |
+
.tool-container .tool-items a[title="Indonesian"] {
|
1218 |
+
background:url('../images/flags20.png') -2px -178px no-repeat;
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
#flags.size20 a[title="Irish"],
|
1222 |
+
.tool-container .tool-items a[title="Irish"] {
|
1223 |
+
background:url('../images/flags20.png') -31px -178px no-repeat;
|
1224 |
+
}
|
1225 |
+
|
1226 |
+
#flags.size20 a[title="Italian"],
|
1227 |
+
.tool-container .tool-items a[title="Italian"] {
|
1228 |
+
background:url('../images/flags20.png') -60px -178px no-repeat;
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
#flags.size20 a[title="Japanese"],
|
1232 |
+
.tool-container .tool-items a[title="Japanese"] {
|
1233 |
+
background:url('../images/flags20.png') -89px -178px no-repeat;
|
1234 |
+
}
|
1235 |
+
|
1236 |
+
#flags.size20 a[title="Javanese"],
|
1237 |
+
.tool-container .tool-items a[title="Javanese"] {
|
1238 |
+
background:url('../images/flags20.png') -118px -178px no-repeat;
|
1239 |
+
}
|
1240 |
+
|
1241 |
+
#flags.size20 a[title="Kannada"],
|
1242 |
+
.tool-container .tool-items a[title="Kannada"] {
|
1243 |
+
background:url('../images/flags20.png') -147px -178px no-repeat;
|
1244 |
+
}
|
1245 |
+
|
1246 |
+
#flags.size20 a[title="Khmer"],
|
1247 |
+
.tool-container .tool-items a[title="Khmer"] {
|
1248 |
+
background:url('../images/flags20.png') -2px -207px no-repeat;
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
#flags.size20 a[title="Korean"],
|
1252 |
+
.tool-container .tool-items a[title="Korean"] {
|
1253 |
+
background:url('../images/flags20.png') -31px -207px no-repeat;
|
1254 |
+
}
|
1255 |
+
|
1256 |
+
#flags.size20 a[title="Lao"],
|
1257 |
+
.tool-container .tool-items a[title="Lao"] {
|
1258 |
+
background:url('../images/flags20.png') -60px -207px no-repeat;
|
1259 |
+
}
|
1260 |
+
|
1261 |
+
#flags.size20 a[title="Latin"],
|
1262 |
+
.tool-container .tool-items a[title="Latin"] {
|
1263 |
+
background:url('../images/flags20.png') -89px -207px no-repeat;
|
1264 |
+
}
|
1265 |
+
|
1266 |
+
#flags.size20 a[title="Latvian"],
|
1267 |
+
.tool-container .tool-items a[title="Latvian"] {
|
1268 |
+
background:url('../images/flags20.png') -118px -207px no-repeat;
|
1269 |
+
}
|
1270 |
+
|
1271 |
+
#flags.size20 a[title="Lithuanian"],
|
1272 |
+
.tool-container .tool-items a[title="Lithuanian"] {
|
1273 |
+
background:url('../images/flags20.png') -147px -207px no-repeat;
|
1274 |
+
}
|
1275 |
+
|
1276 |
+
#flags.size20 a[title="Macedonian"],
|
1277 |
+
.tool-container .tool-items a[title="Macedonian"] {
|
1278 |
+
background:url('../images/flags20.png') -2px -236px no-repeat;
|
1279 |
+
}
|
1280 |
+
|
1281 |
+
#flags.size20 a[title="Malay"],
|
1282 |
+
.tool-container .tool-items a[title="Malay"] {
|
1283 |
+
background:url('../images/flags20.png') -31px -236px no-repeat;
|
1284 |
+
}
|
1285 |
+
|
1286 |
+
#flags.size20 a[title="Maltese"],
|
1287 |
+
.tool-container .tool-items a[title="Maltese"] {
|
1288 |
+
background:url('../images/flags20.png') -60px -236px no-repeat;
|
1289 |
+
}
|
1290 |
+
|
1291 |
+
#flags.size20 a[title="Maori"],
|
1292 |
+
.tool-container .tool-items a[title="Maori"] {
|
1293 |
+
background:url('../images/flags20.png') -89px -236px no-repeat;
|
1294 |
+
}
|
1295 |
+
|
1296 |
+
#flags.size20 a[title="Marathi"],
|
1297 |
+
.tool-container .tool-items a[title="Marathi"] {
|
1298 |
+
background:url('../images/flags20.png') -118px -236px no-repeat;
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
#flags.size20 a[title="Mongolian"],
|
1302 |
+
.tool-container .tool-items a[title="Mongolian"] {
|
1303 |
+
background:url('../images/flags20.png') -147px -236px no-repeat;
|
1304 |
+
}
|
1305 |
+
|
1306 |
+
#flags.size20 a[title="Nepali"],
|
1307 |
+
.tool-container .tool-items a[title="Nepali"] {
|
1308 |
+
background:url('../images/flags20.png') -2px -265px no-repeat;
|
1309 |
+
}
|
1310 |
+
|
1311 |
+
#flags.size20 a[title="Norwegian"],
|
1312 |
+
.tool-container .tool-items a[title="Norwegian"] {
|
1313 |
+
background:url('../images/flags20.png') -31px -265px no-repeat;
|
1314 |
+
}
|
1315 |
+
|
1316 |
+
#flags.size20 a[title="Persian"],
|
1317 |
+
.tool-container .tool-items a[title="Persian"] {
|
1318 |
+
background:url('../images/flags20.png') -60px -265px no-repeat;
|
1319 |
+
}
|
1320 |
+
|
1321 |
+
#flags.size20 a[title="Polish"],
|
1322 |
+
.tool-container .tool-items a[title="Polish"] {
|
1323 |
+
background:url('../images/flags20.png') -89px -265px no-repeat;
|
1324 |
+
}
|
1325 |
+
|
1326 |
+
#flags.size20 a[title="Portuguese"],
|
1327 |
+
.tool-container .tool-items a[title="Portuguese"] {
|
1328 |
+
background:url('../images/flags20.png') -118px -265px no-repeat;
|
1329 |
+
}
|
1330 |
+
|
1331 |
+
#flags.size20 a[title="Punjabi"],
|
1332 |
+
.tool-container .tool-items a[title="Punjabi"] {
|
1333 |
+
background:url('../images/flags20.png') -147px -265px no-repeat;
|
1334 |
+
}
|
1335 |
+
|
1336 |
+
#flags.size20 a[title="Romanian"],
|
1337 |
+
.tool-container .tool-items a[title="Romanian"] {
|
1338 |
+
background:url('../images/flags20.png') -2px -294px no-repeat;
|
1339 |
+
}
|
1340 |
+
|
1341 |
+
#flags.size20 a[title="Russian"],
|
1342 |
+
.tool-container .tool-items a[title="Russian"] {
|
1343 |
+
background:url('../images/flags20.png') -31px -294px no-repeat;
|
1344 |
+
}
|
1345 |
+
|
1346 |
+
#flags.size20 a[title="Serbian"],
|
1347 |
+
.tool-container .tool-items a[title="Serbian"] {
|
1348 |
+
background:url('../images/flags20.png') -60px -294px no-repeat;
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
#flags.size20 a[title="Slovak"],
|
1352 |
+
.tool-container .tool-items a[title="Slovak"] {
|
1353 |
+
background:url('../images/flags20.png') -89px -294px no-repeat;
|
1354 |
+
}
|
1355 |
+
|
1356 |
+
#flags.size20 a[title="Slovenian"],
|
1357 |
+
.tool-container .tool-items a[title="Slovenian"] {
|
1358 |
+
background:url('../images/flags20.png') -118px -294px no-repeat;
|
1359 |
+
}
|
1360 |
+
|
1361 |
+
#flags.size20 a[title="Somali"],
|
1362 |
+
.tool-container .tool-items a[title="Somali"] {
|
1363 |
+
background:url('../images/flags20.png') -147px -294px no-repeat;
|
1364 |
+
}
|
1365 |
+
|
1366 |
+
#flags.size20 a[title="Spanish"],
|
1367 |
+
.tool-container .tool-items a[title="Spanish"] {
|
1368 |
+
background:url('../images/flags20.png') -2px -323px no-repeat;
|
1369 |
+
}
|
1370 |
+
|
1371 |
+
#flags.size20 a[title="Swahili"],
|
1372 |
+
.tool-container .tool-items a[title="Swahili"] {
|
1373 |
+
background:url('../images/flags20.png') -31px -323px no-repeat;
|
1374 |
+
}
|
1375 |
+
|
1376 |
+
#flags.size20 a[title="Swedish"],
|
1377 |
+
.tool-container .tool-items a[title="Swedish"] {
|
1378 |
+
background:url('../images/flags20.png') -60px -323px no-repeat;
|
1379 |
+
}
|
1380 |
+
|
1381 |
+
#flags.size20 a[title="Tamil"],
|
1382 |
+
.tool-container .tool-items a[title="Tamil"] {
|
1383 |
+
background:url('../images/flags20.png') -89px -323px no-repeat;
|
1384 |
+
}
|
1385 |
+
|
1386 |
+
#flags.size20 a[title="Telugu"],
|
1387 |
+
.tool-container .tool-items a[title="Telugu"] {
|
1388 |
+
background:url('../images/flags20.png') -118px -323px no-repeat;
|
1389 |
+
}
|
1390 |
+
|
1391 |
+
#flags.size20 a[title="Thai"],
|
1392 |
+
.tool-container .tool-items a[title="Thai"] {
|
1393 |
+
background:url('../images/flags20.png') -147px -323px no-repeat;
|
1394 |
+
}
|
1395 |
+
|
1396 |
+
#flags.size20 a[title="Turkish"],
|
1397 |
+
.tool-container .tool-items a[title="Turkish"] {
|
1398 |
+
background:url('../images/flags20.png') -31px -352px no-repeat;
|
1399 |
+
}
|
1400 |
+
|
1401 |
+
#flags.size20 a[title="Ukranian"],
|
1402 |
+
.tool-container .tool-items a[title="Ukranian"] {
|
1403 |
+
background:url('../images/flags20.png') -60px -352px no-repeat;
|
1404 |
+
}
|
1405 |
+
|
1406 |
+
#flags.size20 a[title="English"],
|
1407 |
+
.tool-container .tool-items a[title="English"] {
|
1408 |
+
background:url('../images/flags20.png') -89px -352px no-repeat;
|
1409 |
+
}
|
1410 |
+
|
1411 |
+
#flags.size20 a[title="Urdu"],
|
1412 |
+
.tool-container .tool-items a[title="Urdu"] {
|
1413 |
+
background:url('../images/flags20.png') -147px -352px no-repeat;
|
1414 |
+
}
|
1415 |
+
|
1416 |
+
#flags.size20 a[title="Vietnamese"],
|
1417 |
+
.tool-container .tool-items a[title="Vietnamese"] {
|
1418 |
+
background:url('../images/flags20.png') -2px -381px no-repeat;
|
1419 |
+
}
|
1420 |
+
|
1421 |
+
#flags.size20 a[title="Welsh"],
|
1422 |
+
.tool-container .tool-items a[title="Welsh"] {
|
1423 |
+
background:url('../images/flags20.png') -31px -381px no-repeat;
|
1424 |
+
}
|
1425 |
+
|
1426 |
+
#flags.size20 a[title="Yiddish"],
|
1427 |
+
.tool-container .tool-items a[title="Yiddish"] {
|
1428 |
+
background:url('../images/flags20.png') -60px -381px no-repeat;
|
1429 |
+
}
|
1430 |
+
|
1431 |
+
#flags.size20 a[title="Yoruba"],
|
1432 |
+
.tool-container .tool-items a[title="Yoruba"] {
|
1433 |
+
background:url('../images/flags20.png') -89px -381px no-repeat;
|
1434 |
+
}
|
1435 |
+
|
1436 |
+
#flags.size20 a[title="Zulu"],
|
1437 |
+
.tool-container .tool-items a[title="Zulu"] {
|
1438 |
+
background:url('../images/flags20.png') -118px -381px no-repeat;
|
1439 |
+
}
|
1440 |
+
|
1441 |
+
/* Individual flag backgrounds (16px) */
|
1442 |
+
|
1443 |
+
#flags.size16 a[title="Afrikaans"],
|
1444 |
+
.tool-container .tool-items a[title="Afrikaans"] {
|
1445 |
+
background:url('../images/flags16.png') -3px -5px no-repeat;
|
1446 |
+
}
|
1447 |
+
|
1448 |
+
#flags.size16 a[title="Albanian"],
|
1449 |
+
.tool-container .tool-items a[title="Albanian"] {
|
1450 |
+
background:url('../images/flags16.png') -32px -5px no-repeat;
|
1451 |
+
}
|
1452 |
+
|
1453 |
+
#flags.size16 a[title="Arabic"],
|
1454 |
+
.tool-container .tool-items a[title="Arabic"] {
|
1455 |
+
background:url('../images/flags16.png') -61px -5px no-repeat;
|
1456 |
+
}
|
1457 |
+
|
1458 |
+
#flags.size16 a[title="Armenian"],
|
1459 |
+
.tool-container .tool-items a[title="Armenian"] {
|
1460 |
+
background:url('../images/flags16.png') -90px -5px no-repeat;
|
1461 |
+
}
|
1462 |
+
|
1463 |
+
#flags.size16 a[title="Azerbaijani"],
|
1464 |
+
.tool-container .tool-items a[title="Azerbaijani"] {
|
1465 |
+
background:url('../images/flags16.png') -119px -5px no-repeat;
|
1466 |
+
}
|
1467 |
+
|
1468 |
+
#flags.size16 a[title="Basque"],
|
1469 |
+
.tool-container .tool-items a[title="Basque"] {
|
1470 |
+
background:url('../images/flags16.png') -148px -5px no-repeat;
|
1471 |
+
}
|
1472 |
+
|
1473 |
+
#flags.size16 a[title="Belarusian"],
|
1474 |
+
.tool-container .tool-items a[title="Belarusian"] {
|
1475 |
+
background:url('../images/flags16.png') -3px -34px no-repeat;
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
#flags.size16 a[title="Bengali"],
|
1479 |
+
.tool-container .tool-items a[title="Bengali"] {
|
1480 |
+
background:url('../images/flags16.png') -32px -34px no-repeat;
|
1481 |
+
}
|
1482 |
+
|
1483 |
+
#flags.size16 a[title="Bosnian"],
|
1484 |
+
.tool-container .tool-items a[title="Bosnian"] {
|
1485 |
+
background:url('../images/flags16.png') -61px -34px no-repeat;
|
1486 |
+
}
|
1487 |
+
|
1488 |
+
#flags.size16 a[title="Bulgarian"],
|
1489 |
+
.tool-container .tool-items a[title="Bulgarian"] {
|
1490 |
+
background:url('../images/flags16.png') -90px -34px no-repeat;
|
1491 |
+
}
|
1492 |
+
|
1493 |
+
#flags.size16 a[title="Catalan"],
|
1494 |
+
.tool-container .tool-items a[title="Catalan"] {
|
1495 |
+
background:url('../images/flags16.png') -119px -34px no-repeat;
|
1496 |
+
}
|
1497 |
+
|
1498 |
+
#flags.size16 a[title="Cebuano"],
|
1499 |
+
.tool-container .tool-items a[title="Cebuano"] {
|
1500 |
+
background:url('../images/flags16.png') -148px -34px no-repeat;
|
1501 |
+
}
|
1502 |
+
|
1503 |
+
#flags.size16 a[title="Chinese(Simplified)"],
|
1504 |
+
.tool-container .tool-items a[title="Chinese(Simplified)"] {
|
1505 |
+
background:url('../images/flags16.png') -3px -63px no-repeat;
|
1506 |
+
}
|
1507 |
+
|
1508 |
+
#flags.size16 a[title="Chinese(Traditional)"],
|
1509 |
+
.tool-container .tool-items a[title="Chinese(Traditional)"] {
|
1510 |
+
background:url('../images/flags16.png') -32px -63px no-repeat;
|
1511 |
+
}
|
1512 |
+
|
1513 |
+
#flags.size16 a[title="Croatian"],
|
1514 |
+
.tool-container .tool-items a[title="Croatian"] {
|
1515 |
+
background:url('../images/flags16.png') -61px -63px no-repeat;
|
1516 |
+
}
|
1517 |
+
|
1518 |
+
#flags.size16 a[title="Czech"],
|
1519 |
+
.tool-container .tool-items a[title="Czech"] {
|
1520 |
+
background:url('../images/flags16.png') -90px -63px no-repeat;
|
1521 |
+
}
|
1522 |
+
|
1523 |
+
#flags.size16 a[title="Danish"],
|
1524 |
+
.tool-container .tool-items a[title="Danish"] {
|
1525 |
+
background:url('../images/flags16.png') -119px -63px no-repeat;
|
1526 |
+
}
|
1527 |
+
|
1528 |
+
#flags.size16 a[title="Dutch"],
|
1529 |
+
.tool-container .tool-items a[title="Dutch"] {
|
1530 |
+
background:url('../images/flags16.png') -148px -63px no-repeat;
|
1531 |
+
}
|
1532 |
+
|
1533 |
+
#flags.size16 a[title="Esperanto"],
|
1534 |
+
.tool-container .tool-items a[title="Esperanto"] {
|
1535 |
+
background:url('../images/flags16.png') -3px -92px no-repeat;
|
1536 |
+
}
|
1537 |
+
|
1538 |
+
#flags.size16 a[title="Estonian"],
|
1539 |
+
.tool-container .tool-items a[title="Estonian"] {
|
1540 |
+
background:url('../images/flags16.png') -31px -92px no-repeat;
|
1541 |
+
}
|
1542 |
+
|
1543 |
+
#flags.size16 a[title="Filipino"],
|
1544 |
+
.tool-container .tool-items a[title="Filipino"] {
|
1545 |
+
background:url('../images/flags16.png') -61px -92px no-repeat;
|
1546 |
+
}
|
1547 |
+
|
1548 |
+
#flags.size16 a[title="Finnish"],
|
1549 |
+
.tool-container .tool-items a[title="Finnish"] {
|
1550 |
+
background:url('../images/flags16.png') -90px -92px no-repeat;
|
1551 |
+
}
|
1552 |
+
|
1553 |
+
#flags.size16 a[title="French"],
|
1554 |
+
.tool-container .tool-items a[title="French"] {
|
1555 |
+
background:url('../images/flags16.png') -119px -92px no-repeat;
|
1556 |
+
}
|
1557 |
+
|
1558 |
+
#flags.size16 a[title="Galician"],
|
1559 |
+
.tool-container .tool-items a[title="Galician"] {
|
1560 |
+
background:url('../images/flags16.png') -148px -92px no-repeat;
|
1561 |
+
}
|
1562 |
+
|
1563 |
+
#flags.size16 a[title="Georgian"],
|
1564 |
+
.tool-container .tool-items a[title="Georgian"] {
|
1565 |
+
background:url('../images/flags16.png') -3px -121px no-repeat;
|
1566 |
+
}
|
1567 |
+
|
1568 |
+
#flags.size16 a[title="German"],
|
1569 |
+
.tool-container .tool-items a[title="German"] {
|
1570 |
+
background:url('../images/flags16.png') -32px -121px no-repeat;
|
1571 |
+
}
|
1572 |
+
|
1573 |
+
#flags.size16 a[title="Greek"],
|
1574 |
+
.tool-container .tool-items a[title="Greek"] {
|
1575 |
+
background:url('../images/flags16.png') -61px -121px no-repeat;
|
1576 |
+
}
|
1577 |
+
|
1578 |
+
#flags.size16 a[title="Gujarati"],
|
1579 |
+
.tool-container .tool-items a[title="Gujarati"] {
|
1580 |
+
background:url('../images/flags16.png') -90px -121px no-repeat;
|
1581 |
+
}
|
1582 |
+
|
1583 |
+
#flags.size16 a[title="Haitian"],
|
1584 |
+
.tool-container .tool-items a[title="Haitian"] {
|
1585 |
+
background:url('../images/flags16.png') -119px -121px no-repeat;
|
1586 |
+
}
|
1587 |
+
|
1588 |
+
#flags.size16 a[title="Hausa"],
|
1589 |
+
.tool-container .tool-items a[title="Hausa"] {
|
1590 |
+
background:url('../images/flags16.png') -148px -121px no-repeat;
|
1591 |
+
}
|
1592 |
+
|
1593 |
+
#flags.size16 a[title="Hebrew"],
|
1594 |
+
.tool-container .tool-items a[title="Hebrew"] {
|
1595 |
+
background:url('../images/flags16.png') -3px -150px no-repeat;
|
1596 |
+
}
|
1597 |
+
|
1598 |
+
#flags.size16 a[title="Hindi"],
|
1599 |
+
.tool-container .tool-items a[title="Hindi"] {
|
1600 |
+
background:url('../images/flags16.png') -32px -150px no-repeat;
|
1601 |
+
}
|
1602 |
+
|
1603 |
+
#flags.size16 a[title="Hmong"],
|
1604 |
+
.tool-container .tool-items a[title="Hmong"] {
|
1605 |
+
background:url('../images/flags16.png') -61px -150px no-repeat;
|
1606 |
+
}
|
1607 |
+
|
1608 |
+
#flags.size16 a[title="Hungarian"],
|
1609 |
+
.tool-container .tool-items a[title="Hungarian"] {
|
1610 |
+
background:url('../images/flags16.png') -90px -150px no-repeat;
|
1611 |
+
}
|
1612 |
+
|
1613 |
+
#flags.size16 a[title="Icelandic"],
|
1614 |
+
.tool-container .tool-items a[title="Icelandic"] {
|
1615 |
+
background:url('../images/flags16.png') -119px -150px no-repeat;
|
1616 |
+
}
|
1617 |
+
|
1618 |
+
#flags.size16 a[title="Igbo"],
|
1619 |
+
.tool-container .tool-items a[title="Igbo"] {
|
1620 |
+
background:url('../images/flags16.png') -148px -150px no-repeat;
|
1621 |
+
}
|
1622 |
+
|
1623 |
+
#flags.size16 a[title="Indonesian"],
|
1624 |
+
.tool-container .tool-items a[title="Indonesian"] {
|
1625 |
+
background:url('../images/flags16.png') -3px -179px no-repeat;
|
1626 |
+
}
|
1627 |
+
|
1628 |
+
#flags.size16 a[title="Irish"],
|
1629 |
+
.tool-container .tool-items a[title="Irish"] {
|
1630 |
+
background:url('../images/flags16.png') -32px -179px no-repeat;
|
1631 |
+
}
|
1632 |
+
|
1633 |
+
#flags.size16 a[title="Italian"],
|
1634 |
+
.tool-container .tool-items a[title="Italian"] {
|
1635 |
+
background:url('../images/flags16.png') -61px -179px no-repeat;
|
1636 |
+
}
|
1637 |
+
|
1638 |
+
#flags.size16 a[title="Japanese"],
|
1639 |
+
.tool-container .tool-items a[title="Japanese"] {
|
1640 |
+
background:url('../images/flags16.png') -90px -179px no-repeat;
|
1641 |
+
}
|
1642 |
+
|
1643 |
+
#flags.size16 a[title="Javanese"],
|
1644 |
+
.tool-container .tool-items a[title="Javanese"] {
|
1645 |
+
background:url('../images/flags16.png') -119px -179px no-repeat;
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
#flags.size16 a[title="Kannada"],
|
1649 |
+
.tool-container .tool-items a[title="Kannada"] {
|
1650 |
+
background:url('../images/flags16.png') -148px -179px no-repeat;
|
1651 |
+
}
|
1652 |
+
|
1653 |
+
#flags.size16 a[title="Khmer"],
|
1654 |
+
.tool-container .tool-items a[title="Khmer"] {
|
1655 |
+
background:url('../images/flags16.png') -3px -208px no-repeat;
|
1656 |
+
}
|
1657 |
+
|
1658 |
+
#flags.size16 a[title="Korean"],
|
1659 |
+
.tool-container .tool-items a[title="Korean"] {
|
1660 |
+
background:url('../images/flags16.png') -32px -208px no-repeat;
|
1661 |
+
}
|
1662 |
+
|
1663 |
+
#flags.size16 a[title="Lao"],
|
1664 |
+
.tool-container .tool-items a[title="Lao"] {
|
1665 |
+
background:url('../images/flags16.png') -61px -208px no-repeat;
|
1666 |
+
}
|
1667 |
+
|
1668 |
+
#flags.size16 a[title="Latin"],
|
1669 |
+
.tool-container .tool-items a[title="Latin"] {
|
1670 |
+
background:url('../images/flags16.png') -90px -208px no-repeat;
|
1671 |
+
}
|
1672 |
+
|
1673 |
+
#flags.size16 a[title="Latvian"],
|
1674 |
+
.tool-container .tool-items a[title="Latvian"] {
|
1675 |
+
background:url('../images/flags16.png') -119px -208px no-repeat;
|
1676 |
+
}
|
1677 |
+
|
1678 |
+
#flags.size16 a[title="Lithuanian"],
|
1679 |
+
.tool-container .tool-items a[title="Lithuanian"] {
|
1680 |
+
background:url('../images/flags16.png') -148px -208px no-repeat;
|
1681 |
+
}
|
1682 |
+
|
1683 |
+
#flags.size16 a[title="Macedonian"],
|
1684 |
+
.tool-container .tool-items a[title="Macedonian"] {
|
1685 |
+
background:url('../images/flags16.png') -3px -237px no-repeat;
|
1686 |
+
}
|
1687 |
+
|
1688 |
+
#flags.size16 a[title="Malay"],
|
1689 |
+
.tool-container .tool-items a[title="Malay"] {
|
1690 |
+
background:url('../images/flags16.png') -32px -237px no-repeat;
|
1691 |
+
}
|
1692 |
+
|
1693 |
+
#flags.size16 a[title="Maltese"],
|
1694 |
+
.tool-container .tool-items a[title="Maltese"] {
|
1695 |
+
background:url('../images/flags16.png') -61px -237px no-repeat;
|
1696 |
+
}
|
1697 |
+
|
1698 |
+
#flags.size16 a[title="Maori"],
|
1699 |
+
.tool-container .tool-items a[title="Maori"] {
|
1700 |
+
background:url('../images/flags16.png') -90px -237px no-repeat;
|
1701 |
+
}
|
1702 |
+
|
1703 |
+
#flags.size16 a[title="Marathi"],
|
1704 |
+
.tool-container .tool-items a[title="Marathi"] {
|
1705 |
+
background:url('../images/flags16.png') -119px -237px no-repeat;
|
1706 |
+
}
|
1707 |
+
|
1708 |
+
#flags.size16 a[title="Mongolian"],
|
1709 |
+
.tool-container .tool-items a[title="Mongolian"] {
|
1710 |
+
background:url('../images/flags16.png') -148px -237px no-repeat;
|
1711 |
+
}
|
1712 |
+
|
1713 |
+
#flags.size16 a[title="Nepali"],
|
1714 |
+
.tool-container .tool-items a[title="Nepali"] {
|
1715 |
+
background:url('../images/flags16.png') -3px -266px no-repeat;
|
1716 |
+
}
|
1717 |
+
|
1718 |
+
#flags.size16 a[title="Norwegian"],
|
1719 |
+
.tool-container .tool-items a[title="Norwegian"] {
|
1720 |
+
background:url('../images/flags16.png') -32px -266px no-repeat;
|
1721 |
+
}
|
1722 |
+
|
1723 |
+
#flags.size16 a[title="Persian"],
|
1724 |
+
.tool-container .tool-items a[title="Persian"] {
|
1725 |
+
background:url('../images/flags16.png') -61px -266px no-repeat;
|
1726 |
+
}
|
1727 |
+
|
1728 |
+
#flags.size16 a[title="Polish"],
|
1729 |
+
.tool-container .tool-items a[title="Polish"] {
|
1730 |
+
background:url('../images/flags16.png') -90px -266px no-repeat;
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
#flags.size16 a[title="Portuguese"],
|
1734 |
+
.tool-container .tool-items a[title="Portuguese"] {
|
1735 |
+
background:url('../images/flags16.png') -119px -266px no-repeat;
|
1736 |
+
}
|
1737 |
+
|
1738 |
+
#flags.size16 a[title="Punjabi"],
|
1739 |
+
.tool-container .tool-items a[title="Punjabi"] {
|
1740 |
+
background:url('../images/flags16.png') -148px -266px no-repeat;
|
1741 |
+
}
|
1742 |
+
|
1743 |
+
#flags.size16 a[title="Romanian"],
|
1744 |
+
.tool-container .tool-items a[title="Romanian"] {
|
1745 |
+
background:url('../images/flags16.png') -3px -295px no-repeat;
|
1746 |
+
}
|
1747 |
+
|
1748 |
+
#flags.size16 a[title="Russian"],
|
1749 |
+
.tool-container .tool-items a[title="Russian"] {
|
1750 |
+
background:url('../images/flags16.png') -32px -295px no-repeat;
|
1751 |
+
}
|
1752 |
+
|
1753 |
+
#flags.size16 a[title="Serbian"],
|
1754 |
+
.tool-container .tool-items a[title="Serbian"] {
|
1755 |
+
background:url('../images/flags16.png') -61px -295px no-repeat;
|
1756 |
+
}
|
1757 |
+
|
1758 |
+
#flags.size16 a[title="Slovak"],
|
1759 |
+
.tool-container .tool-items a[title="Slovak"] {
|
1760 |
+
background:url('../images/flags16.png') -90px -295px no-repeat;
|
1761 |
+
}
|
1762 |
+
|
1763 |
+
#flags.size16 a[title="Slovenian"],
|
1764 |
+
.tool-container .tool-items a[title="Slovenian"] {
|
1765 |
+
background:url('../images/flags16.png') -119px -295px no-repeat;
|
1766 |
+
}
|
1767 |
+
|
1768 |
+
#flags.size16 a[title="Somali"],
|
1769 |
+
.tool-container .tool-items a[title="Somali"] {
|
1770 |
+
background:url('../images/flags16.png') -148px -295px no-repeat;
|
1771 |
+
}
|
1772 |
+
|
1773 |
+
#flags.size16 a[title="Spanish"],
|
1774 |
+
.tool-container .tool-items a[title="Spanish"] {
|
1775 |
+
background:url('../images/flags16.png') -3px -324px no-repeat;
|
1776 |
+
}
|
1777 |
+
|
1778 |
+
#flags.size16 a[title="Swahili"],
|
1779 |
+
.tool-container .tool-items a[title="Swahili"] {
|
1780 |
+
background:url('../images/flags16.png') -32px -324px no-repeat;
|
1781 |
+
}
|
1782 |
+
|
1783 |
+
#flags.size16 a[title="Swedish"],
|
1784 |
+
.tool-container .tool-items a[title="Swedish"] {
|
1785 |
+
background:url('../images/flags16.png') -61px -324px no-repeat;
|
1786 |
+
}
|
1787 |
+
|
1788 |
+
#flags.size16 a[title="Tamil"],
|
1789 |
+
.tool-container .tool-items a[title="Tamil"] {
|
1790 |
+
background:url('../images/flags16.png') -90px -324px no-repeat;
|
1791 |
+
}
|
1792 |
+
|
1793 |
+
#flags.size16 a[title="Telugu"],
|
1794 |
+
.tool-container .tool-items a[title="Telugu"] {
|
1795 |
+
background:url('../images/flags16.png') -119px -324px no-repeat;
|
1796 |
+
}
|
1797 |
+
|
1798 |
+
#flags.size16 a[title="Thai"],
|
1799 |
+
.tool-container .tool-items a[title="Thai"] {
|
1800 |
+
background:url('../images/flags16.png') -148px -324px no-repeat;
|
1801 |
+
}
|
1802 |
+
|
1803 |
+
#flags.size16 a[title="Turkish"],
|
1804 |
+
.tool-container .tool-items a[title="Turkish"] {
|
1805 |
+
background:url('../images/flags16.png') -32px -353px no-repeat;
|
1806 |
+
}
|
1807 |
+
|
1808 |
+
#flags.size16 a[title="Ukranian"],
|
1809 |
+
.tool-container .tool-items a[title="Ukranian"] {
|
1810 |
+
background:url('../images/flags16.png') -61px -353px no-repeat;
|
1811 |
+
}
|
1812 |
+
|
1813 |
+
#flags.size16 a[title="English"],
|
1814 |
+
.tool-container .tool-items a[title="English"] {
|
1815 |
+
background:url('../images/flags16.png') -90px -353px no-repeat;
|
1816 |
+
}
|
1817 |
+
|
1818 |
+
#flags.size16 a[title="Urdu"],
|
1819 |
+
.tool-container .tool-items a[title="Urdu"] {
|
1820 |
+
background:url('../images/flags16.png') -148px -353px no-repeat;
|
1821 |
+
}
|
1822 |
+
|
1823 |
+
#flags.size16 a[title="Vietnamese"],
|
1824 |
+
.tool-container .tool-items a[title="Vietnamese"] {
|
1825 |
+
background:url('../images/flags16.png') -3px -382px no-repeat;
|
1826 |
+
}
|
1827 |
+
|
1828 |
+
#flags.size16 a[title="Welsh"],
|
1829 |
+
.tool-container .tool-items a[title="Welsh"] {
|
1830 |
+
background:url('../images/flags16.png') -32px -382px no-repeat;
|
1831 |
+
}
|
1832 |
+
|
1833 |
+
#flags.size16 a[title="Yiddish"],
|
1834 |
+
.tool-container .tool-items a[title="Yiddish"] {
|
1835 |
+
background:url('../images/flags16.png') -61px -382px no-repeat;
|
1836 |
+
}
|
1837 |
+
|
1838 |
+
#flags.size16 a[title="Yoruba"],
|
1839 |
+
.tool-container .tool-items a[title="Yoruba"] {
|
1840 |
+
background:url('../images/flags16.png') -90px -382px no-repeat;
|
1841 |
+
}
|
1842 |
+
|
1843 |
+
#flags.size16 a[title="Zulu"],
|
1844 |
+
.tool-container .tool-items a[title="Zulu"] {
|
1845 |
+
background:url('../images/flags16.png') -119px -382px no-repeat;
|
1846 |
+
}
|
1847 |
+
|
1848 |
+
/* Individual flag backgrounds (24px) */
|
1849 |
+
|
1850 |
+
#flags.size24 a[title="Afrikaans"],
|
1851 |
+
.tool-container .tool-items a[title="Afrikaans"] {
|
1852 |
+
background:url('../images/flags.png') 0 -3px no-repeat;
|
1853 |
+
}
|
1854 |
+
|
1855 |
+
#flags.size24 a[title="Albanian"],
|
1856 |
+
.tool-container .tool-items a[title="Albanian"] {
|
1857 |
+
background:url('../images/flags.png') -29px -3px no-repeat;
|
1858 |
+
}
|
1859 |
+
|
1860 |
+
#flags.size24 a[title="Arabic"],
|
1861 |
+
.tool-container .tool-items a[title="Arabic"] {
|
1862 |
+
background:url('../images/flags.png') -58px -3px no-repeat;
|
1863 |
+
}
|
1864 |
+
|
1865 |
+
#flags.size24 a[title="Armenian"],
|
1866 |
+
.tool-container .tool-items a[title="Armenian"] {
|
1867 |
+
background:url('../images/flags.png') -87px -3px no-repeat;
|
1868 |
+
}
|
1869 |
+
|
1870 |
+
#flags.size24 a[title="Azerbaijani"],
|
1871 |
+
.tool-container .tool-items a[title="Azerbaijani"] {
|
1872 |
+
background:url('../images/flags.png') -116px -3px no-repeat;
|
1873 |
+
}
|
1874 |
+
|
1875 |
+
#flags.size24 a[title="Basque"],
|
1876 |
+
.tool-container .tool-items a[title="Basque"] {
|
1877 |
+
background:url('../images/flags.png') -145px -3px no-repeat;
|
1878 |
+
}
|
1879 |
+
|
1880 |
+
#flags.size24 a[title="Belarusian"],
|
1881 |
+
.tool-container .tool-items a[title="Belarusian"] {
|
1882 |
+
background:url('../images/flags.png') 0 -32px no-repeat;
|
1883 |
+
}
|
1884 |
+
|
1885 |
+
#flags.size24 a[title="Bengali"],
|
1886 |
+
.tool-container .tool-items a[title="Bengali"] {
|
1887 |
+
background:url('../images/flags.png') -29px -32px no-repeat;
|
1888 |
+
}
|
1889 |
+
|
1890 |
+
#flags.size24 a[title="Bosnian"],
|
1891 |
+
.tool-container .tool-items a[title="Bosnian"] {
|
1892 |
+
background:url('../images/flags.png') -58px -32px no-repeat;
|
1893 |
+
}
|
1894 |
+
|
1895 |
+
#flags.size24 a[title="Bulgarian"],
|
1896 |
+
.tool-container .tool-items a[title="Bulgarian"] {
|
1897 |
+
background:url('../images/flags.png') -87px -32px no-repeat;
|
1898 |
+
}
|
1899 |
+
|
1900 |
+
#flags.size24 a[title="Catalan"],
|
1901 |
+
.tool-container .tool-items a[title="Catalan"] {
|
1902 |
+
background:url('../images/flags.png') -116px -32px no-repeat;
|
1903 |
+
}
|
1904 |
+
|
1905 |
+
#flags.size24 a[title="Cebuano"],
|
1906 |
+
.tool-container .tool-items a[title="Cebuano"] {
|
1907 |
+
background:url('../images/flags.png') -145px -32px no-repeat;
|
1908 |
+
}
|
1909 |
+
|
1910 |
+
#flags.size24 a[title="Chinese(Simplified)"],
|
1911 |
+
.tool-container .tool-items a[title="Chinese(Simplified)"] {
|
1912 |
+
background:url('../images/flags.png') 0 -61px no-repeat;
|
1913 |
+
}
|
1914 |
+
|
1915 |
+
#flags.size24 a[title="Chinese(Traditional)"],
|
1916 |
+
.tool-container .tool-items a[title="Chinese(Traditional)"] {
|
1917 |
+
background:url('../images/flags.png') -29px -61px no-repeat;
|
1918 |
+
}
|
1919 |
+
|
1920 |
+
#flags.size24 a[title="Croatian"],
|
1921 |
+
.tool-container .tool-items a[title="Croatian"] {
|
1922 |
+
background:url('../images/flags.png') -58px -61px no-repeat;
|
1923 |
+
}
|
1924 |
+
|
1925 |
+
#flags.size24 a[title="Czech"],
|
1926 |
+
.tool-container .tool-items a[title="Czech"] {
|
1927 |
+
background:url('../images/flags.png') -87px -61px no-repeat;
|
1928 |
+
}
|
1929 |
+
|
1930 |
+
#flags.size24 a[title="Danish"],
|
1931 |
+
.tool-container .tool-items a[title="Danish"] {
|
1932 |
+
background:url('../images/flags.png') -116px -61px no-repeat;
|
1933 |
+
}
|
1934 |
+
|
1935 |
+
#flags.size24 a[title="Dutch"],
|
1936 |
+
.tool-container .tool-items a[title="Dutch"] {
|
1937 |
+
background:url('../images/flags.png') -145px -61px no-repeat;
|
1938 |
+
}
|
1939 |
+
|
1940 |
+
#flags.size24 a[title="Esperanto"],
|
1941 |
+
.tool-container .tool-items a[title="Esperanto"] {
|
1942 |
+
background:url('../images/flags.png') 0 -90px no-repeat;
|
1943 |
+
}
|
1944 |
+
|
1945 |
+
#flags.size24 a[title="Estonian"],
|
1946 |
+
.tool-container .tool-items a[title="Estonian"] {
|
1947 |
+
background:url('../images/flags.png') -29px -90px no-repeat;
|
1948 |
+
}
|
1949 |
+
|
1950 |
+
#flags.size24 a[title="Filipino"],
|
1951 |
+
.tool-container .tool-items a[title="Filipino"] {
|
1952 |
+
background:url('../images/flags.png') -58px -90px no-repeat;
|
1953 |
+
}
|
1954 |
+
|
1955 |
+
#flags.size24 a[title="Finnish"],
|
1956 |
+
.tool-container .tool-items a[title="Finnish"] {
|
1957 |
+
background:url('../images/flags.png') -87px -90px no-repeat;
|
1958 |
+
}
|
1959 |
+
|
1960 |
+
#flags.size24 a[title="French"],
|
1961 |
+
.tool-container .tool-items a[title="French"] {
|
1962 |
+
background:url('../images/flags.png') -116px -90px no-repeat;
|
1963 |
+
}
|
1964 |
+
|
1965 |
+
#flags.size24 a[title="Galician"],
|
1966 |
+
.tool-container .tool-items a[title="Galician"] {
|
1967 |
+
background:url('../images/flags.png') -145px -90px no-repeat;
|
1968 |
+
}
|
1969 |
+
|
1970 |
+
#flags.size24 a[title="Georgian"],
|
1971 |
+
.tool-container .tool-items a[title="Georgian"] {
|
1972 |
+
background:url('../images/flags.png') 0 -119px no-repeat;
|
1973 |
+
}
|
1974 |
+
|
1975 |
+
#flags.size24 a[title="German"],
|
1976 |
+
.tool-container .tool-items a[title="German"] {
|
1977 |
+
background:url('../images/flags.png') -29px -119px no-repeat;
|
1978 |
+
}
|
1979 |
+
|
1980 |
+
#flags.size24 a[title="Greek"],
|
1981 |
+
.tool-container .tool-items a[title="Greek"] {
|
1982 |
+
background:url('../images/flags.png') -58px -119px no-repeat;
|
1983 |
+
}
|
1984 |
+
|
1985 |
+
#flags.size24 a[title="Gujarati"],
|
1986 |
+
.tool-container .tool-items a[title="Gujarati"] {
|
1987 |
+
background:url('../images/flags.png') -87px -119px no-repeat;
|
1988 |
+
}
|
1989 |
+
|
1990 |
+
#flags.size24 a[title="Haitian"],
|
1991 |
+
.tool-container .tool-items a[title="Haitian"] {
|
1992 |
+
background:url('../images/flags.png') -116px -119px no-repeat;
|
1993 |
+
}
|
1994 |
+
|
1995 |
+
#flags.size24 a[title="Hausa"],
|
1996 |
+
.tool-container .tool-items a[title="Hausa"] {
|
1997 |
+
background:url('../images/flags.png') -145px -119px no-repeat;
|
1998 |
+
}
|
1999 |
+
|
2000 |
+
#flags.size24 a[title="Hebrew"],
|
2001 |
+
.tool-container .tool-items a[title="Hebrew"] {
|
2002 |
+
background:url('../images/flags.png') 0 -148px no-repeat;
|
2003 |
+
}
|
2004 |
+
|
2005 |
+
#flags.size24 a[title="Hindi"],
|
2006 |
+
.tool-container .tool-items a[title="Hindi"] {
|
2007 |
+
background:url('../images/flags.png') -29px -148px no-repeat;
|
2008 |
+
}
|
2009 |
+
|
2010 |
+
#flags.size24 a[title="Hmong"],
|
2011 |
+
.tool-container .tool-items a[title="Hmong"] {
|
2012 |
+
background:url('../images/flags.png') -58px -148px no-repeat;
|
2013 |
+
}
|
2014 |
+
|
2015 |
+
#flags.size24 a[title="Hungarian"],
|
2016 |
+
.tool-container .tool-items a[title="Hungarian"] {
|
2017 |
+
background:url('../images/flags.png') -87px -148px no-repeat;
|
2018 |
+
}
|
2019 |
+
|
2020 |
+
#flags.size24 a[title="Icelandic"],
|
2021 |
+
.tool-container .tool-items a[title="Icelandic"] {
|
2022 |
+
background:url('../images/flags.png') -116px -148px no-repeat;
|
2023 |
+
}
|
2024 |
+
|
2025 |
+
#flags.size24 a[title="Igbo"],
|
2026 |
+
.tool-container .tool-items a[title="Igbo"] {
|
2027 |
+
background:url('../images/flags.png') -145px -148px no-repeat;
|
2028 |
+
}
|
2029 |
+
|
2030 |
+
#flags.size24 a[title="Indonesian"],
|
2031 |
+
.tool-container .tool-items a[title="Indonesian"] {
|
2032 |
+
background:url('../images/flags.png') 0 -177px no-repeat;
|
2033 |
+
}
|
2034 |
+
|
2035 |
+
#flags.size24 a[title="Irish"],
|
2036 |
+
.tool-container .tool-items a[title="Irish"] {
|
2037 |
+
background:url('../images/flags.png') -29px -177px no-repeat;
|
2038 |
+
}
|
2039 |
+
|
2040 |
+
#flags.size24 a[title="Italian"],
|
2041 |
+
.tool-container .tool-items a[title="Italian"] {
|
2042 |
+
background:url('../images/flags.png') -58px -177px no-repeat;
|
2043 |
+
}
|
2044 |
+
|
2045 |
+
#flags.size24 a[title="Japanese"],
|
2046 |
+
.tool-container .tool-items a[title="Japanese"] {
|
2047 |
+
background:url('../images/flags.png') -87px -177px no-repeat;
|
2048 |
+
}
|
2049 |
+
|
2050 |
+
#flags.size24 a[title="Javanese"],
|
2051 |
+
.tool-container .tool-items a[title="Javanese"] {
|
2052 |
+
background:url('../images/flags.png') -116px -177px no-repeat;
|
2053 |
+
}
|
2054 |
+
|
2055 |
+
#flags.size24 a[title="Kannada"],
|
2056 |
+
.tool-container .tool-items a[title="Kannada"] {
|
2057 |
+
background:url('../images/flags.png') -145px -177px no-repeat;
|
2058 |
+
}
|
2059 |
+
|
2060 |
+
#flags.size24 a[title="Khmer"],
|
2061 |
+
.tool-container .tool-items a[title="Khmer"] {
|
2062 |
+
background:url('../images/flags.png') 0 -206px no-repeat;
|
2063 |
+
}
|
2064 |
+
|
2065 |
+
#flags.size24 a[title="Korean"],
|
2066 |
+
.tool-container .tool-items a[title="Korean"] {
|
2067 |
+
background:url('../images/flags.png') -29px -206px no-repeat;
|
2068 |
+
}
|
2069 |
+
|
2070 |
+
#flags.size24 a[title="Lao"],
|
2071 |
+
.tool-container .tool-items a[title="Lao"] {
|
2072 |
+
background:url('../images/flags.png') -58px -206px no-repeat;
|
2073 |
+
}
|
2074 |
+
|
2075 |
+
#flags.size24 a[title="Latin"],
|
2076 |
+
.tool-container .tool-items a[title="Latin"] {
|
2077 |
+
background:url('../images/flags.png') -87px -206px no-repeat;
|
2078 |
+
}
|
2079 |
+
|
2080 |
+
#flags.size24 a[title="Latvian"],
|
2081 |
+
.tool-container .tool-items a[title="Latvian"] {
|
2082 |
+
background:url('../images/flags.png') -116px -206px no-repeat;
|
2083 |
+
}
|
2084 |
+
|
2085 |
+
#flags.size24 a[title="Lithuanian"],
|
2086 |
+
.tool-container .tool-items a[title="Lithuanian"] {
|
2087 |
+
background:url('../images/flags.png') -145px -206px no-repeat;
|
2088 |
+
}
|
2089 |
+
|
2090 |
+
#flags.size24 a[title="Macedonian"],
|
2091 |
+
.tool-container .tool-items a[title="Macedonian"] {
|
2092 |
+
background:url('../images/flags.png') 0 -235px no-repeat;
|
2093 |
+
}
|
2094 |
+
|
2095 |
+
#flags.size24 a[title="Malay"],
|
2096 |
+
.tool-container .tool-items a[title="Malay"] {
|
2097 |
+
background:url('../images/flags.png') -29px -235px no-repeat;
|
2098 |
+
}
|
2099 |
+
|
2100 |
+
#flags.size24 a[title="Maltese"],
|
2101 |
+
.tool-container .tool-items a[title="Maltese"] {
|
2102 |
+
background:url('../images/flags.png') -58px -235px no-repeat;
|
2103 |
+
}
|
2104 |
+
|
2105 |
+
#flags.size24 a[title="Maori"],
|
2106 |
+
.tool-container .tool-items a[title="Maori"] {
|
2107 |
+
background:url('../images/flags.png') -87px -235px no-repeat;
|
2108 |
+
}
|
2109 |
+
|
2110 |
+
#flags.size24 a[title="Marathi"],
|
2111 |
+
.tool-container .tool-items a[title="Marathi"] {
|
2112 |
+
background:url('../images/flags.png') -116px -235px no-repeat;
|
2113 |
+
}
|
2114 |
+
|
2115 |
+
#flags.size24 a[title="Mongolian"],
|
2116 |
+
.tool-container .tool-items a[title="Mongolian"] {
|
2117 |
+
background:url('../images/flags.png') -145px -235px no-repeat;
|
2118 |
+
}
|
2119 |
+
|
2120 |
+
#flags.size24 a[title="Nepali"],
|
2121 |
+
.tool-container .tool-items a[title="Nepali"] {
|
2122 |
+
background:url('../images/flags.png') 0 -264px no-repeat;
|
2123 |
+
}
|
2124 |
+
|
2125 |
+
#flags.size24 a[title="Norwegian"],
|
2126 |
+
.tool-container .tool-items a[title="Norwegian"] {
|
2127 |
+
background:url('../images/flags.png') -29px -264px no-repeat;
|
2128 |
+
}
|
2129 |
+
|
2130 |
+
#flags.size24 a[title="Persian"],
|
2131 |
+
.tool-container .tool-items a[title="Persian"] {
|
2132 |
+
background:url('../images/flags.png') -58px -264px no-repeat;
|
2133 |
+
}
|
2134 |
+
|
2135 |
+
#flags.size24 a[title="Polish"],
|
2136 |
+
.tool-container .tool-items a[title="Polish"] {
|
2137 |
+
background:url('../images/flags.png') -87px -264px no-repeat;
|
2138 |
+
}
|
2139 |
+
|
2140 |
+
#flags.size24 a[title="Portuguese"],
|
2141 |
+
.tool-container .tool-items a[title="Portuguese"] {
|
2142 |
+
background:url('../images/flags.png') -116px -264px no-repeat;
|
2143 |
+
}
|
2144 |
+
|
2145 |
+
#flags.size24 a[title="Punjabi"],
|
2146 |
+
.tool-container .tool-items a[title="Punjabi"] {
|
2147 |
+
background:url('../images/flags.png') -145px -264px no-repeat;
|
2148 |
+
}
|
2149 |
+
|
2150 |
+
#flags.size24 a[title="Romanian"],
|
2151 |
+
.tool-container .tool-items a[title="Romanian"] {
|
2152 |
+
background:url('../images/flags.png') 0 -293px no-repeat;
|
2153 |
+
}
|
2154 |
+
|
2155 |
+
#flags.size24 a[title="Russian"],
|
2156 |
+
.tool-container .tool-items a[title="Russian"] {
|
2157 |
+
background:url('../images/flags.png') -29px -293px no-repeat;
|
2158 |
+
}
|
2159 |
+
|
2160 |
+
#flags.size24 a[title="Serbian"],
|
2161 |
+
.tool-container .tool-items a[title="Serbian"] {
|
2162 |
+
background:url('../images/flags.png') -58px -293px no-repeat;
|
2163 |
+
}
|
2164 |
+
|
2165 |
+
#flags.size24 a[title="Slovak"],
|
2166 |
+
.tool-container .tool-items a[title="Slovak"] {
|
2167 |
+
background:url('../images/flags.png') -87px -293px no-repeat;
|
2168 |
+
}
|
2169 |
+
|
2170 |
+
#flags.size24 a[title="Slovenian"],
|
2171 |
+
.tool-container .tool-items a[title="Slovenian"] {
|
2172 |
+
background:url('../images/flags.png') -116px -293px no-repeat;
|
2173 |
+
}
|
2174 |
+
|
2175 |
+
#flags.size24 a[title="Somali"],
|
2176 |
+
.tool-container .tool-items a[title="Somali"] {
|
2177 |
+
background:url('../images/flags.png') -145px -293px no-repeat;
|
2178 |
+
}
|
2179 |
+
|
2180 |
+
#flags.size24 a[title="Spanish"],
|
2181 |
+
.tool-container .tool-items a[title="Spanish"] {
|
2182 |
+
background:url('../images/flags.png') 0 -322px no-repeat;
|
2183 |
+
}
|
2184 |
+
|
2185 |
+
#flags.size24 a[title="Swahili"],
|
2186 |
+
.tool-container .tool-items a[title="Swahili"] {
|
2187 |
+
background:url('../images/flags.png') -29px -322px no-repeat;
|
2188 |
+
}
|
2189 |
+
|
2190 |
+
#flags.size24 a[title="Swedish"],
|
2191 |
+
.tool-container .tool-items a[title="Swedish"] {
|
2192 |
+
background:url('../images/flags.png') -58px -322px no-repeat;
|
2193 |
+
}
|
2194 |
+
|
2195 |
+
#flags.size24 a[title="Tamil"],
|
2196 |
+
.tool-container .tool-items a[title="Tamil"] {
|
2197 |
+
background:url('../images/flags.png') -87px -322px no-repeat;
|
2198 |
+
}
|
2199 |
+
|
2200 |
+
#flags.size24 a[title="Telugu"],
|
2201 |
+
.tool-container .tool-items a[title="Telugu"] {
|
2202 |
+
background:url('../images/flags.png') -116px -322px no-repeat;
|
2203 |
+
}
|
2204 |
+
|
2205 |
+
#flags.size24 a[title="Thai"],
|
2206 |
+
.tool-container .tool-items a[title="Thai"] {
|
2207 |
+
background:url('../images/flags.png') -145px -322px no-repeat;
|
2208 |
+
}
|
2209 |
+
|
2210 |
+
#flags.size24 a[title="Turkish"],
|
2211 |
+
.tool-container .tool-items a[title="Turkish"] {
|
2212 |
+
background:url('../images/flags.png') -29px -351px no-repeat;
|
2213 |
+
}
|
2214 |
+
|
2215 |
+
#flags.size24 a[title="Ukranian"],
|
2216 |
+
.tool-container .tool-items a[title="Ukranian"] {
|
2217 |
+
background:url('../images/flags.png') -58px -351px no-repeat;
|
2218 |
+
}
|
2219 |
+
|
2220 |
+
#flags.size24 a[title="English"],
|
2221 |
+
.tool-container .tool-items a[title="English"] {
|
2222 |
+
background:url('../images/flags.png') -87px -351px no-repeat;
|
2223 |
+
}
|
2224 |
+
|
2225 |
+
#flags.size24 a[title="Urdu"],
|
2226 |
+
.tool-container .tool-items a[title="Urdu"] {
|
2227 |
+
background:url('../images/flags.png') -145px -351px no-repeat;
|
2228 |
+
}
|
2229 |
+
|
2230 |
+
#flags.size24 a[title="Vietnamese"],
|
2231 |
+
.tool-container .tool-items a[title="Vietnamese"] {
|
2232 |
+
background:url('../images/flags.png') 0 -380px no-repeat;
|
2233 |
+
}
|
2234 |
+
|
2235 |
+
#flags.size24 a[title="Welsh"],
|
2236 |
+
.tool-container .tool-items a[title="Welsh"] {
|
2237 |
+
background:url('../images/flags.png') -29px -380px no-repeat;
|
2238 |
+
}
|
2239 |
+
|
2240 |
+
#flags.size24 a[title="Yiddish"],
|
2241 |
+
.tool-container .tool-items a[title="Yiddish"] {
|
2242 |
+
background:url('../images/flags.png') -58px -380px no-repeat;
|
2243 |
+
}
|
2244 |
+
|
2245 |
+
#flags.size24 a[title="Yoruba"],
|
2246 |
+
.tool-container .tool-items a[title="Yoruba"] {
|
2247 |
+
background:url('../images/flags.png') -87px -380px no-repeat;
|
2248 |
+
}
|
2249 |
+
|
2250 |
+
#flags.size24 a[title="Zulu"],
|
2251 |
+
.tool-container .tool-items a[title="Zulu"] {
|
2252 |
+
background:url('../images/flags.png') -116px -380px no-repeat;
|
2253 |
+
}
|
css/style.php
CHANGED
@@ -1,99 +1,99 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
$glt_css = get_option("googlelanguagetranslator_css");
|
4 |
-
|
5 |
-
echo '<style type="text/css">';
|
6 |
-
echo $glt_css;
|
7 |
-
|
8 |
-
if (get_option('googlelanguagetranslator_flags') == 'show_flags') {
|
9 |
-
|
10 |
-
if(get_option('googlelanguagetranslator_display')=='Vertical') {
|
11 |
-
if (get_option('googlelanguagetranslator_language_option')=='specific') {
|
12 |
-
echo '#flags {display:none !important; }';
|
13 |
-
}
|
14 |
-
|
15 |
-
echo 'p.hello { font-size:12px; color:darkgray; }';
|
16 |
-
echo '#google_language_translator, #flags { text-align:left; }';
|
17 |
-
} elseif (get_option('googlelanguagetranslator_display')=='Horizontal') {
|
18 |
-
|
19 |
-
if (get_option('googlelanguagetranslator_language_option')=='specific') {
|
20 |
-
echo '#flags {display:none !important; }';
|
21 |
-
}
|
22 |
-
|
23 |
-
if (get_option('googlelanguagetranslator_flags_alignment')=='flags_right') {
|
24 |
-
echo '#google_language_translator { text-align:left !important; }';
|
25 |
-
echo 'select.goog-te-combo { float:right; }';
|
26 |
-
echo '.goog-te-gadget { padding-top:13px; }';
|
27 |
-
echo '.goog-te-gadget .goog-te-combo { margin-top:-7px !important; }';
|
28 |
-
}
|
29 |
-
|
30 |
-
echo '.goog-te-gadget { margin-top:2px !important; }';
|
31 |
-
echo 'p.hello { font-size:12px; color:#666; }';
|
32 |
-
}
|
33 |
-
|
34 |
-
if ( get_option ('googlelanguagetranslator_flags_alignment') == 'flags_right') {
|
35 |
-
echo '#google_language_translator, #language { clear:both; width:auto !important; text-align:right; }';
|
36 |
-
echo '#language { float:right; }';
|
37 |
-
echo '#flags { text-align:right; width:165px; float:right; clear:right; }';
|
38 |
-
echo '#flags ul { float:right !important; }';
|
39 |
-
echo 'p.hello { text-align:right; float:right; clear:both; }';
|
40 |
-
echo '.glt-clear { height:0px; clear:both; margin:0px; padding:0px; }';
|
41 |
-
}
|
42 |
-
|
43 |
-
if ( get_option ('googlelanguagetranslator_flags_alignment') == 'flags_left') {
|
44 |
-
echo '#google_language_translator { clear:both; }';
|
45 |
-
echo '#flags { width:165px; }';
|
46 |
-
echo '#flags a { display:inline-block; margin-right:2px; }';
|
47 |
-
} elseif ( get_option ('googlelanguagetranslator_flags_alignment') == 'flags_right') {
|
48 |
-
echo '#flags { width:165px; }';
|
49 |
-
echo '#flags a { display:inline-block; margin-left:2px; }';
|
50 |
-
}
|
51 |
-
}
|
52 |
-
|
53 |
-
if (get_option('googlelanguagetranslator_manage_translations') == 0) {
|
54 |
-
if(get_option('googlelanguagetranslator_active')==1) {
|
55 |
-
echo '.goog-tooltip {display: none !important;}';
|
56 |
-
echo '.goog-tooltip:hover {display: none !important;}';
|
57 |
-
echo '.goog-text-highlight {background-color: transparent !important; border: none !important; box-shadow: none !important;}';
|
58 |
-
}
|
59 |
-
}
|
60 |
-
|
61 |
-
if (get_option('googlelanguagetranslator_showbranding')=='Yes') {
|
62 |
-
if(get_option('googlelanguagetranslator_active')==1) {
|
63 |
-
echo '#google_language_translator { width:auto !important; }';
|
64 |
-
}
|
65 |
-
|
66 |
-
} elseif(get_option('googlelanguagetranslator_showbranding')=='No') {
|
67 |
-
if(get_option('googlelanguagetranslator_active')==1) {
|
68 |
-
echo '#google_language_translator a {display: none !important; }';
|
69 |
-
echo '.goog-te-gadget {color:transparent !important;}';
|
70 |
-
echo '.goog-te-gadget { font-size:0px !important; }';
|
71 |
-
echo '.goog-branding { display:none; }';
|
72 |
-
}
|
73 |
-
}
|
74 |
-
|
75 |
-
if (get_option('googlelanguagetranslator_translatebox') == 'no') {
|
76 |
-
if(get_option('googlelanguagetranslator_active')==1) {
|
77 |
-
echo '#google_language_translator { display:none; }';
|
78 |
-
}
|
79 |
-
}
|
80 |
-
|
81 |
-
if (get_option('googlelanguagetranslator_flags') == 'hide_flags') {
|
82 |
-
if(get_option('googlelanguagetranslator_active') ==1) {
|
83 |
-
echo '#flags { display:none; }';
|
84 |
-
}
|
85 |
-
}
|
86 |
-
|
87 |
-
if(get_option('googlelanguagetranslator_toolbar')=='Yes') {
|
88 |
-
if(get_option('googlelanguagetranslator_active')==1) {
|
89 |
-
echo '#google_language_translator {color: transparent;}';
|
90 |
-
echo 'body { top:0px !important; }';
|
91 |
-
}
|
92 |
-
} elseif(get_option('googlelanguagetranslator_toolbar')=='No') {
|
93 |
-
if(get_option('googlelanguagetranslator_active')==1) {
|
94 |
-
echo '.goog-te-banner-frame{visibility:hidden !important;}';
|
95 |
-
echo 'body { top:0px !important;}';
|
96 |
-
}
|
97 |
-
}
|
98 |
-
echo '</style>';
|
99 |
?>
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$glt_css = get_option("googlelanguagetranslator_css");
|
4 |
+
|
5 |
+
echo '<style type="text/css">';
|
6 |
+
echo $glt_css;
|
7 |
+
|
8 |
+
if (get_option('googlelanguagetranslator_flags') == 'show_flags') {
|
9 |
+
|
10 |
+
if(get_option('googlelanguagetranslator_display')=='Vertical') {
|
11 |
+
if (get_option('googlelanguagetranslator_language_option')=='specific') {
|
12 |
+
echo '#flags {display:none !important; }';
|
13 |
+
}
|
14 |
+
|
15 |
+
echo 'p.hello { font-size:12px; color:darkgray; }';
|
16 |
+
echo '#google_language_translator, #flags { text-align:left; }';
|
17 |
+
} elseif (get_option('googlelanguagetranslator_display')=='Horizontal') {
|
18 |
+
|
19 |
+
if (get_option('googlelanguagetranslator_language_option')=='specific') {
|
20 |
+
echo '#flags {display:none !important; }';
|
21 |
+
}
|
22 |
+
|
23 |
+
if (get_option('googlelanguagetranslator_flags_alignment')=='flags_right') {
|
24 |
+
echo '#google_language_translator { text-align:left !important; }';
|
25 |
+
echo 'select.goog-te-combo { float:right; }';
|
26 |
+
echo '.goog-te-gadget { padding-top:13px; }';
|
27 |
+
echo '.goog-te-gadget .goog-te-combo { margin-top:-7px !important; }';
|
28 |
+
}
|
29 |
+
|
30 |
+
echo '.goog-te-gadget { margin-top:2px !important; }';
|
31 |
+
echo 'p.hello { font-size:12px; color:#666; }';
|
32 |
+
}
|
33 |
+
|
34 |
+
if ( get_option ('googlelanguagetranslator_flags_alignment') == 'flags_right') {
|
35 |
+
echo '#google_language_translator, #language { clear:both; width:auto !important; text-align:right; }';
|
36 |
+
echo '#language { float:right; }';
|
37 |
+
echo '#flags { text-align:right; width:165px; float:right; clear:right; }';
|
38 |
+
echo '#flags ul { float:right !important; }';
|
39 |
+
echo 'p.hello { text-align:right; float:right; clear:both; }';
|
40 |
+
echo '.glt-clear { height:0px; clear:both; margin:0px; padding:0px; }';
|
41 |
+
}
|
42 |
+
|
43 |
+
if ( get_option ('googlelanguagetranslator_flags_alignment') == 'flags_left') {
|
44 |
+
echo '#google_language_translator { clear:both; }';
|
45 |
+
echo '#flags { width:165px; }';
|
46 |
+
echo '#flags a { display:inline-block; margin-right:2px; }';
|
47 |
+
} elseif ( get_option ('googlelanguagetranslator_flags_alignment') == 'flags_right') {
|
48 |
+
echo '#flags { width:165px; }';
|
49 |
+
echo '#flags a { display:inline-block; margin-left:2px; }';
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
if (get_option('googlelanguagetranslator_manage_translations') == 0) {
|
54 |
+
if(get_option('googlelanguagetranslator_active')==1) {
|
55 |
+
echo '.goog-tooltip {display: none !important;}';
|
56 |
+
echo '.goog-tooltip:hover {display: none !important;}';
|
57 |
+
echo '.goog-text-highlight {background-color: transparent !important; border: none !important; box-shadow: none !important;}';
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
if (get_option('googlelanguagetranslator_showbranding')=='Yes') {
|
62 |
+
if(get_option('googlelanguagetranslator_active')==1) {
|
63 |
+
echo '#google_language_translator { width:auto !important; }';
|
64 |
+
}
|
65 |
+
|
66 |
+
} elseif(get_option('googlelanguagetranslator_showbranding')=='No') {
|
67 |
+
if(get_option('googlelanguagetranslator_active')==1) {
|
68 |
+
echo '#google_language_translator a {display: none !important; }';
|
69 |
+
echo '.goog-te-gadget {color:transparent !important;}';
|
70 |
+
echo '.goog-te-gadget { font-size:0px !important; }';
|
71 |
+
echo '.goog-branding { display:none; }';
|
72 |
+
}
|
73 |
+
}
|
74 |
+
|
75 |
+
if (get_option('googlelanguagetranslator_translatebox') == 'no') {
|
76 |
+
if(get_option('googlelanguagetranslator_active')==1) {
|
77 |
+
echo '#google_language_translator { display:none; }';
|
78 |
+
}
|
79 |
+
}
|
80 |
+
|
81 |
+
if (get_option('googlelanguagetranslator_flags') == 'hide_flags') {
|
82 |
+
if(get_option('googlelanguagetranslator_active') ==1) {
|
83 |
+
echo '#flags { display:none; }';
|
84 |
+
}
|
85 |
+
}
|
86 |
+
|
87 |
+
if(get_option('googlelanguagetranslator_toolbar')=='Yes') {
|
88 |
+
if(get_option('googlelanguagetranslator_active')==1) {
|
89 |
+
echo '#google_language_translator {color: transparent;}';
|
90 |
+
echo 'body { top:0px !important; }';
|
91 |
+
}
|
92 |
+
} elseif(get_option('googlelanguagetranslator_toolbar')=='No') {
|
93 |
+
if(get_option('googlelanguagetranslator_active')==1) {
|
94 |
+
echo '.goog-te-banner-frame{visibility:hidden !important;}';
|
95 |
+
echo 'body { top:0px !important;}';
|
96 |
+
}
|
97 |
+
}
|
98 |
+
echo '</style>';
|
99 |
?>
|
css/toolbar.css
CHANGED
@@ -51,7 +51,6 @@
|
|
51 |
}
|
52 |
|
53 |
.tool-container.tool-top, .tool-container.tool-bottom {
|
54 |
-
height: 27px;
|
55 |
border-bottom: 1px solid #beb8b8 ; /* #B1A9A9 */
|
56 |
}
|
57 |
|
51 |
}
|
52 |
|
53 |
.tool-container.tool-top, .tool-container.tool-bottom {
|
|
|
54 |
border-bottom: 1px solid #beb8b8 ; /* #B1A9A9 */
|
55 |
}
|
56 |
|
google-language-translator.php
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
/*
|
3 |
Plugin Name: Google Language Translator
|
4 |
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
5 |
-
Version: 4.0.
|
6 |
Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
|
7 |
Author: Rob Myrick
|
8 |
-
Author URI: http://www.
|
9 |
*/
|
10 |
|
11 |
include( plugin_dir_path( __FILE__ ) . 'widget.php');
|
@@ -13,10 +13,90 @@ include( plugin_dir_path( __FILE__ ) . 'widget.php');
|
|
13 |
class google_language_translator {
|
14 |
|
15 |
public $languages_array = array (
|
16 |
-
'af' => 'Afrikaans',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
);
|
18 |
|
19 |
-
public function __construct(){
|
20 |
register_activation_hook( __FILE__, array( &$this, 'glt_activate' ));
|
21 |
register_uninstall_hook( __FILE__, 'glt_deactivate' );
|
22 |
add_action( 'admin_menu', array( &$this, 'add_my_admin_menus'));
|
@@ -27,7 +107,7 @@ class google_language_translator {
|
|
27 |
add_shortcode( 'glt', array(&$this, 'google_translator_menu_language'));
|
28 |
add_filter('widget_text','do_shortcode');
|
29 |
add_filter('walker_nav_menu_start_el', array(&$this,'menu_shortcodes') , 10 , 2);
|
30 |
-
|
31 |
|
32 |
if (!is_admin()) {
|
33 |
add_action('init',array(&$this, 'flags'));
|
@@ -46,7 +126,7 @@ class google_language_translator {
|
|
46 |
add_option('googlelanguagetranslator_toolbar','Yes');
|
47 |
add_option('googlelanguagetranslator_showbranding','Yes');
|
48 |
add_option('googlelanguagetranslator_flags_alignment','flags_left');
|
49 |
-
add_option('googlelanguagetranslator_analytics',
|
50 |
add_option('googlelanguagetranslator_analytics_id','');
|
51 |
add_option('googlelanguagetranslator_css','');
|
52 |
add_option('googlelanguagetranslator_manage_translations',0);
|
@@ -137,6 +217,7 @@ class google_language_translator {
|
|
137 |
}
|
138 |
|
139 |
public function google_translator_shortcode() {
|
|
|
140 |
if (get_option('googlelanguagetranslator_display')=='Vertical'){
|
141 |
return $this->googlelanguagetranslator_vertical();
|
142 |
}
|
@@ -147,7 +228,8 @@ class google_language_translator {
|
|
147 |
|
148 |
public function googlelanguagetranslator_included_languages() {
|
149 |
if ( get_option('googlelanguagetranslator_language_option')=='specific') {
|
150 |
-
|
|
|
151 |
foreach ($get_language_choices as $key=>$value) {
|
152 |
if($value == 1) {
|
153 |
$items[] = $key;
|
@@ -157,20 +239,23 @@ class google_language_translator {
|
|
157 |
$comma_separated = implode(",",array_values($items));
|
158 |
|
159 |
if ( get_option('googlelanguagetranslator_display') == 'Vertical') {
|
160 |
-
$lang =
|
161 |
return $lang;
|
162 |
} elseif ( get_option('googlelanguagetranslator_display') == 'Horizontal') {
|
163 |
-
$lang =
|
164 |
return $lang;
|
165 |
-
|
166 |
}
|
167 |
}
|
168 |
|
169 |
public function analytics() {
|
170 |
if ( get_option('googlelanguagetranslator_analytics') == 1 ) {
|
171 |
$analytics_id = get_option('googlelanguagetranslator_analytics_id');
|
172 |
-
$analytics = 'gaTrack: true, gaId:
|
|
|
|
|
173 |
return ', '.$analytics;
|
|
|
174 |
}
|
175 |
}
|
176 |
|
@@ -187,40 +272,192 @@ class google_language_translator {
|
|
187 |
public function google_translator_menu_language($atts, $content = '') {
|
188 |
extract(shortcode_atts(array(
|
189 |
"language" => 'Spanish',
|
190 |
-
|
191 |
), $atts));
|
192 |
|
193 |
-
|
194 |
-
|
195 |
|
196 |
-
|
197 |
}
|
198 |
|
199 |
public function footer_script() {
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
|
207 |
if ($is_multilanguage == 1) {
|
208 |
$multilanguagePage = ', multilanguagePage:true';
|
209 |
-
$str.=
|
210 |
-
|
211 |
-
|
212 |
echo $str;
|
213 |
|
214 |
} elseif ($is_multilanguage == 0) {
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
echo $str;
|
220 |
}
|
221 |
}
|
222 |
|
223 |
-
public function googlelanguagetranslator_vertical(){
|
|
|
|
|
|
|
|
|
224 |
$get_flag_choices = get_option ('flag_display_settings');
|
225 |
$new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
|
226 |
$new_languages_array = explode(",",$new_languages_array_string);
|
@@ -242,11 +479,11 @@ class google_language_translator {
|
|
242 |
|
243 |
if ($floating_widget=='yes' && $get_language_option != 'specific') {
|
244 |
$str.='<div id="glt-translate-trigger"><span class="notranslate">Translate »</span></div>';
|
245 |
-
|
246 |
} //endif $floating_widget
|
247 |
|
248 |
-
|
249 |
-
|
250 |
|
251 |
if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
|
252 |
foreach ($this->languages_array as $key=>$value) {
|
@@ -255,7 +492,7 @@ class google_language_translator {
|
|
255 |
$language_name_flag = $language_name;
|
256 |
if ($flag_choice_key == '1') {
|
257 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
258 |
-
$str.=
|
259 |
}
|
260 |
} //$key
|
261 |
}//foreach
|
@@ -267,7 +504,7 @@ class google_language_translator {
|
|
267 |
if ($flag_choice_key == '1') {
|
268 |
if (in_array($language_name,$this->languages_array)) {
|
269 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
270 |
-
$str.=
|
271 |
} //isset
|
272 |
} //in_array
|
273 |
}//flag_choice_key
|
@@ -281,6 +518,7 @@ class google_language_translator {
|
|
281 |
} // End glt_vertical
|
282 |
|
283 |
public function googlelanguagetranslator_horizontal(){
|
|
|
284 |
$get_flag_choices = get_option ('flag_display_settings');
|
285 |
$new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
|
286 |
$new_languages_array = explode(",",$new_languages_array_string);
|
@@ -299,13 +537,14 @@ class google_language_translator {
|
|
299 |
if( $is_active == 1) {
|
300 |
foreach ($get_flag_choices as $flag_choice_key) {}
|
301 |
|
302 |
-
if ($floating_widget=='yes' && $get_language_option != 'specific') {
|
|
|
303 |
$str.='<div id="glt-translate-trigger"><span class="notranslate">Translate »</span></div>';
|
304 |
-
|
305 |
} //endif $floating_widget
|
306 |
|
307 |
-
|
308 |
-
|
309 |
|
310 |
if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
|
311 |
foreach ($this->languages_array as $key=>$value) {
|
@@ -315,7 +554,7 @@ class google_language_translator {
|
|
315 |
|
316 |
if ($flag_choice_key == '1') {
|
317 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
318 |
-
$str.=
|
319 |
}
|
320 |
} //$key
|
321 |
}//foreach
|
@@ -329,7 +568,7 @@ class google_language_translator {
|
|
329 |
if ($flag_choice_key == '1') {
|
330 |
if (in_array($language_name,$this->languages_array)) {
|
331 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
332 |
-
$str.=
|
333 |
} //isset
|
334 |
} //in_array
|
335 |
}//flag_choice_key
|
@@ -346,10 +585,10 @@ class google_language_translator {
|
|
346 |
add_settings_section('glt_settings','Settings','','google_language_translator');
|
347 |
|
348 |
$settings_name_array = array (
|
349 |
-
'googlelanguagetranslator_active','googlelanguagetranslator_language','googlelanguagetranslator_language_option','language_display_settings','googlelanguagetranslator_flags','flag_display_settings','googlelanguagetranslator_translatebox','googlelanguagetranslator_display','googlelanguagetranslator_toolbar','googlelanguagetranslator_showbranding','googlelanguagetranslator_flags_alignment','googlelanguagetranslator_analytics','googlelanguagetranslator_analytics_id','googlelanguagetranslator_css','googlelanguagetranslator_manage_translations','googlelanguagetranslator_multilanguage','googlelanguagetranslator_floating_widget','googlelanguagetranslator_flag_size','googlelanguagetranslator_flags_order'
|
350 |
);
|
351 |
|
352 |
-
$settings_callback_array = array ( 'googlelanguagetranslator_active_cb','googlelanguagetranslator_language_cb','googlelanguagetranslator_language_option_cb','language_display_settings_cb','googlelanguagetranslator_flags_cb','flag_display_settings_cb','googlelanguagetranslator_translatebox_cb','googlelanguagetranslator_display_cb','googlelanguagetranslator_toolbar_cb','googlelanguagetranslator_showbranding_cb','googlelanguagetranslator_flags_alignment_cb','googlelanguagetranslator_analytics_cb','googlelanguagetranslator_analytics_id_cb','googlelanguagetranslator_css_cb','googlelanguagetranslator_manage_translations_cb','googlelanguagetranslator_multilanguage_cb','googlelanguagetranslator_floating_widget_cb','googlelanguagetranslator_flag_size_cb','googlelanguagetranslator_flags_order_cb'
|
353 |
);
|
354 |
|
355 |
foreach ($settings_name_array as $setting) {
|
@@ -369,7 +608,7 @@ class google_language_translator {
|
|
369 |
|
370 |
$options = get_option (''.$option_name.'');
|
371 |
|
372 |
-
$html = '<input type="checkbox" name="googlelanguagetranslator_active" id="googlelanguagetranslator_active" value="1" '.checked(1,$options,false).'/>
|
373 |
echo $html;
|
374 |
}
|
375 |
|
@@ -532,7 +771,7 @@ class google_language_translator {
|
|
532 |
|
533 |
public function googlelanguagetranslator_translatebox_cb() {
|
534 |
|
535 |
-
|
536 |
$new_value = 'yes';
|
537 |
|
538 |
if ( get_option( $option_name ) === false ) {
|
@@ -744,9 +983,27 @@ class google_language_translator {
|
|
744 |
$html = '<input type="checkbox" name="googlelanguagetranslator_multilanguage" id="googlelanguagetranslator_multilanguage" value="1" '.checked(1,$options,false).'/> Turn on multilanguage mode?';
|
745 |
echo $html;
|
746 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
747 |
|
748 |
public function page_layout_cb() {
|
749 |
include( plugin_dir_path( __FILE__ ) . '/css/style.php'); ?>
|
|
|
750 |
<div class="wrap">
|
751 |
<div id="icon-options-general" class="icon32"></div>
|
752 |
<h2><span class="notranslate">Google Language Translator</span></h2>
|
@@ -772,7 +1029,7 @@ class google_language_translator {
|
|
772 |
<td><?php $this->googlelanguagetranslator_language_option_cb(); ?></td>
|
773 |
</tr>
|
774 |
|
775 |
-
<tr class="notranslate">
|
776 |
<td colspan="2"><?php $this->language_display_settings_cb(); ?></td>
|
777 |
</tr>
|
778 |
|
@@ -781,7 +1038,7 @@ class google_language_translator {
|
|
781 |
<td class="choose_flags_intro"><?php $this->googlelanguagetranslator_flags_cb(); ?></td>
|
782 |
</tr>
|
783 |
|
784 |
-
<tr class="notranslate">
|
785 |
<td class="choose_flags">Choose the flags you want to display:</td>
|
786 |
<td></td>
|
787 |
</tr>
|
@@ -803,7 +1060,7 @@ class google_language_translator {
|
|
803 |
</tr>
|
804 |
|
805 |
<tr class="notranslate">
|
806 |
-
<td>Layout
|
807 |
<td><?php $this->googlelanguagetranslator_display_cb(); ?></td>
|
808 |
</tr>
|
809 |
|
@@ -813,9 +1070,7 @@ class google_language_translator {
|
|
813 |
</tr>
|
814 |
|
815 |
<tr class="notranslate">
|
816 |
-
<td>Show Google Branding
|
817 |
-
<span>(<a href="https://developers.google.com/translate/v2/attribution" target="_blank">Learn more</a> about Google's Attribution Requirements.)</span>
|
818 |
-
</td>
|
819 |
<td><?php $this->googlelanguagetranslator_showbranding_cb(); ?></td>
|
820 |
</tr>
|
821 |
|
@@ -825,12 +1080,12 @@ class google_language_translator {
|
|
825 |
</tr>
|
826 |
|
827 |
<tr class="manage_translations notranslate">
|
828 |
-
<td>Turn on translation management
|
829 |
<td><?php $this->googlelanguagetranslator_manage_translations_cb(); ?></td>
|
830 |
</tr>
|
831 |
|
832 |
<tr class="multilanguage notranslate">
|
833 |
-
<td>Multilanguage Page Option
|
834 |
<td><?php $this->googlelanguagetranslator_multilanguage_cb(); ?></td>
|
835 |
</tr>
|
836 |
|
@@ -858,11 +1113,14 @@ class google_language_translator {
|
|
858 |
|
859 |
<tr class="notranslate">
|
860 |
<td>Single language usage in<br/>nav menu/pages/posts</td>
|
861 |
-
<td><code>[glt language="Spanish"
|
862 |
</tr>
|
863 |
|
864 |
<tr class="notranslate">
|
865 |
-
<td colspan="2"
|
|
|
|
|
|
|
866 |
</tr>
|
867 |
|
868 |
<tr class="notranslate">
|
@@ -920,23 +1178,25 @@ class google_language_translator {
|
|
920 |
|
921 |
<div class="metabox-holder notranslate" style="float: right; width: 33%;">
|
922 |
<div class="postbox">
|
923 |
-
<h3>GLT Premium
|
924 |
<div class="inside"><a href="http://www.wp-studio.net/" target="_blank"><img style="background:#444; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px" src="<?php echo plugins_url('google-language-translator/images/logo.png'); ?>"></a><br />
|
925 |
-
<ul id="features">
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
|
|
|
|
940 |
|
941 |
<div class="metabox-holder notranslate" style="float: right; width: 33%;">
|
942 |
<div class="postbox">
|
2 |
/*
|
3 |
Plugin Name: Google Language Translator
|
4 |
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
5 |
+
Version: 4.0.7
|
6 |
Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
|
7 |
Author: Rob Myrick
|
8 |
+
Author URI: http://www.wp-studio.net/
|
9 |
*/
|
10 |
|
11 |
include( plugin_dir_path( __FILE__ ) . 'widget.php');
|
13 |
class google_language_translator {
|
14 |
|
15 |
public $languages_array = array (
|
16 |
+
'af' => 'Afrikaans',
|
17 |
+
'sq' => 'Albanian',
|
18 |
+
'ar' => 'Arabic',
|
19 |
+
'hy' => 'Armenian',
|
20 |
+
'az' => 'Azerbaijani',
|
21 |
+
'eu' => 'Basque',
|
22 |
+
'be' => 'Belarusian',
|
23 |
+
'bn' => 'Bengali',
|
24 |
+
'bs' => 'Bosnian',
|
25 |
+
'bg' => 'Bulgarian',
|
26 |
+
'ca' => 'Catalan',
|
27 |
+
'ceb' => 'Cebuano',
|
28 |
+
'zh-CN' => 'Chinese(Simplified)',
|
29 |
+
'zh-TW' => 'Chinese(Traditional)',
|
30 |
+
'hr' => 'Croatian',
|
31 |
+
'cs' => 'Czech',
|
32 |
+
'da' => 'Danish',
|
33 |
+
'nl' => 'Dutch',
|
34 |
+
'en' => 'English',
|
35 |
+
'eo' => 'Esperanto',
|
36 |
+
'et' => 'Estonian',
|
37 |
+
'tl' => 'Filipino',
|
38 |
+
'fi' => 'Finnish',
|
39 |
+
'fr' => 'French',
|
40 |
+
'gl' => 'Galician',
|
41 |
+
'ka' => 'Georgian',
|
42 |
+
'de' => 'German',
|
43 |
+
'el' => 'Greek',
|
44 |
+
'gu' => 'Gujarati',
|
45 |
+
'ht' => 'Haitian',
|
46 |
+
'ha' => 'Hausa',
|
47 |
+
'iw' => 'Hebrew',
|
48 |
+
'hi' => 'Hindi',
|
49 |
+
'hmn' => 'Hmong',
|
50 |
+
'hu' => 'Hungarian',
|
51 |
+
'is' => 'Icelandic',
|
52 |
+
'ig' => 'Igbo',
|
53 |
+
'id' => 'Indonesian',
|
54 |
+
'ga' => 'Irish',
|
55 |
+
'it' => 'Italian',
|
56 |
+
'ja' => 'Japanese',
|
57 |
+
'jw' => 'Javanese',
|
58 |
+
'kn' => 'Kannada',
|
59 |
+
'km' => 'Khmer',
|
60 |
+
'ko' => 'Korean',
|
61 |
+
'lo' => 'Lao',
|
62 |
+
'la' => 'Latin',
|
63 |
+
'lv' => 'Latvian',
|
64 |
+
'lt' => 'Lithuanian',
|
65 |
+
'mk' => 'Macedonian',
|
66 |
+
'ms' => 'Malay',
|
67 |
+
'mt' => 'Maltese',
|
68 |
+
'mi' => 'Maori',
|
69 |
+
'mr' => 'Marathi',
|
70 |
+
'mn' => 'Mongolian',
|
71 |
+
'ne' => 'Nepali',
|
72 |
+
'no' => 'Norwegian',
|
73 |
+
'fa' => 'Persian',
|
74 |
+
'pl' => 'Polish',
|
75 |
+
'pt' => 'Portuguese',
|
76 |
+
'pa' => 'Punjabi',
|
77 |
+
'ro' => 'Romanian',
|
78 |
+
'ru' => 'Russian',
|
79 |
+
'sr' => 'Serbian',
|
80 |
+
'sk' => 'Slovak',
|
81 |
+
'sl' => 'Slovenian',
|
82 |
+
'so' => 'Somali',
|
83 |
+
'es' => 'Spanish',
|
84 |
+
'sw' => 'Swahili',
|
85 |
+
'sv' => 'Swedish',
|
86 |
+
'ta' => 'Tamil',
|
87 |
+
'te' => 'Telugu',
|
88 |
+
'th' => 'Thai',
|
89 |
+
'tr' => 'Turkish',
|
90 |
+
'uk' => 'Ukranian',
|
91 |
+
'ur' => 'Urdu',
|
92 |
+
'vi' => 'Vietnamese',
|
93 |
+
'cy' => 'Welsh',
|
94 |
+
'yi' => 'Yiddish',
|
95 |
+
'yo' => 'Yoruba',
|
96 |
+
'zu' => 'Zulu'
|
97 |
);
|
98 |
|
99 |
+
public function __construct() {
|
100 |
register_activation_hook( __FILE__, array( &$this, 'glt_activate' ));
|
101 |
register_uninstall_hook( __FILE__, 'glt_deactivate' );
|
102 |
add_action( 'admin_menu', array( &$this, 'add_my_admin_menus'));
|
107 |
add_shortcode( 'glt', array(&$this, 'google_translator_menu_language'));
|
108 |
add_filter('widget_text','do_shortcode');
|
109 |
add_filter('walker_nav_menu_start_el', array(&$this,'menu_shortcodes') , 10 , 2);
|
110 |
+
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'glt_settings_link') );
|
111 |
|
112 |
if (!is_admin()) {
|
113 |
add_action('init',array(&$this, 'flags'));
|
126 |
add_option('googlelanguagetranslator_toolbar','Yes');
|
127 |
add_option('googlelanguagetranslator_showbranding','Yes');
|
128 |
add_option('googlelanguagetranslator_flags_alignment','flags_left');
|
129 |
+
add_option('googlelanguagetranslator_analytics', 0);
|
130 |
add_option('googlelanguagetranslator_analytics_id','');
|
131 |
add_option('googlelanguagetranslator_css','');
|
132 |
add_option('googlelanguagetranslator_manage_translations',0);
|
217 |
}
|
218 |
|
219 |
public function google_translator_shortcode() {
|
220 |
+
|
221 |
if (get_option('googlelanguagetranslator_display')=='Vertical'){
|
222 |
return $this->googlelanguagetranslator_vertical();
|
223 |
}
|
228 |
|
229 |
public function googlelanguagetranslator_included_languages() {
|
230 |
if ( get_option('googlelanguagetranslator_language_option')=='specific') {
|
231 |
+
$get_language_choices = get_option ('language_display_settings');
|
232 |
+
|
233 |
foreach ($get_language_choices as $key=>$value) {
|
234 |
if($value == 1) {
|
235 |
$items[] = $key;
|
239 |
$comma_separated = implode(",",array_values($items));
|
240 |
|
241 |
if ( get_option('googlelanguagetranslator_display') == 'Vertical') {
|
242 |
+
$lang = ", includedLanguages:'".$comma_separated."'";
|
243 |
return $lang;
|
244 |
} elseif ( get_option('googlelanguagetranslator_display') == 'Horizontal') {
|
245 |
+
$lang = ", includedLanguages:'".$comma_separated."'";
|
246 |
return $lang;
|
247 |
+
}
|
248 |
}
|
249 |
}
|
250 |
|
251 |
public function analytics() {
|
252 |
if ( get_option('googlelanguagetranslator_analytics') == 1 ) {
|
253 |
$analytics_id = get_option('googlelanguagetranslator_analytics_id');
|
254 |
+
$analytics = 'gaTrack: true, gaId: '.$analytics_id.'';
|
255 |
+
|
256 |
+
if (!empty ($analytics_id) ):
|
257 |
return ', '.$analytics;
|
258 |
+
endif;
|
259 |
}
|
260 |
}
|
261 |
|
272 |
public function google_translator_menu_language($atts, $content = '') {
|
273 |
extract(shortcode_atts(array(
|
274 |
"language" => 'Spanish',
|
275 |
+
"label" => 'Spanish'
|
276 |
), $atts));
|
277 |
|
278 |
+
$default_language = get_option('googlelanguagetranslator_language');
|
279 |
+
$language_code = array_search($language,$this->languages_array);
|
280 |
|
281 |
+
return "<a class='nturl notranslate ".$language_code." single-language flag' title='".$language."'>".$label."</a>";
|
282 |
}
|
283 |
|
284 |
public function footer_script() {
|
285 |
+
|
286 |
+
global $shortcode_started;
|
287 |
+
|
288 |
+
if (!$shortcode_started):
|
289 |
+
//echo 'shortcode not loaded';
|
290 |
+
else:
|
291 |
+
//echo 'true';
|
292 |
+
endif;
|
293 |
+
|
294 |
+
|
295 |
+
|
296 |
+
$default_language = get_option('googlelanguagetranslator_language');
|
297 |
+
$language_choices = $this->googlelanguagetranslator_included_languages();
|
298 |
+
$get_language_option = get_option('googlelanguagetranslator_language_option');
|
299 |
+
$get_flag_choices = get_option ('flag_display_settings');
|
300 |
+
$floating_widget = get_option ('googlelanguagetranslator_floating_widget');
|
301 |
+
$is_active = get_option ( 'googlelanguagetranslator_active' );
|
302 |
+
$is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
|
303 |
+
$auto_display = ', autoDisplay: false';
|
304 |
+
$str = ''; ?>
|
305 |
+
|
306 |
+
<script>
|
307 |
+
jQuery(document).ready(function($) {
|
308 |
+
$("a.nturl").on("click",function() {
|
309 |
+
default_lang = "<?php echo get_option('googlelanguagetranslator_language'); ?>";
|
310 |
+
lang_prefix = $(this).attr("class").split(" ")[2];
|
311 |
+
|
312 |
+
if (lang_prefix == default_lang) {
|
313 |
+
load_default();
|
314 |
+
} else {
|
315 |
+
load_selected_language();
|
316 |
+
}
|
317 |
+
|
318 |
+
function load_default() {
|
319 |
+
doGoogleLanguageTranslator(default_lang + "|" + default_lang);
|
320 |
+
}
|
321 |
+
|
322 |
+
function load_selected_language() {
|
323 |
+
doGoogleLanguageTranslator(default_lang + "|" + lang_prefix);
|
324 |
+
}
|
325 |
+
});
|
326 |
+
|
327 |
+
$("a.flag").on("click",function() {
|
328 |
+
default_lang = "<?php echo get_option('googlelanguagetranslator_language'); ?>";
|
329 |
+
lang_prefix = $(this).attr("class").split(" ")[2];
|
330 |
+
|
331 |
+
if (lang_prefix == default_lang) {
|
332 |
+
load_default();
|
333 |
+
} else {
|
334 |
+
load_selected_language();
|
335 |
+
}
|
336 |
+
|
337 |
+
function load_default() {
|
338 |
+
doGoogleLanguageTranslator(default_lang + "|" + default_lang);
|
339 |
+
}
|
340 |
+
|
341 |
+
function load_selected_language() {
|
342 |
+
doGoogleLanguageTranslator(default_lang + "|" + lang_prefix);
|
343 |
+
}
|
344 |
+
});
|
345 |
+
|
346 |
+
|
347 |
+
var glt_id = 'google_language_translator';
|
348 |
+
|
349 |
+
if ($ ("#" + glt_id).length == 0) {
|
350 |
+
$("#glt-footer").html("<div id='google_language_translator'></div>");
|
351 |
+
}
|
352 |
+
});
|
353 |
+
</script>
|
354 |
+
|
355 |
+
<?php
|
356 |
+
|
357 |
+
if( $is_active == 1) {
|
358 |
+
if ($shortcode_started != 'true') {
|
359 |
+
|
360 |
+
foreach ($get_flag_choices as $flag_choice_key) {}
|
361 |
+
|
362 |
+
if ($floating_widget=='yes' && $get_language_option != 'specific' && !is_admin()) {
|
363 |
+
$str.='<div id="glt-translate-trigger"><span class="notranslate">Translate »</span></div>';
|
364 |
+
$str.='<div id="glt-toolbar"></div>';
|
365 |
+
} //endif $floating_widget
|
366 |
+
|
367 |
+
$str.='<div id="flags" style="display:none">';
|
368 |
+
$str.='<ul id="sortable" class="ui-sortable">';
|
369 |
+
|
370 |
+
if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
|
371 |
+
foreach ($this->languages_array as $key=>$value) {
|
372 |
+
$language_code = $key;
|
373 |
+
$language_name = $value;
|
374 |
+
$language_name_flag = $language_name;
|
375 |
+
if ($flag_choice_key == '1') {
|
376 |
+
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
377 |
+
if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
|
378 |
+
$language_name_flag = 'Canada';
|
379 |
+
}
|
380 |
+
if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
|
381 |
+
$language_name_flag = 'United-States';
|
382 |
+
}
|
383 |
+
if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
|
384 |
+
$language_name_flag = 'Mexico';
|
385 |
+
}
|
386 |
+
if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
|
387 |
+
$language_name_flag = 'Brazil';
|
388 |
+
}
|
389 |
+
|
390 |
+
if ($lang_attribute == 'yes') {
|
391 |
+
$str.='<li id="'.$language_name.'"><a title="'.$language_name.'" class="notranslate flag '.$language_code.'"></a></li>';
|
392 |
+
} else {
|
393 |
+
$str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code."'></a></li>";
|
394 |
+
}
|
395 |
+
}
|
396 |
+
} //$key
|
397 |
+
}//foreach
|
398 |
+
} else {
|
399 |
+
foreach ($new_languages_array_codes as $value) {
|
400 |
+
$language_name = $value;
|
401 |
+
$language_code = array_search ($language_name,$this->languages_array);
|
402 |
+
$language_name_flag = $language_name;
|
403 |
+
if ($flag_choice_key == '1') {
|
404 |
+
if (in_array($language_name,$this->languages_array)) {
|
405 |
+
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
406 |
+
if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
|
407 |
+
$language_name_flag = 'Canada';
|
408 |
+
}
|
409 |
+
if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
|
410 |
+
$language_name_flag = 'United-States';
|
411 |
+
}
|
412 |
+
if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
|
413 |
+
$language_name_flag = 'Mexico';
|
414 |
+
}
|
415 |
+
if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
|
416 |
+
$language_name_flag = 'Brazil';
|
417 |
+
}
|
418 |
+
|
419 |
+
if ($lang_attribute == 'yes') {
|
420 |
+
$str.='<li id="'.$language_name.'"><a title="'.$language_name.'" class="notranslate flag '.$language_code.'"></a></li>';
|
421 |
+
} else {
|
422 |
+
$str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code."'></a></li>";
|
423 |
+
}
|
424 |
+
} //isset
|
425 |
+
} //in_array
|
426 |
+
}//flag_choice_key
|
427 |
+
}//foreach
|
428 |
+
}//endif
|
429 |
+
$str.='</ul>';
|
430 |
+
$str.='</div>';
|
431 |
+
}
|
432 |
+
}
|
433 |
+
|
434 |
+
$language_choices = $this->googlelanguagetranslator_included_languages();
|
435 |
+
$layout = get_option('googlelanguagetranslator_display');
|
436 |
+
$is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
|
437 |
+
$horizontal_layout = ', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL';
|
438 |
+
$auto_display = ', autoDisplay: false';
|
439 |
+
$default_language = get_option('googlelanguagetranslator_language');
|
440 |
|
441 |
if ($is_multilanguage == 1) {
|
442 |
$multilanguagePage = ', multilanguagePage:true';
|
443 |
+
$str.="<div id='glt-footer'></div><script type='text/javascript'>";
|
444 |
+
$str.="function GoogleLanguageTranslatorInit() { new google.translate.TranslateElement({pageLanguage: '".$default_language."'".$language_choices . ($layout=='Horizontal' ? $horizontal_layout : '') . $auto_display . $multilanguagePage . $this->analytics()."}, 'google_language_translator');}</script>";
|
445 |
+
$str.="<script type='text/javascript' src='//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit'></script>";
|
446 |
echo $str;
|
447 |
|
448 |
} elseif ($is_multilanguage == 0) {
|
449 |
+
$str.="<div id='glt-footer'></div><script type='text/javascript'>";
|
450 |
+
$str.="function GoogleLanguageTranslatorInit() { new google.translate.TranslateElement({pageLanguage: '".$default_language."'".$language_choices . ($layout=='Horizontal' ? $horizontal_layout : '') . $auto_display . $this->analytics()."}, 'google_language_translator');}</script>";
|
451 |
+
$str.="<script type='text/javascript' src='//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit'></script>";
|
452 |
+
echo $str;
|
|
|
453 |
}
|
454 |
}
|
455 |
|
456 |
+
public function googlelanguagetranslator_vertical() {
|
457 |
+
|
458 |
+
global $shortcode_started;
|
459 |
+
|
460 |
+
$shortcode_started = 'true';
|
461 |
$get_flag_choices = get_option ('flag_display_settings');
|
462 |
$new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
|
463 |
$new_languages_array = explode(",",$new_languages_array_string);
|
479 |
|
480 |
if ($floating_widget=='yes' && $get_language_option != 'specific') {
|
481 |
$str.='<div id="glt-translate-trigger"><span class="notranslate">Translate »</span></div>';
|
482 |
+
$str.='<div id="glt-toolbar"></div>';
|
483 |
} //endif $floating_widget
|
484 |
|
485 |
+
$str.='<div id="flags" class="size'.$flag_width.'">';
|
486 |
+
$str.='<ul id="sortable" class="ui-sortable" style="float:left">';
|
487 |
|
488 |
if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
|
489 |
foreach ($this->languages_array as $key=>$value) {
|
492 |
$language_name_flag = $language_name;
|
493 |
if ($flag_choice_key == '1') {
|
494 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
495 |
+
$str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code."'></a></li>";
|
496 |
}
|
497 |
} //$key
|
498 |
}//foreach
|
504 |
if ($flag_choice_key == '1') {
|
505 |
if (in_array($language_name,$this->languages_array)) {
|
506 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
507 |
+
$str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code."'></a></li>";
|
508 |
} //isset
|
509 |
} //in_array
|
510 |
}//flag_choice_key
|
518 |
} // End glt_vertical
|
519 |
|
520 |
public function googlelanguagetranslator_horizontal(){
|
521 |
+
$shortcode_started = true;
|
522 |
$get_flag_choices = get_option ('flag_display_settings');
|
523 |
$new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
|
524 |
$new_languages_array = explode(",",$new_languages_array_string);
|
537 |
if( $is_active == 1) {
|
538 |
foreach ($get_flag_choices as $flag_choice_key) {}
|
539 |
|
540 |
+
if ($floating_widget=='yes' && $get_language_option != 'specific') {
|
541 |
+
|
542 |
$str.='<div id="glt-translate-trigger"><span class="notranslate">Translate »</span></div>';
|
543 |
+
$str.='<div id="glt-toolbar"></div>';
|
544 |
} //endif $floating_widget
|
545 |
|
546 |
+
$str.='<div id="flags" class="size'.$flag_width.'">';
|
547 |
+
$str.='<ul id="sortable" class="ui-sortable" style="float:left">';
|
548 |
|
549 |
if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
|
550 |
foreach ($this->languages_array as $key=>$value) {
|
554 |
|
555 |
if ($flag_choice_key == '1') {
|
556 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
557 |
+
$str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code."'></a></li>";
|
558 |
}
|
559 |
} //$key
|
560 |
}//foreach
|
568 |
if ($flag_choice_key == '1') {
|
569 |
if (in_array($language_name,$this->languages_array)) {
|
570 |
if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
|
571 |
+
$str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code."'></a></li>";
|
572 |
} //isset
|
573 |
} //in_array
|
574 |
}//flag_choice_key
|
585 |
add_settings_section('glt_settings','Settings','','google_language_translator');
|
586 |
|
587 |
$settings_name_array = array (
|
588 |
+
'googlelanguagetranslator_active','googlelanguagetranslator_language','googlelanguagetranslator_language_option','language_display_settings','googlelanguagetranslator_flags','flag_display_settings','googlelanguagetranslator_translatebox','googlelanguagetranslator_display','googlelanguagetranslator_toolbar','googlelanguagetranslator_showbranding','googlelanguagetranslator_flags_alignment','googlelanguagetranslator_analytics','googlelanguagetranslator_analytics_id','googlelanguagetranslator_css','googlelanguagetranslator_manage_translations','googlelanguagetranslator_multilanguage','googlelanguagetranslator_floating_widget','googlelanguagetranslator_flag_size','googlelanguagetranslator_flags_order','googlelanguagetranslator_exclude_translation'
|
589 |
);
|
590 |
|
591 |
+
$settings_callback_array = array ( 'googlelanguagetranslator_active_cb','googlelanguagetranslator_language_cb','googlelanguagetranslator_language_option_cb','language_display_settings_cb','googlelanguagetranslator_flags_cb','flag_display_settings_cb','googlelanguagetranslator_translatebox_cb','googlelanguagetranslator_display_cb','googlelanguagetranslator_toolbar_cb','googlelanguagetranslator_showbranding_cb','googlelanguagetranslator_flags_alignment_cb','googlelanguagetranslator_analytics_cb','googlelanguagetranslator_analytics_id_cb','googlelanguagetranslator_css_cb','googlelanguagetranslator_manage_translations_cb','googlelanguagetranslator_multilanguage_cb','googlelanguagetranslator_floating_widget_cb','googlelanguagetranslator_flag_size_cb','googlelanguagetranslator_flags_order_cb','googlelanguagetranslator_exclude_translation_cb'
|
592 |
);
|
593 |
|
594 |
foreach ($settings_name_array as $setting) {
|
608 |
|
609 |
$options = get_option (''.$option_name.'');
|
610 |
|
611 |
+
$html = '<input type="checkbox" name="googlelanguagetranslator_active" id="googlelanguagetranslator_active" value="1" '.checked(1,$options,false).'/> Check this box to activate';
|
612 |
echo $html;
|
613 |
}
|
614 |
|
771 |
|
772 |
public function googlelanguagetranslator_translatebox_cb() {
|
773 |
|
774 |
+
$option_name = 'googlelanguagetranslator_translatebox' ;
|
775 |
$new_value = 'yes';
|
776 |
|
777 |
if ( get_option( $option_name ) === false ) {
|
983 |
$html = '<input type="checkbox" name="googlelanguagetranslator_multilanguage" id="googlelanguagetranslator_multilanguage" value="1" '.checked(1,$options,false).'/> Turn on multilanguage mode?';
|
984 |
echo $html;
|
985 |
}
|
986 |
+
|
987 |
+
public function googlelanguagetranslator_exclude_translation_cb() {
|
988 |
+
|
989 |
+
$option_name = 'googlelanguagetranslator_exclude_translation';
|
990 |
+
$new_value = '';
|
991 |
+
|
992 |
+
if (get_option($option_name) === false ) {
|
993 |
+
// The option does not exist, so we update it.
|
994 |
+
update_option( $option_name, $new_value );
|
995 |
+
}
|
996 |
+
|
997 |
+
$options = get_option (''.$option_name.'');
|
998 |
+
|
999 |
+
$html = '<input type="text" name="'.$option_name.'" id="'.$option_name.'" value="'.$options.'" />';
|
1000 |
+
|
1001 |
+
echo $html;
|
1002 |
+
}
|
1003 |
|
1004 |
public function page_layout_cb() {
|
1005 |
include( plugin_dir_path( __FILE__ ) . '/css/style.php'); ?>
|
1006 |
+
<?php add_thickbox(); ?>
|
1007 |
<div class="wrap">
|
1008 |
<div id="icon-options-general" class="icon32"></div>
|
1009 |
<h2><span class="notranslate">Google Language Translator</span></h2>
|
1029 |
<td><?php $this->googlelanguagetranslator_language_option_cb(); ?></td>
|
1030 |
</tr>
|
1031 |
|
1032 |
+
<tr class="notranslate languages">
|
1033 |
<td colspan="2"><?php $this->language_display_settings_cb(); ?></td>
|
1034 |
</tr>
|
1035 |
|
1038 |
<td class="choose_flags_intro"><?php $this->googlelanguagetranslator_flags_cb(); ?></td>
|
1039 |
</tr>
|
1040 |
|
1041 |
+
<tr class="notranslate choose_flags">
|
1042 |
<td class="choose_flags">Choose the flags you want to display:</td>
|
1043 |
<td></td>
|
1044 |
</tr>
|
1060 |
</tr>
|
1061 |
|
1062 |
<tr class="notranslate">
|
1063 |
+
<td>Layout option:</td>
|
1064 |
<td><?php $this->googlelanguagetranslator_display_cb(); ?></td>
|
1065 |
</tr>
|
1066 |
|
1070 |
</tr>
|
1071 |
|
1072 |
<tr class="notranslate">
|
1073 |
+
<td>Show Google Branding? <a href="https://developers.google.com/translate/v2/attribution" target="_blank">Learn more</a></td>
|
|
|
|
|
1074 |
<td><?php $this->googlelanguagetranslator_showbranding_cb(); ?></td>
|
1075 |
</tr>
|
1076 |
|
1080 |
</tr>
|
1081 |
|
1082 |
<tr class="manage_translations notranslate">
|
1083 |
+
<td>Turn on translation management? <a href="#TB_inline?width=200&height=300&inlineId=translation-management-description" title="What is Translation Management?" class="thickbox">Learn more</a><div id="translation-management-description" style="display:none"><p>Translation management is an interface that allows you to manage specific words and phrases on your website. The interface is linked directly to your Google Account, and no special subscriptions are necessary to setup this feature.</p><p>If translation management setting is checked, users who browse your website can hover their mouse over specific words and phrases, then send translation suggestions directly to your Google Translate account! You can then "approve" those suggestions, and Google will automatically display them when translations are requested by your users.</p><p>Translation management requires that you insert a custom meta tag into the <code>head</code> section of your website.</p><p><a href="http://translate.google.com/manager/website/settings" target="_blank">Click here to to get the required meta tag</a></p></div></td>
|
1084 |
<td><?php $this->googlelanguagetranslator_manage_translations_cb(); ?></td>
|
1085 |
</tr>
|
1086 |
|
1087 |
<tr class="multilanguage notranslate">
|
1088 |
+
<td>Multilanguage Page option? <a href="#TB_inline?width=200&height=150&inlineId=multilanguage-page-description" title="What is the Multi-Language Page Option?" class="thickbox">Learn more</a><div id="multilanguage-page-description" style="display:none"><p>If checked, Google will automatically convert text written in multiple languages, into the single language requested by your user.</p><p>In most cases, this setting is not recommended, although for certain websites it might be necessary.</p></div></td>
|
1089 |
<td><?php $this->googlelanguagetranslator_multilanguage_cb(); ?></td>
|
1090 |
</tr>
|
1091 |
|
1113 |
|
1114 |
<tr class="notranslate">
|
1115 |
<td>Single language usage in<br/>nav menu/pages/posts</td>
|
1116 |
+
<td><code>[glt language="Spanish" label="Español"]</code></td>
|
1117 |
</tr>
|
1118 |
|
1119 |
<tr class="notranslate">
|
1120 |
+
<td colspan="2">
|
1121 |
+
<a href="#TB_inline?width=200&height=450&inlineId=single-language-shortcode-description" title="How to place a single language in your Wordpress menu" class="thickbox">How to place a single language in your Wordpress menu</a><div id="single-language-shortcode-description" style="display:none"><p>For menu usage, you need to create a new menu, or use an existing menu, by navigating to "Appearance > Menus".</p><p>First you will need to enable "descriptions" for your menu items, which can be found in a tab labeled "Screen Options" in the upper-right area of the page.</p><p>Once descriptions are enabled, follow these steps:<br/><ol><li>Create a new menu item using "Link" as the menu item type.</li><li>Use <code style="border:none">#</code> for the URL</li><li>Enter a navigation label of your choice. This label does not appear on your website - it is meant only to help you identify the menu item.</li><li>Place the following shortcode into the "description" field, and modify it to display the language and navigation label of your choice:</p></li></ol>
|
1122 |
+
<p><code>[glt language="Spanish" label="Español"]</code></p>
|
1123 |
+
</div></td>
|
1124 |
</tr>
|
1125 |
|
1126 |
<tr class="notranslate">
|
1178 |
|
1179 |
<div class="metabox-holder notranslate" style="float: right; width: 33%;">
|
1180 |
<div class="postbox">
|
1181 |
+
<h3>GLT Premium 4.0.1 is Here! $15</h3>
|
1182 |
<div class="inside"><a href="http://www.wp-studio.net/" target="_blank"><img style="background:#444; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px" src="<?php echo plugins_url('google-language-translator/images/logo.png'); ?>"></a><br />
|
1183 |
+
<ul id="features" style="margin-left:15px">
|
1184 |
+
<li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Manual Translation Module!</li>
|
1185 |
+
<li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Exclude any specific area of your website from translation, directly from your settings panel</li>
|
1186 |
+
<li style="list-style:square outside">81 Languages</li>
|
1187 |
+
<li style="list-style:square outside">jQuery-powered language switcher<br/>(No Adobe Flash required)</li>
|
1188 |
+
<li style="list-style:square outside">Add single languages to your menus/pages/posts</li>
|
1189 |
+
<li style="list-style:square outside">Show/hide images or text for each language</li>
|
1190 |
+
<li style="list-style:square outside">Language switcher loads inline with page content</li>
|
1191 |
+
<li style="list-style:square outside">Custom flag choices for English, Spanish and Portuguese</li>
|
1192 |
+
<li style="list-style:square outside">User-friendly URLs, hide or show <code>lang</code> attribute</li>
|
1193 |
+
<li style="list-style:square outside">Drag/drop flags to re-arrange their order</li>
|
1194 |
+
<li style="list-style:square outside">Full access to our support forum</li>
|
1195 |
+
<li style="list-style:square outside">FREE access to all future updates</li>
|
1196 |
+
</ul>
|
1197 |
+
</div>
|
1198 |
+
</div>
|
1199 |
+
</div>
|
1200 |
|
1201 |
<div class="metabox-holder notranslate" style="float: right; width: 33%;">
|
1202 |
<div class="postbox">
|
images/flags.png
ADDED
Binary file
|
images/flags16.png
ADDED
Binary file
|
images/flags18.png
ADDED
Binary file
|
images/flags20.png
ADDED
Binary file
|
images/flags22.png
ADDED
Binary file
|
images/flags24/Afrikaans.png
DELETED
Binary file
|
images/flags24/Albanian.png
DELETED
Binary file
|
images/flags24/Arabic.png
DELETED
Binary file
|
images/flags24/Armenian.png
DELETED
Binary file
|
images/flags24/Azerbaijani.png
DELETED
Binary file
|
images/flags24/Basque.png
DELETED
Binary file
|
images/flags24/Belarusian.png
DELETED
Binary file
|
images/flags24/Bengali.png
DELETED
Binary file
|
images/flags24/Bosnian.png
DELETED
Binary file
|
images/flags24/Brazil.png
DELETED
Binary file
|
images/flags24/Bulgarian.png
DELETED
Binary file
|
images/flags24/Canada.png
DELETED
Binary file
|
images/flags24/Catalan.png
DELETED
Binary file
|
images/flags24/Cebuano.png
DELETED
Binary file
|
images/flags24/Chinese(Simplified).png
DELETED
Binary file
|
images/flags24/Chinese(Traditional).png
DELETED
Binary file
|
images/flags24/Croatian.png
DELETED
Binary file
|
images/flags24/Czech.png
DELETED
Binary file
|
images/flags24/Danish.png
DELETED
Binary file
|
images/flags24/Dutch.png
DELETED
Binary file
|
images/flags24/English.png
DELETED
Binary file
|
images/flags24/Esperanto.png
DELETED
Binary file
|
images/flags24/Estonian.png
DELETED
Binary file
|
images/flags24/Filipino.png
DELETED
Binary file
|
images/flags24/Finnish.png
DELETED
Binary file
|
images/flags24/French.png
DELETED
Binary file
|
images/flags24/Galician.png
DELETED
Binary file
|
images/flags24/Georgian.png
DELETED
Binary file
|
images/flags24/German.png
DELETED
Binary file
|
images/flags24/Greek.png
DELETED
Binary file
|
images/flags24/Gujarati.png
DELETED
Binary file
|
images/flags24/Haitian.png
DELETED
Binary file
|
images/flags24/Hausa.png
DELETED
Binary file
|
images/flags24/Hebrew.png
DELETED
Binary file
|
images/flags24/Hindi.png
DELETED
Binary file
|
images/flags24/Hmong.png
DELETED
Binary file
|
images/flags24/Hungarian.png
DELETED
Binary file
|
images/flags24/Icelandic.png
DELETED
Binary file
|
images/flags24/Igbo.png
DELETED
Binary file
|
images/flags24/Indonesian.png
DELETED
Binary file
|
images/flags24/Irish.png
DELETED
Binary file
|
images/flags24/Italian.png
DELETED
Binary file
|
images/flags24/Japanese.png
DELETED
Binary file
|
images/flags24/Javanese.png
DELETED
Binary file
|
images/flags24/Kannada.png
DELETED
Binary file
|
images/flags24/Khmer.png
DELETED
Binary file
|
images/flags24/Korean.png
DELETED
Binary file
|
images/flags24/Lao.png
DELETED
Binary file
|
images/flags24/Latin.png
DELETED
Binary file
|
images/flags24/Latvian.png
DELETED
Binary file
|
images/flags24/Lithuanian.png
DELETED
Binary file
|
images/flags24/Macedonian.png
DELETED
Binary file
|
images/flags24/Malay.png
DELETED
Binary file
|
images/flags24/Maltese.png
DELETED
Binary file
|
images/flags24/Maori.png
DELETED
Binary file
|
images/flags24/Marathi.png
DELETED
Binary file
|
images/flags24/Mexico.png
DELETED
Binary file
|
images/flags24/Mongolian.png
DELETED
Binary file
|
images/flags24/Nepali.png
DELETED
Binary file
|
images/flags24/Nigeria.png
DELETED
Binary file
|
images/flags24/Norwegian.png
DELETED
Binary file
|
images/flags24/Persian.png
DELETED
Binary file
|
images/flags24/Polish.png
DELETED
Binary file
|
images/flags24/Portuguese.png
DELETED
Binary file
|
images/flags24/Punjabi.png
DELETED
Binary file
|
images/flags24/Romanian.png
DELETED
Binary file
|
images/flags24/Russian.png
DELETED
Binary file
|
images/flags24/Serbian.png
DELETED
Binary file
|
images/flags24/Slovak.png
DELETED
Binary file
|
images/flags24/Slovenian.png
DELETED
Binary file
|
images/flags24/Somali.png
DELETED
Binary file
|
images/flags24/Spanish.png
DELETED
Binary file
|
images/flags24/Swahili.png
DELETED
Binary file
|
images/flags24/Swedish.png
DELETED
Binary file
|
images/flags24/Tamil.png
DELETED
Binary file
|
images/flags24/Telugu.png
DELETED
Binary file
|
images/flags24/Thai.png
DELETED
Binary file
|
images/flags24/Turkish.png
DELETED
Binary file
|
images/flags24/Ukranian.png
DELETED
Binary file
|
images/flags24/United-States.png
DELETED
Binary file
|
images/flags24/Urdu.png
DELETED
Binary file
|
images/flags24/Vietnamese.png
DELETED
Binary file
|
images/flags24/Welsh.png
DELETED
Binary file
|
images/flags24/Yiddish.png
DELETED
Binary file
|
images/flags24/Yoruba.png
DELETED
Binary file
|
images/flags24/Zulu.png
DELETED
Binary file
|
js/admin.js
CHANGED
@@ -1,92 +1,92 @@
|
|
1 |
-
jQuery(document).ready(function(){
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
var language_display = jQuery('input[name=googlelanguagetranslator_language_option]:checked').val();
|
6 |
-
|
7 |
-
if ( language_display == 'all') {
|
8 |
-
jQuery ('.languages').css('display','none');
|
9 |
-
jQuery ('.choose_flags').css('display','none');
|
10 |
-
|
11 |
-
} else if (language_display == 'specific') {
|
12 |
-
jQuery ('.languages').css('display','inline');
|
13 |
-
jQuery ('.choose_flags_intro').css('display','none');
|
14 |
-
jQuery ('.choose_flags').css('display','none');
|
15 |
-
}
|
16 |
-
|
17 |
-
var display = jQuery('select[name=googlelanguagetranslator_display] option:selected').val();
|
18 |
-
if ( display == 'Horizontal') {
|
19 |
-
//jQuery ('.alignment').css('display','none');
|
20 |
-
}
|
21 |
-
|
22 |
-
jQuery('select[name=googlelanguagetranslator_display]').change(function() {
|
23 |
-
if( jQuery(this).val() == 'Horizontal') {
|
24 |
-
//jQuery ('.alignment').fadeOut("slow");
|
25 |
-
} else if ( jQuery(this).val() == 'Vertical') {
|
26 |
-
//jQuery ('.alignment').fadeIn("slow");
|
27 |
-
}
|
28 |
-
});
|
29 |
-
|
30 |
-
jQuery('input[name=googlelanguagetranslator_language_option]').change(function(){
|
31 |
-
if( jQuery(this).val() == 'all'){
|
32 |
-
jQuery ('.languages').fadeOut("slow");
|
33 |
-
jQuery ('.choose_flags_intro').css('display','');
|
34 |
-
var flag_display = jQuery('input[name=googlelanguagetranslator_flags]:checked').val();
|
35 |
-
if ( flag_display == 'show_flags') {
|
36 |
-
jQuery ('.choose_flags').css('display','');
|
37 |
-
}
|
38 |
-
} else if (jQuery(this).val() == 'specific') {
|
39 |
-
jQuery ('.languages').fadeIn("slow");
|
40 |
-
jQuery ('.choose_flags_intro').css('display','none');
|
41 |
-
jQuery ('.choose_flags').css('display','none');
|
42 |
-
}
|
43 |
-
});
|
44 |
-
|
45 |
-
var language_display = jQuery('input[name=googlelanguagetranslator_language_option]:checked').val();
|
46 |
-
var flag_display = jQuery('input[name=googlelanguagetranslator_flags]:checked').val();
|
47 |
-
if ( flag_display == 'hide_flags') {
|
48 |
-
jQuery ('.choose_flags').css('display','none');
|
49 |
-
} else if (flag_display == 'show_flags') {
|
50 |
-
if ( language_display == 'all') {
|
51 |
-
jQuery ('.choose_flags').css('display','');
|
52 |
-
}
|
53 |
-
}
|
54 |
-
|
55 |
-
jQuery('input[name=googlelanguagetranslator_flags]').change(function(){
|
56 |
-
if( jQuery(this).val() == 'hide_flags'){
|
57 |
-
jQuery ('.choose_flags').fadeOut("slow");
|
58 |
-
} else if (jQuery(this).val() == 'show_flags') {
|
59 |
-
jQuery ('.choose_flags').fadeIn("slow");
|
60 |
-
}
|
61 |
-
});
|
62 |
-
|
63 |
-
//FadeIn and FadeOut Google Analytics tracking settings
|
64 |
-
jQuery('input[name=googlelanguagetranslator_analytics]').change(function() {
|
65 |
-
if( jQuery(this).is(':checked')) {
|
66 |
-
jQuery('.analytics').fadeIn("slow");
|
67 |
-
} else if ( jQuery(this).not(':checked')) {
|
68 |
-
jQuery('.analytics').fadeOut("slow");
|
69 |
-
}
|
70 |
-
});
|
71 |
-
|
72 |
-
//Hide or show Google Analytics ID field upon browser refresh
|
73 |
-
var analytics = jQuery('input[name=googlelanguagetranslator_analytics]');
|
74 |
-
if ( analytics.is(':checked') ) {
|
75 |
-
jQuery ('.analytics').css('display','');
|
76 |
-
} else {
|
77 |
-
jQuery ('.analytics').css('display','none');
|
78 |
-
}
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
//Prevent the translator preview from translating Dashboard text
|
83 |
-
jQuery('#adminmenu').addClass('notranslate');
|
84 |
-
jQuery('#wp-toolbar').addClass('notranslate');
|
85 |
-
jQuery('#setting-error-settings_updated').addClass('notranslate');
|
86 |
-
jQuery('.update-nag').addClass('notranslate');
|
87 |
-
jQuery('title').addClass('notranslate');
|
88 |
-
jQuery('#footer-thankyou').addClass('notranslate');
|
89 |
-
});
|
90 |
-
|
91 |
-
|
92 |
-
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
var language_display = jQuery('input[name=googlelanguagetranslator_language_option]:checked').val();
|
6 |
+
|
7 |
+
if ( language_display == 'all') {
|
8 |
+
jQuery ('.languages').css('display','none');
|
9 |
+
jQuery ('.choose_flags').css('display','none');
|
10 |
+
|
11 |
+
} else if (language_display == 'specific') {
|
12 |
+
//jQuery ('.languages').css('display','inline');
|
13 |
+
jQuery ('.choose_flags_intro').css('display','none');
|
14 |
+
jQuery ('.choose_flags').css('display','none');
|
15 |
+
}
|
16 |
+
|
17 |
+
var display = jQuery('select[name=googlelanguagetranslator_display] option:selected').val();
|
18 |
+
if ( display == 'Horizontal') {
|
19 |
+
//jQuery ('.alignment').css('display','none');
|
20 |
+
}
|
21 |
+
|
22 |
+
jQuery('select[name=googlelanguagetranslator_display]').change(function() {
|
23 |
+
if( jQuery(this).val() == 'Horizontal') {
|
24 |
+
//jQuery ('.alignment').fadeOut("slow");
|
25 |
+
} else if ( jQuery(this).val() == 'Vertical') {
|
26 |
+
//jQuery ('.alignment').fadeIn("slow");
|
27 |
+
}
|
28 |
+
});
|
29 |
+
|
30 |
+
jQuery('input[name=googlelanguagetranslator_language_option]').change(function(){
|
31 |
+
if( jQuery(this).val() == 'all'){
|
32 |
+
jQuery ('.languages').fadeOut("slow");
|
33 |
+
jQuery ('.choose_flags_intro').css('display','');
|
34 |
+
var flag_display = jQuery('input[name=googlelanguagetranslator_flags]:checked').val();
|
35 |
+
if ( flag_display == 'show_flags') {
|
36 |
+
jQuery ('.choose_flags').css('display','');
|
37 |
+
}
|
38 |
+
} else if (jQuery(this).val() == 'specific') {
|
39 |
+
jQuery ('.languages').fadeIn("slow");
|
40 |
+
jQuery ('.choose_flags_intro').css('display','none');
|
41 |
+
jQuery ('.choose_flags').css('display','none');
|
42 |
+
}
|
43 |
+
});
|
44 |
+
|
45 |
+
var language_display = jQuery('input[name=googlelanguagetranslator_language_option]:checked').val();
|
46 |
+
var flag_display = jQuery('input[name=googlelanguagetranslator_flags]:checked').val();
|
47 |
+
if ( flag_display == 'hide_flags') {
|
48 |
+
jQuery ('.choose_flags').css('display','none');
|
49 |
+
} else if (flag_display == 'show_flags') {
|
50 |
+
if ( language_display == 'all') {
|
51 |
+
jQuery ('.choose_flags').css('display','');
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
jQuery('input[name=googlelanguagetranslator_flags]').change(function(){
|
56 |
+
if( jQuery(this).val() == 'hide_flags'){
|
57 |
+
jQuery ('.choose_flags').fadeOut("slow");
|
58 |
+
} else if (jQuery(this).val() == 'show_flags') {
|
59 |
+
jQuery ('.choose_flags').fadeIn("slow");
|
60 |
+
}
|
61 |
+
});
|
62 |
+
|
63 |
+
//FadeIn and FadeOut Google Analytics tracking settings
|
64 |
+
jQuery('input[name=googlelanguagetranslator_analytics]').change(function() {
|
65 |
+
if( jQuery(this).is(':checked')) {
|
66 |
+
jQuery('.analytics').fadeIn("slow");
|
67 |
+
} else if ( jQuery(this).not(':checked')) {
|
68 |
+
jQuery('.analytics').fadeOut("slow");
|
69 |
+
}
|
70 |
+
});
|
71 |
+
|
72 |
+
//Hide or show Google Analytics ID field upon browser refresh
|
73 |
+
var analytics = jQuery('input[name=googlelanguagetranslator_analytics]');
|
74 |
+
if ( analytics.is(':checked') ) {
|
75 |
+
jQuery ('.analytics').css('display','');
|
76 |
+
} else {
|
77 |
+
jQuery ('.analytics').css('display','none');
|
78 |
+
}
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
//Prevent the translator preview from translating Dashboard text
|
83 |
+
jQuery('#adminmenu').addClass('notranslate');
|
84 |
+
jQuery('#wp-toolbar').addClass('notranslate');
|
85 |
+
jQuery('#setting-error-settings_updated').addClass('notranslate');
|
86 |
+
jQuery('.update-nag').addClass('notranslate');
|
87 |
+
jQuery('title').addClass('notranslate');
|
88 |
+
jQuery('#footer-thankyou').addClass('notranslate');
|
89 |
+
});
|
90 |
+
|
91 |
+
|
92 |
+
|
js/load-toolbar.js
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
$('#glt-translate-trigger').toolbar({content: '#flags', position: 'top', hideOnClick: 'true'});
|
3 |
-
|
4 |
-
|
5 |
-
$('#glt-translate-trigger').on('toolbarShown',function(event) {
|
6 |
-
$('.tool-rounded').css('display','block');
|
7 |
-
$('.tool-rounded').css('position','fixed');
|
8 |
-
$('.tool-rounded').css('bottom','50px');
|
9 |
-
$('.tool-rounded').css('top','auto !important');
|
10 |
-
$('#glt-translate-trigger span').text('Translate « ');
|
11 |
-
|
12 |
-
});
|
13 |
-
|
14 |
-
$('#glt-translate-trigger').on('toolbarHidden',function(event) {
|
15 |
-
$('#glt-translate-trigger span').text('Translate » ');
|
16 |
-
$('.tool-rounded').css('position','absolute');
|
17 |
-
|
18 |
-
});
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
});
|
1 |
+
jQuery(document).ready(function($) {
|
2 |
+
$('#glt-translate-trigger').toolbar({content: '#flags', position: 'top', hideOnClick: 'true'});
|
3 |
+
|
4 |
+
|
5 |
+
$('#glt-translate-trigger').on('toolbarShown',function(event) {
|
6 |
+
$('.tool-rounded').css('display','block');
|
7 |
+
$('.tool-rounded').css('position','fixed');
|
8 |
+
$('.tool-rounded').css('bottom','50px');
|
9 |
+
$('.tool-rounded').css('top','auto !important');
|
10 |
+
$('#glt-translate-trigger span').text('Translate « ');
|
11 |
+
|
12 |
+
});
|
13 |
+
|
14 |
+
$('#glt-translate-trigger').on('toolbarHidden',function(event) {
|
15 |
+
$('#glt-translate-trigger span').text('Translate » ');
|
16 |
+
$('.tool-rounded').css('position','absolute');
|
17 |
+
|
18 |
+
});
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
});
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== Google Language Translator ===
|
2 |
Contributors: Rob Myrick
|
3 |
Donate link: http://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=47LFA33AC89S6
|
4 |
-
Plugin link: http://www.
|
5 |
Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 4.0
|
8 |
-
stable tag: 4.0.
|
9 |
|
10 |
Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
|
11 |
|
@@ -22,11 +22,44 @@ Settings include: inline or vertical layout, show/hide specific languages, hide/
|
|
22 |
5. Copy the shortcode and paste it into a page, post or widget.
|
23 |
6. Do not use the shortcode twice on a single page - it will not work.
|
24 |
|
25 |
-
|
26 |
== Frequently Asked Questions ==
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
== Changelog ==
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
4.0.5
|
31 |
|
32 |
- Fixed: Display bug when using single language shortcode.
|
1 |
=== Google Language Translator ===
|
2 |
Contributors: Rob Myrick
|
3 |
Donate link: http://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=47LFA33AC89S6
|
4 |
+
Plugin link: http://www.wp-studio.net/how-it-works
|
5 |
Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 4.0
|
8 |
+
stable tag: 4.0.7
|
9 |
|
10 |
Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
|
11 |
|
22 |
5. Copy the shortcode and paste it into a page, post or widget.
|
23 |
6. Do not use the shortcode twice on a single page - it will not work.
|
24 |
|
|
|
25 |
== Frequently Asked Questions ==
|
26 |
|
27 |
+
Q: What should I do if the translate widget does not show on my website?
|
28 |
+
|
29 |
+
1. Make sure that the plugin is installed and activated.
|
30 |
+
2. Verify that a check mark is placed in the activation setting located at "Settings > Google Language Translator".
|
31 |
+
3. Verify that the native Wordpress function, wp_footer(), is included in your theme's footer file.
|
32 |
+
4. Verify that "Show Language Box?" setting is enabled at "Settings > Google Language Translator".
|
33 |
+
5. Use your browser's web tools to ensure that CSS styles are not hiding the translation widget.
|
34 |
+
6. Contact support at http://www.wp-studio.net/submit-ticket.
|
35 |
+
|
36 |
+
Q: What should I do if there are no languages being displayed in the language box?
|
37 |
+
|
38 |
+
1. Make sure that the plugin is installed and activated.
|
39 |
+
2. Verify that a check mark is placed in the activation setting located at "Settings > Google Language Translator".
|
40 |
+
3. Verify that Adobe Flash is installed in your web browser. Google uses Flash in order to display their language box.
|
41 |
+
4. Contact support at http://www.wp-studio.net/submit-ticket.
|
42 |
+
|
43 |
+
Q: Can I exclude certain areas of my website from being translated?
|
44 |
+
|
45 |
+
A: Yes! Add the "notranslate" class to the HTML element containing your text. For example, the following text will be excluded from translation: <span class="notranslate">Hello World!</span>
|
46 |
+
|
47 |
== Changelog ==
|
48 |
|
49 |
+
4.0.7
|
50 |
+
- Fixed a CSS error in the settings panel display.
|
51 |
+
- Fixed the coding issue when "Specific Languages" option is chosen - the shortcode was not displaying the language dropdown.
|
52 |
+
|
53 |
+
4.0.6
|
54 |
+
|
55 |
+
- Removed: "onclick" events from diplaying directly inside HTML. Converted those events to jQuery.
|
56 |
+
- Fixed the shortcode that allows adding single languages to Wordpress menus. (New example is shown on settings page.)
|
57 |
+
- Consolidated all flag images into image sprites!
|
58 |
+
- Re-designed 10 flag images to match the quality of the other flags.
|
59 |
+
- Fixed the incorrect "alt" tags associated with flag images. The "alt" tag now displays the language name.
|
60 |
+
- Modified text on the settings page - also added some lightbox pop-ups to help explain settings.
|
61 |
+
- New updates have also been provided for our Premium version (currently version 4.0.1) located at http://www.wp-studio.net/
|
62 |
+
|
63 |
4.0.5
|
64 |
|
65 |
- Fixed: Display bug when using single language shortcode.
|
screenshot-1.png
ADDED
Binary file
|