Version Description
Download this release
Release Info
Developer | tijmensmit |
Plugin | WP Store Locator |
Version | 2.2.4 |
Comparing to | |
See all releases |
Code changes from version 2.2.3 to 2.2.4
- admin/class-admin.php +3 -26
- admin/class-geocode.php +2 -0
- admin/class-metaboxes.php +1 -1
- admin/class-settings.php +5 -4
- admin/templates/map-settings.php +6 -2
- admin/upgrade.php +6 -0
- frontend/class-frontend.php +24 -2
- inc/class-i18n.php +7 -27
- inc/wpsl-functions.php +50 -12
- js/wpsl-gmap.js +15 -5
- js/wpsl-gmap.min.js +1 -1
- languages/wpsl.pot +407 -376
- readme.txt +18 -7
- wp-store-locator.php +2 -2
admin/class-admin.php
CHANGED
@@ -115,7 +115,7 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
|
|
115 |
if ( $warning == 'location' ) {
|
116 |
$this->setting_warning[$warning] = sprintf( __( "Before adding the [wpsl] shortcode to a page, please don't forget to define a start point on the %ssettings%s page. %sDismiss%s", "wpsl" ), "<a href='" . admin_url( 'edit.php?post_type=wpsl_stores&page=wpsl_settings' ) . "'>", "</a>", "<a href='" . esc_url( wp_nonce_url( add_query_arg( 'wpsl-notice', 'location' ), 'wpsl_notices_nonce', '_wpsl_notice_nonce' ) ) . "'>", "</a>" );
|
117 |
} else {
|
118 |
-
$this->setting_warning[$warning] = sprintf( __( "As of %sJune 22, 2016%s Google Maps no longer allows request for new projects that doesn't include an %sAPI key%s. %sDismiss%s", "wpsl" ), '<a href="https://googlegeodevelopers.blogspot.nl/2016/06/building-for-scale-updates-to-google.html">', "</a>", '<a href="https://wpstorelocator.co/document/
|
119 |
}
|
120 |
}
|
121 |
}
|
@@ -280,29 +280,6 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
|
|
280 |
wp_enqueue_style( 'wpsl-admin-38', plugins_url( '/css/style-3.8'. $min .'.css', __FILE__ ), false );
|
281 |
}
|
282 |
}
|
283 |
-
|
284 |
-
/**
|
285 |
-
* Deregister other Google Maps scripts.
|
286 |
-
*
|
287 |
-
* If plugins / themes also include the Google Maps library, and it is loaded after the
|
288 |
-
* one from the Store Locator. It can break the autocomplete on the settings page.
|
289 |
-
*
|
290 |
-
* To make sure this doesn't happen we look for other Google Maps scripts,
|
291 |
-
* and if they exists we deregister them on pages that are used by the store locator.
|
292 |
-
*
|
293 |
-
* @since 1.2.20
|
294 |
-
* @return void
|
295 |
-
*/
|
296 |
-
public function deregister_other_gmaps() {
|
297 |
-
|
298 |
-
global $wp_scripts;
|
299 |
-
|
300 |
-
foreach ( $wp_scripts->registered as $index => $script ) {
|
301 |
-
if ( ( strpos( $script->src, 'maps.google.com' ) !== false ) || ( strpos( $script->src, 'maps.googleapis.com' ) !== false ) && ( $script->handle !== 'wpsl-gmap' ) ) {
|
302 |
-
wp_deregister_script( $script->handle );
|
303 |
-
}
|
304 |
-
}
|
305 |
-
}
|
306 |
|
307 |
/**
|
308 |
* The text messages used in wpsl-admin.js.
|
@@ -365,14 +342,14 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
|
|
365 |
if ( ( get_post_type() == 'wpsl_stores' ) || ( isset( $_GET['post_type'] ) && ( $_GET['post_type'] == 'wpsl_stores' ) ) ) {
|
366 |
|
367 |
// Make sure no other Google Map scripts can interfere with the one from the store locator.
|
368 |
-
|
369 |
|
370 |
wp_enqueue_style( 'jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.css' );
|
371 |
wp_enqueue_style( 'wpsl-admin-css', plugins_url( '/css/style'. $min .'.css', __FILE__ ), false );
|
372 |
|
373 |
wp_enqueue_media();
|
374 |
wp_enqueue_script( 'jquery-ui-dialog' );
|
375 |
-
wp_enqueue_script( 'wpsl-gmap', ( '//maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' )
|
376 |
|
377 |
wp_enqueue_script( 'wpsl-queue', plugins_url( '/js/ajax-queue'. $min .'.js', __FILE__ ), array( 'jquery' ), WPSL_VERSION_NUM, true );
|
378 |
wp_enqueue_script( 'wpsl-retina', plugins_url( '/js/retina'. $min .'.js', __FILE__ ), array( 'jquery' ), WPSL_VERSION_NUM, true );
|
115 |
if ( $warning == 'location' ) {
|
116 |
$this->setting_warning[$warning] = sprintf( __( "Before adding the [wpsl] shortcode to a page, please don't forget to define a start point on the %ssettings%s page. %sDismiss%s", "wpsl" ), "<a href='" . admin_url( 'edit.php?post_type=wpsl_stores&page=wpsl_settings' ) . "'>", "</a>", "<a href='" . esc_url( wp_nonce_url( add_query_arg( 'wpsl-notice', 'location' ), 'wpsl_notices_nonce', '_wpsl_notice_nonce' ) ) . "'>", "</a>" );
|
117 |
} else {
|
118 |
+
$this->setting_warning[$warning] = sprintf( __( "As of %sJune 22, 2016%s Google Maps no longer allows request for new projects that doesn't include an %sAPI key%s. %sDismiss%s", "wpsl" ), '<a href="https://googlegeodevelopers.blogspot.nl/2016/06/building-for-scale-updates-to-google.html">', "</a>", '<a href="https://wpstorelocator.co/document/create-google-api-keys/">', "</a>", "<a href='" . esc_url( wp_nonce_url( add_query_arg( 'wpsl-notice', 'key' ), 'wpsl_notices_nonce', '_wpsl_notice_nonce' ) ) . "'>", "</a>" );
|
119 |
}
|
120 |
}
|
121 |
}
|
280 |
wp_enqueue_style( 'wpsl-admin-38', plugins_url( '/css/style-3.8'. $min .'.css', __FILE__ ), false );
|
281 |
}
|
282 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
|
284 |
/**
|
285 |
* The text messages used in wpsl-admin.js.
|
342 |
if ( ( get_post_type() == 'wpsl_stores' ) || ( isset( $_GET['post_type'] ) && ( $_GET['post_type'] == 'wpsl_stores' ) ) ) {
|
343 |
|
344 |
// Make sure no other Google Map scripts can interfere with the one from the store locator.
|
345 |
+
wpsl_deregister_other_gmaps();
|
346 |
|
347 |
wp_enqueue_style( 'jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.css' );
|
348 |
wp_enqueue_style( 'wpsl-admin-css', plugins_url( '/css/style'. $min .'.css', __FILE__ ), false );
|
349 |
|
350 |
wp_enqueue_media();
|
351 |
wp_enqueue_script( 'jquery-ui-dialog' );
|
352 |
+
wp_enqueue_script( 'wpsl-gmap', ( '//maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' ) ), false, WPSL_VERSION_NUM, true );
|
353 |
|
354 |
wp_enqueue_script( 'wpsl-queue', plugins_url( '/js/ajax-queue'. $min .'.js', __FILE__ ), array( 'jquery' ), WPSL_VERSION_NUM, true );
|
355 |
wp_enqueue_script( 'wpsl-retina', plugins_url( '/js/retina'. $min .'.js', __FILE__ ), array( 'jquery' ), WPSL_VERSION_NUM, true );
|
admin/class-geocode.php
CHANGED
@@ -131,6 +131,8 @@ if ( !class_exists( 'WPSL_Geocode' ) ) {
|
|
131 |
|
132 |
if ( is_wp_error( $response ) ) {
|
133 |
$geo_response = sprintf( __( 'Something went wrong connecting to the Google Geocode API: %s %s Please try again later.', 'wpsl' ), $response->get_error_message(), '<br><br>' );
|
|
|
|
|
134 |
} else {
|
135 |
$geo_response = json_decode( $response['body'], true );
|
136 |
}
|
131 |
|
132 |
if ( is_wp_error( $response ) ) {
|
133 |
$geo_response = sprintf( __( 'Something went wrong connecting to the Google Geocode API: %s %s Please try again later.', 'wpsl' ), $response->get_error_message(), '<br><br>' );
|
134 |
+
} else if ( $response['response']['code'] != 200 ) {
|
135 |
+
$geo_response = sprintf( __( 'The Google Geocode API reported the following problem: error %s %s %s Please contact %ssupport%s if the problem persists.', 'wpsl' ), $response['response']['code'], $response['response']['message'], '<br><br>', '<a href="https://wpstorelocator.co/support/">', '</a>' );
|
136 |
} else {
|
137 |
$geo_response = json_decode( $response['body'], true );
|
138 |
}
|
admin/class-metaboxes.php
CHANGED
@@ -345,7 +345,7 @@ if ( !class_exists( 'WPSL_Metaboxes' ) ) {
|
|
345 |
|
346 |
<p>
|
347 |
<label for="wpsl-<?php echo esc_attr( $args['key'] ); ?>"><?php echo esc_html( $args['data']['label'] ) . ': ' . $this->is_required_field( $args['data'] ); ?></label>
|
348 |
-
<?php wp_editor( $saved_value, '
|
349 |
</p>
|
350 |
|
351 |
<?php
|
345 |
|
346 |
<p>
|
347 |
<label for="wpsl-<?php echo esc_attr( $args['key'] ); ?>"><?php echo esc_html( $args['data']['label'] ) . ': ' . $this->is_required_field( $args['data'] ); ?></label>
|
348 |
+
<?php wp_editor( $saved_value, 'wpsleditor_' . wpsl_random_chars(), $settings = array('textarea_name' => 'wpsl['. esc_attr( $args['key'] ).']') ); ?>
|
349 |
</p>
|
350 |
|
351 |
<?php
|
admin/class-settings.php
CHANGED
@@ -288,10 +288,11 @@ if ( !class_exists( 'WPSL_Settings' ) ) {
|
|
288 |
foreach ( $required_labels as $label ) {
|
289 |
$output[$label.'_label'] = sanitize_text_field( $_POST['wpsl_label'][$label] );
|
290 |
}
|
|
|
|
|
|
|
|
|
291 |
|
292 |
-
$output['show_credits'] = isset( $_POST['wpsl_credits'] ) ? 1 : 0;
|
293 |
-
$output['debug'] = isset( $_POST['wpsl_tools']['debug'] ) ? 1 : 0;
|
294 |
-
|
295 |
// Check if we need to flush the permalinks.
|
296 |
$this->set_flush_rewrite_option( $output );
|
297 |
|
@@ -596,7 +597,7 @@ if ( !class_exists( 'WPSL_Settings' ) ) {
|
|
596 |
__('Malaysia ', 'wpsl') => 'my',
|
597 |
__('Mali', 'wpsl') => 'ml',
|
598 |
__('Marshall Islands', 'wpsl') => 'mh',
|
599 |
-
__('Martinique', 'wpsl') => '
|
600 |
__('Mauritania', 'wpsl') => 'mr',
|
601 |
__('Mauritius', 'wpsl') => 'mu',
|
602 |
__('Mexico', 'wpsl') => 'mx',
|
288 |
foreach ( $required_labels as $label ) {
|
289 |
$output[$label.'_label'] = sanitize_text_field( $_POST['wpsl_label'][$label] );
|
290 |
}
|
291 |
+
|
292 |
+
$output['show_credits'] = isset( $_POST['wpsl_credits'] ) ? 1 : 0;
|
293 |
+
$output['debug'] = isset( $_POST['wpsl_tools']['debug'] ) ? 1 : 0;
|
294 |
+
$output['deregister_gmaps'] = isset( $_POST['wpsl_tools']['deregister_gmaps'] ) ? 1 : 0;
|
295 |
|
|
|
|
|
|
|
296 |
// Check if we need to flush the permalinks.
|
297 |
$this->set_flush_rewrite_option( $output );
|
298 |
|
597 |
__('Malaysia ', 'wpsl') => 'my',
|
598 |
__('Mali', 'wpsl') => 'ml',
|
599 |
__('Marshall Islands', 'wpsl') => 'mh',
|
600 |
+
__('Martinique', 'wpsl') => 'mq',
|
601 |
__('Mauritania', 'wpsl') => 'mr',
|
602 |
__('Mauritius', 'wpsl') => 'mu',
|
603 |
__('Mexico', 'wpsl') => 'mx',
|
admin/templates/map-settings.php
CHANGED
@@ -91,11 +91,11 @@ global $wpdb, $wpsl, $wpsl_admin, $wp_version, $wpsl_settings;
|
|
91 |
<h3 class="hndle"><span><?php _e( 'Google Maps API', 'wpsl' ); ?></span></h3>
|
92 |
<div class="inside">
|
93 |
<p>
|
94 |
-
<label for="wpsl-api-server-key"><?php _e( 'Server key', 'wpsl' ); ?>:<span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php echo sprintf( __( 'A %sserver key%s allows you to monitor the usage of the Google Maps %sGeocoding API%s. %s %sRequired%s for %sapplications%s created after June 22, 2016.', 'wpsl' ), '<a href="https://
|
95 |
<input type="text" value="<?php echo esc_attr( $wpsl_settings['api_server_key'] ); ?>" name="wpsl_api[server_key]" class="textinput" id="wpsl-api-server-key">
|
96 |
</p>
|
97 |
<p>
|
98 |
-
<label for="wpsl-api-browser-key"><?php _e( 'Browser key', 'wpsl' ); ?>:<span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php echo sprintf( __( 'A %sbrowser key%s allows you to monitor the usage of the Google Maps %sJavaScript API%s. %s %sRequired%s for %sapplications%s created after June 22, 2016.', 'wpsl' ), '<a href="https://
|
99 |
<input type="text" value="<?php echo esc_attr( $wpsl_settings['api_browser_key'] ); ?>" name="wpsl_api[browser_key]" class="textinput" id="wpsl-api-browser-key">
|
100 |
</p>
|
101 |
<p>
|
@@ -583,6 +583,10 @@ global $wpdb, $wpsl, $wpsl_admin, $wp_version, $wpsl_settings;
|
|
583 |
<label for="wpsl-debug"><?php _e( 'Enable store locator debug?', 'wpsl' ); ?><span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php echo sprintf( __( 'This disables the WPSL transient cache. %sThe transient cache is only used if the %sLoad locations on page load%s option is enabled.', 'wpsl' ), '<br><br>', '<em>', '</em>' ); ?></span></span></label>
|
584 |
<input type="checkbox" value="" <?php checked( $wpsl_settings['debug'], true ); ?> name="wpsl_tools[debug]" id="wpsl-debug">
|
585 |
</p>
|
|
|
|
|
|
|
|
|
586 |
<p>
|
587 |
<label for="wpsl-transient"><?php _e( 'WPSL transients', 'wpsl' ); ?></label>
|
588 |
<a class="button" href="<?php echo wp_nonce_url( admin_url( "edit.php?post_type=wpsl_stores&page=wpsl_settings&action=clear_wpsl_transients" ), 'clear_transients' ); ?>"><?php _e( 'Clear store locator transient cache', 'wpsl' ); ?></a>
|
91 |
<h3 class="hndle"><span><?php _e( 'Google Maps API', 'wpsl' ); ?></span></h3>
|
92 |
<div class="inside">
|
93 |
<p>
|
94 |
+
<label for="wpsl-api-server-key"><?php _e( 'Server key', 'wpsl' ); ?>:<span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php echo sprintf( __( 'A %sserver key%s allows you to monitor the usage of the Google Maps %sGeocoding API%s. %s %sRequired%s for %sapplications%s created after June 22, 2016.', 'wpsl' ), '<a href="https://wpstorelocator.co/document/create-google-api-keys/#server-key" target="_blank">', '</a>', '<a href="https://developers.google.com/maps/documentation/geocoding/intro">', '</a>', '<br><br>', '<strong>', '</strong>', '<a href="https://googlegeodevelopers.blogspot.nl/2016/06/building-for-scale-updates-to-google.html">', '</a>' ); ?></span></span></label>
|
95 |
<input type="text" value="<?php echo esc_attr( $wpsl_settings['api_server_key'] ); ?>" name="wpsl_api[server_key]" class="textinput" id="wpsl-api-server-key">
|
96 |
</p>
|
97 |
<p>
|
98 |
+
<label for="wpsl-api-browser-key"><?php _e( 'Browser key', 'wpsl' ); ?>:<span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php echo sprintf( __( 'A %sbrowser key%s allows you to monitor the usage of the Google Maps %sJavaScript API%s. %s %sRequired%s for %sapplications%s created after June 22, 2016.', 'wpsl' ), '<a href="https://wpstorelocator.co/document/create-google-api-keys/#browser-key" target="_blank">', '</a>', '<a href="https://developers.google.com/maps/documentation/javascript/">', '</a>', '<br><br>', '<strong>', '</strong>', '<a href="https://googlegeodevelopers.blogspot.nl/2016/06/building-for-scale-updates-to-google.html">', '</a>' ); ?></span></span></label>
|
99 |
<input type="text" value="<?php echo esc_attr( $wpsl_settings['api_browser_key'] ); ?>" name="wpsl_api[browser_key]" class="textinput" id="wpsl-api-browser-key">
|
100 |
</p>
|
101 |
<p>
|
583 |
<label for="wpsl-debug"><?php _e( 'Enable store locator debug?', 'wpsl' ); ?><span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php echo sprintf( __( 'This disables the WPSL transient cache. %sThe transient cache is only used if the %sLoad locations on page load%s option is enabled.', 'wpsl' ), '<br><br>', '<em>', '</em>' ); ?></span></span></label>
|
584 |
<input type="checkbox" value="" <?php checked( $wpsl_settings['debug'], true ); ?> name="wpsl_tools[debug]" id="wpsl-debug">
|
585 |
</p>
|
586 |
+
<p>
|
587 |
+
<label for="wpsl-deregister-gmaps"><?php _e( 'Prevent other scripts from including the Google Maps API a second time on the store locator page?', 'wpsl' ); ?><span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php echo sprintf( __( 'If the %sbrowser console%s shows the error below, then enabling this option should fix it. %s %sYou have included the Google Maps API multiple times on this page. This may cause unexpected errors.%s %s This error can in some situations break the store locator map.', 'wpsl' ), '<a href="https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis">', '</a>', '<br><br>', '<em>', '</em>', '<br><br>' ); ?></span></span></label>
|
588 |
+
<input type="checkbox" value="" <?php checked( $wpsl_settings['deregister_gmaps'], true ); ?> name="wpsl_tools[deregister_gmaps]" id="wpsl-deregister-gmaps">
|
589 |
+
</p>
|
590 |
<p>
|
591 |
<label for="wpsl-transient"><?php _e( 'WPSL transients', 'wpsl' ); ?></label>
|
592 |
<a class="button" href="<?php echo wp_nonce_url( admin_url( "edit.php?post_type=wpsl_stores&page=wpsl_settings&action=clear_wpsl_transients" ), 'clear_transients' ); ?>"><?php _e( 'Clear store locator transient cache', 'wpsl' ); ?></a>
|
admin/upgrade.php
CHANGED
@@ -395,6 +395,12 @@ function wpsl_check_upgrade() {
|
|
395 |
|
396 |
update_option( 'wpsl_settings', $wpsl_settings );
|
397 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
398 |
|
399 |
update_option( 'wpsl_version', WPSL_VERSION_NUM );
|
400 |
}
|
395 |
|
396 |
update_option( 'wpsl_settings', $wpsl_settings );
|
397 |
}
|
398 |
+
|
399 |
+
if ( version_compare( $current_version, '2.2.4', '<' ) ) {
|
400 |
+
$wpsl_settings['deregister_gmaps'] = 0;
|
401 |
+
|
402 |
+
update_option( 'wpsl_settings', $wpsl_settings );
|
403 |
+
}
|
404 |
|
405 |
update_option( 'wpsl_version', WPSL_VERSION_NUM );
|
406 |
}
|
frontend/class-frontend.php
CHANGED
@@ -156,7 +156,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
|
|
156 |
$lang_code = $wpsl->i18n->check_multilingual_code();
|
157 |
|
158 |
if ( $lang_code ) {
|
159 |
-
$name_section[] = $lang_code;
|
160 |
}
|
161 |
|
162 |
$transient_name = implode( '_', $name_section );
|
@@ -1394,6 +1394,18 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
|
|
1394 |
*/
|
1395 |
public function add_frontend_styles() {
|
1396 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1397 |
$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
1398 |
|
1399 |
wp_enqueue_style( 'wpsl-styles', WPSL_URL . 'css/styles'. $min .'.css', '', WPSL_VERSION_NUM );
|
@@ -1547,7 +1559,17 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
|
|
1547 |
$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
1548 |
|
1549 |
$dropdown_defaults = $this->get_dropdown_defaults();
|
1550 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1551 |
wp_enqueue_script( 'wpsl-gmap', ( 'https://maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' ) . '' ), '', null, true );
|
1552 |
|
1553 |
$base_settings = array(
|
156 |
$lang_code = $wpsl->i18n->check_multilingual_code();
|
157 |
|
158 |
if ( $lang_code ) {
|
159 |
+
$name_section[] = '_' . $lang_code;
|
160 |
}
|
161 |
|
162 |
$transient_name = implode( '_', $name_section );
|
1394 |
*/
|
1395 |
public function add_frontend_styles() {
|
1396 |
|
1397 |
+
global $wpsl_settings;
|
1398 |
+
|
1399 |
+
/**
|
1400 |
+
* Check if we need to deregister other Google Maps scripts loaded
|
1401 |
+
* by other plugins, or the current theme?
|
1402 |
+
*
|
1403 |
+
* This in some cases can break the store locator map.
|
1404 |
+
*/
|
1405 |
+
if ( $wpsl_settings['deregister_gmaps'] ) {
|
1406 |
+
wpsl_deregister_other_gmaps();
|
1407 |
+
}
|
1408 |
+
|
1409 |
$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
1410 |
|
1411 |
wp_enqueue_style( 'wpsl-styles', WPSL_URL . 'css/styles'. $min .'.css', '', WPSL_VERSION_NUM );
|
1559 |
$min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
1560 |
|
1561 |
$dropdown_defaults = $this->get_dropdown_defaults();
|
1562 |
+
|
1563 |
+
/**
|
1564 |
+
* Check if we need to deregister other Google Maps scripts loaded
|
1565 |
+
* by other plugins, or the current theme?
|
1566 |
+
*
|
1567 |
+
* This in some cases can break the store locator map.
|
1568 |
+
*/
|
1569 |
+
if ( $wpsl_settings['deregister_gmaps'] ) {
|
1570 |
+
wpsl_deregister_other_gmaps();
|
1571 |
+
}
|
1572 |
+
|
1573 |
wp_enqueue_script( 'wpsl-gmap', ( 'https://maps.google.com/maps/api/js' . wpsl_get_gmap_api_params( 'browser_key' ) . '' ), '', null, true );
|
1574 |
|
1575 |
$base_settings = array(
|
inc/class-i18n.php
CHANGED
@@ -91,30 +91,12 @@ if ( !class_exists( 'WPSL_i18n' ) ) {
|
|
91 |
|
92 |
return $translated_id;
|
93 |
}
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Translate with a qTranslate compatible plugin.
|
97 |
-
*
|
98 |
-
* @since 2.0.0
|
99 |
-
* @param string $text The original text
|
100 |
-
* @return string $translation The translated text
|
101 |
-
*/
|
102 |
-
public function qtranslation( $text ) {
|
103 |
-
|
104 |
-
if ( function_exists( 'qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage' ) ) {
|
105 |
-
$translation = qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage( $text );
|
106 |
-
} else {
|
107 |
-
$translation = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage( $text );
|
108 |
-
}
|
109 |
-
|
110 |
-
return $translation;
|
111 |
-
}
|
112 |
|
113 |
/**
|
114 |
* Get the correct translation.
|
115 |
*
|
116 |
-
* Return the translated text from
|
117 |
-
*
|
118 |
*
|
119 |
* @since 2.0.0
|
120 |
* @param string $name The name of the translated string
|
@@ -127,13 +109,11 @@ if ( !class_exists( 'WPSL_i18n' ) ) {
|
|
127 |
|
128 |
$translation = '';
|
129 |
|
130 |
-
/* Check if we need to use WPML
|
131 |
if ( $this->wpml_exists() ) {
|
132 |
$translation = icl_t( 'admin_texts_wpsl_settings', '[wpsl_settings]' . $name, $text );
|
133 |
-
} else if ( $this->qtrans_exists() ) {
|
134 |
-
$translation = $this->qtranslation( $text );
|
135 |
}
|
136 |
-
|
137 |
/* If we don't have a translation here, we use the value set on the settings page */
|
138 |
if ( empty( $translation ) ) {
|
139 |
$translation = stripslashes( $wpsl_settings[$name] );
|
@@ -154,13 +134,13 @@ if ( !class_exists( 'WPSL_i18n' ) ) {
|
|
154 |
$language_code = '';
|
155 |
|
156 |
if ( $this->wpml_exists() ) {
|
157 |
-
$language_code =
|
158 |
} else if ( $this->qtrans_exists() ) {
|
159 |
|
160 |
if ( function_exists( 'qtranxf_getLanguage' ) ) {
|
161 |
-
$language_code =
|
162 |
} else if ( function_exists( 'qtrans_getLanguage' ) ) {
|
163 |
-
$language_code =
|
164 |
}
|
165 |
}
|
166 |
|
91 |
|
92 |
return $translated_id;
|
93 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
/**
|
96 |
* Get the correct translation.
|
97 |
*
|
98 |
+
* Return the translated text from WPML or the translation
|
99 |
+
* that was set on the settings page.
|
100 |
*
|
101 |
* @since 2.0.0
|
102 |
* @param string $name The name of the translated string
|
109 |
|
110 |
$translation = '';
|
111 |
|
112 |
+
/* Check if we need to use WPML for the translation */
|
113 |
if ( $this->wpml_exists() ) {
|
114 |
$translation = icl_t( 'admin_texts_wpsl_settings', '[wpsl_settings]' . $name, $text );
|
|
|
|
|
115 |
}
|
116 |
+
|
117 |
/* If we don't have a translation here, we use the value set on the settings page */
|
118 |
if ( empty( $translation ) ) {
|
119 |
$translation = stripslashes( $wpsl_settings[$name] );
|
134 |
$language_code = '';
|
135 |
|
136 |
if ( $this->wpml_exists() ) {
|
137 |
+
$language_code = ICL_LANGUAGE_CODE;
|
138 |
} else if ( $this->qtrans_exists() ) {
|
139 |
|
140 |
if ( function_exists( 'qtranxf_getLanguage' ) ) {
|
141 |
+
$language_code = qtranxf_getLanguage();
|
142 |
} else if ( function_exists( 'qtrans_getLanguage' ) ) {
|
143 |
+
$language_code = qtrans_getLanguage();
|
144 |
}
|
145 |
}
|
146 |
|
inc/wpsl-functions.php
CHANGED
@@ -5,13 +5,13 @@
|
|
5 |
* we need before making a request to the Google Maps API.
|
6 |
*
|
7 |
* @since 1.0.0
|
8 |
-
* @param string $api_key_type The type of API key we need to include (
|
9 |
* @param boolean $geocode_params
|
10 |
* @return string $api_params The API parameters.
|
11 |
*/
|
12 |
function wpsl_get_gmap_api_params( $api_key_type, $geocode_params = false ) {
|
13 |
|
14 |
-
global $wpsl_settings;
|
15 |
|
16 |
$api_params = '';
|
17 |
$param_keys = array( 'language', 'region', 'key' );
|
@@ -24,27 +24,29 @@ function wpsl_get_gmap_api_params( $api_key_type, $geocode_params = false ) {
|
|
24 |
$first_sep = ( $geocode_params ) ? '&' : '?';
|
25 |
|
26 |
foreach ( $param_keys as $param_key ) {
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
} else {
|
30 |
-
$
|
31 |
}
|
32 |
-
|
33 |
-
$param_val = $wpsl_settings['api_' . $option_key];
|
34 |
|
35 |
if ( !empty( $param_val ) ) {
|
36 |
$api_params .= $param_key . '=' . $param_val . '&';
|
37 |
}
|
38 |
-
|
39 |
}
|
40 |
|
41 |
if ( $api_params ) {
|
42 |
$api_params = $first_sep . rtrim( $api_params, '&' );
|
43 |
}
|
44 |
|
45 |
-
// Do we need to include the autocomplete library?
|
46 |
-
|
47 |
-
if ( $wpsl_settings['autocomplete'] && $api_key_type == 'browser_key' ) {
|
48 |
$api_params .= '&libraries=places';
|
49 |
}
|
50 |
|
@@ -124,6 +126,7 @@ function wpsl_get_default_settings() {
|
|
124 |
'infowindow_style' => 'default',
|
125 |
'show_credits' => 0,
|
126 |
'debug' => 0,
|
|
|
127 |
'start_label' => __( 'Start location', 'wpsl' ),
|
128 |
'search_label' => __( 'Your location', 'wpsl' ),
|
129 |
'search_btn_label' => __( 'Search', 'wpsl' ),
|
@@ -499,4 +502,39 @@ function wpsl_bool_check( $atts ) {
|
|
499 |
}
|
500 |
|
501 |
return $atts;
|
502 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
* we need before making a request to the Google Maps API.
|
6 |
*
|
7 |
* @since 1.0.0
|
8 |
+
* @param string $api_key_type The type of API key we need to include ( server_key or browser_key ).
|
9 |
* @param boolean $geocode_params
|
10 |
* @return string $api_params The API parameters.
|
11 |
*/
|
12 |
function wpsl_get_gmap_api_params( $api_key_type, $geocode_params = false ) {
|
13 |
|
14 |
+
global $wpsl, $wpsl_settings;
|
15 |
|
16 |
$api_params = '';
|
17 |
$param_keys = array( 'language', 'region', 'key' );
|
24 |
$first_sep = ( $geocode_params ) ? '&' : '?';
|
25 |
|
26 |
foreach ( $param_keys as $param_key ) {
|
27 |
+
$option_key = ( $param_key == 'key' ) ? $api_key_type : $param_key;
|
28 |
+
|
29 |
+
/*
|
30 |
+
* Get the current language code if WPML or qTranslate-X is active.
|
31 |
+
* Otherwise get the param value from the settings var.
|
32 |
+
*/
|
33 |
+
if ( $option_key == 'language' && ( $wpsl->i18n->wpml_exists() || $wpsl->i18n->qtrans_exists() ) ) {
|
34 |
+
$param_val = $wpsl->i18n->check_multilingual_code();
|
35 |
} else {
|
36 |
+
$param_val = $wpsl_settings['api_' . $option_key];
|
37 |
}
|
|
|
|
|
38 |
|
39 |
if ( !empty( $param_val ) ) {
|
40 |
$api_params .= $param_key . '=' . $param_val . '&';
|
41 |
}
|
|
|
42 |
}
|
43 |
|
44 |
if ( $api_params ) {
|
45 |
$api_params = $first_sep . rtrim( $api_params, '&' );
|
46 |
}
|
47 |
|
48 |
+
// Do we need to include the autocomplete library?
|
49 |
+
if ( ( $wpsl_settings['autocomplete'] && $api_key_type == 'browser_key' ) || is_admin() ) {
|
|
|
50 |
$api_params .= '&libraries=places';
|
51 |
}
|
52 |
|
126 |
'infowindow_style' => 'default',
|
127 |
'show_credits' => 0,
|
128 |
'debug' => 0,
|
129 |
+
'deregister_gmaps' => 0,
|
130 |
'start_label' => __( 'Start location', 'wpsl' ),
|
131 |
'search_label' => __( 'Your location', 'wpsl' ),
|
132 |
'search_btn_label' => __( 'Search', 'wpsl' ),
|
502 |
}
|
503 |
|
504 |
return $atts;
|
505 |
+
}
|
506 |
+
|
507 |
+
/**
|
508 |
+
* Create a string with random characters.
|
509 |
+
*
|
510 |
+
* @since 2.2.4
|
511 |
+
* @param int $length Used length
|
512 |
+
* @return string $random_chars Random characters
|
513 |
+
*/
|
514 |
+
function wpsl_random_chars( $length = 5 ) {
|
515 |
+
|
516 |
+
$random_chars = substr( str_shuffle( "abcdefghijklmnopqrstuvwxyz" ), 0, $length );
|
517 |
+
|
518 |
+
return $random_chars;
|
519 |
+
}
|
520 |
+
|
521 |
+
/**
|
522 |
+
* Deregister other Google Maps scripts.
|
523 |
+
*
|
524 |
+
* If plugins / themes also include the Google Maps library, then it can cause
|
525 |
+
* problems with the autocomplete function on the settings page and break
|
526 |
+
* the store locator on the front-end.
|
527 |
+
*
|
528 |
+
* @since 2.2.4
|
529 |
+
* @return void
|
530 |
+
*/
|
531 |
+
function wpsl_deregister_other_gmaps() {
|
532 |
+
|
533 |
+
global $wp_scripts;
|
534 |
+
|
535 |
+
foreach ( $wp_scripts->registered as $index => $script ) {
|
536 |
+
if ( ( strpos( $script->src, 'maps.google.com' ) !== false ) || ( strpos( $script->src, 'maps.googleapis.com' ) !== false ) && ( $script->handle !== 'wpsl-gmap' ) ) {
|
537 |
+
wp_deregister_script( $script->handle );
|
538 |
+
}
|
539 |
+
}
|
540 |
+
}
|
js/wpsl-gmap.js
CHANGED
@@ -212,7 +212,6 @@ function activateAutocomplete() {
|
|
212 |
* @returns {void}
|
213 |
*/
|
214 |
function zoomChangedListener() {
|
215 |
-
|
216 |
if ( typeof wpslSettings.markerZoomTo !== "undefined" && wpslSettings.markerZoomTo == 1 ) {
|
217 |
google.maps.event.addListener( map, "zoom_changed", function() {
|
218 |
checkMaxZoomLevel();
|
@@ -494,7 +493,7 @@ function checkGeolocation( startLatLng, infoWindow ) {
|
|
494 |
navigator.geolocation.getCurrentPosition( function( position ) {
|
495 |
geolocationFinished( geolocationInProgress );
|
496 |
clearTimeout( locationTimeout );
|
497 |
-
|
498 |
/*
|
499 |
* If the timeout is triggerd and the user later decides to enable
|
500 |
* the geolocation detection again, it gets messy with multiple start markers.
|
@@ -503,6 +502,17 @@ function checkGeolocation( startLatLng, infoWindow ) {
|
|
503 |
*/
|
504 |
deleteOverlays( keepStartMarker );
|
505 |
handleGeolocationQuery( startLatLng, position, resetMap, infoWindow );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
}, function( error ) {
|
507 |
|
508 |
/*
|
@@ -515,7 +525,7 @@ function checkGeolocation( startLatLng, infoWindow ) {
|
|
515 |
* If an error occurs on pageload without the user clicking on the direction icon,
|
516 |
* the default map is shown without any alert boxes.
|
517 |
*/
|
518 |
-
if ( $( ".wpsl-icon-direction" ).hasClass( "wpsl-user-activated") ) {
|
519 |
switch ( error.code ) {
|
520 |
case error.PERMISSION_DENIED:
|
521 |
alert( wpslGeolocationErrors.denied );
|
@@ -532,7 +542,7 @@ function checkGeolocation( startLatLng, infoWindow ) {
|
|
532 |
}
|
533 |
|
534 |
$( ".wpsl-icon-direction" ).removeClass( "wpsl-active-icon" );
|
535 |
-
} else {
|
536 |
clearTimeout( locationTimeout );
|
537 |
showStores( startLatLng, infoWindow );
|
538 |
}
|
@@ -575,7 +585,7 @@ function handleGeolocationQuery( startLatLng, position, resetMap, infoWindow ) {
|
|
575 |
showStores( startLatLng, infoWindow );
|
576 |
} else {
|
577 |
var latLng = new google.maps.LatLng( position.coords.latitude, position.coords.longitude );
|
578 |
-
|
579 |
/*
|
580 |
* Store the latlng from the geolocation for when the user hits "reset" again
|
581 |
* without having to ask for permission again.
|
212 |
* @returns {void}
|
213 |
*/
|
214 |
function zoomChangedListener() {
|
|
|
215 |
if ( typeof wpslSettings.markerZoomTo !== "undefined" && wpslSettings.markerZoomTo == 1 ) {
|
216 |
google.maps.event.addListener( map, "zoom_changed", function() {
|
217 |
checkMaxZoomLevel();
|
493 |
navigator.geolocation.getCurrentPosition( function( position ) {
|
494 |
geolocationFinished( geolocationInProgress );
|
495 |
clearTimeout( locationTimeout );
|
496 |
+
|
497 |
/*
|
498 |
* If the timeout is triggerd and the user later decides to enable
|
499 |
* the geolocation detection again, it gets messy with multiple start markers.
|
502 |
*/
|
503 |
deleteOverlays( keepStartMarker );
|
504 |
handleGeolocationQuery( startLatLng, position, resetMap, infoWindow );
|
505 |
+
|
506 |
+
/*
|
507 |
+
* Workaround for this bug in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1283563.
|
508 |
+
* to keep track if the geolocation code has already run.
|
509 |
+
*
|
510 |
+
* Otherwise after the users location is determined succesfully the code
|
511 |
+
* will also detect the returned error, and triggers showStores() to
|
512 |
+
* run with the start location set in the incorrect location.
|
513 |
+
*/
|
514 |
+
|
515 |
+
$( ".wpsl-search").addClass( "wpsl-geolocation-run" );
|
516 |
}, function( error ) {
|
517 |
|
518 |
/*
|
525 |
* If an error occurs on pageload without the user clicking on the direction icon,
|
526 |
* the default map is shown without any alert boxes.
|
527 |
*/
|
528 |
+
if ( $( ".wpsl-icon-direction" ).hasClass( "wpsl-user-activated" ) && !$( ".wpsl-search" ).hasClass( "wpsl-geolocation-run" ) ) {
|
529 |
switch ( error.code ) {
|
530 |
case error.PERMISSION_DENIED:
|
531 |
alert( wpslGeolocationErrors.denied );
|
542 |
}
|
543 |
|
544 |
$( ".wpsl-icon-direction" ).removeClass( "wpsl-active-icon" );
|
545 |
+
} else if ( !$( ".wpsl-search" ).hasClass( "wpsl-geolocation-run" ) ) {
|
546 |
clearTimeout( locationTimeout );
|
547 |
showStores( startLatLng, infoWindow );
|
548 |
}
|
585 |
showStores( startLatLng, infoWindow );
|
586 |
} else {
|
587 |
var latLng = new google.maps.LatLng( position.coords.latitude, position.coords.longitude );
|
588 |
+
|
589 |
/*
|
590 |
* Store the latlng from the geolocation for when the user hits "reset" again
|
591 |
* without having to ask for permission again.
|
js/wpsl-gmap.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(e){function t(t,l){var d,u,f,h,S,b,y,L=Number(wpslSettings.autoZoomLevel);u=n(l),f=i(),X=new google.maps.Geocoder,te=new google.maps.DirectionsRenderer,se=new google.maps.DirectionsService,d={zoom:Number(u.zoomLevel),center:u.startLatLng,mapTypeId:google.maps.MapTypeId[u.mapType.toUpperCase()],mapTypeControl:Number(u.mapTypeControl)?!0:!1,scrollwheel:Number(u.scrollWheel)?!0:!1,streetViewControl:Number(u.streetView)?!0:!1,zoomControlOptions:{position:google.maps.ControlPosition[u.controlPosition.toUpperCase()+"_TOP"]}},we=r(),ee=new google.maps.Map(document.getElementById(t),d),a(ee),p(u.mapStyle),"undefined"!=typeof window["wpslMap_"+l]&&"undefined"!=typeof window["wpslMap_"+l].locations&&(S=new google.maps.LatLngBounds,b=window["wpslMap_"+l].locations,y=b.length,e.each(b,function(e){h=new google.maps.LatLng(b[e].lat,b[e].lng),B(h,b[e].id,b[e],!1,f),S.extend(h)}),ee.fitBounds(S),google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){return function(){e.getZoom()>L&&e.setZoom(L)}}(ee))),e("#wpsl-gmap").length&&(1==wpslSettings.autoComplete&&s(),!w()&&e(".wpsl-dropdown").length&&1==wpslSettings.enableStyledDropdowns?Q():(e("#wpsl-search-wrap select").show(),w()?e("#wpsl-wrap").addClass("wpsl-mobile"):e("#wpsl-wrap").addClass("wpsl-default-filters")),e(".wpsl-search").hasClass("wpsl-widget")||(1==wpslSettings.autoLocate?g(u.startLatLng,f):1==wpslSettings.autoLoad&&c(u.startLatLng,f)),1!=wpslSettings.mouseFocus||w()||e("#wpsl-search-input").focus(),m(f),v(u,ee,f),J()),o()}function s(){var t,s,o,n={};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(n.componentRestrictions=wpslSettings.geocodeComponents),t=document.getElementById("wpsl-search-input"),s=new google.maps.places.Autocomplete(t,n),s.addListener("place_changed",function(){o=s.getPlace(),o.geometry&&(ne=o.geometry.location)})}function o(){"undefined"!=typeof wpslSettings.markerZoomTo&&1==wpslSettings.markerZoomTo&&google.maps.event.addListener(ee,"zoom_changed",function(){A()})}function n(e){var t,s,o,n=["zoomLevel","mapType","mapTypeControl","mapStyle","streetView","scrollWheel","controlPosition"],i={zoomLevel:wpslSettings.zoomLevel,mapType:wpslSettings.mapType,mapTypeControl:wpslSettings.mapTypeControl,mapStyle:wpslSettings.mapStyle,streetView:wpslSettings.streetView,scrollWheel:wpslSettings.scrollWheel,controlPosition:wpslSettings.controlPosition};if("undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].shortCode)for(t=0,s=n.length;s>t;t++)o=window["wpslMap_"+e].shortCode[n[t]],"undefined"!=typeof o&&(i[n[t]]=o);return i.startLatLng=l(e),i}function l(e){var t,s,o="";return"undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].locations&&(o=window["wpslMap_"+e].locations[0]),"undefined"!=typeof o&&"undefined"!=typeof o.lat&&"undefined"!=typeof o.lng?t=new google.maps.LatLng(o.lat,o.lng):""!==wpslSettings.startLatlng?(s=wpslSettings.startLatlng.split(","),t=new google.maps.LatLng(s[0],s[1])):t=new google.maps.LatLng(0,0),t}function i(){var e,t,s={};return"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle?(e=wpslSettings.infoBoxClearance.split(","),t=wpslSettings.infoBoxPixelOffset.split(","),s={alignBottom:!0,boxClass:wpslSettings.infoBoxClass,closeBoxMargin:wpslSettings.infoBoxCloseMargin,closeBoxURL:wpslSettings.infoBoxCloseUrl,content:"",disableAutoPan:Number(wpslSettings.infoBoxDisableAutoPan)?!0:!1,enableEventPropagation:Number(wpslSettings.infoBoxEnableEventPropagation)?!0:!1,infoBoxClearance:new google.maps.Size(Number(e[0]),Number(e[1])),pixelOffset:new google.maps.Size(Number(t[0]),Number(t[1])),zIndex:Number(wpslSettings.infoBoxZindex)},ie=new InfoBox(s)):ie=new google.maps.InfoWindow,ie}function a(t){var s=parseInt(wpslSettings.draggable.disableRes),o={draggable:Boolean(wpslSettings.draggable.enabled)};"NaN"!==s&&o.draggable&&(o.draggable=e(document).width()>s?!0:!1),t.setOptions(o)}function r(){var e,t=wpslSettings.markerIconProps,s={};"undefined"!=typeof t.url?s.url=t.url:s.url=wpslSettings.url+"img/markers/";for(var o in t)t.hasOwnProperty(o)&&(e=t[o].split(","),2==e.length&&(s[o]=e));return s}function p(e){e=d(e),e&&ee.setOptions({styles:e})}function d(e){try{var t=JSON.parse(e);if(t&&"object"==typeof t&&null!==t)return t}catch(s){}return!1}function c(e,t){B(e,0,"",!0,t),M(e,fe,he,t)}function w(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function g(t,s){if(navigator.geolocation){var o,n,l=!1,i=Number(wpslSettings.geoLocationTimout);o=setInterval(function(){e(".wpsl-icon-direction").toggleClass("wpsl-active-icon")},600),n=setTimeout(function(){u(o),c(t,s)},i),navigator.geolocation.getCurrentPosition(function(e){u(o),clearTimeout(n),F(l),f(t,e,fe,s)},function(o){if(e(".wpsl-icon-direction").hasClass("wpsl-user-activated")){switch(o.code){case o.PERMISSION_DENIED:alert(wpslGeolocationErrors.denied);break;case o.POSITION_UNAVAILABLE:alert(wpslGeolocationErrors.unavailable);break;case o.TIMEOUT:alert(wpslGeolocationErrors.timeout);break;default:alert(wpslGeolocationErrors.generalError)}e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}else clearTimeout(n),c(t,s)},{maximumAge:6e4,timeout:i,enableHighAccuracy:!0})}else alert(wpslGeolocationErrors.unavailable),c(t,s)}function u(t){clearInterval(t),e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}function f(e,t,s,o){if("undefined"==typeof t)c(e,o);else{var n=new google.maps.LatLng(t.coords.latitude,t.coords.longitude);oe=t,N(n),ee.setCenter(n),B(n,0,"",!0,o),M(n,s,he,o)}}function m(t){e("#wpsl-search-btn").unbind("click").bind("click",function(s){var o=!1;return e("#wpsl-search-input").removeClass(),e("#wpsl-search-input").val()?(e("#wpsl-result-list ul").empty(),e("#wpsl-stores").show(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-direction-details").hide(),fe=!1,h(),F(o),b(),1==wpslSettings.autoComplete&&"undefined"!=typeof ne?x(ne,t):I(t)):e("#wpsl-search-input").addClass("wpsl-error").focus(),!1})}function h(){"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&"undefined"!=typeof de[0]&&de[0].close()}function v(t,s,o){google.maps.event.addListenerOnce(s,"tilesloaded",function(){e(".gm-style").append(wpslSettings.mapControls),e(".wpsl-icon-reset, #wpsl-reset-map").length>0&&(S(t.startLatLng,o),e(".wpsl-icon-reset").hide()),e(".wpsl-icon-direction").on("click",function(){e(this).addClass("wpsl-user-activated"),g(t.startLatLng,o)})})}function S(t,s){e(".wpsl-icon-reset, #wpsl-reset-map").on("click",function(){var o=!1,n=!0;e(this).hasClass("wpsl-in-progress")||(1==wpslSettings.autoLoad&&(he=1),(ee.getCenter().lat()!==ue.centerLatlng.lat()||ee.getCenter().lng()!==ue.centerLatlng.lng()||ee.getZoom()!==ue.zoomLevel)&&(F(o),e("#wpsl-search-input").val("").removeClass(),e(".wpsl-icon-reset").addClass("wpsl-in-progress"),ae&&ae.clearMarkers(),b(),y(),1==wpslSettings.autoLocate?f(t,oe,n,s):c(t,s)),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide())})}function b(){"undefined"!=typeof re&&""!==re&&(re.setMap(null),re="")}function y(){var t,s,o,n,l,i,a,r,p=e("#wpsl-wrap").hasClass("wpsl-default-filters"),d=[wpslSettings.searchRadius+" "+wpslSettings.distanceUnit,wpslSettings.maxResults],c=["wpsl-radius","wpsl-results"];for(t=0,s=c.length;s>t;t++)e("#"+c[t]+" select").val(parseInt(d[t])),e("#"+c[t]+" li").removeClass(),"wpsl-radius"==c[t]?o=wpslSettings.searchRadius:"wpsl-results"==c[t]&&(o=wpslSettings.maxResults),e("#"+c[t]+" li").each(function(){e(this).text()===d[t]&&(e(this).addClass("wpsl-selected-dropdown"),e("#"+c[t]+" .wpsl-selected-item").html(d[t]).attr("data-value",o))});e("#wpsl-category").length&&(e("#wpsl-category select").val(0),e("#wpsl-category li").removeClass(),e("#wpsl-category li:first-child").addClass("wpsl-selected-dropdown"),n=e("#wpsl-category li:first-child").text(),e("#wpsl-category .wpsl-selected-item").html(n).attr("data-value",0)),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){p?e(this).find("option").removeAttr("selected"):(l=e(this).siblings("div"),i=l.find("li:first-child"),a=i.text(),r=i.attr("data-value"),l.find("li").removeClass(),l.prev().html(a).attr("data-value",r))})}function L(t){var s,o,n,l,i;for(h(),i=t.parents("li").length>0?t.parents("li").data("store-id"):t.parents(".wpsl-info-window").data("store-id"),"undefined"!=typeof re&&""!==re&&(o=re.getPosition()),ge={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},s=0,l=ce.length;l>s;s++)0!=ce[s].storeId||"undefined"!=typeof o&&""!==o?ce[s].storeId==i&&(n=ce[s].getPosition()):o=ce[s].getPosition();o&&n?(e("#wpsl-direction-details ul").empty(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),k(o,n)):alert(wpslLabels.generalError)}function C(e,t){var s,o,n;for(s=0,o=ce.length;o>s;s++)ce[s].storeId==e&&(n=ce[s],"start"==t?n.setAnimation(google.maps.Animation.BOUNCE):n.setAnimation(null))}function k(t,s){var o,n,l,i,a,r,p,d,c,w="",g={};d="km"==wpslSettings.distanceUnit?"METRIC":"IMPERIAL",g={origin:t,destination:s,travelMode:google.maps.DirectionsTravelMode.DRIVING,unitSystem:google.maps.UnitSystem[d]},se.route(g,function(t,s){if(s==google.maps.DirectionsStatus.OK){if(te.setMap(ee),te.setDirections(t),t.routes.length>0){for(a=t.routes[0],r=0;r<a.legs.length;r++)for(o=a.legs[r],p=0,n=o.steps.length;n>p;p++)l=o.steps[p],i=p+1,w=w+"<li><div class='wpsl-direction-index'>"+i+"</div><div class='wpsl-direction-txt'>"+l.instructions+"</div><div class='wpsl-direction-distance'>"+l.distance.text+"</div></li>";for(e("#wpsl-direction-details ul").append(w).before("<div class='wpsl-direction-before'><a class='wpsl-back' id='wpsl-direction-start' href='#'>"+wpslLabels.back+"</a><div><span class='wpsl-total-distance'>"+a.legs[0].distance.text+"</span> - <span class='wpsl-total-durations'>"+a.legs[0].duration.text+"</span></div></div>").after("<p class='wpsl-direction-after'>"+t.routes[0].copyrights+"</p>"),e("#wpsl-direction-details").show(),r=0,n=ce.length;n>r;r++)ce[r].setMap(null);ae&&ae.clearMarkers(),"undefined"!=typeof re&&""!==re&&re.setMap(null),e("#wpsl-stores").hide(),1==wpslSettings.templateId&&(c=e("#wpsl-gmap").offset(),e(window).scrollTop(c.top))}}else q(s)})}function I(t){var s,o={address:e("#wpsl-search-input").val()};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(o.componentRestrictions=wpslSettings.geocodeComponents),X.geocode(o,function(e,o){o==google.maps.GeocoderStatus.OK?(s=e[0].geometry.location,x(s,t)):H(o)})}function x(e,t){var s=!1;B(e,0,"",!0,t),M(e,fe,s,t)}function N(t){var s;X.geocode({latLng:t},function(t,o){o==google.maps.GeocoderStatus.OK?(s=E(t),""!==s&&e("#wpsl-search-input").val(s)):H(o)})}function E(e){var t,s,o,n=e[0].address_components.length;for(o=0;n>o;o++)s=e[0].address_components[o].types,(/^postal_code$/.test(s)||/^postal_code_prefix,postal_code$/.test(s))&&(t=e[0].address_components[o].long_name);return t}function M(e,t,s,o){1==wpslSettings.directionRedirect?R(e,function(){P(e,t,s,o)}):P(e,t,s,o)}function R(e,t){X.geocode({latLng:e},function(e,s){s==google.maps.GeocoderStatus.OK?(pe=e[0].formatted_address,t()):H(s)})}function P(t,s,o,n){var l,i,a={},r="",p=!1,d=e("#wpsl-listing-template").html(),c=e("#wpsl-stores ul"),g=wpslSettings.url+"img/ajax-loader.gif";a=O(t,s,o),c.empty().append("<li class='wpsl-preloader'><img src='"+g+"'/>"+wpslLabels.preloader+"</li>"),e.get(wpslSettings.ajaxurl,a,function(s){e(".wpsl-preloader, .no-results").remove(),s.length>0?(e.each(s,function(e){_.extend(s[e],Ce),l=new google.maps.LatLng(s[e].lat,s[e].lng),B(l,s[e].id,s[e],p,n),r+=_.template(d)(s[e])}),e("#wpsl-result-list").off("click",".wpsl-directions"),c.empty(),c.append(r),e("#wpsl-result-list").on("click",".wpsl-directions",function(){return 1!=wpslSettings.directionRedirect?(L(e(this)),!1):void 0}),Z(),e("#wpsl-result-list p:empty").remove()):(B(t,0,"",!0,n),i=T(),c.html("<li class='no-results'>"+i+"</li>")),K(),1==wpslSettings.resetMap&&(e.isEmptyObject(ue)&&google.maps.event.addListenerOnce(ee,"tilesloaded",function(){ue={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},e("#wpsl-map-controls").addClass("wpsl-reset-exists"),e(".wpsl-icon-reset, #wpsl-reset-map").show()}),e(".wpsl-icon-reset").removeClass("wpsl-in-progress"))}),1!=wpslSettings.mouseFocus||w()||e("#wpsl-search-input").focus()}function O(t,s,o){var n,l,i,a,r="",p=e("#wpsl-wrap").hasClass("wpsl-mobile"),d=e("#wpsl-wrap").hasClass("wpsl-default-filters"),c={action:"store_search",lat:t.lat(),lng:t.lng()};return s?(c.max_results=wpslSettings.maxResults,c.radius=wpslSettings.searchRadius):(p||d?(n=parseInt(e("#wpsl-results .wpsl-dropdown").val()),l=parseInt(e("#wpsl-radius .wpsl-dropdown").val())):(n=parseInt(e("#wpsl-results .wpsl-selected-item").attr("data-value")),l=parseInt(e("#wpsl-radius .wpsl-selected-item").attr("data-value"))),isNaN(n)?c.max_results=wpslSettings.maxResults:c.max_results=n,isNaN(l)?c.radius=wpslSettings.searchRadius:c.radius=l,"undefined"!=typeof wpslSettings.categoryIds?c.filter=wpslSettings.categoryIds:e("#wpsl-category").length>0?(r=p||d?parseInt(e("#wpsl-category .wpsl-dropdown").val()):parseInt(e("#wpsl-category .wpsl-selected-item").attr("data-value")),isNaN(r)||0===r||(c.filter=r)):e("#wpsl-checkbox-filter").length>0&&e("#wpsl-checkbox-filter input:checked").length>0&&(c.filter=z()),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){i="",a="",p||d?(i=e(this).attr("name"),a=e(this).val()):(i=e(this).attr("name"),a=e(this).next(".wpsl-selected-item").attr("data-value")),i&&a&&(c[i]=a)})),1==o&&("undefined"!=typeof oe?c.skip_cache=1:(c.autoload=1,"undefined"!=typeof wpslSettings.categoryIds&&(c.filter=wpslSettings.categoryIds))),"undefined"!=typeof wpslSettings.collectStatistics&&0==o&&(c.search=e("#wpsl-search-input").val()),c}function T(){var e;return e="undefined"!=typeof wpslSettings.noResults&&""!==wpslSettings.noResults?wpslSettings.noResults:wpslLabels.noResults}function z(){var t=e("#wpsl-checkbox-filter input:checked").map(function(){return e(this).val()});return t=t.get(),t=t.join(",")}function Z(){if(1==wpslSettings.markerClusters){var e=Number(wpslSettings.clusterZoom),t=Number(wpslSettings.clusterSize);isNaN(e)&&(e=""),isNaN(t)&&(t=""),ae=new MarkerClusterer(ee,ce,{gridSize:t,maxZoom:e})}}function B(e,t,s,o,n){var l,i,a,r=!0;0===t?(s={store:wpslLabels.startPoint},l=we.url+wpslSettings.startMarker):l=we.url+wpslSettings.storeMarker,i={url:l,scaledSize:new google.maps.Size(Number(we.scaledSize[0]),Number(we.scaledSize[1])),origin:new google.maps.Point(Number(we.origin[0]),Number(we.origin[1])),anchor:new google.maps.Point(Number(we.anchor[0]),Number(we.anchor[1]))},a=new google.maps.Marker({position:e,map:ee,optimized:!1,title:V(s.store),draggable:o,storeId:t,icon:i}),ce.push(a),google.maps.event.addListener(a,"click",function(o){return function(){0!=t?"undefined"!=typeof wpslSettings.markerStreetView&&1==wpslSettings.markerStreetView?G(e,function(){$(a,j(s),n,o)}):$(a,j(s),n,o):$(a,wpslLabels.startPoint,n,o),google.maps.event.clearListeners(n,"domready"),google.maps.event.addListener(n,"domready",function(){U(a,o),A()})}}(ee)),o&&google.maps.event.addListener(a,"dragend",function(e){F(r),ee.setCenter(e.latLng),N(e.latLng),M(e.latLng,fe,he=!1,n)})}function V(e){return e?e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)}):void 0}function $(e,t,s,o){de.length=0,s.setContent(t),s.open(o,e),de.push(s),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters&&(le=e.storeId,s.setVisible(!0))}function U(t,s){e(".wpsl-info-actions a").on("click",function(o){var n=Number(wpslSettings.autoZoomLevel);if(o.stopImmediatePropagation(),e(this).hasClass("wpsl-directions")){if(1==wpslSettings.directionRedirect)return!0;L(e(this))}else e(this).hasClass("wpsl-streetview")?W(t,s):e(this).hasClass("wpsl-zoom-here")&&(s.setCenter(t.getPosition()),s.setZoom(n));return!1})}function A(){var t=ee.getZoom();t>=wpslSettings.autoZoomLevel?e(".wpsl-zoom-here").hide():e(".wpsl-zoom-here").show()}function W(t,s){var o=s.getStreetView();o.setPosition(t.getPosition()),o.setVisible(!0),e("#wpsl-map-controls").hide(),D(o,s)}function D(t,s){google.maps.event.addListener(t,"visible_changed",function(){if(!t.getVisible()){var o=s.getZoom();e("#wpsl-map-controls").show(),s.setZoom(o-1),s.setZoom(o)}})}function G(e,t){var s=new google.maps.StreetViewService;s.getPanoramaByLocation(e,50,function(e,s){me=s==google.maps.StreetViewStatus.OK?!0:!1,t()})}function j(t){var s,o;return o=e("#wpsl-base-gmap_0").length?e("#wpsl-cpt-info-window-template").html():e("#wpsl-info-window-template").html(),s=_.template(o)(t)}function K(){var e,t,s=Number(wpslSettings.autoZoomLevel),o=new google.maps.LatLngBounds;for(google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){this.getZoom()>s&&this.setZoom(s)}),e=0,t=ce.length;t>e;e++)o.extend(ce[e].position);ee.fitBounds(o)}function F(e){var t,s;if(te.setMap(null),ce){for(s=0,t=ce.length;t>s;s++)e?1!=ce[s].draggable?ce[s].setMap(null):re=ce[s]:ce[s].setMap(null);ce.length=0}ae&&ae.clearMarkers()}function H(e){var t;switch(e){case"ZERO_RESULTS":t=wpslLabels.noResults;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function q(e){var t;switch(e){case"NOT_FOUND":case"ZERO_RESULTS":t=wpslLabels.noDirectionsFound;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function Q(){var t=Number(wpslSettings.maxDropdownHeight);e(".wpsl-dropdown").each(function(s){var o,n,l=e(this);l.$dropdownWrap=l.wrap("<div class='wpsl-dropdown'></div>").parent(),l.$selectedVal=l.val(),l.$dropdownElem=e("<div><ul/></div>").appendTo(l.$dropdownWrap),l.$dropdown=l.$dropdownElem.find("ul"),l.$options=l.$dropdownWrap.find("option"),l.hide().removeClass("wpsl-dropdown"),e.each(l.$options,function(){o=e(this).val()==l.$selectedVal?'class="wpsl-selected-dropdown"':"",l.$dropdown.append("<li data-value="+e(this).val()+" "+o+">"+e(this).text()+"</li>")}),l.$dropdownElem.before("<span data-value="+l.find(":selected").val()+" class='wpsl-selected-item'>"+l.find(":selected").text()+"</span>"),l.$dropdownItem=l.$dropdownElem.find("li"),l.$dropdownWrap.on("click",function(s){return e(this).hasClass("wpsl-active")?void e(this).removeClass("wpsl-active"):(Y(),e(this).toggleClass("wpsl-active"),n=0,e(this).hasClass("wpsl-active")?(l.$dropdownItem.each(function(t){n+=e(this).outerHeight()}),l.$dropdownElem.css("height",n+2+"px")):l.$dropdownElem.css("height",0),n>t&&(e(this).addClass("wpsl-scroll-required"),l.$dropdownElem.css("height",t+"px")),void s.stopPropagation())}),l.$dropdownItem.on("click",function(t){l.$dropdownWrap.find(e(".wpsl-selected-item")).html(e(this).text()).attr("data-value",e(this).attr("data-value")),l.$dropdownItem.removeClass("wpsl-selected-dropdown"),e(this).addClass("wpsl-selected-dropdown"),Y(),t.stopPropagation()})}),e(document).click(function(){Y()})}function Y(){e(".wpsl-dropdown").removeClass("wpsl-active"),e(".wpsl-dropdown div").css("height",0)}function J(){e(".wpsl-search").hasClass("wpsl-widget")&&(e("#wpsl-search-btn").trigger("click"),e(".wpsl-search").removeClass("wpsl-widget"))}var X,ee,te,se,oe,ne,le,ie,ae,re,pe,de=[],ce=[],we={},ge={},ue={},fe=!1,me=!1,he="undefined"!=typeof wpslSettings?wpslSettings.autoLoad:"";if(_.templateSettings={evaluate:/\<\%(.+?)\%\>/g,interpolate:/\<\%=(.+?)\%\>/g,escape:/\<\%-(.+?)\%\>/g},e(".wpsl-gmap-canvas").length&&(e("<img />").attr("src",wpslSettings.url+"img/ajax-loader.gif"),e(".wpsl-gmap-canvas").each(function(s){var o=e(this).attr("id");t(o,s)})),e("#wpsl-result-list").on("click",".wpsl-back",function(){var t,s;for(te.setMap(null),t=0,s=ce.length;s>t;t++)ce[t].setMap(ee);return"undefined"!=typeof re&&""!==re&&re.setMap(ee),ae&&Z(),ee.setCenter(ge.centerLatlng),ee.setZoom(ge.zoomLevel),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide(),!1}),e("#wpsl-gmap").length&&("bounce"==wpslSettings.markerEffect?(e("#wpsl-stores").on("mouseenter","li",function(){C(e(this).data("store-id"),"start")}),e("#wpsl-stores").on("mouseleave","li",function(){C(e(this).data("store-id"),"stop")})):"info_window"==wpslSettings.markerEffect&&e("#wpsl-stores").on("mouseenter","li",function(){var t,s;for(t=0,s=ce.length;s>t;t++)ce[t].storeId==e(this).data("store-id")&&(google.maps.event.trigger(ce[t],"click"),ee.setCenter(ce[t].position))})),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters){var ve,Se,be,ye,Le;google.maps.event.addListener(ee,"zoom_changed",function(){google.maps.event.addListenerOnce(ee,"idle",function(){if("undefined"!=typeof ae&&(ve=ae.clusters_,ve.length))for(ye=0,Se=ve.length;Se>ye;ye++)for(Le=0,be=ve[ye].markers_.length;be>Le;Le++)if(ve[ye].markers_[Le].storeId==le){ie.getVisible()&&null===ve[ye].markers_[Le].map?ie.setVisible(!1):ie.getVisible()||null===ve[ye].markers_[Le].map||ie.setVisible(!0);break}})})}var Ce={formatPhoneNumber:function(e){return 1==wpslSettings.phoneUrl&&w()&&(e="<a href='tel:"+Ce.formatClickablePhoneNumber(e)+"'>"+e+"</a>"),e},formatClickablePhoneNumber:function(e){return-1!=e.indexOf("+")&&-1!=e.indexOf("(0)")&&(e=e.replace("(0)","")),e.replace(/(-| |\(|\)|\.|)/g,"")},createInfoWindowActions:function(t){var s,o="",n="";return e("#wpsl-gmap").length&&(me&&(o="<a class='wpsl-streetview' href='#'>"+wpslLabels.streetView+"</a>"),1==wpslSettings.markerZoomTo&&(n="<a class='wpsl-zoom-here' href='#'>"+wpslLabels.zoomHere+"</a>"),s="<div class='wpsl-info-actions'>"+Ce.createDirectionUrl(t)+o+n+"</div>"),s},createDirectionUrl:function(t){var s,o,n,l={};return 1==wpslSettings.directionRedirect?("undefined"==typeof pe&&(pe=""),l.target="target='_blank'","undefined"!=typeof t?l.src=e("[data-store-id="+t+"] .wpsl-directions").attr("href"):(n=this.zip?this.zip+", ":"",o=this.address+", "+this.city+", "+n+this.country,l.src="https://maps.google.com/maps?saddr="+Ce.rfc3986EncodeURIComponent(pe)+"&daddr="+Ce.rfc3986EncodeURIComponent(o))):l={src:"#",target:""},s="<a class='wpsl-directions' "+l.target+" href='"+l.src+"'>"+wpslLabels.directions+"</a>"},rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)}};if(e("#wpsl-stores").on("click",".wpsl-store-details",function(){var t,s,o=e(this).parents("li"),n=o.data("store-id");if("info window"==wpslSettings.moreInfoLocation)for(t=0,s=ce.length;s>t;t++)ce[t].storeId==n&&google.maps.event.trigger(ce[t],"click");else o.find(".wpsl-more-info-listings").is(":visible")?e(this).removeClass("wpsl-active-details"):e(this).addClass("wpsl-active-details"),o.siblings().find(".wpsl-store-details").removeClass("wpsl-active-details"),o.siblings().find(".wpsl-more-info-listings").hide(),o.find(".wpsl-more-info-listings").toggle();return"default"!=wpslSettings.templateId||"store listings"==wpslSettings.moreInfoLocation?!1:void 0}),e("a[href='#"+wpslSettings.mapTabAnchor+"']").length){var ke,Ie,xe=Number(wpslSettings.mapTabAnchorReturn)?!0:!1,_e=e("a[href='#"+wpslSettings.mapTabAnchor+"']");_e.on("click",function(){return setTimeout(function(){ke=ee.getZoom(),Ie=ee.getCenter(),google.maps.event.trigger(ee,"resize"),ee.setZoom(ke),ee.setCenter(Ie),K()},50),xe})}});
|
1 |
+
jQuery(document).ready(function(e){function t(t,l){var d,u,f,h,S,b,y,L=Number(wpslSettings.autoZoomLevel);u=n(l),f=i(),X=new google.maps.Geocoder,te=new google.maps.DirectionsRenderer,se=new google.maps.DirectionsService,d={zoom:Number(u.zoomLevel),center:u.startLatLng,mapTypeId:google.maps.MapTypeId[u.mapType.toUpperCase()],mapTypeControl:Number(u.mapTypeControl)?!0:!1,scrollwheel:Number(u.scrollWheel)?!0:!1,streetViewControl:Number(u.streetView)?!0:!1,zoomControlOptions:{position:google.maps.ControlPosition[u.controlPosition.toUpperCase()+"_TOP"]}},we=r(),ee=new google.maps.Map(document.getElementById(t),d),a(ee),p(u.mapStyle),"undefined"!=typeof window["wpslMap_"+l]&&"undefined"!=typeof window["wpslMap_"+l].locations&&(S=new google.maps.LatLngBounds,b=window["wpslMap_"+l].locations,y=b.length,e.each(b,function(e){h=new google.maps.LatLng(b[e].lat,b[e].lng),B(h,b[e].id,b[e],!1,f),S.extend(h)}),ee.fitBounds(S),google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){return function(){e.getZoom()>L&&e.setZoom(L)}}(ee))),e("#wpsl-gmap").length&&(1==wpslSettings.autoComplete&&s(),!w()&&e(".wpsl-dropdown").length&&1==wpslSettings.enableStyledDropdowns?Q():(e("#wpsl-search-wrap select").show(),w()?e("#wpsl-wrap").addClass("wpsl-mobile"):e("#wpsl-wrap").addClass("wpsl-default-filters")),e(".wpsl-search").hasClass("wpsl-widget")||(1==wpslSettings.autoLocate?g(u.startLatLng,f):1==wpslSettings.autoLoad&&c(u.startLatLng,f)),1!=wpslSettings.mouseFocus||w()||e("#wpsl-search-input").focus(),m(f),v(u,ee,f),J()),o()}function s(){var t,s,o,n={};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(n.componentRestrictions=wpslSettings.geocodeComponents),t=document.getElementById("wpsl-search-input"),s=new google.maps.places.Autocomplete(t,n),s.addListener("place_changed",function(){o=s.getPlace(),o.geometry&&(ne=o.geometry.location)})}function o(){"undefined"!=typeof wpslSettings.markerZoomTo&&1==wpslSettings.markerZoomTo&&google.maps.event.addListener(ee,"zoom_changed",function(){A()})}function n(e){var t,s,o,n=["zoomLevel","mapType","mapTypeControl","mapStyle","streetView","scrollWheel","controlPosition"],i={zoomLevel:wpslSettings.zoomLevel,mapType:wpslSettings.mapType,mapTypeControl:wpslSettings.mapTypeControl,mapStyle:wpslSettings.mapStyle,streetView:wpslSettings.streetView,scrollWheel:wpslSettings.scrollWheel,controlPosition:wpslSettings.controlPosition};if("undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].shortCode)for(t=0,s=n.length;s>t;t++)o=window["wpslMap_"+e].shortCode[n[t]],"undefined"!=typeof o&&(i[n[t]]=o);return i.startLatLng=l(e),i}function l(e){var t,s,o="";return"undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].locations&&(o=window["wpslMap_"+e].locations[0]),"undefined"!=typeof o&&"undefined"!=typeof o.lat&&"undefined"!=typeof o.lng?t=new google.maps.LatLng(o.lat,o.lng):""!==wpslSettings.startLatlng?(s=wpslSettings.startLatlng.split(","),t=new google.maps.LatLng(s[0],s[1])):t=new google.maps.LatLng(0,0),t}function i(){var e,t,s={};return"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle?(e=wpslSettings.infoBoxClearance.split(","),t=wpslSettings.infoBoxPixelOffset.split(","),s={alignBottom:!0,boxClass:wpslSettings.infoBoxClass,closeBoxMargin:wpslSettings.infoBoxCloseMargin,closeBoxURL:wpslSettings.infoBoxCloseUrl,content:"",disableAutoPan:Number(wpslSettings.infoBoxDisableAutoPan)?!0:!1,enableEventPropagation:Number(wpslSettings.infoBoxEnableEventPropagation)?!0:!1,infoBoxClearance:new google.maps.Size(Number(e[0]),Number(e[1])),pixelOffset:new google.maps.Size(Number(t[0]),Number(t[1])),zIndex:Number(wpslSettings.infoBoxZindex)},ie=new InfoBox(s)):ie=new google.maps.InfoWindow,ie}function a(t){var s=parseInt(wpslSettings.draggable.disableRes),o={draggable:Boolean(wpslSettings.draggable.enabled)};"NaN"!==s&&o.draggable&&(o.draggable=e(document).width()>s?!0:!1),t.setOptions(o)}function r(){var e,t=wpslSettings.markerIconProps,s={};"undefined"!=typeof t.url?s.url=t.url:s.url=wpslSettings.url+"img/markers/";for(var o in t)t.hasOwnProperty(o)&&(e=t[o].split(","),2==e.length&&(s[o]=e));return s}function p(e){e=d(e),e&&ee.setOptions({styles:e})}function d(e){try{var t=JSON.parse(e);if(t&&"object"==typeof t&&null!==t)return t}catch(s){}return!1}function c(e,t){B(e,0,"",!0,t),M(e,fe,he,t)}function w(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function g(t,s){if(navigator.geolocation){var o,n,l=!1,i=Number(wpslSettings.geoLocationTimout);o=setInterval(function(){e(".wpsl-icon-direction").toggleClass("wpsl-active-icon")},600),n=setTimeout(function(){u(o),c(t,s)},i),navigator.geolocation.getCurrentPosition(function(i){u(o),clearTimeout(n),F(l),f(t,i,fe,s),e(".wpsl-search").addClass("wpsl-geolocation-run")},function(o){if(e(".wpsl-icon-direction").hasClass("wpsl-user-activated")&&!e(".wpsl-search").hasClass("wpsl-geolocation-run")){switch(o.code){case o.PERMISSION_DENIED:alert(wpslGeolocationErrors.denied);break;case o.POSITION_UNAVAILABLE:alert(wpslGeolocationErrors.unavailable);break;case o.TIMEOUT:alert(wpslGeolocationErrors.timeout);break;default:alert(wpslGeolocationErrors.generalError)}e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}else e(".wpsl-search").hasClass("wpsl-geolocation-run")||(clearTimeout(n),c(t,s))},{maximumAge:6e4,timeout:i,enableHighAccuracy:!0})}else alert(wpslGeolocationErrors.unavailable),c(t,s)}function u(t){clearInterval(t),e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}function f(e,t,s,o){if("undefined"==typeof t)c(e,o);else{var n=new google.maps.LatLng(t.coords.latitude,t.coords.longitude);oe=t,N(n),ee.setCenter(n),B(n,0,"",!0,o),M(n,s,he,o)}}function m(t){e("#wpsl-search-btn").unbind("click").bind("click",function(s){var o=!1;return e("#wpsl-search-input").removeClass(),e("#wpsl-search-input").val()?(e("#wpsl-result-list ul").empty(),e("#wpsl-stores").show(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-direction-details").hide(),fe=!1,h(),F(o),b(),1==wpslSettings.autoComplete&&"undefined"!=typeof ne?x(ne,t):I(t)):e("#wpsl-search-input").addClass("wpsl-error").focus(),!1})}function h(){"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&"undefined"!=typeof de[0]&&de[0].close()}function v(t,s,o){google.maps.event.addListenerOnce(s,"tilesloaded",function(){e(".gm-style").append(wpslSettings.mapControls),e(".wpsl-icon-reset, #wpsl-reset-map").length>0&&(S(t.startLatLng,o),e(".wpsl-icon-reset").hide()),e(".wpsl-icon-direction").on("click",function(){e(this).addClass("wpsl-user-activated"),g(t.startLatLng,o)})})}function S(t,s){e(".wpsl-icon-reset, #wpsl-reset-map").on("click",function(){var o=!1,n=!0;e(this).hasClass("wpsl-in-progress")||(1==wpslSettings.autoLoad&&(he=1),(ee.getCenter().lat()!==ue.centerLatlng.lat()||ee.getCenter().lng()!==ue.centerLatlng.lng()||ee.getZoom()!==ue.zoomLevel)&&(F(o),e("#wpsl-search-input").val("").removeClass(),e(".wpsl-icon-reset").addClass("wpsl-in-progress"),ae&&ae.clearMarkers(),b(),y(),1==wpslSettings.autoLocate?f(t,oe,n,s):c(t,s)),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide())})}function b(){"undefined"!=typeof re&&""!==re&&(re.setMap(null),re="")}function y(){var t,s,o,n,l,i,a,r,p=e("#wpsl-wrap").hasClass("wpsl-default-filters"),d=[wpslSettings.searchRadius+" "+wpslSettings.distanceUnit,wpslSettings.maxResults],c=["wpsl-radius","wpsl-results"];for(t=0,s=c.length;s>t;t++)e("#"+c[t]+" select").val(parseInt(d[t])),e("#"+c[t]+" li").removeClass(),"wpsl-radius"==c[t]?o=wpslSettings.searchRadius:"wpsl-results"==c[t]&&(o=wpslSettings.maxResults),e("#"+c[t]+" li").each(function(){e(this).text()===d[t]&&(e(this).addClass("wpsl-selected-dropdown"),e("#"+c[t]+" .wpsl-selected-item").html(d[t]).attr("data-value",o))});e("#wpsl-category").length&&(e("#wpsl-category select").val(0),e("#wpsl-category li").removeClass(),e("#wpsl-category li:first-child").addClass("wpsl-selected-dropdown"),n=e("#wpsl-category li:first-child").text(),e("#wpsl-category .wpsl-selected-item").html(n).attr("data-value",0)),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){p?e(this).find("option").removeAttr("selected"):(l=e(this).siblings("div"),i=l.find("li:first-child"),a=i.text(),r=i.attr("data-value"),l.find("li").removeClass(),l.prev().html(a).attr("data-value",r))})}function L(t){var s,o,n,l,i;for(h(),i=t.parents("li").length>0?t.parents("li").data("store-id"):t.parents(".wpsl-info-window").data("store-id"),"undefined"!=typeof re&&""!==re&&(o=re.getPosition()),ge={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},s=0,l=ce.length;l>s;s++)0!=ce[s].storeId||"undefined"!=typeof o&&""!==o?ce[s].storeId==i&&(n=ce[s].getPosition()):o=ce[s].getPosition();o&&n?(e("#wpsl-direction-details ul").empty(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),k(o,n)):alert(wpslLabels.generalError)}function C(e,t){var s,o,n;for(s=0,o=ce.length;o>s;s++)ce[s].storeId==e&&(n=ce[s],"start"==t?n.setAnimation(google.maps.Animation.BOUNCE):n.setAnimation(null))}function k(t,s){var o,n,l,i,a,r,p,d,c,w="",g={};d="km"==wpslSettings.distanceUnit?"METRIC":"IMPERIAL",g={origin:t,destination:s,travelMode:google.maps.DirectionsTravelMode.DRIVING,unitSystem:google.maps.UnitSystem[d]},se.route(g,function(t,s){if(s==google.maps.DirectionsStatus.OK){if(te.setMap(ee),te.setDirections(t),t.routes.length>0){for(a=t.routes[0],r=0;r<a.legs.length;r++)for(o=a.legs[r],p=0,n=o.steps.length;n>p;p++)l=o.steps[p],i=p+1,w=w+"<li><div class='wpsl-direction-index'>"+i+"</div><div class='wpsl-direction-txt'>"+l.instructions+"</div><div class='wpsl-direction-distance'>"+l.distance.text+"</div></li>";for(e("#wpsl-direction-details ul").append(w).before("<div class='wpsl-direction-before'><a class='wpsl-back' id='wpsl-direction-start' href='#'>"+wpslLabels.back+"</a><div><span class='wpsl-total-distance'>"+a.legs[0].distance.text+"</span> - <span class='wpsl-total-durations'>"+a.legs[0].duration.text+"</span></div></div>").after("<p class='wpsl-direction-after'>"+t.routes[0].copyrights+"</p>"),e("#wpsl-direction-details").show(),r=0,n=ce.length;n>r;r++)ce[r].setMap(null);ae&&ae.clearMarkers(),"undefined"!=typeof re&&""!==re&&re.setMap(null),e("#wpsl-stores").hide(),1==wpslSettings.templateId&&(c=e("#wpsl-gmap").offset(),e(window).scrollTop(c.top))}}else q(s)})}function I(t){var s,o={address:e("#wpsl-search-input").val()};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(o.componentRestrictions=wpslSettings.geocodeComponents),X.geocode(o,function(e,o){o==google.maps.GeocoderStatus.OK?(s=e[0].geometry.location,x(s,t)):H(o)})}function x(e,t){var s=!1;B(e,0,"",!0,t),M(e,fe,s,t)}function N(t){var s;X.geocode({latLng:t},function(t,o){o==google.maps.GeocoderStatus.OK?(s=E(t),""!==s&&e("#wpsl-search-input").val(s)):H(o)})}function E(e){var t,s,o,n=e[0].address_components.length;for(o=0;n>o;o++)s=e[0].address_components[o].types,(/^postal_code$/.test(s)||/^postal_code_prefix,postal_code$/.test(s))&&(t=e[0].address_components[o].long_name);return t}function M(e,t,s,o){1==wpslSettings.directionRedirect?R(e,function(){P(e,t,s,o)}):P(e,t,s,o)}function R(e,t){X.geocode({latLng:e},function(e,s){s==google.maps.GeocoderStatus.OK?(pe=e[0].formatted_address,t()):H(s)})}function P(t,s,o,n){var l,i,a={},r="",p=!1,d=e("#wpsl-listing-template").html(),c=e("#wpsl-stores ul"),g=wpslSettings.url+"img/ajax-loader.gif";a=O(t,s,o),c.empty().append("<li class='wpsl-preloader'><img src='"+g+"'/>"+wpslLabels.preloader+"</li>"),e.get(wpslSettings.ajaxurl,a,function(s){e(".wpsl-preloader, .no-results").remove(),s.length>0?(e.each(s,function(e){_.extend(s[e],Ce),l=new google.maps.LatLng(s[e].lat,s[e].lng),B(l,s[e].id,s[e],p,n),r+=_.template(d)(s[e])}),e("#wpsl-result-list").off("click",".wpsl-directions"),c.empty(),c.append(r),e("#wpsl-result-list").on("click",".wpsl-directions",function(){return 1!=wpslSettings.directionRedirect?(L(e(this)),!1):void 0}),Z(),e("#wpsl-result-list p:empty").remove()):(B(t,0,"",!0,n),i=T(),c.html("<li class='no-results'>"+i+"</li>")),K(),1==wpslSettings.resetMap&&(e.isEmptyObject(ue)&&google.maps.event.addListenerOnce(ee,"tilesloaded",function(){ue={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},e("#wpsl-map-controls").addClass("wpsl-reset-exists"),e(".wpsl-icon-reset, #wpsl-reset-map").show()}),e(".wpsl-icon-reset").removeClass("wpsl-in-progress"))}),1!=wpslSettings.mouseFocus||w()||e("#wpsl-search-input").focus()}function O(t,s,o){var n,l,i,a,r="",p=e("#wpsl-wrap").hasClass("wpsl-mobile"),d=e("#wpsl-wrap").hasClass("wpsl-default-filters"),c={action:"store_search",lat:t.lat(),lng:t.lng()};return s?(c.max_results=wpslSettings.maxResults,c.radius=wpslSettings.searchRadius):(p||d?(n=parseInt(e("#wpsl-results .wpsl-dropdown").val()),l=parseInt(e("#wpsl-radius .wpsl-dropdown").val())):(n=parseInt(e("#wpsl-results .wpsl-selected-item").attr("data-value")),l=parseInt(e("#wpsl-radius .wpsl-selected-item").attr("data-value"))),isNaN(n)?c.max_results=wpslSettings.maxResults:c.max_results=n,isNaN(l)?c.radius=wpslSettings.searchRadius:c.radius=l,"undefined"!=typeof wpslSettings.categoryIds?c.filter=wpslSettings.categoryIds:e("#wpsl-category").length>0?(r=p||d?parseInt(e("#wpsl-category .wpsl-dropdown").val()):parseInt(e("#wpsl-category .wpsl-selected-item").attr("data-value")),isNaN(r)||0===r||(c.filter=r)):e("#wpsl-checkbox-filter").length>0&&e("#wpsl-checkbox-filter input:checked").length>0&&(c.filter=z()),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){i="",a="",p||d?(i=e(this).attr("name"),a=e(this).val()):(i=e(this).attr("name"),a=e(this).next(".wpsl-selected-item").attr("data-value")),i&&a&&(c[i]=a)})),1==o&&("undefined"!=typeof oe?c.skip_cache=1:(c.autoload=1,"undefined"!=typeof wpslSettings.categoryIds&&(c.filter=wpslSettings.categoryIds))),"undefined"!=typeof wpslSettings.collectStatistics&&0==o&&(c.search=e("#wpsl-search-input").val()),c}function T(){var e;return e="undefined"!=typeof wpslSettings.noResults&&""!==wpslSettings.noResults?wpslSettings.noResults:wpslLabels.noResults}function z(){var t=e("#wpsl-checkbox-filter input:checked").map(function(){return e(this).val()});return t=t.get(),t=t.join(",")}function Z(){if(1==wpslSettings.markerClusters){var e=Number(wpslSettings.clusterZoom),t=Number(wpslSettings.clusterSize);isNaN(e)&&(e=""),isNaN(t)&&(t=""),ae=new MarkerClusterer(ee,ce,{gridSize:t,maxZoom:e})}}function B(e,t,s,o,n){var l,i,a,r=!0;0===t?(s={store:wpslLabels.startPoint},l=we.url+wpslSettings.startMarker):l=we.url+wpslSettings.storeMarker,i={url:l,scaledSize:new google.maps.Size(Number(we.scaledSize[0]),Number(we.scaledSize[1])),origin:new google.maps.Point(Number(we.origin[0]),Number(we.origin[1])),anchor:new google.maps.Point(Number(we.anchor[0]),Number(we.anchor[1]))},a=new google.maps.Marker({position:e,map:ee,optimized:!1,title:V(s.store),draggable:o,storeId:t,icon:i}),ce.push(a),google.maps.event.addListener(a,"click",function(o){return function(){0!=t?"undefined"!=typeof wpslSettings.markerStreetView&&1==wpslSettings.markerStreetView?G(e,function(){$(a,j(s),n,o)}):$(a,j(s),n,o):$(a,wpslLabels.startPoint,n,o),google.maps.event.clearListeners(n,"domready"),google.maps.event.addListener(n,"domready",function(){U(a,o),A()})}}(ee)),o&&google.maps.event.addListener(a,"dragend",function(e){F(r),ee.setCenter(e.latLng),N(e.latLng),M(e.latLng,fe,he=!1,n)})}function V(e){return e?e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)}):void 0}function $(e,t,s,o){de.length=0,s.setContent(t),s.open(o,e),de.push(s),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters&&(le=e.storeId,s.setVisible(!0))}function U(t,s){e(".wpsl-info-actions a").on("click",function(o){var n=Number(wpslSettings.autoZoomLevel);if(o.stopImmediatePropagation(),e(this).hasClass("wpsl-directions")){if(1==wpslSettings.directionRedirect)return!0;L(e(this))}else e(this).hasClass("wpsl-streetview")?W(t,s):e(this).hasClass("wpsl-zoom-here")&&(s.setCenter(t.getPosition()),s.setZoom(n));return!1})}function A(){var t=ee.getZoom();t>=wpslSettings.autoZoomLevel?e(".wpsl-zoom-here").hide():e(".wpsl-zoom-here").show()}function W(t,s){var o=s.getStreetView();o.setPosition(t.getPosition()),o.setVisible(!0),e("#wpsl-map-controls").hide(),D(o,s)}function D(t,s){google.maps.event.addListener(t,"visible_changed",function(){if(!t.getVisible()){var o=s.getZoom();e("#wpsl-map-controls").show(),s.setZoom(o-1),s.setZoom(o)}})}function G(e,t){var s=new google.maps.StreetViewService;s.getPanoramaByLocation(e,50,function(e,s){me=s==google.maps.StreetViewStatus.OK?!0:!1,t()})}function j(t){var s,o;return o=e("#wpsl-base-gmap_0").length?e("#wpsl-cpt-info-window-template").html():e("#wpsl-info-window-template").html(),s=_.template(o)(t)}function K(){var e,t,s=Number(wpslSettings.autoZoomLevel),o=new google.maps.LatLngBounds;for(google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){this.getZoom()>s&&this.setZoom(s)}),e=0,t=ce.length;t>e;e++)o.extend(ce[e].position);ee.fitBounds(o)}function F(e){var t,s;if(te.setMap(null),ce){for(s=0,t=ce.length;t>s;s++)e?1!=ce[s].draggable?ce[s].setMap(null):re=ce[s]:ce[s].setMap(null);ce.length=0}ae&&ae.clearMarkers()}function H(e){var t;switch(e){case"ZERO_RESULTS":t=wpslLabels.noResults;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function q(e){var t;switch(e){case"NOT_FOUND":case"ZERO_RESULTS":t=wpslLabels.noDirectionsFound;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function Q(){var t=Number(wpslSettings.maxDropdownHeight);e(".wpsl-dropdown").each(function(s){var o,n,l=e(this);l.$dropdownWrap=l.wrap("<div class='wpsl-dropdown'></div>").parent(),l.$selectedVal=l.val(),l.$dropdownElem=e("<div><ul/></div>").appendTo(l.$dropdownWrap),l.$dropdown=l.$dropdownElem.find("ul"),l.$options=l.$dropdownWrap.find("option"),l.hide().removeClass("wpsl-dropdown"),e.each(l.$options,function(){o=e(this).val()==l.$selectedVal?'class="wpsl-selected-dropdown"':"",l.$dropdown.append("<li data-value="+e(this).val()+" "+o+">"+e(this).text()+"</li>")}),l.$dropdownElem.before("<span data-value="+l.find(":selected").val()+" class='wpsl-selected-item'>"+l.find(":selected").text()+"</span>"),l.$dropdownItem=l.$dropdownElem.find("li"),l.$dropdownWrap.on("click",function(s){return e(this).hasClass("wpsl-active")?void e(this).removeClass("wpsl-active"):(Y(),e(this).toggleClass("wpsl-active"),n=0,e(this).hasClass("wpsl-active")?(l.$dropdownItem.each(function(t){n+=e(this).outerHeight()}),l.$dropdownElem.css("height",n+2+"px")):l.$dropdownElem.css("height",0),n>t&&(e(this).addClass("wpsl-scroll-required"),l.$dropdownElem.css("height",t+"px")),void s.stopPropagation())}),l.$dropdownItem.on("click",function(t){l.$dropdownWrap.find(e(".wpsl-selected-item")).html(e(this).text()).attr("data-value",e(this).attr("data-value")),l.$dropdownItem.removeClass("wpsl-selected-dropdown"),e(this).addClass("wpsl-selected-dropdown"),Y(),t.stopPropagation()})}),e(document).click(function(){Y()})}function Y(){e(".wpsl-dropdown").removeClass("wpsl-active"),e(".wpsl-dropdown div").css("height",0)}function J(){e(".wpsl-search").hasClass("wpsl-widget")&&(e("#wpsl-search-btn").trigger("click"),e(".wpsl-search").removeClass("wpsl-widget"))}var X,ee,te,se,oe,ne,le,ie,ae,re,pe,de=[],ce=[],we={},ge={},ue={},fe=!1,me=!1,he="undefined"!=typeof wpslSettings?wpslSettings.autoLoad:"";if(_.templateSettings={evaluate:/\<\%(.+?)\%\>/g,interpolate:/\<\%=(.+?)\%\>/g,escape:/\<\%-(.+?)\%\>/g},e(".wpsl-gmap-canvas").length&&(e("<img />").attr("src",wpslSettings.url+"img/ajax-loader.gif"),e(".wpsl-gmap-canvas").each(function(s){var o=e(this).attr("id");t(o,s)})),e("#wpsl-result-list").on("click",".wpsl-back",function(){var t,s;for(te.setMap(null),t=0,s=ce.length;s>t;t++)ce[t].setMap(ee);return"undefined"!=typeof re&&""!==re&&re.setMap(ee),ae&&Z(),ee.setCenter(ge.centerLatlng),ee.setZoom(ge.zoomLevel),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide(),!1}),e("#wpsl-gmap").length&&("bounce"==wpslSettings.markerEffect?(e("#wpsl-stores").on("mouseenter","li",function(){C(e(this).data("store-id"),"start")}),e("#wpsl-stores").on("mouseleave","li",function(){C(e(this).data("store-id"),"stop")})):"info_window"==wpslSettings.markerEffect&&e("#wpsl-stores").on("mouseenter","li",function(){var t,s;for(t=0,s=ce.length;s>t;t++)ce[t].storeId==e(this).data("store-id")&&(google.maps.event.trigger(ce[t],"click"),ee.setCenter(ce[t].position))})),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters){var ve,Se,be,ye,Le;google.maps.event.addListener(ee,"zoom_changed",function(){google.maps.event.addListenerOnce(ee,"idle",function(){if("undefined"!=typeof ae&&(ve=ae.clusters_,ve.length))for(ye=0,Se=ve.length;Se>ye;ye++)for(Le=0,be=ve[ye].markers_.length;be>Le;Le++)if(ve[ye].markers_[Le].storeId==le){ie.getVisible()&&null===ve[ye].markers_[Le].map?ie.setVisible(!1):ie.getVisible()||null===ve[ye].markers_[Le].map||ie.setVisible(!0);break}})})}var Ce={formatPhoneNumber:function(e){return 1==wpslSettings.phoneUrl&&w()&&(e="<a href='tel:"+Ce.formatClickablePhoneNumber(e)+"'>"+e+"</a>"),e},formatClickablePhoneNumber:function(e){return-1!=e.indexOf("+")&&-1!=e.indexOf("(0)")&&(e=e.replace("(0)","")),e.replace(/(-| |\(|\)|\.|)/g,"")},createInfoWindowActions:function(t){var s,o="",n="";return e("#wpsl-gmap").length&&(me&&(o="<a class='wpsl-streetview' href='#'>"+wpslLabels.streetView+"</a>"),1==wpslSettings.markerZoomTo&&(n="<a class='wpsl-zoom-here' href='#'>"+wpslLabels.zoomHere+"</a>"),s="<div class='wpsl-info-actions'>"+Ce.createDirectionUrl(t)+o+n+"</div>"),s},createDirectionUrl:function(t){var s,o,n,l={};return 1==wpslSettings.directionRedirect?("undefined"==typeof pe&&(pe=""),l.target="target='_blank'","undefined"!=typeof t?l.src=e("[data-store-id="+t+"] .wpsl-directions").attr("href"):(n=this.zip?this.zip+", ":"",o=this.address+", "+this.city+", "+n+this.country,l.src="https://maps.google.com/maps?saddr="+Ce.rfc3986EncodeURIComponent(pe)+"&daddr="+Ce.rfc3986EncodeURIComponent(o))):l={src:"#",target:""},s="<a class='wpsl-directions' "+l.target+" href='"+l.src+"'>"+wpslLabels.directions+"</a>"},rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)}};if(e("#wpsl-stores").on("click",".wpsl-store-details",function(){var t,s,o=e(this).parents("li"),n=o.data("store-id");if("info window"==wpslSettings.moreInfoLocation)for(t=0,s=ce.length;s>t;t++)ce[t].storeId==n&&google.maps.event.trigger(ce[t],"click");else o.find(".wpsl-more-info-listings").is(":visible")?e(this).removeClass("wpsl-active-details"):e(this).addClass("wpsl-active-details"),o.siblings().find(".wpsl-store-details").removeClass("wpsl-active-details"),o.siblings().find(".wpsl-more-info-listings").hide(),o.find(".wpsl-more-info-listings").toggle();return"default"!=wpslSettings.templateId||"store listings"==wpslSettings.moreInfoLocation?!1:void 0}),e("a[href='#"+wpslSettings.mapTabAnchor+"']").length){var ke,Ie,xe=Number(wpslSettings.mapTabAnchorReturn)?!0:!1,_e=e("a[href='#"+wpslSettings.mapTabAnchor+"']");_e.on("click",function(){return setTimeout(function(){ke=ee.getZoom(),Ie=ee.getCenter(),google.maps.event.trigger(ee,"resize"),ee.setZoom(ke),ee.setCenter(Ie),K()},50),xe})}});
|
languages/wpsl.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
-
"Project-Id-Version: WP Store Locator v2.2\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2016-
|
7 |
"PO-Revision-Date: 2015-09-01 13:49+0100\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -19,21 +19,33 @@ msgstr ""
|
|
19 |
"X-Poedit-Basepath: ..\n"
|
20 |
"X-Textdomain-Support: yes\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
|
|
22 |
|
23 |
-
#: admin/class-admin.php:
|
24 |
#, php-format
|
25 |
msgid ""
|
26 |
"Before adding the [wpsl] shortcode to a page, please don't forget to define "
|
27 |
"a start point on the %ssettings%s page. %sDismiss%s"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: admin/class-admin.php:
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
msgid "Settings"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: admin/class-admin.php:
|
36 |
-
#: admin/class-admin.php:
|
37 |
msgid "Add-Ons"
|
38 |
msgstr ""
|
39 |
|
@@ -45,7 +57,7 @@ msgstr ""
|
|
45 |
msgid "Geocode was not successful for the following reason"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: admin/class-admin.php:295 admin/upgrade.php:
|
49 |
msgid "Security check failed, reload the page and try again."
|
50 |
msgstr ""
|
51 |
|
@@ -58,7 +70,7 @@ msgid "The map preview requires all the location details."
|
|
58 |
msgstr ""
|
59 |
|
60 |
#: admin/class-admin.php:298 admin/class-metaboxes.php:525
|
61 |
-
#: frontend/class-frontend.php:
|
62 |
msgid "Closed"
|
63 |
msgstr ""
|
64 |
|
@@ -66,19 +78,19 @@ msgstr ""
|
|
66 |
msgid "The code for the map style is invalid."
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: admin/class-admin.php:
|
70 |
msgid "Welcome to WP Store Locator"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: admin/class-admin.php:
|
74 |
msgid "Sign up for the latest plugin updates and announcements."
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: admin/class-admin.php:
|
78 |
msgid "Documentation"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin/class-admin.php:
|
82 |
#, php-format
|
83 |
msgid "If you like this plugin please leave us a %s5 star%s rating."
|
84 |
msgstr ""
|
@@ -118,6 +130,13 @@ msgid ""
|
|
118 |
"again later."
|
119 |
msgstr ""
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
#: admin/class-license-manager.php:183
|
122 |
#, php-format
|
123 |
msgid ""
|
@@ -201,8 +220,8 @@ msgid "Opening Hours"
|
|
201 |
msgstr ""
|
202 |
|
203 |
#: admin/class-metaboxes.php:82 admin/templates/map-settings.php:534
|
204 |
-
#: admin/templates/map-settings.php:535 frontend/underscore-functions.php:
|
205 |
-
#: inc/wpsl-functions.php:
|
206 |
msgid "Hours"
|
207 |
msgstr ""
|
208 |
|
@@ -215,23 +234,23 @@ msgid "Tel"
|
|
215 |
msgstr ""
|
216 |
|
217 |
#: admin/class-metaboxes.php:91 admin/templates/map-settings.php:522
|
218 |
-
#: admin/templates/map-settings.php:523 frontend/class-frontend.php:
|
219 |
-
#: frontend/underscore-functions.php:32 frontend/underscore-functions.php:
|
220 |
-
#: frontend/underscore-functions.php:
|
221 |
msgid "Fax"
|
222 |
msgstr ""
|
223 |
|
224 |
#: admin/class-metaboxes.php:94 admin/templates/map-settings.php:526
|
225 |
#: admin/templates/map-settings.php:527 admin/upgrade.php:198
|
226 |
-
#: frontend/class-frontend.php:
|
227 |
-
#: frontend/underscore-functions.php:
|
228 |
-
#: inc/wpsl-functions.php:
|
229 |
msgid "Email"
|
230 |
msgstr ""
|
231 |
|
232 |
#: admin/class-metaboxes.php:97 admin/templates/map-settings.php:530
|
233 |
#: admin/templates/map-settings.php:531 admin/upgrade.php:202
|
234 |
-
#: frontend/class-frontend.php:
|
235 |
msgid "Url"
|
236 |
msgstr ""
|
237 |
|
@@ -320,17 +339,17 @@ msgstr ""
|
|
320 |
msgid "WP Store Locator Transients Cleared"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: admin/class-settings.php:
|
324 |
msgid ""
|
325 |
"The max results field cannot be empty, the default value has been restored."
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: admin/class-settings.php:
|
329 |
msgid ""
|
330 |
"The search radius field cannot be empty, the default value has been restored."
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: admin/class-settings.php:
|
334 |
#, php-format
|
335 |
msgid ""
|
336 |
"Please provide the name of a city or country that can be used as a starting "
|
@@ -338,1116 +357,1116 @@ msgid ""
|
|
338 |
"user fails, or the option itself is disabled."
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: admin/class-settings.php:
|
342 |
msgid "Select your language"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: admin/class-settings.php:
|
346 |
msgid "English"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: admin/class-settings.php:
|
350 |
msgid "Arabic"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: admin/class-settings.php:
|
354 |
msgid "Basque"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: admin/class-settings.php:
|
358 |
msgid "Bulgarian"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: admin/class-settings.php:
|
362 |
msgid "Bengali"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: admin/class-settings.php:
|
366 |
msgid "Catalan"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: admin/class-settings.php:
|
370 |
msgid "Czech"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: admin/class-settings.php:
|
374 |
msgid "Danish"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: admin/class-settings.php:
|
378 |
msgid "German"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: admin/class-settings.php:
|
382 |
msgid "Greek"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: admin/class-settings.php:
|
386 |
msgid "English (Australian)"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: admin/class-settings.php:
|
390 |
msgid "English (Great Britain)"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: admin/class-settings.php:
|
394 |
msgid "Spanish"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: admin/class-settings.php:
|
398 |
msgid "Farsi"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: admin/class-settings.php:
|
402 |
msgid "Finnish"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: admin/class-settings.php:
|
406 |
msgid "Filipino"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: admin/class-settings.php:
|
410 |
msgid "French"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: admin/class-settings.php:
|
414 |
msgid "Galician"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: admin/class-settings.php:
|
418 |
msgid "Gujarati"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: admin/class-settings.php:
|
422 |
msgid "Hindi"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: admin/class-settings.php:
|
426 |
msgid "Croatian"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: admin/class-settings.php:
|
430 |
msgid "Hungarian"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: admin/class-settings.php:
|
434 |
msgid "Indonesian"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: admin/class-settings.php:
|
438 |
msgid "Italian"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: admin/class-settings.php:
|
442 |
msgid "Hebrew"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: admin/class-settings.php:
|
446 |
msgid "Japanese"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: admin/class-settings.php:
|
450 |
msgid "Kannada"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: admin/class-settings.php:
|
454 |
msgid "Korean"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: admin/class-settings.php:
|
458 |
msgid "Lithuanian"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: admin/class-settings.php:
|
462 |
msgid "Latvian"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: admin/class-settings.php:
|
466 |
msgid "Malayalam"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: admin/class-settings.php:
|
470 |
msgid "Marathi"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: admin/class-settings.php:
|
474 |
msgid "Dutch"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: admin/class-settings.php:
|
478 |
msgid "Norwegian"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: admin/class-settings.php:
|
482 |
msgid "Norwegian Nynorsk"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: admin/class-settings.php:
|
486 |
msgid "Polish"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: admin/class-settings.php:
|
490 |
msgid "Portuguese"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: admin/class-settings.php:
|
494 |
msgid "Portuguese (Brazil)"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: admin/class-settings.php:
|
498 |
msgid "Portuguese (Portugal)"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: admin/class-settings.php:
|
502 |
msgid "Romanian"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: admin/class-settings.php:
|
506 |
msgid "Russian"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: admin/class-settings.php:
|
510 |
msgid "Slovak"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: admin/class-settings.php:
|
514 |
msgid "Slovenian"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: admin/class-settings.php:
|
518 |
msgid "Serbian"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: admin/class-settings.php:
|
522 |
msgid "Swedish"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: admin/class-settings.php:
|
526 |
msgid "Tagalog"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: admin/class-settings.php:
|
530 |
msgid "Tamil"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: admin/class-settings.php:
|
534 |
msgid "Telugu"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: admin/class-settings.php:
|
538 |
msgid "Thai"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: admin/class-settings.php:
|
542 |
msgid "Turkish"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: admin/class-settings.php:
|
546 |
msgid "Ukrainian"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: admin/class-settings.php:
|
550 |
msgid "Vietnamese"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: admin/class-settings.php:
|
554 |
msgid "Chinese (Simplified)"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: admin/class-settings.php:
|
558 |
msgid "Chinese (Traditional)"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: admin/class-settings.php:
|
562 |
msgid "Select your region"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: admin/class-settings.php:
|
566 |
msgid "Afghanistan"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: admin/class-settings.php:
|
570 |
msgid "Albania"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: admin/class-settings.php:
|
574 |
msgid "Algeria"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: admin/class-settings.php:
|
578 |
msgid "American Samoa"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: admin/class-settings.php:
|
582 |
msgid "Andorra"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: admin/class-settings.php:
|
586 |
msgid "Anguilla"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: admin/class-settings.php:
|
590 |
msgid "Angola"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: admin/class-settings.php:
|
594 |
msgid "Antigua and Barbuda"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: admin/class-settings.php:
|
598 |
msgid "Argentina"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: admin/class-settings.php:
|
602 |
msgid "Armenia"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: admin/class-settings.php:
|
606 |
msgid "Aruba"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: admin/class-settings.php:
|
610 |
msgid "Australia"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: admin/class-settings.php:
|
614 |
msgid "Austria"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: admin/class-settings.php:
|
618 |
msgid "Azerbaijan"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: admin/class-settings.php:
|
622 |
msgid "Bahamas"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: admin/class-settings.php:
|
626 |
msgid "Bahrain"
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: admin/class-settings.php:
|
630 |
msgid "Bangladesh"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: admin/class-settings.php:
|
634 |
msgid "Barbados"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: admin/class-settings.php:
|
638 |
msgid "Belarus"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: admin/class-settings.php:
|
642 |
msgid "Belgium"
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: admin/class-settings.php:
|
646 |
msgid "Belize"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: admin/class-settings.php:
|
650 |
msgid "Benin"
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: admin/class-settings.php:
|
654 |
msgid "Bermuda"
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: admin/class-settings.php:
|
658 |
msgid "Bhutan"
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: admin/class-settings.php:
|
662 |
msgid "Bolivia"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: admin/class-settings.php:
|
666 |
msgid "Bosnia and Herzegovina"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: admin/class-settings.php:
|
670 |
msgid "Botswana"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: admin/class-settings.php:
|
674 |
msgid "Brazil"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: admin/class-settings.php:
|
678 |
msgid "British Indian Ocean Territory"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: admin/class-settings.php:
|
682 |
msgid "Brunei"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: admin/class-settings.php:
|
686 |
msgid "Bulgaria"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: admin/class-settings.php:
|
690 |
msgid "Burkina Faso"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: admin/class-settings.php:
|
694 |
msgid "Burundi"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: admin/class-settings.php:
|
698 |
msgid "Cambodia"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: admin/class-settings.php:
|
702 |
msgid "Cameroon"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: admin/class-settings.php:
|
706 |
msgid "Canada"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: admin/class-settings.php:
|
710 |
msgid "Cape Verde"
|
711 |
msgstr ""
|
712 |
|
713 |
-
#: admin/class-settings.php:
|
714 |
msgid "Cayman Islands"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: admin/class-settings.php:
|
718 |
msgid "Central African Republic"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: admin/class-settings.php:
|
722 |
msgid "Chad"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: admin/class-settings.php:
|
726 |
msgid "Chile"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: admin/class-settings.php:
|
730 |
msgid "China"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: admin/class-settings.php:
|
734 |
msgid "Christmas Island"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: admin/class-settings.php:
|
738 |
msgid "Cocos Islands"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: admin/class-settings.php:
|
742 |
msgid "Colombia"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: admin/class-settings.php:
|
746 |
msgid "Comoros"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: admin/class-settings.php:
|
750 |
msgid "Congo"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#: admin/class-settings.php:
|
754 |
msgid "Costa Rica"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: admin/class-settings.php:
|
758 |
msgid "Côte d'Ivoire"
|
759 |
msgstr ""
|
760 |
|
761 |
-
#: admin/class-settings.php:
|
762 |
msgid "Croatia"
|
763 |
msgstr ""
|
764 |
|
765 |
-
#: admin/class-settings.php:
|
766 |
msgid "Cuba"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: admin/class-settings.php:
|
770 |
msgid "Czech Republic"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: admin/class-settings.php:
|
774 |
msgid "Denmark"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: admin/class-settings.php:
|
778 |
msgid "Djibouti"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: admin/class-settings.php:
|
782 |
msgid "Democratic Republic of the Congo"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: admin/class-settings.php:
|
786 |
msgid "Dominica"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: admin/class-settings.php:
|
790 |
msgid "Dominican Republic"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: admin/class-settings.php:
|
794 |
msgid "Ecuador"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: admin/class-settings.php:
|
798 |
msgid "Egypt"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: admin/class-settings.php:
|
802 |
msgid "El Salvador"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: admin/class-settings.php:
|
806 |
msgid "Equatorial Guinea"
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: admin/class-settings.php:
|
810 |
msgid "Eritrea"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: admin/class-settings.php:
|
814 |
msgid "Estonia"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: admin/class-settings.php:
|
818 |
msgid "Ethiopia"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: admin/class-settings.php:
|
822 |
msgid "Fiji"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: admin/class-settings.php:
|
826 |
msgid "Finland"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: admin/class-settings.php:
|
830 |
msgid "France"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: admin/class-settings.php:
|
834 |
msgid "French Guiana"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: admin/class-settings.php:
|
838 |
msgid "Gabon"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: admin/class-settings.php:
|
842 |
msgid "Gambia"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: admin/class-settings.php:
|
846 |
msgid "Germany"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: admin/class-settings.php:
|
850 |
msgid "Ghana"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: admin/class-settings.php:
|
854 |
msgid "Greenland"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: admin/class-settings.php:
|
858 |
msgid "Greece"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: admin/class-settings.php:
|
862 |
msgid "Grenada"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: admin/class-settings.php:
|
866 |
msgid "Guam"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: admin/class-settings.php:
|
870 |
msgid "Guadeloupe"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: admin/class-settings.php:
|
874 |
msgid "Guatemala"
|
875 |
msgstr ""
|
876 |
|
877 |
-
#: admin/class-settings.php:
|
878 |
msgid "Guinea"
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: admin/class-settings.php:
|
882 |
msgid "Guinea-Bissau"
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: admin/class-settings.php:
|
886 |
msgid "Haiti"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: admin/class-settings.php:
|
890 |
msgid "Honduras"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: admin/class-settings.php:
|
894 |
msgid "Hong Kong"
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: admin/class-settings.php:
|
898 |
msgid "Hungary"
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: admin/class-settings.php:
|
902 |
msgid "Iceland"
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: admin/class-settings.php:
|
906 |
msgid "India"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: admin/class-settings.php:
|
910 |
msgid "Indonesia"
|
911 |
msgstr ""
|
912 |
|
913 |
-
#: admin/class-settings.php:
|
914 |
msgid "Iran"
|
915 |
msgstr ""
|
916 |
|
917 |
-
#: admin/class-settings.php:
|
918 |
msgid "Iraq"
|
919 |
msgstr ""
|
920 |
|
921 |
-
#: admin/class-settings.php:
|
922 |
msgid "Ireland"
|
923 |
msgstr ""
|
924 |
|
925 |
-
#: admin/class-settings.php:
|
926 |
msgid "Israel"
|
927 |
msgstr ""
|
928 |
|
929 |
-
#: admin/class-settings.php:
|
930 |
msgid "Italy"
|
931 |
msgstr ""
|
932 |
|
933 |
-
#: admin/class-settings.php:
|
934 |
msgid "Jamaica"
|
935 |
msgstr ""
|
936 |
|
937 |
-
#: admin/class-settings.php:
|
938 |
msgid "Japan"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: admin/class-settings.php:
|
942 |
msgid "Jordan"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: admin/class-settings.php:
|
946 |
msgid "Kazakhstan"
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: admin/class-settings.php:
|
950 |
msgid "Kenya"
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: admin/class-settings.php:
|
954 |
msgid "Kuwait"
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: admin/class-settings.php:
|
958 |
msgid "Kyrgyzstan"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: admin/class-settings.php:
|
962 |
msgid "Laos"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: admin/class-settings.php:
|
966 |
msgid "Latvia"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: admin/class-settings.php:
|
970 |
msgid "Lebanon"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: admin/class-settings.php:
|
974 |
msgid "Lesotho"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: admin/class-settings.php:
|
978 |
msgid "Liberia"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: admin/class-settings.php:
|
982 |
msgid "Libya"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: admin/class-settings.php:
|
986 |
msgid "Liechtenstein"
|
987 |
msgstr ""
|
988 |
|
989 |
-
#: admin/class-settings.php:
|
990 |
msgid "Lithuania"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: admin/class-settings.php:
|
994 |
msgid "Luxembourg"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: admin/class-settings.php:
|
998 |
msgid "Macau"
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#: admin/class-settings.php:
|
1002 |
msgid "Macedonia"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: admin/class-settings.php:
|
1006 |
msgid "Madagascar"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: admin/class-settings.php:
|
1010 |
msgid "Malawi"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: admin/class-settings.php:
|
1014 |
msgid "Malaysia "
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: admin/class-settings.php:
|
1018 |
msgid "Mali"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: admin/class-settings.php:
|
1022 |
msgid "Marshall Islands"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: admin/class-settings.php:
|
1026 |
msgid "Martinique"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: admin/class-settings.php:
|
1030 |
msgid "Mauritania"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: admin/class-settings.php:
|
1034 |
msgid "Mauritius"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: admin/class-settings.php:
|
1038 |
msgid "Mexico"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#: admin/class-settings.php:
|
1042 |
msgid "Micronesia"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: admin/class-settings.php:
|
1046 |
msgid "Moldova"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: admin/class-settings.php:
|
1050 |
msgid "Monaco"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: admin/class-settings.php:
|
1054 |
msgid "Mongolia"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
-
#: admin/class-settings.php:
|
1058 |
msgid "Montenegro"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
-
#: admin/class-settings.php:
|
1062 |
msgid "Montserrat"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
#: admin/class-settings.php:
|
1066 |
msgid "Morocco"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
#: admin/class-settings.php:
|
1070 |
msgid "Mozambique"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#: admin/class-settings.php:
|
1074 |
msgid "Myanmar"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
-
#: admin/class-settings.php:
|
1078 |
msgid "Namibia"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
-
#: admin/class-settings.php:
|
1082 |
msgid "Nauru"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
-
#: admin/class-settings.php:
|
1086 |
msgid "Nepal"
|
1087 |
msgstr ""
|
1088 |
|
1089 |
-
#: admin/class-settings.php:
|
1090 |
msgid "Netherlands"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
-
#: admin/class-settings.php:
|
1094 |
msgid "Netherlands Antilles"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
-
#: admin/class-settings.php:
|
1098 |
msgid "New Zealand"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
-
#: admin/class-settings.php:
|
1102 |
msgid "Nicaragua"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
-
#: admin/class-settings.php:
|
1106 |
msgid "Niger"
|
1107 |
msgstr ""
|
1108 |
|
1109 |
-
#: admin/class-settings.php:
|
1110 |
msgid "Nigeria"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
-
#: admin/class-settings.php:
|
1114 |
msgid "Niue"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
-
#: admin/class-settings.php:
|
1118 |
msgid "Northern Mariana Islands"
|
1119 |
msgstr ""
|
1120 |
|
1121 |
-
#: admin/class-settings.php:
|
1122 |
msgid "Norway"
|
1123 |
msgstr ""
|
1124 |
|
1125 |
-
#: admin/class-settings.php:
|
1126 |
msgid "Oman"
|
1127 |
msgstr ""
|
1128 |
|
1129 |
-
#: admin/class-settings.php:
|
1130 |
msgid "Pakistan"
|
1131 |
msgstr ""
|
1132 |
|
1133 |
-
#: admin/class-settings.php:
|
1134 |
msgid "Panama"
|
1135 |
msgstr ""
|
1136 |
|
1137 |
-
#: admin/class-settings.php:
|
1138 |
msgid "Papua New Guinea"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
-
#: admin/class-settings.php:
|
1142 |
msgid "Paraguay"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
-
#: admin/class-settings.php:
|
1146 |
msgid "Peru"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
-
#: admin/class-settings.php:
|
1150 |
msgid "Philippines"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: admin/class-settings.php:
|
1154 |
msgid "Pitcairn Islands"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
-
#: admin/class-settings.php:
|
1158 |
msgid "Poland"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
-
#: admin/class-settings.php:
|
1162 |
msgid "Portugal"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
-
#: admin/class-settings.php:
|
1166 |
msgid "Qatar"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
-
#: admin/class-settings.php:
|
1170 |
msgid "Reunion"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
-
#: admin/class-settings.php:
|
1174 |
msgid "Romania"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
-
#: admin/class-settings.php:
|
1178 |
msgid "Russia"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
-
#: admin/class-settings.php:
|
1182 |
msgid "Rwanda"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
-
#: admin/class-settings.php:
|
1186 |
msgid "Saint Helena"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
-
#: admin/class-settings.php:
|
1190 |
msgid "Saint Kitts and Nevis"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
-
#: admin/class-settings.php:
|
1194 |
msgid "Saint Vincent and the Grenadines"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
-
#: admin/class-settings.php:
|
1198 |
msgid "Saint Lucia"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: admin/class-settings.php:
|
1202 |
msgid "Samoa"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: admin/class-settings.php:
|
1206 |
msgid "San Marino"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#: admin/class-settings.php:
|
1210 |
msgid "São Tomé and Príncipe"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: admin/class-settings.php:
|
1214 |
msgid "Saudi Arabia"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#: admin/class-settings.php:
|
1218 |
msgid "Senegal"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: admin/class-settings.php:
|
1222 |
msgid "Serbia"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#: admin/class-settings.php:
|
1226 |
msgid "Seychelles"
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: admin/class-settings.php:
|
1230 |
msgid "Sierra Leone"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#: admin/class-settings.php:
|
1234 |
msgid "Singapore"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: admin/class-settings.php:
|
1238 |
msgid "Slovakia"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: admin/class-settings.php:
|
1242 |
msgid "Solomon Islands"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
-
#: admin/class-settings.php:
|
1246 |
msgid "Somalia"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: admin/class-settings.php:
|
1250 |
msgid "South Africa"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#: admin/class-settings.php:
|
1254 |
msgid "South Korea"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#: admin/class-settings.php:
|
1258 |
msgid "Spain"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
-
#: admin/class-settings.php:
|
1262 |
msgid "Sri Lanka"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#: admin/class-settings.php:
|
1266 |
msgid "Sudan"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
-
#: admin/class-settings.php:
|
1270 |
msgid "Swaziland"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: admin/class-settings.php:
|
1274 |
msgid "Sweden"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: admin/class-settings.php:
|
1278 |
msgid "Switzerland"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#: admin/class-settings.php:
|
1282 |
msgid "Syria"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: admin/class-settings.php:
|
1286 |
msgid "Taiwan"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#: admin/class-settings.php:
|
1290 |
msgid "Tajikistan"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#: admin/class-settings.php:
|
1294 |
msgid "Tanzania"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
-
#: admin/class-settings.php:
|
1298 |
msgid "Thailand"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#: admin/class-settings.php:
|
1302 |
msgid "Timor-Leste"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
-
#: admin/class-settings.php:
|
1306 |
msgid "Tokelau"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
-
#: admin/class-settings.php:
|
1310 |
msgid "Togo"
|
1311 |
msgstr ""
|
1312 |
|
1313 |
-
#: admin/class-settings.php:
|
1314 |
msgid "Tonga"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
-
#: admin/class-settings.php:
|
1318 |
msgid "Trinidad and Tobago"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
-
#: admin/class-settings.php:
|
1322 |
msgid "Tunisia"
|
1323 |
msgstr ""
|
1324 |
|
1325 |
-
#: admin/class-settings.php:
|
1326 |
msgid "Turkey"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
-
#: admin/class-settings.php:
|
1330 |
msgid "Turkmenistan"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
-
#: admin/class-settings.php:
|
1334 |
msgid "Tuvalu"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
-
#: admin/class-settings.php:
|
1338 |
msgid "Uganda"
|
1339 |
msgstr ""
|
1340 |
|
1341 |
-
#: admin/class-settings.php:
|
1342 |
msgid "Ukraine"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
-
#: admin/class-settings.php:
|
1346 |
msgid "United Arab Emirates"
|
1347 |
msgstr ""
|
1348 |
|
1349 |
-
#: admin/class-settings.php:
|
1350 |
msgid "United Kingdom"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
#: admin/class-settings.php:
|
1354 |
msgid "United States"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: admin/class-settings.php:
|
1358 |
msgid "Uruguay"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#: admin/class-settings.php:
|
1362 |
msgid "Uzbekistan"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#: admin/class-settings.php:
|
1366 |
msgid "Wallis Futuna"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: admin/class-settings.php:
|
1370 |
msgid "Venezuela"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#: admin/class-settings.php:
|
1374 |
msgid "Vietnam"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
-
#: admin/class-settings.php:
|
1378 |
msgid "Yemen"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
-
#: admin/class-settings.php:
|
1382 |
msgid "Zambia"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
-
#: admin/class-settings.php:
|
1386 |
msgid "Zimbabwe"
|
1387 |
msgstr ""
|
1388 |
|
1389 |
-
#: admin/class-settings.php:
|
1390 |
msgid "World view"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
-
#: admin/class-settings.php:
|
1394 |
-
#: inc/wpsl-functions.php:
|
1395 |
msgid "Default"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
-
#: admin/class-settings.php:
|
1399 |
msgid "Roadmap"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
-
#: admin/class-settings.php:
|
1403 |
msgid "Start location marker"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
-
#: admin/class-settings.php:
|
1407 |
msgid "Store location marker"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#: admin/class-settings.php:
|
1411 |
msgid "Textarea"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: admin/class-settings.php:
|
1415 |
msgid "Dropdowns (recommended)"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#: admin/class-settings.php:
|
1419 |
msgid "Bounces up and down"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
-
#: admin/class-settings.php:
|
1423 |
msgid "Will open the info window"
|
1424 |
msgstr ""
|
1425 |
|
1426 |
-
#: admin/class-settings.php:
|
1427 |
msgid "Does not respond"
|
1428 |
msgstr ""
|
1429 |
|
1430 |
-
#: admin/class-settings.php:
|
1431 |
msgid "In the store listings"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
-
#: admin/class-settings.php:
|
1435 |
msgid "In the info window on the map"
|
1436 |
msgstr ""
|
1437 |
|
1438 |
-
#: admin/class-settings.php:
|
1439 |
msgid "Dropdown"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
-
#: admin/class-settings.php:
|
1443 |
msgid "Checkboxes"
|
1444 |
msgstr ""
|
1445 |
|
1446 |
-
#: admin/class-settings.php:
|
1447 |
msgid "12 Hours"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
-
#: admin/class-settings.php:
|
1451 |
msgid "24 Hours"
|
1452 |
msgstr ""
|
1453 |
|
@@ -1491,7 +1510,7 @@ msgstr ""
|
|
1491 |
#: admin/templates/map-settings.php:170 admin/templates/map-settings.php:249
|
1492 |
#: admin/templates/map-settings.php:352 admin/templates/map-settings.php:380
|
1493 |
#: admin/templates/map-settings.php:430 admin/templates/map-settings.php:458
|
1494 |
-
#: admin/templates/map-settings.php:570 admin/templates/map-settings.php:
|
1495 |
msgid "Save Changes"
|
1496 |
msgstr ""
|
1497 |
|
@@ -1507,12 +1526,8 @@ msgstr ""
|
|
1507 |
#, php-format
|
1508 |
msgid ""
|
1509 |
"A %sserver key%s allows you to monitor the usage of the Google Maps "
|
1510 |
-
"%sGeocoding API%s
|
1511 |
-
"
|
1512 |
-
msgstr ""
|
1513 |
-
|
1514 |
-
#: admin/templates/map-settings.php:95 admin/templates/map-settings.php:99
|
1515 |
-
msgid "Optional"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
#: admin/templates/map-settings.php:98
|
@@ -1523,7 +1538,8 @@ msgstr ""
|
|
1523 |
#, php-format
|
1524 |
msgid ""
|
1525 |
"A %sbrowser key%s allows you to monitor the usage of the Google Maps "
|
1526 |
-
"%sJavaScript API%s."
|
|
|
1527 |
msgstr ""
|
1528 |
|
1529 |
#: admin/templates/map-settings.php:102
|
@@ -1560,8 +1576,8 @@ msgid ""
|
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: admin/templates/map-settings.php:128 admin/templates/map-settings.php:494
|
1563 |
-
#: admin/templates/map-settings.php:495 frontend/templates/default.php:
|
1564 |
-
#: frontend/templates/store-listings-below.php:44 inc/wpsl-functions.php:
|
1565 |
msgid "Search"
|
1566 |
msgstr ""
|
1567 |
|
@@ -2006,18 +2022,18 @@ msgstr ""
|
|
2006 |
|
2007 |
#: admin/templates/map-settings.php:482 admin/templates/map-settings.php:483
|
2008 |
#: frontend/templates/default.php:12
|
2009 |
-
#: frontend/templates/store-listings-below.php:12 inc/wpsl-functions.php:
|
2010 |
msgid "Your location"
|
2011 |
msgstr ""
|
2012 |
|
2013 |
#: admin/templates/map-settings.php:486 admin/templates/map-settings.php:487
|
2014 |
#: frontend/templates/default.php:21
|
2015 |
-
#: frontend/templates/store-listings-below.php:21 inc/wpsl-functions.php:
|
2016 |
msgid "Search radius"
|
2017 |
msgstr ""
|
2018 |
|
2019 |
#: admin/templates/map-settings.php:490 admin/templates/map-settings.php:491
|
2020 |
-
#: frontend/class-frontend.php:
|
2021 |
msgid "No results found"
|
2022 |
msgstr ""
|
2023 |
|
@@ -2025,23 +2041,23 @@ msgstr ""
|
|
2025 |
msgid "Searching (preloader text)"
|
2026 |
msgstr ""
|
2027 |
|
2028 |
-
#: admin/templates/map-settings.php:499 frontend/class-frontend.php:
|
2029 |
-
#: inc/wpsl-functions.php:
|
2030 |
msgid "Searching..."
|
2031 |
msgstr ""
|
2032 |
|
2033 |
#: admin/templates/map-settings.php:502 admin/templates/map-settings.php:503
|
2034 |
#: frontend/templates/default.php:30
|
2035 |
-
#: frontend/templates/store-listings-below.php:30 inc/wpsl-functions.php:
|
2036 |
msgid "Results"
|
2037 |
msgstr ""
|
2038 |
|
2039 |
#: admin/templates/map-settings.php:506 admin/upgrade.php:206
|
2040 |
-
#: inc/wpsl-functions.php:
|
2041 |
msgid "Category filter"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
-
#: admin/templates/map-settings.php:507 frontend/class-frontend.php:
|
2045 |
msgid "Category"
|
2046 |
msgstr ""
|
2047 |
|
@@ -2050,26 +2066,26 @@ msgid "Category first item"
|
|
2050 |
msgstr ""
|
2051 |
|
2052 |
#: admin/templates/map-settings.php:511 admin/upgrade.php:367
|
2053 |
-
#: frontend/class-frontend.php:
|
2054 |
msgid "Any"
|
2055 |
msgstr ""
|
2056 |
|
2057 |
#: admin/templates/map-settings.php:514 admin/templates/map-settings.php:515
|
2058 |
-
#: admin/upgrade.php:59 frontend/class-frontend.php:
|
2059 |
-
#: frontend/underscore-functions.php:
|
2060 |
-
#: inc/wpsl-functions.php:
|
2061 |
msgid "More info"
|
2062 |
msgstr ""
|
2063 |
|
2064 |
#: admin/templates/map-settings.php:518 admin/templates/map-settings.php:519
|
2065 |
-
#: frontend/class-frontend.php:
|
2066 |
-
#: frontend/underscore-functions.php:
|
2067 |
-
#: inc/wpsl-functions.php:
|
2068 |
msgid "Phone"
|
2069 |
msgstr ""
|
2070 |
|
2071 |
#: admin/templates/map-settings.php:538 admin/templates/map-settings.php:539
|
2072 |
-
#: frontend/class-frontend.php:
|
2073 |
msgid "Start location"
|
2074 |
msgstr ""
|
2075 |
|
@@ -2077,8 +2093,8 @@ msgstr ""
|
|
2077 |
msgid "Get directions"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
-
#: admin/templates/map-settings.php:543 frontend/class-frontend.php:
|
2081 |
-
#: inc/wpsl-functions.php:
|
2082 |
msgid "Directions"
|
2083 |
msgstr ""
|
2084 |
|
@@ -2087,25 +2103,25 @@ msgid "No directions found"
|
|
2087 |
msgstr ""
|
2088 |
|
2089 |
#: admin/templates/map-settings.php:547 admin/upgrade.php:151
|
2090 |
-
#: frontend/class-frontend.php:
|
2091 |
msgid "No route could be found between the origin and destination"
|
2092 |
msgstr ""
|
2093 |
|
2094 |
#: admin/templates/map-settings.php:550 admin/templates/map-settings.php:551
|
2095 |
-
#: admin/upgrade.php:77 frontend/class-frontend.php:
|
2096 |
-
#: inc/wpsl-functions.php:
|
2097 |
msgid "Back"
|
2098 |
msgstr ""
|
2099 |
|
2100 |
#: admin/templates/map-settings.php:554 admin/templates/map-settings.php:555
|
2101 |
-
#: admin/upgrade.php:143 frontend/class-frontend.php:
|
2102 |
-
#: inc/wpsl-functions.php:
|
2103 |
msgid "Street view"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
#: admin/templates/map-settings.php:558 admin/templates/map-settings.php:559
|
2107 |
-
#: admin/upgrade.php:147 frontend/class-frontend.php:
|
2108 |
-
#: inc/wpsl-functions.php:
|
2109 |
msgid "Zoom here"
|
2110 |
msgstr ""
|
2111 |
|
@@ -2113,8 +2129,8 @@ msgstr ""
|
|
2113 |
msgid "General error"
|
2114 |
msgstr ""
|
2115 |
|
2116 |
-
#: admin/templates/map-settings.php:563 frontend/class-frontend.php:
|
2117 |
-
#: inc/wpsl-functions.php:
|
2118 |
msgid "Something went wrong, please try again!"
|
2119 |
msgstr ""
|
2120 |
|
@@ -2129,8 +2145,8 @@ msgid ""
|
|
2129 |
"the \"API key\" field at the top of this page."
|
2130 |
msgstr ""
|
2131 |
|
2132 |
-
#: admin/templates/map-settings.php:567 frontend/class-frontend.php:
|
2133 |
-
#: inc/wpsl-functions.php:
|
2134 |
msgid "API usage limit reached"
|
2135 |
msgstr ""
|
2136 |
|
@@ -2150,10 +2166,25 @@ msgid ""
|
|
2150 |
msgstr ""
|
2151 |
|
2152 |
#: admin/templates/map-settings.php:587
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2153 |
msgid "WPSL transients"
|
2154 |
msgstr ""
|
2155 |
|
2156 |
-
#: admin/templates/map-settings.php:
|
2157 |
msgid "Clear store locator transient cache"
|
2158 |
msgstr ""
|
2159 |
|
@@ -2165,22 +2196,22 @@ msgstr ""
|
|
2165 |
msgid "Reset"
|
2166 |
msgstr ""
|
2167 |
|
2168 |
-
#: admin/upgrade.php:174 inc/wpsl-functions.php:
|
2169 |
msgid "stores"
|
2170 |
msgstr ""
|
2171 |
|
2172 |
-
#: admin/upgrade.php:178 inc/wpsl-functions.php:
|
2173 |
msgid "store-category"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
-
#: admin/upgrade.php:
|
2177 |
#, php-format
|
2178 |
msgid ""
|
2179 |
"Because you updated WP Store Locator from version 1.x, the %s current store "
|
2180 |
"locations need to be %sconverted%s to custom post types."
|
2181 |
msgstr ""
|
2182 |
|
2183 |
-
#: admin/upgrade.php:
|
2184 |
#, php-format
|
2185 |
msgid ""
|
2186 |
"The script converting the locations timed out. %s You can click the \"Start "
|
@@ -2191,52 +2222,52 @@ msgid ""
|
|
2191 |
"but if you are reading this then that failed."
|
2192 |
msgstr ""
|
2193 |
|
2194 |
-
#: admin/upgrade.php:
|
2195 |
msgid "Store locations to convert:"
|
2196 |
msgstr ""
|
2197 |
|
2198 |
-
#: admin/upgrade.php:
|
2199 |
msgid "Start Converting"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
-
#: admin/upgrade.php:
|
2203 |
#, php-format
|
2204 |
msgid ""
|
2205 |
"All the store locations are now converted to custom post types. %s You can "
|
2206 |
"view them on the %sAll Stores%s page."
|
2207 |
msgstr ""
|
2208 |
|
2209 |
-
#: frontend/class-frontend.php:
|
2210 |
msgid ""
|
2211 |
"If you use the [wpsl_address] shortcode outside a store page you need to set "
|
2212 |
"the ID attribute."
|
2213 |
msgstr ""
|
2214 |
|
2215 |
-
#: frontend/class-frontend.php:
|
2216 |
msgid ""
|
2217 |
"If you use the [wpsl_hours] shortcode outside a store page you need to set "
|
2218 |
"the ID attribute."
|
2219 |
msgstr ""
|
2220 |
|
2221 |
-
#: frontend/class-frontend.php:
|
2222 |
msgid ""
|
2223 |
"If you use the [wpsl_map] shortcode outside a store page, then you need to "
|
2224 |
"set the ID or category attribute."
|
2225 |
msgstr ""
|
2226 |
|
2227 |
-
#: frontend/class-frontend.php:
|
2228 |
msgid "The application does not have permission to use the Geolocation API."
|
2229 |
msgstr ""
|
2230 |
|
2231 |
-
#: frontend/class-frontend.php:
|
2232 |
msgid "Location information is unavailable."
|
2233 |
msgstr ""
|
2234 |
|
2235 |
-
#: frontend/class-frontend.php:
|
2236 |
msgid "The geolocation request timed out."
|
2237 |
msgstr ""
|
2238 |
|
2239 |
-
#: frontend/class-frontend.php:
|
2240 |
msgid "An unknown error occurred."
|
2241 |
msgstr ""
|
2242 |
|
@@ -2346,75 +2377,75 @@ msgstr ""
|
|
2346 |
msgid "Zip"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
-
#: inc/wpsl-functions.php:
|
2350 |
msgid "Show the store list below the map"
|
2351 |
msgstr ""
|
2352 |
|
2353 |
-
#: inc/wpsl-functions.php:
|
2354 |
msgid "Monday"
|
2355 |
msgstr ""
|
2356 |
|
2357 |
-
#: inc/wpsl-functions.php:
|
2358 |
msgid "Tuesday"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
-
#: inc/wpsl-functions.php:
|
2362 |
msgid "Wednesday"
|
2363 |
msgstr ""
|
2364 |
|
2365 |
-
#: inc/wpsl-functions.php:
|
2366 |
msgid "Thursday"
|
2367 |
msgstr ""
|
2368 |
|
2369 |
-
#: inc/wpsl-functions.php:
|
2370 |
msgid "Friday"
|
2371 |
msgstr ""
|
2372 |
|
2373 |
-
#: inc/wpsl-functions.php:
|
2374 |
msgid "Saturday"
|
2375 |
msgstr ""
|
2376 |
|
2377 |
-
#: inc/wpsl-functions.php:
|
2378 |
msgid "Sunday"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
-
#: inc/wpsl-functions.php:
|
2382 |
#, php-format
|
2383 |
msgid "Mon %sTue %sWed %sThu %sFri %sSat Closed %sSun Closed"
|
2384 |
msgstr ""
|
2385 |
|
2386 |
-
#: inc/wpsl-functions.php:
|
2387 |
msgid "Satellite"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
-
#: inc/wpsl-functions.php:
|
2391 |
msgid "Hybrid"
|
2392 |
msgstr ""
|
2393 |
|
2394 |
-
#: inc/wpsl-functions.php:
|
2395 |
msgid "Terrain"
|
2396 |
msgstr ""
|
2397 |
|
2398 |
-
#: inc/wpsl-functions.php:
|
2399 |
msgid "(city) (state) (zip code)"
|
2400 |
msgstr ""
|
2401 |
|
2402 |
-
#: inc/wpsl-functions.php:
|
2403 |
msgid "(city), (state) (zip code)"
|
2404 |
msgstr ""
|
2405 |
|
2406 |
-
#: inc/wpsl-functions.php:
|
2407 |
msgid "(city) (zip code)"
|
2408 |
msgstr ""
|
2409 |
|
2410 |
-
#: inc/wpsl-functions.php:
|
2411 |
msgid "(city), (zip code)"
|
2412 |
msgstr ""
|
2413 |
|
2414 |
-
#: inc/wpsl-functions.php:
|
2415 |
msgid "(zip code) (city) (state)"
|
2416 |
msgstr ""
|
2417 |
|
2418 |
-
#: inc/wpsl-functions.php:
|
2419 |
msgid "(zip code) (city)"
|
2420 |
msgstr ""
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project-Id-Version: WP Store Locator v2.2.4\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2016-08-06 15:09+0200\n"
|
7 |
"PO-Revision-Date: 2015-09-01 13:49+0100\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
19 |
"X-Poedit-Basepath: ..\n"
|
20 |
"X-Textdomain-Support: yes\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
+
"X-Poedit-SearchPathExcluded-0: admin/EDD_SL_Plugin_Updater.php\n"
|
23 |
|
24 |
+
#: admin/class-admin.php:116
|
25 |
#, php-format
|
26 |
msgid ""
|
27 |
"Before adding the [wpsl] shortcode to a page, please don't forget to define "
|
28 |
"a start point on the %ssettings%s page. %sDismiss%s"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: admin/class-admin.php:118
|
32 |
+
#, php-format
|
33 |
+
msgid ""
|
34 |
+
"As of %sJune 22, 2016%s Google Maps no longer allows request for new "
|
35 |
+
"projects that doesn't include an %sAPI key%s. %sDismiss%s"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: admin/class-admin.php:155
|
39 |
+
msgid "Security check failed. Please reload the page and try again."
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: admin/class-admin.php:174 admin/class-admin.php:175
|
43 |
+
#: admin/class-admin.php:434 admin/templates/map-settings.php:11
|
44 |
msgid "Settings"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: admin/class-admin.php:181 admin/class-admin.php:182
|
48 |
+
#: admin/class-admin.php:454
|
49 |
msgid "Add-Ons"
|
50 |
msgstr ""
|
51 |
|
57 |
msgid "Geocode was not successful for the following reason"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: admin/class-admin.php:295 admin/upgrade.php:446
|
61 |
msgid "Security check failed, reload the page and try again."
|
62 |
msgstr ""
|
63 |
|
70 |
msgstr ""
|
71 |
|
72 |
#: admin/class-admin.php:298 admin/class-metaboxes.php:525
|
73 |
+
#: frontend/class-frontend.php:543
|
74 |
msgid "Closed"
|
75 |
msgstr ""
|
76 |
|
78 |
msgid "The code for the map style is invalid."
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: admin/class-admin.php:389
|
82 |
msgid "Welcome to WP Store Locator"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: admin/class-admin.php:390
|
86 |
msgid "Sign up for the latest plugin updates and announcements."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: admin/class-admin.php:453
|
90 |
msgid "Documentation"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: admin/class-admin.php:476
|
94 |
#, php-format
|
95 |
msgid "If you like this plugin please leave us a %s5 star%s rating."
|
96 |
msgstr ""
|
130 |
"again later."
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: admin/class-geocode.php:135
|
134 |
+
#, php-format
|
135 |
+
msgid ""
|
136 |
+
"The Google Geocode API reported the following problem: error %s %s %s Please "
|
137 |
+
"contact %ssupport%s if the problem persists."
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
#: admin/class-license-manager.php:183
|
141 |
#, php-format
|
142 |
msgid ""
|
220 |
msgstr ""
|
221 |
|
222 |
#: admin/class-metaboxes.php:82 admin/templates/map-settings.php:534
|
223 |
+
#: admin/templates/map-settings.php:535 frontend/underscore-functions.php:160
|
224 |
+
#: inc/wpsl-functions.php:149
|
225 |
msgid "Hours"
|
226 |
msgstr ""
|
227 |
|
234 |
msgstr ""
|
235 |
|
236 |
#: admin/class-metaboxes.php:91 admin/templates/map-settings.php:522
|
237 |
+
#: admin/templates/map-settings.php:523 frontend/class-frontend.php:791
|
238 |
+
#: frontend/underscore-functions.php:32 frontend/underscore-functions.php:68
|
239 |
+
#: frontend/underscore-functions.php:150 inc/wpsl-functions.php:146
|
240 |
msgid "Fax"
|
241 |
msgstr ""
|
242 |
|
243 |
#: admin/class-metaboxes.php:94 admin/templates/map-settings.php:526
|
244 |
#: admin/templates/map-settings.php:527 admin/upgrade.php:198
|
245 |
+
#: frontend/class-frontend.php:795 frontend/underscore-functions.php:35
|
246 |
+
#: frontend/underscore-functions.php:71 frontend/underscore-functions.php:153
|
247 |
+
#: inc/wpsl-functions.php:147
|
248 |
msgid "Email"
|
249 |
msgstr ""
|
250 |
|
251 |
#: admin/class-metaboxes.php:97 admin/templates/map-settings.php:530
|
252 |
#: admin/templates/map-settings.php:531 admin/upgrade.php:202
|
253 |
+
#: frontend/class-frontend.php:800 inc/wpsl-functions.php:148
|
254 |
msgid "Url"
|
255 |
msgstr ""
|
256 |
|
339 |
msgid "WP Store Locator Transients Cleared"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: admin/class-settings.php:398
|
343 |
msgid ""
|
344 |
"The max results field cannot be empty, the default value has been restored."
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: admin/class-settings.php:401
|
348 |
msgid ""
|
349 |
"The search radius field cannot be empty, the default value has been restored."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: admin/class-settings.php:404
|
353 |
#, php-format
|
354 |
msgid ""
|
355 |
"Please provide the name of a city or country that can be used as a starting "
|
357 |
"user fails, or the option itself is disabled."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: admin/class-settings.php:425
|
361 |
msgid "Select your language"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: admin/class-settings.php:426
|
365 |
msgid "English"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: admin/class-settings.php:427
|
369 |
msgid "Arabic"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: admin/class-settings.php:428
|
373 |
msgid "Basque"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: admin/class-settings.php:429
|
377 |
msgid "Bulgarian"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: admin/class-settings.php:430
|
381 |
msgid "Bengali"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: admin/class-settings.php:431
|
385 |
msgid "Catalan"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: admin/class-settings.php:432
|
389 |
msgid "Czech"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: admin/class-settings.php:433
|
393 |
msgid "Danish"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: admin/class-settings.php:434
|
397 |
msgid "German"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: admin/class-settings.php:435
|
401 |
msgid "Greek"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: admin/class-settings.php:436
|
405 |
msgid "English (Australian)"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: admin/class-settings.php:437
|
409 |
msgid "English (Great Britain)"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: admin/class-settings.php:438
|
413 |
msgid "Spanish"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: admin/class-settings.php:439
|
417 |
msgid "Farsi"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: admin/class-settings.php:440
|
421 |
msgid "Finnish"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: admin/class-settings.php:441
|
425 |
msgid "Filipino"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: admin/class-settings.php:442
|
429 |
msgid "French"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: admin/class-settings.php:443
|
433 |
msgid "Galician"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: admin/class-settings.php:444
|
437 |
msgid "Gujarati"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: admin/class-settings.php:445
|
441 |
msgid "Hindi"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: admin/class-settings.php:446
|
445 |
msgid "Croatian"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: admin/class-settings.php:447
|
449 |
msgid "Hungarian"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: admin/class-settings.php:448
|
453 |
msgid "Indonesian"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: admin/class-settings.php:449
|
457 |
msgid "Italian"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: admin/class-settings.php:450
|
461 |
msgid "Hebrew"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: admin/class-settings.php:451
|
465 |
msgid "Japanese"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: admin/class-settings.php:452
|
469 |
msgid "Kannada"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: admin/class-settings.php:453
|
473 |
msgid "Korean"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: admin/class-settings.php:454
|
477 |
msgid "Lithuanian"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: admin/class-settings.php:455
|
481 |
msgid "Latvian"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: admin/class-settings.php:456
|
485 |
msgid "Malayalam"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: admin/class-settings.php:457
|
489 |
msgid "Marathi"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: admin/class-settings.php:458
|
493 |
msgid "Dutch"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: admin/class-settings.php:459
|
497 |
msgid "Norwegian"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: admin/class-settings.php:460
|
501 |
msgid "Norwegian Nynorsk"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: admin/class-settings.php:461
|
505 |
msgid "Polish"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: admin/class-settings.php:462
|
509 |
msgid "Portuguese"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: admin/class-settings.php:463
|
513 |
msgid "Portuguese (Brazil)"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: admin/class-settings.php:464
|
517 |
msgid "Portuguese (Portugal)"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: admin/class-settings.php:465
|
521 |
msgid "Romanian"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: admin/class-settings.php:466
|
525 |
msgid "Russian"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: admin/class-settings.php:467
|
529 |
msgid "Slovak"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: admin/class-settings.php:468
|
533 |
msgid "Slovenian"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: admin/class-settings.php:469
|
537 |
msgid "Serbian"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: admin/class-settings.php:470
|
541 |
msgid "Swedish"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: admin/class-settings.php:471
|
545 |
msgid "Tagalog"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: admin/class-settings.php:472
|
549 |
msgid "Tamil"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: admin/class-settings.php:473
|
553 |
msgid "Telugu"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: admin/class-settings.php:474
|
557 |
msgid "Thai"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: admin/class-settings.php:475
|
561 |
msgid "Turkish"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: admin/class-settings.php:476
|
565 |
msgid "Ukrainian"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: admin/class-settings.php:477
|
569 |
msgid "Vietnamese"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: admin/class-settings.php:478
|
573 |
msgid "Chinese (Simplified)"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: admin/class-settings.php:479
|
577 |
msgid "Chinese (Traditional)"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: admin/class-settings.php:484
|
581 |
msgid "Select your region"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: admin/class-settings.php:485
|
585 |
msgid "Afghanistan"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: admin/class-settings.php:486
|
589 |
msgid "Albania"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: admin/class-settings.php:487
|
593 |
msgid "Algeria"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: admin/class-settings.php:488
|
597 |
msgid "American Samoa"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: admin/class-settings.php:489
|
601 |
msgid "Andorra"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: admin/class-settings.php:490
|
605 |
msgid "Anguilla"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: admin/class-settings.php:491
|
609 |
msgid "Angola"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: admin/class-settings.php:492
|
613 |
msgid "Antigua and Barbuda"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: admin/class-settings.php:493
|
617 |
msgid "Argentina"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: admin/class-settings.php:494
|
621 |
msgid "Armenia"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: admin/class-settings.php:495
|
625 |
msgid "Aruba"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: admin/class-settings.php:496
|
629 |
msgid "Australia"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: admin/class-settings.php:497
|
633 |
msgid "Austria"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: admin/class-settings.php:498
|
637 |
msgid "Azerbaijan"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: admin/class-settings.php:499
|
641 |
msgid "Bahamas"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: admin/class-settings.php:500
|
645 |
msgid "Bahrain"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: admin/class-settings.php:501
|
649 |
msgid "Bangladesh"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: admin/class-settings.php:502
|
653 |
msgid "Barbados"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: admin/class-settings.php:503
|
657 |
msgid "Belarus"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: admin/class-settings.php:504
|
661 |
msgid "Belgium"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: admin/class-settings.php:505
|
665 |
msgid "Belize"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: admin/class-settings.php:506
|
669 |
msgid "Benin"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: admin/class-settings.php:507
|
673 |
msgid "Bermuda"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: admin/class-settings.php:508
|
677 |
msgid "Bhutan"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: admin/class-settings.php:509
|
681 |
msgid "Bolivia"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: admin/class-settings.php:510
|
685 |
msgid "Bosnia and Herzegovina"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: admin/class-settings.php:511
|
689 |
msgid "Botswana"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: admin/class-settings.php:512
|
693 |
msgid "Brazil"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: admin/class-settings.php:513
|
697 |
msgid "British Indian Ocean Territory"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: admin/class-settings.php:514
|
701 |
msgid "Brunei"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: admin/class-settings.php:515
|
705 |
msgid "Bulgaria"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: admin/class-settings.php:516
|
709 |
msgid "Burkina Faso"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: admin/class-settings.php:517
|
713 |
msgid "Burundi"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: admin/class-settings.php:518
|
717 |
msgid "Cambodia"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: admin/class-settings.php:519
|
721 |
msgid "Cameroon"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: admin/class-settings.php:520
|
725 |
msgid "Canada"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: admin/class-settings.php:521
|
729 |
msgid "Cape Verde"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: admin/class-settings.php:522
|
733 |
msgid "Cayman Islands"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: admin/class-settings.php:523
|
737 |
msgid "Central African Republic"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: admin/class-settings.php:524
|
741 |
msgid "Chad"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: admin/class-settings.php:525
|
745 |
msgid "Chile"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: admin/class-settings.php:526
|
749 |
msgid "China"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: admin/class-settings.php:527
|
753 |
msgid "Christmas Island"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: admin/class-settings.php:528
|
757 |
msgid "Cocos Islands"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: admin/class-settings.php:529
|
761 |
msgid "Colombia"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: admin/class-settings.php:530
|
765 |
msgid "Comoros"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: admin/class-settings.php:531
|
769 |
msgid "Congo"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: admin/class-settings.php:532
|
773 |
msgid "Costa Rica"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: admin/class-settings.php:533
|
777 |
msgid "Côte d'Ivoire"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: admin/class-settings.php:534
|
781 |
msgid "Croatia"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: admin/class-settings.php:535
|
785 |
msgid "Cuba"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: admin/class-settings.php:536
|
789 |
msgid "Czech Republic"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: admin/class-settings.php:537
|
793 |
msgid "Denmark"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: admin/class-settings.php:538
|
797 |
msgid "Djibouti"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: admin/class-settings.php:539
|
801 |
msgid "Democratic Republic of the Congo"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: admin/class-settings.php:540
|
805 |
msgid "Dominica"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: admin/class-settings.php:541
|
809 |
msgid "Dominican Republic"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: admin/class-settings.php:542
|
813 |
msgid "Ecuador"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: admin/class-settings.php:543
|
817 |
msgid "Egypt"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: admin/class-settings.php:544
|
821 |
msgid "El Salvador"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: admin/class-settings.php:545
|
825 |
msgid "Equatorial Guinea"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: admin/class-settings.php:546
|
829 |
msgid "Eritrea"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: admin/class-settings.php:547
|
833 |
msgid "Estonia"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: admin/class-settings.php:548
|
837 |
msgid "Ethiopia"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: admin/class-settings.php:549
|
841 |
msgid "Fiji"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: admin/class-settings.php:550
|
845 |
msgid "Finland"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: admin/class-settings.php:551
|
849 |
msgid "France"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: admin/class-settings.php:552
|
853 |
msgid "French Guiana"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: admin/class-settings.php:553
|
857 |
msgid "Gabon"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: admin/class-settings.php:554
|
861 |
msgid "Gambia"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: admin/class-settings.php:555
|
865 |
msgid "Germany"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: admin/class-settings.php:556
|
869 |
msgid "Ghana"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: admin/class-settings.php:557
|
873 |
msgid "Greenland"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: admin/class-settings.php:558
|
877 |
msgid "Greece"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: admin/class-settings.php:559
|
881 |
msgid "Grenada"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: admin/class-settings.php:560
|
885 |
msgid "Guam"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: admin/class-settings.php:561
|
889 |
msgid "Guadeloupe"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: admin/class-settings.php:562
|
893 |
msgid "Guatemala"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: admin/class-settings.php:563
|
897 |
msgid "Guinea"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: admin/class-settings.php:564
|
901 |
msgid "Guinea-Bissau"
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: admin/class-settings.php:565
|
905 |
msgid "Haiti"
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: admin/class-settings.php:566
|
909 |
msgid "Honduras"
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: admin/class-settings.php:567
|
913 |
msgid "Hong Kong"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: admin/class-settings.php:568
|
917 |
msgid "Hungary"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: admin/class-settings.php:569
|
921 |
msgid "Iceland"
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: admin/class-settings.php:570
|
925 |
msgid "India"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: admin/class-settings.php:571
|
929 |
msgid "Indonesia"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: admin/class-settings.php:572
|
933 |
msgid "Iran"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: admin/class-settings.php:573
|
937 |
msgid "Iraq"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: admin/class-settings.php:574
|
941 |
msgid "Ireland"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: admin/class-settings.php:575
|
945 |
msgid "Israel"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: admin/class-settings.php:576
|
949 |
msgid "Italy"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: admin/class-settings.php:577
|
953 |
msgid "Jamaica"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: admin/class-settings.php:578
|
957 |
msgid "Japan"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: admin/class-settings.php:579
|
961 |
msgid "Jordan"
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: admin/class-settings.php:580
|
965 |
msgid "Kazakhstan"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: admin/class-settings.php:581
|
969 |
msgid "Kenya"
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: admin/class-settings.php:582
|
973 |
msgid "Kuwait"
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: admin/class-settings.php:583
|
977 |
msgid "Kyrgyzstan"
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: admin/class-settings.php:584
|
981 |
msgid "Laos"
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: admin/class-settings.php:585
|
985 |
msgid "Latvia"
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: admin/class-settings.php:586
|
989 |
msgid "Lebanon"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: admin/class-settings.php:587
|
993 |
msgid "Lesotho"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: admin/class-settings.php:588
|
997 |
msgid "Liberia"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: admin/class-settings.php:589
|
1001 |
msgid "Libya"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: admin/class-settings.php:590
|
1005 |
msgid "Liechtenstein"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: admin/class-settings.php:591
|
1009 |
msgid "Lithuania"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: admin/class-settings.php:592
|
1013 |
msgid "Luxembourg"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: admin/class-settings.php:593
|
1017 |
msgid "Macau"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
+
#: admin/class-settings.php:594
|
1021 |
msgid "Macedonia"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
+
#: admin/class-settings.php:595
|
1025 |
msgid "Madagascar"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: admin/class-settings.php:596
|
1029 |
msgid "Malawi"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: admin/class-settings.php:597
|
1033 |
msgid "Malaysia "
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: admin/class-settings.php:598
|
1037 |
msgid "Mali"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: admin/class-settings.php:599
|
1041 |
msgid "Marshall Islands"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: admin/class-settings.php:600
|
1045 |
msgid "Martinique"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: admin/class-settings.php:601
|
1049 |
msgid "Mauritania"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: admin/class-settings.php:602
|
1053 |
msgid "Mauritius"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: admin/class-settings.php:603
|
1057 |
msgid "Mexico"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: admin/class-settings.php:604
|
1061 |
msgid "Micronesia"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
+
#: admin/class-settings.php:605
|
1065 |
msgid "Moldova"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: admin/class-settings.php:606
|
1069 |
msgid "Monaco"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: admin/class-settings.php:607
|
1073 |
msgid "Mongolia"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: admin/class-settings.php:608
|
1077 |
msgid "Montenegro"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: admin/class-settings.php:609
|
1081 |
msgid "Montserrat"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: admin/class-settings.php:610
|
1085 |
msgid "Morocco"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: admin/class-settings.php:611
|
1089 |
msgid "Mozambique"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: admin/class-settings.php:612
|
1093 |
msgid "Myanmar"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: admin/class-settings.php:613
|
1097 |
msgid "Namibia"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: admin/class-settings.php:614
|
1101 |
msgid "Nauru"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: admin/class-settings.php:615
|
1105 |
msgid "Nepal"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: admin/class-settings.php:616
|
1109 |
msgid "Netherlands"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: admin/class-settings.php:617
|
1113 |
msgid "Netherlands Antilles"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: admin/class-settings.php:618
|
1117 |
msgid "New Zealand"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: admin/class-settings.php:619
|
1121 |
msgid "Nicaragua"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: admin/class-settings.php:620
|
1125 |
msgid "Niger"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: admin/class-settings.php:621
|
1129 |
msgid "Nigeria"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: admin/class-settings.php:622
|
1133 |
msgid "Niue"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: admin/class-settings.php:623
|
1137 |
msgid "Northern Mariana Islands"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: admin/class-settings.php:624
|
1141 |
msgid "Norway"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: admin/class-settings.php:625
|
1145 |
msgid "Oman"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: admin/class-settings.php:626
|
1149 |
msgid "Pakistan"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: admin/class-settings.php:627
|
1153 |
msgid "Panama"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: admin/class-settings.php:628
|
1157 |
msgid "Papua New Guinea"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: admin/class-settings.php:629
|
1161 |
msgid "Paraguay"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: admin/class-settings.php:630
|
1165 |
msgid "Peru"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: admin/class-settings.php:631
|
1169 |
msgid "Philippines"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
+
#: admin/class-settings.php:632
|
1173 |
msgid "Pitcairn Islands"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: admin/class-settings.php:633
|
1177 |
msgid "Poland"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: admin/class-settings.php:634
|
1181 |
msgid "Portugal"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: admin/class-settings.php:635
|
1185 |
msgid "Qatar"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: admin/class-settings.php:636
|
1189 |
msgid "Reunion"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
+
#: admin/class-settings.php:637
|
1193 |
msgid "Romania"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
+
#: admin/class-settings.php:638
|
1197 |
msgid "Russia"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
+
#: admin/class-settings.php:639
|
1201 |
msgid "Rwanda"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: admin/class-settings.php:640
|
1205 |
msgid "Saint Helena"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: admin/class-settings.php:641
|
1209 |
msgid "Saint Kitts and Nevis"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: admin/class-settings.php:642
|
1213 |
msgid "Saint Vincent and the Grenadines"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: admin/class-settings.php:643
|
1217 |
msgid "Saint Lucia"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
+
#: admin/class-settings.php:644
|
1221 |
msgid "Samoa"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
+
#: admin/class-settings.php:645
|
1225 |
msgid "San Marino"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
+
#: admin/class-settings.php:646
|
1229 |
msgid "São Tomé and Príncipe"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: admin/class-settings.php:647
|
1233 |
msgid "Saudi Arabia"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
+
#: admin/class-settings.php:648
|
1237 |
msgid "Senegal"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
+
#: admin/class-settings.php:649
|
1241 |
msgid "Serbia"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
+
#: admin/class-settings.php:650
|
1245 |
msgid "Seychelles"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: admin/class-settings.php:651
|
1249 |
msgid "Sierra Leone"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: admin/class-settings.php:652
|
1253 |
msgid "Singapore"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: admin/class-settings.php:653
|
1257 |
msgid "Slovakia"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: admin/class-settings.php:654
|
1261 |
msgid "Solomon Islands"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: admin/class-settings.php:655
|
1265 |
msgid "Somalia"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
+
#: admin/class-settings.php:656
|
1269 |
msgid "South Africa"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: admin/class-settings.php:657
|
1273 |
msgid "South Korea"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: admin/class-settings.php:658
|
1277 |
msgid "Spain"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: admin/class-settings.php:659
|
1281 |
msgid "Sri Lanka"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: admin/class-settings.php:660
|
1285 |
msgid "Sudan"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: admin/class-settings.php:661
|
1289 |
msgid "Swaziland"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: admin/class-settings.php:662
|
1293 |
msgid "Sweden"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: admin/class-settings.php:663
|
1297 |
msgid "Switzerland"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: admin/class-settings.php:664
|
1301 |
msgid "Syria"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: admin/class-settings.php:665
|
1305 |
msgid "Taiwan"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
+
#: admin/class-settings.php:666
|
1309 |
msgid "Tajikistan"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: admin/class-settings.php:667
|
1313 |
msgid "Tanzania"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: admin/class-settings.php:668
|
1317 |
msgid "Thailand"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: admin/class-settings.php:669
|
1321 |
msgid "Timor-Leste"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: admin/class-settings.php:670
|
1325 |
msgid "Tokelau"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: admin/class-settings.php:671
|
1329 |
msgid "Togo"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: admin/class-settings.php:672
|
1333 |
msgid "Tonga"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
+
#: admin/class-settings.php:673
|
1337 |
msgid "Trinidad and Tobago"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
+
#: admin/class-settings.php:674
|
1341 |
msgid "Tunisia"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
+
#: admin/class-settings.php:675
|
1345 |
msgid "Turkey"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
+
#: admin/class-settings.php:676
|
1349 |
msgid "Turkmenistan"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: admin/class-settings.php:677
|
1353 |
msgid "Tuvalu"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: admin/class-settings.php:678
|
1357 |
msgid "Uganda"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: admin/class-settings.php:679
|
1361 |
msgid "Ukraine"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: admin/class-settings.php:680
|
1365 |
msgid "United Arab Emirates"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
+
#: admin/class-settings.php:681
|
1369 |
msgid "United Kingdom"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
+
#: admin/class-settings.php:682
|
1373 |
msgid "United States"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: admin/class-settings.php:683
|
1377 |
msgid "Uruguay"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: admin/class-settings.php:684
|
1381 |
msgid "Uzbekistan"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: admin/class-settings.php:685
|
1385 |
msgid "Wallis Futuna"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: admin/class-settings.php:686
|
1389 |
msgid "Venezuela"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: admin/class-settings.php:687
|
1393 |
msgid "Vietnam"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: admin/class-settings.php:688
|
1397 |
msgid "Yemen"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
+
#: admin/class-settings.php:689
|
1401 |
msgid "Zambia"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
+
#: admin/class-settings.php:690
|
1405 |
msgid "Zimbabwe"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: admin/class-settings.php:733
|
1409 |
msgid "World view"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
+
#: admin/class-settings.php:736 admin/class-settings.php:850
|
1413 |
+
#: inc/wpsl-functions.php:215
|
1414 |
msgid "Default"
|
1415 |
msgstr ""
|
1416 |
|
1417 |
+
#: admin/class-settings.php:739 inc/wpsl-functions.php:288
|
1418 |
msgid "Roadmap"
|
1419 |
msgstr ""
|
1420 |
|
1421 |
+
#: admin/class-settings.php:880
|
1422 |
msgid "Start location marker"
|
1423 |
msgstr ""
|
1424 |
|
1425 |
+
#: admin/class-settings.php:882
|
1426 |
msgid "Store location marker"
|
1427 |
msgstr ""
|
1428 |
|
1429 |
+
#: admin/class-settings.php:964
|
1430 |
msgid "Textarea"
|
1431 |
msgstr ""
|
1432 |
|
1433 |
+
#: admin/class-settings.php:965
|
1434 |
msgid "Dropdowns (recommended)"
|
1435 |
msgstr ""
|
1436 |
|
1437 |
+
#: admin/class-settings.php:973
|
1438 |
msgid "Bounces up and down"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: admin/class-settings.php:974
|
1442 |
msgid "Will open the info window"
|
1443 |
msgstr ""
|
1444 |
|
1445 |
+
#: admin/class-settings.php:975
|
1446 |
msgid "Does not respond"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
+
#: admin/class-settings.php:983
|
1450 |
msgid "In the store listings"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
+
#: admin/class-settings.php:984
|
1454 |
msgid "In the info window on the map"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
+
#: admin/class-settings.php:1016
|
1458 |
msgid "Dropdown"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
+
#: admin/class-settings.php:1017
|
1462 |
msgid "Checkboxes"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
+
#: admin/class-settings.php:1049
|
1466 |
msgid "12 Hours"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
+
#: admin/class-settings.php:1050
|
1470 |
msgid "24 Hours"
|
1471 |
msgstr ""
|
1472 |
|
1510 |
#: admin/templates/map-settings.php:170 admin/templates/map-settings.php:249
|
1511 |
#: admin/templates/map-settings.php:352 admin/templates/map-settings.php:380
|
1512 |
#: admin/templates/map-settings.php:430 admin/templates/map-settings.php:458
|
1513 |
+
#: admin/templates/map-settings.php:570 admin/templates/map-settings.php:595
|
1514 |
msgid "Save Changes"
|
1515 |
msgstr ""
|
1516 |
|
1526 |
#, php-format
|
1527 |
msgid ""
|
1528 |
"A %sserver key%s allows you to monitor the usage of the Google Maps "
|
1529 |
+
"%sGeocoding API%s. %s %sRequired%s for %sapplications%s created after June "
|
1530 |
+
"22, 2016."
|
|
|
|
|
|
|
|
|
1531 |
msgstr ""
|
1532 |
|
1533 |
#: admin/templates/map-settings.php:98
|
1538 |
#, php-format
|
1539 |
msgid ""
|
1540 |
"A %sbrowser key%s allows you to monitor the usage of the Google Maps "
|
1541 |
+
"%sJavaScript API%s. %s %sRequired%s for %sapplications%s created after June "
|
1542 |
+
"22, 2016."
|
1543 |
msgstr ""
|
1544 |
|
1545 |
#: admin/templates/map-settings.php:102
|
1576 |
msgstr ""
|
1577 |
|
1578 |
#: admin/templates/map-settings.php:128 admin/templates/map-settings.php:494
|
1579 |
+
#: admin/templates/map-settings.php:495 frontend/templates/default.php:44
|
1580 |
+
#: frontend/templates/store-listings-below.php:44 inc/wpsl-functions.php:132
|
1581 |
msgid "Search"
|
1582 |
msgstr ""
|
1583 |
|
2022 |
|
2023 |
#: admin/templates/map-settings.php:482 admin/templates/map-settings.php:483
|
2024 |
#: frontend/templates/default.php:12
|
2025 |
+
#: frontend/templates/store-listings-below.php:12 inc/wpsl-functions.php:131
|
2026 |
msgid "Your location"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
#: admin/templates/map-settings.php:486 admin/templates/map-settings.php:487
|
2030 |
#: frontend/templates/default.php:21
|
2031 |
+
#: frontend/templates/store-listings-below.php:21 inc/wpsl-functions.php:134
|
2032 |
msgid "Search radius"
|
2033 |
msgstr ""
|
2034 |
|
2035 |
#: admin/templates/map-settings.php:490 admin/templates/map-settings.php:491
|
2036 |
+
#: frontend/class-frontend.php:1659 inc/wpsl-functions.php:135
|
2037 |
msgid "No results found"
|
2038 |
msgstr ""
|
2039 |
|
2041 |
msgid "Searching (preloader text)"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
+
#: admin/templates/map-settings.php:499 frontend/class-frontend.php:1658
|
2045 |
+
#: inc/wpsl-functions.php:133
|
2046 |
msgid "Searching..."
|
2047 |
msgstr ""
|
2048 |
|
2049 |
#: admin/templates/map-settings.php:502 admin/templates/map-settings.php:503
|
2050 |
#: frontend/templates/default.php:30
|
2051 |
+
#: frontend/templates/store-listings-below.php:30 inc/wpsl-functions.php:136
|
2052 |
msgid "Results"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
#: admin/templates/map-settings.php:506 admin/upgrade.php:206
|
2056 |
+
#: inc/wpsl-functions.php:150
|
2057 |
msgid "Category filter"
|
2058 |
msgstr ""
|
2059 |
|
2060 |
+
#: admin/templates/map-settings.php:507 frontend/class-frontend.php:1295
|
2061 |
msgid "Category"
|
2062 |
msgstr ""
|
2063 |
|
2066 |
msgstr ""
|
2067 |
|
2068 |
#: admin/templates/map-settings.php:511 admin/upgrade.php:367
|
2069 |
+
#: frontend/class-frontend.php:1298 inc/wpsl-functions.php:151
|
2070 |
msgid "Any"
|
2071 |
msgstr ""
|
2072 |
|
2073 |
#: admin/templates/map-settings.php:514 admin/templates/map-settings.php:515
|
2074 |
+
#: admin/upgrade.php:59 frontend/class-frontend.php:1660
|
2075 |
+
#: frontend/underscore-functions.php:138 frontend/underscore-functions.php:168
|
2076 |
+
#: inc/wpsl-functions.php:137
|
2077 |
msgid "More info"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
#: admin/templates/map-settings.php:518 admin/templates/map-settings.php:519
|
2081 |
+
#: frontend/class-frontend.php:787 frontend/underscore-functions.php:29
|
2082 |
+
#: frontend/underscore-functions.php:65 frontend/underscore-functions.php:147
|
2083 |
+
#: inc/wpsl-functions.php:145
|
2084 |
msgid "Phone"
|
2085 |
msgstr ""
|
2086 |
|
2087 |
#: admin/templates/map-settings.php:538 admin/templates/map-settings.php:539
|
2088 |
+
#: frontend/class-frontend.php:1665 inc/wpsl-functions.php:130
|
2089 |
msgid "Start location"
|
2090 |
msgstr ""
|
2091 |
|
2093 |
msgid "Get directions"
|
2094 |
msgstr ""
|
2095 |
|
2096 |
+
#: admin/templates/map-settings.php:543 frontend/class-frontend.php:1663
|
2097 |
+
#: inc/wpsl-functions.php:138
|
2098 |
msgid "Directions"
|
2099 |
msgstr ""
|
2100 |
|
2103 |
msgstr ""
|
2104 |
|
2105 |
#: admin/templates/map-settings.php:547 admin/upgrade.php:151
|
2106 |
+
#: frontend/class-frontend.php:1664 inc/wpsl-functions.php:139
|
2107 |
msgid "No route could be found between the origin and destination"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
#: admin/templates/map-settings.php:550 admin/templates/map-settings.php:551
|
2111 |
+
#: admin/upgrade.php:77 frontend/class-frontend.php:1666
|
2112 |
+
#: inc/wpsl-functions.php:140
|
2113 |
msgid "Back"
|
2114 |
msgstr ""
|
2115 |
|
2116 |
#: admin/templates/map-settings.php:554 admin/templates/map-settings.php:555
|
2117 |
+
#: admin/upgrade.php:143 frontend/class-frontend.php:1667
|
2118 |
+
#: inc/wpsl-functions.php:141
|
2119 |
msgid "Street view"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
#: admin/templates/map-settings.php:558 admin/templates/map-settings.php:559
|
2123 |
+
#: admin/upgrade.php:147 frontend/class-frontend.php:1668
|
2124 |
+
#: inc/wpsl-functions.php:142
|
2125 |
msgid "Zoom here"
|
2126 |
msgstr ""
|
2127 |
|
2129 |
msgid "General error"
|
2130 |
msgstr ""
|
2131 |
|
2132 |
+
#: admin/templates/map-settings.php:563 frontend/class-frontend.php:1661
|
2133 |
+
#: inc/wpsl-functions.php:143
|
2134 |
msgid "Something went wrong, please try again!"
|
2135 |
msgstr ""
|
2136 |
|
2145 |
"the \"API key\" field at the top of this page."
|
2146 |
msgstr ""
|
2147 |
|
2148 |
+
#: admin/templates/map-settings.php:567 frontend/class-frontend.php:1662
|
2149 |
+
#: inc/wpsl-functions.php:144
|
2150 |
msgid "API usage limit reached"
|
2151 |
msgstr ""
|
2152 |
|
2166 |
msgstr ""
|
2167 |
|
2168 |
#: admin/templates/map-settings.php:587
|
2169 |
+
msgid ""
|
2170 |
+
"Prevent other scripts from including the Google Maps API a second time on "
|
2171 |
+
"the store locator page?"
|
2172 |
+
msgstr ""
|
2173 |
+
|
2174 |
+
#: admin/templates/map-settings.php:587
|
2175 |
+
#, php-format
|
2176 |
+
msgid ""
|
2177 |
+
"If the %sbrowser console%s shows the error below, then enabling this option "
|
2178 |
+
"should fix it. %s %sYou have included the Google Maps API multiple times on "
|
2179 |
+
"this page. This may cause unexpected errors.%s %s This error can in some "
|
2180 |
+
"situations break the store locator map."
|
2181 |
+
msgstr ""
|
2182 |
+
|
2183 |
+
#: admin/templates/map-settings.php:591
|
2184 |
msgid "WPSL transients"
|
2185 |
msgstr ""
|
2186 |
|
2187 |
+
#: admin/templates/map-settings.php:592
|
2188 |
msgid "Clear store locator transient cache"
|
2189 |
msgstr ""
|
2190 |
|
2196 |
msgid "Reset"
|
2197 |
msgstr ""
|
2198 |
|
2199 |
+
#: admin/upgrade.php:174 inc/wpsl-functions.php:124
|
2200 |
msgid "stores"
|
2201 |
msgstr ""
|
2202 |
|
2203 |
+
#: admin/upgrade.php:178 inc/wpsl-functions.php:125
|
2204 |
msgid "store-category"
|
2205 |
msgstr ""
|
2206 |
|
2207 |
+
#: admin/upgrade.php:424
|
2208 |
#, php-format
|
2209 |
msgid ""
|
2210 |
"Because you updated WP Store Locator from version 1.x, the %s current store "
|
2211 |
"locations need to be %sconverted%s to custom post types."
|
2212 |
msgstr ""
|
2213 |
|
2214 |
+
#: admin/upgrade.php:445
|
2215 |
#, php-format
|
2216 |
msgid ""
|
2217 |
"The script converting the locations timed out. %s You can click the \"Start "
|
2222 |
"but if you are reading this then that failed."
|
2223 |
msgstr ""
|
2224 |
|
2225 |
+
#: admin/upgrade.php:466
|
2226 |
msgid "Store locations to convert:"
|
2227 |
msgstr ""
|
2228 |
|
2229 |
+
#: admin/upgrade.php:468
|
2230 |
msgid "Start Converting"
|
2231 |
msgstr ""
|
2232 |
|
2233 |
+
#: admin/upgrade.php:590
|
2234 |
#, php-format
|
2235 |
msgid ""
|
2236 |
"All the store locations are now converted to custom post types. %s You can "
|
2237 |
"view them on the %sAll Stores%s page."
|
2238 |
msgstr ""
|
2239 |
|
2240 |
+
#: frontend/class-frontend.php:724
|
2241 |
msgid ""
|
2242 |
"If you use the [wpsl_address] shortcode outside a store page you need to set "
|
2243 |
"the ID attribute."
|
2244 |
msgstr ""
|
2245 |
|
2246 |
+
#: frontend/class-frontend.php:838
|
2247 |
msgid ""
|
2248 |
"If you use the [wpsl_hours] shortcode outside a store page you need to set "
|
2249 |
"the ID attribute."
|
2250 |
msgstr ""
|
2251 |
|
2252 |
+
#: frontend/class-frontend.php:886
|
2253 |
msgid ""
|
2254 |
"If you use the [wpsl_map] shortcode outside a store page, then you need to "
|
2255 |
"set the ID or category attribute."
|
2256 |
msgstr ""
|
2257 |
|
2258 |
+
#: frontend/class-frontend.php:1459
|
2259 |
msgid "The application does not have permission to use the Geolocation API."
|
2260 |
msgstr ""
|
2261 |
|
2262 |
+
#: frontend/class-frontend.php:1460
|
2263 |
msgid "Location information is unavailable."
|
2264 |
msgstr ""
|
2265 |
|
2266 |
+
#: frontend/class-frontend.php:1461
|
2267 |
msgid "The geolocation request timed out."
|
2268 |
msgstr ""
|
2269 |
|
2270 |
+
#: frontend/class-frontend.php:1462
|
2271 |
msgid "An unknown error occurred."
|
2272 |
msgstr ""
|
2273 |
|
2377 |
msgid "Zip"
|
2378 |
msgstr ""
|
2379 |
|
2380 |
+
#: inc/wpsl-functions.php:220
|
2381 |
msgid "Show the store list below the map"
|
2382 |
msgstr ""
|
2383 |
|
2384 |
+
#: inc/wpsl-functions.php:237
|
2385 |
msgid "Monday"
|
2386 |
msgstr ""
|
2387 |
|
2388 |
+
#: inc/wpsl-functions.php:238
|
2389 |
msgid "Tuesday"
|
2390 |
msgstr ""
|
2391 |
|
2392 |
+
#: inc/wpsl-functions.php:239
|
2393 |
msgid "Wednesday"
|
2394 |
msgstr ""
|
2395 |
|
2396 |
+
#: inc/wpsl-functions.php:240
|
2397 |
msgid "Thursday"
|
2398 |
msgstr ""
|
2399 |
|
2400 |
+
#: inc/wpsl-functions.php:241
|
2401 |
msgid "Friday"
|
2402 |
msgstr ""
|
2403 |
|
2404 |
+
#: inc/wpsl-functions.php:242
|
2405 |
msgid "Saturday"
|
2406 |
msgstr ""
|
2407 |
|
2408 |
+
#: inc/wpsl-functions.php:243
|
2409 |
msgid "Sunday"
|
2410 |
msgstr ""
|
2411 |
|
2412 |
+
#: inc/wpsl-functions.php:273
|
2413 |
#, php-format
|
2414 |
msgid "Mon %sTue %sWed %sThu %sFri %sSat Closed %sSun Closed"
|
2415 |
msgstr ""
|
2416 |
|
2417 |
+
#: inc/wpsl-functions.php:289
|
2418 |
msgid "Satellite"
|
2419 |
msgstr ""
|
2420 |
|
2421 |
+
#: inc/wpsl-functions.php:290
|
2422 |
msgid "Hybrid"
|
2423 |
msgstr ""
|
2424 |
|
2425 |
+
#: inc/wpsl-functions.php:291
|
2426 |
msgid "Terrain"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
+
#: inc/wpsl-functions.php:306
|
2430 |
msgid "(city) (state) (zip code)"
|
2431 |
msgstr ""
|
2432 |
|
2433 |
+
#: inc/wpsl-functions.php:307
|
2434 |
msgid "(city), (state) (zip code)"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
+
#: inc/wpsl-functions.php:308
|
2438 |
msgid "(city) (zip code)"
|
2439 |
msgstr ""
|
2440 |
|
2441 |
+
#: inc/wpsl-functions.php:309
|
2442 |
msgid "(city), (zip code)"
|
2443 |
msgstr ""
|
2444 |
|
2445 |
+
#: inc/wpsl-functions.php:310
|
2446 |
msgid "(zip code) (city) (state)"
|
2447 |
msgstr ""
|
2448 |
|
2449 |
+
#: inc/wpsl-functions.php:311
|
2450 |
msgid "(zip code) (city)"
|
2451 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: tijmensmit
|
|
4 |
Donate link: https://www.paypal.me/tijmensmit
|
5 |
Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
|
6 |
Requires at least: 3.7
|
7 |
-
Tested up to: 4.
|
8 |
-
Stable tag: 2.2.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl.html
|
11 |
|
@@ -38,9 +38,8 @@ the language that is set in the admin panel.
|
|
38 |
* Use the Geolocation API to find the current location of the user and show nearby stores.
|
39 |
* Developer friendly code. It uses custom post types and includes almost 30 different [filters](https://wpstorelocator.co/documentation/filters/) that help you change the look and feel of the store locator.
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
Please take a look at the store locator [documentation](https://wpstorelocator.co/documentation/) before making a support request.
|
44 |
|
45 |
* [Getting Started](https://wpstorelocator.co/documentation/getting-started/)
|
46 |
* [Troubleshooting](https://wpstorelocator.co/documentation/troubleshooting/)
|
@@ -69,7 +68,8 @@ Generate a directory based on the store locations.
|
|
69 |
|
70 |
1. Upload the `wp-store-locator` folder to the `/wp-content/plugins/` directory
|
71 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
72 |
-
1. Create a [
|
|
|
73 |
1. Add your stores under 'Store Locator' -> Add Store
|
74 |
1. Add the map to a page with this shortcode: [wpsl]
|
75 |
|
@@ -77,7 +77,7 @@ Generate a directory based on the store locations.
|
|
77 |
|
78 |
= How do I add the store locator to a page? =
|
79 |
|
80 |
-
Add this shortcode [wpsl] to the page where you want to display the store locator.
|
81 |
|
82 |
= Oops! Something went wrong =
|
83 |
|
@@ -126,6 +126,17 @@ If you find a plugin or theme that causes a conflict, please report it on the [s
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
= 2.2.3, June 27, 2016 =
|
130 |
* Fixed: Included the browser key in requests made to the Google Maps JavaScript API in the admin area. This is now [required](http://googlegeodevelopers.blogspot.nl/2016/06/building-for-scale-updates-to-google.html).
|
131 |
* Changed: Include the language code in the AJAX request if WPML is active.
|
4 |
Donate link: https://www.paypal.me/tijmensmit
|
5 |
Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
|
6 |
Requires at least: 3.7
|
7 |
+
Tested up to: 4.6
|
8 |
+
Stable tag: 2.2.4
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl.html
|
11 |
|
38 |
* Use the Geolocation API to find the current location of the user and show nearby stores.
|
39 |
* Developer friendly code. It uses custom post types and includes almost 30 different [filters](https://wpstorelocator.co/documentation/filters/) that help you change the look and feel of the store locator.
|
40 |
|
41 |
+
> <strong>Documentation</strong><br>
|
42 |
+
> Please take a look at the store locator [documentation](https://wpstorelocator.co/documentation/) before making a support request.
|
|
|
43 |
|
44 |
* [Getting Started](https://wpstorelocator.co/documentation/getting-started/)
|
45 |
* [Troubleshooting](https://wpstorelocator.co/documentation/troubleshooting/)
|
68 |
|
69 |
1. Upload the `wp-store-locator` folder to the `/wp-content/plugins/` directory
|
70 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
71 |
+
1. Create a [Google API Key](https://wpstorelocator.co/document/create-google-api-keys/) and set them on the [settings](https://wpstorelocator.co/document/configure-wp-store-locator/#google-maps-api) page.
|
72 |
+
1. Set the start point on the [settings](https://wpstorelocator.co/document/configure-wp-store-locator/#map).
|
73 |
1. Add your stores under 'Store Locator' -> Add Store
|
74 |
1. Add the map to a page with this shortcode: [wpsl]
|
75 |
|
77 |
|
78 |
= How do I add the store locator to a page? =
|
79 |
|
80 |
+
Add this [shortcode](https://wpstorelocator.co/document/shortcodes/) [wpsl] to the page where you want to display the store locator.
|
81 |
|
82 |
= Oops! Something went wrong =
|
83 |
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 2.2.4, Augustus 6, 2016 =
|
130 |
+
* New: Added an option to the tools section to prevent other scripts from including the Google Maps API a second time on the store locator page. This sometimes breaks the map.
|
131 |
+
* Fixed: Assigned the correct country code to Martinique on the settings page.
|
132 |
+
* Fixed: The code that calls [wp_editor](https://codex.wordpress.org/Function_Reference/wp_editor) now includes a random ID after 'wpsleditor' to make sure you can use it multiple times on the same page.
|
133 |
+
* Fixed: The inline [qTranslate X](https://wordpress.org/plugins/qtranslate-x/) syntax ( [:en]English Text[:de]Deutsch[:] ) now works for the label fields.
|
134 |
+
* Fixed: Added a workaround for [this](https://bugzilla.mozilla.org/show_bug.cgi?id=1283563) bug with the Geolocation API in Firefox.
|
135 |
+
* Changed: Automatically adjust the language Google Maps uses when WMPL or qTranslate X is active.
|
136 |
+
* Changed: Improved the handling of error codes returned by the Google Geocode API.
|
137 |
+
* Changed: Removed the '_' prefix from the returned language code in check_multilingual_code().
|
138 |
+
* Changed: Updated the wpsl.pot file.
|
139 |
+
|
140 |
= 2.2.3, June 27, 2016 =
|
141 |
* Fixed: Included the browser key in requests made to the Google Maps JavaScript API in the admin area. This is now [required](http://googlegeodevelopers.blogspot.nl/2016/06/building-for-scale-updates-to-google.html).
|
142 |
* Changed: Include the language code in the AJAX request if WPML is active.
|
wp-store-locator.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Store Locator
|
|
4 |
Description: An easy to use location management system that enables users to search for nearby physical stores
|
5 |
Author: Tijmen Smit
|
6 |
Author URI: https://wpstorelocator.co/
|
7 |
-
Version: 2.2.
|
8 |
Text Domain: wpsl
|
9 |
Domain Path: /languages/
|
10 |
License: GPL v3
|
@@ -58,7 +58,7 @@ if ( !class_exists( 'WP_Store_locator' ) ) {
|
|
58 |
public function define_constants() {
|
59 |
|
60 |
if ( !defined( 'WPSL_VERSION_NUM' ) )
|
61 |
-
define( 'WPSL_VERSION_NUM', '2.2.
|
62 |
|
63 |
if ( !defined( 'WPSL_URL' ) )
|
64 |
define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );
|
4 |
Description: An easy to use location management system that enables users to search for nearby physical stores
|
5 |
Author: Tijmen Smit
|
6 |
Author URI: https://wpstorelocator.co/
|
7 |
+
Version: 2.2.4
|
8 |
Text Domain: wpsl
|
9 |
Domain Path: /languages/
|
10 |
License: GPL v3
|
58 |
public function define_constants() {
|
59 |
|
60 |
if ( !defined( 'WPSL_VERSION_NUM' ) )
|
61 |
+
define( 'WPSL_VERSION_NUM', '2.2.4' );
|
62 |
|
63 |
if ( !defined( 'WPSL_URL' ) )
|
64 |
define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );
|