Version Description
Download this release
Release Info
Developer | businessdirectoryplugin |
Plugin | Business Directory Plugin |
Version | 4.1.4 |
Comparing to | |
See all releases |
Code changes from version 4.1.3 to 4.1.4
- README.TXT +17 -4
- admin/class-themes-admin.php +2 -0
- business-directory-plugin.php +2 -2
- core/class-form-field-type.php +5 -0
- core/class-form-field.php +3 -1
- core/class-shortcodes.php +10 -2
- core/helpers/class-themes-updater.php +1 -1
- core/licensing.php +149 -18
- core/themes.php +74 -1
- core/views/manage_listings.php +2 -1
- languages/WPBDM-ar.mo +0 -0
- languages/WPBDM-ar.po +23 -23
- languages/WPBDM-de_DE.mo +0 -0
- languages/WPBDM-de_DE.po +66 -43
- languages/WPBDM-en_US.mo +0 -0
- languages/WPBDM-en_US.po +23 -23
- languages/WPBDM-es_ES.mo +0 -0
- languages/WPBDM-es_ES.po +24 -24
- languages/WPBDM-fr_FR.mo +0 -0
- languages/WPBDM-fr_FR.po +39 -31
- languages/WPBDM.pot +24 -24
- vendors/edd/EDD_SL_Plugin_Updater.php +338 -0
README.TXT
CHANGED
@@ -4,8 +4,8 @@ Donate link: http://businessdirectoryplugin.com/premium-modules/
|
|
4 |
Tags: address book, business directory, chamber of commerce business directory, church directory, company business directory, contact directory, custom business directory, directory, listings directory, local business directory, link directory, member directory, staff directory, directory plugin
|
5 |
Requires at least: 4.1
|
6 |
Tested up to: 4.6.1
|
7 |
-
Last Updated: 2016-
|
8 |
-
Stable tag: tags/4.1.
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Build any kind of local directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory and much more!
|
@@ -18,18 +18,23 @@ Business Directory Plugin is the most popular, versatile, widely-installed, easi
|
|
18 |
|
19 |
Business Directory Plugin allows you to build a local directory, directory of business providers, a Yellow-Pages style business directory, Yelp-like review sections, create a church directory, build an address book directory and much more. You can add any kind of directory using Business Directory plugin.
|
20 |
|
21 |
-
= Features =
|
22 |
* Fully customizable form fields
|
|
|
|
|
23 |
* Accept payment for listings OR have free listings in your business directory
|
24 |
* Accept payments using Authorize.net (requires Authorize.net account)
|
25 |
* Full support for recurring payments (in most gateways: PayPal, Authorize.net, Stripe)
|
26 |
* Allow for featured/sticky listings for an upgrade fee
|
|
|
27 |
* Create multiple fee plans, which can be assigned to categories for posting
|
28 |
* Built in CSV import and export
|
29 |
* Support for reCAPTCHA to avoid spam listings
|
|
|
30 |
* Users who post can edit listings without access to WP dashboard
|
31 |
* SEO Friendly using Yoast SEO
|
32 |
* Configurable quick-search field and sorting bar for listings
|
|
|
33 |
* FULL responsive support when installed with a responsive theme
|
34 |
* Multi-language support in your directory with WPML
|
35 |
* Ability to re-skin the directory with a few clicks (directory themes)
|
@@ -37,7 +42,7 @@ Business Directory Plugin allows you to build a local directory, directory of bu
|
|
37 |
* Images displayed with categories (using the FREE Enhanced Categories module)
|
38 |
* Display Category Icons/Allow Parent-Child Category Navigation (using the FREE Enhanced Category Module)
|
39 |
|
40 |
-
= Additional Features available from Premium Modules (paid) =
|
41 |
* Rate businesses in your directory (now with Schema.org microformat support) (using the (paid) Ratings Module)
|
42 |
* Display the location of the business (categories, search, details--now with custom map sizes) (using the (paid) Google Maps Module)
|
43 |
* Location based directory result filtering (using the (paid) Regions Module)
|
@@ -135,6 +140,14 @@ If you are having problems please visit [support forum](http://www.businessdirec
|
|
135 |
|
136 |
|
137 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
= Version 4.1.3 =
|
139 |
* Improve appearance of search button on Advanced Search form.
|
140 |
* Remove carriage-return characters from options in multivalued fields.
|
4 |
Tags: address book, business directory, chamber of commerce business directory, church directory, company business directory, contact directory, custom business directory, directory, listings directory, local business directory, link directory, member directory, staff directory, directory plugin
|
5 |
Requires at least: 4.1
|
6 |
Tested up to: 4.6.1
|
7 |
+
Last Updated: 2016-Nov 2
|
8 |
+
Stable tag: tags/4.1.4
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Build any kind of local directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory and much more!
|
18 |
|
19 |
Business Directory Plugin allows you to build a local directory, directory of business providers, a Yellow-Pages style business directory, Yelp-like review sections, create a church directory, build an address book directory and much more. You can add any kind of directory using Business Directory plugin.
|
20 |
|
21 |
+
= Core plugin Features =
|
22 |
* Fully customizable form fields
|
23 |
+
* Upload images per listing, allow restricted numbers of images based on fee plan
|
24 |
+
* Lots of image options: drag and drop image uploads, easy image ordering, primary image settings, thumbnail sizing and more
|
25 |
* Accept payment for listings OR have free listings in your business directory
|
26 |
* Accept payments using Authorize.net (requires Authorize.net account)
|
27 |
* Full support for recurring payments (in most gateways: PayPal, Authorize.net, Stripe)
|
28 |
* Allow for featured/sticky listings for an upgrade fee
|
29 |
+
* Widgets for Featured, Latest and Random listings. Search widget as well
|
30 |
* Create multiple fee plans, which can be assigned to categories for posting
|
31 |
* Built in CSV import and export
|
32 |
* Support for reCAPTCHA to avoid spam listings
|
33 |
+
* Sorting options for categories, listings, and front-end for users to choose sort order
|
34 |
* Users who post can edit listings without access to WP dashboard
|
35 |
* SEO Friendly using Yoast SEO
|
36 |
* Configurable quick-search field and sorting bar for listings
|
37 |
+
* Advanced search screen with ability to show/hide fields available for search
|
38 |
* FULL responsive support when installed with a responsive theme
|
39 |
* Multi-language support in your directory with WPML
|
40 |
* Ability to re-skin the directory with a few clicks (directory themes)
|
42 |
* Images displayed with categories (using the FREE Enhanced Categories module)
|
43 |
* Display Category Icons/Allow Parent-Child Category Navigation (using the FREE Enhanced Category Module)
|
44 |
|
45 |
+
= Additional Add-on Features available from Premium Modules (paid) =
|
46 |
* Rate businesses in your directory (now with Schema.org microformat support) (using the (paid) Ratings Module)
|
47 |
* Display the location of the business (categories, search, details--now with custom map sizes) (using the (paid) Google Maps Module)
|
48 |
* Location based directory result filtering (using the (paid) Regions Module)
|
140 |
|
141 |
|
142 |
== Changelog ==
|
143 |
+
|
144 |
+
= Version 4.1.4 =
|
145 |
+
* Automatically load translation files from themes.
|
146 |
+
* Improve performance for BD premium modules update checks on plugin page.
|
147 |
+
* Custom themes (not developed by BD) can be used without a license.
|
148 |
+
* Add showsearchbar parameter to business-directory-manage-listings shortcode.
|
149 |
+
* Fix support for '&' in tag names.
|
150 |
+
|
151 |
= Version 4.1.3 =
|
152 |
* Improve appearance of search button on Advanced Search form.
|
153 |
* Remove carriage-return characters from options in multivalued fields.
|
admin/class-themes-admin.php
CHANGED
@@ -127,6 +127,8 @@ class WPBDP_Themes_Admin {
|
|
127 |
$msg = _x( 'You need to <a>activate your theme\'s license key</a> before you can activate the theme. <a>Click here</a> to do that.',
|
128 |
'admin themes',
|
129 |
'WPBDM' );
|
|
|
|
|
130 |
wpbdp_admin_message( $msg, 'error' );
|
131 |
}
|
132 |
|
127 |
$msg = _x( 'You need to <a>activate your theme\'s license key</a> before you can activate the theme. <a>Click here</a> to do that.',
|
128 |
'admin themes',
|
129 |
'WPBDM' );
|
130 |
+
$msg = str_replace( '<a>', '<a href="' . esc_url( admin_url( 'admin.php?page=wpbdp-themes&v=licenses' ) ) . '">', $msg );
|
131 |
+
|
132 |
wpbdp_admin_message( $msg, 'error' );
|
133 |
}
|
134 |
|
business-directory-plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Business Directory Plugin
|
4 |
* Plugin URI: http://www.businessdirectoryplugin.com
|
5 |
* Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
|
6 |
-
* Version: 4.1.
|
7 |
* Author: D. Rodenbaugh
|
8 |
* Author URI: http://businessdirectoryplugin.com
|
9 |
* Text Domain: WPBDM
|
@@ -31,7 +31,7 @@
|
|
31 |
if( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) )
|
32 |
exit();
|
33 |
|
34 |
-
define( 'WPBDP_VERSION', '4.1.
|
35 |
|
36 |
define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( __FILE__ ) ) );
|
37 |
define( 'WPBDP_URL', trailingslashit( plugins_url( '/', __FILE__ ) ) );
|
3 |
* Plugin Name: Business Directory Plugin
|
4 |
* Plugin URI: http://www.businessdirectoryplugin.com
|
5 |
* Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
|
6 |
+
* Version: 4.1.4
|
7 |
* Author: D. Rodenbaugh
|
8 |
* Author URI: http://businessdirectoryplugin.com
|
9 |
* Text Domain: WPBDM
|
31 |
if( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) )
|
32 |
exit();
|
33 |
|
34 |
+
define( 'WPBDP_VERSION', '4.1.4' );
|
35 |
|
36 |
define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( __FILE__ ) ) );
|
37 |
define( 'WPBDP_URL', trailingslashit( plugins_url( '/', __FILE__ ) ) );
|
core/class-form-field-type.php
CHANGED
@@ -75,6 +75,11 @@ class WPBDP_Form_Field_Type {
|
|
75 |
break;
|
76 |
case 'tags':
|
77 |
$value = wp_get_object_terms( $post_id, WPBDP_TAGS_TAX, array( 'fields' => 'names' ) );
|
|
|
|
|
|
|
|
|
|
|
78 |
break;
|
79 |
case 'meta':
|
80 |
$value = get_post_meta( $post_id, '_wpbdp[fields][' . $field->get_id() . ']', true );
|
75 |
break;
|
76 |
case 'tags':
|
77 |
$value = wp_get_object_terms( $post_id, WPBDP_TAGS_TAX, array( 'fields' => 'names' ) );
|
78 |
+
|
79 |
+
foreach ( $value as $index => $v ) {
|
80 |
+
$value[ $index ] = htmlspecialchars_decode( $v, ENT_QUOTES );
|
81 |
+
}
|
82 |
+
|
83 |
break;
|
84 |
case 'meta':
|
85 |
$value = get_post_meta( $post_id, '_wpbdp[fields][' . $field->get_id() . ']', true );
|
core/class-form-field.php
CHANGED
@@ -690,6 +690,8 @@ class WPBDP_Form_Field {
|
|
690 |
if ( ! $query )
|
691 |
break;
|
692 |
|
|
|
|
|
693 |
foreach ( $query as $term_ ) {
|
694 |
if ( is_numeric( $term_ ) ) {
|
695 |
$term = get_term( intval( $term_ ), $tax );
|
@@ -703,7 +705,7 @@ class WPBDP_Form_Field {
|
|
703 |
} elseif ( is_string( $term_ ) ) {
|
704 |
$tt_ids = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT tt.term_taxonomy_id FROM {$wpdb->term_taxonomy} tt JOIN {$wpdb->terms} t ON t.term_id = tt.term_id WHERE tt.taxonomy = %s AND t.name LIKE '%%%s%%'",
|
705 |
$tax,
|
706 |
-
$term_ ) );
|
707 |
}
|
708 |
}
|
709 |
|
690 |
if ( ! $query )
|
691 |
break;
|
692 |
|
693 |
+
$charset = get_option( 'blog_charset' );
|
694 |
+
|
695 |
foreach ( $query as $term_ ) {
|
696 |
if ( is_numeric( $term_ ) ) {
|
697 |
$term = get_term( intval( $term_ ), $tax );
|
705 |
} elseif ( is_string( $term_ ) ) {
|
706 |
$tt_ids = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT tt.term_taxonomy_id FROM {$wpdb->term_taxonomy} tt JOIN {$wpdb->terms} t ON t.term_id = tt.term_id WHERE tt.taxonomy = %s AND t.name LIKE '%%%s%%'",
|
707 |
$tax,
|
708 |
+
htmlspecialchars( $term_, ENT_QUOTES, $charset ) ) );
|
709 |
}
|
710 |
}
|
711 |
|
core/class-shortcodes.php
CHANGED
@@ -239,8 +239,16 @@ class WPBDP__Shortcodes {
|
|
239 |
return '0';
|
240 |
}
|
241 |
|
242 |
-
public function sc_manage_listings() {
|
243 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
return $v->dispatch();
|
245 |
}
|
246 |
|
239 |
return '0';
|
240 |
}
|
241 |
|
242 |
+
public function sc_manage_listings( $atts, $content, $shortcode ) {
|
243 |
+
$atts = shortcode_atts( array( 'showsearchbar' => true ), $atts, $shortcode );
|
244 |
+
|
245 |
+
if ( in_array( $atts['showsearchbar'], array( 'no', 'false', '0' ), true ) ) {
|
246 |
+
$atts['showsearchbar'] = false;
|
247 |
+
} else {
|
248 |
+
$atts['showsearchbar'] = true;
|
249 |
+
}
|
250 |
+
|
251 |
+
$v = wpbdp_load_view( 'manage_listings', array( 'show_search_bar' => $atts['showsearchbar'] ) );
|
252 |
return $v->dispatch();
|
253 |
}
|
254 |
|
core/helpers/class-themes-updater.php
CHANGED
@@ -9,7 +9,7 @@ class WPBDP_Themes_Updater {
|
|
9 |
$this->themes_api = $themes_api;
|
10 |
$this->data = get_transient( 'wpbdp-themes-updates' );
|
11 |
|
12 |
-
if ( ! $this->data )
|
13 |
$this->check_for_updates();
|
14 |
|
15 |
add_action( 'wp_ajax_wpbdp-themes-update', array( &$this, '_update_theme' ) );
|
9 |
$this->themes_api = $themes_api;
|
10 |
$this->data = get_transient( 'wpbdp-themes-updates' );
|
11 |
|
12 |
+
if ( ! is_array( $this->data ) )
|
13 |
$this->check_for_updates();
|
14 |
|
15 |
add_action( 'wp_ajax_wpbdp-themes-update', array( &$this, '_update_theme' ) );
|
core/licensing.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
//set_site_transient( 'update_plugins', null );
|
3 |
|
4 |
|
5 |
/**
|
@@ -8,12 +8,11 @@
|
|
8 |
class WPBDP_Licensing {
|
9 |
|
10 |
const STORE_URL = 'http://businessdirectoryplugin.com/';
|
11 |
-
//const STORE_URL = 'http://
|
12 |
|
13 |
private $modules = array();
|
14 |
|
15 |
public function __construct() {
|
16 |
-
add_action( 'admin_init', array( &$this, 'admin_init' ), 0 );
|
17 |
add_action( 'admin_notices', array( &$this, 'admin_notices' ) );
|
18 |
add_action( 'wpbdp_register_settings', array( &$this, 'register_settings' ) );
|
19 |
add_action( 'wpbdp_admin_menu', array( &$this, 'admin_menu' ) );
|
@@ -30,9 +29,9 @@ class WPBDP_Licensing {
|
|
30 |
wp_schedule_event( time(), 'daily', 'wpbdp_license_check' );
|
31 |
}
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
}
|
37 |
|
38 |
function register_settings( &$settings ) {
|
@@ -199,18 +198,6 @@ class WPBDP_Licensing {
|
|
199 |
return in_array( $this->modules[ $module_name ]['license_status'], array( 'valid', 'expired' ), true );
|
200 |
}
|
201 |
|
202 |
-
public function admin_init() {
|
203 |
-
//delete_transient( 'wpbdp-license-check-data' ); do_action( 'wpbdp_license_check' );
|
204 |
-
foreach ( $this->modules as $module => $data ) {
|
205 |
-
new EDD_SL_Plugin_Updater( self::STORE_URL,
|
206 |
-
$data['file'],
|
207 |
-
array( 'version' => $data['version'],
|
208 |
-
'license' => $data['license'],
|
209 |
-
'item_name' => $data['name'],
|
210 |
-
'author' => 'D. Rodenbaugh' ) );
|
211 |
-
}
|
212 |
-
}
|
213 |
-
|
214 |
public function admin_notices() {
|
215 |
$invalid = array();
|
216 |
$expired = array();
|
@@ -376,6 +363,150 @@ class WPBDP_Licensing {
|
|
376 |
$res->send();
|
377 |
}
|
378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
}
|
380 |
|
381 |
/**
|
1 |
<?php
|
2 |
+
// set_site_transient( 'update_plugins', null );
|
3 |
|
4 |
|
5 |
/**
|
8 |
class WPBDP_Licensing {
|
9 |
|
10 |
const STORE_URL = 'http://businessdirectoryplugin.com/';
|
11 |
+
// const STORE_URL = 'http://business-directory.dev/';
|
12 |
|
13 |
private $modules = array();
|
14 |
|
15 |
public function __construct() {
|
|
|
16 |
add_action( 'admin_notices', array( &$this, 'admin_notices' ) );
|
17 |
add_action( 'wpbdp_register_settings', array( &$this, 'register_settings' ) );
|
18 |
add_action( 'wpbdp_admin_menu', array( &$this, 'admin_menu' ) );
|
29 |
wp_schedule_event( time(), 'daily', 'wpbdp_license_check' );
|
30 |
}
|
31 |
|
32 |
+
// Update handling.
|
33 |
+
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'updates_check' ) );
|
34 |
+
add_filter( 'plugins_api', array( $this, 'updates_plugin_information' ), 10, 3 );
|
35 |
}
|
36 |
|
37 |
function register_settings( &$settings ) {
|
198 |
return in_array( $this->modules[ $module_name ]['license_status'], array( 'valid', 'expired' ), true );
|
199 |
}
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
public function admin_notices() {
|
202 |
$invalid = array();
|
203 |
$expired = array();
|
363 |
$res->send();
|
364 |
}
|
365 |
|
366 |
+
/**
|
367 |
+
* Inject BD modules update info into update array.
|
368 |
+
* Based on `EDD_SL_Plugin_Updater` from Easy Digital Downloads.
|
369 |
+
* @since next-release
|
370 |
+
*/
|
371 |
+
function updates_check( $transient ) {
|
372 |
+
global $pagenow;
|
373 |
+
|
374 |
+
if ( ! is_object( $transient ) )
|
375 |
+
$transient = new stdClass();
|
376 |
+
|
377 |
+
if ( 'plugins.php' == $pagenow && is_multisite() )
|
378 |
+
return $transient;
|
379 |
+
|
380 |
+
$data = $this->version_info_request();
|
381 |
+
// We need to do this since local identifiers for modules don't (necessarily) match what we have on the remote
|
382 |
+
// server. In the future, local identifiers should match (i.e. use the slug from BDP.com or use the download ID)
|
383 |
+
$data = $this->_version_info_process( $data );
|
384 |
+
|
385 |
+
if ( ! $data )
|
386 |
+
return $transient;
|
387 |
+
|
388 |
+
foreach ( $data as $item_key => $item_info ) {
|
389 |
+
if ( ! isset( $this->modules[ $item_key ] ) )
|
390 |
+
continue;
|
391 |
+
|
392 |
+
$wp_name = plugin_basename( $this->modules[ $item_key ]['file'] );
|
393 |
+
|
394 |
+
if ( ! empty( $transient->response ) && ! empty( $transient->response[ $wp_name ] ) )
|
395 |
+
continue;
|
396 |
+
|
397 |
+
if ( ! isset( $item_info->new_version ) )
|
398 |
+
continue;
|
399 |
+
|
400 |
+
if ( version_compare( $this->modules[ $item_key ]['version'], $item_info->new_version, '<' ) ) {
|
401 |
+
$transient->response[ $wp_name ] = $item_info;
|
402 |
+
}
|
403 |
+
|
404 |
+
$transient->last_checked = current_time( 'timestamp' );
|
405 |
+
$transient->checked[ $wp_name ] = $this->modules[ $item_key ]['version'];
|
406 |
+
}
|
407 |
+
|
408 |
+
return $transient;
|
409 |
+
}
|
410 |
+
|
411 |
+
/**
|
412 |
+
* @since next-release
|
413 |
+
*/
|
414 |
+
function updates_plugin_information( $data, $action = '', $args = null ) {
|
415 |
+
if ( 'plugin_information' != $action || ! isset( $args->slug ) || ! isset( $this->modules[ $args->slug ] ) )
|
416 |
+
return $data;
|
417 |
+
|
418 |
+
$http_args = array(
|
419 |
+
'timeout' => 15,
|
420 |
+
'sslverify' => false,
|
421 |
+
'body' => array(
|
422 |
+
'edd_action' => 'get_version',
|
423 |
+
'item_name' => $this->modules[ $args->slug ]['name'],
|
424 |
+
'license' => $this->modules[ $args->slug ]['license'],
|
425 |
+
'url' => home_url()
|
426 |
+
)
|
427 |
+
);
|
428 |
+
$request = wp_remote_post( self::STORE_URL, $http_args );
|
429 |
+
|
430 |
+
if ( is_wp_error( $request ) )
|
431 |
+
return $data;
|
432 |
+
|
433 |
+
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
434 |
+
|
435 |
+
if ( ! $request || ! is_object( $request ) || ! isset( $request->sections ) )
|
436 |
+
return $data;
|
437 |
+
|
438 |
+
$request->sections = maybe_unserialize( $request->sections );
|
439 |
+
$data = $request;
|
440 |
+
|
441 |
+
return $data;
|
442 |
+
}
|
443 |
+
|
444 |
+
/**
|
445 |
+
* @since next-release
|
446 |
+
*/
|
447 |
+
function version_info_request() {
|
448 |
+
if ( ! $this->modules )
|
449 |
+
return false;
|
450 |
+
|
451 |
+
// Don't allow a plugin to ping itself.
|
452 |
+
if ( self::STORE_URL == home_url() )
|
453 |
+
return false;
|
454 |
+
|
455 |
+
$args = array(
|
456 |
+
'edd_action' => 'batch_get_version',
|
457 |
+
'licenses' => array(),
|
458 |
+
'items' => array(),
|
459 |
+
'url' => home_url()
|
460 |
+
);
|
461 |
+
|
462 |
+
foreach ( $this->modules as $module ) {
|
463 |
+
if ( ! empty( $module['license'] ) )
|
464 |
+
$args['licenses'][] = $module['license'];
|
465 |
+
|
466 |
+
$args['items'][] = $module['name'];
|
467 |
+
}
|
468 |
+
|
469 |
+
$request = wp_remote_post( self::STORE_URL, array( 'timeout' => 15, 'sslverify' => false, 'body' => $args ) );
|
470 |
+
|
471 |
+
if ( ! is_wp_error( $request ) )
|
472 |
+
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
473 |
+
|
474 |
+
if ( ! is_array( $request ) )
|
475 |
+
$request = false;
|
476 |
+
|
477 |
+
foreach ( $request as &$x ) {
|
478 |
+
if ( isset( $x->sections ) )
|
479 |
+
$x->sections = maybe_unserialize( $x->sections );
|
480 |
+
}
|
481 |
+
|
482 |
+
return $request;
|
483 |
+
}
|
484 |
+
|
485 |
+
/**
|
486 |
+
* @since next-release
|
487 |
+
*/
|
488 |
+
function _version_info_process( $data ) {
|
489 |
+
$result = array();
|
490 |
+
|
491 |
+
if ( ! $data )
|
492 |
+
return $result;
|
493 |
+
|
494 |
+
foreach ( $data as $d ) {
|
495 |
+
$item_name = $d->name;
|
496 |
+
|
497 |
+
foreach ( $this->modules as $module_key => $module_info ) {
|
498 |
+
if ( $item_name != $module_info['name'] )
|
499 |
+
continue;
|
500 |
+
|
501 |
+
$d->slug= $module_key;
|
502 |
+
$result[ $module_key ] = $d;
|
503 |
+
break;
|
504 |
+
}
|
505 |
+
}
|
506 |
+
|
507 |
+
return $result;
|
508 |
+
}
|
509 |
+
|
510 |
}
|
511 |
|
512 |
/**
|
core/themes.php
CHANGED
@@ -34,6 +34,8 @@ class WPBDP_Themes {
|
|
34 |
$this->call_theme_function( '' );
|
35 |
$this->call_theme_function( 'init' );
|
36 |
|
|
|
|
|
37 |
add_action( 'wp_enqueue_scripts', array( &$this, 'enqueue_theme_scripts' ), 999 );
|
38 |
add_filter( 'wpbdp_form_field_display', array( &$this, 'field_theme_override' ), 999, 4 );
|
39 |
|
@@ -67,6 +69,18 @@ class WPBDP_Themes {
|
|
67 |
}
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
function enqueue_theme_scripts() {
|
71 |
$theme = $this->get_active_theme_data();
|
72 |
$css = array_filter( (array) $theme->assets->css );
|
@@ -352,12 +366,71 @@ class WPBDP_Themes {
|
|
352 |
$t->license_status = isset( $theme_license['status'] ) ? $theme_license['status'] : '';
|
353 |
}
|
354 |
|
355 |
-
$t->is_core_theme =
|
356 |
$t->active = ( $t->id == $this->get_active_theme() );
|
357 |
$t->can_be_activated = ( $t->is_core_theme || 'valid' == $t->license_status || $t->active );
|
358 |
}
|
359 |
}
|
360 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
function _guess_theme_path_info( &$theme ) {
|
362 |
$valid_parents = $this->get_themes_directories();
|
363 |
$url = '';
|
34 |
$this->call_theme_function( '' );
|
35 |
$this->call_theme_function( 'init' );
|
36 |
|
37 |
+
$this->load_theme_translation();
|
38 |
+
|
39 |
add_action( 'wp_enqueue_scripts', array( &$this, 'enqueue_theme_scripts' ), 999 );
|
40 |
add_filter( 'wpbdp_form_field_display', array( &$this, 'field_theme_override' ), 999, 4 );
|
41 |
|
69 |
}
|
70 |
}
|
71 |
|
72 |
+
function load_theme_translation() {
|
73 |
+
$theme = $this->get_active_theme_data();
|
74 |
+
$locale = get_locale();
|
75 |
+
|
76 |
+
$mofile = untrailingslashit( $theme->path ) . "/languages/wpbdp-{$theme->id}-{$locale}.mo";
|
77 |
+
|
78 |
+
if ( ! file_exists( $mofile ) )
|
79 |
+
return;
|
80 |
+
|
81 |
+
return load_textdomain( 'wpbdp-' . $theme->id, $mofile );
|
82 |
+
}
|
83 |
+
|
84 |
function enqueue_theme_scripts() {
|
85 |
$theme = $this->get_active_theme_data();
|
86 |
$css = array_filter( (array) $theme->assets->css );
|
366 |
$t->license_status = isset( $theme_license['status'] ) ? $theme_license['status'] : '';
|
367 |
}
|
368 |
|
369 |
+
$t->is_core_theme = $this->_is_core_theme( $t );
|
370 |
$t->active = ( $t->id == $this->get_active_theme() );
|
371 |
$t->can_be_activated = ( $t->is_core_theme || 'valid' == $t->license_status || $t->active );
|
372 |
}
|
373 |
}
|
374 |
|
375 |
+
private function _is_core_theme( $theme ) {
|
376 |
+
if ( in_array( $theme->id, array( 'no_theme', 'default' ), true ) ) {
|
377 |
+
return true;
|
378 |
+
}
|
379 |
+
|
380 |
+
return $this->_is_premium_theme( $theme ) ? false : true;
|
381 |
+
}
|
382 |
+
|
383 |
+
private function _is_premium_theme( $theme ) {
|
384 |
+
foreach ( $this->_get_official_themes() as $official_theme ) {
|
385 |
+
if ( $theme->name == $official_theme->name ) {
|
386 |
+
return true;
|
387 |
+
}
|
388 |
+
}
|
389 |
+
|
390 |
+
return false;
|
391 |
+
}
|
392 |
+
|
393 |
+
private function _get_official_themes() {
|
394 |
+
$official_themes = get_transient( 'wpbdp-official-themes' );
|
395 |
+
|
396 |
+
if ( is_array( $official_themes ) ) {
|
397 |
+
return $official_themes;
|
398 |
+
} else {
|
399 |
+
$official_themes = array();
|
400 |
+
}
|
401 |
+
|
402 |
+
$params = array(
|
403 |
+
'tag' => 'theme',
|
404 |
+
'number' => 10,
|
405 |
+
);
|
406 |
+
|
407 |
+
$url = add_query_arg( $params, 'http://businessdirectoryplugin.com/edd-api/v2/products/' );
|
408 |
+
|
409 |
+
$response = wp_remote_get( $url, array( 'timeout' => 15, 'sslverify' => false ) );
|
410 |
+
|
411 |
+
if ( is_wp_error( $response ) ) {
|
412 |
+
set_transient( 'wpbdp-official-themes', array(), HOUR_IN_SECONDS );
|
413 |
+
return array();
|
414 |
+
}
|
415 |
+
|
416 |
+
$response_data = json_decode( wp_remote_retrieve_body( $response ) );
|
417 |
+
|
418 |
+
if ( ! isset( $response_data->products ) || ! is_array( $response_data->products ) ) {
|
419 |
+
set_transient( 'wpbdp-official-themes', array(), HOUR_IN_SECONDS );
|
420 |
+
return array();
|
421 |
+
}
|
422 |
+
|
423 |
+
foreach ( $response_data->products as $product ) {
|
424 |
+
$official_themes[] = (object) array(
|
425 |
+
'name' => $product->info->title,
|
426 |
+
);
|
427 |
+
}
|
428 |
+
|
429 |
+
set_transient( 'wpbdp-official-themes', $official_themes, WEEK_IN_SECONDS );
|
430 |
+
|
431 |
+
return $official_themes;
|
432 |
+
}
|
433 |
+
|
434 |
function _guess_theme_path_info( &$theme ) {
|
435 |
$valid_parents = $this->get_themes_directories();
|
436 |
$url = '';
|
core/views/manage_listings.php
CHANGED
@@ -21,7 +21,8 @@ class WPBDP__Views__Manage_Listings extends WPBDP_NView {
|
|
21 |
wpbdp_push_query( $q );
|
22 |
|
23 |
$html = $this->_render_page( 'manage_listings', array( 'current_user' => $current_user,
|
24 |
-
'query' => $q
|
|
|
25 |
|
26 |
wpbdp_pop_query();
|
27 |
|
21 |
wpbdp_push_query( $q );
|
22 |
|
23 |
$html = $this->_render_page( 'manage_listings', array( 'current_user' => $current_user,
|
24 |
+
'query' => $q,
|
25 |
+
'_bar' => $this->show_search_bar ) );
|
26 |
|
27 |
wpbdp_pop_query();
|
28 |
|
languages/WPBDM-ar.mo
CHANGED
Binary file
|
languages/WPBDM-ar.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 4.0.8\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
"PO-Revision-Date: 2016-09-19 12:17-0500\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
@@ -560,17 +560,17 @@ msgstr ""
|
|
560 |
"تحتاج إلى <a>تنشيط مفتاح ترخيص القالب الخاص بك</a> قبل أن تتمكن من تنشيط "
|
561 |
"القالب. <a>أنقر هنا</a> للقيام بذلك."
|
562 |
|
563 |
-
#: admin/class-themes-admin.php:
|
564 |
msgctxt "themes"
|
565 |
msgid "Could not change the active theme to \"%s\"."
|
566 |
msgstr "تعذر تغيير القالب النشط إلى \"%s\"."
|
567 |
|
568 |
-
#: admin/class-themes-admin.php:
|
569 |
msgctxt "themes"
|
570 |
msgid "Active theme changed to \"%s\"."
|
571 |
msgstr "القالب النشط تغير إلى \"%s\"."
|
572 |
|
573 |
-
#: admin/class-themes-admin.php:
|
574 |
msgctxt "themes"
|
575 |
msgid ""
|
576 |
"%s requires that you tag your existing fields to match some places we want "
|
@@ -579,74 +579,74 @@ msgstr ""
|
|
579 |
"%s يتطلب أن تضيف وسوم في الحقول الموجودة الخاصة بك لمطابقة بعض الأماكن لأننا "
|
580 |
"نريد وضع البيانات الخاصة بك في القالب. وفيما يلي الحقول التي نظن أنها مفقودة."
|
581 |
|
582 |
-
#: admin/class-themes-admin.php:
|
583 |
msgctxt "themes"
|
584 |
msgid "Map My Fields"
|
585 |
msgstr "أنشئ خريطة لحقولي"
|
586 |
|
587 |
-
#: admin/class-themes-admin.php:
|
588 |
msgctxt "themes"
|
589 |
msgid "Suggested fields created successfully."
|
590 |
msgstr " تم إنشاء الحقول المقترحة بنجاح."
|
591 |
|
592 |
-
#: admin/class-themes-admin.php:
|
593 |
msgctxt "themes"
|
594 |
msgid "Theme installed successfully."
|
595 |
msgstr "تم تثبيت القالب بنجاح."
|
596 |
|
597 |
-
#: admin/class-themes-admin.php:
|
598 |
msgctxt "themes"
|
599 |
msgid "Theme was deleted sucessfully."
|
600 |
msgstr "تم حذف القالب بنجاح."
|
601 |
|
602 |
-
#: admin/class-themes-admin.php:
|
603 |
msgctxt "themes"
|
604 |
msgid "Could not delete theme directory. Check permissions."
|
605 |
msgstr "تعذر حذف مجلد القالب. تحقق من الصلاحيات."
|
606 |
|
607 |
-
#: admin/class-themes-admin.php:
|
608 |
msgctxt "themes"
|
609 |
msgid "Please upload a valid theme file."
|
610 |
msgstr "المرجو رفع ملف قالب صالح."
|
611 |
|
612 |
-
#: admin/class-themes-admin.php:
|
613 |
msgctxt "themes"
|
614 |
msgid "Could not move \"%s\" to a temporary directory."
|
615 |
msgstr "لا يمكن نقل \"%s\" إلى مجلد مؤقت."
|
616 |
|
617 |
-
#: admin/class-themes-admin.php:
|
618 |
#: core/licensing.php:127 core/licensing.php:159
|
619 |
msgctxt "licensing"
|
620 |
msgid "Could not contact licensing server"
|
621 |
msgstr "لا يمكن الاتصال بخادم الترخيص"
|
622 |
|
623 |
-
#: admin/class-themes-admin.php:
|
624 |
#: core/licensing.php:166
|
625 |
msgctxt "licensing"
|
626 |
msgid "License key is invalid"
|
627 |
msgstr "مفتاح الترخيص غير صالح"
|
628 |
|
629 |
-
#: admin/class-themes-admin.php:
|
630 |
msgctxt "licensing"
|
631 |
msgid "Could not activate license: %s."
|
632 |
msgstr "لا يمكن تفعيل الترخيص: %s."
|
633 |
|
634 |
-
#: admin/class-themes-admin.php:
|
635 |
msgctxt "licensing"
|
636 |
msgid "License activated"
|
637 |
msgstr "تم تفعيل ترخيص"
|
638 |
|
639 |
-
#: admin/class-themes-admin.php:
|
640 |
msgctxt "licensing"
|
641 |
msgid "Invalid response from server"
|
642 |
msgstr "جواب غير صالح من الخادم"
|
643 |
|
644 |
-
#: admin/class-themes-admin.php:
|
645 |
msgctxt "licensing"
|
646 |
msgid "License deactivated"
|
647 |
msgstr "تم إلغاء تفعيل الترخيص"
|
648 |
|
649 |
-
#: admin/class-themes-admin.php:
|
650 |
msgctxt "themes"
|
651 |
msgid "Activate your <a>license key</a> to use this theme."
|
652 |
msgstr "فعِّل <a>مفتاح الترخيص</a> الخاص بك لاستخدام هذا القالب."
|
@@ -2244,7 +2244,7 @@ msgctxt "form-fields admin"
|
|
2244 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2245 |
msgstr "المرجو مراجعة <a>وثائق حقول الاستمارة</a> للحصول على مزيد من التفاصيل."
|
2246 |
|
2247 |
-
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.
|
2248 |
#. Plugin Name of the plugin/theme
|
2249 |
#: admin/templates/header.tpl.php:4
|
2250 |
msgid "Business Directory Plugin"
|
@@ -5828,22 +5828,22 @@ msgctxt "sort"
|
|
5828 |
msgid "(Reset)"
|
5829 |
msgstr "(إعادة تعيين)"
|
5830 |
|
5831 |
-
#: core/themes.php:
|
5832 |
msgctxt "themes"
|
5833 |
msgid "ZIP file is not a valid BD theme file."
|
5834 |
msgstr "ملف الضغط ZIP ليس ملف قالب دليل الأعمال صالح."
|
5835 |
|
5836 |
-
#: core/themes.php:
|
5837 |
msgctxt "themes"
|
5838 |
msgid "Could not create themes directory."
|
5839 |
msgstr "تعذر إنشاء مجلد القوالب."
|
5840 |
|
5841 |
-
#: core/themes.php:
|
5842 |
msgctxt "themes"
|
5843 |
msgid "Could not remove previous theme directory \"%s\"."
|
5844 |
msgstr "تعذر إزالة مجلد القالب السابق \"%s\"."
|
5845 |
|
5846 |
-
#: core/themes.php:
|
5847 |
msgctxt "themes"
|
5848 |
msgid "Could not move new theme into theme directory."
|
5849 |
msgstr "تعذر نقل القالب الجديد الى مجلد القالب."
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 4.0.8\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
+
"POT-Creation-Date: 2016-11-01 23:27:24+00:00\n"
|
8 |
"PO-Revision-Date: 2016-09-19 12:17-0500\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
560 |
"تحتاج إلى <a>تنشيط مفتاح ترخيص القالب الخاص بك</a> قبل أن تتمكن من تنشيط "
|
561 |
"القالب. <a>أنقر هنا</a> للقيام بذلك."
|
562 |
|
563 |
+
#: admin/class-themes-admin.php:157
|
564 |
msgctxt "themes"
|
565 |
msgid "Could not change the active theme to \"%s\"."
|
566 |
msgstr "تعذر تغيير القالب النشط إلى \"%s\"."
|
567 |
|
568 |
+
#: admin/class-themes-admin.php:204
|
569 |
msgctxt "themes"
|
570 |
msgid "Active theme changed to \"%s\"."
|
571 |
msgstr "القالب النشط تغير إلى \"%s\"."
|
572 |
|
573 |
+
#: admin/class-themes-admin.php:207
|
574 |
msgctxt "themes"
|
575 |
msgid ""
|
576 |
"%s requires that you tag your existing fields to match some places we want "
|
579 |
"%s يتطلب أن تضيف وسوم في الحقول الموجودة الخاصة بك لمطابقة بعض الأماكن لأننا "
|
580 |
"نريد وضع البيانات الخاصة بك في القالب. وفيما يلي الحقول التي نظن أنها مفقودة."
|
581 |
|
582 |
+
#: admin/class-themes-admin.php:216
|
583 |
msgctxt "themes"
|
584 |
msgid "Map My Fields"
|
585 |
msgstr "أنشئ خريطة لحقولي"
|
586 |
|
587 |
+
#: admin/class-themes-admin.php:223
|
588 |
msgctxt "themes"
|
589 |
msgid "Suggested fields created successfully."
|
590 |
msgstr " تم إنشاء الحقول المقترحة بنجاح."
|
591 |
|
592 |
+
#: admin/class-themes-admin.php:226
|
593 |
msgctxt "themes"
|
594 |
msgid "Theme installed successfully."
|
595 |
msgstr "تم تثبيت القالب بنجاح."
|
596 |
|
597 |
+
#: admin/class-themes-admin.php:229
|
598 |
msgctxt "themes"
|
599 |
msgid "Theme was deleted sucessfully."
|
600 |
msgstr "تم حذف القالب بنجاح."
|
601 |
|
602 |
+
#: admin/class-themes-admin.php:232
|
603 |
msgctxt "themes"
|
604 |
msgid "Could not delete theme directory. Check permissions."
|
605 |
msgstr "تعذر حذف مجلد القالب. تحقق من الصلاحيات."
|
606 |
|
607 |
+
#: admin/class-themes-admin.php:258
|
608 |
msgctxt "themes"
|
609 |
msgid "Please upload a valid theme file."
|
610 |
msgstr "المرجو رفع ملف قالب صالح."
|
611 |
|
612 |
+
#: admin/class-themes-admin.php:265
|
613 |
msgctxt "themes"
|
614 |
msgid "Could not move \"%s\" to a temporary directory."
|
615 |
msgstr "لا يمكن نقل \"%s\" إلى مجلد مؤقت."
|
616 |
|
617 |
+
#: admin/class-themes-admin.php:366 admin/class-themes-admin.php:427
|
618 |
#: core/licensing.php:127 core/licensing.php:159
|
619 |
msgctxt "licensing"
|
620 |
msgid "Could not contact licensing server"
|
621 |
msgstr "لا يمكن الاتصال بخادم الترخيص"
|
622 |
|
623 |
+
#: admin/class-themes-admin.php:372 core/licensing.php:132
|
624 |
#: core/licensing.php:166
|
625 |
msgctxt "licensing"
|
626 |
msgid "License key is invalid"
|
627 |
msgstr "مفتاح الترخيص غير صالح"
|
628 |
|
629 |
+
#: admin/class-themes-admin.php:377 core/licensing.php:333
|
630 |
msgctxt "licensing"
|
631 |
msgid "Could not activate license: %s."
|
632 |
msgstr "لا يمكن تفعيل الترخيص: %s."
|
633 |
|
634 |
+
#: admin/class-themes-admin.php:390 core/licensing.php:335
|
635 |
msgctxt "licensing"
|
636 |
msgid "License activated"
|
637 |
msgstr "تم تفعيل ترخيص"
|
638 |
|
639 |
+
#: admin/class-themes-admin.php:433
|
640 |
msgctxt "licensing"
|
641 |
msgid "Invalid response from server"
|
642 |
msgstr "جواب غير صالح من الخادم"
|
643 |
|
644 |
+
#: admin/class-themes-admin.php:450 core/licensing.php:353
|
645 |
msgctxt "licensing"
|
646 |
msgid "License deactivated"
|
647 |
msgstr "تم إلغاء تفعيل الترخيص"
|
648 |
|
649 |
+
#: admin/class-themes-admin.php:466
|
650 |
msgctxt "themes"
|
651 |
msgid "Activate your <a>license key</a> to use this theme."
|
652 |
msgstr "فعِّل <a>مفتاح الترخيص</a> الخاص بك لاستخدام هذا القالب."
|
2244 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2245 |
msgstr "المرجو مراجعة <a>وثائق حقول الاستمارة</a> للحصول على مزيد من التفاصيل."
|
2246 |
|
2247 |
+
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.4) #-#-#-#-#
|
2248 |
#. Plugin Name of the plugin/theme
|
2249 |
#: admin/templates/header.tpl.php:4
|
2250 |
msgid "Business Directory Plugin"
|
5828 |
msgid "(Reset)"
|
5829 |
msgstr "(إعادة تعيين)"
|
5830 |
|
5831 |
+
#: core/themes.php:708
|
5832 |
msgctxt "themes"
|
5833 |
msgid "ZIP file is not a valid BD theme file."
|
5834 |
msgstr "ملف الضغط ZIP ليس ملف قالب دليل الأعمال صالح."
|
5835 |
|
5836 |
+
#: core/themes.php:714
|
5837 |
msgctxt "themes"
|
5838 |
msgid "Could not create themes directory."
|
5839 |
msgstr "تعذر إنشاء مجلد القوالب."
|
5840 |
|
5841 |
+
#: core/themes.php:722
|
5842 |
msgctxt "themes"
|
5843 |
msgid "Could not remove previous theme directory \"%s\"."
|
5844 |
msgstr "تعذر إزالة مجلد القالب السابق \"%s\"."
|
5845 |
|
5846 |
+
#: core/themes.php:728
|
5847 |
msgctxt "themes"
|
5848 |
msgid "Could not move new theme into theme directory."
|
5849 |
msgstr "تعذر نقل القالب الجديد الى مجلد القالب."
|
languages/WPBDM-de_DE.mo
CHANGED
Binary file
|
languages/WPBDM-de_DE.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 3.5.4\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
"PO-Revision-Date: 2016-01-21 08:45-0500\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: Business Directory Plugin <support@businessdirectoryplugin."
|
@@ -512,98 +512,99 @@ msgid ""
|
|
512 |
"the theme. <a>Click here</a> to do that."
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: admin/class-themes-admin.php:
|
516 |
#, fuzzy
|
517 |
msgctxt "themes"
|
518 |
msgid "Could not change the active theme to \"%s\"."
|
519 |
msgstr "Konnte Eintragskategorie nicht erstellen \"%s\""
|
520 |
|
521 |
-
#: admin/class-themes-admin.php:
|
522 |
msgctxt "themes"
|
523 |
msgid "Active theme changed to \"%s\"."
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: admin/class-themes-admin.php:
|
527 |
msgctxt "themes"
|
528 |
msgid ""
|
529 |
"%s requires that you tag your existing fields to match some places we want "
|
530 |
"to put your data on the theme. Below are fields we think are missing."
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: admin/class-themes-admin.php:
|
534 |
#, fuzzy
|
535 |
msgctxt "themes"
|
536 |
msgid "Map My Fields"
|
537 |
msgstr "Form Felder verwalten"
|
538 |
|
539 |
-
#: admin/class-themes-admin.php:
|
540 |
#, fuzzy
|
541 |
msgctxt "themes"
|
542 |
msgid "Suggested fields created successfully."
|
543 |
msgstr "Benötigtes Feld wurde erfolgreich erstellt."
|
544 |
|
545 |
-
#: admin/class-themes-admin.php:
|
546 |
#, fuzzy
|
547 |
msgctxt "themes"
|
548 |
msgid "Theme installed successfully."
|
549 |
msgstr "Benötigtes Feld wurde erfolgreich erstellt."
|
550 |
|
551 |
-
#: admin/class-themes-admin.php:
|
552 |
#, fuzzy
|
553 |
msgctxt "themes"
|
554 |
msgid "Theme was deleted sucessfully."
|
555 |
msgstr "Der Import wurde erfolgreich abgeschlossen."
|
556 |
|
557 |
-
#: admin/class-themes-admin.php:
|
|
|
558 |
msgctxt "themes"
|
559 |
msgid "Could not delete theme directory. Check permissions."
|
560 |
-
msgstr ""
|
561 |
|
562 |
-
#: admin/class-themes-admin.php:
|
563 |
#, fuzzy
|
564 |
msgctxt "themes"
|
565 |
msgid "Please upload a valid theme file."
|
566 |
msgstr "Bitte eine gültige E-mailadresse eingeben."
|
567 |
|
568 |
-
#: admin/class-themes-admin.php:
|
569 |
#, fuzzy
|
570 |
msgctxt "themes"
|
571 |
msgid "Could not move \"%s\" to a temporary directory."
|
572 |
msgstr "wpbdp-csv-exports Verzeichnis konnte nicht erstellt werden."
|
573 |
|
574 |
-
#: admin/class-themes-admin.php:
|
575 |
#: core/licensing.php:127 core/licensing.php:159
|
576 |
msgctxt "licensing"
|
577 |
msgid "Could not contact licensing server"
|
578 |
msgstr "Eine Verbindung zum Lizenzserver konnte nicht hergestellt werden."
|
579 |
|
580 |
-
#: admin/class-themes-admin.php:
|
581 |
#: core/licensing.php:166
|
582 |
msgctxt "licensing"
|
583 |
msgid "License key is invalid"
|
584 |
msgstr "Lizenzschlüssel ungültig "
|
585 |
|
586 |
-
#: admin/class-themes-admin.php:
|
587 |
msgctxt "licensing"
|
588 |
msgid "Could not activate license: %s."
|
589 |
msgstr "Konnte Lizenz nicht aktivieren: %s"
|
590 |
|
591 |
-
#: admin/class-themes-admin.php:
|
592 |
msgctxt "licensing"
|
593 |
msgid "License activated"
|
594 |
msgstr "Lizenz aktiviert"
|
595 |
|
596 |
-
#: admin/class-themes-admin.php:
|
597 |
msgctxt "licensing"
|
598 |
msgid "Invalid response from server"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: admin/class-themes-admin.php:
|
602 |
msgctxt "licensing"
|
603 |
msgid "License deactivated"
|
604 |
msgstr "Lizenz deaktiviert"
|
605 |
|
606 |
-
#: admin/class-themes-admin.php:
|
607 |
msgctxt "themes"
|
608 |
msgid "Activate your <a>license key</a> to use this theme."
|
609 |
msgstr ""
|
@@ -621,9 +622,12 @@ msgid "Could not create wpbdp-csv-exports directory."
|
|
621 |
msgstr "wpbdp-csv-exports Verzeichnis konnte nicht erstellt werden."
|
622 |
|
623 |
#: admin/csv-export.php:143
|
|
|
624 |
msgctxt "admin csv-export"
|
625 |
msgid "Error while creating a temporary directory for CSV export: %s"
|
626 |
msgstr ""
|
|
|
|
|
627 |
|
628 |
#: admin/csv-import.php:109
|
629 |
msgctxt "admin csv-import"
|
@@ -796,9 +800,10 @@ msgid "Edit"
|
|
796 |
msgstr "Bearbeiten"
|
797 |
|
798 |
#: admin/fees.php:197
|
|
|
799 |
msgctxt "fees admin"
|
800 |
msgid "Disable"
|
801 |
-
msgstr ""
|
802 |
|
803 |
#: admin/fees.php:201
|
804 |
msgctxt "fees admin"
|
@@ -1053,9 +1058,10 @@ msgid "ZIP Code"
|
|
1053 |
msgstr ""
|
1054 |
|
1055 |
#: admin/form-fields.php:294
|
|
|
1056 |
msgctxt "form-fields admin"
|
1057 |
msgid "FAX Number"
|
1058 |
-
msgstr ""
|
1059 |
|
1060 |
#: admin/form-fields.php:295
|
1061 |
#, fuzzy
|
@@ -1106,9 +1112,10 @@ msgid "General Info"
|
|
1106 |
msgstr "Allgemeine Informationen"
|
1107 |
|
1108 |
#: admin/listing-metabox.php:44
|
|
|
1109 |
msgctxt "admin infometabox"
|
1110 |
msgid "Access Key"
|
1111 |
-
msgstr ""
|
1112 |
|
1113 |
#: admin/listing-metabox.php:46
|
1114 |
msgctxt "admin infometabox"
|
@@ -1440,9 +1447,10 @@ msgid "Rows in file"
|
|
1440 |
msgstr ""
|
1441 |
|
1442 |
#: admin/templates/csv-import-progress.tpl.php:35
|
|
|
1443 |
msgctxt "admin csv-import"
|
1444 |
msgid "Progress"
|
1445 |
-
msgstr ""
|
1446 |
|
1447 |
#: admin/templates/csv-import-progress.tpl.php:39
|
1448 |
msgctxt "admin csv-import"
|
@@ -1619,9 +1627,10 @@ msgid "Generate errors when a category is not found"
|
|
1619 |
msgstr "Generiere Fehler when eine Kategorie nicht gefunden wird"
|
1620 |
|
1621 |
#: admin/templates/csv-import.tpl.php:171
|
|
|
1622 |
msgctxt "admin csv-import"
|
1623 |
msgid "Keep existing listing images?"
|
1624 |
-
msgstr ""
|
1625 |
|
1626 |
#: admin/templates/csv-import.tpl.php:176
|
1627 |
#, fuzzy
|
@@ -1674,9 +1683,10 @@ msgstr ""
|
|
1674 |
"Datei vorhanden ist."
|
1675 |
|
1676 |
#: admin/templates/csv-import.tpl.php:215
|
|
|
1677 |
msgctxt "admin csv-import"
|
1678 |
msgid "Disable e-mail notifications during import?"
|
1679 |
-
msgstr ""
|
1680 |
|
1681 |
#: admin/templates/csv-import.tpl.php:220
|
1682 |
#, fuzzy
|
@@ -2174,9 +2184,10 @@ msgid "-- None --"
|
|
2174 |
msgstr "-- Auswählen --"
|
2175 |
|
2176 |
#: admin/templates/form-fields-tags.tpl.php:14
|
|
|
2177 |
msgctxt "form-fields admin"
|
2178 |
msgid "Theme Tags"
|
2179 |
-
msgstr ""
|
2180 |
|
2181 |
#: admin/templates/form-fields-tags.tpl.php:19
|
2182 |
msgctxt "form-fields admin"
|
@@ -2232,7 +2243,7 @@ msgctxt "form-fields admin"
|
|
2232 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2233 |
msgstr ""
|
2234 |
|
2235 |
-
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.
|
2236 |
#. Plugin Name of the plugin/theme
|
2237 |
#: admin/templates/header.tpl.php:4
|
2238 |
msgid "Business Directory Plugin"
|
@@ -2743,9 +2754,10 @@ msgid "Theme Pack"
|
|
2743 |
msgstr ""
|
2744 |
|
2745 |
#: admin/templates/sidebar.tpl.php:61
|
|
|
2746 |
msgctxt "admin sidebar"
|
2747 |
msgid "(All Themes)"
|
2748 |
-
msgstr ""
|
2749 |
|
2750 |
#: admin/templates/sidebar.tpl.php:74
|
2751 |
msgctxt "admin sidebar"
|
@@ -2815,9 +2827,10 @@ msgstr "Abbrechen"
|
|
2815 |
|
2816 |
#: admin/templates/themes-install.tpl.php:2
|
2817 |
#: admin/templates/themes-licenses.tpl.php:3 admin/templates/themes.tpl.php:3
|
|
|
2818 |
msgctxt "themes"
|
2819 |
msgid "Upload Directory Theme"
|
2820 |
-
msgstr ""
|
2821 |
|
2822 |
#: admin/templates/themes-install.tpl.php:8
|
2823 |
msgctxt "themes"
|
@@ -3179,9 +3192,10 @@ msgid "Credit card number is required."
|
|
3179 |
msgstr "Feldbezeichnung ist Pflichtfeld."
|
3180 |
|
3181 |
#: core/class-gateway.php:140
|
|
|
3182 |
msgctxt "billing info"
|
3183 |
msgid "Credit card expiration date is invalid."
|
3184 |
-
msgstr ""
|
3185 |
|
3186 |
#: core/class-gateway.php:143
|
3187 |
#, fuzzy
|
@@ -4516,14 +4530,16 @@ msgid "Currency symbol display"
|
|
4516 |
msgstr "Währungssymbol"
|
4517 |
|
4518 |
#: core/class-settings.php:590
|
|
|
4519 |
msgctxt "admin settings"
|
4520 |
msgid "Show currency symbol on the left"
|
4521 |
-
msgstr ""
|
4522 |
|
4523 |
#: core/class-settings.php:591
|
|
|
4524 |
msgctxt "admin settings"
|
4525 |
msgid "Show currency symbol on the right"
|
4526 |
-
msgstr ""
|
4527 |
|
4528 |
#: core/class-settings.php:592
|
4529 |
#, fuzzy
|
@@ -5898,25 +5914,25 @@ msgctxt "sort"
|
|
5898 |
msgid "(Reset)"
|
5899 |
msgstr "Zurücksetzen"
|
5900 |
|
5901 |
-
#: core/themes.php:
|
5902 |
#, fuzzy
|
5903 |
msgctxt "themes"
|
5904 |
msgid "ZIP file is not a valid BD theme file."
|
5905 |
msgstr "Bitte eine gültige E-mailadresse eingeben."
|
5906 |
|
5907 |
-
#: core/themes.php:
|
5908 |
#, fuzzy
|
5909 |
msgctxt "themes"
|
5910 |
msgid "Could not create themes directory."
|
5911 |
msgstr "wpbdp-csv-exports Verzeichnis konnte nicht erstellt werden."
|
5912 |
|
5913 |
-
#: core/themes.php:
|
5914 |
#, fuzzy
|
5915 |
msgctxt "themes"
|
5916 |
msgid "Could not remove previous theme directory \"%s\"."
|
5917 |
msgstr "Konnte Eintragskategorie nicht erstellen \"%s\""
|
5918 |
|
5919 |
-
#: core/themes.php:
|
5920 |
#, fuzzy
|
5921 |
msgctxt "themes"
|
5922 |
msgid "Could not move new theme into theme directory."
|
@@ -5957,14 +5973,16 @@ msgid "Uploaded file is not an image"
|
|
5957 |
msgstr "Hochgeladene Datei ist kein Bild."
|
5958 |
|
5959 |
#: core/utils.php:223
|
|
|
5960 |
msgctxt "utils"
|
5961 |
msgid "Image width (%s px) is inferior to minimum required width of %s px."
|
5962 |
-
msgstr ""
|
5963 |
|
5964 |
#: core/utils.php:229
|
|
|
5965 |
msgctxt "utils"
|
5966 |
msgid "Image height (%s px) is inferior to minimum required height of %s px."
|
5967 |
-
msgstr ""
|
5968 |
|
5969 |
#: core/utils.php:235
|
5970 |
msgctxt "utils"
|
@@ -6337,9 +6355,10 @@ msgid "Listing Access Keys"
|
|
6337 |
msgstr "Eintrag Felder / Bilder"
|
6338 |
|
6339 |
#: core/views/request_access_keys.php:30
|
|
|
6340 |
msgctxt "request_access_keys"
|
6341 |
msgid "Access keys have been sent to your e-mail address."
|
6342 |
-
msgstr ""
|
6343 |
|
6344 |
#: core/views/request_access_keys.php:32
|
6345 |
msgctxt "request_access_keys"
|
@@ -6509,9 +6528,10 @@ msgid "Apr"
|
|
6509 |
msgstr ""
|
6510 |
|
6511 |
#: templates/billing-information-form.tpl.php:7
|
|
|
6512 |
msgctxt "months"
|
6513 |
msgid "May"
|
6514 |
-
msgstr ""
|
6515 |
|
6516 |
#: templates/billing-information-form.tpl.php:8
|
6517 |
msgctxt "months"
|
@@ -6611,14 +6631,16 @@ msgid "City:"
|
|
6611 |
msgstr ""
|
6612 |
|
6613 |
#: templates/billing-information-form.tpl.php:111
|
|
|
6614 |
msgctxt "checkout form"
|
6615 |
msgid "Address Line 1:"
|
6616 |
-
msgstr ""
|
6617 |
|
6618 |
#: templates/billing-information-form.tpl.php:119
|
|
|
6619 |
msgctxt "checkout form"
|
6620 |
msgid "Address Line 2:"
|
6621 |
-
msgstr ""
|
6622 |
|
6623 |
#: templates/billing-information-form.tpl.php:127
|
6624 |
msgctxt "checkout form"
|
@@ -6752,9 +6774,10 @@ msgid ""
|
|
6752 |
msgstr ""
|
6753 |
|
6754 |
#: templates/email-access-keys.tpl.php:5
|
|
|
6755 |
msgctxt "request_access_keys"
|
6756 |
msgid "Access Key:"
|
6757 |
-
msgstr ""
|
6758 |
|
6759 |
#: templates/email-access-keys.tpl.php:6
|
6760 |
#, fuzzy
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 3.5.4\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
+
"POT-Creation-Date: 2016-11-01 23:27:24+00:00\n"
|
8 |
"PO-Revision-Date: 2016-01-21 08:45-0500\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: Business Directory Plugin <support@businessdirectoryplugin."
|
512 |
"the theme. <a>Click here</a> to do that."
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: admin/class-themes-admin.php:157
|
516 |
#, fuzzy
|
517 |
msgctxt "themes"
|
518 |
msgid "Could not change the active theme to \"%s\"."
|
519 |
msgstr "Konnte Eintragskategorie nicht erstellen \"%s\""
|
520 |
|
521 |
+
#: admin/class-themes-admin.php:204
|
522 |
msgctxt "themes"
|
523 |
msgid "Active theme changed to \"%s\"."
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: admin/class-themes-admin.php:207
|
527 |
msgctxt "themes"
|
528 |
msgid ""
|
529 |
"%s requires that you tag your existing fields to match some places we want "
|
530 |
"to put your data on the theme. Below are fields we think are missing."
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: admin/class-themes-admin.php:216
|
534 |
#, fuzzy
|
535 |
msgctxt "themes"
|
536 |
msgid "Map My Fields"
|
537 |
msgstr "Form Felder verwalten"
|
538 |
|
539 |
+
#: admin/class-themes-admin.php:223
|
540 |
#, fuzzy
|
541 |
msgctxt "themes"
|
542 |
msgid "Suggested fields created successfully."
|
543 |
msgstr "Benötigtes Feld wurde erfolgreich erstellt."
|
544 |
|
545 |
+
#: admin/class-themes-admin.php:226
|
546 |
#, fuzzy
|
547 |
msgctxt "themes"
|
548 |
msgid "Theme installed successfully."
|
549 |
msgstr "Benötigtes Feld wurde erfolgreich erstellt."
|
550 |
|
551 |
+
#: admin/class-themes-admin.php:229
|
552 |
#, fuzzy
|
553 |
msgctxt "themes"
|
554 |
msgid "Theme was deleted sucessfully."
|
555 |
msgstr "Der Import wurde erfolgreich abgeschlossen."
|
556 |
|
557 |
+
#: admin/class-themes-admin.php:232
|
558 |
+
#, fuzzy
|
559 |
msgctxt "themes"
|
560 |
msgid "Could not delete theme directory. Check permissions."
|
561 |
+
msgstr "wpbdp-csv-exports Verzeichnis konnte nicht erstellt werden."
|
562 |
|
563 |
+
#: admin/class-themes-admin.php:258
|
564 |
#, fuzzy
|
565 |
msgctxt "themes"
|
566 |
msgid "Please upload a valid theme file."
|
567 |
msgstr "Bitte eine gültige E-mailadresse eingeben."
|
568 |
|
569 |
+
#: admin/class-themes-admin.php:265
|
570 |
#, fuzzy
|
571 |
msgctxt "themes"
|
572 |
msgid "Could not move \"%s\" to a temporary directory."
|
573 |
msgstr "wpbdp-csv-exports Verzeichnis konnte nicht erstellt werden."
|
574 |
|
575 |
+
#: admin/class-themes-admin.php:366 admin/class-themes-admin.php:427
|
576 |
#: core/licensing.php:127 core/licensing.php:159
|
577 |
msgctxt "licensing"
|
578 |
msgid "Could not contact licensing server"
|
579 |
msgstr "Eine Verbindung zum Lizenzserver konnte nicht hergestellt werden."
|
580 |
|
581 |
+
#: admin/class-themes-admin.php:372 core/licensing.php:132
|
582 |
#: core/licensing.php:166
|
583 |
msgctxt "licensing"
|
584 |
msgid "License key is invalid"
|
585 |
msgstr "Lizenzschlüssel ungültig "
|
586 |
|
587 |
+
#: admin/class-themes-admin.php:377 core/licensing.php:333
|
588 |
msgctxt "licensing"
|
589 |
msgid "Could not activate license: %s."
|
590 |
msgstr "Konnte Lizenz nicht aktivieren: %s"
|
591 |
|
592 |
+
#: admin/class-themes-admin.php:390 core/licensing.php:335
|
593 |
msgctxt "licensing"
|
594 |
msgid "License activated"
|
595 |
msgstr "Lizenz aktiviert"
|
596 |
|
597 |
+
#: admin/class-themes-admin.php:433
|
598 |
msgctxt "licensing"
|
599 |
msgid "Invalid response from server"
|
600 |
msgstr ""
|
601 |
|
602 |
+
#: admin/class-themes-admin.php:450 core/licensing.php:353
|
603 |
msgctxt "licensing"
|
604 |
msgid "License deactivated"
|
605 |
msgstr "Lizenz deaktiviert"
|
606 |
|
607 |
+
#: admin/class-themes-admin.php:466
|
608 |
msgctxt "themes"
|
609 |
msgid "Activate your <a>license key</a> to use this theme."
|
610 |
msgstr ""
|
622 |
msgstr "wpbdp-csv-exports Verzeichnis konnte nicht erstellt werden."
|
623 |
|
624 |
#: admin/csv-export.php:143
|
625 |
+
#, fuzzy
|
626 |
msgctxt "admin csv-export"
|
627 |
msgid "Error while creating a temporary directory for CSV export: %s"
|
628 |
msgstr ""
|
629 |
+
"Es konnte kein temporäres Verzeichnis erstellt werden um den CSV Export "
|
630 |
+
"durchzuführen."
|
631 |
|
632 |
#: admin/csv-import.php:109
|
633 |
msgctxt "admin csv-import"
|
800 |
msgstr "Bearbeiten"
|
801 |
|
802 |
#: admin/fees.php:197
|
803 |
+
#, fuzzy
|
804 |
msgctxt "fees admin"
|
805 |
msgid "Disable"
|
806 |
+
msgstr "Preis löschen"
|
807 |
|
808 |
#: admin/fees.php:201
|
809 |
msgctxt "fees admin"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
#: admin/form-fields.php:294
|
1061 |
+
#, fuzzy
|
1062 |
msgctxt "form-fields admin"
|
1063 |
msgid "FAX Number"
|
1064 |
+
msgstr "Telefonnummer geschäftlich"
|
1065 |
|
1066 |
#: admin/form-fields.php:295
|
1067 |
#, fuzzy
|
1112 |
msgstr "Allgemeine Informationen"
|
1113 |
|
1114 |
#: admin/listing-metabox.php:44
|
1115 |
+
#, fuzzy
|
1116 |
msgctxt "admin infometabox"
|
1117 |
msgid "Access Key"
|
1118 |
+
msgstr "Eintrag Felder / Bilder"
|
1119 |
|
1120 |
#: admin/listing-metabox.php:46
|
1121 |
msgctxt "admin infometabox"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
#: admin/templates/csv-import-progress.tpl.php:35
|
1450 |
+
#, fuzzy
|
1451 |
msgctxt "admin csv-import"
|
1452 |
msgid "Progress"
|
1453 |
+
msgstr "Export wird durchgeführt..."
|
1454 |
|
1455 |
#: admin/templates/csv-import-progress.tpl.php:39
|
1456 |
msgctxt "admin csv-import"
|
1627 |
msgstr "Generiere Fehler when eine Kategorie nicht gefunden wird"
|
1628 |
|
1629 |
#: admin/templates/csv-import.tpl.php:171
|
1630 |
+
#, fuzzy
|
1631 |
msgctxt "admin csv-import"
|
1632 |
msgid "Keep existing listing images?"
|
1633 |
+
msgstr "Eintrag Bilder"
|
1634 |
|
1635 |
#: admin/templates/csv-import.tpl.php:176
|
1636 |
#, fuzzy
|
1683 |
"Datei vorhanden ist."
|
1684 |
|
1685 |
#: admin/templates/csv-import.tpl.php:215
|
1686 |
+
#, fuzzy
|
1687 |
msgctxt "admin csv-import"
|
1688 |
msgid "Disable e-mail notifications during import?"
|
1689 |
+
msgstr "Email Erinnerung"
|
1690 |
|
1691 |
#: admin/templates/csv-import.tpl.php:220
|
1692 |
#, fuzzy
|
2184 |
msgstr "-- Auswählen --"
|
2185 |
|
2186 |
#: admin/templates/form-fields-tags.tpl.php:14
|
2187 |
+
#, fuzzy
|
2188 |
msgctxt "form-fields admin"
|
2189 |
msgid "Theme Tags"
|
2190 |
+
msgstr "Preise Verwalten"
|
2191 |
|
2192 |
#: admin/templates/form-fields-tags.tpl.php:19
|
2193 |
msgctxt "form-fields admin"
|
2243 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2244 |
msgstr ""
|
2245 |
|
2246 |
+
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.4) #-#-#-#-#
|
2247 |
#. Plugin Name of the plugin/theme
|
2248 |
#: admin/templates/header.tpl.php:4
|
2249 |
msgid "Business Directory Plugin"
|
2754 |
msgstr ""
|
2755 |
|
2756 |
#: admin/templates/sidebar.tpl.php:61
|
2757 |
+
#, fuzzy
|
2758 |
msgctxt "admin sidebar"
|
2759 |
msgid "(All Themes)"
|
2760 |
+
msgstr "verfügbare Bilder:"
|
2761 |
|
2762 |
#: admin/templates/sidebar.tpl.php:74
|
2763 |
msgctxt "admin sidebar"
|
2827 |
|
2828 |
#: admin/templates/themes-install.tpl.php:2
|
2829 |
#: admin/templates/themes-licenses.tpl.php:3 admin/templates/themes.tpl.php:3
|
2830 |
+
#, fuzzy
|
2831 |
msgctxt "themes"
|
2832 |
msgid "Upload Directory Theme"
|
2833 |
+
msgstr "Verzeichnis Kategorien"
|
2834 |
|
2835 |
#: admin/templates/themes-install.tpl.php:8
|
2836 |
msgctxt "themes"
|
3192 |
msgstr "Feldbezeichnung ist Pflichtfeld."
|
3193 |
|
3194 |
#: core/class-gateway.php:140
|
3195 |
+
#, fuzzy
|
3196 |
msgctxt "billing info"
|
3197 |
msgid "Credit card expiration date is invalid."
|
3198 |
+
msgstr "Feldbezeichnung ist Pflichtfeld."
|
3199 |
|
3200 |
#: core/class-gateway.php:143
|
3201 |
#, fuzzy
|
4530 |
msgstr "Währungssymbol"
|
4531 |
|
4532 |
#: core/class-settings.php:590
|
4533 |
+
#, fuzzy
|
4534 |
msgctxt "admin settings"
|
4535 |
msgid "Show currency symbol on the left"
|
4536 |
+
msgstr "Währungssymbol"
|
4537 |
|
4538 |
#: core/class-settings.php:591
|
4539 |
+
#, fuzzy
|
4540 |
msgctxt "admin settings"
|
4541 |
msgid "Show currency symbol on the right"
|
4542 |
+
msgstr "Währungssymbol"
|
4543 |
|
4544 |
#: core/class-settings.php:592
|
4545 |
#, fuzzy
|
5914 |
msgid "(Reset)"
|
5915 |
msgstr "Zurücksetzen"
|
5916 |
|
5917 |
+
#: core/themes.php:708
|
5918 |
#, fuzzy
|
5919 |
msgctxt "themes"
|
5920 |
msgid "ZIP file is not a valid BD theme file."
|
5921 |
msgstr "Bitte eine gültige E-mailadresse eingeben."
|
5922 |
|
5923 |
+
#: core/themes.php:714
|
5924 |
#, fuzzy
|
5925 |
msgctxt "themes"
|
5926 |
msgid "Could not create themes directory."
|
5927 |
msgstr "wpbdp-csv-exports Verzeichnis konnte nicht erstellt werden."
|
5928 |
|
5929 |
+
#: core/themes.php:722
|
5930 |
#, fuzzy
|
5931 |
msgctxt "themes"
|
5932 |
msgid "Could not remove previous theme directory \"%s\"."
|
5933 |
msgstr "Konnte Eintragskategorie nicht erstellen \"%s\""
|
5934 |
|
5935 |
+
#: core/themes.php:728
|
5936 |
#, fuzzy
|
5937 |
msgctxt "themes"
|
5938 |
msgid "Could not move new theme into theme directory."
|
5973 |
msgstr "Hochgeladene Datei ist kein Bild."
|
5974 |
|
5975 |
#: core/utils.php:223
|
5976 |
+
#, fuzzy
|
5977 |
msgctxt "utils"
|
5978 |
msgid "Image width (%s px) is inferior to minimum required width of %s px."
|
5979 |
+
msgstr "Dateigröße (%s) hat das Maximum von %s erreicht"
|
5980 |
|
5981 |
#: core/utils.php:229
|
5982 |
+
#, fuzzy
|
5983 |
msgctxt "utils"
|
5984 |
msgid "Image height (%s px) is inferior to minimum required height of %s px."
|
5985 |
+
msgstr "Dateigröße (%s) hat das Maximum von %s erreicht"
|
5986 |
|
5987 |
#: core/utils.php:235
|
5988 |
msgctxt "utils"
|
6355 |
msgstr "Eintrag Felder / Bilder"
|
6356 |
|
6357 |
#: core/views/request_access_keys.php:30
|
6358 |
+
#, fuzzy
|
6359 |
msgctxt "request_access_keys"
|
6360 |
msgid "Access keys have been sent to your e-mail address."
|
6361 |
+
msgstr "Es sind keine Transaktionen mit diesem Eintrag verbunden."
|
6362 |
|
6363 |
#: core/views/request_access_keys.php:32
|
6364 |
msgctxt "request_access_keys"
|
6528 |
msgstr ""
|
6529 |
|
6530 |
#: templates/billing-information-form.tpl.php:7
|
6531 |
+
#, fuzzy
|
6532 |
msgctxt "months"
|
6533 |
msgid "May"
|
6534 |
+
msgstr "Markieren als"
|
6535 |
|
6536 |
#: templates/billing-information-form.tpl.php:8
|
6537 |
msgctxt "months"
|
6631 |
msgstr ""
|
6632 |
|
6633 |
#: templates/billing-information-form.tpl.php:111
|
6634 |
+
#, fuzzy
|
6635 |
msgctxt "checkout form"
|
6636 |
msgid "Address Line 1:"
|
6637 |
+
msgstr "E-mail Adresse:"
|
6638 |
|
6639 |
#: templates/billing-information-form.tpl.php:119
|
6640 |
+
#, fuzzy
|
6641 |
msgctxt "checkout form"
|
6642 |
msgid "Address Line 2:"
|
6643 |
+
msgstr "E-mail Adresse:"
|
6644 |
|
6645 |
#: templates/billing-information-form.tpl.php:127
|
6646 |
msgctxt "checkout form"
|
6774 |
msgstr ""
|
6775 |
|
6776 |
#: templates/email-access-keys.tpl.php:5
|
6777 |
+
#, fuzzy
|
6778 |
msgctxt "request_access_keys"
|
6779 |
msgid "Access Key:"
|
6780 |
+
msgstr "Eintrag Felder / Bilder"
|
6781 |
|
6782 |
#: templates/email-access-keys.tpl.php:6
|
6783 |
#, fuzzy
|
languages/WPBDM-en_US.mo
CHANGED
Binary file
|
languages/WPBDM-en_US.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 3.6\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
"PO-Revision-Date: 2015-04-07 11:11-0500\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
@@ -483,91 +483,91 @@ msgid ""
|
|
483 |
"the theme. <a>Click here</a> to do that."
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: admin/class-themes-admin.php:
|
487 |
msgctxt "themes"
|
488 |
msgid "Could not change the active theme to \"%s\"."
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: admin/class-themes-admin.php:
|
492 |
msgctxt "themes"
|
493 |
msgid "Active theme changed to \"%s\"."
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: admin/class-themes-admin.php:
|
497 |
msgctxt "themes"
|
498 |
msgid ""
|
499 |
"%s requires that you tag your existing fields to match some places we want "
|
500 |
"to put your data on the theme. Below are fields we think are missing."
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: admin/class-themes-admin.php:
|
504 |
msgctxt "themes"
|
505 |
msgid "Map My Fields"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: admin/class-themes-admin.php:
|
509 |
msgctxt "themes"
|
510 |
msgid "Suggested fields created successfully."
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: admin/class-themes-admin.php:
|
514 |
msgctxt "themes"
|
515 |
msgid "Theme installed successfully."
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: admin/class-themes-admin.php:
|
519 |
msgctxt "themes"
|
520 |
msgid "Theme was deleted sucessfully."
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: admin/class-themes-admin.php:
|
524 |
msgctxt "themes"
|
525 |
msgid "Could not delete theme directory. Check permissions."
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: admin/class-themes-admin.php:
|
529 |
msgctxt "themes"
|
530 |
msgid "Please upload a valid theme file."
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: admin/class-themes-admin.php:
|
534 |
msgctxt "themes"
|
535 |
msgid "Could not move \"%s\" to a temporary directory."
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: admin/class-themes-admin.php:
|
539 |
#: core/licensing.php:127 core/licensing.php:159
|
540 |
msgctxt "licensing"
|
541 |
msgid "Could not contact licensing server"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: admin/class-themes-admin.php:
|
545 |
#: core/licensing.php:166
|
546 |
msgctxt "licensing"
|
547 |
msgid "License key is invalid"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: admin/class-themes-admin.php:
|
551 |
msgctxt "licensing"
|
552 |
msgid "Could not activate license: %s."
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: admin/class-themes-admin.php:
|
556 |
msgctxt "licensing"
|
557 |
msgid "License activated"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: admin/class-themes-admin.php:
|
561 |
msgctxt "licensing"
|
562 |
msgid "Invalid response from server"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: admin/class-themes-admin.php:
|
566 |
msgctxt "licensing"
|
567 |
msgid "License deactivated"
|
568 |
msgstr ""
|
569 |
|
570 |
-
#: admin/class-themes-admin.php:
|
571 |
msgctxt "themes"
|
572 |
msgid "Activate your <a>license key</a> to use this theme."
|
573 |
msgstr ""
|
@@ -2092,7 +2092,7 @@ msgctxt "form-fields admin"
|
|
2092 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2093 |
msgstr ""
|
2094 |
|
2095 |
-
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.
|
2096 |
#. Plugin Name of the plugin/theme
|
2097 |
#: admin/templates/header.tpl.php:4
|
2098 |
msgid "Business Directory Plugin"
|
@@ -5503,22 +5503,22 @@ msgctxt "sort"
|
|
5503 |
msgid "(Reset)"
|
5504 |
msgstr ""
|
5505 |
|
5506 |
-
#: core/themes.php:
|
5507 |
msgctxt "themes"
|
5508 |
msgid "ZIP file is not a valid BD theme file."
|
5509 |
msgstr ""
|
5510 |
|
5511 |
-
#: core/themes.php:
|
5512 |
msgctxt "themes"
|
5513 |
msgid "Could not create themes directory."
|
5514 |
msgstr ""
|
5515 |
|
5516 |
-
#: core/themes.php:
|
5517 |
msgctxt "themes"
|
5518 |
msgid "Could not remove previous theme directory \"%s\"."
|
5519 |
msgstr ""
|
5520 |
|
5521 |
-
#: core/themes.php:
|
5522 |
msgctxt "themes"
|
5523 |
msgid "Could not move new theme into theme directory."
|
5524 |
msgstr ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 3.6\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
+
"POT-Creation-Date: 2016-11-01 23:27:24+00:00\n"
|
8 |
"PO-Revision-Date: 2015-04-07 11:11-0500\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
483 |
"the theme. <a>Click here</a> to do that."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: admin/class-themes-admin.php:157
|
487 |
msgctxt "themes"
|
488 |
msgid "Could not change the active theme to \"%s\"."
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: admin/class-themes-admin.php:204
|
492 |
msgctxt "themes"
|
493 |
msgid "Active theme changed to \"%s\"."
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: admin/class-themes-admin.php:207
|
497 |
msgctxt "themes"
|
498 |
msgid ""
|
499 |
"%s requires that you tag your existing fields to match some places we want "
|
500 |
"to put your data on the theme. Below are fields we think are missing."
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: admin/class-themes-admin.php:216
|
504 |
msgctxt "themes"
|
505 |
msgid "Map My Fields"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: admin/class-themes-admin.php:223
|
509 |
msgctxt "themes"
|
510 |
msgid "Suggested fields created successfully."
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: admin/class-themes-admin.php:226
|
514 |
msgctxt "themes"
|
515 |
msgid "Theme installed successfully."
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: admin/class-themes-admin.php:229
|
519 |
msgctxt "themes"
|
520 |
msgid "Theme was deleted sucessfully."
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: admin/class-themes-admin.php:232
|
524 |
msgctxt "themes"
|
525 |
msgid "Could not delete theme directory. Check permissions."
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: admin/class-themes-admin.php:258
|
529 |
msgctxt "themes"
|
530 |
msgid "Please upload a valid theme file."
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: admin/class-themes-admin.php:265
|
534 |
msgctxt "themes"
|
535 |
msgid "Could not move \"%s\" to a temporary directory."
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: admin/class-themes-admin.php:366 admin/class-themes-admin.php:427
|
539 |
#: core/licensing.php:127 core/licensing.php:159
|
540 |
msgctxt "licensing"
|
541 |
msgid "Could not contact licensing server"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: admin/class-themes-admin.php:372 core/licensing.php:132
|
545 |
#: core/licensing.php:166
|
546 |
msgctxt "licensing"
|
547 |
msgid "License key is invalid"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: admin/class-themes-admin.php:377 core/licensing.php:333
|
551 |
msgctxt "licensing"
|
552 |
msgid "Could not activate license: %s."
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: admin/class-themes-admin.php:390 core/licensing.php:335
|
556 |
msgctxt "licensing"
|
557 |
msgid "License activated"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: admin/class-themes-admin.php:433
|
561 |
msgctxt "licensing"
|
562 |
msgid "Invalid response from server"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: admin/class-themes-admin.php:450 core/licensing.php:353
|
566 |
msgctxt "licensing"
|
567 |
msgid "License deactivated"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: admin/class-themes-admin.php:466
|
571 |
msgctxt "themes"
|
572 |
msgid "Activate your <a>license key</a> to use this theme."
|
573 |
msgstr ""
|
2092 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2093 |
msgstr ""
|
2094 |
|
2095 |
+
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.4) #-#-#-#-#
|
2096 |
#. Plugin Name of the plugin/theme
|
2097 |
#: admin/templates/header.tpl.php:4
|
2098 |
msgid "Business Directory Plugin"
|
5503 |
msgid "(Reset)"
|
5504 |
msgstr ""
|
5505 |
|
5506 |
+
#: core/themes.php:708
|
5507 |
msgctxt "themes"
|
5508 |
msgid "ZIP file is not a valid BD theme file."
|
5509 |
msgstr ""
|
5510 |
|
5511 |
+
#: core/themes.php:714
|
5512 |
msgctxt "themes"
|
5513 |
msgid "Could not create themes directory."
|
5514 |
msgstr ""
|
5515 |
|
5516 |
+
#: core/themes.php:722
|
5517 |
msgctxt "themes"
|
5518 |
msgid "Could not remove previous theme directory \"%s\"."
|
5519 |
msgstr ""
|
5520 |
|
5521 |
+
#: core/themes.php:728
|
5522 |
msgctxt "themes"
|
5523 |
msgid "Could not move new theme into theme directory."
|
5524 |
msgstr ""
|
languages/WPBDM-es_ES.mo
CHANGED
Binary file
|
languages/WPBDM-es_ES.po
CHANGED
@@ -4,15 +4,15 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 4.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
-
"PO-Revision-Date: 2016-
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
11 |
"Language: es_ES\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit 1.8.
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
"X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,-1,-1,-1,543\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -534,17 +534,17 @@ msgstr ""
|
|
534 |
"Debe <a>activar la clave de licencia del tema</a> antes de activar el tema. "
|
535 |
"Haga <a>click aquí</a>."
|
536 |
|
537 |
-
#: admin/class-themes-admin.php:
|
538 |
msgctxt "themes"
|
539 |
msgid "Could not change the active theme to \"%s\"."
|
540 |
msgstr "No se pudo cambiar el tema activo a \"%s\"."
|
541 |
|
542 |
-
#: admin/class-themes-admin.php:
|
543 |
msgctxt "themes"
|
544 |
msgid "Active theme changed to \"%s\"."
|
545 |
msgstr "Tema activo cambiado a \"%s\"."
|
546 |
|
547 |
-
#: admin/class-themes-admin.php:
|
548 |
msgctxt "themes"
|
549 |
msgid ""
|
550 |
"%s requires that you tag your existing fields to match some places we want "
|
@@ -554,74 +554,74 @@ msgstr ""
|
|
554 |
"en el tema donde se pretende mostrar la información. Abajo están los campos "
|
555 |
"que creemos hacen falta."
|
556 |
|
557 |
-
#: admin/class-themes-admin.php:
|
558 |
msgctxt "themes"
|
559 |
msgid "Map My Fields"
|
560 |
msgstr "Asociar Mis Campos"
|
561 |
|
562 |
-
#: admin/class-themes-admin.php:
|
563 |
msgctxt "themes"
|
564 |
msgid "Suggested fields created successfully."
|
565 |
msgstr "Campos sugeridos creados satisfactoriamente."
|
566 |
|
567 |
-
#: admin/class-themes-admin.php:
|
568 |
msgctxt "themes"
|
569 |
msgid "Theme installed successfully."
|
570 |
msgstr "Tema instalado correctamente."
|
571 |
|
572 |
-
#: admin/class-themes-admin.php:
|
573 |
msgctxt "themes"
|
574 |
msgid "Theme was deleted sucessfully."
|
575 |
msgstr "Tema eliminado correctamente."
|
576 |
|
577 |
-
#: admin/class-themes-admin.php:
|
578 |
msgctxt "themes"
|
579 |
msgid "Could not delete theme directory. Check permissions."
|
580 |
msgstr "No se pudo eliminar el directorio del tema. Revise los permisos."
|
581 |
|
582 |
-
#: admin/class-themes-admin.php:
|
583 |
msgctxt "themes"
|
584 |
msgid "Please upload a valid theme file."
|
585 |
msgstr "Por favor suba un archivo de tema válido."
|
586 |
|
587 |
-
#: admin/class-themes-admin.php:
|
588 |
msgctxt "themes"
|
589 |
msgid "Could not move \"%s\" to a temporary directory."
|
590 |
msgstr "No se pudo mover \"%s\" a un directorio temporal."
|
591 |
|
592 |
-
#: admin/class-themes-admin.php:
|
593 |
#: core/licensing.php:127 core/licensing.php:159
|
594 |
msgctxt "licensing"
|
595 |
msgid "Could not contact licensing server"
|
596 |
msgstr "No se pudo contactar el servidor de licencias"
|
597 |
|
598 |
-
#: admin/class-themes-admin.php:
|
599 |
#: core/licensing.php:166
|
600 |
msgctxt "licensing"
|
601 |
msgid "License key is invalid"
|
602 |
msgstr "La licencia es inválida"
|
603 |
|
604 |
-
#: admin/class-themes-admin.php:
|
605 |
msgctxt "licensing"
|
606 |
msgid "Could not activate license: %s."
|
607 |
msgstr "No se pudo activar la licencia: %s."
|
608 |
|
609 |
-
#: admin/class-themes-admin.php:
|
610 |
msgctxt "licensing"
|
611 |
msgid "License activated"
|
612 |
msgstr "Licencia activada"
|
613 |
|
614 |
-
#: admin/class-themes-admin.php:
|
615 |
msgctxt "licensing"
|
616 |
msgid "Invalid response from server"
|
617 |
msgstr "Respuesta inválida de parte de servidor"
|
618 |
|
619 |
-
#: admin/class-themes-admin.php:
|
620 |
msgctxt "licensing"
|
621 |
msgid "License deactivated"
|
622 |
msgstr "Licencia desactivada"
|
623 |
|
624 |
-
#: admin/class-themes-admin.php:
|
625 |
msgctxt "themes"
|
626 |
msgid "Activate your <a>license key</a> to use this theme."
|
627 |
msgstr "Active su <a>clave de licencia</a> para utilizar este tema."
|
@@ -5892,22 +5892,22 @@ msgctxt "sort"
|
|
5892 |
msgid "(Reset)"
|
5893 |
msgstr "(Reestablecer)"
|
5894 |
|
5895 |
-
#: core/themes.php:
|
5896 |
msgctxt "themes"
|
5897 |
msgid "ZIP file is not a valid BD theme file."
|
5898 |
msgstr "El archivo ZIP no es un tema de BD válido."
|
5899 |
|
5900 |
-
#: core/themes.php:
|
5901 |
msgctxt "themes"
|
5902 |
msgid "Could not create themes directory."
|
5903 |
msgstr "No se pudo crear el directorio de los temas."
|
5904 |
|
5905 |
-
#: core/themes.php:
|
5906 |
msgctxt "themes"
|
5907 |
msgid "Could not remove previous theme directory \"%s\"."
|
5908 |
msgstr "No se pudo remover el directorio anterior \"%s\"."
|
5909 |
|
5910 |
-
#: core/themes.php:
|
5911 |
msgctxt "themes"
|
5912 |
msgid "Could not move new theme into theme directory."
|
5913 |
msgstr "No se pudo mover el nuevo tema al directorio de temas."
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 4.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
+
"POT-Creation-Date: 2016-11-01 23:27:24+00:00\n"
|
8 |
+
"PO-Revision-Date: 2016-11-01 18:28-0500\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
11 |
"Language: es_ES\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.8.11\n"
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
"X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,-1,-1,-1,543\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
534 |
"Debe <a>activar la clave de licencia del tema</a> antes de activar el tema. "
|
535 |
"Haga <a>click aquí</a>."
|
536 |
|
537 |
+
#: admin/class-themes-admin.php:157
|
538 |
msgctxt "themes"
|
539 |
msgid "Could not change the active theme to \"%s\"."
|
540 |
msgstr "No se pudo cambiar el tema activo a \"%s\"."
|
541 |
|
542 |
+
#: admin/class-themes-admin.php:204
|
543 |
msgctxt "themes"
|
544 |
msgid "Active theme changed to \"%s\"."
|
545 |
msgstr "Tema activo cambiado a \"%s\"."
|
546 |
|
547 |
+
#: admin/class-themes-admin.php:207
|
548 |
msgctxt "themes"
|
549 |
msgid ""
|
550 |
"%s requires that you tag your existing fields to match some places we want "
|
554 |
"en el tema donde se pretende mostrar la información. Abajo están los campos "
|
555 |
"que creemos hacen falta."
|
556 |
|
557 |
+
#: admin/class-themes-admin.php:216
|
558 |
msgctxt "themes"
|
559 |
msgid "Map My Fields"
|
560 |
msgstr "Asociar Mis Campos"
|
561 |
|
562 |
+
#: admin/class-themes-admin.php:223
|
563 |
msgctxt "themes"
|
564 |
msgid "Suggested fields created successfully."
|
565 |
msgstr "Campos sugeridos creados satisfactoriamente."
|
566 |
|
567 |
+
#: admin/class-themes-admin.php:226
|
568 |
msgctxt "themes"
|
569 |
msgid "Theme installed successfully."
|
570 |
msgstr "Tema instalado correctamente."
|
571 |
|
572 |
+
#: admin/class-themes-admin.php:229
|
573 |
msgctxt "themes"
|
574 |
msgid "Theme was deleted sucessfully."
|
575 |
msgstr "Tema eliminado correctamente."
|
576 |
|
577 |
+
#: admin/class-themes-admin.php:232
|
578 |
msgctxt "themes"
|
579 |
msgid "Could not delete theme directory. Check permissions."
|
580 |
msgstr "No se pudo eliminar el directorio del tema. Revise los permisos."
|
581 |
|
582 |
+
#: admin/class-themes-admin.php:258
|
583 |
msgctxt "themes"
|
584 |
msgid "Please upload a valid theme file."
|
585 |
msgstr "Por favor suba un archivo de tema válido."
|
586 |
|
587 |
+
#: admin/class-themes-admin.php:265
|
588 |
msgctxt "themes"
|
589 |
msgid "Could not move \"%s\" to a temporary directory."
|
590 |
msgstr "No se pudo mover \"%s\" a un directorio temporal."
|
591 |
|
592 |
+
#: admin/class-themes-admin.php:366 admin/class-themes-admin.php:427
|
593 |
#: core/licensing.php:127 core/licensing.php:159
|
594 |
msgctxt "licensing"
|
595 |
msgid "Could not contact licensing server"
|
596 |
msgstr "No se pudo contactar el servidor de licencias"
|
597 |
|
598 |
+
#: admin/class-themes-admin.php:372 core/licensing.php:132
|
599 |
#: core/licensing.php:166
|
600 |
msgctxt "licensing"
|
601 |
msgid "License key is invalid"
|
602 |
msgstr "La licencia es inválida"
|
603 |
|
604 |
+
#: admin/class-themes-admin.php:377 core/licensing.php:333
|
605 |
msgctxt "licensing"
|
606 |
msgid "Could not activate license: %s."
|
607 |
msgstr "No se pudo activar la licencia: %s."
|
608 |
|
609 |
+
#: admin/class-themes-admin.php:390 core/licensing.php:335
|
610 |
msgctxt "licensing"
|
611 |
msgid "License activated"
|
612 |
msgstr "Licencia activada"
|
613 |
|
614 |
+
#: admin/class-themes-admin.php:433
|
615 |
msgctxt "licensing"
|
616 |
msgid "Invalid response from server"
|
617 |
msgstr "Respuesta inválida de parte de servidor"
|
618 |
|
619 |
+
#: admin/class-themes-admin.php:450 core/licensing.php:353
|
620 |
msgctxt "licensing"
|
621 |
msgid "License deactivated"
|
622 |
msgstr "Licencia desactivada"
|
623 |
|
624 |
+
#: admin/class-themes-admin.php:466
|
625 |
msgctxt "themes"
|
626 |
msgid "Activate your <a>license key</a> to use this theme."
|
627 |
msgstr "Active su <a>clave de licencia</a> para utilizar este tema."
|
5892 |
msgid "(Reset)"
|
5893 |
msgstr "(Reestablecer)"
|
5894 |
|
5895 |
+
#: core/themes.php:708
|
5896 |
msgctxt "themes"
|
5897 |
msgid "ZIP file is not a valid BD theme file."
|
5898 |
msgstr "El archivo ZIP no es un tema de BD válido."
|
5899 |
|
5900 |
+
#: core/themes.php:714
|
5901 |
msgctxt "themes"
|
5902 |
msgid "Could not create themes directory."
|
5903 |
msgstr "No se pudo crear el directorio de los temas."
|
5904 |
|
5905 |
+
#: core/themes.php:722
|
5906 |
msgctxt "themes"
|
5907 |
msgid "Could not remove previous theme directory \"%s\"."
|
5908 |
msgstr "No se pudo remover el directorio anterior \"%s\"."
|
5909 |
|
5910 |
+
#: core/themes.php:728
|
5911 |
msgctxt "themes"
|
5912 |
msgid "Could not move new theme into theme directory."
|
5913 |
msgstr "No se pudo mover el nuevo tema al directorio de temas."
|
languages/WPBDM-fr_FR.mo
CHANGED
Binary file
|
languages/WPBDM-fr_FR.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 3.6\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
"PO-Revision-Date: 2016-08-29 18:17-0300\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
@@ -511,92 +511,92 @@ msgid ""
|
|
511 |
"the theme. <a>Click here</a> to do that."
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: admin/class-themes-admin.php:
|
515 |
msgctxt "themes"
|
516 |
msgid "Could not change the active theme to \"%s\"."
|
517 |
msgstr "Vous ne pouvez pas changer le thème actif pour \"%s\""
|
518 |
|
519 |
-
#: admin/class-themes-admin.php:
|
520 |
msgctxt "themes"
|
521 |
msgid "Active theme changed to \"%s\"."
|
522 |
msgstr "Thème actuel modifié vers \"%s\"."
|
523 |
|
524 |
-
#: admin/class-themes-admin.php:
|
525 |
msgctxt "themes"
|
526 |
msgid ""
|
527 |
"%s requires that you tag your existing fields to match some places we want "
|
528 |
"to put your data on the theme. Below are fields we think are missing."
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: admin/class-themes-admin.php:
|
532 |
#, fuzzy
|
533 |
msgctxt "themes"
|
534 |
msgid "Map My Fields"
|
535 |
msgstr "Gestion des champs"
|
536 |
|
537 |
-
#: admin/class-themes-admin.php:
|
538 |
msgctxt "themes"
|
539 |
msgid "Suggested fields created successfully."
|
540 |
msgstr "Champs créés avec succès."
|
541 |
|
542 |
-
#: admin/class-themes-admin.php:
|
543 |
msgctxt "themes"
|
544 |
msgid "Theme installed successfully."
|
545 |
msgstr "Thème installé avec succès"
|
546 |
|
547 |
-
#: admin/class-themes-admin.php:
|
548 |
msgctxt "themes"
|
549 |
msgid "Theme was deleted sucessfully."
|
550 |
msgstr "Le thème a été supprimé"
|
551 |
|
552 |
-
#: admin/class-themes-admin.php:
|
553 |
msgctxt "themes"
|
554 |
msgid "Could not delete theme directory. Check permissions."
|
555 |
msgstr "Impossible de supprimer le dossier du thème. Vérifier les permissions."
|
556 |
|
557 |
-
#: admin/class-themes-admin.php:
|
558 |
msgctxt "themes"
|
559 |
msgid "Please upload a valid theme file."
|
560 |
msgstr "Veuillez télécharger un fichier de thème valide"
|
561 |
|
562 |
-
#: admin/class-themes-admin.php:
|
563 |
msgctxt "themes"
|
564 |
msgid "Could not move \"%s\" to a temporary directory."
|
565 |
msgstr "Impossible de déplacer \"%s\" vers un dossier temporaire"
|
566 |
|
567 |
-
#: admin/class-themes-admin.php:
|
568 |
#: core/licensing.php:127 core/licensing.php:159
|
569 |
msgctxt "licensing"
|
570 |
msgid "Could not contact licensing server"
|
571 |
msgstr "Impossible de contacter le serveur de licences"
|
572 |
|
573 |
-
#: admin/class-themes-admin.php:
|
574 |
#: core/licensing.php:166
|
575 |
msgctxt "licensing"
|
576 |
msgid "License key is invalid"
|
577 |
msgstr "La clé de licence est invalide"
|
578 |
|
579 |
-
#: admin/class-themes-admin.php:
|
580 |
msgctxt "licensing"
|
581 |
msgid "Could not activate license: %s."
|
582 |
msgstr "Impossible d'activer la licence: %s."
|
583 |
|
584 |
-
#: admin/class-themes-admin.php:
|
585 |
msgctxt "licensing"
|
586 |
msgid "License activated"
|
587 |
msgstr "Licence activée"
|
588 |
|
589 |
-
#: admin/class-themes-admin.php:
|
590 |
msgctxt "licensing"
|
591 |
msgid "Invalid response from server"
|
592 |
msgstr "Invalid response from server"
|
593 |
|
594 |
-
#: admin/class-themes-admin.php:
|
595 |
msgctxt "licensing"
|
596 |
msgid "License deactivated"
|
597 |
msgstr "Licence désactivée"
|
598 |
|
599 |
-
#: admin/class-themes-admin.php:
|
600 |
msgctxt "themes"
|
601 |
msgid "Activate your <a>license key</a> to use this theme."
|
602 |
msgstr "Activer votre <a>numéro de licence</a> pour utiliser ce thème"
|
@@ -790,9 +790,10 @@ msgid "Edit"
|
|
790 |
msgstr "Editer"
|
791 |
|
792 |
#: admin/fees.php:197
|
|
|
793 |
msgctxt "fees admin"
|
794 |
msgid "Disable"
|
795 |
-
msgstr ""
|
796 |
|
797 |
#: admin/fees.php:201
|
798 |
msgctxt "fees admin"
|
@@ -1092,9 +1093,10 @@ msgid "General Info"
|
|
1092 |
msgstr "Informations générales"
|
1093 |
|
1094 |
#: admin/listing-metabox.php:44
|
|
|
1095 |
msgctxt "admin infometabox"
|
1096 |
msgid "Access Key"
|
1097 |
-
msgstr ""
|
1098 |
|
1099 |
#: admin/listing-metabox.php:46
|
1100 |
msgctxt "admin infometabox"
|
@@ -1604,9 +1606,10 @@ msgid "Generate errors when a category is not found"
|
|
1604 |
msgstr "Génération d'erreurs quand une catégorie n'est pas trouvée"
|
1605 |
|
1606 |
#: admin/templates/csv-import.tpl.php:171
|
|
|
1607 |
msgctxt "admin csv-import"
|
1608 |
msgid "Keep existing listing images?"
|
1609 |
-
msgstr ""
|
1610 |
|
1611 |
#: admin/templates/csv-import.tpl.php:176
|
1612 |
#, fuzzy
|
@@ -2163,9 +2166,10 @@ msgid "-- None --"
|
|
2163 |
msgstr "-- Choisissez --"
|
2164 |
|
2165 |
#: admin/templates/form-fields-tags.tpl.php:14
|
|
|
2166 |
msgctxt "form-fields admin"
|
2167 |
msgid "Theme Tags"
|
2168 |
-
msgstr ""
|
2169 |
|
2170 |
#: admin/templates/form-fields-tags.tpl.php:19
|
2171 |
msgctxt "form-fields admin"
|
@@ -2224,7 +2228,7 @@ msgstr ""
|
|
2224 |
"Veuillez voir la <a>Documentation de champs de formulaire</a> pour plus de "
|
2225 |
"détails."
|
2226 |
|
2227 |
-
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.
|
2228 |
#. Plugin Name of the plugin/theme
|
2229 |
#: admin/templates/header.tpl.php:4
|
2230 |
msgid "Business Directory Plugin"
|
@@ -2708,9 +2712,10 @@ msgid "best deal"
|
|
2708 |
msgstr ""
|
2709 |
|
2710 |
#: admin/templates/sidebar.tpl.php:45
|
|
|
2711 |
msgctxt "admin sidebar"
|
2712 |
msgid "Combo Pack"
|
2713 |
-
msgstr ""
|
2714 |
|
2715 |
#: admin/templates/sidebar.tpl.php:45
|
2716 |
#, fuzzy
|
@@ -2809,9 +2814,10 @@ msgstr "Annuler"
|
|
2809 |
|
2810 |
#: admin/templates/themes-install.tpl.php:2
|
2811 |
#: admin/templates/themes-licenses.tpl.php:3 admin/templates/themes.tpl.php:3
|
|
|
2812 |
msgctxt "themes"
|
2813 |
msgid "Upload Directory Theme"
|
2814 |
-
msgstr ""
|
2815 |
|
2816 |
#: admin/templates/themes-install.tpl.php:8
|
2817 |
msgctxt "themes"
|
@@ -5918,22 +5924,22 @@ msgctxt "sort"
|
|
5918 |
msgid "(Reset)"
|
5919 |
msgstr "(Réinitialiser)"
|
5920 |
|
5921 |
-
#: core/themes.php:
|
5922 |
msgctxt "themes"
|
5923 |
msgid "ZIP file is not a valid BD theme file."
|
5924 |
msgstr "Le fichier ZIP n'est pas un fichier de thème valide"
|
5925 |
|
5926 |
-
#: core/themes.php:
|
5927 |
msgctxt "themes"
|
5928 |
msgid "Could not create themes directory."
|
5929 |
msgstr "Impossible de créer le répertoire de thèmes"
|
5930 |
|
5931 |
-
#: core/themes.php:
|
5932 |
msgctxt "themes"
|
5933 |
msgid "Could not remove previous theme directory \"%s\"."
|
5934 |
msgstr "Impossible de supprimer le dossier de thème précédent \"%s\"."
|
5935 |
|
5936 |
-
#: core/themes.php:
|
5937 |
msgctxt "themes"
|
5938 |
msgid "Could not move new theme into theme directory."
|
5939 |
msgstr "Impossible de déplacer le nouveau thème dans le dossier à thèmes"
|
@@ -6367,9 +6373,10 @@ msgid "Listing Access Keys"
|
|
6367 |
msgstr "Champs des annonces / Images "
|
6368 |
|
6369 |
#: core/views/request_access_keys.php:30
|
|
|
6370 |
msgctxt "request_access_keys"
|
6371 |
msgid "Access keys have been sent to your e-mail address."
|
6372 |
-
msgstr ""
|
6373 |
|
6374 |
#: core/views/request_access_keys.php:32
|
6375 |
msgctxt "request_access_keys"
|
@@ -6773,9 +6780,10 @@ msgid ""
|
|
6773 |
msgstr ""
|
6774 |
|
6775 |
#: templates/email-access-keys.tpl.php:5
|
|
|
6776 |
msgctxt "request_access_keys"
|
6777 |
msgid "Access Key:"
|
6778 |
-
msgstr ""
|
6779 |
|
6780 |
#: templates/email-access-keys.tpl.php:6
|
6781 |
#, fuzzy
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Business Directory Plugin 3.6\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
+
"POT-Creation-Date: 2016-11-01 23:27:24+00:00\n"
|
8 |
"PO-Revision-Date: 2016-08-29 18:17-0300\n"
|
9 |
"Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
|
10 |
"Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
|
511 |
"the theme. <a>Click here</a> to do that."
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: admin/class-themes-admin.php:157
|
515 |
msgctxt "themes"
|
516 |
msgid "Could not change the active theme to \"%s\"."
|
517 |
msgstr "Vous ne pouvez pas changer le thème actif pour \"%s\""
|
518 |
|
519 |
+
#: admin/class-themes-admin.php:204
|
520 |
msgctxt "themes"
|
521 |
msgid "Active theme changed to \"%s\"."
|
522 |
msgstr "Thème actuel modifié vers \"%s\"."
|
523 |
|
524 |
+
#: admin/class-themes-admin.php:207
|
525 |
msgctxt "themes"
|
526 |
msgid ""
|
527 |
"%s requires that you tag your existing fields to match some places we want "
|
528 |
"to put your data on the theme. Below are fields we think are missing."
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: admin/class-themes-admin.php:216
|
532 |
#, fuzzy
|
533 |
msgctxt "themes"
|
534 |
msgid "Map My Fields"
|
535 |
msgstr "Gestion des champs"
|
536 |
|
537 |
+
#: admin/class-themes-admin.php:223
|
538 |
msgctxt "themes"
|
539 |
msgid "Suggested fields created successfully."
|
540 |
msgstr "Champs créés avec succès."
|
541 |
|
542 |
+
#: admin/class-themes-admin.php:226
|
543 |
msgctxt "themes"
|
544 |
msgid "Theme installed successfully."
|
545 |
msgstr "Thème installé avec succès"
|
546 |
|
547 |
+
#: admin/class-themes-admin.php:229
|
548 |
msgctxt "themes"
|
549 |
msgid "Theme was deleted sucessfully."
|
550 |
msgstr "Le thème a été supprimé"
|
551 |
|
552 |
+
#: admin/class-themes-admin.php:232
|
553 |
msgctxt "themes"
|
554 |
msgid "Could not delete theme directory. Check permissions."
|
555 |
msgstr "Impossible de supprimer le dossier du thème. Vérifier les permissions."
|
556 |
|
557 |
+
#: admin/class-themes-admin.php:258
|
558 |
msgctxt "themes"
|
559 |
msgid "Please upload a valid theme file."
|
560 |
msgstr "Veuillez télécharger un fichier de thème valide"
|
561 |
|
562 |
+
#: admin/class-themes-admin.php:265
|
563 |
msgctxt "themes"
|
564 |
msgid "Could not move \"%s\" to a temporary directory."
|
565 |
msgstr "Impossible de déplacer \"%s\" vers un dossier temporaire"
|
566 |
|
567 |
+
#: admin/class-themes-admin.php:366 admin/class-themes-admin.php:427
|
568 |
#: core/licensing.php:127 core/licensing.php:159
|
569 |
msgctxt "licensing"
|
570 |
msgid "Could not contact licensing server"
|
571 |
msgstr "Impossible de contacter le serveur de licences"
|
572 |
|
573 |
+
#: admin/class-themes-admin.php:372 core/licensing.php:132
|
574 |
#: core/licensing.php:166
|
575 |
msgctxt "licensing"
|
576 |
msgid "License key is invalid"
|
577 |
msgstr "La clé de licence est invalide"
|
578 |
|
579 |
+
#: admin/class-themes-admin.php:377 core/licensing.php:333
|
580 |
msgctxt "licensing"
|
581 |
msgid "Could not activate license: %s."
|
582 |
msgstr "Impossible d'activer la licence: %s."
|
583 |
|
584 |
+
#: admin/class-themes-admin.php:390 core/licensing.php:335
|
585 |
msgctxt "licensing"
|
586 |
msgid "License activated"
|
587 |
msgstr "Licence activée"
|
588 |
|
589 |
+
#: admin/class-themes-admin.php:433
|
590 |
msgctxt "licensing"
|
591 |
msgid "Invalid response from server"
|
592 |
msgstr "Invalid response from server"
|
593 |
|
594 |
+
#: admin/class-themes-admin.php:450 core/licensing.php:353
|
595 |
msgctxt "licensing"
|
596 |
msgid "License deactivated"
|
597 |
msgstr "Licence désactivée"
|
598 |
|
599 |
+
#: admin/class-themes-admin.php:466
|
600 |
msgctxt "themes"
|
601 |
msgid "Activate your <a>license key</a> to use this theme."
|
602 |
msgstr "Activer votre <a>numéro de licence</a> pour utiliser ce thème"
|
790 |
msgstr "Editer"
|
791 |
|
792 |
#: admin/fees.php:197
|
793 |
+
#, fuzzy
|
794 |
msgctxt "fees admin"
|
795 |
msgid "Disable"
|
796 |
+
msgstr "Effacer les Frais"
|
797 |
|
798 |
#: admin/fees.php:201
|
799 |
msgctxt "fees admin"
|
1093 |
msgstr "Informations générales"
|
1094 |
|
1095 |
#: admin/listing-metabox.php:44
|
1096 |
+
#, fuzzy
|
1097 |
msgctxt "admin infometabox"
|
1098 |
msgid "Access Key"
|
1099 |
+
msgstr "Champs des annonces / Images "
|
1100 |
|
1101 |
#: admin/listing-metabox.php:46
|
1102 |
msgctxt "admin infometabox"
|
1606 |
msgstr "Génération d'erreurs quand une catégorie n'est pas trouvée"
|
1607 |
|
1608 |
#: admin/templates/csv-import.tpl.php:171
|
1609 |
+
#, fuzzy
|
1610 |
msgctxt "admin csv-import"
|
1611 |
msgid "Keep existing listing images?"
|
1612 |
+
msgstr "Liste des images"
|
1613 |
|
1614 |
#: admin/templates/csv-import.tpl.php:176
|
1615 |
#, fuzzy
|
2166 |
msgstr "-- Choisissez --"
|
2167 |
|
2168 |
#: admin/templates/form-fields-tags.tpl.php:14
|
2169 |
+
#, fuzzy
|
2170 |
msgctxt "form-fields admin"
|
2171 |
msgid "Theme Tags"
|
2172 |
+
msgstr "Thèmes"
|
2173 |
|
2174 |
#: admin/templates/form-fields-tags.tpl.php:19
|
2175 |
msgctxt "form-fields admin"
|
2228 |
"Veuillez voir la <a>Documentation de champs de formulaire</a> pour plus de "
|
2229 |
"détails."
|
2230 |
|
2231 |
+
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.4) #-#-#-#-#
|
2232 |
#. Plugin Name of the plugin/theme
|
2233 |
#: admin/templates/header.tpl.php:4
|
2234 |
msgid "Business Directory Plugin"
|
2712 |
msgstr ""
|
2713 |
|
2714 |
#: admin/templates/sidebar.tpl.php:45
|
2715 |
+
#, fuzzy
|
2716 |
msgctxt "admin sidebar"
|
2717 |
msgid "Combo Pack"
|
2718 |
+
msgstr "Thèmes"
|
2719 |
|
2720 |
#: admin/templates/sidebar.tpl.php:45
|
2721 |
#, fuzzy
|
2814 |
|
2815 |
#: admin/templates/themes-install.tpl.php:2
|
2816 |
#: admin/templates/themes-licenses.tpl.php:3 admin/templates/themes.tpl.php:3
|
2817 |
+
#, fuzzy
|
2818 |
msgctxt "themes"
|
2819 |
msgid "Upload Directory Theme"
|
2820 |
+
msgstr "Catégories de l'annuaire"
|
2821 |
|
2822 |
#: admin/templates/themes-install.tpl.php:8
|
2823 |
msgctxt "themes"
|
5924 |
msgid "(Reset)"
|
5925 |
msgstr "(Réinitialiser)"
|
5926 |
|
5927 |
+
#: core/themes.php:708
|
5928 |
msgctxt "themes"
|
5929 |
msgid "ZIP file is not a valid BD theme file."
|
5930 |
msgstr "Le fichier ZIP n'est pas un fichier de thème valide"
|
5931 |
|
5932 |
+
#: core/themes.php:714
|
5933 |
msgctxt "themes"
|
5934 |
msgid "Could not create themes directory."
|
5935 |
msgstr "Impossible de créer le répertoire de thèmes"
|
5936 |
|
5937 |
+
#: core/themes.php:722
|
5938 |
msgctxt "themes"
|
5939 |
msgid "Could not remove previous theme directory \"%s\"."
|
5940 |
msgstr "Impossible de supprimer le dossier de thème précédent \"%s\"."
|
5941 |
|
5942 |
+
#: core/themes.php:728
|
5943 |
msgctxt "themes"
|
5944 |
msgid "Could not move new theme into theme directory."
|
5945 |
msgstr "Impossible de déplacer le nouveau thème dans le dossier à thèmes"
|
6373 |
msgstr "Champs des annonces / Images "
|
6374 |
|
6375 |
#: core/views/request_access_keys.php:30
|
6376 |
+
#, fuzzy
|
6377 |
msgctxt "request_access_keys"
|
6378 |
msgid "Access keys have been sent to your e-mail address."
|
6379 |
+
msgstr "Il n'y a aucune transaction associée à cette annonce."
|
6380 |
|
6381 |
#: core/views/request_access_keys.php:32
|
6382 |
msgctxt "request_access_keys"
|
6780 |
msgstr ""
|
6781 |
|
6782 |
#: templates/email-access-keys.tpl.php:5
|
6783 |
+
#, fuzzy
|
6784 |
msgctxt "request_access_keys"
|
6785 |
msgid "Access Key:"
|
6786 |
+
msgstr "Champs des annonces / Images "
|
6787 |
|
6788 |
#: templates/email-access-keys.tpl.php:6
|
6789 |
#, fuzzy
|
languages/WPBDM.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Business Directory Plugin package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Business Directory Plugin 4.1.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
-
"POT-Creation-Date: 2016-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -479,91 +479,91 @@ msgid ""
|
|
479 |
"the theme. <a>Click here</a> to do that."
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: admin/class-themes-admin.php:
|
483 |
msgctxt "themes"
|
484 |
msgid "Could not change the active theme to \"%s\"."
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: admin/class-themes-admin.php:
|
488 |
msgctxt "themes"
|
489 |
msgid "Active theme changed to \"%s\"."
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: admin/class-themes-admin.php:
|
493 |
msgctxt "themes"
|
494 |
msgid ""
|
495 |
"%s requires that you tag your existing fields to match some places we want "
|
496 |
"to put your data on the theme. Below are fields we think are missing."
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: admin/class-themes-admin.php:
|
500 |
msgctxt "themes"
|
501 |
msgid "Map My Fields"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: admin/class-themes-admin.php:
|
505 |
msgctxt "themes"
|
506 |
msgid "Suggested fields created successfully."
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: admin/class-themes-admin.php:
|
510 |
msgctxt "themes"
|
511 |
msgid "Theme installed successfully."
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: admin/class-themes-admin.php:
|
515 |
msgctxt "themes"
|
516 |
msgid "Theme was deleted sucessfully."
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: admin/class-themes-admin.php:
|
520 |
msgctxt "themes"
|
521 |
msgid "Could not delete theme directory. Check permissions."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: admin/class-themes-admin.php:
|
525 |
msgctxt "themes"
|
526 |
msgid "Please upload a valid theme file."
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: admin/class-themes-admin.php:
|
530 |
msgctxt "themes"
|
531 |
msgid "Could not move \"%s\" to a temporary directory."
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: admin/class-themes-admin.php:
|
535 |
#: core/licensing.php:127 core/licensing.php:159
|
536 |
msgctxt "licensing"
|
537 |
msgid "Could not contact licensing server"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: admin/class-themes-admin.php:
|
541 |
#: core/licensing.php:166
|
542 |
msgctxt "licensing"
|
543 |
msgid "License key is invalid"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: admin/class-themes-admin.php:
|
547 |
msgctxt "licensing"
|
548 |
msgid "Could not activate license: %s."
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: admin/class-themes-admin.php:
|
552 |
msgctxt "licensing"
|
553 |
msgid "License activated"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: admin/class-themes-admin.php:
|
557 |
msgctxt "licensing"
|
558 |
msgid "Invalid response from server"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: admin/class-themes-admin.php:
|
562 |
msgctxt "licensing"
|
563 |
msgid "License deactivated"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: admin/class-themes-admin.php:
|
567 |
msgctxt "themes"
|
568 |
msgid "Activate your <a>license key</a> to use this theme."
|
569 |
msgstr ""
|
@@ -2088,7 +2088,7 @@ msgctxt "form-fields admin"
|
|
2088 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2089 |
msgstr ""
|
2090 |
|
2091 |
-
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.
|
2092 |
#. Plugin Name of the plugin/theme
|
2093 |
#: admin/templates/header.tpl.php:4
|
2094 |
msgid "Business Directory Plugin"
|
@@ -5499,22 +5499,22 @@ msgctxt "sort"
|
|
5499 |
msgid "(Reset)"
|
5500 |
msgstr ""
|
5501 |
|
5502 |
-
#: core/themes.php:
|
5503 |
msgctxt "themes"
|
5504 |
msgid "ZIP file is not a valid BD theme file."
|
5505 |
msgstr ""
|
5506 |
|
5507 |
-
#: core/themes.php:
|
5508 |
msgctxt "themes"
|
5509 |
msgid "Could not create themes directory."
|
5510 |
msgstr ""
|
5511 |
|
5512 |
-
#: core/themes.php:
|
5513 |
msgctxt "themes"
|
5514 |
msgid "Could not remove previous theme directory \"%s\"."
|
5515 |
msgstr ""
|
5516 |
|
5517 |
-
#: core/themes.php:
|
5518 |
msgctxt "themes"
|
5519 |
msgid "Could not move new theme into theme directory."
|
5520 |
msgstr ""
|
2 |
# This file is distributed under the same license as the Business Directory Plugin package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Business Directory Plugin 4.1.4\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
|
7 |
+
"POT-Creation-Date: 2016-11-01 23:27:24+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
479 |
"the theme. <a>Click here</a> to do that."
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: admin/class-themes-admin.php:157
|
483 |
msgctxt "themes"
|
484 |
msgid "Could not change the active theme to \"%s\"."
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: admin/class-themes-admin.php:204
|
488 |
msgctxt "themes"
|
489 |
msgid "Active theme changed to \"%s\"."
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: admin/class-themes-admin.php:207
|
493 |
msgctxt "themes"
|
494 |
msgid ""
|
495 |
"%s requires that you tag your existing fields to match some places we want "
|
496 |
"to put your data on the theme. Below are fields we think are missing."
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: admin/class-themes-admin.php:216
|
500 |
msgctxt "themes"
|
501 |
msgid "Map My Fields"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: admin/class-themes-admin.php:223
|
505 |
msgctxt "themes"
|
506 |
msgid "Suggested fields created successfully."
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: admin/class-themes-admin.php:226
|
510 |
msgctxt "themes"
|
511 |
msgid "Theme installed successfully."
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: admin/class-themes-admin.php:229
|
515 |
msgctxt "themes"
|
516 |
msgid "Theme was deleted sucessfully."
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: admin/class-themes-admin.php:232
|
520 |
msgctxt "themes"
|
521 |
msgid "Could not delete theme directory. Check permissions."
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: admin/class-themes-admin.php:258
|
525 |
msgctxt "themes"
|
526 |
msgid "Please upload a valid theme file."
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: admin/class-themes-admin.php:265
|
530 |
msgctxt "themes"
|
531 |
msgid "Could not move \"%s\" to a temporary directory."
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: admin/class-themes-admin.php:366 admin/class-themes-admin.php:427
|
535 |
#: core/licensing.php:127 core/licensing.php:159
|
536 |
msgctxt "licensing"
|
537 |
msgid "Could not contact licensing server"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: admin/class-themes-admin.php:372 core/licensing.php:132
|
541 |
#: core/licensing.php:166
|
542 |
msgctxt "licensing"
|
543 |
msgid "License key is invalid"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: admin/class-themes-admin.php:377 core/licensing.php:333
|
547 |
msgctxt "licensing"
|
548 |
msgid "Could not activate license: %s."
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: admin/class-themes-admin.php:390 core/licensing.php:335
|
552 |
msgctxt "licensing"
|
553 |
msgid "License activated"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: admin/class-themes-admin.php:433
|
557 |
msgctxt "licensing"
|
558 |
msgid "Invalid response from server"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: admin/class-themes-admin.php:450 core/licensing.php:353
|
562 |
msgctxt "licensing"
|
563 |
msgid "License deactivated"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: admin/class-themes-admin.php:466
|
567 |
msgctxt "themes"
|
568 |
msgid "Activate your <a>license key</a> to use this theme."
|
569 |
msgstr ""
|
2088 |
msgid "Please see the <a>Form Fields documentation</a> for more details."
|
2089 |
msgstr ""
|
2090 |
|
2091 |
+
#. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.4) #-#-#-#-#
|
2092 |
#. Plugin Name of the plugin/theme
|
2093 |
#: admin/templates/header.tpl.php:4
|
2094 |
msgid "Business Directory Plugin"
|
5499 |
msgid "(Reset)"
|
5500 |
msgstr ""
|
5501 |
|
5502 |
+
#: core/themes.php:708
|
5503 |
msgctxt "themes"
|
5504 |
msgid "ZIP file is not a valid BD theme file."
|
5505 |
msgstr ""
|
5506 |
|
5507 |
+
#: core/themes.php:714
|
5508 |
msgctxt "themes"
|
5509 |
msgid "Could not create themes directory."
|
5510 |
msgstr ""
|
5511 |
|
5512 |
+
#: core/themes.php:722
|
5513 |
msgctxt "themes"
|
5514 |
msgid "Could not remove previous theme directory \"%s\"."
|
5515 |
msgstr ""
|
5516 |
|
5517 |
+
#: core/themes.php:728
|
5518 |
msgctxt "themes"
|
5519 |
msgid "Could not move new theme into theme directory."
|
5520 |
msgstr ""
|
vendors/edd/EDD_SL_Plugin_Updater.php
ADDED
@@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// uncomment this line for testing
|
4 |
+
//set_site_transient( 'update_plugins', null );
|
5 |
+
|
6 |
+
// Exit if accessed directly
|
7 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Allows plugins to use their own update API.
|
11 |
+
*
|
12 |
+
* @author Pippin Williamson
|
13 |
+
* @version 1.6
|
14 |
+
*/
|
15 |
+
class EDD_SL_Plugin_Updater {
|
16 |
+
private $api_url = '';
|
17 |
+
private $api_data = array();
|
18 |
+
private $name = '';
|
19 |
+
private $slug = '';
|
20 |
+
private $version = '';
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Class constructor.
|
24 |
+
*
|
25 |
+
* @uses plugin_basename()
|
26 |
+
* @uses hook()
|
27 |
+
*
|
28 |
+
* @param string $_api_url The URL pointing to the custom API endpoint.
|
29 |
+
* @param string $_plugin_file Path to the plugin file.
|
30 |
+
* @param array $_api_data Optional data to send with API calls.
|
31 |
+
*/
|
32 |
+
function __construct( $_api_url, $_plugin_file, $_api_data = null ) {
|
33 |
+
$this->api_url = trailingslashit( $_api_url );
|
34 |
+
$this->api_data = $_api_data;
|
35 |
+
$this->name = plugin_basename( $_plugin_file );
|
36 |
+
$this->slug = basename( $_plugin_file, '.php' );
|
37 |
+
$this->version = $_api_data['version'];
|
38 |
+
|
39 |
+
// Set up hooks.
|
40 |
+
$this->init();
|
41 |
+
add_action( 'admin_init', array( $this, 'show_changelog' ) );
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Set up WordPress filters to hook into WP's update process.
|
46 |
+
*
|
47 |
+
* @uses add_filter()
|
48 |
+
*
|
49 |
+
* @return void
|
50 |
+
*/
|
51 |
+
public function init() {
|
52 |
+
|
53 |
+
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
|
54 |
+
add_filter( 'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 );
|
55 |
+
|
56 |
+
add_action( 'after_plugin_row_' . $this->name, array( $this, 'show_update_notification' ), 10, 2 );
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Check for Updates at the defined API endpoint and modify the update array.
|
61 |
+
*
|
62 |
+
* This function dives into the update API just when WordPress creates its update array,
|
63 |
+
* then adds a custom API call and injects the custom plugin data retrieved from the API.
|
64 |
+
* It is reassembled from parts of the native WordPress plugin update code.
|
65 |
+
* See wp-includes/update.php line 121 for the original wp_update_plugins() function.
|
66 |
+
*
|
67 |
+
* @uses api_request()
|
68 |
+
*
|
69 |
+
* @param array $_transient_data Update array build by WordPress.
|
70 |
+
* @return array Modified update array with custom plugin data.
|
71 |
+
*/
|
72 |
+
function check_update( $_transient_data ) {
|
73 |
+
|
74 |
+
global $pagenow;
|
75 |
+
|
76 |
+
if( ! is_object( $_transient_data ) ) {
|
77 |
+
$_transient_data = new stdClass;
|
78 |
+
}
|
79 |
+
|
80 |
+
if( 'plugins.php' == $pagenow && is_multisite() ) {
|
81 |
+
return $_transient_data;
|
82 |
+
}
|
83 |
+
|
84 |
+
if ( empty( $_transient_data->response ) || empty( $_transient_data->response[ $this->name ] ) ) {
|
85 |
+
|
86 |
+
$version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
|
87 |
+
|
88 |
+
if ( false !== $version_info && is_object( $version_info ) && isset( $version_info->new_version ) ) {
|
89 |
+
|
90 |
+
if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
91 |
+
|
92 |
+
$_transient_data->response[ $this->name ] = $version_info;
|
93 |
+
|
94 |
+
}
|
95 |
+
|
96 |
+
$_transient_data->last_checked = time();
|
97 |
+
$_transient_data->checked[ $this->name ] = $this->version;
|
98 |
+
|
99 |
+
}
|
100 |
+
|
101 |
+
}
|
102 |
+
|
103 |
+
return $_transient_data;
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* show update nofication row -- needed for multisite subsites, because WP won't tell you otherwise!
|
108 |
+
*
|
109 |
+
* @param string $file
|
110 |
+
* @param array $plugin
|
111 |
+
*/
|
112 |
+
public function show_update_notification( $file, $plugin ) {
|
113 |
+
|
114 |
+
if( ! current_user_can( 'update_plugins' ) ) {
|
115 |
+
return;
|
116 |
+
}
|
117 |
+
|
118 |
+
if( ! is_multisite() ) {
|
119 |
+
return;
|
120 |
+
}
|
121 |
+
|
122 |
+
if ( $this->name != $file ) {
|
123 |
+
return;
|
124 |
+
}
|
125 |
+
|
126 |
+
// Remove our filter on the site transient
|
127 |
+
remove_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ), 10 );
|
128 |
+
|
129 |
+
$update_cache = get_site_transient( 'update_plugins' );
|
130 |
+
|
131 |
+
if ( ! is_object( $update_cache ) || empty( $update_cache->response ) || empty( $update_cache->response[ $this->name ] ) ) {
|
132 |
+
|
133 |
+
$cache_key = md5( 'edd_plugin_' .sanitize_key( $this->name ) . '_version_info' );
|
134 |
+
$version_info = get_transient( $cache_key );
|
135 |
+
|
136 |
+
if( false === $version_info ) {
|
137 |
+
|
138 |
+
$version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
|
139 |
+
|
140 |
+
set_transient( $cache_key, $version_info, 3600 );
|
141 |
+
}
|
142 |
+
|
143 |
+
|
144 |
+
if( ! is_object( $version_info ) ) {
|
145 |
+
return;
|
146 |
+
}
|
147 |
+
|
148 |
+
if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
149 |
+
|
150 |
+
$update_cache->response[ $this->name ] = $version_info;
|
151 |
+
|
152 |
+
}
|
153 |
+
|
154 |
+
$update_cache->last_checked = time();
|
155 |
+
$update_cache->checked[ $this->name ] = $this->version;
|
156 |
+
|
157 |
+
set_site_transient( 'update_plugins', $update_cache );
|
158 |
+
|
159 |
+
} else {
|
160 |
+
|
161 |
+
$version_info = $update_cache->response[ $this->name ];
|
162 |
+
|
163 |
+
}
|
164 |
+
|
165 |
+
// Restore our filter
|
166 |
+
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
|
167 |
+
|
168 |
+
if ( ! empty( $update_cache->response[ $this->name ] ) && version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
169 |
+
|
170 |
+
// build a plugin list row, with update notification
|
171 |
+
$wp_list_table = _get_list_table( 'WP_Plugins_List_Table' );
|
172 |
+
echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
|
173 |
+
|
174 |
+
$changelog_link = self_admin_url( 'index.php?edd_sl_action=view_plugin_changelog&plugin=' . $this->name . '&slug=' . $this->slug . '&TB_iframe=true&width=772&height=911' );
|
175 |
+
|
176 |
+
if ( empty( $version_info->download_link ) ) {
|
177 |
+
printf(
|
178 |
+
__( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a>.', 'edd' ),
|
179 |
+
esc_html( $version_info->name ),
|
180 |
+
esc_url( $changelog_link ),
|
181 |
+
esc_html( $version_info->new_version )
|
182 |
+
);
|
183 |
+
} else {
|
184 |
+
printf(
|
185 |
+
__( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a> or <a href="%4$s">update now</a>.', 'edd' ),
|
186 |
+
esc_html( $version_info->name ),
|
187 |
+
esc_url( $changelog_link ),
|
188 |
+
esc_html( $version_info->new_version ),
|
189 |
+
esc_url( wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $this->name, 'upgrade-plugin_' . $this->name ) )
|
190 |
+
);
|
191 |
+
}
|
192 |
+
|
193 |
+
echo '</div></td></tr>';
|
194 |
+
}
|
195 |
+
}
|
196 |
+
|
197 |
+
|
198 |
+
/**
|
199 |
+
* Updates information on the "View version x.x details" page with custom data.
|
200 |
+
*
|
201 |
+
* @uses api_request()
|
202 |
+
*
|
203 |
+
* @param mixed $_data
|
204 |
+
* @param string $_action
|
205 |
+
* @param object $_args
|
206 |
+
* @return object $_data
|
207 |
+
*/
|
208 |
+
function plugins_api_filter( $_data, $_action = '', $_args = null ) {
|
209 |
+
|
210 |
+
|
211 |
+
if ( $_action != 'plugin_information' ) {
|
212 |
+
|
213 |
+
return $_data;
|
214 |
+
|
215 |
+
}
|
216 |
+
|
217 |
+
if ( ! isset( $_args->slug ) || ( $_args->slug != $this->slug ) ) {
|
218 |
+
|
219 |
+
return $_data;
|
220 |
+
|
221 |
+
}
|
222 |
+
|
223 |
+
$to_send = array(
|
224 |
+
'slug' => $this->slug,
|
225 |
+
'is_ssl' => is_ssl(),
|
226 |
+
'fields' => array(
|
227 |
+
'banners' => false, // These will be supported soon hopefully
|
228 |
+
'reviews' => false
|
229 |
+
)
|
230 |
+
);
|
231 |
+
|
232 |
+
$api_response = $this->api_request( 'plugin_information', $to_send );
|
233 |
+
|
234 |
+
if ( false !== $api_response ) {
|
235 |
+
$_data = $api_response;
|
236 |
+
}
|
237 |
+
|
238 |
+
return $_data;
|
239 |
+
}
|
240 |
+
|
241 |
+
|
242 |
+
/**
|
243 |
+
* Disable SSL verification in order to prevent download update failures
|
244 |
+
*
|
245 |
+
* @param array $args
|
246 |
+
* @param string $url
|
247 |
+
* @return object $array
|
248 |
+
*/
|
249 |
+
function http_request_args( $args, $url ) {
|
250 |
+
// If it is an https request and we are performing a package download, disable ssl verification
|
251 |
+
if ( strpos( $url, 'https://' ) !== false && strpos( $url, 'edd_action=package_download' ) ) {
|
252 |
+
$args['sslverify'] = false;
|
253 |
+
}
|
254 |
+
return $args;
|
255 |
+
}
|
256 |
+
|
257 |
+
/**
|
258 |
+
* Calls the API and, if successfull, returns the object delivered by the API.
|
259 |
+
*
|
260 |
+
* @uses get_bloginfo()
|
261 |
+
* @uses wp_remote_post()
|
262 |
+
* @uses is_wp_error()
|
263 |
+
*
|
264 |
+
* @param string $_action The requested action.
|
265 |
+
* @param array $_data Parameters for the API action.
|
266 |
+
* @return false|object
|
267 |
+
*/
|
268 |
+
private function api_request( $_action, $_data ) {
|
269 |
+
|
270 |
+
global $wp_version;
|
271 |
+
|
272 |
+
$data = array_merge( $this->api_data, $_data );
|
273 |
+
|
274 |
+
if ( $data['slug'] != $this->slug )
|
275 |
+
return;
|
276 |
+
|
277 |
+
if ( empty( $data['license'] ) )
|
278 |
+
return;
|
279 |
+
|
280 |
+
if( $this->api_url == home_url() ) {
|
281 |
+
return false; // Don't allow a plugin to ping itself
|
282 |
+
}
|
283 |
+
|
284 |
+
$api_params = array(
|
285 |
+
'edd_action' => 'get_version',
|
286 |
+
'license' => $data['license'],
|
287 |
+
'item_name' => isset( $data['item_name'] ) ? $data['item_name'] : false,
|
288 |
+
'item_id' => isset( $data['item_id'] ) ? $data['item_id'] : false,
|
289 |
+
'slug' => $data['slug'],
|
290 |
+
'author' => $data['author'],
|
291 |
+
'url' => home_url()
|
292 |
+
);
|
293 |
+
|
294 |
+
$request = wp_remote_post( $this->api_url, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
|
295 |
+
|
296 |
+
if ( ! is_wp_error( $request ) ) {
|
297 |
+
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
298 |
+
}
|
299 |
+
|
300 |
+
if ( $request && isset( $request->sections ) ) {
|
301 |
+
$request->sections = maybe_unserialize( $request->sections );
|
302 |
+
} else {
|
303 |
+
$request = false;
|
304 |
+
}
|
305 |
+
|
306 |
+
return $request;
|
307 |
+
}
|
308 |
+
|
309 |
+
public function show_changelog() {
|
310 |
+
|
311 |
+
|
312 |
+
if( empty( $_REQUEST['edd_sl_action'] ) || 'view_plugin_changelog' != $_REQUEST['edd_sl_action'] ) {
|
313 |
+
return;
|
314 |
+
}
|
315 |
+
|
316 |
+
if( empty( $_REQUEST['plugin'] ) ) {
|
317 |
+
return;
|
318 |
+
}
|
319 |
+
|
320 |
+
if( empty( $_REQUEST['slug'] ) ) {
|
321 |
+
return;
|
322 |
+
}
|
323 |
+
|
324 |
+
if( ! current_user_can( 'update_plugins' ) ) {
|
325 |
+
wp_die( __( 'You do not have permission to install plugin updates', 'edd' ), __( 'Error', 'edd' ), array( 'response' => 403 ) );
|
326 |
+
}
|
327 |
+
|
328 |
+
$response = $this->api_request( 'plugin_latest_version', array( 'slug' => $_REQUEST['slug'] ) );
|
329 |
+
|
330 |
+
if( $response && isset( $response->sections['changelog'] ) ) {
|
331 |
+
echo '<div style="background:#fff;padding:10px;">' . $response->sections['changelog'] . '</div>';
|
332 |
+
}
|
333 |
+
|
334 |
+
|
335 |
+
exit;
|
336 |
+
}
|
337 |
+
|
338 |
+
}
|