WP Store Locator - Version 2.2.3

Version Description

Download this release

Release Info

Developer tijmensmit
Plugin Icon 128x128 WP Store Locator
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

admin/class-admin.php CHANGED
@@ -50,7 +50,7 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
50
 
51
  add_action( 'init', array( $this, 'init' ) );
52
  add_action( 'admin_menu', array( $this, 'create_admin_menu' ) );
53
- add_action( 'admin_init', array( $this, 'admin_init' ) );
54
  add_action( 'delete_post', array( $this, 'maybe_delete_autoload_transient' ) );
55
  add_action( 'wp_trash_post', array( $this, 'maybe_delete_autoload_transient' ) );
56
  add_action( 'untrash_post', array( $this, 'maybe_delete_autoload_transient' ) );
@@ -58,6 +58,7 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
58
  add_filter( 'plugin_row_meta', array( $this, 'add_plugin_meta_row' ), 10, 2 );
59
  add_filter( 'plugin_action_links_' . WPSL_BASENAME, array( $this, 'add_action_links' ), 10, 2 );
60
  add_filter( 'admin_footer_text', array( $this, 'admin_footer_text' ), 1 );
 
61
  }
62
 
63
  /**
@@ -89,54 +90,76 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
89
  }
90
 
91
  /**
92
- * Check if we need to show the "missing start point" warning.
 
93
  *
94
  * @since 1.0.0
 
95
  * @return void
96
  */
97
- public function admin_init() {
98
 
99
  global $current_user, $wpsl_settings;
100
-
 
 
 
 
 
 
 
 
101
  if ( ( current_user_can( 'install_plugins' ) ) && is_admin() ) {
102
- if ( ( empty( $wpsl_settings['start_latlng'] ) && !get_user_meta( $current_user->ID, 'wpsl_disable_location_warning' ) ) ) {
103
- add_action( 'wp_ajax_disable_location_warning', array( $this, 'disable_location_warning_ajax' ) );
104
- add_action( 'admin_notices', array( $this, 'show_location_warning' ) );
 
 
 
 
 
 
 
 
 
105
  }
106
  }
107
  }
108
 
109
  /**
110
- * Display an error message when no start location is defined.
111
  *
112
  * @since 1.2.0
113
  * @return void
114
  */
115
- public function show_location_warning() {
116
-
117
- if ( isset( $_GET['page'] ) && ( $_GET['page'] !== 'wpsl_settings' ) ) {
118
- echo "<div id='message' class='error'><p>" . 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 class='wpsl-dismiss' data-nonce='" . wp_create_nonce( 'wpsl-dismiss' ) . "' href='#'>", "</a>" ). "</p></div>";
119
  }
120
  }
121
-
122
- /**
123
- * Disable the missing start location warning.
124
- *
125
- * @since 1.2.0
126
- * @return void
127
- */
128
- public function disable_location_warning_ajax() {
129
-
 
130
  global $current_user;
 
 
131
 
132
- if ( !current_user_can( 'manage_wpsl_settings' ) )
133
- die( '-1' );
134
- check_ajax_referer( 'wpsl-dismiss' );
135
-
136
- add_user_meta( $current_user->ID, 'wpsl_disable_location_warning', 'true', true );
137
-
138
- die();
139
- }
 
140
 
141
  /**
142
  * Add the admin menu pages.
@@ -328,9 +351,7 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
328
  * @since 1.0.0
329
  * @return void
330
  */
331
- public function admin_scripts() {
332
-
333
- global $wpsl_settings;
334
 
335
  $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
336
 
@@ -351,7 +372,8 @@ if ( !class_exists( 'WPSL_Admin' ) ) {
351
 
352
  wp_enqueue_media();
353
  wp_enqueue_script( 'jquery-ui-dialog' );
354
- wp_enqueue_script( 'wpsl-gmap', ( '//maps.google.com/maps/api/js?libraries=places&language=' . $wpsl_settings['api_language'] ), false, '', true );
 
355
  wp_enqueue_script( 'wpsl-queue', plugins_url( '/js/ajax-queue'. $min .'.js', __FILE__ ), array( 'jquery' ), WPSL_VERSION_NUM, true );
356
  wp_enqueue_script( 'wpsl-retina', plugins_url( '/js/retina'. $min .'.js', __FILE__ ), array( 'jquery' ), WPSL_VERSION_NUM, true );
357
 
50
 
51
  add_action( 'init', array( $this, 'init' ) );
52
  add_action( 'admin_menu', array( $this, 'create_admin_menu' ) );
53
+ add_action( 'admin_init', array( $this, 'setting_warnings' ) );
54
  add_action( 'delete_post', array( $this, 'maybe_delete_autoload_transient' ) );
55
  add_action( 'wp_trash_post', array( $this, 'maybe_delete_autoload_transient' ) );
56
  add_action( 'untrash_post', array( $this, 'maybe_delete_autoload_transient' ) );
58
  add_filter( 'plugin_row_meta', array( $this, 'add_plugin_meta_row' ), 10, 2 );
59
  add_filter( 'plugin_action_links_' . WPSL_BASENAME, array( $this, 'add_action_links' ), 10, 2 );
60
  add_filter( 'admin_footer_text', array( $this, 'admin_footer_text' ), 1 );
61
+ add_action( 'wp_loaded', array( $this, 'disable_setting_notices' ) );
62
  }
63
 
64
  /**
90
  }
91
 
92
  /**
93
+ * Check if we need to show warnings after
94
+ * the user installed the plugin.
95
  *
96
  * @since 1.0.0
97
+ * @todo move to class-notices?
98
  * @return void
99
  */
100
+ public function setting_warnings() {
101
 
102
  global $current_user, $wpsl_settings;
103
+
104
+ $this->setting_warning = array();
105
+
106
+ // The fields settings field to check for data.
107
+ $warnings = array(
108
+ 'start_latlng' => 'location',
109
+ 'api_browser_key' => 'key'
110
+ );
111
+
112
  if ( ( current_user_can( 'install_plugins' ) ) && is_admin() ) {
113
+ foreach ( $warnings as $setting_name => $warning ) {
114
+ if ( empty( $wpsl_settings[$setting_name] ) && !get_user_meta( $current_user->ID, 'wpsl_disable_' . $warning . '_warning' ) ) {
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/configure-wp-store-locator/#google-maps-api">', "</a>", "<a href='" . esc_url( wp_nonce_url( add_query_arg( 'wpsl-notice', 'key' ), 'wpsl_notices_nonce', '_wpsl_notice_nonce' ) ) . "'>", "</a>" );
119
+ }
120
+ }
121
+ }
122
+
123
+ if ( $this->setting_warning ) {
124
+ add_action( 'admin_notices', array( $this, 'show_warning' ) );
125
  }
126
  }
127
  }
128
 
129
  /**
130
+ * Show the admin warnings
131
  *
132
  * @since 1.2.0
133
  * @return void
134
  */
135
+ public function show_warning() {
136
+ foreach ( $this->setting_warning as $k => $warning ) {
137
+ echo "<div id='message' class='error'><p>" . $warning . "</p></div>";
 
138
  }
139
  }
140
+
141
+ /**
142
+ * Disable notices about the plugin settings.
143
+ *
144
+ * @todo move to class-notices?
145
+ * @since 2.2.3
146
+ * @return void
147
+ */
148
+ public function disable_setting_notices() {
149
+
150
  global $current_user;
151
+
152
+ if ( isset( $_GET['wpsl-notice'] ) && isset( $_GET['_wpsl_notice_nonce'] ) ) {
153
 
154
+ if ( !wp_verify_nonce( $_GET['_wpsl_notice_nonce'], 'wpsl_notices_nonce' ) ) {
155
+ wp_die( __( 'Security check failed. Please reload the page and try again.', 'wpsl' ) );
156
+ }
157
+
158
+ $notice = sanitize_text_field( $_GET['wpsl-notice'] );
159
+
160
+ add_user_meta( $current_user->ID, 'wpsl_disable_' . $notice . '_warning', 'true', true );
161
+ }
162
+ }
163
 
164
  /**
165
  * Add the admin menu pages.
351
  * @since 1.0.0
352
  * @return void
353
  */
354
+ public function admin_scripts() {
 
 
355
 
356
  $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
357
 
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' ) . '&libraries=places' ), false, WPSL_VERSION_NUM, true );
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 );
379
 
admin/templates/map-settings.php CHANGED
@@ -91,12 +91,12 @@ 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, and is required if you need to %spurchase%s additional quota.', 'wpsl' ), '<a href="https://developers.google.com/maps/documentation/geocoding/get-api-key#get-an-api-key" target="_blank">', '</a>', '<a href="https://developers.google.com/maps/documentation/geocoding/intro">', '</a>', '<a href="https://developers.google.com/maps/documentation/geocoding/usage-limits#increase-your-quota-by-enabling-pay-as-you-go-billing">', '</a>' ); ?></span></span></label>
95
- <input type="text" value="<?php echo esc_attr( $wpsl_settings['api_server_key'] ); ?>" name="wpsl_api[server_key]" placeholder="<?php _e( 'Optional', 'wpsl' ); ?>" 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.', 'wpsl' ), '<a href="https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key" target="_blank">', '</a>', '<a href="https://developers.google.com/maps/documentation/javascript/">', '</a>' ); ?></span></span></label>
99
- <input type="text" value="<?php echo esc_attr( $wpsl_settings['api_browser_key'] ); ?>" name="wpsl_api[browser_key]" placeholder="<?php _e( 'Optional', 'wpsl' ); ?>" class="textinput" id="wpsl-api-browser-key">
100
  </p>
101
  <p>
102
  <label for="wpsl-api-language"><?php _e( 'Map language', 'wpsl' ); ?>:<span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php _e( 'If no map language is selected the browser\'s prefered language is used.', 'wpsl' ); ?></span></span></label>
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://developers.google.com/maps/documentation/geocoding/get-api-key#get-an-api-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://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-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>
102
  <label for="wpsl-api-language"><?php _e( 'Map language', 'wpsl' ); ?>:<span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php _e( 'If no map language is selected the browser\'s prefered language is used.', 'wpsl' ); ?></span></span></label>
frontend/class-frontend.php CHANGED
@@ -108,6 +108,8 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
108
  $store_data = $this->find_nearby_locations();
109
  }
110
 
 
 
111
  wp_send_json( $store_data );
112
 
113
  exit();
@@ -1505,6 +1507,27 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1505
 
1506
  return $draggable;
1507
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1508
 
1509
  /**
1510
  * Load the required JS scripts.
@@ -1567,7 +1590,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1567
  'searchRadius' => $dropdown_defaults['search_radius'],
1568
  'distanceUnit' => $wpsl_settings['distance_unit'],
1569
  'geoLocationTimout' => apply_filters( 'wpsl_geolocation_timeout', 5000 ),
1570
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
1571
  'mapControls' => $this->get_map_controls()
1572
  );
1573
 
@@ -1649,7 +1672,7 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1649
  }
1650
  }
1651
 
1652
- wp_localize_script( 'wpsl-js', 'wpslSettings', $settings );
1653
 
1654
  wpsl_create_underscore_templates( $template );
1655
 
108
  $store_data = $this->find_nearby_locations();
109
  }
110
 
111
+ do_action( 'wpsl_store_search' );
112
+
113
  wp_send_json( $store_data );
114
 
115
  exit();
1507
 
1508
  return $draggable;
1509
  }
1510
+
1511
+ /**
1512
+ * Get the URL to the admin-ajax.php
1513
+ *
1514
+ * @since 2.2.3
1515
+ * @return string $ajax_url URL to the admin-ajax.php possibly with the WPML lang param included.
1516
+ */
1517
+ public function get_ajax_url() {
1518
+
1519
+ global $wpsl;
1520
+
1521
+ $param = '';
1522
+
1523
+ if ( $wpsl->i18n->wpml_exists() ) {
1524
+ $param = '?lang=' . ICL_LANGUAGE_CODE;
1525
+ }
1526
+
1527
+ $ajax_url = admin_url( 'admin-ajax.php' . $param );
1528
+
1529
+ return $ajax_url;
1530
+ }
1531
 
