Version Description
- All: Added RUSSIAN support! Thank you Sergey!
- All: Markers now automatically close when you click on another marker.
- Pro Addon: More information can now be stored in the description field.
- Pro Addon: The "To" field in the directions box now shows the address and not the GPS co-ords.
Download this release
Release Info
Developer | WPGMaps |
Plugin | WP Google Maps |
Version | 4.15 |
Comparing to | |
See all releases |
Code changes from version 4.14 to 4.15
- languages/wp-google-maps-default.po +9 -0
- languages/wp-google-maps-ru_RU.mo +0 -0
- languages/wp-google-maps-ru_RU.po +605 -0
- readme.txt +19 -9
- wpGoogleMaps.php +39 -17
languages/wp-google-maps-default.po
CHANGED
@@ -497,3 +497,12 @@ msgstr ""
|
|
497 |
msgid "Save Style Settings"
|
498 |
msgstr ""
|
499 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
497 |
msgid "Save Style Settings"
|
498 |
msgstr ""
|
499 |
|
500 |
+
msgid "Maps"
|
501 |
+
msgstr ""
|
502 |
+
|
503 |
+
msgid "Advanced"
|
504 |
+
msgstr ""
|
505 |
+
|
506 |
+
msgid "Create your map"
|
507 |
+
msgstr ""
|
508 |
+
|
languages/wp-google-maps-ru_RU.mo
ADDED
Binary file
|
languages/wp-google-maps-ru_RU.po
ADDED
@@ -0,0 +1,605 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WP Google Maps v4.13\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2012-04-15 15:46+0200\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: Russian\n"
|
14 |
+
"X-Poedit-Country: RUSSIA\n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
+
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Textdomain-Support: yes\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
#@ default
|
22 |
+
#: wpGoogleMaps.php:882
|
23 |
+
msgid "Your settings have been saved."
|
24 |
+
msgstr "Ваши настройки были сохранены"
|
25 |
+
|
26 |
+
#@ default
|
27 |
+
#: wpGoogleMaps.php:910
|
28 |
+
msgid "Your marker location has been saved."
|
29 |
+
msgstr "Положение метки сохранено"
|
30 |
+
|
31 |
+
#@ default
|
32 |
+
#: wpGoogleMaps.php:956
|
33 |
+
msgid "There was a problem deleting the map."
|
34 |
+
msgstr "При удалении карты возникла проблема."
|
35 |
+
|
36 |
+
#@ wp-google-maps
|
37 |
+
#: wpGoogleMaps.php:960
|
38 |
+
msgid "Delete your map"
|
39 |
+
msgstr "Удалить карту"
|
40 |
+
|
41 |
+
#@ wp-google-maps
|
42 |
+
#: wpGoogleMaps.php:960
|
43 |
+
msgid "Are you sure you want to delete the map"
|
44 |
+
msgstr "Вы уверены, что хотите удалить карту?"
|
45 |
+
|
46 |
+
#@ wp-google-maps
|
47 |
+
#: wpGoogleMaps.php:960
|
48 |
+
msgid "Yes"
|
49 |
+
msgstr "Да"
|
50 |
+
|
51 |
+
#@ wp-google-maps
|
52 |
+
#: wpGoogleMaps.php:960
|
53 |
+
msgid "No"
|
54 |
+
msgstr "Нет"
|
55 |
+
|
56 |
+
#@ wp-google-maps
|
57 |
+
#: wpGoogleMaps.php:1005
|
58 |
+
#: wpGoogleMaps.php:1009
|
59 |
+
msgid "Your Maps"
|
60 |
+
msgstr "Ваши карты"
|
61 |
+
|
62 |
+
#@ wp-google-maps
|
63 |
+
#: wpGoogleMaps.php:1005
|
64 |
+
msgid "Add New"
|
65 |
+
msgstr "Добавить новую"
|
66 |
+
|
67 |
+
#@ default
|
68 |
+
#@ wp-google-maps
|
69 |
+
#: wpGoogleMaps.php:1010
|
70 |
+
msgid "Pro Version"
|
71 |
+
msgstr "версией Pro"
|
72 |
+
|
73 |
+
#@ wp-google-maps
|
74 |
+
#: wpGoogleMaps.php:1010
|
75 |
+
msgid "Create unlimited maps"
|
76 |
+
msgstr "Создавайте неограниченное количество карт"
|
77 |
+
|
78 |
+
#@ wp-google-maps
|
79 |
+
#: wpGoogleMaps.php:1010
|
80 |
+
msgid "with the"
|
81 |
+
msgstr "с"
|
82 |
+
|
83 |
+
#@ wp-google-maps
|
84 |
+
#: wpGoogleMaps.php:1010
|
85 |
+
msgid "of WP Google Maps for only"
|
86 |
+
msgstr "WP Google Maps всего за"
|
87 |
+
|
88 |
+
#@ wp-google-maps
|
89 |
+
#: wpGoogleMaps.php:1041
|
90 |
+
#: wpGoogleMaps.php:1293
|
91 |
+
#: wpGoogleMaps.php:1388
|
92 |
+
msgid "ID"
|
93 |
+
msgstr "ID"
|
94 |
+
|
95 |
+
#@ wp-google-maps
|
96 |
+
#: wpGoogleMaps.php:1042
|
97 |
+
#: wpGoogleMaps.php:1203
|
98 |
+
#: wpGoogleMaps.php:1390
|
99 |
+
msgid "Title"
|
100 |
+
msgstr "Заголовок"
|
101 |
+
|
102 |
+
#@ wp-google-maps
|
103 |
+
#: wpGoogleMaps.php:1043
|
104 |
+
#: wpGoogleMaps.php:1153
|
105 |
+
msgid "Width"
|
106 |
+
msgstr "Ширина"
|
107 |
+
|
108 |
+
#@ wp-google-maps
|
109 |
+
#: wpGoogleMaps.php:1044
|
110 |
+
#: wpGoogleMaps.php:1157
|
111 |
+
msgid "Height"
|
112 |
+
msgstr "Высота"
|
113 |
+
|
114 |
+
#@ wp-google-maps
|
115 |
+
#: wpGoogleMaps.php:1045
|
116 |
+
msgid "Type"
|
117 |
+
msgstr "Тип"
|
118 |
+
|
119 |
+
#@ wp-google-maps
|
120 |
+
#: wpGoogleMaps.php:1056
|
121 |
+
msgid "Trash"
|
122 |
+
msgstr "Удалить"
|
123 |
+
|
124 |
+
#@ wp-google-maps
|
125 |
+
#: wpGoogleMaps.php:1060
|
126 |
+
#: wpGoogleMaps.php:1423
|
127 |
+
msgid "Edit"
|
128 |
+
msgstr "Изменить"
|
129 |
+
|
130 |
+
#@ wp-google-maps
|
131 |
+
#: wpGoogleMaps.php:1102
|
132 |
+
msgid "Add custom icons, titles, descriptions, pictures and links to your markers with the"
|
133 |
+
msgstr "Добавляйте свои иконки, заголовки, описания, картинки и ссылки к Вашим маркерам с"
|
134 |
+
|
135 |
+
#@ wp-google-maps
|
136 |
+
#: wpGoogleMaps.php:1102
|
137 |
+
#: wpGoogleMaps.php:1103
|
138 |
+
#: wpGoogleMaps.php:1163
|
139 |
+
#: wpGoogleMaps.php:1259
|
140 |
+
msgid "Pro Edition"
|
141 |
+
msgstr "версии Pro"
|
142 |
+
|
143 |
+
#@ wp-google-maps
|
144 |
+
#: wpGoogleMaps.php:1102
|
145 |
+
msgid "of this plugin for just"
|
146 |
+
msgstr "данного плагина всего за"
|
147 |
+
|
148 |
+
#@ wp-google-maps
|
149 |
+
#: wpGoogleMaps.php:1103
|
150 |
+
msgid "Purchase the Pro Edition"
|
151 |
+
msgstr "Заказать версию Pro"
|
152 |
+
|
153 |
+
#@ wp-google-maps
|
154 |
+
#: wpGoogleMaps.php:1103
|
155 |
+
msgid "of WP Google Maps and save your markers to a CSV file!"
|
156 |
+
msgstr "WP Google Maps и сохраните Ваши метки в файл CSV!"
|
157 |
+
|
158 |
+
#@ wp-google-maps
|
159 |
+
#: wpGoogleMaps.php:1113
|
160 |
+
msgid "Map Settings"
|
161 |
+
msgstr "Настройки карты"
|
162 |
+
|
163 |
+
#@ wp-google-maps
|
164 |
+
#: wpGoogleMaps.php:1145
|
165 |
+
msgid "Short code"
|
166 |
+
msgstr "Короткий код"
|
167 |
+
|
168 |
+
#@ wp-google-maps
|
169 |
+
#: wpGoogleMaps.php:1146
|
170 |
+
msgid "copy this into your post or page to display the map"
|
171 |
+
msgstr "скопируйте это в вашу запись или страницу, чтобы там появилась карта"
|
172 |
+
|
173 |
+
#@ wp-google-maps
|
174 |
+
#: wpGoogleMaps.php:1149
|
175 |
+
msgid "Map Name"
|
176 |
+
msgstr "Имя карты"
|
177 |
+
|
178 |
+
#@ wp-google-maps
|
179 |
+
#: wpGoogleMaps.php:1162
|
180 |
+
msgid "Default Marker Image"
|
181 |
+
msgstr "Изображение для метки по умолчанию"
|
182 |
+
|
183 |
+
#@ wp-google-maps
|
184 |
+
#: wpGoogleMaps.php:1163
|
185 |
+
#: wpGoogleMaps.php:1216
|
186 |
+
#: wpGoogleMaps.php:1220
|
187 |
+
msgid "Upload Image"
|
188 |
+
msgstr "Закачать изображение"
|
189 |
+
|
190 |
+
#@ wp-google-maps
|
191 |
+
#: wpGoogleMaps.php:1163
|
192 |
+
msgid "available in the"
|
193 |
+
msgstr "доступно только в"
|
194 |
+
|
195 |
+
#@ wp-google-maps
|
196 |
+
#: wpGoogleMaps.php:1163
|
197 |
+
msgid "only"
|
198 |
+
msgstr " "
|
199 |
+
|
200 |
+
#@ wp-google-maps
|
201 |
+
#: wpGoogleMaps.php:1166
|
202 |
+
msgid "Map type"
|
203 |
+
msgstr "Тип карты"
|
204 |
+
|
205 |
+
#@ wp-google-maps
|
206 |
+
#: wpGoogleMaps.php:1168
|
207 |
+
msgid "Roadmap"
|
208 |
+
msgstr "Карта"
|
209 |
+
|
210 |
+
#@ wp-google-maps
|
211 |
+
#: wpGoogleMaps.php:1169
|
212 |
+
msgid "Satellite"
|
213 |
+
msgstr "Спутник"
|
214 |
+
|
215 |
+
#@ wp-google-maps
|
216 |
+
#: wpGoogleMaps.php:1170
|
217 |
+
msgid "Hybrid"
|
218 |
+
msgstr "Гибрид"
|
219 |
+
|
220 |
+
#@ wp-google-maps
|
221 |
+
#: wpGoogleMaps.php:1171
|
222 |
+
msgid "Terrain"
|
223 |
+
msgstr "Земля"
|
224 |
+
|
225 |
+
#@ wp-google-maps
|
226 |
+
#: wpGoogleMaps.php:1176
|
227 |
+
msgid "Map Alignment"
|
228 |
+
msgstr "Выравнивание"
|
229 |
+
|
230 |
+
#@ wp-google-maps
|
231 |
+
#: wpGoogleMaps.php:1178
|
232 |
+
msgid "Left"
|
233 |
+
msgstr "влево"
|
234 |
+
|
235 |
+
#@ wp-google-maps
|
236 |
+
#: wpGoogleMaps.php:1179
|
237 |
+
msgid "Center"
|
238 |
+
msgstr "по центру"
|
239 |
+
|
240 |
+
#@ wp-google-maps
|
241 |
+
#: wpGoogleMaps.php:1180
|
242 |
+
msgid "Right"
|
243 |
+
msgstr "вправо"
|
244 |
+
|
245 |
+
#@ wp-google-maps
|
246 |
+
#: wpGoogleMaps.php:1181
|
247 |
+
#: wpGoogleMaps.php:1225
|
248 |
+
msgid "None"
|
249 |
+
msgstr "отсутствует"
|
250 |
+
|
251 |
+
#@ wp-google-maps
|
252 |
+
#: wpGoogleMaps.php:1189
|
253 |
+
msgid "Remember to save your map!"
|
254 |
+
msgstr "Не забудьте сохранить Вашу карту!"
|
255 |
+
|
256 |
+
#@ wp-google-maps
|
257 |
+
#: wpGoogleMaps.php:1191
|
258 |
+
msgid "Save Map"
|
259 |
+
msgstr "Сохранить карту"
|
260 |
+
|
261 |
+
#@ wp-google-maps
|
262 |
+
#: wpGoogleMaps.php:1193
|
263 |
+
msgid "Tip: Use your mouse to change the layout of your map. When you have positioned the map to your desired location, press \"Save Map\" to keep your settings."
|
264 |
+
msgstr "Подсказка: здесь при помощи мыши Вы можете изменить местоположение, которое отображается на карте по умолчанию. Когда Вы установите карту в положение, которое Вам нравится — нажмите «Сохранить карту», чтобы настройки были применены."
|
265 |
+
|
266 |
+
#@ wp-google-maps
|
267 |
+
#: wpGoogleMaps.php:1198
|
268 |
+
msgid "Add a marker"
|
269 |
+
msgstr "Добавить метку"
|
270 |
+
|
271 |
+
#@ wp-google-maps
|
272 |
+
#: wpGoogleMaps.php:1208
|
273 |
+
msgid "Address/GPS"
|
274 |
+
msgstr "Адрес/GPS"
|
275 |
+
|
276 |
+
#@ wp-google-maps
|
277 |
+
#: wpGoogleMaps.php:1213
|
278 |
+
#: wpGoogleMaps.php:1392
|
279 |
+
msgid "Description"
|
280 |
+
msgstr "Описание"
|
281 |
+
|
282 |
+
#@ wp-google-maps
|
283 |
+
#: wpGoogleMaps.php:1215
|
284 |
+
msgid "Pic URL"
|
285 |
+
msgstr "URL картинки"
|
286 |
+
|
287 |
+
#@ wp-google-maps
|
288 |
+
#: wpGoogleMaps.php:1217
|
289 |
+
msgid "Link URL"
|
290 |
+
msgstr "Ссылка"
|
291 |
+
|
292 |
+
#@ wp-google-maps
|
293 |
+
#: wpGoogleMaps.php:1219
|
294 |
+
msgid "Custom Marker"
|
295 |
+
msgstr "Метка по умолчанию"
|
296 |
+
|
297 |
+
#@ wp-google-maps
|
298 |
+
#: wpGoogleMaps.php:1222
|
299 |
+
msgid "Animation"
|
300 |
+
msgstr "Анимация"
|
301 |
+
|
302 |
+
#@ wp-google-maps
|
303 |
+
#: wpGoogleMaps.php:1232
|
304 |
+
msgid "Add Marker"
|
305 |
+
msgstr "Добавить метку"
|
306 |
+
|
307 |
+
#@ wp-google-maps
|
308 |
+
#: wpGoogleMaps.php:1232
|
309 |
+
msgid "Adding"
|
310 |
+
msgstr "Добавляю"
|
311 |
+
|
312 |
+
#@ wp-google-maps
|
313 |
+
#: wpGoogleMaps.php:1233
|
314 |
+
msgid "Save Marker"
|
315 |
+
msgstr "Сохранить метку"
|
316 |
+
|
317 |
+
#@ wp-google-maps
|
318 |
+
#: wpGoogleMaps.php:1233
|
319 |
+
msgid "Saving"
|
320 |
+
msgstr "Сохраняю"
|
321 |
+
|
322 |
+
#@ wp-google-maps
|
323 |
+
#: wpGoogleMaps.php:1241
|
324 |
+
msgid "Your Markers"
|
325 |
+
msgstr "Ваши метки"
|
326 |
+
|
327 |
+
#@ default
|
328 |
+
#: wpGoogleMaps.php:1250
|
329 |
+
msgid "Add detailed information to your markers!"
|
330 |
+
msgstr "Добавьте детальную информацию для Ваших меток!"
|
331 |
+
|
332 |
+
#@ wp-google-maps
|
333 |
+
#: wpGoogleMaps.php:1250
|
334 |
+
#: wpGoogleMaps.php:1254
|
335 |
+
#: wpGoogleMaps.php:1258
|
336 |
+
msgid "Add custom markers to your map!"
|
337 |
+
msgstr "Нарисуйте и добавьте любые метки на карту!"
|
338 |
+
|
339 |
+
#@ wp-google-maps
|
340 |
+
#: wpGoogleMaps.php:1251
|
341 |
+
msgid "Add detailed information to your markers for only"
|
342 |
+
msgstr "Добавьте детальную информацию о метке на карте всего за"
|
343 |
+
|
344 |
+
#@ wp-google-maps
|
345 |
+
#: wpGoogleMaps.php:1251
|
346 |
+
#: wpGoogleMaps.php:1259
|
347 |
+
msgid "Click"
|
348 |
+
msgstr "Щелкните"
|
349 |
+
|
350 |
+
#@ wp-google-maps
|
351 |
+
#: wpGoogleMaps.php:1251
|
352 |
+
#: wpGoogleMaps.php:1259
|
353 |
+
msgid "here"
|
354 |
+
msgstr "здесь"
|
355 |
+
|
356 |
+
#@ wp-google-maps
|
357 |
+
#: wpGoogleMaps.php:1255
|
358 |
+
msgid "Add different marker icons, or your own icons to make your map really stand out!"
|
359 |
+
msgstr "Закачайте различные иконки для меток или создайте свои собственные иконки, чтобы сделать карту по-настоящему выдающейся!"
|
360 |
+
|
361 |
+
#@ wp-google-maps
|
362 |
+
#: wpGoogleMaps.php:1259
|
363 |
+
msgid "Allow your visitors to get directions to your markers!"
|
364 |
+
msgstr "Позвольте Вашим посетителям прокладывать маршруты к Вашим меткам!"
|
365 |
+
|
366 |
+
#@ wp-google-maps
|
367 |
+
#: wpGoogleMaps.php:1265
|
368 |
+
msgid "WP Google Maps encourages you to make use of the amazing icons created by Nicolas Mollet's Maps Icons Collection"
|
369 |
+
msgstr "WP Google Maps всячески поощряет использование огромной коллекции восхитительных иконок, созданных Nicolas Mollet."
|
370 |
+
|
371 |
+
#@ wp-google-maps
|
372 |
+
#: wpGoogleMaps.php:1265
|
373 |
+
msgid "and to credit him when doing so."
|
374 |
+
msgstr "Не забудьте отблагодарить его за его огромный труд."
|
375 |
+
|
376 |
+
#@ wp-google-maps
|
377 |
+
#: wpGoogleMaps.php:1293
|
378 |
+
msgid "Edit Marker Location"
|
379 |
+
msgstr "Изменить местоположение"
|
380 |
+
|
381 |
+
#@ wp-google-maps
|
382 |
+
#: wpGoogleMaps.php:1302
|
383 |
+
msgid "Marker Latitude"
|
384 |
+
msgstr "Широта метки"
|
385 |
+
|
386 |
+
#@ wp-google-maps
|
387 |
+
#: wpGoogleMaps.php:1306
|
388 |
+
msgid "Marker Longitude"
|
389 |
+
msgstr "Долгота метки"
|
390 |
+
|
391 |
+
#@ wp-google-maps
|
392 |
+
#: wpGoogleMaps.php:1311
|
393 |
+
msgid "Save Marker Location"
|
394 |
+
msgstr "Сохранить местоположение метки"
|
395 |
+
|
396 |
+
#@ wp-google-maps
|
397 |
+
#: wpGoogleMaps.php:1312
|
398 |
+
msgid "Tip: Use your mouse to change the location of the marker. Simply click and drag it to your desired location."
|
399 |
+
msgstr "Подсказка: При помощи мышм Вы можете сменить местоположение метки. Просто кликните и перетащите её на место, которое вам нравится."
|
400 |
+
|
401 |
+
#@ wp-google-maps
|
402 |
+
#: wpGoogleMaps.php:1374
|
403 |
+
msgid "There are too many markers to make use of the live edit function. The maximum amount for this functionality is 2000 markers. Anything more than that number would crash your browser. In order to edit your markers, you would need to download the table in CSV format, edit it and re-upload it."
|
404 |
+
msgstr "На данный момент у вас слишком много меток, чтобы включить функцию «живого» редактирования. Максимальное количество для этой опции - 2000 меток. Большее их количество может просто подвесить ваш браузер. Чтобы редактировать такое количество меток, скачайте их в CSV формате, отредактируйте и перезалейте на сайт."
|
405 |
+
|
406 |
+
#@ wp-google-maps
|
407 |
+
#: wpGoogleMaps.php:1389
|
408 |
+
msgid "Icon"
|
409 |
+
msgstr "Иконка"
|
410 |
+
|
411 |
+
#@ wp-google-maps
|
412 |
+
#: wpGoogleMaps.php:1391
|
413 |
+
msgid "Address"
|
414 |
+
msgstr "Адрес"
|
415 |
+
|
416 |
+
#@ wp-google-maps
|
417 |
+
#: wpGoogleMaps.php:1393
|
418 |
+
msgid "Image"
|
419 |
+
msgstr "Изображение"
|
420 |
+
|
421 |
+
#@ wp-google-maps
|
422 |
+
#: wpGoogleMaps.php:1394
|
423 |
+
msgid "Link"
|
424 |
+
msgstr "Ссылка"
|
425 |
+
|
426 |
+
#@ wp-google-maps
|
427 |
+
#: wpGoogleMaps.php:1395
|
428 |
+
msgid "Action"
|
429 |
+
msgstr "Действие"
|
430 |
+
|
431 |
+
#@ wp-google-maps
|
432 |
+
#: wpGoogleMaps.php:1412
|
433 |
+
msgid "View this link"
|
434 |
+
msgstr "Перейти по ссылке"
|
435 |
+
|
436 |
+
#@ wp-google-maps
|
437 |
+
#: wpGoogleMaps.php:1423
|
438 |
+
#: wpGoogleMaps.php:1424
|
439 |
+
msgid "Edit this marker"
|
440 |
+
msgstr "Редактировать метку"
|
441 |
+
|
442 |
+
#@ wp-google-maps
|
443 |
+
#: wpGoogleMaps.php:1424
|
444 |
+
msgid "Edit Location"
|
445 |
+
msgstr "Изменить местоположение"
|
446 |
+
|
447 |
+
#@ wp-google-maps
|
448 |
+
#: wpGoogleMaps.php:1425
|
449 |
+
msgid "Delete this marker"
|
450 |
+
msgstr "Удалить метку"
|
451 |
+
|
452 |
+
#@ wp-google-maps
|
453 |
+
#: wpGoogleMaps.php:1425
|
454 |
+
msgid "Delete"
|
455 |
+
msgstr "Удалить"
|
456 |
+
|
457 |
+
#@ default
|
458 |
+
#: wpGoogleMaps.php:1542
|
459 |
+
msgid "The plugin directory does not have 'write' permissions. Please enable 'write' permissions (755) for "
|
460 |
+
msgstr "Директории плагина не присвоены права записи. Пожалуйста, включите их (755) для"
|
461 |
+
|
462 |
+
#@ default
|
463 |
+
#: wpGoogleMaps.php:1544
|
464 |
+
msgid "in order for this plugin to work! Please see "
|
465 |
+
msgstr "чтобы данный плагин мог работать! Пожалуйста, ознакомьтесь"
|
466 |
+
|
467 |
+
#@ default
|
468 |
+
#: wpGoogleMaps.php:1546
|
469 |
+
msgid "this page"
|
470 |
+
msgstr "с данной страницей"
|
471 |
+
|
472 |
+
#@ default
|
473 |
+
#: wpGoogleMaps.php:1548
|
474 |
+
msgid "for help on how to do it."
|
475 |
+
msgstr "чтобы узнать как это сделать"
|
476 |
+
|
477 |
+
msgid "Get great map markers <a href='http://mapicons.nicolasmollet.com/' target='_BLANK' title='Great Google Map Markers'>here</a>"
|
478 |
+
msgstr "Скачать замечательные иконки для меток можно <a href='http://mapicons.nicolasmollet.com/' target='_BLANK' title='Лучшие метки для карт'>здесь</a>"
|
479 |
+
|
480 |
+
msgid "Bounce"
|
481 |
+
msgstr "Метка подпрыгивает"
|
482 |
+
|
483 |
+
msgid "Drop"
|
484 |
+
msgstr "Метка падает"
|
485 |
+
|
486 |
+
msgid "Or paste image URL"
|
487 |
+
msgstr "Или вставьте URL изображения"
|
488 |
+
|
489 |
+
msgid "ignore if you want to use the defaul marker"
|
490 |
+
msgstr "проигнорируйте, если хотите оставить метку как есть"
|
491 |
+
|
492 |
+
msgid "Format: http://www.domain.com"
|
493 |
+
msgstr "Пример: http://www.domain.com"
|
494 |
+
|
495 |
+
msgid "More details"
|
496 |
+
msgstr "Подробнее"
|
497 |
+
|
498 |
+
msgid "Get directions"
|
499 |
+
msgstr "Маршрут"
|
500 |
+
|
501 |
+
msgid "From"
|
502 |
+
msgstr "Откуда"
|
503 |
+
|
504 |
+
msgid "To"
|
505 |
+
msgstr "Куда"
|
506 |
+
|
507 |
+
msgid "Go"
|
508 |
+
msgstr "Поехали!"
|
509 |
+
|
510 |
+
msgid "Please fill out both the 'from' and 'to' fields"
|
511 |
+
msgstr "Пожалуйста, заполните оба поля — «откуда» и «куда»"
|
512 |
+
|
513 |
+
msgid "Geocode was not successful for the following reason"
|
514 |
+
msgstr "Геокод не сработал по следующей причине"
|
515 |
+
|
516 |
+
msgid "Header 1 should be 'id', not"
|
517 |
+
msgstr "Заголовок 1 должен быть 'id', а не"
|
518 |
+
|
519 |
+
msgid "Header 2 should be 'map_id', not"
|
520 |
+
msgstr "Заголовок 2 должен быть 'map_id', а не"
|
521 |
+
|
522 |
+
msgid "Header 3 should be 'address', not"
|
523 |
+
msgstr "Заголовок 3 должен быть 'address', а не"
|
524 |
+
|
525 |
+
msgid "Header 4 should be 'desc', not"
|
526 |
+
msgstr "Заголовок 4 должен быть 'desc', а не"
|
527 |
+
|
528 |
+
msgid "Header 5 should be 'pic', not"
|
529 |
+
msgstr "Заголовок 5 должен быть 'pic', а не"
|
530 |
+
|
531 |
+
msgid "Header 6 should be 'link', not"
|
532 |
+
msgstr "Заголовок 6 должен быть 'link', а не"
|
533 |
+
|
534 |
+
msgid "Header 7 should be 'icon', not"
|
535 |
+
msgstr "Заголовок 7 должен быть 'icon', а не"
|
536 |
+
|
537 |
+
msgid "Header 8 should be 'lat', not"
|
538 |
+
msgstr "Заголовок 8 должен быть 'id', а не"
|
539 |
+
|
540 |
+
msgid "Header 9 should be 'lng', not"
|
541 |
+
msgstr "Заголовок 9 должен быть 'lng', а не"
|
542 |
+
|
543 |
+
msgid "Header 10 should be 'anim', not"
|
544 |
+
msgstr "Заголовок 10 должен быть 'anim', а не"
|
545 |
+
|
546 |
+
msgid "Header 11 should be 'title', not"
|
547 |
+
msgstr "Заголовок 11 должен быть 'title', а не"
|
548 |
+
|
549 |
+
msgid "CSV import failed"
|
550 |
+
msgstr "Импорт CSV не удался"
|
551 |
+
|
552 |
+
msgid "Your CSV file has been successfully imported"
|
553 |
+
msgstr "Ваш файл CSV был успешно импортирован"
|
554 |
+
|
555 |
+
msgid "Download ALL marker data to a CSV file"
|
556 |
+
msgstr "Скачать ВСЮ информацию о метках в файл CSV"
|
557 |
+
|
558 |
+
msgid "Advanced Options"
|
559 |
+
msgstr "Продвинутые опции"
|
560 |
+
|
561 |
+
msgid "Upload File"
|
562 |
+
msgstr "Закачать файл"
|
563 |
+
|
564 |
+
msgid "Upload CSV File"
|
565 |
+
msgstr "Закачать CSV файл"
|
566 |
+
|
567 |
+
msgid "Replace existing data with data in file"
|
568 |
+
msgstr "Заменить существующую информацию информацией из файла"
|
569 |
+
|
570 |
+
msgid "OR"
|
571 |
+
msgstr "ИЛИ"
|
572 |
+
|
573 |
+
msgid "including Pro add-on"
|
574 |
+
msgstr "в том числе Pro аддон"
|
575 |
+
|
576 |
+
msgid "including Pro & Gold add-ons"
|
577 |
+
msgstr "в том числе аддоны Pro и Gold"
|
578 |
+
|
579 |
+
msgid "Download this data as a CSV file"
|
580 |
+
msgstr "Скачать всю информацию как файл CSV"
|
581 |
+
|
582 |
+
msgid "Advanced Map Styling"
|
583 |
+
msgstr "Продвинутая визуализация карт"
|
584 |
+
|
585 |
+
msgid "Use the <a href='http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html' target='_BLANK'>Google Maps API Styled Map Wizard</a> to get your style settings"
|
586 |
+
msgstr "Используйте <a href='http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html' target='_BLANK'>Google Maps API Styled Map Wizard</a> чтобы получить настройки стиля карты"
|
587 |
+
|
588 |
+
msgid "Enable Advanced Styling"
|
589 |
+
msgstr "Включить продвинутую визуализацию карт"
|
590 |
+
|
591 |
+
msgid "Paste the JSON data here"
|
592 |
+
msgstr "Вставьте JSON сюда"
|
593 |
+
|
594 |
+
msgid "Save Style Settings"
|
595 |
+
msgstr "Сохранить настройки стиля"
|
596 |
+
|
597 |
+
msgid "Maps"
|
598 |
+
msgstr "Карт"
|
599 |
+
|
600 |
+
msgid "Advanced"
|
601 |
+
msgstr "Продвинутая"
|
602 |
+
|
603 |
+
msgid "Create your map"
|
604 |
+
msgstr "Создайте карту"
|
605 |
+
|
readme.txt
CHANGED
@@ -15,27 +15,31 @@ The easiest to use Map Plugin! Create custom Google Maps with high quality marke
|
|
15 |
= Key Features =
|
16 |
* WP Google Maps uses the latest Google Maps API (V3)
|
17 |
* Super easy to use, no coding required!
|
18 |
-
* Create as many map markers as you need by simply typing in the address
|
19 |
-
* Edit your markers with the click of a button
|
20 |
* Drag markers to an exact location
|
21 |
-
* Google Maps Streetview supported
|
22 |
* UTF-8 character support
|
|
|
23 |
* Support for localization
|
24 |
-
* Choose from four map type: roadmap, terrain, satellite and hybrid
|
25 |
-
* Define your own width, height and zoom level for your Google Map
|
26 |
* Create a map in less than a 30 seconds!
|
27 |
-
* WordPress 3.0 friendly
|
28 |
-
*
|
29 |
-
* No advertising or links.
|
30 |
|
31 |
= Professional Edition =
|
32 |
* Get the [WP Google Maps Professional Edition](http://www.wpgmaps.com/) for only $9.99
|
33 |
* Create multiple maps!
|
34 |
* Add descriptions, links and images to your Google Map markers.
|
35 |
-
* Add different marker icons
|
36 |
* Add animations to your markers and let them stand out!
|
37 |
* Allow your visitors to get directions to your markers.
|
38 |
* Export your markers to a CSV file for quick editing.
|
|
|
|
|
|
|
|
|
39 |
|
40 |
|
41 |
== Installation ==
|
@@ -74,6 +78,12 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= 4.14 =
|
78 |
* We have updated our Timthumb.php file to the latest version (2.8.5 to 2.8.10) in compliance with new WordPress regulations.
|
79 |
|
15 |
= Key Features =
|
16 |
* WP Google Maps uses the latest Google Maps API (V3)
|
17 |
* Super easy to use, no coding required!
|
18 |
+
* Create as many map markers as you need by simply typing in the address
|
19 |
+
* Edit your markers with the click of a button
|
20 |
* Drag markers to an exact location
|
21 |
+
* Google Maps Streetview supported
|
22 |
* UTF-8 character support
|
23 |
+
* Can be included as a widget
|
24 |
* Support for localization
|
25 |
+
* Choose from four map type: roadmap, terrain, satellite and hybrid
|
26 |
+
* Define your own width, height and zoom level for your Google Map
|
27 |
* Create a map in less than a 30 seconds!
|
28 |
+
* WordPress 3.0 friendly
|
29 |
+
* No advertising or links
|
|
|
30 |
|
31 |
= Professional Edition =
|
32 |
* Get the [WP Google Maps Professional Edition](http://www.wpgmaps.com/) for only $9.99
|
33 |
* Create multiple maps!
|
34 |
* Add descriptions, links and images to your Google Map markers.
|
35 |
+
* Add different marker icons, or your own icons to make your map really stand out!
|
36 |
* Add animations to your markers and let them stand out!
|
37 |
* Allow your visitors to get directions to your markers.
|
38 |
* Export your markers to a CSV file for quick editing.
|
39 |
+
* WordPress MU friendly
|
40 |
+
|
41 |
+
= Locales Supported =
|
42 |
+
* Russian - thanks to Sergey
|
43 |
|
44 |
|
45 |
== Installation ==
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 4.15 =
|
82 |
+
* All: Added RUSSIAN support! Thank you Sergey!
|
83 |
+
* All: Markers now automatically close when you click on another marker.
|
84 |
+
* Pro Addon: More information can now be stored in the description field.
|
85 |
+
* Pro Addon: The "To" field in the directions box now shows the address and not the GPS co-ords.
|
86 |
+
|
87 |
= 4.14 =
|
88 |
* We have updated our Timthumb.php file to the latest version (2.8.5 to 2.8.10) in compliance with new WordPress regulations.
|
89 |
|
wpGoogleMaps.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: http://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
-
Version: 4.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: http://www.wpgmaps.com
|
9 |
*/
|
@@ -28,8 +28,8 @@ $wpgmza_p = false;
|
|
28 |
$wpgmza_g = false;
|
29 |
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
|
30 |
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
|
31 |
-
$wpgmza_version = "4.
|
32 |
-
$wpgmza_p_version = "4.
|
33 |
$wpgmza_t = "basic";
|
34 |
|
35 |
add_action('admin_head', 'wpgmaps_head');
|
@@ -316,6 +316,7 @@ function wpgmaps_admin_javascript_basic() {
|
|
316 |
wpgmza_InitMap();
|
317 |
|
318 |
|
|
|
319 |
|
320 |
jQuery(".wpgmza_del_btn").live("click", function() {
|
321 |
var cur_id = jQuery(this).attr("id");
|
@@ -469,7 +470,7 @@ function wpgmaps_admin_javascript_basic() {
|
|
469 |
this.map = new google.maps.Map(jQuery(selector)[0], myOptions);
|
470 |
this.bounds = new google.maps.LatLngBounds();
|
471 |
|
472 |
-
|
473 |
google.maps.event.addListener(MYMAP.map, 'zoom_changed', function() {
|
474 |
zoomLevel = MYMAP.map.getZoom();
|
475 |
|
@@ -484,10 +485,17 @@ function wpgmaps_admin_javascript_basic() {
|
|
484 |
jQuery("#wpgmaps_save_reminder").show();
|
485 |
});
|
486 |
|
|
|
|
|
|
|
|
|
487 |
|
488 |
}
|
489 |
|
|
|
|
|
490 |
|
|
|
491 |
MYMAP.placeMarkers = function(filename,map_id) {
|
492 |
marker_array = [];
|
493 |
jQuery.get(filename, function(xml){
|
@@ -505,14 +513,16 @@ function wpgmaps_admin_javascript_basic() {
|
|
505 |
|
506 |
|
507 |
});
|
508 |
-
|
509 |
var html='<strong>'+wpmgza_address+'</strong>';
|
510 |
|
511 |
google.maps.event.addListener(marker, 'click', function() {
|
|
|
512 |
infoWindow.setContent(html);
|
513 |
infoWindow.open(MYMAP.map, marker);
|
|
|
|
|
514 |
});
|
515 |
-
//MYMAP.map.fitBounds(MYMAP.bounds);
|
516 |
|
517 |
}
|
518 |
|
@@ -601,8 +611,15 @@ function wpgmaps_user_javascript_basic() {
|
|
601 |
this.map = new google.maps.Map(jQuery(selector)[0], myOptions);
|
602 |
this.bounds = new google.maps.LatLngBounds();
|
603 |
|
|
|
|
|
|
|
|
|
|
|
604 |
}
|
605 |
|
|
|
|
|
606 |
|
607 |
|
608 |
MYMAP.placeMarkers = function(filename,map_id) {
|
@@ -622,12 +639,13 @@ function wpgmaps_user_javascript_basic() {
|
|
622 |
position: point,
|
623 |
map: MYMAP.map
|
624 |
});
|
625 |
-
var infoWindow = new google.maps.InfoWindow();
|
626 |
var html='<strong>'+wpmgza_address+'</strong>';
|
627 |
|
628 |
google.maps.event.addListener(marker, 'click', function(evt) {
|
|
|
629 |
infoWindow.setContent(html);
|
630 |
infoWindow.open(MYMAP.map, marker);
|
|
|
631 |
|
632 |
});
|
633 |
}
|
@@ -925,9 +943,9 @@ function wpgmaps_head() {
|
|
925 |
|
926 |
|
927 |
function wpgmaps_admin_menu() {
|
928 |
-
add_menu_page('WPGoogle Maps', 'Maps', 'manage_options', 'wp-google-maps-menu', 'wpgmaps_menu_layout', wpgmaps_get_plugin_url()."/images/map_app_small.png");
|
929 |
if (function_exists(wpgmza_pro_advanced_menu)) {
|
930 |
-
add_submenu_page('wp-google-maps-menu', 'WP Google Maps - Advanced Options', 'Advanced', 'manage_options' , 'wp-google-maps-menu-advanced', 'wpgmaps_menu_advanced_layout');
|
931 |
}
|
932 |
|
933 |
// add_options_page('WP Google Maps', 'WP Google Maps', 'manage_options', 'wp-google-maps-menu', 'wpgmaps_menu_layout');
|
@@ -1048,10 +1066,10 @@ function wpgmaps_list_maps() {
|
|
1048 |
<tbody id=\"the-list\" class='list:wp_list_text_link'>
|
1049 |
";
|
1050 |
foreach ( $results as $result ) {
|
1051 |
-
if ($result->type == "1") { $map_type = "Roadmap"; }
|
1052 |
-
else if ($result->type == "2") { $map_type = "Satellite"; }
|
1053 |
-
else if ($result->type == "3") { $map_type = "Hybrid"; }
|
1054 |
-
else if ($result->type == "4") { $map_type = "Terrain"; }
|
1055 |
if (function_exists(wpgmza_register_pro_version)) {
|
1056 |
$trashlink = "| <a href=\"?page=wp-google-maps-menu&action=trash&map_id=".$result->id."\" title=\"Trash\">".__("Trash","wp-google-maps")."</a>";
|
1057 |
}
|
@@ -1211,7 +1229,7 @@ function wpgmza_basic_menu() {
|
|
1211 |
</tr>
|
1212 |
|
1213 |
<tr><td>".__("Description","wp-google-maps").": </td>
|
1214 |
-
<td><
|
1215 |
<tr><td>".__("Pic URL","wp-google-maps").": </td>
|
1216 |
<td><input id='wpgmza_add_pic' name=\"wpgmza_add_pic\" type='text' size='35' maxlength='700' value='' ".$wpgmza_act."/> <input id=\"upload_image_button\" type=\"button\" value=\"".__("Upload Image","wp-google-maps")."\" $wpgmza_act /><br /></td></tr>
|
1217 |
<tr><td>".__("Link URL","wp-google-maps").": </td>
|
@@ -1419,7 +1437,7 @@ function wpgmza_return_marker_list($map_id) {
|
|
1419 |
<td>".$result->desc."<input type=\"hidden\" id=\"wpgmza_hid_marker_desc_".$result->id."\" value=\"".$result->desc."\" /></td>
|
1420 |
<td>$pic<input type=\"hidden\" id=\"wpgmza_hid_marker_pic_".$result->id."\" value=\"".$result->pic."\" /></td>
|
1421 |
<td>$linktd<input type=\"hidden\" id=\"wpgmza_hid_marker_link_".$result->id."\" value=\"".$result->link."\" /></td>
|
1422 |
-
<td>
|
1423 |
<a href=\"#wpgmaps_marker\" title=\"".__("Edit this marker","wp-google-maps")."\" class=\"wpgmza_edit_btn\" id=\"".$result->id."\">".__("Edit","wp-google-maps")."</a> |
|
1424 |
<a href=\"?page=wp-google-maps-menu&action=edit_marker&id=".$result->id."\" title=\"".__("Edit this marker","wp-google-maps")."\" class=\"wpgmza_edit_btn\" id=\"".$result->id."\">".__("Edit Location","wp-google-maps")."</a> |
|
1425 |
<a href=\"javascript:void(0);\" title=\"".__("Delete this marker","wp-google-maps")."\" class=\"wpgmza_del_btn\" id=\"".$result->id."\">".__("Delete","wp-google-maps")."</a>
|
@@ -1580,8 +1598,8 @@ function wpgmaps_handle_db() {
|
|
1580 |
CREATE TABLE `".$table_name."` (
|
1581 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
1582 |
`map_id` int(11) NOT NULL,
|
1583 |
-
`address` varchar(700)
|
1584 |
-
`desc`
|
1585 |
`pic` varchar(700) NOT NULL,
|
1586 |
`link` varchar(700) NOT NULL,
|
1587 |
`icon` varchar(700) NOT NULL,
|
@@ -1596,6 +1614,10 @@ function wpgmaps_handle_db() {
|
|
1596 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
1597 |
dbDelta($sql);
|
1598 |
|
|
|
|
|
|
|
|
|
1599 |
$table_name = $wpdb->prefix . "wpgmza_maps";
|
1600 |
$sql = "
|
1601 |
CREATE TABLE `".$table_name."` (
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: http://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
+
Version: 4.15
|
7 |
Author: WP Google Maps
|
8 |
Author URI: http://www.wpgmaps.com
|
9 |
*/
|
28 |
$wpgmza_g = false;
|
29 |
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
|
30 |
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
|
31 |
+
$wpgmza_version = "4.15";
|
32 |
+
$wpgmza_p_version = "4.15";
|
33 |
$wpgmza_t = "basic";
|
34 |
|
35 |
add_action('admin_head', 'wpgmaps_head');
|
316 |
wpgmza_InitMap();
|
317 |
|
318 |
|
319 |
+
|
320 |
|
321 |
jQuery(".wpgmza_del_btn").live("click", function() {
|
322 |
var cur_id = jQuery(this).attr("id");
|
470 |
this.map = new google.maps.Map(jQuery(selector)[0], myOptions);
|
471 |
this.bounds = new google.maps.LatLngBounds();
|
472 |
|
473 |
+
|
474 |
google.maps.event.addListener(MYMAP.map, 'zoom_changed', function() {
|
475 |
zoomLevel = MYMAP.map.getZoom();
|
476 |
|
485 |
jQuery("#wpgmaps_save_reminder").show();
|
486 |
});
|
487 |
|
488 |
+
google.maps.event.addListener(MYMAP.map, 'click', function() {
|
489 |
+
infoWindow.close();
|
490 |
+
});
|
491 |
+
|
492 |
|
493 |
}
|
494 |
|
495 |
+
var infoWindow = new google.maps.InfoWindow();
|
496 |
+
infoWindow.setOptions({maxWidth:200});
|
497 |
|
498 |
+
|
499 |
MYMAP.placeMarkers = function(filename,map_id) {
|
500 |
marker_array = [];
|
501 |
jQuery.get(filename, function(xml){
|
513 |
|
514 |
|
515 |
});
|
516 |
+
|
517 |
var html='<strong>'+wpmgza_address+'</strong>';
|
518 |
|
519 |
google.maps.event.addListener(marker, 'click', function() {
|
520 |
+
infoWindow.close();
|
521 |
infoWindow.setContent(html);
|
522 |
infoWindow.open(MYMAP.map, marker);
|
523 |
+
//MYMAP.map.setCenter(this.position);
|
524 |
+
|
525 |
});
|
|
|
526 |
|
527 |
}
|
528 |
|
611 |
this.map = new google.maps.Map(jQuery(selector)[0], myOptions);
|
612 |
this.bounds = new google.maps.LatLngBounds();
|
613 |
|
614 |
+
google.maps.event.addListener(MYMAP.map, 'click', function() {
|
615 |
+
infoWindow.close();
|
616 |
+
});
|
617 |
+
|
618 |
+
|
619 |
}
|
620 |
|
621 |
+
var infoWindow = new google.maps.InfoWindow();
|
622 |
+
infoWindow.setOptions({maxWidth:200});
|
623 |
|
624 |
|
625 |
MYMAP.placeMarkers = function(filename,map_id) {
|
639 |
position: point,
|
640 |
map: MYMAP.map
|
641 |
});
|
|
|
642 |
var html='<strong>'+wpmgza_address+'</strong>';
|
643 |
|
644 |
google.maps.event.addListener(marker, 'click', function(evt) {
|
645 |
+
infoWindow.close();
|
646 |
infoWindow.setContent(html);
|
647 |
infoWindow.open(MYMAP.map, marker);
|
648 |
+
//MYMAP.map.setCenter(this.position);
|
649 |
|
650 |
});
|
651 |
}
|
943 |
|
944 |
|
945 |
function wpgmaps_admin_menu() {
|
946 |
+
add_menu_page('WPGoogle Maps', __('Maps','wp-google-maps'), 'manage_options', 'wp-google-maps-menu', 'wpgmaps_menu_layout', wpgmaps_get_plugin_url()."/images/map_app_small.png");
|
947 |
if (function_exists(wpgmza_pro_advanced_menu)) {
|
948 |
+
add_submenu_page('wp-google-maps-menu', 'WP Google Maps - Advanced Options', __('Advanced','wp-google-maps'), 'manage_options' , 'wp-google-maps-menu-advanced', 'wpgmaps_menu_advanced_layout');
|
949 |
}
|
950 |
|
951 |
// add_options_page('WP Google Maps', 'WP Google Maps', 'manage_options', 'wp-google-maps-menu', 'wpgmaps_menu_layout');
|
1066 |
<tbody id=\"the-list\" class='list:wp_list_text_link'>
|
1067 |
";
|
1068 |
foreach ( $results as $result ) {
|
1069 |
+
if ($result->type == "1") { $map_type = __("Roadmap","wp-google-maps"); }
|
1070 |
+
else if ($result->type == "2") { $map_type = __("Satellite","wp-google-maps"); }
|
1071 |
+
else if ($result->type == "3") { $map_type = __("Hybrid","wp-google-maps"); }
|
1072 |
+
else if ($result->type == "4") { $map_type = __("Terrain","wp-google-maps"); }
|
1073 |
if (function_exists(wpgmza_register_pro_version)) {
|
1074 |
$trashlink = "| <a href=\"?page=wp-google-maps-menu&action=trash&map_id=".$result->id."\" title=\"Trash\">".__("Trash","wp-google-maps")."</a>";
|
1075 |
}
|
1229 |
</tr>
|
1230 |
|
1231 |
<tr><td>".__("Description","wp-google-maps").": </td>
|
1232 |
+
<td><textarea id='wpgmza_add_desc' name='wpgmza_add_desc' ".$wpgmza_act."></textarea> <br /></td></tr>
|
1233 |
<tr><td>".__("Pic URL","wp-google-maps").": </td>
|
1234 |
<td><input id='wpgmza_add_pic' name=\"wpgmza_add_pic\" type='text' size='35' maxlength='700' value='' ".$wpgmza_act."/> <input id=\"upload_image_button\" type=\"button\" value=\"".__("Upload Image","wp-google-maps")."\" $wpgmza_act /><br /></td></tr>
|
1235 |
<tr><td>".__("Link URL","wp-google-maps").": </td>
|
1437 |
<td>".$result->desc."<input type=\"hidden\" id=\"wpgmza_hid_marker_desc_".$result->id."\" value=\"".$result->desc."\" /></td>
|
1438 |
<td>$pic<input type=\"hidden\" id=\"wpgmza_hid_marker_pic_".$result->id."\" value=\"".$result->pic."\" /></td>
|
1439 |
<td>$linktd<input type=\"hidden\" id=\"wpgmza_hid_marker_link_".$result->id."\" value=\"".$result->link."\" /></td>
|
1440 |
+
<td width='170' align='center'>
|
1441 |
<a href=\"#wpgmaps_marker\" title=\"".__("Edit this marker","wp-google-maps")."\" class=\"wpgmza_edit_btn\" id=\"".$result->id."\">".__("Edit","wp-google-maps")."</a> |
|
1442 |
<a href=\"?page=wp-google-maps-menu&action=edit_marker&id=".$result->id."\" title=\"".__("Edit this marker","wp-google-maps")."\" class=\"wpgmza_edit_btn\" id=\"".$result->id."\">".__("Edit Location","wp-google-maps")."</a> |
|
1443 |
<a href=\"javascript:void(0);\" title=\"".__("Delete this marker","wp-google-maps")."\" class=\"wpgmza_del_btn\" id=\"".$result->id."\">".__("Delete","wp-google-maps")."</a>
|
1598 |
CREATE TABLE `".$table_name."` (
|
1599 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
1600 |
`map_id` int(11) NOT NULL,
|
1601 |
+
`address` varchar(700) NOT NULL,
|
1602 |
+
`desc` mediumtext NOT NULL,
|
1603 |
`pic` varchar(700) NOT NULL,
|
1604 |
`link` varchar(700) NOT NULL,
|
1605 |
`icon` varchar(700) NOT NULL,
|
1614 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
1615 |
dbDelta($sql);
|
1616 |
|
1617 |
+
$sql2 = "alter table `".$table_name."` modify `desc` MEDIUMTEXT ;";
|
1618 |
+
$wpdb->query($sql2);
|
1619 |
+
|
1620 |
+
|
1621 |
$table_name = $wpdb->prefix . "wpgmza_maps";
|
1622 |
$sql = "
|
1623 |
CREATE TABLE `".$table_name."` (
|