Version Description
- 2015/03/02
- JS rewrites
- few small bugs fixed
Download this release
Release Info
| Developer | WebFactory |
| Plugin | |
| Version | 2.30 |
| Comparing to | |
| See all releases | |
Code changes from version 2.25 to 2.30
- css/gmw-admin.css +1 -1
- css/gmw.css +1 -1
- gmw-tracking.php +3 -3
- gmw-widget.php +2 -2
- google-maps-widget.php +19 -23
- js/gmw-admin.js +6 -6
- lang/google-maps-widget.pot +41 -8
- readme.txt +6 -1
css/gmw-admin.css
CHANGED
|
@@ -129,7 +129,7 @@ option.promo {
|
|
| 129 |
}
|
| 130 |
|
| 131 |
|
| 132 |
-
#gmw-info
|
| 133 |
margin: 25px 0 5px 0;
|
| 134 |
text-transform: uppercase;
|
| 135 |
font-weight: bold;
|
| 129 |
}
|
| 130 |
|
| 131 |
|
| 132 |
+
#gmw-info h4 {
|
| 133 |
margin: 25px 0 5px 0;
|
| 134 |
text-transform: uppercase;
|
| 135 |
font-weight: bold;
|
css/gmw.css
CHANGED
|
@@ -247,4 +247,4 @@
|
|
| 247 |
/*
|
| 248 |
IE7 and IE8. This style is not applied to IE9.
|
| 249 |
*/
|
| 250 |
-
/*.gmw-noimage-rounded .cboxIE #colorbox {} */
|
| 247 |
/*
|
| 248 |
IE7 and IE8. This style is not applied to IE9.
|
| 249 |
*/
|
| 250 |
+
/*.gmw-noimage-rounded .cboxIE #colorbox {} */
|
gmw-tracking.php
CHANGED
|
@@ -85,7 +85,7 @@ class GMW_tracking {
|
|
| 85 |
$optout_url = add_query_arg('gmw_tracking', 'opt_out');
|
| 86 |
|
| 87 |
echo '<div class="updated"><p>';
|
| 88 |
-
echo __(
|
| 89 |
echo '<br /><a href="' . esc_url($optin_url) . '" style="vertical-align: baseline;" class="button-primary">' . __('Allow', 'google-maps-widget') . '</a>';
|
| 90 |
echo ' <a href="' . esc_url($optout_url) . '" class="">' . __('Do not allow tracking', 'google-maps-widget') . '</a>';
|
| 91 |
echo '</p></div>';
|
|
@@ -110,7 +110,7 @@ class GMW_tracking {
|
|
| 110 |
'redirection' => 3,
|
| 111 |
'httpversion' => '1.0',
|
| 112 |
'body' => $data,
|
| 113 |
-
'user-agent' => 'GMW/' .
|
| 114 |
|
| 115 |
$options['last_tracking'] = current_time('timestamp');
|
| 116 |
update_option(GMW_OPTIONS, $options);
|
|
@@ -130,7 +130,7 @@ class GMW_tracking {
|
|
| 130 |
$data['admin_email'] = get_bloginfo('admin_email');
|
| 131 |
}
|
| 132 |
$data['wp_version'] = get_bloginfo('version');
|
| 133 |
-
$data['gmw_version'] =
|
| 134 |
$data['gmw_first_version'] = $options['first_version'];
|
| 135 |
$data['gmw_first_install'] = $options['first_install'];
|
| 136 |
$data['gmw_activated'] = GMW::is_activated();
|
| 85 |
$optout_url = add_query_arg('gmw_tracking', 'opt_out');
|
| 86 |
|
| 87 |
echo '<div class="updated"><p>';
|
| 88 |
+
echo __('Please help us improve <strong>Google Maps Widget</strong> by allowing us to track anonymous usage data. Absolutely <strong>no sensitive data is tracked</strong> (<a href="http://www.googlemapswidget.com/plugin-tracking-info/" target="_blank">complete disclosure & details of our tracking policy</a>).', 'google-maps-widget');
|
| 89 |
echo '<br /><a href="' . esc_url($optin_url) . '" style="vertical-align: baseline;" class="button-primary">' . __('Allow', 'google-maps-widget') . '</a>';
|
| 90 |
echo ' <a href="' . esc_url($optout_url) . '" class="">' . __('Do not allow tracking', 'google-maps-widget') . '</a>';
|
| 91 |
echo '</p></div>';
|
| 110 |
'redirection' => 3,
|
| 111 |
'httpversion' => '1.0',
|
| 112 |
'body' => $data,
|
| 113 |
+
'user-agent' => 'GMW/' . GMW::$version));
|
| 114 |
|
| 115 |
$options['last_tracking'] = current_time('timestamp');
|
| 116 |
update_option(GMW_OPTIONS, $options);
|
| 130 |
$data['admin_email'] = get_bloginfo('admin_email');
|
| 131 |
}
|
| 132 |
$data['wp_version'] = get_bloginfo('version');
|
| 133 |
+
$data['gmw_version'] = GMW::$version;
|
| 134 |
$data['gmw_first_version'] = $options['first_version'];
|
| 135 |
$data['gmw_first_install'] = $options['first_install'];
|
| 136 |
$data['gmw_activated'] = GMW::is_activated();
|
gmw-widget.php
CHANGED
|
@@ -296,7 +296,7 @@ class GoogleMapsWidget extends WP_Widget {
|
|
| 296 |
$instance['lightbox_header'] = trim($new_instance['lightbox_header']);
|
| 297 |
$instance['lightbox_footer'] = trim($new_instance['lightbox_footer']);
|
| 298 |
$instance['lightbox_skin'] = $new_instance['lightbox_skin'];
|
| 299 |
-
$instance['core_ver'] =
|
| 300 |
|
| 301 |
return $instance;
|
| 302 |
} // update
|
|
@@ -399,7 +399,7 @@ class GoogleMapsWidget extends WP_Widget {
|
|
| 399 |
$tmp .= '</p>';
|
| 400 |
if (isset($instance['thumb_footer']) && $instance['thumb_footer']) {
|
| 401 |
if ($instance['thumb_footer'] == 'Powered by Google Maps Widget') {
|
| 402 |
-
$tmp .= '<span class="gmw-powered-by">Powered by <a href="http://www.googlemapswidget.com" target="_blank">Google Maps Widget</a></span>';
|
| 403 |
} else {
|
| 404 |
$tmp .= wpautop(do_shortcode($instance['thumb_footer']));
|
| 405 |
}
|
| 296 |
$instance['lightbox_header'] = trim($new_instance['lightbox_header']);
|
| 297 |
$instance['lightbox_footer'] = trim($new_instance['lightbox_footer']);
|
| 298 |
$instance['lightbox_skin'] = $new_instance['lightbox_skin'];
|
| 299 |
+
$instance['core_ver'] = GMW::$version;
|
| 300 |
|
| 301 |
return $instance;
|
| 302 |
} // update
|
| 399 |
$tmp .= '</p>';
|
| 400 |
if (isset($instance['thumb_footer']) && $instance['thumb_footer']) {
|
| 401 |
if ($instance['thumb_footer'] == 'Powered by Google Maps Widget') {
|
| 402 |
+
$tmp .= '<span class="gmw-powered-by">Powered by <a title="Powered by free Google Maps Widget plugin for WordPress" href="http://www.googlemapswidget.com" target="_blank">Google Maps Widget</a></span>';
|
| 403 |
} else {
|
| 404 |
$tmp .= wpautop(do_shortcode($instance['thumb_footer']));
|
| 405 |
}
|
google-maps-widget.php
CHANGED
|
@@ -4,7 +4,7 @@ Plugin Name: Google Maps Widget
|
|
| 4 |
Plugin URI: http://www.googlemapswidget.com/
|
| 5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox. Includes shortcode support and numerous options.
|
| 6 |
Author: Web factory Ltd
|
| 7 |
-
Version: 2.
|
| 8 |
Author URI: http://www.webfactoryltd.com/
|
| 9 |
Text Domain: google-maps-widget
|
| 10 |
Domain Path: lang
|
|
@@ -31,7 +31,6 @@ if (!defined('ABSPATH')) {
|
|
| 31 |
}
|
| 32 |
|
| 33 |
|
| 34 |
-
define('GMW_VER', '2.25');
|
| 35 |
define('GMW_OPTIONS', 'gmw_options');
|
| 36 |
define('GMW_CRON', 'gmw_cron');
|
| 37 |
|
|
@@ -41,6 +40,8 @@ require_once 'gmw-tracking.php';
|
|
| 41 |
|
| 42 |
|
| 43 |
class GMW {
|
|
|
|
|
|
|
| 44 |
// hook everything up
|
| 45 |
static function init() {
|
| 46 |
GMW_tracking::init();
|
|
@@ -128,7 +129,7 @@ class GMW {
|
|
| 128 |
|
| 129 |
// display error message if WP version is too low
|
| 130 |
static function min_version_error() {
|
| 131 |
-
echo '<div class="error"><p>' . sprintf('Google Maps Widget <b>requires WordPress version 3.3</b> or higher to function properly. You are using WordPress version %s. Please <a href="%s">update it</a>.', get_bloginfo('version'), admin_url('update-core.php')) . '</p></div>';
|
| 132 |
} // min_version_error
|
| 133 |
|
| 134 |
|
|
@@ -202,9 +203,9 @@ class GMW {
|
|
| 202 |
// enqueue frontend scripts if necessary
|
| 203 |
static function enqueue_scripts() {
|
| 204 |
if (is_active_widget(false, false, 'googlemapswidget', true)) {
|
| 205 |
-
wp_enqueue_style('gmw', plugins_url('/css/gmw.css', __FILE__), array(),
|
| 206 |
-
wp_enqueue_script('gmw-colorbox', plugins_url('/js/jquery.colorbox.min.js', __FILE__), array('jquery'),
|
| 207 |
-
wp_enqueue_script('gmw', plugins_url('/js/gmw.js', __FILE__), array('jquery'),
|
| 208 |
}
|
| 209 |
} // enqueue_scripts
|
| 210 |
|
|
@@ -216,11 +217,11 @@ class GMW {
|
|
| 216 |
if (self::is_plugin_admin_page() || isset($wp_customize)) {
|
| 217 |
wp_enqueue_script('jquery-ui-tabs');
|
| 218 |
wp_enqueue_script('jquery-ui-dialog');
|
| 219 |
-
wp_enqueue_script('gmw-cookie', plugins_url('js/jquery.cookie.js', __FILE__), array('jquery'),
|
| 220 |
-
wp_enqueue_script('gmw-admin', plugins_url('js/gmw-admin.js', __FILE__), array('jquery'),
|
| 221 |
|
| 222 |
wp_enqueue_style('wp-jquery-ui-dialog');
|
| 223 |
-
wp_enqueue_style('gmw-admin', plugins_url('css/gmw-admin.css', __FILE__), array(),
|
| 224 |
|
| 225 |
$js_localize = array('subscribe_ok' => __('Check your inbox. Email with activation code is on its way.', 'google-maps-widget'),
|
| 226 |
'subscribe_duplicate' => __('You are already subscribed to our list. One activation code is valid for all sites so just use the code you already have.', 'google-maps-widget'),
|
|
@@ -300,27 +301,22 @@ class GMW {
|
|
| 300 |
|
| 301 |
// something's wrong with our server
|
| 302 |
if ($res['response']['code'] != 200 || is_wp_error($res)) {
|
| 303 |
-
|
| 304 |
-
die();
|
| 305 |
}
|
| 306 |
|
| 307 |
if ($res['body'] == 'ok') {
|
| 308 |
-
|
| 309 |
-
die();
|
| 310 |
} elseif ($res['body'] == 'duplicate') {
|
| 311 |
-
|
| 312 |
-
die();
|
| 313 |
} else {
|
| 314 |
-
|
| 315 |
-
echo 'err';
|
| 316 |
-
die();
|
| 317 |
}
|
| 318 |
} // email_subscribe
|
| 319 |
|
| 320 |
|
| 321 |
// check activation code and save if valid
|
| 322 |
static function activate_via_code() {
|
| 323 |
-
$code = trim($
|
| 324 |
|
| 325 |
if (self::validate_activation_code($code)) {
|
| 326 |
$options = get_option(GMW_OPTIONS);
|
|
@@ -328,9 +324,9 @@ class GMW {
|
|
| 328 |
$options['activated'] = true;
|
| 329 |
update_option(GMW_OPTIONS, $options);
|
| 330 |
|
| 331 |
-
|
| 332 |
} else {
|
| 333 |
-
|
| 334 |
}
|
| 335 |
} // email_activate
|
| 336 |
|
|
@@ -431,7 +427,7 @@ class GMW {
|
|
| 431 |
$options = get_option(GMW_OPTIONS);
|
| 432 |
|
| 433 |
if (!isset($options['first_version']) || !isset($options['first_install'])) {
|
| 434 |
-
$options['first_version'] =
|
| 435 |
$options['first_install'] = current_time('timestamp');
|
| 436 |
update_option(GMW_OPTIONS, $options);
|
| 437 |
}
|
|
@@ -444,7 +440,7 @@ class GMW {
|
|
| 444 |
$options = get_option(GMW_OPTIONS);
|
| 445 |
|
| 446 |
if (!isset($options['first_version']) || !isset($options['first_install'])) {
|
| 447 |
-
$options['first_version'] =
|
| 448 |
$options['first_install'] = current_time('timestamp');
|
| 449 |
$options['last_tracking'] = false;
|
| 450 |
update_option(GMW_OPTIONS, $options);
|
| 4 |
Plugin URI: http://www.googlemapswidget.com/
|
| 5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox. Includes shortcode support and numerous options.
|
| 6 |
Author: Web factory Ltd
|
| 7 |
+
Version: 2.30
|
| 8 |
Author URI: http://www.webfactoryltd.com/
|
| 9 |
Text Domain: google-maps-widget
|
| 10 |
Domain Path: lang
|
| 31 |
}
|
| 32 |
|
| 33 |
|
|
|
|
| 34 |
define('GMW_OPTIONS', 'gmw_options');
|
| 35 |
define('GMW_CRON', 'gmw_cron');
|
| 36 |
|
| 40 |
|
| 41 |
|
| 42 |
class GMW {
|
| 43 |
+
static $version = 2.30;
|
| 44 |
+
|
| 45 |
// hook everything up
|
| 46 |
static function init() {
|
| 47 |
GMW_tracking::init();
|
| 129 |
|
| 130 |
// display error message if WP version is too low
|
| 131 |
static function min_version_error() {
|
| 132 |
+
echo '<div class="error"><p>' . sprintf(__('Google Maps Widget <b>requires WordPress version 3.3</b> or higher to function properly. You are using WordPress version %s. Please <a href="%s">update it</a>.', 'google-maps-widget'), get_bloginfo('version'), admin_url('update-core.php')) . '</p></div>';
|
| 133 |
} // min_version_error
|
| 134 |
|
| 135 |
|
| 203 |
// enqueue frontend scripts if necessary
|
| 204 |
static function enqueue_scripts() {
|
| 205 |
if (is_active_widget(false, false, 'googlemapswidget', true)) {
|
| 206 |
+
wp_enqueue_style('gmw', plugins_url('/css/gmw.css', __FILE__), array(), GMW::$version);
|
| 207 |
+
wp_enqueue_script('gmw-colorbox', plugins_url('/js/jquery.colorbox.min.js', __FILE__), array('jquery'), GMW::$version, true);
|
| 208 |
+
wp_enqueue_script('gmw', plugins_url('/js/gmw.js', __FILE__), array('jquery'), GMW::$version, true);
|
| 209 |
}
|
| 210 |
} // enqueue_scripts
|
| 211 |
|
| 217 |
if (self::is_plugin_admin_page() || isset($wp_customize)) {
|
| 218 |
wp_enqueue_script('jquery-ui-tabs');
|
| 219 |
wp_enqueue_script('jquery-ui-dialog');
|
| 220 |
+
wp_enqueue_script('gmw-cookie', plugins_url('js/jquery.cookie.js', __FILE__), array('jquery'), GMW::$version, true);
|
| 221 |
+
wp_enqueue_script('gmw-admin', plugins_url('js/gmw-admin.js', __FILE__), array('jquery'), GMW::$version, true);
|
| 222 |
|
| 223 |
wp_enqueue_style('wp-jquery-ui-dialog');
|
| 224 |
+
wp_enqueue_style('gmw-admin', plugins_url('css/gmw-admin.css', __FILE__), array(), GMW::$version);
|
| 225 |
|
| 226 |
$js_localize = array('subscribe_ok' => __('Check your inbox. Email with activation code is on its way.', 'google-maps-widget'),
|
| 227 |
'subscribe_duplicate' => __('You are already subscribed to our list. One activation code is valid for all sites so just use the code you already have.', 'google-maps-widget'),
|
| 301 |
|
| 302 |
// something's wrong with our server
|
| 303 |
if ($res['response']['code'] != 200 || is_wp_error($res)) {
|
| 304 |
+
wp_send_json_error('unknown');
|
|
|
|
| 305 |
}
|
| 306 |
|
| 307 |
if ($res['body'] == 'ok') {
|
| 308 |
+
wp_send_json_success();
|
|
|
|
| 309 |
} elseif ($res['body'] == 'duplicate') {
|
| 310 |
+
wp_send_json_error('duplicate');
|
|
|
|
| 311 |
} else {
|
| 312 |
+
wp_send_json_error('unknown');
|
|
|
|
|
|
|
| 313 |
}
|
| 314 |
} // email_subscribe
|
| 315 |
|
| 316 |
|
| 317 |
// check activation code and save if valid
|
| 318 |
static function activate_via_code() {
|
| 319 |
+
$code = trim($_POST['code']);
|
| 320 |
|
| 321 |
if (self::validate_activation_code($code)) {
|
| 322 |
$options = get_option(GMW_OPTIONS);
|
| 324 |
$options['activated'] = true;
|
| 325 |
update_option(GMW_OPTIONS, $options);
|
| 326 |
|
| 327 |
+
wp_send_json_success();
|
| 328 |
} else {
|
| 329 |
+
wp_send_json_error();
|
| 330 |
}
|
| 331 |
} // email_activate
|
| 332 |
|
| 427 |
$options = get_option(GMW_OPTIONS);
|
| 428 |
|
| 429 |
if (!isset($options['first_version']) || !isset($options['first_install'])) {
|
| 430 |
+
$options['first_version'] = GMW::$version;
|
| 431 |
$options['first_install'] = current_time('timestamp');
|
| 432 |
update_option(GMW_OPTIONS, $options);
|
| 433 |
}
|
| 440 |
$options = get_option(GMW_OPTIONS);
|
| 441 |
|
| 442 |
if (!isset($options['first_version']) || !isset($options['first_install'])) {
|
| 443 |
+
$options['first_version'] = GMW::$version;
|
| 444 |
$options['first_install'] = current_time('timestamp');
|
| 445 |
$options['last_tracking'] = false;
|
| 446 |
update_option(GMW_OPTIONS, $options);
|
js/gmw-admin.js
CHANGED
|
@@ -105,18 +105,18 @@ jQuery(function($) {
|
|
| 105 |
}
|
| 106 |
|
| 107 |
$.post(ajaxurl, { action: 'gmw_subscribe', 'name': $('#gmw_name').val(), 'email': $('#gmw_email').val()}, function(data) {
|
| 108 |
-
if (data ==
|
| 109 |
$('#gmw_dialog_subscribe').hide();
|
| 110 |
$('#gmw_dialog_activate').show();
|
| 111 |
alert(gmw.subscribe_ok);
|
| 112 |
-
} else if (data == 'duplicate') {
|
| 113 |
$('#gmw_dialog_subscribe').hide();
|
| 114 |
$('#gmw_dialog_activate').show();
|
| 115 |
alert(gmw.subscribe_duplicate);
|
| 116 |
} else {
|
| 117 |
alert(gmw.subscribe_error);
|
| 118 |
}
|
| 119 |
-
});
|
| 120 |
|
| 121 |
return false;
|
| 122 |
});
|
|
@@ -129,8 +129,8 @@ jQuery(function($) {
|
|
| 129 |
$('#gmw_promo_dialog input.error').removeClass('error');
|
| 130 |
$('#gmw_promo_dialog span.error').hide();
|
| 131 |
|
| 132 |
-
$.
|
| 133 |
-
if (data ==
|
| 134 |
alert(gmw.activate_ok);
|
| 135 |
if ($('#gmw_promo_dialog').data('widget-id')) {
|
| 136 |
$('#' + $('#gmw_promo_dialog').data('widget-id') + ' .widget-control-save').trigger('click');
|
|
@@ -140,7 +140,7 @@ jQuery(function($) {
|
|
| 140 |
$('#gmw_promo_dialog span.error.gmw_code').show();
|
| 141 |
$('#gmw_code').focus().select();
|
| 142 |
}
|
| 143 |
-
});
|
| 144 |
|
| 145 |
return false;
|
| 146 |
});
|
| 105 |
}
|
| 106 |
|
| 107 |
$.post(ajaxurl, { action: 'gmw_subscribe', 'name': $('#gmw_name').val(), 'email': $('#gmw_email').val()}, function(data) {
|
| 108 |
+
if (data && data.success == true) {
|
| 109 |
$('#gmw_dialog_subscribe').hide();
|
| 110 |
$('#gmw_dialog_activate').show();
|
| 111 |
alert(gmw.subscribe_ok);
|
| 112 |
+
} else if (data && data.success == false && data.data == 'duplicate') {
|
| 113 |
$('#gmw_dialog_subscribe').hide();
|
| 114 |
$('#gmw_dialog_activate').show();
|
| 115 |
alert(gmw.subscribe_duplicate);
|
| 116 |
} else {
|
| 117 |
alert(gmw.subscribe_error);
|
| 118 |
}
|
| 119 |
+
}, 'json');
|
| 120 |
|
| 121 |
return false;
|
| 122 |
});
|
| 129 |
$('#gmw_promo_dialog input.error').removeClass('error');
|
| 130 |
$('#gmw_promo_dialog span.error').hide();
|
| 131 |
|
| 132 |
+
$.post(ajaxurl, { action: 'gmw_activate', 'code': $('#gmw_code').val()}, function(data) { console.log(data);
|
| 133 |
+
if (data && data.success == true) {
|
| 134 |
alert(gmw.activate_ok);
|
| 135 |
if ($('#gmw_promo_dialog').data('widget-id')) {
|
| 136 |
$('#' + $('#gmw_promo_dialog').data('widget-id') + ' .widget-control-save').trigger('click');
|
| 140 |
$('#gmw_promo_dialog span.error.gmw_code').show();
|
| 141 |
$('#gmw_code').focus().select();
|
| 142 |
}
|
| 143 |
+
}, 'json');
|
| 144 |
|
| 145 |
return false;
|
| 146 |
});
|
lang/google-maps-widget.pot
CHANGED
|
@@ -5,7 +5,7 @@ msgstr ""
|
|
| 5 |
"Project-Id-Version: Google Maps Widget 2.15\n"
|
| 6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/google-maps-widget\n"
|
| 7 |
"POT-Creation-Date: \n"
|
| 8 |
-
"PO-Revision-Date: 2015-
|
| 9 |
"Last-Translator: Web factory Ltd <info@webfactoryltd.com>\n"
|
| 10 |
"Language-Team: LANGUAGE <gmw@webfactoryltd.com>\n"
|
| 11 |
"Language: en_US\n"
|
|
@@ -15,6 +15,12 @@ msgstr ""
|
|
| 15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
| 16 |
"X-Generator: Poedit 1.7.3\n"
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
msgid "0 - entire world"
|
| 19 |
msgstr ""
|
| 20 |
|
|
@@ -67,9 +73,6 @@ msgstr ""
|
|
| 67 |
msgid "Custom"
|
| 68 |
msgstr ""
|
| 69 |
|
| 70 |
-
msgid "Custom Pin Image URL"
|
| 71 |
-
msgstr ""
|
| 72 |
-
|
| 73 |
# gmw-widget.php:113
|
| 74 |
# gmw-widget.php:171
|
| 75 |
msgid "Custom URL"
|
|
@@ -113,6 +116,16 @@ msgstr ""
|
|
| 113 |
msgid "Google Maps Widget"
|
| 114 |
msgstr ""
|
| 115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
msgid "Gray"
|
| 117 |
msgstr ""
|
| 118 |
|
|
@@ -135,12 +148,12 @@ msgstr ""
|
|
| 135 |
msgid "If you like it, please review the plugin"
|
| 136 |
msgstr ""
|
| 137 |
|
| 138 |
-
# gmw-widget.php:
|
| 139 |
msgid ""
|
| 140 |
"If you subscribe to our mailing list we'll instantly activate additional features "
|
| 141 |
-
"in the plugin! At the moment those features are 3 additional
|
| 142 |
-
"and 2 additional lightbox skins. More <i>activate by
|
| 143 |
-
"will be available soon!"
|
| 144 |
msgstr ""
|
| 145 |
|
| 146 |
# gmw-widget.php:130
|
|
@@ -195,12 +208,20 @@ msgstr ""
|
|
| 195 |
msgid "Pin Color"
|
| 196 |
msgstr ""
|
| 197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
msgid "Pin Size"
|
| 199 |
msgstr ""
|
| 200 |
|
| 201 |
msgid "Pin Type"
|
| 202 |
msgstr ""
|
| 203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
msgid "Predefined (default)"
|
| 205 |
msgstr ""
|
| 206 |
|
|
@@ -234,6 +255,10 @@ msgstr ""
|
|
| 234 |
msgid "Satellite"
|
| 235 |
msgstr ""
|
| 236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
# gmw-widget.php:104
|
| 238 |
msgid "Show (default)"
|
| 239 |
msgstr ""
|
|
@@ -293,6 +318,14 @@ msgstr ""
|
|
| 293 |
msgid "Title"
|
| 294 |
msgstr ""
|
| 295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 296 |
msgid "View Google Maps Widget documentation"
|
| 297 |
msgstr ""
|
| 298 |
|
| 5 |
"Project-Id-Version: Google Maps Widget 2.15\n"
|
| 6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/google-maps-widget\n"
|
| 7 |
"POT-Creation-Date: \n"
|
| 8 |
+
"PO-Revision-Date: 2015-03-01 19:16+0100\n"
|
| 9 |
"Last-Translator: Web factory Ltd <info@webfactoryltd.com>\n"
|
| 10 |
"Language-Team: LANGUAGE <gmw@webfactoryltd.com>\n"
|
| 11 |
"Language: en_US\n"
|
| 15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
| 16 |
"X-Generator: Poedit 1.7.3\n"
|
| 17 |
|
| 18 |
+
# google-maps-widget.php:199
|
| 19 |
+
msgid ""
|
| 20 |
+
" Shortcode <i>[gmw]</i> is already in use by another plugin or theme. Please "
|
| 21 |
+
"deactivate that theme or plugin."
|
| 22 |
+
msgstr ""
|
| 23 |
+
|
| 24 |
msgid "0 - entire world"
|
| 25 |
msgstr ""
|
| 26 |
|
| 73 |
msgid "Custom"
|
| 74 |
msgstr ""
|
| 75 |
|
|
|
|
|
|
|
|
|
|
| 76 |
# gmw-widget.php:113
|
| 77 |
# gmw-widget.php:171
|
| 78 |
msgid "Custom URL"
|
| 116 |
msgid "Google Maps Widget"
|
| 117 |
msgstr ""
|
| 118 |
|
| 119 |
+
# google-maps-widget.php:132
|
| 120 |
+
msgid ""
|
| 121 |
+
"Google Maps Widget <b>requires WordPress version 3.3</b> or higher to function "
|
| 122 |
+
"properly. You are using WordPress version %s. Please <a href=\"%s\">update it</a>."
|
| 123 |
+
msgstr ""
|
| 124 |
+
|
| 125 |
+
# google-maps-widget.php:199
|
| 126 |
+
msgid "Google Maps Widget shortcode is not active!"
|
| 127 |
+
msgstr ""
|
| 128 |
+
|
| 129 |
msgid "Gray"
|
| 130 |
msgstr ""
|
| 131 |
|
| 148 |
msgid "If you like it, please review the plugin"
|
| 149 |
msgstr ""
|
| 150 |
|
| 151 |
+
# gmw-widget.php:252
|
| 152 |
msgid ""
|
| 153 |
"If you subscribe to our mailing list we'll instantly activate additional features "
|
| 154 |
+
"in the plugin! At the moment those features are: shortcode support, 3 additional "
|
| 155 |
+
"thumbnail map skins and 2 additional lightbox skins. More <i>activate by "
|
| 156 |
+
"subscribing</i> features will be available soon!"
|
| 157 |
msgstr ""
|
| 158 |
|
| 159 |
# gmw-widget.php:130
|
| 208 |
msgid "Pin Color"
|
| 209 |
msgstr ""
|
| 210 |
|
| 211 |
+
# gmw-widget.php:158
|
| 212 |
+
msgid "Pin Image URL"
|
| 213 |
+
msgstr ""
|
| 214 |
+
|
| 215 |
msgid "Pin Size"
|
| 216 |
msgstr ""
|
| 217 |
|
| 218 |
msgid "Pin Type"
|
| 219 |
msgstr ""
|
| 220 |
|
| 221 |
+
# gmw-widget.php:238
|
| 222 |
+
msgid "Please save the widget so that the shortcode can be generated."
|
| 223 |
+
msgstr ""
|
| 224 |
+
|
| 225 |
msgid "Predefined (default)"
|
| 226 |
msgstr ""
|
| 227 |
|
| 255 |
msgid "Satellite"
|
| 256 |
msgstr ""
|
| 257 |
|
| 258 |
+
# gmw-widget.php:130
|
| 259 |
+
msgid "Shortcode"
|
| 260 |
+
msgstr ""
|
| 261 |
+
|
| 262 |
# gmw-widget.php:104
|
| 263 |
msgid "Show (default)"
|
| 264 |
msgstr ""
|
| 318 |
msgid "Title"
|
| 319 |
msgstr ""
|
| 320 |
|
| 321 |
+
# gmw-widget.php:241
|
| 322 |
+
msgid ""
|
| 323 |
+
"Use the above shortcode to display this Google Maps Widget instance in any page "
|
| 324 |
+
"or post. <br>Please note that your theme might style the widget in the post as if "
|
| 325 |
+
"it is placed in a sidebar. In that case use the <code>span.gmw-shortcode-widget</"
|
| 326 |
+
"code> class to target the shortcode and make necessary changes via CSS."
|
| 327 |
+
msgstr ""
|
| 328 |
+
|
| 329 |
msgid "View Google Maps Widget documentation"
|
| 330 |
msgstr ""
|
| 331 |
|
readme.txt
CHANGED
|
@@ -6,7 +6,7 @@ License: GPLv2 or later
|
|
| 6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 7 |
Requires at least: 3.3
|
| 8 |
Tested up to: 4.1
|
| 9 |
-
Stable tag: 2.
|
| 10 |
|
| 11 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
| 12 |
|
|
@@ -120,6 +120,11 @@ If you can't figure it out open a thread in the support forums.
|
|
| 120 |
6. Widget options - info & support
|
| 121 |
|
| 122 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
= 2.25 =
|
| 124 |
* 2015/02/23
|
| 125 |
* a few visual enhancements
|
| 6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 7 |
Requires at least: 3.3
|
| 8 |
Tested up to: 4.1
|
| 9 |
+
Stable tag: 2.30
|
| 10 |
|
| 11 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
| 12 |
|
| 120 |
6. Widget options - info & support
|
| 121 |
|
| 122 |
== Changelog ==
|
| 123 |
+
= 2.30 =
|
| 124 |
+
* 2015/03/02
|
| 125 |
+
* JS rewrites
|
| 126 |
+
* few small bugs fixed
|
| 127 |
+
|
| 128 |
= 2.25 =
|
| 129 |
* 2015/02/23
|
| 130 |
* a few visual enhancements
|
