Version Description
- Initial Translation support for English(en), Bengali(bn) and German(de)
Download this release
Release Info
Developer | milonfci |
Plugin | WP Google Map |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.9 to 1.1.0
- gmap-embed.pot +142 -0
- includes/default.mo +0 -0
- includes/gmap.php +9 -9
- includes/wpgmap_create.php +13 -12
- includes/wpgmap_edit.php +13 -12
- includes/wpgmap_settings.php +4 -4
- languages/default.mo +0 -0
- languages/default.po +57 -0
- languages/gmap-embed-bn_BD.mo +0 -0
- languages/gmap-embed-bn_BD.po +125 -0
- languages/gmap-embed-de_DE.mo +0 -0
- languages/gmap-embed-de_DE.po +125 -0
- readme.txt +7 -3
- srm_gmap_embed.php +19 -15
gmap-embed.pot
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2016 Google Map Embed
|
2 |
+
# This file is distributed under the same license as the Google Map Embed package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Google Map Embed 1.1.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gmap-embed\n"
|
7 |
+
"POT-Creation-Date: 2016-11-18 06:37:42+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#: includes/gmap.php:31
|
16 |
+
msgid "All Maps"
|
17 |
+
msgstr ""
|
18 |
+
|
19 |
+
#: includes/gmap.php:36
|
20 |
+
msgid "Create New Map"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: includes/gmap.php:41
|
24 |
+
msgid "Settings"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: includes/gmap.php:45
|
28 |
+
msgid "Need Help ?"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: includes/gmap.php:62
|
32 |
+
msgid "Map created Successfully."
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: includes/gmap.php:65
|
36 |
+
msgid "Updated Map Successfully."
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: includes/gmap.php:68
|
40 |
+
msgid "Settings updated Successfully."
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: includes/gmap.php:71
|
44 |
+
msgid "Deleted Map Successfully."
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: includes/wpgmap_create.php:13 includes/wpgmap_edit.php:19
|
48 |
+
msgid "Map Title"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: includes/wpgmap_create.php:20 includes/wpgmap_edit.php:27
|
52 |
+
msgid "Show as map title"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: includes/wpgmap_create.php:25 includes/wpgmap_edit.php:39
|
56 |
+
msgid "Latitude, Longitude"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: includes/wpgmap_create.php:32 includes/wpgmap_edit.php:32
|
60 |
+
msgid "Heading Custom Class"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: includes/wpgmap_create.php:40 includes/wpgmap_edit.php:48
|
64 |
+
msgid "Zoom"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: includes/wpgmap_create.php:48 includes/wpgmap_edit.php:57
|
68 |
+
msgid "Width (%)"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: includes/wpgmap_create.php:56 includes/wpgmap_edit.php:66
|
72 |
+
msgid "Height (px)"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: includes/wpgmap_create.php:64 includes/wpgmap_edit.php:75
|
76 |
+
msgid "Map Type"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: includes/wpgmap_create.php:76 includes/wpgmap_edit.php:92
|
80 |
+
msgid "Location Address"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: includes/wpgmap_create.php:85 includes/wpgmap_edit.php:101
|
84 |
+
msgid "Show in marker infowindow"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: includes/wpgmap_create.php:95 includes/wpgmap_edit.php:110
|
88 |
+
msgid "Search by Address, Zip Code"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: includes/wpgmap_create.php:108 includes/wpgmap_settings.php:12
|
92 |
+
msgid "Save"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: includes/wpgmap_edit.php:130
|
96 |
+
msgid "Update"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: includes/wpgmap_settings.php:8
|
100 |
+
msgid "Notice: The plugin requires following API key."
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: includes/wpgmap_settings.php:10
|
104 |
+
msgid "Enter API Key"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: includes/wpgmap_settings.php:16
|
108 |
+
msgid "GET FREE API KEY"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: srm_gmap_embed.php:76
|
112 |
+
msgid "Add new Map"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: srm_gmap_embed.php:76
|
116 |
+
msgid "Add New"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: srm_gmap_embed.php:198
|
120 |
+
msgid "Change"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#. Plugin Name of the plugin/theme
|
124 |
+
msgid "Google Map Embed"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#. #-#-#-#-# plugin.pot (Google Map Embed 1.1.0) #-#-#-#-#
|
128 |
+
#. Plugin URI of the plugin/theme
|
129 |
+
#. #-#-#-#-# plugin.pot (Google Map Embed 1.1.0) #-#-#-#-#
|
130 |
+
#. Author URI of the plugin/theme
|
131 |
+
msgid "http://www.srmilon.com"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#. Description of the plugin/theme
|
135 |
+
msgid ""
|
136 |
+
"The plugin will help to google map Embed in post and pages also in sidebar "
|
137 |
+
"with widget."
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#. Author of the plugin/theme
|
141 |
+
msgid "SRMILON"
|
142 |
+
msgstr ""
|
includes/default.mo
ADDED
Binary file
|
includes/gmap.php
CHANGED
@@ -28,21 +28,21 @@ if (isset($_GET['page'])) {
|
|
28 |
<ul id="wp-gmap-nav">
|
29 |
<li class="<?php echo ($wpgmap_page == 'wpgmapembed' && $wpgmap_tag == '') ? 'active' : ''; ?>">
|
30 |
<a href="<?php echo admin_url(); ?>admin.php?page=wpgmapembed" data-id="wp-gmap-all"
|
31 |
-
class="media-menu-item"
|
32 |
</li>
|
33 |
<li class="<?php echo $wpgmap_tag == 'new' ? 'active' : ''; ?>">
|
34 |
<a href="<?php echo esc_url(admin_url() . 'admin.php?page=wpgmapembed&tag=new'); ?>"
|
35 |
data-id="wp-gmap-new"
|
36 |
-
class="media-menu-item"
|
37 |
</li>
|
38 |
<li class="<?php echo $wpgmap_tag == 'settings' ? 'active' : ''; ?>">
|
39 |
<a href="<?php echo esc_url(admin_url() . 'admin.php?page=wpgmapembed&tag=settings'); ?>"
|
40 |
data-id="wp-gmap-settings"
|
41 |
-
class="media-menu-item"
|
42 |
</li>
|
43 |
<li>
|
44 |
-
<a target="_blank" href="https://www.youtube.com/watch?v=FRkPuamfANY" class="media-menu-item">
|
45 |
-
Help
|
46 |
</li>
|
47 |
<span class="spinner" style="margin-right: 20px !important;float:right"></span>
|
48 |
</ul>
|
@@ -59,16 +59,16 @@ if (isset($_GET['page'])) {
|
|
59 |
$message_status = $_GET['message'];
|
60 |
switch ($message_status) {
|
61 |
case 1:
|
62 |
-
echo 'Map created Successfully.';
|
63 |
break;
|
64 |
case 2:
|
65 |
-
echo 'Updated Map Successfully.';
|
66 |
break;
|
67 |
case 3:
|
68 |
-
echo 'Settings updated Successfully.';
|
69 |
break;
|
70 |
case -1:
|
71 |
-
echo 'Deleted Map Successfully.';
|
72 |
break;
|
73 |
}
|
74 |
?>
|
28 |
<ul id="wp-gmap-nav">
|
29 |
<li class="<?php echo ($wpgmap_page == 'wpgmapembed' && $wpgmap_tag == '') ? 'active' : ''; ?>">
|
30 |
<a href="<?php echo admin_url(); ?>admin.php?page=wpgmapembed" data-id="wp-gmap-all"
|
31 |
+
class="media-menu-item"><?php _e('All Maps','gmap-embed');?></a>
|
32 |
</li>
|
33 |
<li class="<?php echo $wpgmap_tag == 'new' ? 'active' : ''; ?>">
|
34 |
<a href="<?php echo esc_url(admin_url() . 'admin.php?page=wpgmapembed&tag=new'); ?>"
|
35 |
data-id="wp-gmap-new"
|
36 |
+
class="media-menu-item"><?php _e('Create New Map','gmap-embed');?></a>
|
37 |
</li>
|
38 |
<li class="<?php echo $wpgmap_tag == 'settings' ? 'active' : ''; ?>">
|
39 |
<a href="<?php echo esc_url(admin_url() . 'admin.php?page=wpgmapembed&tag=settings'); ?>"
|
40 |
data-id="wp-gmap-settings"
|
41 |
+
class="media-menu-item"><?php _e('Settings','gmap-embed');?></a>
|
42 |
</li>
|
43 |
<li>
|
44 |
+
<a target="_blank" href="https://www.youtube.com/watch?v=FRkPuamfANY" class="media-menu-item">
|
45 |
+
<?php _e('Need Help ?','gmap-embed');?></a>
|
46 |
</li>
|
47 |
<span class="spinner" style="margin-right: 20px !important;float:right"></span>
|
48 |
</ul>
|
59 |
$message_status = $_GET['message'];
|
60 |
switch ($message_status) {
|
61 |
case 1:
|
62 |
+
echo __('Map created Successfully.','gmap-embed');
|
63 |
break;
|
64 |
case 2:
|
65 |
+
echo __('Updated Map Successfully.','gmap-embed');
|
66 |
break;
|
67 |
case 3:
|
68 |
+
echo __('Settings updated Successfully.','gmap-embed');
|
69 |
break;
|
70 |
case -1:
|
71 |
+
echo __('Deleted Map Successfully.','gmap-embed');
|
72 |
break;
|
73 |
}
|
74 |
?>
|
includes/wpgmap_create.php
CHANGED
@@ -10,26 +10,26 @@
|
|
10 |
<table class="gmap_properties">
|
11 |
<tr>
|
12 |
<td>
|
13 |
-
<label for="wpgmap_title"><b
|
14 |
<input id="wpgmap_title" name="wpgmap_title" value="" type="text"
|
15 |
class="regular-text">
|
16 |
<br/>
|
17 |
|
18 |
<input type="checkbox" value="1" name="wpgmap_show_heading"
|
19 |
id="wpgmap_show_heading">
|
20 |
-
<label for="wpgmap_show_heading"
|
21 |
</td>
|
22 |
</tr>
|
23 |
<tr>
|
24 |
<td>
|
25 |
-
<label for="wpgmap_latlng"><b
|
26 |
<input id="wpgmap_latlng" name="wpgmap_latlng" value="" type="text"
|
27 |
class="regular-text">
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr>
|
31 |
<td>
|
32 |
-
<label for="wpgmap_heading_class"><b
|
33 |
<input id="wpgmap_heading_class" name="wpgmap_heading_class" value="" type="text"
|
34 |
class="regular-text">
|
35 |
</td>
|
@@ -37,7 +37,7 @@
|
|
37 |
|
38 |
<tr>
|
39 |
<td>
|
40 |
-
<label for="wpgmap_map_zoom"><b
|
41 |
<input id="wpgmap_map_zoom" name="wpgmap_map_zoom" value="13" type="text"
|
42 |
class="regular-text">
|
43 |
</td>
|
@@ -45,7 +45,7 @@
|
|
45 |
|
46 |
<tr>
|
47 |
<td>
|
48 |
-
<label for="wpgmap_map_width"><b
|
49 |
<input id="wpgmap_map_width" name="wpgmap_map_width" value="100%"
|
50 |
type="text" class="regular-text">
|
51 |
</td>
|
@@ -53,7 +53,7 @@
|
|
53 |
|
54 |
<tr>
|
55 |
<td>
|
56 |
-
<label for="wpgmap_map_height"><b
|
57 |
<input id="wpgmap_map_height" name="wpgmap_map_height" value="300px"
|
58 |
type="text" class="regular-text">
|
59 |
</td>
|
@@ -61,7 +61,7 @@
|
|
61 |
|
62 |
<tr>
|
63 |
<td>
|
64 |
-
<label for="wpgmap_map_type"><b
|
65 |
<select id="wpgmap_map_type" class="regular-text" style="width:25em;">
|
66 |
<option>ROADMAP</option>
|
67 |
<option>SATELLITE</option>
|
@@ -73,7 +73,7 @@
|
|
73 |
|
74 |
<tr>
|
75 |
<td>
|
76 |
-
<label for="wpgmap_map_address"><b
|
77 |
<input type="text" id="wpgmap_map_address" style="width:25em;"
|
78 |
name="wpgmap_map_address" class="regular-text">
|
79 |
|
@@ -82,7 +82,8 @@
|
|
82 |
<label for="wpgmap_show_infowindow"><input type="checkbox" value="1"
|
83 |
name="wpgmap_show_infowindow"
|
84 |
id="wpgmap_show_infowindow">
|
85 |
-
Show in marker infowindow
|
|
|
86 |
</td>
|
87 |
</tr>
|
88 |
|
@@ -91,7 +92,7 @@
|
|
91 |
|
92 |
|
93 |
<div class="wp-gmap-preview">
|
94 |
-
<input id="pac-input" class="controls" type="text" placeholder="Search
|
95 |
<div id="map" style="height: 415px;"></div>
|
96 |
</div>
|
97 |
|
@@ -104,7 +105,7 @@
|
|
104 |
<div class="media-toolbar-secondary"
|
105 |
style="text-align: right;float: right;margin-top:10px;">
|
106 |
<span class="spinner" style="margin: 0px !important;float:left;"></span>
|
107 |
-
<button class="button button-primary" id="wp-gmap-embed-save"
|
108 |
</div>
|
109 |
</div>
|
110 |
</div>
|
10 |
<table class="gmap_properties">
|
11 |
<tr>
|
12 |
<td>
|
13 |
+
<label for="wpgmap_title"><b><?php _e('Map Title','gmap-embed');?></b></label><br/>
|
14 |
<input id="wpgmap_title" name="wpgmap_title" value="" type="text"
|
15 |
class="regular-text">
|
16 |
<br/>
|
17 |
|
18 |
<input type="checkbox" value="1" name="wpgmap_show_heading"
|
19 |
id="wpgmap_show_heading">
|
20 |
+
<label for="wpgmap_show_heading"><?php _e('Show as map title','gmap-embed');?></label>
|
21 |
</td>
|
22 |
</tr>
|
23 |
<tr>
|
24 |
<td>
|
25 |
+
<label for="wpgmap_latlng"><b><?php _e('Latitude, Longitude','gmap-embed');?></b></label><br/>
|
26 |
<input id="wpgmap_latlng" name="wpgmap_latlng" value="" type="text"
|
27 |
class="regular-text">
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr>
|
31 |
<td>
|
32 |
+
<label for="wpgmap_heading_class"><b><?php _e('Heading Custom Class','gmap-embed');?> <span style="color:gray;">(if any)</span></b></label><br/>
|
33 |
<input id="wpgmap_heading_class" name="wpgmap_heading_class" value="" type="text"
|
34 |
class="regular-text">
|
35 |
</td>
|
37 |
|
38 |
<tr>
|
39 |
<td>
|
40 |
+
<label for="wpgmap_map_zoom"><b><?php _e('Zoom','gmap-embed');?></b></label><br/>
|
41 |
<input id="wpgmap_map_zoom" name="wpgmap_map_zoom" value="13" type="text"
|
42 |
class="regular-text">
|
43 |
</td>
|
45 |
|
46 |
<tr>
|
47 |
<td>
|
48 |
+
<label for="wpgmap_map_width"><b><?php _e('Width (%)','gmap-embed');?></b></label><br/>
|
49 |
<input id="wpgmap_map_width" name="wpgmap_map_width" value="100%"
|
50 |
type="text" class="regular-text">
|
51 |
</td>
|
53 |
|
54 |
<tr>
|
55 |
<td>
|
56 |
+
<label for="wpgmap_map_height"><b><?php _e('Height (px)','gmap-embed');?></b></label><br/>
|
57 |
<input id="wpgmap_map_height" name="wpgmap_map_height" value="300px"
|
58 |
type="text" class="regular-text">
|
59 |
</td>
|
61 |
|
62 |
<tr>
|
63 |
<td>
|
64 |
+
<label for="wpgmap_map_type"><b><?php _e('Map Type','gmap-embed');?></b></label><br/>
|
65 |
<select id="wpgmap_map_type" class="regular-text" style="width:25em;">
|
66 |
<option>ROADMAP</option>
|
67 |
<option>SATELLITE</option>
|
73 |
|
74 |
<tr>
|
75 |
<td>
|
76 |
+
<label for="wpgmap_map_address"><b><?php _e('Location Address','gmap-embed');?></b></label><br/>
|
77 |
<input type="text" id="wpgmap_map_address" style="width:25em;"
|
78 |
name="wpgmap_map_address" class="regular-text">
|
79 |
|
82 |
<label for="wpgmap_show_infowindow"><input type="checkbox" value="1"
|
83 |
name="wpgmap_show_infowindow"
|
84 |
id="wpgmap_show_infowindow">
|
85 |
+
<?php _e('Show in marker infowindow','gmap-embed');?>
|
86 |
+
</label>
|
87 |
</td>
|
88 |
</tr>
|
89 |
|
92 |
|
93 |
|
94 |
<div class="wp-gmap-preview">
|
95 |
+
<input id="pac-input" class="controls" type="text" placeholder="<?php _e('Search by Address, Zip Code','gmap-embed');?>"/>
|
96 |
<div id="map" style="height: 415px;"></div>
|
97 |
</div>
|
98 |
|
105 |
<div class="media-toolbar-secondary"
|
106 |
style="text-align: right;float: right;margin-top:10px;">
|
107 |
<span class="spinner" style="margin: 0px !important;float:left;"></span>
|
108 |
+
<button class="button button-primary" id="wp-gmap-embed-save"><?php _e('Save','gmap-embed');?></button>
|
109 |
</div>
|
110 |
</div>
|
111 |
</div>
|
includes/wpgmap_edit.php
CHANGED
@@ -16,7 +16,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
16 |
<table style="width: 100% !important;" class="gmap_properties">
|
17 |
<tr>
|
18 |
<td>
|
19 |
-
<label for="wpgmap_title"><b
|
20 |
<input id="wpgmap_title" name="wpgmap_title" value="<?php echo esc_attr($wpgmap_single->wpgmap_title); ?>"
|
21 |
type="text"
|
22 |
class="regular-text">
|
@@ -24,19 +24,19 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
24 |
|
25 |
<input type="checkbox" value="1" name="wpgmap_show_heading"
|
26 |
id="wpgmap_show_heading" <?php echo ($wpgmap_single->wpgmap_show_heading == 1) ? 'checked' : ''; ?>>
|
27 |
-
<label for="wpgmap_show_heading"
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr>
|
31 |
<td>
|
32 |
-
<label for="wpgmap_heading_class"><b
|
33 |
<input id="wpgmap_heading_class" name="wpgmap_heading_class" value="<?php echo $wpgmap_single->wpgmap_heading_class;?>" type="text"
|
34 |
class="regular-text">
|
35 |
</td>
|
36 |
</tr>
|
37 |
<tr>
|
38 |
<td>
|
39 |
-
<label for="wpgmap_latlng"><b
|
40 |
<input id="wpgmap_latlng" name="wpgmap_latlng" value="<?php echo esc_attr($wpgmap_single->wpgmap_latlng); ?>"
|
41 |
type="text"
|
42 |
class="regular-text">
|
@@ -45,7 +45,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
45 |
|
46 |
<tr>
|
47 |
<td>
|
48 |
-
<label for="wpgmap_map_zoom"><b
|
49 |
<input id="wpgmap_map_zoom" name="wpgmap_map_zoom"
|
50 |
value="<?php echo esc_attr($wpgmap_single->wpgmap_map_zoom); ?>" type="text"
|
51 |
class="regular-text">
|
@@ -54,7 +54,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
54 |
|
55 |
<tr>
|
56 |
<td>
|
57 |
-
<label for="wpgmap_map_width"><b
|
58 |
<input id="wpgmap_map_width" name="wpgmap_map_width"
|
59 |
value="<?php echo esc_attr($wpgmap_single->wpgmap_map_width); ?>"
|
60 |
type="text" class="regular-text">
|
@@ -63,7 +63,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
63 |
|
64 |
<tr>
|
65 |
<td>
|
66 |
-
<label for="wpgmap_map_height"><b
|
67 |
<input id="wpgmap_map_height" name="wpgmap_map_height"
|
68 |
value="<?php echo esc_attr($wpgmap_single->wpgmap_map_height); ?>"
|
69 |
type="text" class="regular-text">
|
@@ -72,7 +72,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
72 |
|
73 |
<tr>
|
74 |
<td>
|
75 |
-
<label><b
|
76 |
<select id="wpgmap_map_type" class="regular-text" style="width:25em;">
|
77 |
<option <?php echo $wpgmap_single->wpgmap_map_type == 'ROADMAP' ? 'selected' : ''; ?>>ROADMAP
|
78 |
</option>
|
@@ -89,7 +89,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
89 |
|
90 |
<tr>
|
91 |
<td>
|
92 |
-
<label for="wpgmap_map_address"><b
|
93 |
<textarea id="wpgmap_map_address" style="width:25em;" name="wpgmap_map_address" class="regular-text"
|
94 |
rows="3"><?php echo esc_attr(trim($wpgmap_single->wpgmap_map_address)); ?></textarea>
|
95 |
|
@@ -98,7 +98,8 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
98 |
<label for="wpgmap_show_infowindow"><input type="checkbox" value="1"
|
99 |
name="wpgmap_show_infowindow"
|
100 |
id="wpgmap_show_infowindow" <?php echo ($wpgmap_single->wpgmap_show_infowindow == 1) ? 'checked' : ''; ?>>
|
101 |
-
|
|
|
102 |
</td>
|
103 |
</tr>
|
104 |
|
@@ -106,7 +107,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
106 |
</div>
|
107 |
|
108 |
<div class="wp-gmap-preview">
|
109 |
-
<input id="pac-input" class="controls" type="text" placeholder="Search
|
110 |
<div id="map" style="height: 415px;"></div>
|
111 |
</div>
|
112 |
<script>
|
@@ -126,7 +127,7 @@ list($wpgmap_lat, $wpgmap_lng) = explode(',', esc_html($wpgmap_single->wpgmap_la
|
|
126 |
<div class="media-toolbar-secondary"
|
127 |
style="text-align: right;float: right;margin-top:10px;">
|
128 |
<span class="spinner" style="margin: 0px !important;float:left;"></span>
|
129 |
-
<button class="button button-primary" id="wp-gmap-embed-update"
|
130 |
</div>
|
131 |
</div>
|
132 |
</div>
|
16 |
<table style="width: 100% !important;" class="gmap_properties">
|
17 |
<tr>
|
18 |
<td>
|
19 |
+
<label for="wpgmap_title"><b><?php _e('Map Title','gmap-embed');?></b></label><br/>
|
20 |
<input id="wpgmap_title" name="wpgmap_title" value="<?php echo esc_attr($wpgmap_single->wpgmap_title); ?>"
|
21 |
type="text"
|
22 |
class="regular-text">
|
24 |
|
25 |
<input type="checkbox" value="1" name="wpgmap_show_heading"
|
26 |
id="wpgmap_show_heading" <?php echo ($wpgmap_single->wpgmap_show_heading == 1) ? 'checked' : ''; ?>>
|
27 |
+
<label for="wpgmap_show_heading"><?php _e('Show as map title','gmap-embed');?></label>
|
28 |
</td>
|
29 |
</tr>
|
30 |
<tr>
|
31 |
<td>
|
32 |
+
<label for="wpgmap_heading_class"><b><?php _e('Heading Custom Class','gmap-embed');?></b></label><br/>
|
33 |
<input id="wpgmap_heading_class" name="wpgmap_heading_class" value="<?php echo $wpgmap_single->wpgmap_heading_class;?>" type="text"
|
34 |
class="regular-text">
|
35 |
</td>
|
36 |
</tr>
|
37 |
<tr>
|
38 |
<td>
|
39 |
+
<label for="wpgmap_latlng"><b><?php _e('Latitude, Longitude','gmap-embed');?></b></label><br/>
|
40 |
<input id="wpgmap_latlng" name="wpgmap_latlng" value="<?php echo esc_attr($wpgmap_single->wpgmap_latlng); ?>"
|
41 |
type="text"
|
42 |
class="regular-text">
|
45 |
|
46 |
<tr>
|
47 |
<td>
|
48 |
+
<label for="wpgmap_map_zoom"><b><?php _e('Zoom','gmap-embed');?></b></label><br/>
|
49 |
<input id="wpgmap_map_zoom" name="wpgmap_map_zoom"
|
50 |
value="<?php echo esc_attr($wpgmap_single->wpgmap_map_zoom); ?>" type="text"
|
51 |
class="regular-text">
|
54 |
|
55 |
<tr>
|
56 |
<td>
|
57 |
+
<label for="wpgmap_map_width"><b><?php _e('Width (%)','gmap-embed');?></b></label><br/>
|
58 |
<input id="wpgmap_map_width" name="wpgmap_map_width"
|
59 |
value="<?php echo esc_attr($wpgmap_single->wpgmap_map_width); ?>"
|
60 |
type="text" class="regular-text">
|
63 |
|
64 |
<tr>
|
65 |
<td>
|
66 |
+
<label for="wpgmap_map_height"><b><?php _e('Height (px)','gmap-embed');?></b></label><br/>
|
67 |
<input id="wpgmap_map_height" name="wpgmap_map_height"
|
68 |
value="<?php echo esc_attr($wpgmap_single->wpgmap_map_height); ?>"
|
69 |
type="text" class="regular-text">
|
72 |
|
73 |
<tr>
|
74 |
<td>
|
75 |
+
<label><b><?php _e('Map Type','gmap-embed');?></b></label><br/>
|
76 |
<select id="wpgmap_map_type" class="regular-text" style="width:25em;">
|
77 |
<option <?php echo $wpgmap_single->wpgmap_map_type == 'ROADMAP' ? 'selected' : ''; ?>>ROADMAP
|
78 |
</option>
|
89 |
|
90 |
<tr>
|
91 |
<td>
|
92 |
+
<label for="wpgmap_map_address"><b><?php _e('Location Address','gmap-embed');?></b></label><br/>
|
93 |
<textarea id="wpgmap_map_address" style="width:25em;" name="wpgmap_map_address" class="regular-text"
|
94 |
rows="3"><?php echo esc_attr(trim($wpgmap_single->wpgmap_map_address)); ?></textarea>
|
95 |
|
98 |
<label for="wpgmap_show_infowindow"><input type="checkbox" value="1"
|
99 |
name="wpgmap_show_infowindow"
|
100 |
id="wpgmap_show_infowindow" <?php echo ($wpgmap_single->wpgmap_show_infowindow == 1) ? 'checked' : ''; ?>>
|
101 |
+
<?php _e('Show in marker infowindow','gmap-embed');?>
|
102 |
+
</label>
|
103 |
</td>
|
104 |
</tr>
|
105 |
|
107 |
</div>
|
108 |
|
109 |
<div class="wp-gmap-preview">
|
110 |
+
<input id="pac-input" class="controls" type="text" placeholder="<?php _e('Search by Address, Zip Code','gmap-embed');?>"/>
|
111 |
<div id="map" style="height: 415px;"></div>
|
112 |
</div>
|
113 |
<script>
|
127 |
<div class="media-toolbar-secondary"
|
128 |
style="text-align: right;float: right;margin-top:10px;">
|
129 |
<span class="spinner" style="margin: 0px !important;float:left;"></span>
|
130 |
+
<button class="button button-primary" id="wp-gmap-embed-update"><?php _e('Update','gmap-embed');?></button>
|
131 |
</div>
|
132 |
</div>
|
133 |
</div>
|
includes/wpgmap_settings.php
CHANGED
@@ -5,15 +5,15 @@ if (!defined('ABSPATH')) exit;
|
|
5 |
<!-- to save api key-->
|
6 |
<div class="wpgmapembed_get_api_key">
|
7 |
<div class="error">
|
8 |
-
<p style="font-size:17px;"><strong
|
9 |
<form method="post" action="<?php echo admin_url(); ?>admin.php?page=wpgmapembed&message=3">
|
10 |
-
<p
|
11 |
value="<?php echo esc_html(get_option('wpgmap_api_key')); ?>" size="45">
|
12 |
-
<button class="wd-btn wd-btn-primary button media-button button-primary"
|
13 |
|
14 |
<a target="_blank"
|
15 |
href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend,places_backend,geolocation,geocoding_backend&keyType=CLIENT_SIDE&reusekey=true"
|
16 |
-
class="button media-button button-default button-large"
|
17 |
</p>
|
18 |
</form>
|
19 |
|
5 |
<!-- to save api key-->
|
6 |
<div class="wpgmapembed_get_api_key">
|
7 |
<div class="error">
|
8 |
+
<p style="font-size:17px;"><strong><?php _e('Notice: The plugin requires following API key.','gmap-embed');?></strong></p>
|
9 |
<form method="post" action="<?php echo admin_url(); ?>admin.php?page=wpgmapembed&message=3">
|
10 |
+
<p><?php _e('Enter API Key','gmap-embed');?> <input type="text" name="wpgmapembed_key"
|
11 |
value="<?php echo esc_html(get_option('wpgmap_api_key')); ?>" size="45">
|
12 |
+
<button class="wd-btn wd-btn-primary button media-button button-primary"><?php _e('Save','gmap-embed');?></button>
|
13 |
|
14 |
<a target="_blank"
|
15 |
href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend,places_backend,geolocation,geocoding_backend&keyType=CLIENT_SIDE&reusekey=true"
|
16 |
+
class="button media-button button-default button-large"><?php _e('GET FREE API KEY','gmap-embed');?></a>
|
17 |
</p>
|
18 |
</form>
|
19 |
|
languages/default.mo
ADDED
Binary file
|
languages/default.po
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: gmap-embd\n"
|
4 |
+
"POT-Creation-Date: 2016-11-17 03:34+0600\n"
|
5 |
+
"PO-Revision-Date: 2016-11-17 03:36+0600\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"Language: bn\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.11\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
"X-Poedit-SearchPath-1: includes\n"
|
18 |
+
|
19 |
+
#: includes/gmap.php:31
|
20 |
+
msgid "All Maps"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: includes/gmap.php:36
|
24 |
+
msgid "Create New Map"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: includes/gmap.php:41
|
28 |
+
msgid "Settings"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: includes/gmap.php:45
|
32 |
+
msgid "Need Help ?"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: includes/gmap.php:62
|
36 |
+
msgid "Map created Successfully."
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: includes/gmap.php:65
|
40 |
+
msgid "Updated Map Successfully."
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: includes/gmap.php:68
|
44 |
+
msgid "Settings updated Successfully."
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: includes/gmap.php:71
|
48 |
+
msgid "Deleted Map Successfully."
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: srm_gmap_embed.php:76
|
52 |
+
msgid "Add new Map"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: srm_gmap_embed.php:76
|
56 |
+
msgid "Add New"
|
57 |
+
msgstr ""
|
languages/gmap-embed-bn_BD.mo
ADDED
Binary file
|
languages/gmap-embed-bn_BD.po
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: gmap-embd\n"
|
4 |
+
"POT-Creation-Date: 2016-11-17 22:14+0600\n"
|
5 |
+
"PO-Revision-Date: 2016-11-17 22:16+0600\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"Language: bn\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.11\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
"X-Poedit-SearchPath-1: includes\n"
|
18 |
+
|
19 |
+
#: includes/gmap.php:31
|
20 |
+
msgid "All Maps"
|
21 |
+
msgstr "সকল ম্যাপ"
|
22 |
+
|
23 |
+
#: includes/gmap.php:36
|
24 |
+
msgid "Create New Map"
|
25 |
+
msgstr "নতুন ম্যাপ"
|
26 |
+
|
27 |
+
#: includes/gmap.php:41
|
28 |
+
msgid "Settings"
|
29 |
+
msgstr "সেটিংস"
|
30 |
+
|
31 |
+
#: includes/gmap.php:45
|
32 |
+
msgid "Need Help ?"
|
33 |
+
msgstr "সাহায্য প্রয়োজন?"
|
34 |
+
|
35 |
+
#: includes/gmap.php:62
|
36 |
+
msgid "Map created Successfully."
|
37 |
+
msgstr "সফলভাবে ম্যাপ তৈরি হয়েছে"
|
38 |
+
|
39 |
+
#: includes/gmap.php:65
|
40 |
+
msgid "Updated Map Successfully."
|
41 |
+
msgstr "সফলভাবে সেটিংস পরিবর্তিত হয়েছে"
|
42 |
+
|
43 |
+
#: includes/gmap.php:68
|
44 |
+
msgid "Settings updated Successfully."
|
45 |
+
msgstr " ম্যাপ পরিবর্তিত হয়েছে"
|
46 |
+
|
47 |
+
#: includes/gmap.php:71
|
48 |
+
msgid "Deleted Map Successfully."
|
49 |
+
msgstr "সফলভাবে ম্যাপ মুছে দেওয়া হয়েছে"
|
50 |
+
|
51 |
+
#: includes/wpgmap_create.php:13 includes/wpgmap_edit.php:19
|
52 |
+
msgid "Map Title"
|
53 |
+
msgstr "ম্যাপ শিরোনাম"
|
54 |
+
|
55 |
+
#: includes/wpgmap_create.php:20 includes/wpgmap_edit.php:27
|
56 |
+
msgid "Show as map title"
|
57 |
+
msgstr "শিরোনাম হিসাবে দেখান"
|
58 |
+
|
59 |
+
#: includes/wpgmap_create.php:25 includes/wpgmap_edit.php:39
|
60 |
+
msgid "Latitude, Longitude"
|
61 |
+
msgstr "অক্ষাংশ, দ্রাঘিমাংশ"
|
62 |
+
|
63 |
+
#: includes/wpgmap_create.php:32 includes/wpgmap_edit.php:32
|
64 |
+
msgid "Heading Custom Class"
|
65 |
+
msgstr "শিরোনাম কাস্টম ক্লাস"
|
66 |
+
|
67 |
+
#: includes/wpgmap_create.php:40 includes/wpgmap_edit.php:48
|
68 |
+
msgid "Zoom"
|
69 |
+
msgstr "জুম্"
|
70 |
+
|
71 |
+
#: includes/wpgmap_create.php:48 includes/wpgmap_edit.php:57
|
72 |
+
msgid "Width (%)"
|
73 |
+
msgstr "প্রস্থ(%)"
|
74 |
+
|
75 |
+
#: includes/wpgmap_create.php:56 includes/wpgmap_edit.php:66
|
76 |
+
msgid "Height (px)"
|
77 |
+
msgstr "উচ্চতা(%)"
|
78 |
+
|
79 |
+
#: includes/wpgmap_create.php:64 includes/wpgmap_edit.php:75
|
80 |
+
msgid "Map Type"
|
81 |
+
msgstr "ম্যাপের ধরণ"
|
82 |
+
|
83 |
+
#: includes/wpgmap_create.php:76 includes/wpgmap_edit.php:92
|
84 |
+
msgid "Location Address"
|
85 |
+
msgstr "ঠিকানা"
|
86 |
+
|
87 |
+
#: includes/wpgmap_create.php:85 includes/wpgmap_edit.php:101
|
88 |
+
msgid "Show in marker infowindow"
|
89 |
+
msgstr "মার্কার তথ্য উইন্ডোতে দেখান"
|
90 |
+
|
91 |
+
#: includes/wpgmap_create.php:95 includes/wpgmap_edit.php:110
|
92 |
+
msgid "Search by Address, Zip Code"
|
93 |
+
msgstr "ঠিকানা, জিপ কোড দ্বারা অনুসন্ধান করুন"
|
94 |
+
|
95 |
+
#: includes/wpgmap_create.php:108 includes/wpgmap_settings.php:12
|
96 |
+
msgid "Save"
|
97 |
+
msgstr "সেভ করুন"
|
98 |
+
|
99 |
+
#: includes/wpgmap_edit.php:130
|
100 |
+
msgid "Update"
|
101 |
+
msgstr "হালনাগাদ করুন"
|
102 |
+
|
103 |
+
#: includes/wpgmap_settings.php:8
|
104 |
+
msgid "Notice: The plugin requires following API key."
|
105 |
+
msgstr "লক্ষ্য করুন: প্লাগইনটির জন্য API KEY আবশ্যক"
|
106 |
+
|
107 |
+
#: includes/wpgmap_settings.php:10
|
108 |
+
msgid "Enter API Key"
|
109 |
+
msgstr "API KEY দিন"
|
110 |
+
|
111 |
+
#: includes/wpgmap_settings.php:16
|
112 |
+
msgid "GET FREE API KEY"
|
113 |
+
msgstr "আপনার API KEY ফ্রিতে নিন"
|
114 |
+
|
115 |
+
#: srm_gmap_embed.php:76
|
116 |
+
msgid "Add new Map"
|
117 |
+
msgstr "নতুন ম্যাপ যোগ করুন"
|
118 |
+
|
119 |
+
#: srm_gmap_embed.php:76
|
120 |
+
msgid "Add New"
|
121 |
+
msgstr "নতুন আরেকটি"
|
122 |
+
|
123 |
+
#: srm_gmap_embed.php:198
|
124 |
+
msgid "Change"
|
125 |
+
msgstr "পরিবর্তন করুন"
|
languages/gmap-embed-de_DE.mo
ADDED
Binary file
|
languages/gmap-embed-de_DE.po
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: gmap-embd\n"
|
4 |
+
"POT-Creation-Date: 2016-11-17 22:14+0600\n"
|
5 |
+
"PO-Revision-Date: 2016-11-17 22:15+0600\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"Language: bn\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.11\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
"X-Poedit-SearchPath-1: includes\n"
|
18 |
+
|
19 |
+
#: includes/gmap.php:31
|
20 |
+
msgid "All Maps"
|
21 |
+
msgstr "Alle Karten"
|
22 |
+
|
23 |
+
#: includes/gmap.php:36
|
24 |
+
msgid "Create New Map"
|
25 |
+
msgstr "Neue Map erstellen"
|
26 |
+
|
27 |
+
#: includes/gmap.php:41
|
28 |
+
msgid "Settings"
|
29 |
+
msgstr "Einstellungen"
|
30 |
+
|
31 |
+
#: includes/gmap.php:45
|
32 |
+
msgid "Need Help ?"
|
33 |
+
msgstr "Brauche Hilfe ?"
|
34 |
+
|
35 |
+
#: includes/gmap.php:62
|
36 |
+
msgid "Map created Successfully."
|
37 |
+
msgstr "Karte wurde erfolgreich erstellt."
|
38 |
+
|
39 |
+
#: includes/gmap.php:65
|
40 |
+
msgid "Updated Map Successfully."
|
41 |
+
msgstr "Aktualisierte Karte erfolgreich."
|
42 |
+
|
43 |
+
#: includes/gmap.php:68
|
44 |
+
msgid "Settings updated Successfully."
|
45 |
+
msgstr "Einstellungen wurden erfolgreich aktualisiert."
|
46 |
+
|
47 |
+
#: includes/gmap.php:71
|
48 |
+
msgid "Deleted Map Successfully."
|
49 |
+
msgstr "Karte erfolgreich gelöscht."
|
50 |
+
|
51 |
+
#: includes/wpgmap_create.php:13 includes/wpgmap_edit.php:19
|
52 |
+
msgid "Map Title"
|
53 |
+
msgstr "Kartenbezeichnung"
|
54 |
+
|
55 |
+
#: includes/wpgmap_create.php:20 includes/wpgmap_edit.php:27
|
56 |
+
msgid "Show as map title"
|
57 |
+
msgstr "Als Kartenbezeichnung anzeigen"
|
58 |
+
|
59 |
+
#: includes/wpgmap_create.php:25 includes/wpgmap_edit.php:39
|
60 |
+
msgid "Latitude, Longitude"
|
61 |
+
msgstr "Breitengrad, Längengrad"
|
62 |
+
|
63 |
+
#: includes/wpgmap_create.php:32 includes/wpgmap_edit.php:32
|
64 |
+
msgid "Heading Custom Class"
|
65 |
+
msgstr "Überschrift Benutzerdefinierte Klasse"
|
66 |
+
|
67 |
+
#: includes/wpgmap_create.php:40 includes/wpgmap_edit.php:48
|
68 |
+
msgid "Zoom"
|
69 |
+
msgstr "Zoom"
|
70 |
+
|
71 |
+
#: includes/wpgmap_create.php:48 includes/wpgmap_edit.php:57
|
72 |
+
msgid "Width (%)"
|
73 |
+
msgstr "Breite (%)"
|
74 |
+
|
75 |
+
#: includes/wpgmap_create.php:56 includes/wpgmap_edit.php:66
|
76 |
+
msgid "Height (px)"
|
77 |
+
msgstr "Höhe (%)"
|
78 |
+
|
79 |
+
#: includes/wpgmap_create.php:64 includes/wpgmap_edit.php:75
|
80 |
+
msgid "Map Type"
|
81 |
+
msgstr "Kartentyp"
|
82 |
+
|
83 |
+
#: includes/wpgmap_create.php:76 includes/wpgmap_edit.php:92
|
84 |
+
msgid "Location Address"
|
85 |
+
msgstr "Anschrift"
|
86 |
+
|
87 |
+
#: includes/wpgmap_create.php:85 includes/wpgmap_edit.php:101
|
88 |
+
msgid "Show in marker infowindow"
|
89 |
+
msgstr "Anzeigen in Marker infowindow"
|
90 |
+
|
91 |
+
#: includes/wpgmap_create.php:95 includes/wpgmap_edit.php:110
|
92 |
+
msgid "Search by Address, Zip Code"
|
93 |
+
msgstr "Suche nach Adresse, Postleitzahl"
|
94 |
+
|
95 |
+
#: includes/wpgmap_create.php:108 includes/wpgmap_settings.php:12
|
96 |
+
msgid "Save"
|
97 |
+
msgstr "sparen"
|
98 |
+
|
99 |
+
#: includes/wpgmap_edit.php:130
|
100 |
+
msgid "Update"
|
101 |
+
msgstr "Aktualisieren"
|
102 |
+
|
103 |
+
#: includes/wpgmap_settings.php:8
|
104 |
+
msgid "Notice: The plugin requires following API key."
|
105 |
+
msgstr "Hinweis: Das Plugin benötigt folgende API-Taste."
|
106 |
+
|
107 |
+
#: includes/wpgmap_settings.php:10
|
108 |
+
msgid "Enter API Key"
|
109 |
+
msgstr "Geben Sie den API-Schlüssel ein"
|
110 |
+
|
111 |
+
#: includes/wpgmap_settings.php:16
|
112 |
+
msgid "GET FREE API KEY"
|
113 |
+
msgstr "ERHALTEN SIE FREIE API-SCHLÜSSEL"
|
114 |
+
|
115 |
+
#: srm_gmap_embed.php:76
|
116 |
+
msgid "Add new Map"
|
117 |
+
msgstr "Neue Karte hinzufügen"
|
118 |
+
|
119 |
+
#: srm_gmap_embed.php:76
|
120 |
+
msgid "Add New"
|
121 |
+
msgstr "Neue hinzufügen"
|
122 |
+
|
123 |
+
#: srm_gmap_embed.php:198
|
124 |
+
msgid "Change"
|
125 |
+
msgstr "Veränderung"
|
readme.txt
CHANGED
@@ -4,8 +4,9 @@ Donate link: http://www.srmilon.com/
|
|
4 |
Tags: Google Map, Google Map Embed, gmap, google map embed, wp map, wp map embed, map embed, best google maps, best maps, bing maps, cross browser, custom google map, custom google maps, map direction, easy map, geo, geocoder, gmaps, google earth, google map plugin, google map shortcode, google map widget, google maps v3, googlemaps, gprs, gps, gpx, kml, latitude, Longitude, location, loaction by address, map, map directions, map markers, map plugin, map shortcode, map styles, maps google, post map, map point, polygons, roads, routes, store locator, street view, wp google map, contact page map, google map wordpress, google maps wordpress, google maps for wordpress, simple google map, simple google map plugin, wp google maps,maps
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 4.6.1
|
7 |
-
Version: 1.0
|
8 |
-
Stable tag: 1.0
|
|
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -125,4 +126,7 @@ See the [Video](https://www.youtube.com/watch?v=zTU7AoguDns) ,hope you will get
|
|
125 |
|
126 |
|
127 |
= 1.0.9 =
|
128 |
-
* https or SSl related problem fixing
|
|
|
|
|
|
4 |
Tags: Google Map, Google Map Embed, gmap, google map embed, wp map, wp map embed, map embed, best google maps, best maps, bing maps, cross browser, custom google map, custom google maps, map direction, easy map, geo, geocoder, gmaps, google earth, google map plugin, google map shortcode, google map widget, google maps v3, googlemaps, gprs, gps, gpx, kml, latitude, Longitude, location, loaction by address, map, map directions, map markers, map plugin, map shortcode, map styles, maps google, post map, map point, polygons, roads, routes, store locator, street view, wp google map, contact page map, google map wordpress, google maps wordpress, google maps for wordpress, simple google map, simple google map plugin, wp google maps,maps
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 4.6.1
|
7 |
+
Version: 1.1.0
|
8 |
+
Stable tag: 1.1.0
|
9 |
+
Text Domain: gmap-embed
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
126 |
|
127 |
|
128 |
= 1.0.9 =
|
129 |
+
* https or SSl related problem fixing
|
130 |
+
|
131 |
+
= 1.1.0 =
|
132 |
+
* Initial Translation support for English(en), Bengali(bn) and German(de)
|
srm_gmap_embed.php
CHANGED
@@ -4,13 +4,14 @@
|
|
4 |
Plugin URI: http://www.srmilon.com
|
5 |
Description: The plugin will help to google map Embed in post and pages also in sidebar with widget.
|
6 |
Author: SRMILON
|
|
|
7 |
Author URI: http://www.srmilon.com
|
8 |
-
Version: 1.0
|
9 |
*/
|
10 |
|
11 |
-
if (
|
12 |
-
|
13 |
-
if (!class_exists('srm_gmap_embed_main')){
|
14 |
|
15 |
class srm_gmap_embed_main
|
16 |
{
|
@@ -25,7 +26,7 @@ if (!class_exists('srm_gmap_embed_main')){
|
|
25 |
function __construct()
|
26 |
{
|
27 |
$this->wpgmap_api_key = get_option('wpgmap_api_key');
|
28 |
-
add_action(
|
29 |
add_action('wp_enqueue_scripts', array($this, 'gmap_enqueue_scripts'));
|
30 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_gmap_scripts'));
|
31 |
add_action('admin_menu', array($this, 'gmap_create_menu'));
|
@@ -48,14 +49,14 @@ if (!class_exists('srm_gmap_embed_main')){
|
|
48 |
public function gmap_enqueue_scripts()
|
49 |
{
|
50 |
//including map library
|
51 |
-
wp_enqueue_script('srm_gmap_api', 'https://maps.googleapis.com/maps/api/js?key='
|
52 |
}
|
53 |
|
54 |
function enqueue_admin_gmap_scripts()
|
55 |
{
|
56 |
global $pagenow;
|
57 |
if ($pagenow == 'post.php' || $pagenow == 'post-new.php' || @$_GET['page'] == 'wpgmapembed') {
|
58 |
-
wp_enqueue_script('wp-gmap-api', 'https://maps.google.com/maps/api/js?key='
|
59 |
wp_enqueue_script('wp-gmap-custom-js', plugins_url('assets/js/custom.js', __FILE__), array('wp-gmap-api'), '20161019', false);
|
60 |
wp_enqueue_style('wp-gmap-embed-css', plugins_url('assets/css/wp-gmap-style.css', __FILE__));
|
61 |
}
|
@@ -70,9 +71,9 @@ if (!class_exists('srm_gmap_embed_main')){
|
|
70 |
|
71 |
//create new top-level menu
|
72 |
add_menu_page($this->plugin_name, $this->plugin_name, 'administrator', 'wpgmapembed', array($this, 'srm_gmap_main'), 'dashicons-location');
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
}
|
77 |
|
78 |
public function gmap_register_fields()
|
@@ -188,13 +189,13 @@ if (!class_exists('srm_gmap_embed_main')){
|
|
188 |
' . $title . '
|
189 |
</div>
|
190 |
<div class="wp-gmap-single-shortcode">
|
191 |
-
<input class="wpgmap-shortcode regular-text" type="text" value="'.esc_attr('[gmap-embed id="' . get_the_ID() . '"]').'"
|
192 |
onclick="this.select()"/>
|
193 |
</div>
|
194 |
</div>
|
195 |
<div class="wp-gmap-single-action">
|
196 |
<a href="?page=wpgmapembed&tag=edit&id=' . get_the_ID() . '" class="button media-button button-primary button-large wpgmap-edit" data-id="' . get_the_ID() . '">
|
197 |
-
Change
|
198 |
</a>
|
199 |
<button type="button"
|
200 |
class="button media-button button-danger button-large wpgmap-insert-delete" data-id="' . get_the_ID() . '" style="background-color: red;color: white;opacity:0.7;">
|
@@ -305,9 +306,10 @@ if (!class_exists('srm_gmap_embed_main')){
|
|
305 |
* Works on when plugin is activated successfully
|
306 |
*/
|
307 |
|
308 |
-
function wpgmap_do_after_activation(
|
|
|
309 |
// do stuff
|
310 |
-
if($plugin=='gmap-embed/srm_gmap_embed.php') {
|
311 |
wp_redirect(admin_url('admin.php?page=wpgmapembed'));
|
312 |
exit;
|
313 |
}
|
@@ -324,4 +326,6 @@ require_once plugin_dir_path(__FILE__) . '/includes/shortcodes.php';
|
|
324 |
|
325 |
if ($pagenow == 'post.php' || $pagenow == 'post-new.php') {
|
326 |
require_once plugin_dir_path(__FILE__) . '/includes/wpgmap_popup_content.php';
|
327 |
-
}
|
|
|
|
4 |
Plugin URI: http://www.srmilon.com
|
5 |
Description: The plugin will help to google map Embed in post and pages also in sidebar with widget.
|
6 |
Author: SRMILON
|
7 |
+
Text Domain: gmap-embed
|
8 |
Author URI: http://www.srmilon.com
|
9 |
+
Version: 1.1.0
|
10 |
*/
|
11 |
|
12 |
+
if (!defined('ABSPATH')) exit;
|
13 |
+
load_plugin_textdomain('gmap-embed', false, dirname(plugin_basename(__FILE__, '/languages/')));
|
14 |
+
if (!class_exists('srm_gmap_embed_main')) {
|
15 |
|
16 |
class srm_gmap_embed_main
|
17 |
{
|
26 |
function __construct()
|
27 |
{
|
28 |
$this->wpgmap_api_key = get_option('wpgmap_api_key');
|
29 |
+
add_action('activated_plugin', array($this, 'wpgmap_do_after_activation'), 10, 2);
|
30 |
add_action('wp_enqueue_scripts', array($this, 'gmap_enqueue_scripts'));
|
31 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_gmap_scripts'));
|
32 |
add_action('admin_menu', array($this, 'gmap_create_menu'));
|
49 |
public function gmap_enqueue_scripts()
|
50 |
{
|
51 |
//including map library
|
52 |
+
wp_enqueue_script('srm_gmap_api', 'https://maps.googleapis.com/maps/api/js?key=' . $this->wpgmap_api_key . '&libraries=places', array('jquery'));
|
53 |
}
|
54 |
|
55 |
function enqueue_admin_gmap_scripts()
|
56 |
{
|
57 |
global $pagenow;
|
58 |
if ($pagenow == 'post.php' || $pagenow == 'post-new.php' || @$_GET['page'] == 'wpgmapembed') {
|
59 |
+
wp_enqueue_script('wp-gmap-api', 'https://maps.google.com/maps/api/js?key=' . $this->wpgmap_api_key . '&libraries=places', array('jquery'), '20161019', true);
|
60 |
wp_enqueue_script('wp-gmap-custom-js', plugins_url('assets/js/custom.js', __FILE__), array('wp-gmap-api'), '20161019', false);
|
61 |
wp_enqueue_style('wp-gmap-embed-css', plugins_url('assets/css/wp-gmap-style.css', __FILE__));
|
62 |
}
|
71 |
|
72 |
//create new top-level menu
|
73 |
add_menu_page($this->plugin_name, $this->plugin_name, 'administrator', 'wpgmapembed', array($this, 'srm_gmap_main'), 'dashicons-location');
|
74 |
+
|
75 |
+
//to create sub menu
|
76 |
+
add_submenu_page('wpgmapembed', __("Add new Map","gmap-embed"), __("Add New", "gmap-embed"), 'administrator', 'wpgmapembed&tag=new', array($this, 'srm_gmap_new'), 'dashicons-location');
|
77 |
}
|
78 |
|
79 |
public function gmap_register_fields()
|
189 |
' . $title . '
|
190 |
</div>
|
191 |
<div class="wp-gmap-single-shortcode">
|
192 |
+
<input class="wpgmap-shortcode regular-text" type="text" value="' . esc_attr('[gmap-embed id="' . get_the_ID() . '"]') . '"
|
193 |
onclick="this.select()"/>
|
194 |
</div>
|
195 |
</div>
|
196 |
<div class="wp-gmap-single-action">
|
197 |
<a href="?page=wpgmapembed&tag=edit&id=' . get_the_ID() . '" class="button media-button button-primary button-large wpgmap-edit" data-id="' . get_the_ID() . '">
|
198 |
+
'.__('Change','gmap-embed').'
|
199 |
</a>
|
200 |
<button type="button"
|
201 |
class="button media-button button-danger button-large wpgmap-insert-delete" data-id="' . get_the_ID() . '" style="background-color: red;color: white;opacity:0.7;">
|
306 |
* Works on when plugin is activated successfully
|
307 |
*/
|
308 |
|
309 |
+
function wpgmap_do_after_activation($plugin, $network_activation)
|
310 |
+
{
|
311 |
// do stuff
|
312 |
+
if ($plugin == 'gmap-embed/srm_gmap_embed.php') {
|
313 |
wp_redirect(admin_url('admin.php?page=wpgmapembed'));
|
314 |
exit;
|
315 |
}
|
326 |
|
327 |
if ($pagenow == 'post.php' || $pagenow == 'post-new.php') {
|
328 |
require_once plugin_dir_path(__FILE__) . '/includes/wpgmap_popup_content.php';
|
329 |
+
}
|
330 |
+
|
331 |
+
load_plugin_textdomain('gmap-embed', false, dirname(plugin_basename(__FILE__)) . '/languages');
|