1532
  /**
1533
  * Load the required JS scripts.
1590
  'searchRadius' => $dropdown_defaults['search_radius'],
1591
  'distanceUnit' => $wpsl_settings['distance_unit'],
1592
  'geoLocationTimout' => apply_filters( 'wpsl_geolocation_timeout', 5000 ),
1593
+ 'ajaxurl' => $this->get_ajax_url(),
1594
  'mapControls' => $this->get_map_controls()
1595
  );
1596
 
1672
  }
1673
  }
1674
 
1675
+ wp_localize_script( 'wpsl-js', 'wpslSettings', apply_filters( 'wpsl_js_settings', $settings ) );
1676
 
1677
  wpsl_create_underscore_templates( $template );
1678
 
inc/wpsl-functions.php CHANGED
@@ -43,6 +43,7 @@ function wpsl_get_gmap_api_params( $api_key_type, $geocode_params = false ) {
43
  }
44
 
45
  // Do we need to include the autocomplete library? This is only necessary on the front-end.
 
46
  if ( $wpsl_settings['autocomplete'] && $api_key_type == 'browser_key' ) {
47
  $api_params .= '&libraries=places';
48
  }
43
  }
44
 
45
  // Do we need to include the autocomplete library? This is only necessary on the front-end.
46
+ // @todo backend option check toevoegen...
47
  if ( $wpsl_settings['autocomplete'] && $api_key_type == 'browser_key' ) {
48
  $api_params .= '&libraries=places';
49
  }
js/wpsl-gmap.js CHANGED
@@ -1418,6 +1418,11 @@ function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1418
  }
1419
  }
1420
 
 
 
 
 
 
1421
  return ajaxData;
1422
  }
1423
 
1418
  }
1419
  }
1420
 
1421
+ // If the collection of statistics is enabled, then we include the searched value.
1422
+ if ( typeof wpslSettings.collectStatistics !== "undefined" && autoLoad == 0 ) {
1423
+ ajaxData.search = $( "#wpsl-search-input" ).val();
1424
+ }
1425
+
1426
  return ajaxData;
1427
  }
1428
 
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))),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(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})}});
languages/wpsl-es_ES.mo ADDED
Binary file
languages/wpsl-es_ES.po ADDED
@@ -0,0 +1,2551 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Store Locator v2.2\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-06-07 11:59-0500\n"
6
+ "PO-Revision-Date: 2016-06-07 15:34-0500\n"
7
+ "Language-Team: Jaime Smeke <hola@untaljai.me>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
+ "X-Generator: Poedit 1.8.8\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
15
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Textdomain-Support: yes\n"
18
+ "Last-Translator: \n"
19
+ "Language: es_MX\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ #: admin/class-admin.php:118
23
+ #, php-format
24
+ msgid ""
25
+ "Before adding the [wpsl] shortcode to a page, please don't forget to define "
26
+ "a start point on the %ssettings%s page. %sDismiss%s"
27
+ msgstr ""
28
+ "Por favor no olvides definir un punto de inicio en la página de %sajustes%s "
29
+ "antes de añadir el shortcode de [wpsl] a una página. %sCerrar%s"
30
+
31
+ #: admin/class-admin.php:151 admin/class-admin.php:152
32
+ #: admin/class-admin.php:435 admin/templates/map-settings.php:11
33
+ msgid "Settings"
34
+ msgstr "Ajustes"
35
+
36
+ #: admin/class-admin.php:158 admin/class-admin.php:159
37
+ #: admin/class-admin.php:455
38
+ msgid "Add-Ons"
39
+ msgstr "Extensiones"
40
+
41
+ #: admin/class-admin.php:293
42
+ msgid "Cannot determine the address at this location."
43
+ msgstr "Imposible determinar la dirección en esta ubicación."
44
+
45
+ #: admin/class-admin.php:294
46
+ msgid "Geocode was not successful for the following reason"
47
+ msgstr "La geolocalización falló por la siguiente razón"
48
+
49
+ #: admin/class-admin.php:295 admin/upgrade.php:440
50
+ msgid "Security check failed, reload the page and try again."
51
+ msgstr ""
52
+ "Chequeo de seguridad fallido, por favor recarga la página e intenta de nuevo."
53
+
54
+ #: admin/class-admin.php:296
55
+ msgid "Please fill in all the required store details."
56
+ msgstr "Por favor llena todos los detalles de tienda necesarios."
57
+
58
+ #: admin/class-admin.php:297
59
+ msgid "The map preview requires all the location details."
60
+ msgstr "El mapa de previsualización requiere todos los detalles de ubicación."
61
+
62
+ #: admin/class-admin.php:298 admin/class-metaboxes.php:525
63
+ #: frontend/class-frontend.php:541
64
+ msgid "Closed"
65
+ msgstr "Cerrado"
66
+
67
+ #: admin/class-admin.php:299
68
+ msgid "The code for the map style is invalid."
69
+ msgstr "El código para el estilo del mapa es inválido."
70
+
71
+ #: admin/class-admin.php:390
72
+ msgid "Welcome to WP Store Locator"
73
+ msgstr "Bienvenido a WP Store Locator"
74
+
75
+ #: admin/class-admin.php:391
76
+ msgid "Sign up for the latest plugin updates and announcements."
77
+ msgstr "Regístrate para los anuncios y actualizaciones más recientes."
78
+
79
+ #: admin/class-admin.php:454
80
+ msgid "Documentation"
81
+ msgstr "Documentación"
82
+
83
+ #: admin/class-admin.php:477
84
+ #, php-format
85
+ msgid "If you like this plugin please leave us a %s5 star%s rating."
86
+ msgstr ""
87
+ "Si te gusta este plugin por favor déjanos una calificación de %s5 estrellas"
88
+ "%s."
89
+
90
+ #: admin/class-geocode.php:78
91
+ msgid ""
92
+ "The Google Geocoding API returned no results for the supplied address. "
93
+ "Please change the address and try again."
94
+ msgstr ""
95
+ "El API de Geolocalización de Google no devolvió ningún resultado para la "
96
+ "dirección provista. Por favor cambia la dirección e intenta de nuevo."
97
+
98
+ #: admin/class-geocode.php:81
99
+ #, php-format
100
+ msgid ""
101
+ "You have reached the daily allowed geocoding limit, you can read more %shere"
102
+ "%s."
103
+ msgstr ""
104
+ "Llegaste el límite diario permitido de geolocalización, puedes leer más "
105
+ "%saquí%s."
106
+
107
+ #: admin/class-geocode.php:84
108
+ #, php-format
109
+ msgid "The Google Geocoding API returned REQUEST_DENIED. %s"
110
+ msgstr "El API de Geolocalización de Google devolvió REQUEST_DENIED. %s"
111
+
112
+ #: admin/class-geocode.php:87
113
+ msgid ""
114
+ "The Google Geocoding API failed to return valid data, please try again later."
115
+ msgstr ""
116
+ "El API de Geolocalización de Google no devolvió datos válidos, por favor "
117
+ "intenta de nuevo más tarde."
118
+
119
+ #: admin/class-geocode.php:112
120
+ #, php-format
121
+ msgid "%sError message: %s"
122
+ msgstr "%sMensaje de error: %s"
123
+
124
+ #: admin/class-geocode.php:133
125
+ #, php-format
126
+ msgid ""
127
+ "Something went wrong connecting to the Google Geocode API: %s %s Please try "
128
+ "again later."
129
+ msgstr ""
130
+ "Algo falló al conectarse al API de Geolocalización de Google: %s %s Por "
131
+ "favor intenta de nuevo más tarde."
132
+
133
+ #: admin/class-license-manager.php:183
134
+ #, php-format
135
+ msgid ""
136
+ "The %s license failed to deactivate, please try again later or contact "
137
+ "support!"
138
+ msgstr ""
139
+ "La licencia de %s no pudo ser desactivada, ¡por favor intenta de nuevo más "
140
+ "tarde o contacta a soporte!"
141
+
142
+ #: admin/class-license-manager.php:209 admin/templates/add-ons.php:56
143
+ msgid "Please try again later!"
144
+ msgstr "¡Por favor intenta de nuevo más tarde!"
145
+
146
+ #: admin/class-license-manager.php:257
147
+ #, php-format
148
+ msgid "The %s license key does not belong to this add-on."
149
+ msgstr "La clave de licencia %s no corresponde a esta extensión."
150
+
151
+ #: admin/class-license-manager.php:260
152
+ #, php-format
153
+ msgid "The %s license key does not have any activations left."
154
+ msgstr "La clave de licencia %s ya no tiene activaciones disponibles."
155
+
156
+ #: admin/class-license-manager.php:263
157
+ #, php-format
158
+ msgid "The %s license key is expired. Please renew it."
159
+ msgstr "La clave de licencia %s ha expirado. Por favor renuévala."
160
+
161
+ #: admin/class-license-manager.php:266
162
+ #, php-format
163
+ msgid ""
164
+ "There was a problem activating the license key for the %s, please try again "
165
+ "or contact support. Error code: %s"
166
+ msgstr ""
167
+ "Hubo un problema al activar la clave de licencia para %s, por favor intenta "
168
+ "de nuevo o contacta a soporte. Código de error: %s"
169
+
170
+ #: admin/class-metaboxes.php:33
171
+ msgid "Store Details"
172
+ msgstr "Detalles de tienda"
173
+
174
+ #: admin/class-metaboxes.php:34
175
+ msgid "Store Map"
176
+ msgstr "Mapa de tiendas"
177
+
178
+ #: admin/class-metaboxes.php:48
179
+ msgid "Location"
180
+ msgstr "Ubicación"
181
+
182
+ #: admin/class-metaboxes.php:50 inc/class-post-types.php:162
183
+ msgid "Address"
184
+ msgstr "Dirección"
185
+
186
+ #: admin/class-metaboxes.php:54
187
+ msgid "Address 2"
188
+ msgstr "Dirección 2"
189
+
190
+ #: admin/class-metaboxes.php:57 inc/class-post-types.php:163
191
+ msgid "City"
192
+ msgstr "Ciudad"
193
+
194
+ #: admin/class-metaboxes.php:61 inc/class-post-types.php:164
195
+ msgid "State"
196
+ msgstr "Estado"
197
+
198
+ #: admin/class-metaboxes.php:64
199
+ msgid "Zip Code"
200
+ msgstr "Código postal"
201
+
202
+ #: admin/class-metaboxes.php:67
203
+ msgid "Country"
204
+ msgstr "País"
205
+
206
+ #: admin/class-metaboxes.php:74
207
+ msgid "Latitude"
208
+ msgstr "Latitud"
209
+
210
+ #: admin/class-metaboxes.php:77
211
+ msgid "Longitude"
212
+ msgstr "Longitud"
213
+
214
+ #: admin/class-metaboxes.php:80 admin/class-metaboxes.php:129
215
+ #: admin/class-metaboxes.php:144
216
+ msgid "Opening Hours"
217
+ msgstr "Horarios de operación"
218
+
219
+ #: admin/class-metaboxes.php:82 admin/templates/map-settings.php:534
220
+ #: admin/templates/map-settings.php:535 frontend/underscore-functions.php:159
221
+ #: inc/wpsl-functions.php:145
222
+ msgid "Hours"
223
+ msgstr "Horas"
224
+
225
+ #: admin/class-metaboxes.php:86
226
+ msgid "Additional Information"
227
+ msgstr "Información adicional"
228
+
229
+ #: admin/class-metaboxes.php:88
230
+ msgid "Tel"
231
+ msgstr "Tel"
232
+
233
+ #: admin/class-metaboxes.php:91 admin/templates/map-settings.php:522
234
+ #: admin/templates/map-settings.php:523 frontend/class-frontend.php:789
235
+ #: frontend/underscore-functions.php:32 frontend/underscore-functions.php:66
236
+ #: frontend/underscore-functions.php:149 inc/wpsl-functions.php:142
237
+ msgid "Fax"
238
+ msgstr "Fax"
239
+
240
+ #: admin/class-metaboxes.php:94 admin/templates/map-settings.php:526
241
+ #: admin/templates/map-settings.php:527 admin/upgrade.php:198
242
+ #: frontend/class-frontend.php:793 frontend/underscore-functions.php:35
243
+ #: frontend/underscore-functions.php:69 frontend/underscore-functions.php:152
244
+ #: inc/wpsl-functions.php:143
245
+ msgid "Email"
246
+ msgstr "Email"
247
+
248
+ #: admin/class-metaboxes.php:97 admin/templates/map-settings.php:530
249
+ #: admin/templates/map-settings.php:531 admin/upgrade.php:202
250
+ #: frontend/class-frontend.php:798 inc/wpsl-functions.php:144
251
+ msgid "Url"
252
+ msgstr "Url"
253
+
254
+ #: admin/class-metaboxes.php:447
255
+ msgid "Hour format"
256
+ msgstr "Formato de hora"
257
+
258
+ #: admin/class-metaboxes.php:454
259
+ msgid "Days"
260
+ msgstr "Días"
261
+
262
+ #: admin/class-metaboxes.php:455
263
+ msgid "Opening Periods"
264
+ msgstr "Períodos de operación"
265
+
266
+ #: admin/class-metaboxes.php:703
267
+ msgid "Failed to publish the store. Please fill in the required store details."
268
+ msgstr ""
269
+ "Falló la publicación de la tienda. Por favor ingresa toda la información "
270
+ "requerida."
271
+
272
+ #: admin/class-metaboxes.php:839
273
+ msgid "Preview Location"
274
+ msgstr "Previsualizar ubicación"
275
+
276
+ #: admin/class-metaboxes.php:840
277
+ #, php-format
278
+ msgid ""
279
+ "The map preview is based on the provided address, city and country details. "
280
+ "%s It will ignore any custom latitude or longitude values."
281
+ msgstr ""
282
+ "El mapa de previsualización se basa en la dirección ingresada, ciudad y "
283
+ "país. %s Va a ignorar cualquier valor de latitud o longitud personalizado."
284
+
285
+ #: admin/class-metaboxes.php:841
286
+ msgid "You can drag the marker to adjust the exact location of the marker."
287
+ msgstr "Puedes arrastrar el marcador para ajustar la dirección exacta de éste."
288
+
289
+ #: admin/class-metaboxes.php:861 admin/class-metaboxes.php:864
290
+ msgid "Store updated."
291
+ msgstr "Tienda actualizada."
292
+
293
+ #: admin/class-metaboxes.php:862
294
+ msgid "Custom field updated."
295
+ msgstr "Campo personalizado actualizado."
296
+
297
+ #: admin/class-metaboxes.php:863
298
+ msgid "Custom field deleted."
299
+ msgstr "Campo personalizado eliminado."
300
+
301
+ #: admin/class-metaboxes.php:865
302
+ #, php-format
303
+ msgid "Store restored to revision from %s"
304
+ msgstr "Tienda restaurada a la revisión de %s"
305
+
306
+ #: admin/class-metaboxes.php:866
307
+ msgid "Store published."
308
+ msgstr "Tienda publicada."
309
+
310
+ #: admin/class-metaboxes.php:867
311
+ msgid "Store saved."
312
+ msgstr "Tienda guardada."
313
+
314
+ #: admin/class-metaboxes.php:868
315
+ msgid "Store submitted."
316
+ msgstr "Tienda publicada."
317
+
318
+ #: admin/class-metaboxes.php:870
319
+ #, php-format
320
+ msgid "Store scheduled for: <strong>%1$s</strong>."
321
+ msgstr "Tienda programada para: <strong>%1$s</strong>."
322
+
323
+ #: admin/class-metaboxes.php:871
324
+ msgid "M j, Y @ G:i"
325
+ msgstr "M j, Y @ G:i"
326
+
327
+ #: admin/class-metaboxes.php:873
328
+ msgid "Store draft updated."
329
+ msgstr "Borrador de tienda actualizado."
330
+
331
+ #: admin/class-metaboxes.php:879
332
+ msgid "View store"
333
+ msgstr "Ver tienda"
334
+
335
+ #: admin/class-metaboxes.php:885
336
+ msgid "Preview store"
337
+ msgstr "Previsualizar tienda"
338
+
339
+ #: admin/class-settings.php:38
340
+ msgid "WP Store Locator Transients Cleared"
341
+ msgstr "Transients de WP Store Locator eliminados"
342
+
343
+ #: admin/class-settings.php:397
344
+ msgid ""
345
+ "The max results field cannot be empty, the default value has been restored."
346
+ msgstr ""
347
+ "El campo de resultados máximos no puede estar vacío, el valor por defecto ha "
348
+ "sido restaurado."
349
+
350
+ #: admin/class-settings.php:400
351
+ msgid ""
352
+ "The search radius field cannot be empty, the default value has been restored."
353
+ msgstr ""
354
+ "El campo de radio de búsqueda no puede estar vacío, el valor por defecto ha "
355
+ "sido restaurado."
356
+
357
+ #: admin/class-settings.php:403
358
+ #, php-format
359
+ msgid ""
360
+ "Please provide the name of a city or country that can be used as a starting "
361
+ "point under \"Map Settings\". %s This will only be used if auto-locating the "
362
+ "user fails, or the option itself is disabled."
363
+ msgstr ""
364
+ "Por favor ingresa el nombre de una ciudad o país que pueda ser usado como "
365
+ "punto de inicio en “Ajustes del mapa”. %s Éste solo se usará si la "
366
+ "autolocalización del usuario falla, o si dicha opción está desactivada."
367
+
368
+ #: admin/class-settings.php:424
369
+ msgid "Select your language"
370
+ msgstr "Elige tu lenguaje"
371
+
372
+ #: admin/class-settings.php:425
373
+ msgid "English"
374
+ msgstr "Inglés"
375
+
376
+ #: admin/class-settings.php:426
377
+ msgid "Arabic"
378
+ msgstr "Árabe"
379
+
380
+ #: admin/class-settings.php:427
381
+ msgid "Basque"
382
+ msgstr "Vasco"
383
+
384
+ #: admin/class-settings.php:428
385
+ msgid "Bulgarian"
386
+ msgstr "Búlgaro"
387
+
388
+ #: admin/class-settings.php:429
389
+ msgid "Bengali"
390
+ msgstr "Bengalí"
391
+
392
+ #: admin/class-settings.php:430
393
+ msgid "Catalan"
394
+ msgstr "Catalán"
395
+
396
+ #: admin/class-settings.php:431
397
+ msgid "Czech"
398
+ msgstr "Checo"
399
+
400
+ #: admin/class-settings.php:432
401
+ msgid "Danish"
402
+ msgstr "Danés"
403
+
404
+ #: admin/class-settings.php:433
405
+ msgid "German"
406
+ msgstr "Alemán"
407
+
408
+ #: admin/class-settings.php:434
409
+ msgid "Greek"
410
+ msgstr "Griego"
411
+
412
+ #: admin/class-settings.php:435
413
+ msgid "English (Australian)"
414
+ msgstr "Inglés (Australiano)"
415
+
416
+ #: admin/class-settings.php:436
417
+ msgid "English (Great Britain)"
418
+ msgstr "Inglés (Gran Bretaña)"
419
+
420
+ #: admin/class-settings.php:437
421
+ msgid "Spanish"
422
+ msgstr "Español"
423
+
424
+ #: admin/class-settings.php:438
425
+ msgid "Farsi"
426
+ msgstr "Farsí"
427
+
428
+ #: admin/class-settings.php:439
429
+ msgid "Finnish"
430
+ msgstr "Finlandés"
431
+
432
+ #: admin/class-settings.php:440
433
+ msgid "Filipino"
434
+ msgstr "Filipino"
435
+
436
+ #: admin/class-settings.php:441
437
+ msgid "French"
438
+ msgstr "Francés"
439
+
440
+ #: admin/class-settings.php:442
441
+ msgid "Galician"
442
+ msgstr "Gallego"
443
+
444
+ #: admin/class-settings.php:443
445
+ msgid "Gujarati"
446
+ msgstr "Gujarati"
447
+
448
+ #: admin/class-settings.php:444
449
+ msgid "Hindi"
450
+ msgstr "Hindi"
451
+
452
+ #: admin/class-settings.php:445
453
+ msgid "Croatian"
454
+ msgstr "Croata"
455
+
456
+ #: admin/class-settings.php:446
457
+ msgid "Hungarian"
458
+ msgstr "Húngaro"
459
+
460
+ #: admin/class-settings.php:447
461
+ msgid "Indonesian"
462
+ msgstr "Indonesio"
463
+
464
+ #: admin/class-settings.php:448
465
+ msgid "Italian"
466
+ msgstr "Italiano"
467
+
468
+ #: admin/class-settings.php:449
469
+ msgid "Hebrew"
470
+ msgstr "Hebreo"
471
+
472
+ #: admin/class-settings.php:450
473
+ msgid "Japanese"
474
+ msgstr "Japonés"
475
+
476
+ #: admin/class-settings.php:451
477
+ msgid "Kannada"
478
+ msgstr "Kannada"
479
+
480
+ #: admin/class-settings.php:452
481
+ msgid "Korean"
482
+ msgstr "Coreano"
483
+
484
+ #: admin/class-settings.php:453
485
+ msgid "Lithuanian"
486
+ msgstr "Lituano"
487
+
488
+ #: admin/class-settings.php:454
489
+ msgid "Latvian"
490
+ msgstr "Letón"
491
+
492
+ #: admin/class-settings.php:455
493
+ msgid "Malayalam"
494
+ msgstr "Malayam"
495
+
496
+ #: admin/class-settings.php:456
497
+ msgid "Marathi"
498
+ msgstr "Marathi"
499
+
500
+ #: admin/class-settings.php:457
501
+ msgid "Dutch"
502
+ msgstr "Holandés"
503
+
504
+ #: admin/class-settings.php:458
505
+ msgid "Norwegian"
506
+ msgstr "Noruego"
507
+
508
+ #: admin/class-settings.php:459
509
+ msgid "Norwegian Nynorsk"
510
+ msgstr "Nynorsk Noruego"
511
+
512
+ #: admin/class-settings.php:460
513
+ msgid "Polish"
514
+ msgstr "Polaco"
515
+
516
+ #: admin/class-settings.php:461
517
+ msgid "Portuguese"
518
+ msgstr "Portugués"
519
+
520
+ #: admin/class-settings.php:462
521
+ msgid "Portuguese (Brazil)"
522
+ msgstr "Portugués (Brasil)"
523
+
524
+ #: admin/class-settings.php:463
525
+ msgid "Portuguese (Portugal)"
526
+ msgstr "Portugués (Portugal)"
527
+
528
+ #: admin/class-settings.php:464
529
+ msgid "Romanian"
530
+ msgstr "Rumano"
531
+
532
+ #: admin/class-settings.php:465
533
+ msgid "Russian"
534
+ msgstr "Ruso"
535
+
536
+ #: admin/class-settings.php:466
537
+ msgid "Slovak"
538
+ msgstr "Eslovaco"
539
+
540
+ #: admin/class-settings.php:467
541
+ msgid "Slovenian"
542
+ msgstr "Esloveno"
543
+
544
+ #: admin/class-settings.php:468
545
+ msgid "Serbian"
546
+ msgstr "Serbio"
547
+
548
+ #: admin/class-settings.php:469
549
+ msgid "Swedish"
550
+ msgstr "Sueco"
551
+
552
+ #: admin/class-settings.php:470
553
+ msgid "Tagalog"
554
+ msgstr "Tagalog"
555
+
556
+ #: admin/class-settings.php:471
557
+ msgid "Tamil"
558
+ msgstr "Tamil"
559
+
560
+ #: admin/class-settings.php:472
561
+ msgid "Telugu"
562
+ msgstr "Telugu"
563
+
564
+ #: admin/class-settings.php:473
565
+ msgid "Thai"
566
+ msgstr "Tailandés"
567
+
568
+ #: admin/class-settings.php:474
569
+ msgid "Turkish"
570
+ msgstr "Turco"
571
+
572
+ #: admin/class-settings.php:475
573
+ msgid "Ukrainian"
574
+ msgstr "Ucraniano"
575
+
576
+ #: admin/class-settings.php:476
577
+ msgid "Vietnamese"
578
+ msgstr "Vietnamita"
579
+
580
+ #: admin/class-settings.php:477
581
+ msgid "Chinese (Simplified)"
582
+ msgstr "Chino (Simplificado)"
583
+
584
+ #: admin/class-settings.php:478
585
+ msgid "Chinese (Traditional)"
586
+ msgstr "Chino (Tradicional)"
587
+
588
+ #: admin/class-settings.php:483
589
+ msgid "Select your region"
590
+ msgstr "Elige tu región"
591
+
592
+ #: admin/class-settings.php:484
593
+ msgid "Afghanistan"
594
+ msgstr "Afganistán"
595
+
596
+ #: admin/class-settings.php:485
597
+ msgid "Albania"
598
+ msgstr "Albania"
599
+
600
+ #: admin/class-settings.php:486
601
+ msgid "Algeria"
602
+ msgstr "Argelia"
603
+
604
+ #: admin/class-settings.php:487
605
+ msgid "American Samoa"
606
+ msgstr "Samoa Americana"
607
+
608
+ #: admin/class-settings.php:488
609
+ msgid "Andorra"
610
+ msgstr "Andorra"
611
+
612
+ #: admin/class-settings.php:489
613
+ msgid "Anguilla"
614
+ msgstr "Anguila"
615
+
616
+ #: admin/class-settings.php:490
617
+ msgid "Angola"
618
+ msgstr "Angola"
619
+
620
+ #: admin/class-settings.php:491
621
+ msgid "Antigua and Barbuda"
622
+ msgstr "Antigua y Barbuda"
623
+
624
+ #: admin/class-settings.php:492
625
+ msgid "Argentina"
626
+ msgstr "Argentina"
627
+
628
+ #: admin/class-settings.php:493
629
+ msgid "Armenia"
630
+ msgstr "Armenia"
631
+
632
+ #: admin/class-settings.php:494
633
+ msgid "Aruba"
634
+ msgstr "Aruba"
635
+
636
+ #: admin/class-settings.php:495
637
+ msgid "Australia"
638
+ msgstr "Australia"
639
+
640
+ #: admin/class-settings.php:496
641
+ msgid "Austria"
642
+ msgstr "Austria"
643
+
644
+ #: admin/class-settings.php:497
645
+ msgid "Azerbaijan"
646
+ msgstr "Azerbaiyán"
647
+
648
+ #: admin/class-settings.php:498
649
+ msgid "Bahamas"
650
+ msgstr "Bahamas"
651
+
652
+ #: admin/class-settings.php:499
653
+ msgid "Bahrain"
654
+ msgstr "Bahrain"
655
+
656
+ #: admin/class-settings.php:500
657
+ msgid "Bangladesh"
658
+ msgstr "Bangladesh"
659
+
660
+ #: admin/class-settings.php:501
661
+ msgid "Barbados"
662
+ msgstr "Barbados"
663
+
664
+ #: admin/class-settings.php:502
665
+ msgid "Belarus"
666
+ msgstr "Bielorrusia"
667
+
668
+ #: admin/class-settings.php:503
669
+ msgid "Belgium"
670
+ msgstr "Bélgica"
671
+
672
+ #: admin/class-settings.php:504
673
+ msgid "Belize"
674
+ msgstr "Belice"
675
+
676
+ #: admin/class-settings.php:505
677
+ msgid "Benin"
678
+ msgstr "Benin"
679
+
680
+ #: admin/class-settings.php:506
681
+ msgid "Bermuda"
682
+ msgstr "Bermuda"
683
+
684
+ #: admin/class-settings.php:507
685
+ msgid "Bhutan"
686
+ msgstr "Bután"
687
+
688
+ #: admin/class-settings.php:508
689
+ msgid "Bolivia"
690
+ msgstr "Bolivia"
691
+
692
+ #: admin/class-settings.php:509
693
+ msgid "Bosnia and Herzegovina"
694
+ msgstr "Bosnia y Herzegovina"
695
+
696
+ #: admin/class-settings.php:510
697
+ msgid "Botswana"
698
+ msgstr "Botswana"
699
+
700
+ #: admin/class-settings.php:511
701
+ msgid "Brazil"
702
+ msgstr "Brasil"
703
+
704
+ #: admin/class-settings.php:512
705
+ msgid "British Indian Ocean Territory"
706
+ msgstr "Territorio del Océano Índico Británico "
707
+
708
+ #: admin/class-settings.php:513
709
+ msgid "Brunei"
710
+ msgstr "Brunei"
711
+
712
+ #: admin/class-settings.php:514
713
+ msgid "Bulgaria"
714
+ msgstr "Bulgaria"
715
+
716
+ #: admin/class-settings.php:515
717
+ msgid "Burkina Faso"
718
+ msgstr "Burkina Faso"
719
+
720
+ #: admin/class-settings.php:516
721
+ msgid "Burundi"
722
+ msgstr "Burundi"
723
+
724
+ #: admin/class-settings.php:517
725
+ msgid "Cambodia"
726
+ msgstr "Camboya"
727
+
728
+ #: admin/class-settings.php:518
729
+ msgid "Cameroon"
730
+ msgstr "Camerún"
731
+
732
+ #: admin/class-settings.php:519
733
+ msgid "Canada"
734
+ msgstr "Canadá"
735
+
736
+ #: admin/class-settings.php:520
737
+ msgid "Cape Verde"
738
+ msgstr "Cabo Verde"
739
+
740
+ #: admin/class-settings.php:521
741
+ msgid "Cayman Islands"
742
+ msgstr "Islas Caimán"
743
+
744
+ #: admin/class-settings.php:522
745
+ msgid "Central African Republic"
746
+ msgstr "República Central Africana"
747
+
748
+ #: admin/class-settings.php:523
749
+ msgid "Chad"
750
+ msgstr "Chad"
751
+
752
+ #: admin/class-settings.php:524
753
+ msgid "Chile"
754
+ msgstr "Chile"
755
+
756
+ #: admin/class-settings.php:525
757
+ msgid "China"
758
+ msgstr "China"
759
+
760
+ #: admin/class-settings.php:526
761
+ msgid "Christmas Island"
762
+ msgstr "Isla Navidad"
763
+
764
+ #: admin/class-settings.php:527
765
+ msgid "Cocos Islands"
766
+ msgstr "Islas Cocos"
767
+
768
+ #: admin/class-settings.php:528
769
+ msgid "Colombia"
770
+ msgstr "Colombia"
771
+
772
+ #: admin/class-settings.php:529
773
+ msgid "Comoros"
774
+ msgstr "Comoros"
775
+
776
+ #: admin/class-settings.php:530
777
+ msgid "Congo"
778
+ msgstr "Congo"
779
+
780
+ #: admin/class-settings.php:531
781
+ msgid "Costa Rica"
782
+ msgstr "Costa Rica"
783
+
784
+ #: admin/class-settings.php:532
785
+ msgid "Côte d'Ivoire"
786
+ msgstr "Costa de Marfil"
787
+
788
+ #: admin/class-settings.php:533
789
+ msgid "Croatia"
790
+ msgstr "Croacia"
791
+
792
+ #: admin/class-settings.php:534
793
+ msgid "Cuba"
794
+ msgstr "Cuba"
795
+
796
+ #: admin/class-settings.php:535
797
+ msgid "Czech Republic"
798
+ msgstr "República Checa"
799
+
800
+ #: admin/class-settings.php:536
801
+ msgid "Denmark"
802
+ msgstr "Dinamarca"
803
+
804
+ #: admin/class-settings.php:537
805
+ msgid "Djibouti"
806
+ msgstr "Djibouti"
807
+
808
+ #: admin/class-settings.php:538
809
+ msgid "Democratic Republic of the Congo"
810
+ msgstr "República Democrática del Congo"
811
+
812
+ #: admin/class-settings.php:539
813
+ msgid "Dominica"
814
+ msgstr "Dominica"
815
+
816
+ #: admin/class-settings.php:540
817
+ msgid "Dominican Republic"
818
+ msgstr "República Dominicana"
819
+
820
+ #: admin/class-settings.php:541
821
+ msgid "Ecuador"
822
+ msgstr "Ecuador"
823
+
824
+ #: admin/class-settings.php:542
825
+ msgid "Egypt"
826
+ msgstr "Egipto"
827
+
828
+ #: admin/class-settings.php:543
829
+ msgid "El Salvador"
830
+ msgstr "El Salvador"
831
+
832
+ #: admin/class-settings.php:544
833
+ msgid "Equatorial Guinea"
834
+ msgstr "Guinea Ecuatorial"
835
+
836
+ #: admin/class-settings.php:545
837
+ msgid "Eritrea"
838
+ msgstr "Eritrea"
839
+
840
+ #: admin/class-settings.php:546
841
+ msgid "Estonia"
842
+ msgstr "Estonia"
843
+
844
+ #: admin/class-settings.php:547
845
+ msgid "Ethiopia"
846
+ msgstr "Etiopía"
847
+
848
+ #: admin/class-settings.php:548
849
+ msgid "Fiji"
850
+ msgstr "Fiji"
851
+
852
+ #: admin/class-settings.php:549
853
+ msgid "Finland"
854
+ msgstr "Finlandia"
855
+
856
+ #: admin/class-settings.php:550
857
+ msgid "France"
858
+ msgstr "Francia"
859
+
860
+ #: admin/class-settings.php:551
861
+ msgid "French Guiana"
862
+ msgstr "Guyana Francesa"
863
+
864
+ #: admin/class-settings.php:552
865
+ msgid "Gabon"
866
+ msgstr "Gabón"
867
+
868
+ #: admin/class-settings.php:553
869
+ msgid "Gambia"
870
+ msgstr "Gambia"
871
+
872
+ #: admin/class-settings.php:554
873
+ msgid "Germany"
874
+ msgstr "Alemania"
875
+
876
+ #: admin/class-settings.php:555
877
+ msgid "Ghana"
878
+ msgstr "Ghana"
879
+
880
+ #: admin/class-settings.php:556
881
+ msgid "Greenland"
882
+ msgstr "Groenlandia"
883
+
884
+ #: admin/class-settings.php:557
885
+ msgid "Greece"
886
+ msgstr "Grecia"
887
+
888
+ #: admin/class-settings.php:558
889
+ msgid "Grenada"
890
+ msgstr "Granada"
891
+
892
+ #: admin/class-settings.php:559
893
+ msgid "Guam"
894
+ msgstr "Guam"
895
+
896
+ #: admin/class-settings.php:560
897
+ msgid "Guadeloupe"
898
+ msgstr "Guadalupe"
899
+
900
+ #: admin/class-settings.php:561
901
+ msgid "Guatemala"
902
+ msgstr "Guatemala"
903
+
904
+ #: admin/class-settings.php:562
905
+ msgid "Guinea"
906
+ msgstr "Guinea"
907
+
908
+ #: admin/class-settings.php:563
909
+ msgid "Guinea-Bissau"
910
+ msgstr "Guinea-Bissau"
911
+
912
+ #: admin/class-settings.php:564
913
+ msgid "Haiti"
914
+ msgstr "Haití"
915
+
916
+ #: admin/class-settings.php:565
917
+ msgid "Honduras"
918
+ msgstr "Honduras"
919
+
920
+ #: admin/class-settings.php:566
921
+ msgid "Hong Kong"
922
+ msgstr "Hong Kong"
923
+
924
+ #: admin/class-settings.php:567
925
+ msgid "Hungary"
926
+ msgstr "Hungría"
927
+
928
+ #: admin/class-settings.php:568
929
+ msgid "Iceland"
930
+ msgstr "Islandia"
931
+
932
+ #: admin/class-settings.php:569
933
+ msgid "India"
934
+ msgstr "India"
935
+
936
+ #: admin/class-settings.php:570
937
+ msgid "Indonesia"
938
+ msgstr "Indonesia"
939
+
940
+ #: admin/class-settings.php:571
941
+ msgid "Iran"
942
+ msgstr "Irán"
943
+
944
+ #: admin/class-settings.php:572
945
+ msgid "Iraq"
946
+ msgstr "Irak"
947
+
948
+ #: admin/class-settings.php:573
949
+ msgid "Ireland"
950
+ msgstr "Irlanda"
951
+
952
+ #: admin/class-settings.php:574
953
+ msgid "Israel"
954
+ msgstr "Israel"
955
+
956
+ #: admin/class-settings.php:575
957
+ msgid "Italy"
958
+ msgstr "Italia"
959
+
960
+ #: admin/class-settings.php:576
961
+ msgid "Jamaica"
962
+ msgstr "Jamaica"
963
+
964
+ #: admin/class-settings.php:577
965
+ msgid "Japan"
966
+ msgstr "Japón"
967
+
968
+ #: admin/class-settings.php:578
969
+ msgid "Jordan"
970
+ msgstr "Jordania"
971
+
972
+ #: admin/class-settings.php:579
973
+ msgid "Kazakhstan"
974
+ msgstr "Kazajistán"
975
+
976
+ #: admin/class-settings.php:580
977
+ msgid "Kenya"
978
+ msgstr "Kenia"
979
+
980
+ #: admin/class-settings.php:581
981
+ msgid "Kuwait"
982
+ msgstr "Kuwait"
983
+
984
+ #: admin/class-settings.php:582
985
+ msgid "Kyrgyzstan"
986
+ msgstr "Kyrgyzstan"
987
+
988
+ #: admin/class-settings.php:583
989
+ msgid "Laos"
990
+ msgstr "Laos"
991
+
992
+ #: admin/class-settings.php:584
993
+ msgid "Latvia"
994
+ msgstr "Letonia"
995
+
996
+ #: admin/class-settings.php:585
997
+ msgid "Lebanon"
998
+ msgstr "Líbano"
999
+
1000
+ #: admin/class-settings.php:586
1001
+ msgid "Lesotho"
1002
+ msgstr "Lesoto"
1003
+
1004
+ #: admin/class-settings.php:587
1005
+ msgid "Liberia"
1006
+ msgstr "Liberia"
1007
+
1008
+ #: admin/class-settings.php:588
1009
+ msgid "Libya"
1010
+ msgstr "Libia"
1011
+
1012
+ #: admin/class-settings.php:589
1013
+ msgid "Liechtenstein"
1014
+ msgstr "Liechtenstein"
1015
+
1016
+ #: admin/class-settings.php:590
1017
+ msgid "Lithuania"
1018
+ msgstr "Lituania"
1019
+
1020
+ #: admin/class-settings.php:591
1021
+ msgid "Luxembourg"
1022
+ msgstr "Luxemburgo"
1023
+
1024
+ #: admin/class-settings.php:592
1025
+ msgid "Macau"
1026
+ msgstr "Macau"
1027
+
1028
+ #: admin/class-settings.php:593
1029
+ msgid "Macedonia"
1030
+ msgstr "Macedonia"
1031
+
1032
+ #: admin/class-settings.php:594
1033
+ msgid "Madagascar"
1034
+ msgstr "Madagascar"
1035
+
1036
+ #: admin/class-settings.php:595
1037
+ msgid "Malawi"
1038
+ msgstr "Malawi"
1039
+
1040
+ #: admin/class-settings.php:596
1041
+ msgid "Malaysia "
1042
+ msgstr "Malasia"
1043
+
1044
+ #: admin/class-settings.php:597
1045
+ msgid "Mali"
1046
+ msgstr "Mali"
1047
+
1048
+ #: admin/class-settings.php:598
1049
+ msgid "Marshall Islands"
1050
+ msgstr "Islas Marshall"
1051
+
1052
+ #: admin/class-settings.php:599
1053
+ msgid "Martinique"
1054
+ msgstr "Martinica"
1055
+
1056
+ #: admin/class-settings.php:600
1057
+ msgid "Mauritania"
1058
+ msgstr "Mauritania"
1059
+
1060
+ #: admin/class-settings.php:601
1061
+ msgid "Mauritius"
1062
+ msgstr "Mauritius"
1063
+
1064
+ #: admin/class-settings.php:602
1065
+ msgid "Mexico"
1066
+ msgstr "México"
1067
+
1068
+ #: admin/class-settings.php:603
1069
+ msgid "Micronesia"
1070
+ msgstr "Micronesia"
1071
+
1072
+ #: admin/class-settings.php:604
1073
+ msgid "Moldova"
1074
+ msgstr "Moldova"
1075
+
1076
+ #: admin/class-settings.php:605
1077
+ msgid "Monaco"
1078
+ msgstr "Mónaco"
1079
+
1080
+ #: admin/class-settings.php:606
1081
+ msgid "Mongolia"
1082
+ msgstr "Mongolia"
1083
+
1084
+ #: admin/class-settings.php:607
1085
+ msgid "Montenegro"
1086
+ msgstr "Montenegro"
1087
+
1088
+ #: admin/class-settings.php:608
1089
+ msgid "Montserrat"
1090
+ msgstr "Montserrat"
1091
+
1092
+ #: admin/class-settings.php:609
1093
+ msgid "Morocco"
1094
+ msgstr "Marruecos"
1095
+
1096
+ #: admin/class-settings.php:610
1097
+ msgid "Mozambique"
1098
+ msgstr "Mozambique"
1099
+
1100
+ #: admin/class-settings.php:611
1101
+ msgid "Myanmar"
1102
+ msgstr "Myanmar"
1103
+
1104
+ #: admin/class-settings.php:612
1105
+ msgid "Namibia"
1106
+ msgstr "Namibia"
1107
+
1108
+ #: admin/class-settings.php:613
1109
+ msgid "Nauru"
1110
+ msgstr "Nauru"
1111
+
1112
+ #: admin/class-settings.php:614
1113
+ msgid "Nepal"
1114
+ msgstr "Nepal"
1115
+
1116
+ #: admin/class-settings.php:615
1117
+ msgid "Netherlands"
1118
+ msgstr "Holanda"
1119
+
1120
+ #: admin/class-settings.php:616
1121
+ msgid "Netherlands Antilles"
1122
+ msgstr "Antillas Holandesas"
1123
+
1124
+ #: admin/class-settings.php:617
1125
+ msgid "New Zealand"
1126
+ msgstr "Nueva Zelanda"
1127
+
1128
+ #: admin/class-settings.php:618
1129
+ msgid "Nicaragua"
1130
+ msgstr "Nicaragua"
1131
+
1132
+ #: admin/class-settings.php:619
1133
+ msgid "Niger"
1134
+ msgstr "Níger"
1135
+
1136
+ #: admin/class-settings.php:620
1137
+ msgid "Nigeria"
1138
+ msgstr "Nigeria"
1139
+
1140
+ #: admin/class-settings.php:621
1141
+ msgid "Niue"
1142
+ msgstr "Niue"
1143
+
1144
+ #: admin/class-settings.php:622
1145
+ msgid "Northern Mariana Islands"
1146
+ msgstr "Islas Marianas del Norte"
1147
+
1148
+ #: admin/class-settings.php:623
1149
+ msgid "Norway"
1150
+ msgstr "Noruega"
1151
+
1152
+ #: admin/class-settings.php:624
1153
+ msgid "Oman"
1154
+ msgstr "Omán"
1155
+
1156
+ #: admin/class-settings.php:625
1157
+ msgid "Pakistan"
1158
+ msgstr "Pakistán"
1159
+
1160
+ #: admin/class-settings.php:626
1161
+ msgid "Panama"
1162
+ msgstr "Panamá"
1163
+
1164
+ #: admin/class-settings.php:627
1165
+ msgid "Papua New Guinea"
1166
+ msgstr "Papua Nueva Guinea"
1167
+
1168
+ #: admin/class-settings.php:628
1169
+ msgid "Paraguay"
1170
+ msgstr "Paraguay"
1171
+
1172
+ #: admin/class-settings.php:629
1173
+ msgid "Peru"
1174
+ msgstr "Perú"
1175
+
1176
+ #: admin/class-settings.php:630
1177
+ msgid "Philippines"
1178
+ msgstr "Filipinas"
1179
+
1180
+ #: admin/class-settings.php:631
1181
+ msgid "Pitcairn Islands"
1182
+ msgstr "Islas Pitcairn"
1183
+
1184
+ #: admin/class-settings.php:632
1185
+ msgid "Poland"
1186
+ msgstr "Polonia"
1187
+
1188
+ #: admin/class-settings.php:633
1189
+ msgid "Portugal"
1190
+ msgstr "Portugal"
1191
+
1192
+ #: admin/class-settings.php:634
1193
+ msgid "Qatar"
1194
+ msgstr "Qatar"
1195
+
1196
+ #: admin/class-settings.php:635
1197
+ msgid "Reunion"
1198
+ msgstr "Reunión"
1199
+
1200
+ #: admin/class-settings.php:636
1201
+ msgid "Romania"
1202
+ msgstr "Rumania"
1203
+
1204
+ #: admin/class-settings.php:637
1205
+ msgid "Russia"
1206
+ msgstr "Rusia"
1207
+
1208
+ #: admin/class-settings.php:638
1209
+ msgid "Rwanda"
1210
+ msgstr "Rwanda"
1211
+
1212
+ #: admin/class-settings.php:639
1213
+ msgid "Saint Helena"
1214
+ msgstr "Santa Helena"
1215
+
1216
+ #: admin/class-settings.php:640
1217
+ msgid "Saint Kitts and Nevis"
1218
+ msgstr "San Kitts y Nevis"
1219
+
1220
+ #: admin/class-settings.php:641
1221
+ msgid "Saint Vincent and the Grenadines"
1222
+ msgstr "San Vicente y las Granadinas"
1223
+
1224
+ #: admin/class-settings.php:642
1225
+ msgid "Saint Lucia"
1226
+ msgstr "Santa Lucía"
1227
+
1228
+ #: admin/class-settings.php:643
1229
+ msgid "Samoa"
1230
+ msgstr "Samoa"
1231
+
1232
+ #: admin/class-settings.php:644
1233
+ msgid "San Marino"
1234
+ msgstr "San Marino"
1235
+
1236
+ #: admin/class-settings.php:645
1237
+ msgid "São Tomé and Príncipe"
1238
+ msgstr "São Tomé y Príncipe"
1239
+
1240
+ #: admin/class-settings.php:646
1241
+ msgid "Saudi Arabia"
1242
+ msgstr "Arabia Saudita"
1243
+
1244
+ #: admin/class-settings.php:647
1245
+ msgid "Senegal"
1246
+ msgstr "Senegal"
1247
+
1248
+ #: admin/class-settings.php:648
1249
+ msgid "Serbia"
1250
+ msgstr "Serbia"
1251
+
1252
+ #: admin/class-settings.php:649
1253
+ msgid "Seychelles"
1254
+ msgstr "Seychelles"
1255
+
1256
+ #: admin/class-settings.php:650
1257
+ msgid "Sierra Leone"
1258
+ msgstr "Sierra Leona"
1259
+
1260
+ #: admin/class-settings.php:651
1261
+ msgid "Singapore"
1262
+ msgstr "Singapur"
1263
+
1264
+ #: admin/class-settings.php:652
1265
+ msgid "Slovakia"
1266
+ msgstr "Eslovaquia"
1267
+
1268
+ #: admin/class-settings.php:653
1269
+ msgid "Solomon Islands"
1270
+ msgstr "Islas Salomón"
1271
+
1272
+ #: admin/class-settings.php:654
1273
+ msgid "Somalia"
1274
+ msgstr "Somalia"
1275
+
1276
+ #: admin/class-settings.php:655
1277
+ msgid "South Africa"
1278
+ msgstr "Sudáfrica"
1279
+
1280
+ #: admin/class-settings.php:656
1281
+ msgid "South Korea"
1282
+ msgstr "Corea del Sur"
1283
+
1284
+ #: admin/class-settings.php:657
1285
+ msgid "Spain"
1286
+ msgstr "España"
1287
+
1288
+ #: admin/class-settings.php:658
1289
+ msgid "Sri Lanka"
1290
+ msgstr "Sri Lanka"
1291
+
1292
+ #: admin/class-settings.php:659
1293
+ msgid "Sudan"
1294
+ msgstr "Sudán"
1295
+
1296
+ #: admin/class-settings.php:660
1297
+ msgid "Swaziland"
1298
+ msgstr "Swazilandia"
1299
+
1300
+ #: admin/class-settings.php:661
1301
+ msgid "Sweden"
1302
+ msgstr "Suecia"
1303
+
1304
+ #: admin/class-settings.php:662
1305
+ msgid "Switzerland"
1306
+ msgstr "Suiza"
1307
+
1308
+ #: admin/class-settings.php:663
1309
+ msgid "Syria"
1310
+ msgstr "Siria"
1311
+
1312
+ #: admin/class-settings.php:664
1313
+ msgid "Taiwan"
1314
+ msgstr "Taiwán"
1315
+
1316
+ #: admin/class-settings.php:665
1317
+ msgid "Tajikistan"
1318
+ msgstr "Taijikistán"
1319
+
1320
+ #: admin/class-settings.php:666
1321
+ msgid "Tanzania"
1322
+ msgstr "Tanzania"
1323
+
1324
+ #: admin/class-settings.php:667
1325
+ msgid "Thailand"
1326
+ msgstr "Tailandia"
1327
+
1328
+ #: admin/class-settings.php:668
1329
+ msgid "Timor-Leste"
1330
+ msgstr "Timor-Leste"
1331
+
1332
+ #: admin/class-settings.php:669
1333
+ msgid "Tokelau"
1334
+ msgstr "Tokelau"
1335
+
1336
+ #: admin/class-settings.php:670
1337
+ msgid "Togo"
1338
+ msgstr "Togo"
1339
+
1340
+ #: admin/class-settings.php:671
1341
+ msgid "Tonga"
1342
+ msgstr "Tonga"
1343
+
1344
+ #: admin/class-settings.php:672
1345
+ msgid "Trinidad and Tobago"
1346
+ msgstr "Trinidad y Tobago"
1347
+
1348
+ #: admin/class-settings.php:673
1349
+ msgid "Tunisia"
1350
+ msgstr "Túnez"
1351
+
1352
+ #: admin/class-settings.php:674
1353
+ msgid "Turkey"
1354
+ msgstr "Turquía"
1355
+
1356
+ #: admin/class-settings.php:675
1357
+ msgid "Turkmenistan"
1358
+ msgstr "Turkmenistán"
1359
+
1360
+ #: admin/class-settings.php:676
1361
+ msgid "Tuvalu"
1362
+ msgstr "Tuvalú"
1363
+
1364
+ #: admin/class-settings.php:677
1365
+ msgid "Uganda"
1366
+ msgstr "Uganda"
1367
+
1368
+ #: admin/class-settings.php:678
1369
+ msgid "Ukraine"
1370
+ msgstr "Ucrania"
1371
+
1372
+ #: admin/class-settings.php:679
1373
+ msgid "United Arab Emirates"
1374
+ msgstr "Emiratos Árabes Unidos"
1375
+
1376
+ #: admin/class-settings.php:680
1377
+ msgid "United Kingdom"
1378
+ msgstr "Reino Unido"
1379
+
1380
+ #: admin/class-settings.php:681
1381
+ msgid "United States"
1382
+ msgstr "Estados Unidos de América"
1383
+
1384
+ #: admin/class-settings.php:682
1385
+ msgid "Uruguay"
1386
+ msgstr "Uruguay"
1387
+
1388
+ #: admin/class-settings.php:683
1389
+ msgid "Uzbekistan"
1390
+ msgstr "Uzbekistán"
1391
+
1392
+ #: admin/class-settings.php:684
1393
+ msgid "Wallis Futuna"
1394
+ msgstr "Wallis Futuna"
1395
+
1396
+ #: admin/class-settings.php:685
1397
+ msgid "Venezuela"
1398
+ msgstr "Venezuela"
1399
+
1400
+ #: admin/class-settings.php:686
1401
+ msgid "Vietnam"
1402
+ msgstr "Vietnam"
1403
+
1404
+ #: admin/class-settings.php:687
1405
+ msgid "Yemen"
1406
+ msgstr "Yemen"
1407
+
1408
+ #: admin/class-settings.php:688
1409
+ msgid "Zambia"
1410
+ msgstr "Zambia"
1411
+
1412
+ #: admin/class-settings.php:689
1413
+ msgid "Zimbabwe"
1414
+ msgstr "Zimbabwe"
1415
+
1416
+ #: admin/class-settings.php:732
1417
+ msgid "World view"
1418
+ msgstr "Vista mundial"
1419
+
1420
+ #: admin/class-settings.php:735 admin/class-settings.php:849
1421
+ #: inc/wpsl-functions.php:211
1422
+ msgid "Default"
1423
+ msgstr "Por defecto"
1424
+
1425
+ #: admin/class-settings.php:738 inc/wpsl-functions.php:284
1426
+ msgid "Roadmap"
1427
+ msgstr "Mapa de caminos"
1428
+
1429
+ #: admin/class-settings.php:879
1430
+ msgid "Start location marker"
1431
+ msgstr "Marcador de ubicación de inicio"
1432
+
1433
+ #: admin/class-settings.php:881
1434
+ msgid "Store location marker"
1435
+ msgstr "Marcador de ubicación de tienda"
1436
+
1437
+ #: admin/class-settings.php:963
1438
+ msgid "Textarea"
1439
+ msgstr "Área de texto"
1440
+
1441
+ #: admin/class-settings.php:964
1442
+ msgid "Dropdowns (recommended)"
1443
+ msgstr "Menús desplegables (recomendado)"
1444
+
1445
+ #: admin/class-settings.php:972
1446
+ msgid "Bounces up and down"
1447
+ msgstr "Rebota de arriba a abajo"
1448
+
1449
+ #: admin/class-settings.php:973
1450
+ msgid "Will open the info window"
1451
+ msgstr "Abrirá la ventana de información"
1452
+
1453
+ #: admin/class-settings.php:974
1454
+ msgid "Does not respond"
1455
+ msgstr "No responde"
1456
+
1457
+ #: admin/class-settings.php:982
1458
+ msgid "In the store listings"
1459
+ msgstr "En los listados de tiendas"
1460
+
1461
+ #: admin/class-settings.php:983
1462
+ msgid "In the info window on the map"
1463
+ msgstr "En la ventana de información dentro del mapa"
1464
+
1465
+ #: admin/class-settings.php:1015
1466
+ msgid "Dropdown"
1467
+ msgstr "Menú desplegable"
1468
+
1469
+ #: admin/class-settings.php:1016
1470
+ msgid "Checkboxes"
1471
+ msgstr "Caja de selección múltiple"
1472
+
1473
+ #: admin/class-settings.php:1048
1474
+ msgid "12 Hours"
1475
+ msgstr "12 horas"
1476
+
1477
+ #: admin/class-settings.php:1049
1478
+ msgid "24 Hours"
1479
+ msgstr "24 horas"
1480
+
1481
+ #: admin/roles.php:20
1482
+ msgid "Store Locator Manager"
1483
+ msgstr "Gestor de Store Locator"
1484
+
1485
+ #: admin/templates/add-ons.php:21
1486
+ msgid "WP Store Locator Add-Ons"
1487
+ msgstr "Extensiones de WP Store Locutor"
1488
+
1489
+ #: admin/templates/add-ons.php:41
1490
+ msgid "Already Installed."
1491
+ msgstr "Ya instalado."
1492
+
1493
+ #: admin/templates/add-ons.php:43
1494
+ msgid "Coming soon!"
1495
+ msgstr "¡Próximamente!"
1496
+
1497
+ #: admin/templates/add-ons.php:55
1498
+ msgid "Failed to load the add-on list from the server."
1499
+ msgstr "No se pudo cargar la lista de extensiones desde el servidor."
1500
+
1501
+ #: admin/templates/map-settings.php:43
1502
+ msgid "Add-On"
1503
+ msgstr "Extensión"
1504
+
1505
+ #: admin/templates/map-settings.php:44
1506
+ msgid "License Key"
1507
+ msgstr "Clave de licencia"
1508
+
1509
+ #: admin/templates/map-settings.php:45
1510
+ msgid "License Expiry Date"
1511
+ msgstr "Fecha de expiración de licencia"
1512
+
1513
+ #: admin/templates/map-settings.php:59
1514
+ msgid "Deactivate License"
1515
+ msgstr "Desactivar licencia"
1516
+
1517
+ #: admin/templates/map-settings.php:79 admin/templates/map-settings.php:118
1518
+ #: admin/templates/map-settings.php:170 admin/templates/map-settings.php:249
1519
+ #: admin/templates/map-settings.php:352 admin/templates/map-settings.php:380
1520
+ #: admin/templates/map-settings.php:430 admin/templates/map-settings.php:458
1521
+ #: admin/templates/map-settings.php:570 admin/templates/map-settings.php:591
1522
+ msgid "Save Changes"
1523
+ msgstr "Guardar cambios"
1524
+
1525
+ #: admin/templates/map-settings.php:91
1526
+ msgid "Google Maps API"
1527
+ msgstr "API de Google Maps"
1528
+
1529
+ #: admin/templates/map-settings.php:94
1530
+ msgid "Server key"
1531
+ msgstr "Clave de servidor"
1532
+
1533
+ #: admin/templates/map-settings.php:94
1534
+ #, php-format
1535
+ msgid ""
1536
+ "A %sserver key%s allows you to monitor the usage of the Google Maps "
1537
+ "%sGeocoding API%s, and is required if you need to %spurchase%s additional "
1538
+ "quota."
1539
+ msgstr ""
1540
+ "Una %sclave de servidor%s te permite monitorear el uso del %sAPI de Geocoding"
1541
+ "%s de Google Maps, y se requiere si necesitas %scomprar%s una cuota "
1542
+ "adicional."
1543
+
1544
+ #: admin/templates/map-settings.php:95 admin/templates/map-settings.php:99
1545
+ msgid "Optional"
1546
+ msgstr "Opcional"
1547
+
1548
+ #: admin/templates/map-settings.php:98
1549
+ msgid "Browser key"
1550
+ msgstr "Clave de navegador"
1551
+
1552
+ #: admin/templates/map-settings.php:98
1553
+ #, php-format
1554
+ msgid ""
1555
+ "A %sbrowser key%s allows you to monitor the usage of the Google Maps "
1556
+ "%sJavaScript API%s."
1557
+ msgstr ""
1558
+ "Una %sclave de navegador%s te permite monitorear el uso del %sAPI de "
1559
+ "Javascript%s de Google Maps."
1560
+
1561
+ #: admin/templates/map-settings.php:102
1562
+ msgid "Map language"
1563
+ msgstr "Idioma del mapa"
1564
+
1565
+ #: admin/templates/map-settings.php:102
1566
+ msgid "If no map language is selected the browser's prefered language is used."
1567
+ msgstr ""
1568
+ "Si no hay un idioma seleccionado, se usará el idioma preferido del navegador."
1569
+
1570
+ #: admin/templates/map-settings.php:108
1571
+ msgid "Map region"
1572
+ msgstr "Región del mapa"
1573
+
1574
+ #: admin/templates/map-settings.php:108
1575
+ #, php-format
1576
+ msgid ""
1577
+ "This will bias the %sgeocoding%s results towards the selected region. %s If "
1578
+ "no region is selected the bias is set to the United States."
1579
+ msgstr ""
1580
+ "Esto inclinará los resultados de la %sgeocodificación%s hacia la región "
1581
+ "seleccionada. %s Si no hay una región seleccionada, la inclinación será "
1582
+ "hacia los Estados Unidos."
1583
+
1584
+ #: admin/templates/map-settings.php:114
1585
+ msgid "Restrict the geocoding results to the selected map region?"
1586
+ msgstr ""
1587
+ "¿Restringir los resultados de geocodificación a la región del mapa "
1588
+ "seleccionada?"
1589
+
1590
+ #: admin/templates/map-settings.php:114
1591
+ #, php-format
1592
+ msgid ""
1593
+ "If the %sgeocoding%s API finds more relevant results outside of the set map "
1594
+ "region ( some location names exist in multiple regions ), the user will "
1595
+ "likely see a \"No results found\" message. %s To rule this out you can "
1596
+ "restrict the results to the set map region. %s You can modify the used "
1597
+ "restrictions with %sthis%s filter."
1598
+ msgstr ""
1599
+ "Si el API de %sgeocodificación%s encuentra resultados más relevantes fuera "
1600
+ "de la región establecida (algunos nombres de ubicaciones existen en "
1601
+ "múltiples regiones), el usuario probablemente verá un mensaje de “No se "
1602
+ "encontraron resultados”. %s Para descartar esto puedes restringir los "
1603
+ "resultados a la región del mapa establecida. %s Puedes modificar las "
1604
+ "restricciones usadas con %seste%s filtro."
1605
+
1606
+ #: admin/templates/map-settings.php:128 admin/templates/map-settings.php:494
1607
+ #: admin/templates/map-settings.php:495 frontend/templates/default.php:40
1608
+ #: frontend/templates/store-listings-below.php:44 inc/wpsl-functions.php:128
1609
+ msgid "Search"
1610
+ msgstr "Buscar"
1611
+
1612
+ #: admin/templates/map-settings.php:131
1613
+ msgid "Enable autocomplete?"
1614
+ msgstr "¿Permitir autocompletar?"
1615
+
1616
+ #: admin/templates/map-settings.php:135
1617
+ msgid "Show the max results dropdown?"
1618
+ msgstr "¿Mostrar el menú desplegable de máximo de resultados?"
1619
+
1620
+ #: admin/templates/map-settings.php:139
1621
+ msgid "Show the search radius dropdown?"
1622
+ msgstr "¿Mostrar el menú desplegable de radio de búsqueda?"
1623
+
1624
+ #: admin/templates/map-settings.php:143
1625
+ msgid "Enable category filters?"
1626
+ msgstr "¿Habilitar los filtros por categoría?"
1627
+
1628
+ #: admin/templates/map-settings.php:148
1629
+ msgid "Filter type:"
1630
+ msgstr "Tipo de filtro:"
1631
+
1632
+ #: admin/templates/map-settings.php:153
1633
+ msgid "Distance unit"
1634
+ msgstr "Unidad de distancia"
1635
+
1636
+ #: admin/templates/map-settings.php:156
1637
+ msgid "km"
1638
+ msgstr "km"
1639
+
1640
+ #: admin/templates/map-settings.php:158
1641
+ msgid "mi"
1642
+ msgstr "mi"
1643
+
1644
+ #: admin/templates/map-settings.php:162
1645
+ msgid "Max search results"
1646
+ msgstr "Máximo de resultados de búsqueda"
1647
+
1648
+ #: admin/templates/map-settings.php:162 admin/templates/map-settings.php:166
1649
+ msgid "The default value is set between the [ ]."
1650
+ msgstr "El valor por defecto está puesto entre [ ]."
1651
+
1652
+ #: admin/templates/map-settings.php:166
1653
+ msgid "Search radius options"
1654
+ msgstr "Opciones de radio de búsqueda"
1655
+
1656
+ #: admin/templates/map-settings.php:180
1657
+ msgid "Map"
1658
+ msgstr "Mapa"
1659
+
1660
+ #: admin/templates/map-settings.php:183
1661
+ msgid "Attempt to auto-locate the user"
1662
+ msgstr "Intentar autolocalizar al usuario"
1663
+
1664
+ #: admin/templates/map-settings.php:187
1665
+ msgid "Load locations on page load"
1666
+ msgstr "Cargar ubicaciones al terminar de cargar la página"
1667
+
1668
+ #: admin/templates/map-settings.php:192
1669
+ msgid "Number of locations to show"
1670
+ msgstr "Número de ubicaciones a mostrar"
1671
+
1672
+ #: admin/templates/map-settings.php:192
1673
+ #, php-format
1674
+ msgid ""
1675
+ "Although the location data is cached after the first load, a lower number "
1676
+ "will result in the map being more responsive. %s If this field is left empty "
1677
+ "or set to 0, then all locations are loaded."
1678
+ msgstr ""
1679
+ "Aunque los datos de ubicación se guardan en caché tras la primer carga, un "
1680
+ "número más bajo resultará en un mapa más responsivo. %s Si este campo se "
1681
+ "queda vacío o está en 0 se cargarán todas las ubicaciones."
1682
+
1683
+ #: admin/templates/map-settings.php:197
1684
+ msgid "Start point"
1685
+ msgstr "Punto de inicio"
1686
+
1687
+ #: admin/templates/map-settings.php:197
1688
+ #, php-format
1689
+ msgid ""
1690
+ "%sRequired field.%s %s If auto-locating the user is disabled or fails, the "
1691
+ "center of the provided city or country will be used as the initial starting "
1692
+ "point for the user."
1693
+ msgstr ""
1694
+ "%sCampo requerido.%s %s Si la autolocalización del usuario falla, el centro "
1695
+ "de la ciudad o país establecido se usará como punto de inicio para el "
1696
+ "usuario."
1697
+
1698
+ #: admin/templates/map-settings.php:202
1699
+ msgid "Initial zoom level"
1700
+ msgstr "Nivel de zoom inicial"
1701
+
1702
+ #: admin/templates/map-settings.php:206
1703
+ msgid "Max auto zoom level"
1704
+ msgstr "Nivel de zoom máximo"
1705
+
1706
+ #: admin/templates/map-settings.php:206
1707
+ #, php-format
1708
+ msgid ""
1709
+ "This value sets the zoom level for the \"Zoom here\" link in the info "
1710
+ "window. %s It is also used to limit the zooming when the viewport of the map "
1711
+ "is changed to make all the markers fit on the screen."
1712
+ msgstr ""
1713
+ "Este valor define el nivel de zoom para la opción de “Hacer zoom aquí” en la "
1714
+ "ventana de información. %s También se usa para limitar el zoom cuando la "
1715
+ "ventana del mapa cambia para que quepan todos los marcadores en la pantalla."
1716
+
1717
+ #: admin/templates/map-settings.php:210
1718
+ msgid "Show the street view controls?"
1719
+ msgstr "¿Mostrar los controles de vista de calle?"
1720
+
1721
+ #: admin/templates/map-settings.php:214
1722
+ msgid "Show the map type control?"
1723
+ msgstr "¿Mostrar los controles de tipo de mapa?"
1724
+
1725
+ #: admin/templates/map-settings.php:218
1726
+ msgid "Enable scroll wheel zooming?"
1727
+ msgstr "¿Habilitar zoom con la rueda del ratón?"
1728
+
1729
+ #: admin/templates/map-settings.php:222
1730
+ msgid "Zoom control position"
1731
+ msgstr "Posición de los controles de zoom"
1732
+
1733
+ #: admin/templates/map-settings.php:225
1734
+ msgid "Left"
1735
+ msgstr "Izquierda"
1736
+
1737
+ #: admin/templates/map-settings.php:227
1738
+ msgid "Right"
1739
+ msgstr "Derecha"
1740
+
1741
+ #: admin/templates/map-settings.php:231
1742
+ msgid "Map type"
1743
+ msgstr "Tipo de mapa"
1744
+
1745
+ #: admin/templates/map-settings.php:235
1746
+ msgid "Map style"
1747
+ msgstr "Estilo de mapa"
1748
+
1749
+ #: admin/templates/map-settings.php:235
1750
+ msgid ""
1751
+ "Custom map styles only work if the map type is set to \"Roadmap\" or "
1752
+ "\"Terrain\"."
1753
+ msgstr ""
1754
+ "Los estilos de mapa personalizados solo funcionan en los tipos de mapa "
1755
+ "\"Mapa de caminos\" o \"Terreno\"."
1756
+
1757
+ #: admin/templates/map-settings.php:238
1758
+ #, php-format
1759
+ msgid ""
1760
+ "You can use existing map styles from %sSnazzy Maps%s or %sMap Stylr%s and "
1761
+ "paste it in the textarea below, or you can generate a custom map style "
1762
+ "through the %sMap Style Editor%s or %sStyled Maps Wizard%s."
1763
+ msgstr ""
1764
+ "Puedes usar estilos de %sSnazzy Mapps%s o %sMap Stylr%s existentes y "
1765
+ "pegarlos en el área de texto a continuación, o puedes generar un estilo de "
1766
+ "mapa personalizado a través del %sEditor de estilos de mapa%s o el "
1767
+ "%sAsistente de mapas estilizados%s."
1768
+
1769
+ #: admin/templates/map-settings.php:239
1770
+ #, php-format
1771
+ msgid ""
1772
+ "If you like to write the style code yourself, then you can find the "
1773
+ "documentation from Google %shere%s."
1774
+ msgstr ""
1775
+ "Si prefieres escribir el código de estilo por tu cuenta, puedes encontrar la "
1776
+ "documentación de Google %saquí%s."
1777
+
1778
+ #: admin/templates/map-settings.php:241
1779
+ msgid "Preview Map Style"
1780
+ msgstr "Previsualizar estilo del mapa"
1781
+
1782
+ #: admin/templates/map-settings.php:245
1783
+ msgid "Show credits?"
1784
+ msgstr "¿Mostrar créditos?"
1785
+
1786
+ #: admin/templates/map-settings.php:245
1787
+ msgid ""
1788
+ "This will place a \"Search provided by WP Store Locator\" backlink below the "
1789
+ "map."
1790
+ msgstr ""
1791
+ "Esto mostrará un backlink con el texto “Búsqueda proporcionada por WP Store "
1792
+ "Locutor” debajo del mapa."
1793
+
1794
+ #: admin/templates/map-settings.php:259
1795
+ msgid "User Experience"
1796
+ msgstr "Experiencia de usuario"
1797
+
1798
+ #: admin/templates/map-settings.php:262
1799
+ msgid "Store Locator height"
1800
+ msgstr "Altura del buscador de tiendas"
1801
+
1802
+ #: admin/templates/map-settings.php:266
1803
+ msgid "Max width for the info window content"
1804
+ msgstr "Ancho máximo del contenido en la ventana de información"
1805
+
1806
+ #: admin/templates/map-settings.php:270
1807
+ msgid "Search field width"
1808
+ msgstr "Ancho de campo de búsqueda"
1809
+
1810
+ #: admin/templates/map-settings.php:274
1811
+ msgid "Search and radius label width"
1812
+ msgstr "Ancho de las etiquetas de búsqueda y radio"
1813
+
1814
+ #: admin/templates/map-settings.php:278
1815
+ msgid "Store Locator template"
1816
+ msgstr "Plantilla del buscador de tiendas"
1817
+
1818
+ #: admin/templates/map-settings.php:278
1819
+ #, php-format
1820
+ msgid ""
1821
+ "The selected template is used with the [wpsl] shortcode. %s You can add a "
1822
+ "custom template with the %swpsl_templates%s filter."
1823
+ msgstr ""
1824
+ "La plantilla seleccionada se usa con el shortcode [wpsl]. %s Puedes añadir "
1825
+ "una plantilla personalizada con el filtro %swpsl_templates%s."
1826
+
1827
+ #: admin/templates/map-settings.php:282
1828
+ msgid "Hide the scrollbar?"
1829
+ msgstr "¿Esconder la barra de deslizamiento?"
1830
+
1831
+ #: admin/templates/map-settings.php:286
1832
+ msgid "Open links in a new window?"
1833
+ msgstr "¿Abrir enlaces en una nueva ventana?"
1834
+
1835
+ #: admin/templates/map-settings.php:290
1836
+ msgid "Show a reset map button?"
1837
+ msgstr "¿Mostrar un botón de Restablecer mapa?"
1838
+
1839
+ #: admin/templates/map-settings.php:294
1840
+ msgid ""
1841
+ "When a user clicks on \"Directions\", open a new window, and show the route "
1842
+ "on google.com/maps ?"
1843
+ msgstr ""
1844
+ "Cuando el usuario hace click en “Direcciones”, ¿abrir una nueva ventana y "
1845
+ "mostrar la ruta en google.com/maps?"
1846
+
1847
+ #: admin/templates/map-settings.php:298
1848
+ msgid "Show a \"More info\" link in the store listings?"
1849
+ msgstr "¿Mostrar un enlace de “Más información” en los listados de tiendas?"
1850
+
1851
+ #: admin/templates/map-settings.php:298
1852
+ msgid ""
1853
+ "This places a \"More Info\" link below the address and will show the phone, "
1854
+ "fax, email, opening hours and description once the link is clicked."
1855
+ msgstr ""
1856
+ "Esto añade un enlace de “Más información” abajo de la dirección y muestra el "
1857
+ "teléfono, fax, email, horas de operación y descripción al hacer click en él."
1858
+
1859
+ #: admin/templates/map-settings.php:303
1860
+ msgid "Where do you want to show the \"More info\" details?"
1861
+ msgstr "¿Dónde quieres mostrar los detalles de “Más información”?"
1862
+
1863
+ #: admin/templates/map-settings.php:308
1864
+ msgid ""
1865
+ "Always show the contact details below the address in the search results?"
1866
+ msgstr ""
1867
+ "¿Siempre mostrar los datos de contacto abajo de la dirección en los "
1868
+ "resultados de búsqueda?"
1869
+
1870
+ #: admin/templates/map-settings.php:312
1871
+ msgid "Make the store name clickable if a store URL exists?"
1872
+ msgstr "¿Hacer el nombre de la tienda clickeable si existe un Url de tienda?"
1873
+
1874
+ #: admin/templates/map-settings.php:312
1875
+ #, php-format
1876
+ msgid ""
1877
+ "If %spermalinks%s are enabled, the store name will always link to the store "
1878
+ "page."
1879
+ msgstr ""
1880
+ "Si están habilitados los %senlaces permanentes%s, el nombre de la tienda "
1881
+ "siempre enlazará a la página de la tienda."
1882
+
1883
+ #: admin/templates/map-settings.php:316
1884
+ msgid "Make the phone number clickable on mobile devices?"
1885
+ msgstr "¿Hacer el número de teléfono clickeable en dispositivos móviles?"
1886
+
1887
+ #: admin/templates/map-settings.php:320
1888
+ msgid ""
1889
+ "If street view is available for the current location, then show a \"Street "
1890
+ "view\" link in the info window?"
1891
+ msgstr ""
1892
+ "Si la vista de calle no está disponible en la ubicación actual, ¿mostrar un "
1893
+ "enlace a “Vista de calle” en la ventana de información?"
1894
+
1895
+ #: admin/templates/map-settings.php:320
1896
+ #, php-format
1897
+ msgid ""
1898
+ "Enabling this option can sometimes result in a small delay in the opening of "
1899
+ "the info window. %s This happens because an API request is made to Google "
1900
+ "Maps to check if street view is available for the current location."
1901
+ msgstr ""
1902
+ "Habilitar esta opción en ocasiones puede resultar en una pequeña demora al "
1903
+ "abrir la ventana de información. %s Esto pasa porque la petición de API se "
1904
+ "hace a Google Maps para checar si la vista de calle está disponible en la "
1905
+ "ubicación actual."
1906
+
1907
+ #: admin/templates/map-settings.php:324
1908
+ msgid "Show a \"Zoom here\" link in the info window?"
1909
+ msgstr "¿Mostrar un enlace a “Hacer zoom aquí” en la ventana de información?"
1910
+
1911
+ #: admin/templates/map-settings.php:324
1912
+ #, php-format
1913
+ msgid ""
1914
+ "Clicking this link will make the map zoom in to the %s max auto zoom level "
1915
+ "%s."
1916
+ msgstr ""
1917
+ "Hacer click aquí hará que el mapa haga zoom al %s nivel máximo de zoom%s."
1918
+
1919
+ #: admin/templates/map-settings.php:328
1920
+ msgid "On page load move the mouse cursor to the search field?"
1921
+ msgstr "Al cargar la página, ¿mover el cursor a la barra de búsqueda?"
1922
+
1923
+ #: admin/templates/map-settings.php:328
1924
+ #, php-format
1925
+ msgid ""
1926
+ "If the store locator is not placed at the top of the page, enabling this "
1927
+ "feature can result in the page scrolling down. %s %sThis option is disabled "
1928
+ "on mobile devices.%s"
1929
+ msgstr ""
1930
+ "Si el buscador de tiendas no está colocado hasta arriba de la página, "
1931
+ "habilitar esta función puede hacer que la página se desliza hacia abajo. %s "
1932
+ "%sEsta opción está inhabilitada en dispositivos móviles%s."
1933
+
1934
+ #: admin/templates/map-settings.php:332
1935
+ msgid "Use the default style for the info window?"
1936
+ msgstr "¿Usar el estilo por defecto para la ventana de información?"
1937
+
1938
+ #: admin/templates/map-settings.php:332
1939
+ #, php-format
1940
+ msgid ""
1941
+ "If the default style is disabled the %sInfoBox%s library will be used "
1942
+ "instead. %s This enables you to easily change the look and feel of the info "
1943
+ "window through the .wpsl-infobox css class."
1944
+ msgstr ""
1945
+ "Si el estilo por defecto está desactivado se usará la librería %sInfoBox%s. "
1946
+ "%s Esto te permite cambiar el estilo de la ventana de información fácilmente "
1947
+ "a través de la clase de css .wpsl-infobox."
1948
+
1949
+ #: admin/templates/map-settings.php:336
1950
+ msgid "Hide the country in the search results?"
1951
+ msgstr "¿Esconder el país en los resultados de búsqueda?"
1952
+
1953
+ #: admin/templates/map-settings.php:340
1954
+ msgid "Hide the distance in the search results?"
1955
+ msgstr "¿Esconder la distancia en los resultados de búsqueda?"
1956
+
1957
+ #: admin/templates/map-settings.php:344
1958
+ msgid "If a user hovers over the search results the store marker"
1959
+ msgstr ""
1960
+ "Si el usuario coloca el cursor encima de los resultados de búsqueda, el "
1961
+ "marcador de la tienda"
1962
+
1963
+ #: admin/templates/map-settings.php:344
1964
+ #, php-format
1965
+ msgid ""
1966
+ "If marker clusters are enabled this option will not work as expected as long "
1967
+ "as the markers are clustered. %s The bouncing of the marker won't be visible "
1968
+ "at all unless a user zooms in far enough for the marker cluster to change "
1969
+ "back in to individual markers. %s The info window will open as expected, but "
1970
+ "it won't be clear to which marker it belongs to. "
1971
+ msgstr ""
1972
+ "Si los grupos de marcadores están habilitados esta opción no funcionará "
1973
+ "adecuadamente mientras los marcadores estén agrupados. %s El rebote del "
1974
+ "marcador no será visible a menos que el usuario haga suficiente zoom para "
1975
+ "que se disuelva el grupo y aparezcan los marcadores individuales. %s La "
1976
+ "ventana de información se abrirá correctamente, pero no será claro a qué "
1977
+ "marcador pertenece esta ventana."
1978
+
1979
+ #: admin/templates/map-settings.php:348
1980
+ msgid "Address format"
1981
+ msgstr "Formato de dirección"
1982
+
1983
+ #: admin/templates/map-settings.php:348
1984
+ #, php-format
1985
+ msgid ""
1986
+ "You can add custom address formats with the %swpsl_address_formats%s filter."
1987
+ msgstr ""
1988
+ "Puedes añadir formatos de dirección personalizados con el filtro "
1989
+ "%swpsl_address_formats%s."
1990
+
1991
+ #: admin/templates/map-settings.php:362
1992
+ msgid "Markers"
1993
+ msgstr "Marcadores"
1994
+
1995
+ #: admin/templates/map-settings.php:366
1996
+ msgid "Enable marker clusters?"
1997
+ msgstr "¿Habilitar grupos de marcadores?"
1998
+
1999
+ #: admin/templates/map-settings.php:366
2000
+ msgid "Recommended for maps with a large amount of markers."
2001
+ msgstr "Recomendado para mapas con un gran número de marcadores."
2002
+
2003
+ #: admin/templates/map-settings.php:371
2004
+ msgid "Max zoom level"
2005
+ msgstr "Nivel máximo de zoom"
2006
+
2007
+ #: admin/templates/map-settings.php:371
2008
+ msgid ""
2009
+ "If this zoom level is reached or exceeded, then all markers are moved out of "
2010
+ "the marker cluster and shown as individual markers."
2011
+ msgstr ""
2012
+ "Si el nivel de zoom es alcanzado o excedido, todos los marcadores se salen "
2013
+ "del grupo y son mostrados como marcadores individuales."
2014
+
2015
+ #: admin/templates/map-settings.php:375
2016
+ msgid "Cluster size"
2017
+ msgstr "Tamaño del grupo"
2018
+
2019
+ #: admin/templates/map-settings.php:375
2020
+ #, php-format
2021
+ msgid ""
2022
+ "The grid size of a cluster in pixels. %s A larger number will result in a "
2023
+ "lower amount of clusters and also make the algorithm run faster."
2024
+ msgstr ""
2025
+ "El tamaño de cuadrícula de un grupo en pixeles. %s Un número mayor resultará "
2026
+ "en una menor cantidad de grupos, haciendo al algoritmo correr más rápido."
2027
+
2028
+ #: admin/templates/map-settings.php:390
2029
+ msgid "Store Editor"
2030
+ msgstr "Editor de tienda"
2031
+
2032
+ #: admin/templates/map-settings.php:393
2033
+ msgid "Default country"
2034
+ msgstr "País por defecto"
2035
+
2036
+ #: admin/templates/map-settings.php:397
2037
+ msgid "Map type for the location preview"
2038
+ msgstr "Tipo de mapa para la previsualización de ubicación"
2039
+
2040
+ #: admin/templates/map-settings.php:401
2041
+ msgid "Hide the opening hours?"
2042
+ msgstr "¿Esconder las horas de operación?"
2043
+
2044
+ #: admin/templates/map-settings.php:407
2045
+ msgid "Opening hours input type"
2046
+ msgstr "Tipo de ingreso de horas de operación"
2047
+
2048
+ #: admin/templates/map-settings.php:411
2049
+ #, php-format
2050
+ msgid ""
2051
+ "Opening hours created in version 1.x %sare not%s automatically converted to "
2052
+ "the new dropdown format."
2053
+ msgstr ""
2054
+ "Las horas de operación creadas en la versión 1.x %sno son%s convertidas "
2055
+ "automáticamente al nuevo formato de menú desplegable."
2056
+
2057
+ #: admin/templates/map-settings.php:414 admin/templates/map-settings.php:423
2058
+ msgid "The default opening hours"
2059
+ msgstr "Las horas de operación por defecto"
2060
+
2061
+ #: admin/templates/map-settings.php:420
2062
+ msgid "Opening hours format"
2063
+ msgstr "Formato de horas de operación"
2064
+
2065
+ #: admin/templates/map-settings.php:427
2066
+ msgid ""
2067
+ "The default country and opening hours are only used when a new store is "
2068
+ "created. So changing the default values will have no effect on existing "
2069
+ "store locations."
2070
+ msgstr ""
2071
+ "El país y horas por defecto se usan únicamente al crear una nueva tienda. "
2072
+ "Así que cambiar los valores por defecto no tiene efecto en las ubicaciones "
2073
+ "existentes."
2074
+
2075
+ #: admin/templates/map-settings.php:440
2076
+ msgid "Permalink"
2077
+ msgstr "Enlace permanente"
2078
+
2079
+ #: admin/templates/map-settings.php:443
2080
+ msgid "Enable permalink?"
2081
+ msgstr "¿Habilitar enlace permanente?"
2082
+
2083
+ #: admin/templates/map-settings.php:448
2084
+ msgid "Store slug"
2085
+ msgstr "Slug de tienda"
2086
+
2087
+ #: admin/templates/map-settings.php:452
2088
+ msgid "Category slug"
2089
+ msgstr "Slug de categoría"
2090
+
2091
+ #: admin/templates/map-settings.php:455
2092
+ #, php-format
2093
+ msgid "The permalink slugs %smust be unique%s on your site."
2094
+ msgstr "Los slugs de los enlaces permanentes %sdeben ser únicos%s en tu sitio."
2095
+
2096
+ #: admin/templates/map-settings.php:468
2097
+ msgid "Labels"
2098
+ msgstr "Etiquetas"
2099
+
2100
+ #: admin/templates/map-settings.php:477
2101
+ #, php-format
2102
+ msgid "%sWarning!%s %sWPML%s, or a plugin using the WPML API is active."
2103
+ msgstr ""
2104
+ "%s¡Advertencia!%s %sWPML%s, o un plugin usando el API de WPML está activo."
2105
+
2106
+ #: admin/templates/map-settings.php:478
2107
+ msgid ""
2108
+ "Please use the \"String Translations\" section in the used multilingual "
2109
+ "plugin to change the labels. Changing them here will have no effect as long "
2110
+ "as the multilingual plugin remains active."
2111
+ msgstr ""
2112
+ "Por favor usa la sección de “Traducción de textos” en el plugin "
2113
+ "multilenguaje para cambiar las etiquetas. Cambiarlas aquí no servirá "
2114
+ "mientras esté activo el plugin multilenguaje."
2115
+
2116
+ #: admin/templates/map-settings.php:482 admin/templates/map-settings.php:483
2117
+ #: frontend/templates/default.php:12
2118
+ #: frontend/templates/store-listings-below.php:12 inc/wpsl-functions.php:127
2119
+ msgid "Your location"
2120
+ msgstr "Tu ubicación"
2121
+
2122
+ #: admin/templates/map-settings.php:486 admin/templates/map-settings.php:487
2123
+ #: frontend/templates/default.php:21
2124
+ #: frontend/templates/store-listings-below.php:21 inc/wpsl-functions.php:130
2125
+ msgid "Search radius"
2126
+ msgstr "Radio de búsqueda"
2127
+
2128
+ #: admin/templates/map-settings.php:490 admin/templates/map-settings.php:491
2129
+ #: frontend/class-frontend.php:1613 inc/wpsl-functions.php:131
2130
+ msgid "No results found"
2131
+ msgstr "No se encontraron resultados"
2132
+
2133
+ #: admin/templates/map-settings.php:498
2134
+ msgid "Searching (preloader text)"
2135
+ msgstr "Buscando (texto de preloader)"
2136
+
2137
+ #: admin/templates/map-settings.php:499 frontend/class-frontend.php:1612
2138
+ #: inc/wpsl-functions.php:129
2139
+ msgid "Searching..."
2140
+ msgstr "Buscando…"
2141
+
2142
+ #: admin/templates/map-settings.php:502 admin/templates/map-settings.php:503
2143
+ #: frontend/templates/default.php:30
2144
+ #: frontend/templates/store-listings-below.php:30 inc/wpsl-functions.php:132
2145
+ msgid "Results"
2146
+ msgstr "Resultados"
2147
+
2148
+ #: admin/templates/map-settings.php:506 admin/upgrade.php:206
2149
+ #: inc/wpsl-functions.php:146
2150
+ msgid "Category filter"
2151
+ msgstr "Filtro por categoría"
2152
+
2153
+ #: admin/templates/map-settings.php:507 frontend/class-frontend.php:1289
2154
+ msgid "Category"
2155
+ msgstr "Categoría"
2156
+
2157
+ #: admin/templates/map-settings.php:510
2158
+ msgid "Category first item"
2159
+ msgstr "Primer artículo de categoría"
2160
+
2161
+ #: admin/templates/map-settings.php:511 admin/upgrade.php:367
2162
+ #: frontend/class-frontend.php:1292 inc/wpsl-functions.php:147
2163
+ msgid "Any"
2164
+ msgstr "Cualquiera"
2165
+
2166
+ #: admin/templates/map-settings.php:514 admin/templates/map-settings.php:515
2167
+ #: admin/upgrade.php:59 frontend/class-frontend.php:1614
2168
+ #: frontend/underscore-functions.php:137 frontend/underscore-functions.php:167
2169
+ #: inc/wpsl-functions.php:133
2170
+ msgid "More info"
2171
+ msgstr "Más información"
2172
+
2173
+ #: admin/templates/map-settings.php:518 admin/templates/map-settings.php:519
2174
+ #: frontend/class-frontend.php:785 frontend/underscore-functions.php:29
2175
+ #: frontend/underscore-functions.php:63 frontend/underscore-functions.php:146
2176
+ #: inc/wpsl-functions.php:141
2177
+ msgid "Phone"
2178
+ msgstr "Teléfono"
2179
+
2180
+ #: admin/templates/map-settings.php:538 admin/templates/map-settings.php:539
2181
+ #: frontend/class-frontend.php:1619 inc/wpsl-functions.php:126
2182
+ msgid "Start location"
2183
+ msgstr "Ubicación de inicio"
2184
+
2185
+ #: admin/templates/map-settings.php:542
2186
+ msgid "Get directions"
2187
+ msgstr "Obtener direcciones"
2188
+
2189
+ #: admin/templates/map-settings.php:543 frontend/class-frontend.php:1617
2190
+ #: inc/wpsl-functions.php:134
2191
+ msgid "Directions"
2192
+ msgstr "Direcciones"
2193
+
2194
+ #: admin/templates/map-settings.php:546
2195
+ msgid "No directions found"
2196
+ msgstr "No se encontraron direcciones"
2197
+
2198
+ #: admin/templates/map-settings.php:547 admin/upgrade.php:151
2199
+ #: frontend/class-frontend.php:1618 inc/wpsl-functions.php:135
2200
+ msgid "No route could be found between the origin and destination"
2201
+ msgstr "No se encontró una ruta entre el origen y el destino"
2202
+
2203
+ #: admin/templates/map-settings.php:550 admin/templates/map-settings.php:551
2204
+ #: admin/upgrade.php:77 frontend/class-frontend.php:1620
2205
+ #: inc/wpsl-functions.php:136
2206
+ msgid "Back"
2207
+ msgstr "Regresar"
2208
+
2209
+ #: admin/templates/map-settings.php:554 admin/templates/map-settings.php:555
2210
+ #: admin/upgrade.php:143 frontend/class-frontend.php:1621
2211
+ #: inc/wpsl-functions.php:137
2212
+ msgid "Street view"
2213
+ msgstr "Vista de calle"
2214
+
2215
+ #: admin/templates/map-settings.php:558 admin/templates/map-settings.php:559
2216
+ #: admin/upgrade.php:147 frontend/class-frontend.php:1622
2217
+ #: inc/wpsl-functions.php:138
2218
+ msgid "Zoom here"
2219
+ msgstr "Hacer zoom aquí"
2220
+
2221
+ #: admin/templates/map-settings.php:562
2222
+ msgid "General error"
2223
+ msgstr "Error general"
2224
+
2225
+ #: admin/templates/map-settings.php:563 frontend/class-frontend.php:1615
2226
+ #: inc/wpsl-functions.php:139
2227
+ msgid "Something went wrong, please try again!"
2228
+ msgstr "Algo salió mal, ¡por favor inténtalo nuevamente!"
2229
+
2230
+ #: admin/templates/map-settings.php:566
2231
+ msgid "Query limit error"
2232
+ msgstr "Error de límite de peticiones"
2233
+
2234
+ #: admin/templates/map-settings.php:566
2235
+ #, php-format
2236
+ msgid ""
2237
+ "You can raise the %susage limit%s by obtaining an API %skey%s, and fill in "
2238
+ "the \"API key\" field at the top of this page."
2239
+ msgstr ""
2240
+ "Puedes subir el %slímite de uso%s obteniendo una %sclave%s de API e "
2241
+ "introduciéndola en el campo de “Clave de API” en la parte superior de esta "
2242
+ "página."
2243
+
2244
+ #: admin/templates/map-settings.php:567 frontend/class-frontend.php:1616
2245
+ #: inc/wpsl-functions.php:140
2246
+ msgid "API usage limit reached"
2247
+ msgstr "Límite de uso de API alcanzado"
2248
+
2249
+ #: admin/templates/map-settings.php:580
2250
+ msgid "Tools"
2251
+ msgstr "Herramientas"
2252
+
2253
+ #: admin/templates/map-settings.php:583
2254
+ msgid "Enable store locator debug?"
2255
+ msgstr "¿Habilitar debugging de localizador de tiendas?"
2256
+
2257
+ #: admin/templates/map-settings.php:583
2258
+ #, php-format
2259
+ msgid ""
2260
+ "This disables the WPSL transient cache. %sThe transient cache is only used "
2261
+ "if the %sLoad locations on page load%s option is enabled."
2262
+ msgstr ""
2263
+ "Esto inhabilita el caché de transients de WPSL. %sEl caché de transients "
2264
+ "solo si usa cuando está activada la opción de %sCargar ubicaciones al "
2265
+ "terminar de cargar la página%s."
2266
+
2267
+ #: admin/templates/map-settings.php:587
2268
+ msgid "WPSL transients"
2269
+ msgstr "Transients de WPSL"
2270
+
2271
+ #: admin/templates/map-settings.php:588
2272
+ msgid "Clear store locator transient cache"
2273
+ msgstr "Borrar el caché de transients del localizador de tiendas."
2274
+
2275
+ #: admin/upgrade.php:73
2276
+ msgid "info window"
2277
+ msgstr "ventana de info"
2278
+
2279
+ #: admin/upgrade.php:81
2280
+ msgid "Reset"
2281
+ msgstr "Restablecer"
2282
+
2283
+ #: admin/upgrade.php:174 inc/wpsl-functions.php:121
2284
+ msgid "stores"
2285
+ msgstr "tiendas"
2286
+
2287
+ #: admin/upgrade.php:178 inc/wpsl-functions.php:122
2288
+ msgid "store-category"
2289
+ msgstr "categoria-tienda"
2290
+
2291
+ #: admin/upgrade.php:418
2292
+ #, php-format
2293
+ msgid ""
2294
+ "Because you updated WP Store Locator from version 1.x, the %s current store "
2295
+ "locations need to be %sconverted%s to custom post types."
2296
+ msgstr ""
2297
+ "Al actualizar WP Store Locutor de la versión 1.x, las %s ubicaciones de "
2298
+ "tiendas actuales deben ser %sconvertidas%s a tipos de entrada personalizados."
2299
+
2300
+ #: admin/upgrade.php:439
2301
+ #, php-format
2302
+ msgid ""
2303
+ "The script converting the locations timed out. %s You can click the \"Start "
2304
+ "Converting\" button again to restart the script. %s If there are thousands "
2305
+ "of store locations left to convert and you keep seeing this message, then "
2306
+ "you can try to contact your host and ask if they can increase the maximum "
2307
+ "execution time. %s The plugin tried to disable the maximum execution time, "
2308
+ "but if you are reading this then that failed."
2309
+ msgstr ""
2310
+ "El script convirtiendo las ubicaciones agotó el tiempo de espera. %s Puedes "
2311
+ "hacer click en “Iniciar conversión” de nuevo para reiniciarlo. %s Si hay "
2312
+ "miles de ubicaciones por convertir y sigues viendo este mensaje, contacta a "
2313
+ "tu host y pídeles que por favor incrementen el tiempo de ejecución máximo. "
2314
+ "%s El plugin trató de inhabilitar el tiempo máximo de ejecución, pero si "
2315
+ "estás leyendo esto, falló."
2316
+
2317
+ #: admin/upgrade.php:460
2318
+ msgid "Store locations to convert:"
2319
+ msgstr "Ubicaciones de tienda a convertir:"
2320
+
2321
+ #: admin/upgrade.php:462
2322
+ msgid "Start Converting"
2323
+ msgstr "Iniciar conversión"
2324
+
2325
+ #: admin/upgrade.php:584
2326
+ #, php-format
2327
+ msgid ""
2328
+ "All the store locations are now converted to custom post types. %s You can "
2329
+ "view them on the %sAll Stores%s page."
2330
+ msgstr ""
2331
+ "Todas las ubicaciones de tiendas han sido convertidas a tipos de entrada "
2332
+ "personalizados. %s Puedes verlos en la página de %sTodas las tiendas%s."
2333
+
2334
+ #: frontend/class-frontend.php:722
2335
+ msgid ""
2336
+ "If you use the [wpsl_address] shortcode outside a store page you need to set "
2337
+ "the ID attribute."
2338
+ msgstr ""
2339
+ "Si usas el shortcode de [wpsl_address] fuera de una página de tienda "
2340
+ "necesitarás establecer el atributo ID."
2341
+
2342
+ #: frontend/class-frontend.php:836
2343
+ msgid ""
2344
+ "If you use the [wpsl_hours] shortcode outside a store page you need to set "
2345
+ "the ID attribute."
2346
+ msgstr ""
2347
+ "Si usas el shortcode de [wpsl_hours] fuera de una página de tienda "
2348
+ "necesitarás establecer el atributo ID."
2349
+
2350
+ #: frontend/class-frontend.php:884
2351
+ msgid ""
2352
+ "If you use the [wpsl_map] shortcode outside a store page, then you need to "
2353
+ "set the ID or category attribute."
2354
+ msgstr ""
2355
+ "Si usas el shortcode de [wpsl_map] fuera de una página de tienda necesitarás "
2356
+ "establecer el atributo ID o Categoría."
2357
+
2358
+ #: frontend/class-frontend.php:1444
2359
+ msgid "The application does not have permission to use the Geolocation API."
2360
+ msgstr "Esta aplicación no tiene permiso para usar el API de Geolocalización."
2361
+
2362
+ #: frontend/class-frontend.php:1445
2363
+ msgid "Location information is unavailable."
2364
+ msgstr "Información de ubicación no disponible."
2365
+
2366
+ #: frontend/class-frontend.php:1446
2367
+ msgid "The geolocation request timed out."
2368
+ msgstr "La petición de geolocalización agotó el tiempo de espera."
2369
+
2370
+ #: frontend/class-frontend.php:1447
2371
+ msgid "An unknown error occurred."
2372
+ msgstr "Ocurrió un error desconocido."
2373
+
2374
+ #: frontend/templates/default.php:62
2375
+ #: frontend/templates/store-listings-below.php:68
2376
+ #, php-format
2377
+ msgid "Search provided by %sWP Store Locator%s"
2378
+ msgstr "Búsqueda proporcionada por %sWP Store Locutor%s"
2379
+
2380
+ #: inc/class-post-types.php:50
2381
+ msgid "Store"
2382
+ msgstr "Tienda"
2383
+
2384
+ #: inc/class-post-types.php:51
2385
+ msgid "Stores"
2386
+ msgstr "Tiendas"
2387
+
2388
+ #: inc/class-post-types.php:55
2389
+ msgid "Store Locator"
2390
+ msgstr "Localizador de tiendas"
2391
+
2392
+ #: inc/class-post-types.php:56
2393
+ #, php-format
2394
+ msgid "All %s"
2395
+ msgstr "Todas las %s"
2396
+
2397
+ #: inc/class-post-types.php:58 inc/class-post-types.php:61
2398
+ #, php-format
2399
+ msgid "New %s"
2400
+ msgstr "Nueva %s"
2401
+
2402
+ #: inc/class-post-types.php:59
2403
+ #, php-format
2404
+ msgid "Add New %s"
2405
+ msgstr "Añadir %s"
2406
+
2407
+ #: inc/class-post-types.php:60
2408
+ #, php-format
2409
+ msgid "Edit %s"
2410
+ msgstr "Editar %s"
2411
+
2412
+ #: inc/class-post-types.php:62
2413
+ #, php-format
2414
+ msgid "View %s"
2415
+ msgstr "Ver %s"
2416
+
2417
+ #: inc/class-post-types.php:63
2418
+ #, php-format
2419
+ msgid "Search %s"
2420
+ msgstr "Buscar %s"
2421
+
2422
+ #: inc/class-post-types.php:64
2423
+ #, php-format
2424
+ msgid "No %s found"
2425
+ msgstr "No se encontraron %s"
2426
+
2427
+ #: inc/class-post-types.php:65
2428
+ #, php-format
2429
+ msgid "No %s found in trash"
2430
+ msgstr "No se encontraron %s en la papelera"
2431
+
2432
+ #: inc/class-post-types.php:107 inc/class-post-types.php:117
2433
+ msgid "Store Categories"
2434
+ msgstr "Categorías de tiendas"
2435
+
2436
+ #: inc/class-post-types.php:108
2437
+ msgid "Store Category"
2438
+ msgstr "Categoría de tienda"
2439
+
2440
+ #: inc/class-post-types.php:109
2441
+ msgid "Search Store Categories"
2442
+ msgstr "Buscar categorías de tiendas"
2443
+
2444
+ #: inc/class-post-types.php:110
2445
+ msgid "All Store Categories"
2446
+ msgstr "Todas las categorías"
2447
+
2448
+ #: inc/class-post-types.php:111
2449
+ msgid "Parent Store Category"
2450
+ msgstr "Categoría superior"
2451
+
2452
+ #: inc/class-post-types.php:112
2453
+ msgid "Parent Store Category:"
2454
+ msgstr "Categoría superior:"
2455
+
2456
+ #: inc/class-post-types.php:113
2457
+ msgid "Edit Store Category"
2458
+ msgstr "Editar categoría de tienda"
2459
+
2460
+ #: inc/class-post-types.php:114
2461
+ msgid "Update Store Category"
2462
+ msgstr "Actualizar categoría de tienda"
2463
+
2464
+ #: inc/class-post-types.php:115
2465
+ msgid "Add New Store Category"
2466
+ msgstr "Añadir categoría de tienda"
2467
+
2468
+ #: inc/class-post-types.php:116
2469
+ msgid "New Store Category Name"
2470
+ msgstr "Nombre de la nueva categoría de tienda"
2471
+
2472
+ #: inc/class-post-types.php:147
2473
+ msgid "Enter store title here"
2474
+ msgstr "Introduce el nombre de la tienda aquí"
2475
+
2476
+ #: inc/class-post-types.php:165
2477
+ msgid "Zip"
2478
+ msgstr "Código postal"
2479
+
2480
+ #: inc/wpsl-functions.php:216
2481
+ msgid "Show the store list below the map"
2482
+ msgstr "Mostrar la lista de tiendas debajo del mapa"
2483
+
2484
+ #: inc/wpsl-functions.php:233
2485
+ msgid "Monday"
2486
+ msgstr "Lunes"
2487
+
2488
+ #: inc/wpsl-functions.php:234
2489
+ msgid "Tuesday"
2490
+ msgstr "Martes"
2491
+
2492
+ #: inc/wpsl-functions.php:235
2493
+ msgid "Wednesday"
2494
+ msgstr "Miércoles"
2495
+
2496
+ #: inc/wpsl-functions.php:236
2497
+ msgid "Thursday"
2498
+ msgstr "Jueves"
2499
+
2500
+ #: inc/wpsl-functions.php:237
2501
+ msgid "Friday"
2502
+ msgstr "Viernes"
2503
+
2504
+ #: inc/wpsl-functions.php:238
2505
+ msgid "Saturday"
2506
+ msgstr "Sábado"
2507
+
2508
+ #: inc/wpsl-functions.php:239
2509
+ msgid "Sunday"
2510
+ msgstr "Domingo"
2511
+
2512
+ #: inc/wpsl-functions.php:269
2513
+ #, php-format
2514
+ msgid "Mon %sTue %sWed %sThu %sFri %sSat Closed %sSun Closed"
2515
+ msgstr "Lun %sMar %sMiér %sJue %sVie %sSáb Cerrado %sDom Cerrado"
2516
+
2517
+ #: inc/wpsl-functions.php:285
2518
+ msgid "Satellite"
2519
+ msgstr "Satélite"
2520
+
2521
+ #: inc/wpsl-functions.php:286
2522
+ msgid "Hybrid"
2523
+ msgstr "Híbrido"
2524
+
2525
+ #: inc/wpsl-functions.php:287
2526
+ msgid "Terrain"
2527
+ msgstr "Terreno"
2528
+
2529
+ #: inc/wpsl-functions.php:302
2530
+ msgid "(city) (state) (zip code)"
2531
+ msgstr "(ciudad) (estado) (código postal)"
2532
+
2533
+ #: inc/wpsl-functions.php:303
2534
+ msgid "(city), (state) (zip code)"
2535
+ msgstr "(ciudad), (estado) (código postal)"
2536
+
2537
+ #: inc/wpsl-functions.php:304
2538
+ msgid "(city) (zip code)"
2539
+ msgstr "(ciudad) (código postal)"
2540
+
2541
+ #: inc/wpsl-functions.php:305
2542
+ msgid "(city), (zip code)"
2543
+ msgstr "(ciudad), (código postal)"
2544
+
2545
+ #: inc/wpsl-functions.php:306
2546
+ msgid "(zip code) (city) (state)"
2547
+ msgstr "(código postal) (ciudad) (estado)"
2548
+
2549
+ #: inc/wpsl-functions.php:307
2550
+ msgid "(zip code) (city)"
2551
+ msgstr "(código postal) (ciudad)"
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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.5.2
8
- Stable tag: 2.2.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
@@ -69,6 +69,7 @@ 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. Add your stores under 'Store Locator' -> Add Store
73
  1. Add the map to a page with this shortcode: [wpsl]
74
 
@@ -78,6 +79,10 @@ Generate a directory based on the store locations.
78
 
79
  Add this shortcode [wpsl] to the page where you want to display the store locator.
80
 
 
 
 
 
81
  = There are weird characters in the search results, how do I remove them? =
82
 
83
  This is most likely caused by a plugin like W3 Total Cache that tried to minify the HTML output on the store locator page. You can fix this by excluding the store locator from being minified on the settings page of the caching plugin you're using. In W3 Total Cache this is done by going to Minify -> Advanced -> Never minify the following pages, and fill in the page you don't want to have minified. So if your store locator is used on mydomain.com/store-locator, then fill in 'store-locator'.
@@ -121,6 +126,12 @@ If you find a plugin or theme that causes a conflict, please report it on the [s
121
 
122
  == Changelog ==
123
 
 
 
 
 
 
 
124
  = 2.2.2, May 18, 2016 =
125
  * Fixed: Corrected the [path](https://github.com/googlemaps/js-marker-clusterer/pull/61) for the cluster marker images.
126
 
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.5.2
8
+ Stable tag: 2.2.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
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 [server](https://developers.google.com/maps/documentation/geocoding/get-api-key#get-an-api-key) and [browser](https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key) key and set them on the [settings](https://wpstorelocator.co/document/configure-wp-store-locator/#google-maps-api) page.
73
  1. Add your stores under 'Store Locator' -> Add Store
74
  1. Add the map to a page with this shortcode: [wpsl]
75
 
79
 
80
  Add this shortcode [wpsl] to the page where you want to display the store locator.
81
 
82
+ = Oops! Something went wrong =
83
+
84
+ You can fix this by setting the [browser](https://wpstorelocator.co/document/configure-wp-store-locator/#google-maps-api) key on the settings page.
85
+
86
  = There are weird characters in the search results, how do I remove them? =
87
 
88
  This is most likely caused by a plugin like W3 Total Cache that tried to minify the HTML output on the store locator page. You can fix this by excluding the store locator from being minified on the settings page of the caching plugin you're using. In W3 Total Cache this is done by going to Minify -> Advanced -> Never minify the following pages, and fill in the page you don't want to have minified. So if your store locator is used on mydomain.com/store-locator, then fill in 'store-locator'.
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.
132
+ * New: Spanish translations (es_ES). Via [Jaime Smeke](http://untaljai.me/).
133
+ * New: Added support for the upcoming statistics add-on.
134
+
135
  = 2.2.2, May 18, 2016 =
136
  * Fixed: Corrected the [path](https://github.com/googlemaps/js-marker-clusterer/pull/61) for the cluster marker images.
137
 
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.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.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.3
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.3' );
62
 
63
  if ( !defined( 'WPSL_URL' ) )
64
  define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );