Amazon Associates Link Builder - Version 1.5.3

Version Description

  • January 24, 2018 =
  • Fix: Plugin failed with a FATAL error on activation/update for users on PHP version below 5.4.0, instead of the expected graceful de-activation.
  • Fix: Search button not working for few associates.
  • Fix: Loading CSS & JS of jquery-ui only on pages required by plugin.
  • Fix: Multi-tab not working for few associates.
  • Fix: Error in maxmind_db_manager:get_db:::WP_ERROR: Forbidden in logs that prevents IP2country database downloads.
Download this release

Release Info

Developer amazonlinkbuilder
Plugin Icon 128x128 Amazon Associates Link Builder
Version 1.5.3
Comparing to
See all releases

Code changes from version 1.5.2 to 1.5.3

aalb_config.php CHANGED
@@ -13,7 +13,7 @@ and limitations under the License.
13
  */
14
 
15
  //version
16
- define( 'AALB_PLUGIN_CURRENT_VERSION', '1.5.2' );
17
 
18
  //Version no. with multi locale settings page
19
  define( 'AALB_MULTI_LOCALE_SETTINGS_PLUGIN_VERSION', '1.4.12' );
@@ -40,7 +40,7 @@ define( 'AALB_PAAPI_HELPER_PHP', AALB_PLUGIN_DIR . 'lib/php/Paapi/aalb_paapi_hel
40
  define( 'AALB_VALIDATION_HELPER_PHP', AALB_PLUGIN_DIR . 'lib/php/aalb_validation_helper.php' );
41
  define( 'AALB_XML_HELPER_PHP', AALB_PLUGIN_DIR . 'lib/php/aalb_xml_helper.php' );
42
  define( 'AALB_TRACKING_API_HELPER_PHP', AALB_PLUGIN_DIR . 'lib/php/aalb_tracking_api_helper.php' );
43
- define( 'MAXMIND_DATA_FILENAME', 'GeoLite2-Country.mmdb' );
44
 
45
  //Shortcodes supported
46
  define( 'AALB_SHORTCODE_AMAZON_LINK', 'amazon_link' );
@@ -63,6 +63,8 @@ define( 'AALB_SHORTCODE_DIR', AALB_PLUGIN_DIR . 'shortcode/' );
63
  define( 'AALB_LIBRARY_DIR', AALB_PLUGIN_DIR . 'lib/php/' );
64
  define( 'AALB_SIDEBAR_HELPER_DIR', AALB_PLUGIN_DIR . 'admin/sidebar/partials/helper/' );
65
  define( 'AALB_IP_2_COUNTRY_DIR', AALB_PLUGIN_DIR . 'ip2country/' );
 
 
66
 
67
  //Includes
68
  define( 'AALB_ACTIVATOR_PHP', AALB_PLUGIN_DIR . 'includes/aalb_activator.php' );
@@ -117,7 +119,6 @@ define( 'HANDLEBARS_JS', 'https://d8fd03967nrad.cloudfront.net/libs/handlebars.j
117
  define( 'CODEMIRROR_JS', 'https://d8fd03967nrad.cloudfront.net/libs/codemirror/5.13.2/codemirror.min.js' );
118
  define( 'CODEMIRROR_MODE_XML_JS', 'https://d8fd03967nrad.cloudfront.net/libs/codemirror/5.13.2/mode/xml/xml.min.js' );
119
  define( 'CODEMIRROR_MODE_CSS_JS', 'https://d8fd03967nrad.cloudfront.net/libs/codemirror/5.13.2/mode/css/css.min.js' );
120
- define( 'AALB_JQUERY_UI_JS', 'https://d8fd03967nrad.cloudfront.net/libs/jQueryUI/1.12.1/jquery-ui.js' );
121
  define( 'AALB_JQUERY_UI_CSS', 'https://d8fd03967nrad.cloudfront.net/libs/jQueryUI/1.12.1/themes/ui-lightness/jquery-ui.css' );
122
 
123
  //External Styles
@@ -161,11 +162,22 @@ define( 'AALB_CRED_CONFIG_GROUP', 'aalb_cred_config_group' );
161
  define( 'AALB_STORE_ID_NAMES', 'aalb_store_id_names' );
162
  define( 'AALB_STORE_IDS', 'aalb_store_ids' );
163
  define( 'AALB_CUSTOM_UPLOAD_PATH', 'aalb_custom_upload_path' );
 
164
  define( 'AALB_SHOW_HTTP_WARNING_ONCE', 'aalb_show_http_warning_once' );
165
  define( 'AALB_PLUGIN_VERSION', 'aalb_plugin_version' );
166
  define( 'AALB_NO_REFERRER_DISABLED', 'aalb_no_referrer_disabled' );
167
- define( 'AALB_GEOLITE_DB_EXPIRATION_TIME', 'aalb_geolite_db_expiration_time' );
168
- define( 'AALB_GEOLITE_DB_LAST_UPDATED_TIME', 'aalb_geolite_db_last_updated_time' );
 
 
 
 
 
 
 
 
 
 
169
 
170
  //Masking constant
171
  define( 'AALB_AWS_SECRET_KEY_MASK', '••••••••••••••••••••••••••••••••••••••••' );
@@ -291,16 +303,17 @@ define( 'AALB_PAAPI_EFFICIENCY_GUIDELINES_URL', 'http://docs.aws.amazon.com/AWSE
291
  define( 'AALB_SETTINGS_PAGE_URL', admin_url( 'admin.php?page=associates-link-builder-settings' ) );
292
 
293
  //Maxmind GeoLite2Country DB Download URL
294
- define('AALB_GEOLITE_COUNTRY_DB_DOWNLOAD_URL', 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz');
295
- define('AALB_GEOLITE_COUNTRY_DB_DETAILS_URL','https://dev.maxmind.com/geoip/geoip2/geolite2/');
 
296
  define( 'AALB_NEW_PAGE_TARGET', "_blank" );
297
 
298
  define( 'AALB_NEWLINE_SEPARATOR', "\r\n" );
299
- define('GEO_TARGETED_LINKS_DELIMITER', "|");
300
 
301
  //Pugin Link Codes
302
- define('AALB_DEFAULT_LINK_CODE', "alb");
303
- define('AALB_GEO_TARGETED_LINKS_DEFAULT_COUNTRY_LINK_CODE', "al0");
304
- define('AALB_GEO_TARGETED_LINKS_REDIRECTED_COUNTRY_LINK_CODE', "al1");
305
 
306
  ?>
13
  */
14
 
15
  //version
16
+ define( 'AALB_PLUGIN_CURRENT_VERSION', '1.5.3' );
17
 
18
  //Version no. with multi locale settings page
19
  define( 'AALB_MULTI_LOCALE_SETTINGS_PLUGIN_VERSION', '1.4.12' );
40
  define( 'AALB_VALIDATION_HELPER_PHP', AALB_PLUGIN_DIR . 'lib/php/aalb_validation_helper.php' );
41
  define( 'AALB_XML_HELPER_PHP', AALB_PLUGIN_DIR . 'lib/php/aalb_xml_helper.php' );
42
  define( 'AALB_TRACKING_API_HELPER_PHP', AALB_PLUGIN_DIR . 'lib/php/aalb_tracking_api_helper.php' );
43
+ define( 'AALB_MAXMIND_DATA_FILENAME', 'GeoLite2-Country.mmdb' );
44
 
45
  //Shortcodes supported
46
  define( 'AALB_SHORTCODE_AMAZON_LINK', 'amazon_link' );
63
  define( 'AALB_LIBRARY_DIR', AALB_PLUGIN_DIR . 'lib/php/' );
64
  define( 'AALB_SIDEBAR_HELPER_DIR', AALB_PLUGIN_DIR . 'admin/sidebar/partials/helper/' );
65
  define( 'AALB_IP_2_COUNTRY_DIR', AALB_PLUGIN_DIR . 'ip2country/' );
66
+ define( 'AALB_EXCEPTIONS_DIR', AALB_PLUGIN_DIR . 'exceptions/' );
67
+ define( 'AALB_IO_DIR', AALB_PLUGIN_DIR . 'io/' );
68
 
69
  //Includes
70
  define( 'AALB_ACTIVATOR_PHP', AALB_PLUGIN_DIR . 'includes/aalb_activator.php' );
119
  define( 'CODEMIRROR_JS', 'https://d8fd03967nrad.cloudfront.net/libs/codemirror/5.13.2/codemirror.min.js' );
120
  define( 'CODEMIRROR_MODE_XML_JS', 'https://d8fd03967nrad.cloudfront.net/libs/codemirror/5.13.2/mode/xml/xml.min.js' );
121
  define( 'CODEMIRROR_MODE_CSS_JS', 'https://d8fd03967nrad.cloudfront.net/libs/codemirror/5.13.2/mode/css/css.min.js' );
 
122
  define( 'AALB_JQUERY_UI_CSS', 'https://d8fd03967nrad.cloudfront.net/libs/jQueryUI/1.12.1/themes/ui-lightness/jquery-ui.css' );
123
 
124
  //External Styles
162
  define( 'AALB_STORE_ID_NAMES', 'aalb_store_id_names' );
163
  define( 'AALB_STORE_IDS', 'aalb_store_ids' );
164
  define( 'AALB_CUSTOM_UPLOAD_PATH', 'aalb_custom_upload_path' );
165
+ define( 'AALB_MAXMIND_DB_LAST_UPLOAD_PATH', 'aalb_maxmind_db_last_upload_path' );
166
  define( 'AALB_SHOW_HTTP_WARNING_ONCE', 'aalb_show_http_warning_once' );
167
  define( 'AALB_PLUGIN_VERSION', 'aalb_plugin_version' );
168
  define( 'AALB_NO_REFERRER_DISABLED', 'aalb_no_referrer_disabled' );
169
+ define( 'AALB_GEOLITE_DB_DOWNLOAD_NEXT_RETRY_TIME', 'aalb_geolite_db_download_next_retry_time' );
170
+ define( 'AALB_GEOLITE_DB_DOWNLOAD_RETRY_ON_FAILURE_DURATION', 'aalb_geolite_db_download_retry_on_failure_duration' );
171
+ define( 'AALB_GEOLITE_DB_DOWNLOAD_FAILED_ATTEMPTS', 'aalb_geolite_db_download_failed_attempts' );
172
+
173
+ //Geolite DB Retry Durations
174
+ define( 'AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_MIN', 30 * MINUTE_IN_SECONDS );
175
+ define( 'AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_MAX', 2 * DAY_IN_SECONDS );
176
+ define( 'AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_ON_SUCCESS', 3 * DAY_IN_SECONDS );
177
+ define( 'AALB_GEOLITE_DB_MAX_ALLOWED_AGE', 60 * DAY_IN_SECONDS );
178
+
179
+ define( 'AALB_SUCCESS', "SUCCESS" );
180
+ define( 'AALB_FAIL', "FAIL" );
181
 
182
  //Masking constant
183
  define( 'AALB_AWS_SECRET_KEY_MASK', '••••••••••••••••••••••••••••••••••••••••' );
303
  define( 'AALB_SETTINGS_PAGE_URL', admin_url( 'admin.php?page=associates-link-builder-settings' ) );
304
 
305
  //Maxmind GeoLite2Country DB Download URL
306
+ define( 'AALB_GEOLITE_COUNTRY_DB_DOWNLOAD_URL', 'https://d8fd03967nrad.cloudfront.net/libs/geoip/database/GeoLite2-Country.mmdb.gz' );
307
+ define( 'AALB_GEOLITE_DB_DOWNLOAD_URL_FROM_MAXMIND_SERVER', 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz' );
308
+ define( 'AALB_GEOLITE_COUNTRY_DB_DETAILS_URL', 'https://dev.maxmind.com/geoip/geoip2/geolite2/' );
309
  define( 'AALB_NEW_PAGE_TARGET', "_blank" );
310
 
311
  define( 'AALB_NEWLINE_SEPARATOR', "\r\n" );
312
+ define( 'GEO_TARGETED_LINKS_DELIMITER', "|" );
313
 
314
  //Pugin Link Codes
315
+ define( 'AALB_DEFAULT_LINK_CODE', "alb" );
316
+ define( 'AALB_GEO_TARGETED_LINKS_DEFAULT_COUNTRY_LINK_CODE', "al0" );
317
+ define( 'AALB_GEO_TARGETED_LINKS_REDIRECTED_COUNTRY_LINK_CODE', "al1" );
318
 
319
  ?>
admin/aalb_admin.php CHANGED
@@ -28,12 +28,10 @@ class Aalb_Admin {
28
  private $remote_loader;
29
  private $tracking_api_helper;
30
  private $helper;
31
- private $compatibility_helper;
32
  private $aalb_migration_helper;
33
  private $config_loader;
34
 
35
  public function __construct() {
36
- $this->compatibility_helper = new Aalb_Compatibility_Helper();
37
  $this->paapi_helper = new Aalb_Paapi_Helper();
38
  $this->remote_loader = new Aalb_Remote_Loader();
39
  $this->tracking_api_helper = new Aalb_Tracking_Api_Helper();
@@ -88,8 +86,8 @@ class Aalb_Admin {
88
  wp_enqueue_script( 'jquery' );
89
  wp_enqueue_script( 'handlebars_js', HANDLEBARS_JS );
90
  wp_enqueue_script( 'aalb_sha2_js', AALB_SHA2_JS, array(), AALB_PLUGIN_CURRENT_VERSION );
91
- wp_enqueue_script( 'jquery_ui', AALB_JQUERY_UI_JS );
92
- wp_enqueue_script( 'aalb_admin_js', AALB_ADMIN_JS, array( 'handlebars_js', 'jquery', 'jquery_ui', 'aalb_sha2_js' ), AALB_PLUGIN_CURRENT_VERSION );
93
  wp_localize_script( 'aalb_admin_js', 'api_pref', $this->get_paapi_pref() );
94
  wp_localize_script( 'aalb_admin_js', 'aalb_strings', $this->get_aalb_strings() );
95
  }
@@ -180,20 +178,16 @@ class Aalb_Admin {
180
  * @since 1.3
181
  */
182
  public function handle_plugin_update() {
183
- if ( $this->compatibility_helper->is_plugin_compatible() ) {
184
- //Clear all transients for price changes to reflect
185
- $this->helper->clear_cache_for_substring( '' );
186
- $this->helper->clear_expired_transients();
187
- $this->helper->load_db_keys();
188
 
189
- global $wp_filesystem;
190
- $this->helper->aalb_initialize_wp_filesystem_api();
191
- $this->helper->refresh_template_list();
192
- $this->aalb_migration_helper->run_migration_logic();
193
- update_option( AALB_PLUGIN_VERSION, AALB_PLUGIN_CURRENT_VERSION );
194
- } else {
195
- $this->compatibility_helper->aalb_deactivate();
196
- }
197
  }
198
 
199
  /**
28
  private $remote_loader;
29
  private $tracking_api_helper;
30
  private $helper;
 
31
  private $aalb_migration_helper;
32
  private $config_loader;
33
 
34
  public function __construct() {
 
35
  $this->paapi_helper = new Aalb_Paapi_Helper();
36
  $this->remote_loader = new Aalb_Remote_Loader();
37
  $this->tracking_api_helper = new Aalb_Tracking_Api_Helper();
86
  wp_enqueue_script( 'jquery' );
87
  wp_enqueue_script( 'handlebars_js', HANDLEBARS_JS );
88
  wp_enqueue_script( 'aalb_sha2_js', AALB_SHA2_JS, array(), AALB_PLUGIN_CURRENT_VERSION );
89
+ wp_enqueue_script( 'jquery-ui-tabs' );
90
+ wp_enqueue_script( 'aalb_admin_js', AALB_ADMIN_JS, array( 'handlebars_js', 'jquery', 'jquery-ui-tabs', 'aalb_sha2_js' ), AALB_PLUGIN_CURRENT_VERSION );
91
  wp_localize_script( 'aalb_admin_js', 'api_pref', $this->get_paapi_pref() );
92
  wp_localize_script( 'aalb_admin_js', 'aalb_strings', $this->get_aalb_strings() );
93
  }
178
  * @since 1.3
179
  */
180
  public function handle_plugin_update() {
181
+ //Clear all transients for price changes to reflect
182
+ $this->helper->clear_cache_for_substring( '' );
183
+ $this->helper->clear_expired_transients();
184
+ $this->helper->initialize_db_keys();
 
185
 
186
+ global $wp_filesystem;
187
+ $this->helper->aalb_initialize_wp_filesystem_api();
188
+ $this->helper->refresh_template_list();
189
+ $this->aalb_migration_helper->run_migration_logic();
190
+ update_option( AALB_PLUGIN_VERSION, AALB_PLUGIN_CURRENT_VERSION );
 
 
 
191
  }
192
 
193
  /**
admin/js/aalb_admin.js CHANGED
@@ -13,7 +13,7 @@
13
  //ToDo: Create the JSON in contexts in PHP instead of creating here and pass directly to Handlebars
14
  //ToDO: Deep-dive to find out if event bubbling with single target is a better option and instead of having a common parent for event delgation with capturing
15
 
16
- (function( $ ) {
17
  var SELECT_DROPDOWN_VALUE = "no-selection";
18
  var SINGLE_ASIN_TEMPLATE = {
19
  PriceLink : 'true',
@@ -159,11 +159,6 @@
159
  marketplace_pop_up_json[ pop_up_container.find( '.aalb-marketplace-names-list' ).val() ].store_id = $( this ).val();
160
  } );
161
 
162
- //Binding click event with Search button in editor search box
163
- $( '.aalb-admin-button-create-amazon-shortcode' ).on( 'click', function() {
164
- admin_show_create_shortcode_popup( this );
165
- } );
166
-
167
  //Binding click event with Search button in search pop-up
168
  $( '#aalb-admin-pop-up' ).on( 'click', '.aalb-admin-popup-search-button', function() {
169
  admin_popup_search_items( $( this ).closest( '.aalb-pop-up-container' ) );
@@ -191,14 +186,6 @@
191
  aalb_selected_box.append( create_selected_asin_html( data_asin, this ) );
192
  } );
193
 
194
- //Binding enter event with Search button in search pop-up
195
- $( '.aalb-admin-input-search' ).on( 'keypress', function( event ) {
196
- if( event.keyCode === ENTER_KEY_CODE ) {
197
- event.preventDefault();
198
- admin_show_create_shortcode_popup( $( this ).siblings( '.aalb-admin-button-create-amazon-shortcode' ) );
199
- }
200
- } );
201
-
202
  //Binding Enter event with Search button in editor search box
203
  $( '#aalb-admin-pop-up' ).on( 'keypress', '.aalb-admin-popup-input-search', function( event ) {
204
  if( event.keyCode === ENTER_KEY_CODE ) {
@@ -214,6 +201,21 @@
214
  }
215
  } );
216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  /**
218
  * Returns elements not present in second array but in first
219
  *
@@ -261,8 +263,7 @@
261
  */
262
  function add_close_button( pop_up_container ) {
263
  var close_icon = "<span class='ui-icon ui-icon-close' role='presentation'></span>";
264
- var url = '#' + pop_up_container.parent().closest( 'div' ).attr( "id" );
265
- $( 'a[href=' + url + ']' ).after( close_icon );
266
  }
267
 
268
  /**
@@ -276,7 +277,8 @@
276
  */
277
  function change_header_of_tab( pop_up_container, marketplace ) {
278
  var url = '#' + pop_up_container.parent().closest( 'div' ).attr( "id" );
279
- $( 'a[href=' + url + ']' ).text( marketplace );
 
280
  }
281
 
282
  /**
@@ -845,4 +847,10 @@
845
  admin_searchbox_tooltip.addClass( 'aalb-admin-searchbox-tooltip-text' );
846
  admin_searchbox_tooltip.removeClass( 'aalb-admin-hide-display' );
847
  }
 
 
 
 
 
 
848
  })( jQuery );
13
  //ToDo: Create the JSON in contexts in PHP instead of creating here and pass directly to Handlebars
14
  //ToDO: Deep-dive to find out if event bubbling with single target is a better option and instead of having a common parent for event delgation with capturing
15
 
16
+ var aalb_admin_object = (function( $ ) {
17
  var SELECT_DROPDOWN_VALUE = "no-selection";
18
  var SINGLE_ASIN_TEMPLATE = {
19
  PriceLink : 'true',
159
  marketplace_pop_up_json[ pop_up_container.find( '.aalb-marketplace-names-list' ).val() ].store_id = $( this ).val();
160
  } );
161
 
 
 
 
 
 
162
  //Binding click event with Search button in search pop-up
163
  $( '#aalb-admin-pop-up' ).on( 'click', '.aalb-admin-popup-search-button', function() {
164
  admin_popup_search_items( $( this ).closest( '.aalb-pop-up-container' ) );
186
  aalb_selected_box.append( create_selected_asin_html( data_asin, this ) );
187
  } );
188
 
 
 
 
 
 
 
 
 
189
  //Binding Enter event with Search button in editor search box
190
  $( '#aalb-admin-pop-up' ).on( 'keypress', '.aalb-admin-popup-input-search', function( event ) {
191
  if( event.keyCode === ENTER_KEY_CODE ) {
201
  }
202
  } );
203
 
204
+ /**
205
+ * onKeyPress event handler for editor seach box
206
+ *
207
+ * @param HTML_DOM_EVENT event OnKeyPress event
208
+ * @param HTMLElement caller_element caller of this function
209
+ *
210
+ * @since 1.5.3
211
+ */
212
+ function editor_searchbox_keypress_event_handler( event, caller_element ) {
213
+ if( event.keyCode === ENTER_KEY_CODE ) {
214
+ event.preventDefault();
215
+ admin_show_create_shortcode_popup( $( caller_element ).siblings( '.aalb-admin-button-create-amazon-shortcode' ) );
216
+ }
217
+ }
218
+
219
  /**
220
  * Returns elements not present in second array but in first
221
  *
263
  */
264
  function add_close_button( pop_up_container ) {
265
  var close_icon = "<span class='ui-icon ui-icon-close' role='presentation'></span>";
266
+ $( '#aalb-tabs ul li' ).last().append( close_icon );
 
267
  }
268
 
269
  /**
277
  */
278
  function change_header_of_tab( pop_up_container, marketplace ) {
279
  var url = '#' + pop_up_container.parent().closest( 'div' ).attr( "id" );
280
+ //Why double Quotes & single quote around url :https://stackoverflow.com/questions/31197452/syntax-error-unrecognized-expression-for-href/31197472
281
+ $( 'a[href="' + url + '"]' ).text( marketplace );
282
  }
283
 
284
  /**
847
  admin_searchbox_tooltip.addClass( 'aalb-admin-searchbox-tooltip-text' );
848
  admin_searchbox_tooltip.removeClass( 'aalb-admin-hide-display' );
849
  }
850
+
851
+ return {
852
+ admin_show_create_shortcode_popup : admin_show_create_shortcode_popup,
853
+ editor_searchbox_keypress_event_handler: editor_searchbox_keypress_event_handler
854
+ };
855
+
856
  })( jQuery );
admin/partials/aalb_editor_search_box.php CHANGED
@@ -19,16 +19,17 @@ $aalb_admin->aalb_enqueue_scripts();
19
  ?>
20
 
21
  <!--
22
-
23
  UI for Search box shown in WordPress editors. User can type in keyword and trigger add short code box.
24
-
 
25
  -->
26
 
27
  <div class="aalb-admin-inline aalb-admin-searchbox">
28
  <span class="aalb-admin-editor-tooltip aalb-admin-hide-display"></span>
29
  <img src=<?= AALB_ADMIN_ICON ?> class="aalb-admin-searchbox-amzlogo">
30
- <input type="text" class="aalb-admin-input-search" name="aalb-admin-input-search" placeholder="<?php esc_attr_e( "Enter keyword(s)", 'amazon-associates-link-builder' ) ?>" />
31
- <a class="button aalb-admin-button-create-amazon-shortcode" title="<?php esc_attr_e( "Add Amazon Associates Link Builder Shortcode", 'amazon-associates-link-builder' ) ?>">
32
- <?php esc_html_e( "Search", 'amazon-associates-link-builder' ) ?>
 
33
  </a>
34
  </div>
19
  ?>
20
 
21
  <!--
 
22
  UI for Search box shown in WordPress editors. User can type in keyword and trigger add short code box.
23
+ Caution: Keep the onKeypress & onClick handlers inline and don't move them to aalb_admin.js. The reason for the same is that
24
+ sometimes editor is dynamically created in some plugins and so these elements don't get bind to these events
25
  -->
26
 
27
  <div class="aalb-admin-inline aalb-admin-searchbox">
28
  <span class="aalb-admin-editor-tooltip aalb-admin-hide-display"></span>
29
  <img src=<?= AALB_ADMIN_ICON ?> class="aalb-admin-searchbox-amzlogo">
30
+ <input type="text" class="aalb-admin-input-search" name="aalb-admin-input-search" placeholder="<?php esc_attr_e( "Enter keyword(s)", 'amazon-associates-link-builder' ) ?>" ,
31
+ onkeypress="aalb_admin_object.editor_searchbox_keypress_event_handler( event, this )" />
32
+ <a class="button aalb-admin-button-create-amazon-shortcode" title="<?php esc_attr_e( "Add Amazon Associates Link Builder Shortcode", 'amazon-associates-link-builder' ) ?>" ,
33
+ onclick="aalb_admin_object.admin_show_create_shortcode_popup( this )"> <?php esc_html_e( "Search", 'amazon-associates-link-builder' ) ?>
34
  </a>
35
  </div>
admin/partials/aalb_meta_box.php CHANGED
@@ -23,8 +23,6 @@ include AALB_ADMIN_ITEM_SEARCH_ITEMS_PATH;
23
  include 'aalb_meta_box_tab_content.php';
24
  include 'aalb_admin_pop_up_content_hbs.php';
25
  $aalb_admin = new Aalb_Admin();
26
- $aalb_admin->aalb_enqueue_styles();
27
- $aalb_admin->aalb_enqueue_scripts();
28
 
29
  /*
30
  * Below is an example of context to be passed to the below template
23
  include 'aalb_meta_box_tab_content.php';
24
  include 'aalb_admin_pop_up_content_hbs.php';
25
  $aalb_admin = new Aalb_Admin();
 
 
26
 
27
  /*
28
  * Below is an example of context to be passed to the below template
admin/sidebar/partials/aalb_credentials.php CHANGED
@@ -94,7 +94,7 @@ $cred_helper->handle_error_notices();
94
  value="<?php echo get_option( AALB_CUSTOM_UPLOAD_PATH ) ?>" />
95
  </td>
96
  <td>
97
- <?php printf( __("This folder will be used to save files downloaded by the plugin (e.g. <a href=%1s target=%2s>The MaxMind IP2Country Database</a>) for local use. Absolute path required. <br><span class=\"aalb-bold\"> Default value:</span> *blank*, defaults to <code>wp_upload_dir()['basedir'] + '%3s'</code>", 'amazon-associates-link-builder' ), AALB_GEOLITE_COUNTRY_DB_DETAILS_URL, AALB_NEW_PAGE_TARGET, AALB_UPLOADS_FOLDER ); ?>
98
  </td>
99
  </tr>
100
  <tr>
94
  value="<?php echo get_option( AALB_CUSTOM_UPLOAD_PATH ) ?>" />
95
  </td>
96
  <td>
97
+ <?php printf( __("This folder will be used to save files downloaded by the plugin (e.g. <a href=%1s target=%2s>The MaxMind IP2Country Database</a>) for local use. Absolute path required. <br><span class=\"aalb-bold\"> Default value:</span> <code>wp_upload_dir()['basedir'] + '%3s'</code>", 'amazon-associates-link-builder' ), AALB_GEOLITE_COUNTRY_DB_DETAILS_URL, AALB_NEW_PAGE_TARGET, AALB_UPLOADS_FOLDER ); ?>
98
  </td>
99
  </tr>
100
  <tr>
admin/sidebar/partials/helper/aalb_credentials_helper.php CHANGED
@@ -115,15 +115,16 @@ class Aalb_Credentials_Helper {
115
  * @since 1.5.0
116
  */
117
  public function handle_error_notices() {
118
- $maxmind_db_manager = new Aalb_Maxmind_Db_Manager();
119
- if ( $this->is_more_than_one_marketplaces_configured() ) {
120
- if ( ! is_readable( $maxmind_db_manager->db_file_path ) ) {
121
- aalb_error_notice( sprintf( esc_html__( "The file used to fetch country details to enable geo-targetted links doesn't have read permissions. Please give recursive read/write permissons to:%s. In case you are still facing the issue, please change download folder in Site Wide Settings section on this page.", 'amazon-associates-link-builder' ), $maxmind_db_manager->db_file_path ) );
122
- } else if ( ! is_writable( $maxmind_db_manager->db_file_path ) ) {
123
- aalb_error_notice( sprintf( esc_html__( "The file used to fetch country details to enable geo-targetted links doesn't have write permissions. Please give recursive read/write permissons to:%s. In case you are still facing the issue, please change download folder in Site Wide Settings section on this page", 'amazon-associates-link-builder' ), $maxmind_db_manager->db_file_path ) );
124
- } else if ( ! is_writable( $maxmind_db_manager->db_upload_dir ) ) {
125
- aalb_error_notice( sprintf( esc_html__( "The directory where the file used to fetch country details to enable geo-targetted links doesn't have write permissions. Please give recursive read/write permissons to:%s. In case you are still facing the issue, please change download folder in Site Wide Settings section on this page", 'amazon-associates-link-builder' ), $maxmind_db_manager->db_upload_dir ) );
126
  }
 
 
127
  }
128
  }
129
 
@@ -134,7 +135,7 @@ class Aalb_Credentials_Helper {
134
  *
135
  * @return bool True if more than one marketplaces configured in settings
136
  */
137
- public function is_more_than_one_marketplaces_configured() {
138
  return count( json_decode( get_option( AALB_STORE_IDS ), true ) ) > 1;
139
  }
140
  }
115
  * @since 1.5.0
116
  */
117
  public function handle_error_notices() {
118
+ try {
119
+ if ( $this->is_more_than_one_marketplaces_configured() ) {
120
+ $maxmind_db_manager = new Aalb_Maxmind_Db_Manager( get_option( AALB_CUSTOM_UPLOAD_PATH ), new Aalb_Curl_Request(), new Aalb_File_System_Helper() );
121
+ $error_msg = $maxmind_db_manager->get_error_message();
122
+ if ( ! empty( $error_msg ) ) {
123
+ aalb_error_notice( $error_msg );
124
+ }
 
125
  }
126
+ } catch ( Exception $e ) {
127
+ error_log( "Aalb_credentials_Helper::handle_error_notices:Unknown error:" . $e->getMessage() );
128
  }
129
  }
130
 
135
  *
136
  * @return bool True if more than one marketplaces configured in settings
137
  */
138
+ private function is_more_than_one_marketplaces_configured() {
139
  return count( json_decode( get_option( AALB_STORE_IDS ), true ) ) > 1;
140
  }
141
  }
amazon-associates-link-builder.php CHANGED
@@ -7,7 +7,7 @@
7
  /*
8
  Plugin Name: Amazon Associates Link Builder
9
  Description: Amazon Associates Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin.
10
- Version: 1.5.2
11
  Author: Amazon Associates Program
12
  Author URI: https://affiliate-program.amazon.com/
13
  License: GPLv2
@@ -54,7 +54,7 @@ function aalb_autoload() {
54
  require_once( MUSTACHE_AUTOLOADER_PHP );
55
  Mustache_Autoloader::register();
56
 
57
- require_once(AALB_PLUGIN_DIR . 'vendor/autoload.php');
58
 
59
  //Load the autoloader for plugin files.
60
  require_once( AALB_AUTOLOADER );
@@ -68,6 +68,9 @@ register_activation_hook( __FILE__, array( new Aalb_Activator(), 'activate' ) );
68
  /**
69
  * The code to run on deactivation
70
  *
 
 
 
71
  * @since 1.0.0
72
  */
73
  function aalb_deactivate() {
@@ -100,15 +103,31 @@ function aalb_execute() {
100
  $aalb_manager->execute();
101
  }
102
 
103
- add_action( 'plugins_loaded', 'aalb_plugin_load_textdomain');
104
 
105
  /**
106
  * Adds a text-domain to facilitate translation feature
107
  * @since 1.4.8
108
  */
109
  function aalb_plugin_load_textdomain() {
110
- load_plugin_textdomain( 'amazon-associates-link-builder', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  }
112
 
113
- aalb_execute();
114
  ?>
7
  /*
8
  Plugin Name: Amazon Associates Link Builder
9
  Description: Amazon Associates Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin.
10
+ Version: 1.5.3
11
  Author: Amazon Associates Program
12
  Author URI: https://affiliate-program.amazon.com/
13
  License: GPLv2
54
  require_once( MUSTACHE_AUTOLOADER_PHP );
55
  Mustache_Autoloader::register();
56
 
57
+ require_once( AALB_PLUGIN_DIR . 'vendor/autoload.php' );
58
 
59
  //Load the autoloader for plugin files.
60
  require_once( AALB_AUTOLOADER );
68
  /**
69
  * The code to run on deactivation
70
  *
71
+ * CAUTION: Any function present here should contain code that is compatible with at least PHP 5.3(even lower if possible) so
72
+ * that anyone not meeting compatibility requirements for min php versions gets deactivated successfully.
73
+ *
74
  * @since 1.0.0
75
  */
76
  function aalb_deactivate() {
103
  $aalb_manager->execute();
104
  }
105
 
106
+ add_action( 'plugins_loaded', 'aalb_plugin_load_textdomain' );
107
 
108
  /**
109
  * Adds a text-domain to facilitate translation feature
110
  * @since 1.4.8
111
  */
112
  function aalb_plugin_load_textdomain() {
113
+ load_plugin_textdomain( 'amazon-associates-link-builder', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
114
+ }
115
+
116
+ //To use the function is_plugin_active()
117
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
118
+
119
+ /*
120
+ * Minimum WP version supported in these activation, deactivation and updates check: 2.8.0
121
+ * Minimum PHP version supported in these activation, deactivation and updates check: 5.3
122
+ */
123
+ if ( is_plugin_active( plugin_basename( AALB_PLUGIN_DIR . 'amazon-associates-link-builder.php' ) ) ) {
124
+ $compatibility_helper = new Aalb_Compatibility_Helper();
125
+ if ( $compatibility_helper->is_plugin_compatible() ) {
126
+ //All functions to be called from main file should be put inside this check
127
+ aalb_execute();
128
+ } else {
129
+ $compatibility_helper->aalb_deactivate();
130
+ }
131
  }
132
 
 
133
  ?>
composer.phar DELETED
Binary file
exceptions/network_call_failure_exception.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
+
6
+ Licensed under the GNU General Public License as published by the Free Software Foundation,
7
+ Version 2.0 (the "License"). You may not use this file except in compliance with the License.
8
+ A copy of the License is located in the "license" file accompanying this file.
9
+
10
+ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11
+ either express or implied. See the License for the specific language governing permissions
12
+ and limitations under the License.
13
+ */
14
+
15
+ /**
16
+ *
17
+ * Custom Exception for Network Call failures
18
+ *
19
+ * @since 1.5.3
20
+ * @package AmazonAssociatesLinkBuilder
21
+ * @subpackage AmazonAssociatesLinkBuilder/exceptions
22
+ */
23
+ class Network_Call_Failure_Exception extends Exception {
24
+ public function errorMessage() {
25
+ return 'Network call Error on line '.$this->getLine().' in '.$this->getFile() .':' . $this->getMessage();
26
+ }
27
+ }
exceptions/unexpected_network_response_exception.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
+
6
+ Licensed under the GNU General Public License as published by the Free Software Foundation,
7
+ Version 2.0 (the "License"). You may not use this file except in compliance with the License.
8
+ A copy of the License is located in the "license" file accompanying this file.
9
+
10
+ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11
+ either express or implied. See the License for the specific language governing permissions
12
+ and limitations under the License.
13
+ */
14
+
15
+ /**
16
+ *
17
+ * Custom Exception for Unexpected Network Response
18
+ *
19
+ * @since 1.5.3
20
+ * @package AmazonAssociatesLinkBuilder
21
+ * @subpackage AmazonAssociatesLinkBuilder/exceptions
22
+ */
23
+ class Unexpected_Network_Response_Exception extends Exception {
24
+ public function errorMessage() {
25
+ return 'Unxpected Response Error on line '.$this->getLine().' in '.$this->getFile() .':' . $this->getMessage();
26
+ }
27
+ }
includes/aalb_autoloader.php CHANGED
@@ -54,6 +54,8 @@ class Aalb_Autoloader {
54
  new self( AALB_LIBRARY_DIR );
55
  new self( AALB_SIDEBAR_HELPER_DIR );
56
  new self( AALB_IP_2_COUNTRY_DIR );
 
 
57
  }
58
 
59
  /**
54
  new self( AALB_LIBRARY_DIR );
55
  new self( AALB_SIDEBAR_HELPER_DIR );
56
  new self( AALB_IP_2_COUNTRY_DIR );
57
+ new self( AALB_EXCEPTIONS_DIR );
58
+ new self( AALB_IO_DIR );
59
  }
60
 
61
  /**
includes/aalb_compatibility_helper.php CHANGED
@@ -19,6 +19,9 @@ and limitations under the License.
19
  * @since 1.4.3
20
  * @package AmazonAssociatesLinkBuilder
21
  * @subpackage AmazonAssociatesLinkBuilder/includes
 
 
 
22
  */
23
  class Aalb_Compatibility_Helper {
24
 
@@ -30,7 +33,7 @@ class Aalb_Compatibility_Helper {
30
  * @return bool is_php_version_compatible
31
  */
32
  private function is_php_version_compatible() {
33
- return version_compare(phpversion(), AALB_PLUGIN_MINIMUM_SUPPORTED_PHP_VERSION, ">=" );
34
  }
35
 
36
  /**
@@ -50,11 +53,11 @@ class Aalb_Compatibility_Helper {
50
  *
51
  * @since 1.4.3
52
  */
53
- public function incompatible_environment_message() {
54
- printf("<div class=\"notice notice-error\">
55
  <h3>Amazon Associates Link Builder Plugin Deactivated!</h3>
56
  <p><span style=\"color:red;\">%s plugin requires PHP Version %s or higher. You’re still on %s.</span>
57
- </p></div>", AALB_PLUGIN_NAME, AALB_PLUGIN_MINIMUM_SUPPORTED_PHP_VERSION, phpversion());
58
  }
59
 
60
  /**
@@ -63,19 +66,14 @@ class Aalb_Compatibility_Helper {
63
  * @since 1.4.3
64
  */
65
  public function aalb_deactivate() {
66
- $plugin = plugin_basename(AALB_PLUGIN_DIR .'amazon-associates-link-builder.php' );
67
-
68
- //To use functions is_plugin_active() and deactivate_plugins()
69
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
70
-
71
- if(is_plugin_active($plugin) ) {
72
- deactivate_plugins($plugin);
73
- //Remove action_links from admin page present below the plugin
74
- remove_filter( 'plugin_action_links_' . $plugin, 'aalb_add_action_links' );
75
- $aalb_admin_notice_manager = Aalb_Admin_Notice_Manager::getInstance();
76
- $aalb_admin_notice_manager->remove_all_notices();
77
- $aalb_admin_notice_manager->add_notice($this, 'incompatible_environment_message');
78
- }
79
  }
80
  }
 
81
  ?>
19
  * @since 1.4.3
20
  * @package AmazonAssociatesLinkBuilder
21
  * @subpackage AmazonAssociatesLinkBuilder/includes
22
+ *
23
+ * CAUTION: Any function present here should contain code that is compatible with at least PHP 5.3(even lower if possible) so
24
+ * that anyone not meeting compatibility requirements for min php versions gets deactivated successfully.
25
  */
26
  class Aalb_Compatibility_Helper {
27
 
33
  * @return bool is_php_version_compatible
34
  */
35
  private function is_php_version_compatible() {
36
+ return version_compare( phpversion(), AALB_PLUGIN_MINIMUM_SUPPORTED_PHP_VERSION, ">=" );
37
  }
38
 
39
  /**
53
  *
54
  * @since 1.4.3
55
  */
56
+ public function incompatible_environment_message() {
57
+ printf( "<div class=\"notice notice-error\">
58
  <h3>Amazon Associates Link Builder Plugin Deactivated!</h3>
59
  <p><span style=\"color:red;\">%s plugin requires PHP Version %s or higher. You’re still on %s.</span>
60
+ </p></div>", AALB_PLUGIN_NAME, AALB_PLUGIN_MINIMUM_SUPPORTED_PHP_VERSION, phpversion() );
61
  }
62
 
63
  /**
66
  * @since 1.4.3
67
  */
68
  public function aalb_deactivate() {
69
+ $plugin = plugin_basename( AALB_PLUGIN_DIR . 'amazon-associates-link-builder.php' );
70
+ deactivate_plugins( $plugin );
71
+ //Remove action_links from admin page present below the plugin
72
+ remove_filter( 'plugin_action_links_' . $plugin, 'aalb_add_action_links' );
73
+ $aalb_admin_notice_manager = Aalb_Admin_Notice_Manager::getInstance();
74
+ $aalb_admin_notice_manager->remove_all_notices();
75
+ $aalb_admin_notice_manager->add_notice( $this, 'incompatible_environment_message' );
 
 
 
 
 
 
76
  }
77
  }
78
+
79
  ?>
includes/aalb_deactivator.php CHANGED
@@ -18,6 +18,9 @@ and limitations under the License.
18
  * @since 1.0.0
19
  * @package AmazonAssociatesLinkBuilder
20
  * @subpackage AmazonAssociatesLinkBuilder/includes
 
 
 
21
  */
22
  class Aalb_Deactivator {
23
 
18
  * @since 1.0.0
19
  * @package AmazonAssociatesLinkBuilder
20
  * @subpackage AmazonAssociatesLinkBuilder/includes
21
+ *
22
+ * CAUTION: Any function present here should contain code that is compatible with at least PHP 5.3(even lower if possible) so
23
+ * that anyone not meeting compatibility requirements for min php versions gets deactivated successfully.
24
  */
25
  class Aalb_Deactivator {
26
 
includes/aalb_helper.php CHANGED
@@ -26,10 +26,10 @@ class Aalb_Helper {
26
  *
27
  * @since 1.0.0
28
  *
29
- * @param string $asins List of hyphen separated asins.
30
  * @param string $marketplace Marketplace of the asin to look into.
31
- * @param string $store The identifier of the store to be used for current adunit
32
- * @param string $template Template to render the display unit.
33
  *
34
  * @return string Template cache key.
35
  */
@@ -42,9 +42,9 @@ class Aalb_Helper {
42
  *
43
  * @since 1.0.0
44
  *
45
- * @param string $asins List of hyphen separated asins.
46
  * @param string $marketplace Marketplace of the asin to look into.
47
- * @param string $store The identifier of the store to be used for current adunit
48
  *
49
  * @return string Products information cache key.
50
  */
@@ -144,6 +144,7 @@ class Aalb_Helper {
144
  */
145
  function get_wordpress_version() {
146
  global $wp_version;
 
147
  return $wp_version;
148
  }
149
 
@@ -219,8 +220,9 @@ class Aalb_Helper {
219
  $this->aalb_initialize_wp_filesystem_api();
220
  $template_upload_path = $this->aalb_get_template_upload_path();
221
  if ( ! $wp_filesystem->is_dir( $template_upload_path ) && ! $this->aalb_create_dir( $template_upload_path ) ) {
222
- return false;
223
  }
 
224
  return $template_upload_path;
225
  }
226
 
@@ -243,6 +245,7 @@ class Aalb_Helper {
243
  public function aalb_get_uploads_dir_path() {
244
  global $wp_filesystem;
245
  $upload_dir = wp_upload_dir();
 
246
  //TODO: Reason for not using directly use $upload_dir['basedir'] instead of calling find_folder
247
  return $wp_filesystem->find_folder( $upload_dir['basedir'] );
248
  }
@@ -258,8 +261,10 @@ class Aalb_Helper {
258
  public function aalb_create_dir( $dir_path ) {
259
  if ( ! wp_mkdir_p( $dir_path ) ) {
260
  error_log( "Error Creating Dir " . $dir_path . ". Please set the folder permissions correctly." );
 
261
  return false;
262
  }
 
263
  return true;
264
  }
265
 
@@ -290,20 +295,34 @@ class Aalb_Helper {
290
  }
291
 
292
  /**
293
- * Add the aws key options into the database on activation.
294
- * This solves the problem of encryption as wordpress called an update option before calling
295
- * add option while sanitizing.
296
- * https://codex.wordpress.org/Function_Reference/register_setting
297
  *
298
  * @since 1.0.0
299
  */
300
- public function load_db_keys() {
301
- $this->init_option_if_empty( AALB_AWS_ACCESS_KEY, '' );
302
- $this->init_option_if_empty( AALB_AWS_SECRET_KEY, '' );
303
- $this->init_option_if_empty( AALB_STORE_IDS, '' );
304
- $this->init_option_if_empty( AALB_CUSTOM_UPLOAD_PATH, '' );
305
- $this->init_option_if_empty( AALB_GEOLITE_DB_EXPIRATION_TIME, 0 );
306
- $this->init_option_if_empty( AALB_GEOLITE_DB_LAST_UPDATED_TIME, 0 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
307
  }
308
 
309
  /**
@@ -319,6 +338,7 @@ class Aalb_Helper {
319
  update_option( $dbkey, $dbvalue );
320
  }
321
  }
 
322
  }
323
 
324
  ?>
26
  *
27
  * @since 1.0.0
28
  *
29
+ * @param string $asins List of hyphen separated asins.
30
  * @param string $marketplace Marketplace of the asin to look into.
31
+ * @param string $store The identifier of the store to be used for current adunit
32
+ * @param string $template Template to render the display unit.
33
  *
34
  * @return string Template cache key.
35
  */
42
  *
43
  * @since 1.0.0
44
  *
45
+ * @param string $asins List of hyphen separated asins.
46
  * @param string $marketplace Marketplace of the asin to look into.
47
+ * @param string $store The identifier of the store to be used for current adunit
48
  *
49
  * @return string Products information cache key.
50
  */
144
  */
145
  function get_wordpress_version() {
146
  global $wp_version;
147
+
148
  return $wp_version;
149
  }
150
 
220
  $this->aalb_initialize_wp_filesystem_api();
221
  $template_upload_path = $this->aalb_get_template_upload_path();
222
  if ( ! $wp_filesystem->is_dir( $template_upload_path ) && ! $this->aalb_create_dir( $template_upload_path ) ) {
223
+ return false;
224
  }
225
+
226
  return $template_upload_path;
227
  }
228
 
245
  public function aalb_get_uploads_dir_path() {
246
  global $wp_filesystem;
247
  $upload_dir = wp_upload_dir();
248
+
249
  //TODO: Reason for not using directly use $upload_dir['basedir'] instead of calling find_folder
250
  return $wp_filesystem->find_folder( $upload_dir['basedir'] );
251
  }
261
  public function aalb_create_dir( $dir_path ) {
262
  if ( ! wp_mkdir_p( $dir_path ) ) {
263
  error_log( "Error Creating Dir " . $dir_path . ". Please set the folder permissions correctly." );
264
+
265
  return false;
266
  }
267
+
268
  return true;
269
  }
270
 
295
  }
296
 
297
  /**
298
+ * Intialize the db_keys on every update if they are not initialized
 
 
 
299
  *
300
  * @since 1.0.0
301
  */
302
+ public function initialize_db_keys() {
303
+ $initial_db_config = $this->get_initial_db_keys_config();
304
+ foreach ( $initial_db_config as $db_key => $initial_value ) {
305
+ $this->init_option_if_empty( $db_key, $initial_value );
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Get db keys config as key-value pairs set initially
311
+ *
312
+ * @since 1.5.3
313
+ */
314
+ private function get_initial_db_keys_config() {
315
+ $upload_dir = wp_upload_dir();
316
+
317
+ return array(
318
+ AALB_CUSTOM_UPLOAD_PATH => $upload_dir['basedir'] . '/' . AALB_UPLOADS_FOLDER,
319
+ AALB_AWS_ACCESS_KEY => '',
320
+ AALB_AWS_SECRET_KEY => '',
321
+ AALB_STORE_IDS => '',
322
+ AALB_MAXMIND_DB_LAST_UPLOAD_PATH => get_option( AALB_CUSTOM_UPLOAD_PATH ),
323
+ AALB_GEOLITE_DB_DOWNLOAD_RETRY_ON_FAILURE_DURATION => AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_MIN,
324
+ AALB_GEOLITE_DB_DOWNLOAD_FAILED_ATTEMPTS => 0
325
+ );
326
  }
327
 
328
  /**
338
  update_option( $dbkey, $dbvalue );
339
  }
340
  }
341
+
342
  }
343
 
344
  ?>
includes/aalb_manager.php CHANGED
@@ -59,7 +59,7 @@ class Aalb_Manager {
59
  $this->hook_loader->add_action( 'admin_init', $aalb_sidebar, 'register_cred_config_group' );
60
  $this->hook_loader->add_action( 'admin_menu', $aalb_sidebar, 'register_sidebar_config_page' );
61
 
62
- $maxmind_db_manager = new Aalb_Maxmind_Db_Manager();
63
  $this->hook_loader->add_action( 'plugins_loaded', $maxmind_db_manager, 'update_db_if_required' );
64
  }
65
 
59
  $this->hook_loader->add_action( 'admin_init', $aalb_sidebar, 'register_cred_config_group' );
60
  $this->hook_loader->add_action( 'admin_menu', $aalb_sidebar, 'register_sidebar_config_page' );
61
 
62
+ $maxmind_db_manager = new Aalb_Maxmind_Db_Manager( get_option( AALB_CUSTOM_UPLOAD_PATH ), new Aalb_Curl_Request(), new Aalb_File_System_Helper() );
63
  $this->hook_loader->add_action( 'plugins_loaded', $maxmind_db_manager, 'update_db_if_required' );
64
  }
65
 
includes/aalb_remote_loader.php CHANGED
@@ -67,8 +67,7 @@ class Aalb_Remote_Loader {
67
  if( strpos ( $error_message, CURL_ERROR_TIMEOUT_STRING ) !== false ) {
68
  throw new Exception( HTTP_TIME_OUT );
69
  }
70
- /* translators: %s: Error message */
71
- throw new Exception( sprintf( esc_html__( 'HTTP Request failed! %s', 'amazon-associates-link-builder' ), $error_message ) );
72
  }
73
  $code = $response['response']['code'];
74
  if ( $code != HTTP_SUCCESS ) {
@@ -76,7 +75,7 @@ class Aalb_Remote_Loader {
76
  }
77
  $response_body = wp_remote_retrieve_body( $response );
78
  if ( ! isset( $response_body ) || trim( $response_body ) === '' ) {
79
- throw new Exception( esc_html__( 'Response body is empty', 'amazon-associates-link-builder' ) );
80
  }
81
 
82
  return $response_body;
67
  if( strpos ( $error_message, CURL_ERROR_TIMEOUT_STRING ) !== false ) {
68
  throw new Exception( HTTP_TIME_OUT );
69
  }
70
+ throw new Exception( 'HTTP Request failed! %s', 'amazon-associates-link-builder' );
 
71
  }
72
  $code = $response['response']['code'];
73
  if ( $code != HTTP_SUCCESS ) {
75
  }
76
  $response_body = wp_remote_retrieve_body( $response );
77
  if ( ! isset( $response_body ) || trim( $response_body ) === '' ) {
78
+ throw new Exception( 'Response body is empty', 'amazon-associates-link-builder' );
79
  }
80
 
81
  return $response_body;
io/aalb_curl_request.php ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+
5
+ Licensed under the GNU General Public License as published by the Free Software Foundation,
6
+ Version 2.0 (the "License"). You may not use this file except in compliance with the License.
7
+ A copy of the License is located in the "license" file accompanying this file.
8
+
9
+ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
10
+ either express or implied. See the License for the specific language governing permissions
11
+ and limitations under the License.
12
+ */
13
+
14
+ /**
15
+ *
16
+ * Wrapper class over PHP curl Request
17
+ *
18
+ * @since 1.5.3
19
+ * @package AmazonAssociatesLinkBuilder
20
+ * @subpackage AmazonAssociatesLinkBuilder/io
21
+ */
22
+ class Aalb_Curl_Request {
23
+
24
+ /*
25
+ * Get last modified time of a file from a remote url
26
+ *
27
+ * @since 1.5.3
28
+ *
29
+ * @param $url URL of remote file
30
+ *
31
+ * @return string last_modified_date on success else an Exception
32
+ *
33
+ * @throws Unexpected_Network_Response_Exception if response is not as expeced and contains undefined values
34
+ *
35
+ */
36
+ public function get_last_modified_date_of_remote_file( $url ) {
37
+ $response = wp_remote_head( $url );
38
+ $headers = wp_remote_retrieve_headers( $response );
39
+ if ( ! empty( $headers ) && isset( $headers['last-modified'] ) ) {
40
+ return $headers['last-modified'];
41
+ } else {
42
+ throw new Unexpected_Network_Response_Exception();
43
+ }
44
+ }
45
+
46
+ /*
47
+ * Downloads file from a remote url to a temporary files
48
+ *
49
+ * @since 1.5.3
50
+ *
51
+ * @param $url URL of remote file
52
+ *
53
+ * @return string temporray file after downloading from remote url
54
+ *
55
+ * @throws Network_Call_Failure_Exception if execution failed
56
+ *
57
+ */
58
+ public function download_file_to_temporary_file( $url ) {
59
+ $tmp_file = download_url( $url );
60
+ if ( is_wp_error( $tmp_file ) ) {
61
+ throw new Network_Call_Failure_Exception( "WP_ERROR: " . $tmp_file->get_error_message() );
62
+ }
63
+
64
+ return $tmp_file;
65
+ }
66
+ }
io/aalb_file_system_helper.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+
5
+ Licensed under the GNU General Public License as published by the Free Software Foundation,
6
+ Version 2.0 (the "License"). You may not use this file except in compliance with the License.
7
+ A copy of the License is located in the "license" file accompanying this file.
8
+
9
+ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
10
+ either express or implied. See the License for the specific language governing permissions
11
+ and limitations under the License.
12
+ */
13
+
14
+ /**
15
+ *
16
+ * I/O operation related to File System
17
+ *
18
+ * @since 1.5.3
19
+ * @package AmazonAssociatesLinkBuilder
20
+ * @subpackage AmazonAssociatesLinkBuilder/io
21
+ */
22
+
23
+ class Aalb_File_System_Helper {
24
+ /*
25
+ * Write file to disk
26
+ */
27
+ public function write_a_gzipped_file_to_disk( $outFile, $tmp_file ) {
28
+ $current_file = fopen( $outFile, 'w' );
29
+ $donwloaded_file = gzopen( $tmp_file, 'r' );
30
+ while ( ( $string = gzread( $donwloaded_file, 4096 ) ) != false ) {
31
+ fwrite( $current_file, $string, strlen( $string ) );
32
+ }
33
+ gzclose( $donwloaded_file );
34
+ fclose( $current_file );
35
+ unlink( $tmp_file );
36
+ }
37
+ }
ip2country/aalb_customer_country.php CHANGED
@@ -25,14 +25,10 @@ use GeoIp2\Database\Reader;
25
  class Aalb_Customer_Country {
26
  private $customer_ip_address;
27
  private $helper;
28
- private $maxmind_db_manager;
29
- private $credentials_helper;
30
 
31
  public function __construct() {
32
  $this->customer_ip_address = new Aalb_Customer_Ip_Address();
33
  $this->helper = new Aalb_Helper();
34
- $this->maxmind_db_manager = new Aalb_Maxmind_Db_Manager();
35
- $this->credentials_helper = new Aalb_Credentials_Helper();
36
  }
37
 
38
  /**
@@ -43,11 +39,11 @@ class Aalb_Customer_Country {
43
  * @return string Country of the customer
44
  */
45
  public function get_country_iso_code() {
46
- $ip = $this->customer_ip_address->get();
47
  $country_code = "";
48
  $reader = $this->get_reader();
49
  if ( $reader ) {
50
  try {
 
51
  $record = $reader->country( $ip );
52
  $country_code = $record->country->isoCode;
53
  //In the ISO code list, "GB" is used to refer to "UK" but since in Amazon we call it UK, so override that
@@ -69,14 +65,14 @@ class Aalb_Customer_Country {
69
  * @return Reader Instance of Reader class of Maxmind
70
  */
71
  private function get_reader() {
72
- $maxmind_db_file = $this->get_maxmind_db_file();
73
  $reader = null;
74
- if ( $maxmind_db_file ) {
75
- try {
76
- $reader = new Reader( $maxmind_db_file );
77
- } catch ( Exception $e ) {
78
- error_log( "Aalb_Customer_Country:get_reader failed." . $e->getMessage() );
79
  }
 
 
80
  }
81
 
82
  return $reader;
@@ -87,23 +83,13 @@ class Aalb_Customer_Country {
87
  *
88
  * @since 1.5.0
89
  *
90
- * @return String Maxmind db file name with complete path
91
  */
92
- private function get_maxmind_db_file() {
93
- $maxmind_file = $this->maxmind_db_manager->db_file_path;
94
- try {
95
- if ( ! file_exists( $maxmind_file ) || ! is_readable( $maxmind_file ) ) {
96
- $maxmind_file = null;
97
- if ( $this->credentials_helper->is_more_than_one_marketplaces_configured() ) {
98
- $this->helper->show_error_in_preview( sprintf( esc_html__( "Maxmind DB file doesn't exist or is not readable. Please check & give appropriate read & write permissions to:%s. Go to plugin's Settings page for more details.", 'amazon-associates-link-builder' ), $this->maxmind_db_manager->db_upload_dir ) );
99
- error_log( "Maxmind DB file doesn't exist or is not readable. Please check & give appropriate read & write permissions to:" . $this->maxmind_db_manager->db_upload_dir . "Go to plugin's settings page for more details" );
100
- }
101
- }
102
- } catch ( Exception $e ) {
103
- error_log( "Get Aalb_Customer_Country:get_maxmind_db_file failed" . $e->getMessage() );
104
- }
105
 
106
- return $maxmind_file;
107
  }
108
  }
 
109
  ?>
25
  class Aalb_Customer_Country {
26
  private $customer_ip_address;
27
  private $helper;
 
 
28
 
29
  public function __construct() {
30
  $this->customer_ip_address = new Aalb_Customer_Ip_Address();
31
  $this->helper = new Aalb_Helper();
 
 
32
  }
33
 
34
  /**
39
  * @return string Country of the customer
40
  */
41
  public function get_country_iso_code() {
 
42
  $country_code = "";
43
  $reader = $this->get_reader();
44
  if ( $reader ) {
45
  try {
46
+ $ip = $this->customer_ip_address->get();
47
  $record = $reader->country( $ip );
48
  $country_code = $record->country->isoCode;
49
  //In the ISO code list, "GB" is used to refer to "UK" but since in Amazon we call it UK, so override that
65
  * @return Reader Instance of Reader class of Maxmind
66
  */
67
  private function get_reader() {
 
68
  $reader = null;
69
+ try {
70
+ $maxmind_db_file_path = $this->get_maxmind_db_file_path();
71
+ if ( ! empty( $maxmind_db_file_path ) ) {
72
+ $reader = new Reader( $maxmind_db_file_path );
 
73
  }
74
+ } catch ( Exception $e ) {
75
+ error_log( "Aalb_Customer_Country:get_reader failed." . $e->getMessage() );
76
  }
77
 
78
  return $reader;
83
  *
84
  * @since 1.5.0
85
  *
86
+ * @return String Maxmind db file name with complete path if file is readable else null
87
  */
88
+ private function get_maxmind_db_file_path() {
89
+ $maxmind_db_file_path = get_option( AALB_CUSTOM_UPLOAD_PATH ) . AALB_MAXMIND_DATA_FILENAME;
 
 
 
 
 
 
 
 
 
 
 
90
 
91
+ return ( file_exists( $maxmind_db_file_path ) && is_readable( $maxmind_db_file_path ) ) ? $maxmind_db_file_path : null;
92
  }
93
  }
94
+
95
  ?>
ip2country/aalb_maxmind_db_manager.php CHANGED
@@ -21,243 +21,249 @@ and limitations under the License.
21
  * @subpackage AmazonAssociatesLinkBuilder/ip2country
22
  */
23
  class Aalb_Maxmind_Db_Manager {
 
 
 
 
24
 
25
- public $db_upload_dir;
26
- public $db_file_path;
27
-
28
- public function __construct() {
29
- $this->db_upload_dir = $this->get_db_file_dir();
30
- $this->db_file_path = $this->db_upload_dir . MAXMIND_DATA_FILENAME;
31
  clearstatcache( true, $this->db_file_path );
32
  }
33
 
34
- /**
35
- * Downloads & updates the maxmind db file(GeoLite2 Country)
36
- *
37
- * @argument HTTP Response $response
38
  *
39
- * @since 1.5.0
40
  *
 
41
  */
42
- private function update_db( $response ) {
43
- try {
44
- $outFile = $this->db_file_path;
45
- $tmp_file = $response["tmpfname"];
46
- $current_file = fopen( $outFile, 'w' );
47
- $donwloaded_file = gzopen( $tmp_file, 'r' );
48
- while ( ( $string = gzread( $donwloaded_file, 4096 ) ) != false ) {
49
- fwrite( $current_file, $string, strlen( $string ) );
 
 
 
 
 
 
 
 
 
50
  }
51
- gzclose( $donwloaded_file );
52
- fclose( $current_file );
53
- unlink( $tmp_file );
54
- update_option( AALB_GEOLITE_DB_LAST_UPDATED_TIME, strtotime( wp_remote_retrieve_header( $response["response"], 'Last-Modified' ) ) );
55
- } catch ( Exception $e ) {
56
- error_log( "Error in maxmind_db_manager:update_db:::" . $e->getMessage() );
57
- throw $e;
58
  }
59
- }
60
 
61
- /*
62
- * It checks if the GeoLite Db downloaded file has expired and call for update
63
- *
64
- * @since 1.5.0
65
- *
66
- */
67
- public function update_db_if_required() {
68
- $this->reset_db_keys_if_required();
69
- if ( $this->is_db_expired() ) {
70
- $this->check_and_update_db();
71
- }
72
  }
73
 
74
  /*
75
- * It checks if the GeoLite Db has expired
76
  *
77
- * @since 1.5.0
78
  *
 
 
 
79
  */
80
- private function is_db_expired() {
81
- return ( get_option( AALB_GEOLITE_DB_EXPIRATION_TIME ) == "" || get_option( AALB_GEOLITE_DB_EXPIRATION_TIME ) < time() );
82
  }
83
 
84
  /*
85
- * It checks if the GeoLite Db update is required and calls for update
86
  *
87
  * @since 1.5.0
88
  *
89
  */
90
- private function check_and_update_db() {
91
  try {
92
- $response = $this->get_db();
93
- if ( $response ) {
94
- if ( $this->should_update_db( $response["response"] ) ) {
95
- $this->update_db( $response );
 
 
 
 
96
  }
97
- update_option( AALB_GEOLITE_DB_EXPIRATION_TIME, strtotime( wp_remote_retrieve_header( $response["response"] , 'expires' ) ) );
98
  }
99
- }
100
- catch ( Exception $e ) {
101
- error_log( "Error in maxmind_db_manager:should_update_db:::" . $e->getMessage() );
 
 
 
102
  }
103
  }
104
 
105
- /*
106
- * It downloads the db file
107
  *
108
- * @since 1.5.0
 
 
109
  *
110
- * @return geolite db on success else null
111
  *
112
  */
113
- private function get_db() {
114
- try {
115
- $response = $this->verify_response( $this->customized_download_url( AALB_GEOLITE_COUNTRY_DB_DOWNLOAD_URL ) );
116
- } catch ( Exception $e ) {
117
- $response = null;
118
- error_log( "Error in maxmind_db_manager:get_db:::" . $e->getMessage() );
119
- }
120
-
121
- return $response;
122
  }
123
 
124
- /*
125
- * It verifies the HTTP response.
 
126
  *
127
- * @argument HTTP_RESPONSE $response
128
  *
129
- * @since 1.5.2
130
  *
131
- * @return HTTP_RESPONSE $response
132
- */
133
- private function verify_response( $response ) {
134
- if ( is_wp_error( $response ) ) {
135
- throw new Exception( "WP_ERROR: " . $response->get_error_message() );
136
- } else if ( ! is_array( $response ) || ! array_key_exists( "response", $response ) || ! array_key_exists( "tmpfname", $response ) ) {
137
- throw new Exception( "Either the output is not an array or the one of the keys, response or tmpfname doesn't exist" );
138
- } else {
139
- $http_response = $response['response'];
140
- //Below sis reponse code returned by HTTP response
141
- $code = $http_response['response']['code'];
142
- if ( $code != HTTP_SUCCESS ) {
143
- throw new Exception( $code );
144
- }
145
- }
146
-
147
- return $response;
148
  }
149
 
150
  /*
151
- * It reset the db keys if required
152
  *
153
  * @since 1.5.0
154
  *
155
  */
156
  private function reset_db_keys_if_required() {
157
- if ( $this->should_write_new_db_file() ) {
158
- update_option( AALB_GEOLITE_DB_EXPIRATION_TIME, 0 );
159
- update_option( AALB_GEOLITE_DB_LAST_UPDATED_TIME, 0 );
 
160
  }
161
  }
162
 
163
  /*
164
- * It checks if writing a new db file operation should be done
165
  *
166
- * @since 1.5.0
 
 
167
  *
168
  */
169
- private function should_write_new_db_file() {
170
- return ( ! file_exists( $this->db_file_path ) && is_writable( $this->db_upload_dir ) );
 
 
 
 
171
  }
172
 
173
  /*
174
- * It does basic checks regarding read/write persmissions and then check if update is required
175
- *
176
- * @param HTTPResponse $response
177
- *
178
- * @since 1.5.0
179
- *
180
- * @bool True if geolite db should be updated
181
- */
182
- private function should_update_db( $response ) {
183
- return ( $this->should_write_new_db_file() || ( is_writable( $this->db_file_path ) && $this->is_version_updated( $response ) ) );
184
  }
185
 
186
- /**
187
- * It sets the absolute path of the directory where db file is present
188
- *
189
- * @return string database directory absolute path
190
  *
191
  * @since 1.5.0
192
  *
 
193
  */
194
- private function get_db_file_dir() {
195
- $file_dir_path = get_option( AALB_CUSTOM_UPLOAD_PATH );
196
- if ( $file_dir_path == "" ) {
197
- $file_dir_path = wp_upload_dir()['basedir'] . '/' . AALB_UPLOADS_FOLDER;
198
- }
199
-
200
- return $file_dir_path;
201
  }
202
 
203
  /*
204
- * It checks if the newer version of GeoLite Db file is present
205
  *
206
  * @ since 1.5.0
207
  *
208
  * @return bool True if geolite db's newer version is available
209
  */
210
- private function is_version_updated( $response ) {
211
- return ( get_option( AALB_GEOLITE_DB_LAST_UPDATED_TIME ) == '' ) || ( strtotime( wp_remote_retrieve_header( $response, 'Last-Modified' ) ) > get_option( AALB_GEOLITE_DB_LAST_UPDATED_TIME ) );
212
  }
213
 
214
  /**
215
- * Downloads a URL to a local temporary file using the WordPress HTTP Class.
216
- * Please note, That the calling function must unlink() the file.
217
- * Modified from download_url() that is located in wp-admin/includes/file.php. Just changed the response returned
218
  *
219
- * @since 1.5.0
220
  *
221
- * @param string $url the URL of the file to download
222
- * @param int $timeout The timeout for the request to download the file default 300 seconds
223
  *
224
- * @return mixed WP_Error on failure, Array of reponse & filename on success
225
  */
226
- function customized_download_url( $url, $timeout = 300 ) {
227
- //WARNING: The file is not automatically deleted, The script must unlink() the file.
228
- if ( ! $url )
229
- return new WP_Error( 'http_no_url', __( 'Invalid URL Provided.' ) );
230
-
231
- $url_filename = basename( parse_url( $url, PHP_URL_PATH ) );
232
-
233
- $tmpfname = wp_tempnam( $url_filename );
234
- if ( ! $tmpfname )
235
- return new WP_Error( 'http_no_file', __( 'Could not create Temporary file.' ) );
236
-
237
- $response = wp_safe_remote_get( $url, array( 'timeout' => $timeout, 'stream' => true, 'filename' => $tmpfname ) );
238
-
239
- if ( is_wp_error( $response ) ) {
240
- unlink( $tmpfname );
241
-
242
- return $response;
243
  }
 
244
 
245
- if ( 200 != wp_remote_retrieve_response_code( $response ) ) {
246
- unlink( $tmpfname );
247
-
248
- return new WP_Error( 'http_404', trim( wp_remote_retrieve_response_message( $response ) ) );
 
 
 
 
 
 
 
249
  }
 
 
250
 
251
- $content_md5 = wp_remote_retrieve_header( $response, 'content-md5' );
252
- if ( $content_md5 ) {
253
- $md5_check = verify_file_md5( $tmpfname, $content_md5 );
254
- if ( is_wp_error( $md5_check ) ) {
255
- unlink( $tmpfname );
256
 
257
- return $md5_check;
258
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  }
260
- return array( "tmpfname" => $tmpfname, "response" => $response );
 
 
 
 
 
 
 
 
 
 
261
  }
262
  }
263
 
21
  * @subpackage AmazonAssociatesLinkBuilder/ip2country
22
  */
23
  class Aalb_Maxmind_Db_Manager {
24
+ private $db_upload_dir;
25
+ private $db_file_path;
26
+ private $curl_request_obj;
27
+ private $file_system_helper;
28
 
29
+ public function __construct( $db_upload_dir, Aalb_Curl_Request $curl_request_obj, Aalb_File_System_Helper $file_system_helper ) {
30
+ $this->curl_request_obj = $curl_request_obj;
31
+ $this->file_system_helper = $file_system_helper;
32
+ $this->db_upload_dir = $db_upload_dir;
33
+ $this->db_file_path = $this->db_upload_dir . AALB_MAXMIND_DATA_FILENAME;
 
34
  clearstatcache( true, $this->db_file_path );
35
  }
36
 
37
+ /*
38
+ * Returns the error message if any in updating maxmind database. On success it returns an empty string
 
 
39
  *
40
+ * @return String Error_message if any else empty string if no error
41
  *
42
+ * @since 1.5.3
43
  */
44
+ public function get_error_message() {
45
+ $error_msg = "";
46
+ if ( ! file_exists( $this->db_file_path ) ) {
47
+ if ( ! is_writable( $this->db_upload_dir ) ) {
48
+ $error_msg = sprintf( esc_html__( "WordPress does not have permissions to write to the \"Downloads Folder\" (%s). Please grant permissions or pick a different folder from the Amazon Associates Link Builder plugin's settings page, otherwise your links to Amazon might not display correctly.", 'amazon-associates-link-builder' ), $this->db_upload_dir );
49
+ } else {
50
+ $error_msg = sprintf( __( "WordPress could not find file %1s at \"DownloadsFolder\"(%2s), so geo-targeted links will not work correctly. This file can be downloaded from <a href=%2s>here</a>", 'amazon-associates-link-builder' ), AALB_MAXMIND_DATA_FILENAME, $this->db_upload_dir, AALB_GEOLITE_DB_DOWNLOAD_URL_FROM_MAXMIND_SERVER );
51
+ }
52
+ } else {
53
+ if ( ! is_readable( $this->db_file_path ) ) {
54
+ $error_msg = sprintf( esc_html__( "WordPress could not read %s. Please grant read permissions, otherwise your links to Amazon might not display correctly.", 'amazon-associates-link-builder' ), $this->db_file_path );
55
+ } else if ( $this->get_file_age( $this->db_file_path ) > AALB_GEOLITE_DB_MAX_ALLOWED_AGE ) {
56
+ if ( ! is_writable( $this->db_file_path ) ) {
57
+ $error_msg = sprintf( __( "WordPress does not have write permissions to update the file(%s). Please grant write permissions, otherwise geo-targeted links may not work correctly.", 'amazon-associates-link-builder' ), $this->db_file_path );
58
+ } else {
59
+ $error_msg = sprintf( __( "WordPress could not update file(%1s) for geo-targeted links feature, so these links may not work correctly. This file can be downloaded from <a href=%2s>here</a>", 'amazon-associates-link-builder' ), $this->db_file_path, AALB_GEOLITE_DB_DOWNLOAD_URL_FROM_MAXMIND_SERVER );
60
+ }
61
  }
 
 
 
 
 
 
 
62
  }
 
63
 
64
+ return $error_msg;
 
 
 
 
 
 
 
 
 
 
65
  }
66
 
67
  /*
68
+ * Finds the age of file
69
  *
70
+ * @param String $file_path
71
  *
72
+ * @return int Age of file in seconds
73
+ *
74
+ * @since 1.5.3
75
  */
76
+ private function get_file_age( $file_path ) {
77
+ return time() - filemtime( $file_path );
78
  }
79
 
80
  /*
81
+ * It checks if the GeoLite Db downloaded file has expired and call for update
82
  *
83
  * @since 1.5.0
84
  *
85
  */
86
+ public function update_db_if_required() {
87
  try {
88
+ if ( $this->is_file_update_permissible() ) {
89
+ $this->reset_db_keys_if_required();
90
+ if ( time() >= get_option( AALB_GEOLITE_DB_DOWNLOAD_NEXT_RETRY_TIME ) ) {
91
+ if ( $this->should_update_db() ) {
92
+ $this->update_db();
93
+ }
94
+ $this->update_next_retry_time( AALB_SUCCESS );
95
+
96
  }
 
97
  }
98
+ } catch ( Network_Call_Failure_Exception $e ) {
99
+ $this->action_on_update_db_failure( $e->errorMessage() );
100
+ } catch ( Unexpected_Network_Response_Exception $e ) {
101
+ $this->action_on_update_db_failure( $e->errorMessage() );
102
+ } catch ( Exception $e ) {
103
+ $this->action_on_update_db_failure( "Unexpected Exception Ocurred" . $e->getMessage() );
104
  }
105
  }
106
 
107
+ /**
108
+ * Downloads & updates the maxmind db file(GeoLite2 Country)
109
  *
110
+ * @argument HTTP Response $response
111
+ *
112
+ * @throws Network_Call_Failure_Exception
113
  *
114
+ * @since 1.5.0
115
  *
116
  */
117
+ private function update_db() {
118
+ $tmp_file = $this->curl_request_obj->download_file_to_temporary_file( AALB_GEOLITE_COUNTRY_DB_DOWNLOAD_URL );
119
+ $this->file_system_helper->write_a_gzipped_file_to_disk( $this->db_file_path, $tmp_file );
 
 
 
 
 
 
120
  }
121
 
122
+
123
+ /**
124
+ * It logs the error message and updates next retry time
125
  *
126
+ * @param String Error message
127
  *
 
128
  *
129
+ * @since 1.5.3
130
+ *
131
+ **/
132
+ private function action_on_update_db_failure( $error_msg ) {
133
+ $this->log_error( $error_msg );
134
+ $this->update_next_retry_time( AALB_FAIL );
 
 
 
 
 
 
 
 
 
 
 
135
  }
136
 
137
  /*
138
+ * It checks if upload path has changed and in case of change, set lat upload path as new path, next retry time to 0 & reset failure counters
139
  *
140
  * @since 1.5.0
141
  *
142
  */
143
  private function reset_db_keys_if_required() {
144
+ if ( $this->is_upload_path_changed() ) {
145
+ update_option( AALB_MAXMIND_DB_LAST_UPLOAD_PATH, $this->db_upload_dir );
146
+ update_option( AALB_GEOLITE_DB_DOWNLOAD_NEXT_RETRY_TIME, 0 );
147
+ $this->reset_failure_counters();
148
  }
149
  }
150
 
151
  /*
152
+ * It checks if earlier upload permissions were not present but were given just before running this function
153
  *
154
+ * @return bool true if upload_permission_given_recently
155
+ *
156
+ * @since 1.5.3
157
  *
158
  */
159
+ private function is_file_update_permissible() {
160
+ if ( ! file_exists( $this->db_file_path ) ) {
161
+ return is_writable( $this->db_upload_dir );
162
+ } else {
163
+ return is_readable( $this->db_file_path ) && is_writable( $this->db_file_path );
164
+ }
165
  }
166
 
167
  /*
168
+ * It checks if upload path for maxmind db has changed
169
+ *
170
+ * @since 1.5.3
171
+ *
172
+ */
173
+ private function is_upload_path_changed() {
174
+ return $this->db_upload_dir !== get_option( AALB_MAXMIND_DB_LAST_UPLOAD_PATH );
 
 
 
175
  }
176
 
177
+ /*
178
+ * It checks if file is not present or if present, a newwer version is vavialble
 
 
179
  *
180
  * @since 1.5.0
181
  *
182
+ * @bool True if geolite db should be updated
183
  */
184
+ private function should_update_db() {
185
+ return ! file_exists( $this->db_file_path ) || ( $this->is_updated_version_available() );
 
 
 
 
 
186
  }
187
 
188
  /*
189
+ * It checks if the current version of GeoLite Db file's last modified date is greater than the time file was written in db
190
  *
191
  * @ since 1.5.0
192
  *
193
  * @return bool True if geolite db's newer version is available
194
  */
195
+ private function is_updated_version_available() {
196
+ return strtotime( $this->curl_request_obj->get_last_modified_date_of_remote_file( AALB_GEOLITE_COUNTRY_DB_DOWNLOAD_URL ) ) > filemtime( $this->db_file_path );
197
  }
198
 
199
  /**
200
+ * It updates the next retry time for downloading maxmind
 
 
201
  *
202
+ * @param String status SUCCESS or FAIL
203
  *
204
+ * @since 1.5.3
 
205
  *
 
206
  */
207
+ private function update_next_retry_time( $status ) {
208
+ if ( $status == AALB_SUCCESS ) {
209
+ update_option( AALB_GEOLITE_DB_DOWNLOAD_NEXT_RETRY_TIME, time() + AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_ON_SUCCESS );
210
+ $this->reset_failure_counters();
211
+ } else {
212
+ update_option( AALB_GEOLITE_DB_DOWNLOAD_NEXT_RETRY_TIME, time() + $this->get_next_retry_duration() );
 
 
 
 
 
 
 
 
 
 
 
213
  }
214
+ }
215
 
216
+ /**
217
+ * It returns the next-retry duration & also updates no. of failed attempts & failure_duration
218
+ *
219
+ * @since 1.5.3
220
+ *
221
+ */
222
+ private function get_next_retry_duration() {
223
+ $number_of_failed_attempts = get_option( AALB_GEOLITE_DB_DOWNLOAD_FAILED_ATTEMPTS );
224
+ $new_retry_duration = AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_MIN * pow( 2, $number_of_failed_attempts );
225
+ if ( $new_retry_duration > AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_MAX ) {
226
+ $new_retry_duration = AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_MAX;
227
  }
228
+ update_option( AALB_GEOLITE_DB_DOWNLOAD_FAILED_ATTEMPTS, $number_of_failed_attempts + 1 );
229
+ update_option( AALB_GEOLITE_DB_DOWNLOAD_RETRY_ON_FAILURE_DURATION, $new_retry_duration );
230
 
231
+ return $new_retry_duration;
232
+ }
 
 
 
233
 
234
+ /**
235
+ * It resets the failure counters for next retry
236
+ *
237
+ * @since 1.5.3
238
+ *
239
+ */
240
+ private function reset_failure_counters() {
241
+ update_option( AALB_GEOLITE_DB_DOWNLOAD_RETRY_ON_FAILURE_DURATION, AALB_GEOLITE_DB_DOWNLOAD_RETRY_DURATION_MIN );
242
+ update_option( AALB_GEOLITE_DB_DOWNLOAD_FAILED_ATTEMPTS, 0 );
243
+ }
244
+
245
+ /*
246
+ * Log error if allowed
247
+ *
248
+ * @param String error_msg
249
+ *
250
+ * @since 1.5.3
251
+ */
252
+ private function log_error( $error_msg ) {
253
+ if ( $this->should_log_error() ) {
254
+ error_log( $error_msg );
255
  }
256
+ }
257
+
258
+ /*
259
+ * Checks if error should be logged or not
260
+ *
261
+ * @return bool true if should_log_error
262
+ *
263
+ * @since 1.5.3
264
+ */
265
+ private function should_log_error() {
266
+ return current_user_can( 'activate_plugins' ) && is_admin();
267
  }
268
  }
269
 
languages/amazon-associates-link-builder-es_ES.mo CHANGED
Binary file
languages/amazon-associates-link-builder-es_ES.po CHANGED
@@ -1,559 +1,976 @@
1
- # Translation of Plugins - Amazon Associates Link Builder - Development (trunk) in Spanish (Spain)
2
- # This file is distributed under the same license as the Plugins - Amazon Associates Link Builder - Development (trunk) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2017-10-10 18:44+0530\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: Poedit 2.0.2\n"
11
- "Language: es\n"
12
- "Project-Id-Version: Plugins - Amazon Associates Link Builder - Development (trunk)\n"
13
- "POT-Creation-Date: \n"
14
- "Last-Translator: \n"
15
- "Language-Team: \n"
16
-
17
- #. translators: 1: Invalid associate id 2: Valid associate id
18
- #: shortcode/aalb_shortcode_helper.php:191
19
- msgid "The Associate tag %1s is not present in the list of valid tags. Associate tag has been updated to %2s. Please check your Associate tag selection or contact the administrator to add a new tag."
20
- msgstr "El tag de Afiliado %1s no aparece en la lista de tags válidos. El tag de Afiliado se ha actualizado a %2s. Por favor, comprueba tu selección de tags o contacta con el administrador para añadir uno nuevo."
 
21
 
22
- #. translators: 1: Invalid template name 2: Valid template name
23
- #: shortcode/aalb_shortcode_helper.php:168
24
- msgid "The template: %1s is invalid. Using default template %2s."
25
- msgstr "La plantilla: %1s no es válida. Utilizando la plantilla por defecto %2s."
 
 
 
26
 
27
- #. translators: %s: Invalid ASIN name
28
- #: shortcode/aalb_shortcode_helper.php:144
29
- msgid "The ASIN: %s is invalid."
30
- msgstr "El ASIN: %s no es válido."
31
 
32
- #: lib/php/aalb_validation_helper.php:102
33
- msgid "Associate Tag was not found. The sales will not be attributed to any store and you will not earn the associate fees for it. Please provide a valid Associate Tag if you wish to earn the referral fees. Assocaite Tags can be configured from the 'Settings' tab in the WordPress administration panel"
34
- msgstr "No se encontró un tag de Afiliado. Las venta no se atribuirán a ninguna tienda y no cobrarás comisiones de publicidad por ellas. Por favor, introduce un tag de Afiliado válido para cobrar comisiones por redirección. Los tags de Afiliado se pueden configurar desde la pestaña ‘Ajustes’ en el panel de control de WordPress"
35
 
36
- #. translators: %s: Email-id of the support
37
- #: lib/php/Paapi/aalb_paapi_helper.php:127
38
- msgid "Request timed out. Try again after some time. Please check you network and firewall settings. If the error still persists, write to us at %s."
39
- msgstr "El tiempo de respuesta expiró. El tiempo de espera se agotó. Por favor, vuelve a intentarlo pasados unos minutos. Te rogamos que compruebes tu conexión y la configuración de tu firewall. Si el problema persiste, escríbenos a %s."
40
 
41
- #. translators: 1: URL of PA-API efficiency guidelines page 2: _blank
42
- #: lib/php/Paapi/aalb_paapi_helper.php:124
43
- msgid "You are submitting requests too quickly. Please retry your requests at a slower rate. For more information, see <a href=%1s target=%2s>Efficiency Guidelines</a>."
44
- msgstr "Estas realizando peticiones demasiado rápidamente. Por favor, vuelve a enviar tus peticiones a un ritmo más lento. Para mayor información, revisa las <a href=%1s target=%2s>Recomendaciones de eficiencia</a>."
45
 
46
- #: lib/php/Paapi/aalb_paapi_helper.php:121
47
- msgid "Internal server error"
48
- msgstr "Error interno del servidor"
49
 
50
- #. translators: 1: URL of PA-API sign-up page 2: _blank
51
- #: lib/php/Paapi/aalb_paapi_helper.php:117
52
- #: lib/php/Paapi/aalb_paapi_helper.php:119
53
- msgid "Your AccessKey Id is not registered for Product Advertising API. Please sign up for Product Advertising API by <a href=%1s target=%2s>following these guidelines</a>."
54
- msgstr "Tu ID de clave de acceso no está registrada en la API de anuncio de productos. Por favor, regístrate en la API <a href=%1s target=%2s>siguiendo estas directrices</a>."
55
 
56
- #. translators: 1: URL of Associate sign-up page 2: _blank 3:URL of adding
57
- #. secondary user page 4: _blank
58
- #: lib/php/Paapi/aalb_paapi_helper.php:114
59
- msgid "Your AWS Access Key Id is not registered as an Amazon Associate. Please verify that you are <a href=%1s target=%2s>registered as an Amazon Associate</a> in respective locale and you added the email address registered for the Product Advertising API as a <a href=%3s target=%4s>secondary email address in your Amazon Associates account</a>."
60
- msgstr "Tu ID de Clave de Acceso AWS no está registrada como perteneciente a un Afiliado de Amazon. Por favor, comprueba que estás debidamente <a href=%1s target=%2s>registrado como Afiliado de Amazon</a>en el programa adecuado y que añadiste la dirección de correo electrónico registrada para la API como <a href=%3s target=%4s>dirección de correo secundaria en tu cuenta de Afiliado</a>."
61
 
62
- #: includes/aalb_remote_loader.php:79
63
- msgid "Response body is empty"
64
- msgstr "El cuerpo de la respuesta está vacío"
 
 
65
 
66
- #. translators: %s: Error message
67
- #: includes/aalb_remote_loader.php:71
68
- msgid "HTTP Request failed! %s"
69
- msgstr "¡La petición HTTP falló! %s"
70
 
71
- #. translators: %s: Success message
72
- #: admin/sidebar/partials/aalb_ui_common.php:34
73
- msgid "SUCCESS - %s"
74
- msgstr "COMPLETADO - %s"
75
 
76
- #. translators: %s: Error message
77
- #: admin/sidebar/partials/aalb_ui_common.php:29
78
- msgid "ERROR - %s"
79
- msgstr "ERROR - %s"
80
 
81
- #. translators: %s: Warning message
82
- #: admin/sidebar/partials/aalb_ui_common.php:24
83
- msgid "WARNING - %s"
84
- msgstr "ATENCIÓN - %s"
 
 
 
85
 
86
- #. translators: %s: Information message
87
- #: admin/sidebar/partials/aalb_ui_common.php:19
88
- msgid "INFO - %s"
89
- msgstr "INFORMACIÓN - %s"
 
 
90
 
91
- #: admin/sidebar/partials/aalb_templates.php:259
92
- msgid "Remove"
93
- msgstr "Eliminar"
94
 
95
- #: admin/sidebar/partials/aalb_templates.php:258
96
- msgid "Save"
97
- msgstr "Guardar"
98
 
99
- #: admin/sidebar/partials/aalb_templates.php:251
100
- msgid "Add CSS for your template"
101
- msgstr "Añadir CSS a tu plantilla"
102
 
103
- #: admin/sidebar/partials/aalb_templates.php:245
104
- msgid "Add HTML for your template"
105
- msgstr "Añadir HTML a tu plantilla"
106
 
107
- #: admin/sidebar/partials/aalb_templates.php:241
108
- msgid "Guide for creating custom templates"
109
- msgstr "Guía para crear plantillas personalizadas"
 
 
 
 
 
110
 
111
- #: admin/sidebar/partials/aalb_templates.php:235
112
- msgid "Set a name for your template"
113
- msgstr "Selecciona un nombre para tu plantilla"
114
 
115
- #: admin/sidebar/partials/aalb_templates.php:230
116
- msgid "Clone"
117
- msgstr "Clonar"
118
 
119
- #: admin/sidebar/partials/aalb_templates.php:221
120
- msgid "Create new template"
121
- msgstr "Crear nueva plantilla"
122
 
123
- #: admin/sidebar/partials/aalb_templates.php:217
124
- msgid "Select Template"
125
- msgstr "Seleccionar plantilla"
126
 
127
- #: admin/sidebar/partials/aalb_templates.php:212
128
- msgid "Templates for Associates Link Builder"
129
- msgstr "Plantillas para el Creador de enlaces de Afiliado"
130
 
131
- #: admin/sidebar/partials/aalb_templates.php:194
132
- msgid "Cannot remove new template. Please select a valid template to remove."
133
- msgstr "No se puede eliminar una plantilla nueva. Por favor, selecciona una plantilla válida para eliminar."
134
 
135
- #: admin/sidebar/partials/aalb_templates.php:191
136
- msgid "Couldn't remove Default Template"
137
- msgstr "No se pudo eliminar la plantilla por defecto"
 
 
138
 
139
- #. translators: %s: Name of the template along with complete path
140
- #: admin/sidebar/partials/aalb_templates.php:185
141
- msgid "Couldn't remove Template CSS. Please manually remove %s"
142
- msgstr "No se pudo eliminar la plantilla CSS. Por favor, eliminar manualmente %s"
143
 
144
- #: admin/sidebar/partials/aalb_templates.php:182
145
- msgid "Successfully removed Template CSS"
146
- msgstr "La plantilla CSS se eliminó con éxito"
 
147
 
148
- #. translators: %s: Name of the template along with absolute file path
149
- #: admin/sidebar/partials/aalb_templates.php:179
150
- msgid "Couldn't remove Template HTML. Please manually remove %s"
151
- msgstr "No se pudo eliminar la plantilla HTML. Por favor, eliminar manualmente %s"
152
 
153
- #: admin/sidebar/partials/aalb_templates.php:176
154
- msgid "Successfully removed Template HTML"
155
- msgstr "La plantilla HTML se eliminó con éxito"
156
 
157
- #. translators: %s: Name of the template
158
- #: admin/sidebar/partials/aalb_templates.php:141
159
- msgid "Save Failed. A template with the name %s already exists. Please specify some other name for the template"
160
- msgstr "Error al guardar. Ya existe una plantilla de nombre %s. Por favor, elige otro nombre para la plantilla"
 
 
161
 
162
- #. translators: %s: Path of upload directory
163
- #: admin/sidebar/partials/aalb_templates.php:136
164
- msgid "Failed to create custom template. Please set up recursive Read-Write permissions for %s"
165
- msgstr "Error al crear la plantilla personalizada. Por favor, configura los permisos de lectura y escritura para %s"
 
 
 
 
166
 
167
- #: admin/sidebar/partials/aalb_templates.php:132
168
- msgid "Save Failed. Only alphanumeric characters allowed for template name."
169
- msgstr "Error al guardar. Solo se admiten caracteres alfanuméricos en el nombre de la plantilla."
 
 
 
 
 
170
 
171
- #: admin/sidebar/partials/aalb_templates.php:129
172
- msgid "Please define the template name for the new template"
173
- msgstr "Por favor, define el nombre de plantilla para la nueva plantilla"
 
 
 
 
 
174
 
175
- #. translators: 1: Number of templates 2: Name of deleted templates
176
- #: admin/sidebar/partials/aalb_templates.php:103
177
- msgid "%1s template(s) deleted: %2s"
178
- msgstr "%1s plantilla(s) eliminada(s): %2s"
179
 
180
- #. translators: 1: Number of templates 2: Name of added templates
181
- #: admin/sidebar/partials/aalb_templates.php:99
182
- msgid "%1s template(s) added: %2s"
183
- msgstr "%1s plantilla(s) añadida(s): %2s"
184
 
185
- #: admin/sidebar/partials/aalb_templates.php:77
186
- msgid "Template Saved Successfully"
187
- msgstr "Plantilla guardada con éxito"
188
 
189
- #. translators: %s for fileName
190
- #: admin/sidebar/partials/aalb_templates.php:51
191
- msgid "Save Failed. Error writing contents to file: %s"
192
- msgstr "Error al guardar. Se produjo un error al escribir los contenidos en el archivo: %s"
193
 
194
- #. translators: %s for fileName
195
- #: admin/sidebar/partials/aalb_templates.php:31
196
- msgid "Save Failed. The existing file %s is not writable."
197
- msgstr "Error al guardar. no se puede escribir sobre el archivo existente %s."
198
 
199
- #: admin/sidebar/partials/aalb_credentials.php:160
200
- msgid "Save Changes"
201
- msgstr "Guardar cambios"
 
 
 
 
 
202
 
203
- #. translators: 1: URL of Condition of Use page 2: _blank
204
- #: admin/sidebar/partials/aalb_credentials.php:158
205
- msgid "Check here to indicate that you have read and agree to the Amazon Associates Link Builder <a href=%1s target=%2s>Conditions of Use</a>."
206
- msgstr "Selecciona esta casilla para indicar que has leído y aceptas las <a href=%1s target=%2s>Condiciones de uso</a> del Creador de enlaces para Afiliados de Amazon."
 
 
 
 
 
 
207
 
208
- #. translators: 1: URL of managing PA-API acccount page 2: _blank
209
- #: admin/sidebar/partials/aalb_credentials.php:148
210
- msgid "A key that is used in conjunction with the Access Key ID to cryptographically sign an API request. To retrieve your Access Key ID or Secret Access Key, go to <a href=%1s target=%2s>Manage Your Account</a>. The plugin uses a default encryption key for encrypting the Secret Key. You can change the key using AALB_ENCRYPTION_KEY parameter defined in /aalb_config.php."
211
- msgstr "Una clave usada conjuntamente con el ID de Clave de Acceso para enviar de forma criptográfica una petición a la API. Para conseguir tu ID de clave de acceso o tu Clave de Acceso secreta, ve a <a href=%1s target=%2s>Gestionar tu cuenta</a>. El plugin funciona por defecto con unas clases de encriptación para encintar la Clave Secreta. Puedes cambiar la clave utilizando el parámetro AALB_ENCRYPTION_KEY definido en /aalb_config.php."
212
 
213
- #: admin/sidebar/partials/aalb_credentials.php:136
214
- msgid "Secret Access Key"
215
- msgstr "Clave de acceso secreta"
 
 
 
 
 
 
216
 
217
- #. translators: 1: URL of Getting Started page 2: _blank
218
- #: admin/sidebar/partials/aalb_credentials.php:132
219
- msgid "Your Access Key ID that you generated after signing up for the Amazon Product Advertising API. If you have not already signed up for the Amazon Product Advertising API, you can do so by following instructions listed <a href=%1s target=%2s>here</a>."
220
- msgstr "Tu ID de clave de acceso, que generaste tras registrarte en la API de Anuncio de Productos de Amazon. Si aún no te has registrado en la API de Amazon, puedes hacerlo siguiendo las instrucciones que encontrarás <a href=%1s target=%2s>aquí</a>."
221
 
222
- #: admin/sidebar/partials/aalb_credentials.php:125
223
- msgid "Access Key ID"
224
- msgstr "ID de Clave de Acceso"
225
 
226
- #: admin/sidebar/partials/aalb_credentials.php:122
227
- msgid "PA-API Credentials"
228
- msgstr "Credenciales de la API"
229
 
230
- #. translators: %s: rel="noreferrer" attribute
231
- #: admin/sidebar/partials/aalb_credentials.php:114
232
- msgid "Selecting the checkbox will remove %s from Amazon links on all posts till date. The action is reversible and you can revert by deselecting the checkbox"
233
- msgstr "Al activar la casilla se eliminará %s de los enlaces de Amazon en todos los posts publicados hasta la fecha. Esta acción es reversible, y puedes deshacerla desactivando la casilla"
234
 
235
- #. translators: %s: rel="noreferrer" attribute
236
- #: admin/sidebar/partials/aalb_credentials.php:110
237
- msgid "Remove %s for Amazon Affiliate Links from all posts"
238
- msgstr "Eliminar %s en los enlaces de Afiliado de Amazon de todas las entradas"
239
 
240
- #: admin/sidebar/partials/aalb_credentials.php:102
241
- msgid "The ad template that will be used for rendering the ad if no template is specified in the short code."
242
- msgstr "Es la plantilla publicitaria que se utilizará para representar el anuncio si en el ‘shortcode’ no se especifica una plantilla concreta."
243
 
244
- #: admin/sidebar/partials/aalb_credentials.php:88
245
- msgid "Default Template"
246
- msgstr "Plantilla por defecto"
247
 
248
- #: admin/sidebar/partials/aalb_credentials.php:84
249
- msgid "Set the default Amazon marketplace based on the Amazon website that is identified in your Associates Account (for instance, if you have signed up for Amazon.co.uk site, then your default marketplace selection should be UK)."
250
- msgstr "Configura el mercado por defecto de Amazon en base al sitio web de Amazon identificado en tu cuenta de Afiliado (por ejemplo, si te has registrado en Amazon.co.uk, tu mercado por defecto será Reino Unido)."
251
 
252
- #: admin/sidebar/partials/aalb_credentials.php:69
253
- msgid "Default Marketplace"
254
- msgstr "Mercado por defecto"
255
 
256
- #: admin/sidebar/partials/aalb_credentials.php:65
257
- msgid "The Associate ID that will be used for tagging the affiliate links generated by the plugin if no tag is specified in the short code."
258
- msgstr "El ID de Afiliado que se usará para etiquetar los enlaces de Afiliado generados por el plugin en caso de que en el ‘shortcode’ no se especifique ningún tag."
 
 
 
 
259
 
260
- #: admin/sidebar/partials/aalb_credentials.php:52
261
- msgid "Default Associate ID"
262
- msgstr "ID de Afiliado por defecto"
263
 
264
- #: admin/sidebar/partials/aalb_credentials.php:49
265
- msgid "Site Wide Settings"
266
- msgstr "Ajustes generales del sitio"
 
 
267
 
268
- #: admin/sidebar/partials/aalb_credentials.php:41
269
- msgid "Associate ID is used to monitor traffic and sales from your links to Amazon. You can add one store id or tracking id per row. You are recommended to create a new tracking ID in your Amazon Associates account for using it as Associate ID in the plugin."
270
- msgstr "El ID de Afiliado sirve para controlar el tráfico y las ventas que generan tus enlaces hacia Amazon. Puedes añadir un ID de tienda o ID de seguimiento por línea. Se recomienda crear un nuevo ID de Seguimiento en tu cuenta de Afiliado de Amazon para utilizarlo como ID de Afiliado en el plugin."
271
 
272
- #: admin/sidebar/partials/aalb_credentials.php:31
273
- msgid "Tracking Id(s)"
274
- msgstr "ID de seguimiento"
 
 
275
 
276
- #: admin/sidebar/partials/aalb_credentials.php:25
277
- msgid "Settings for Associates Link Builder"
278
- msgstr "Ajustes para el Creador de enlaces para Afiliados"
 
 
 
279
 
280
- #: admin/sidebar/partials/aalb_admin_ui_common.php:27
281
- msgid "We <b>recommend</b> using HTTPs connection for improved security."
282
- msgstr "Te <b>recomendamos</b> usar una conexión HTTPs para una mayor seguridad."
 
 
 
 
 
 
 
 
283
 
284
- #. translators: 1: URL of Plugin's Support Forum 2: _blank
285
- #: admin/sidebar/partials/aalb_about.php:148
286
- msgid "If you get stuck, or have any questions, you can ask for help in the <a href=%1s target=%2s>Amazon Associates Link Builder plugin forum</a>."
287
- msgstr "Si te ves atascado o tienes cualquier pregunta, puedes pedir ayuda en el <a href=%1s target=%2s>foro del plugin del Creador de enlaces para Afiliados de Amazon</a>."
288
 
289
- #: admin/sidebar/partials/aalb_about.php:145
290
- msgid "Support"
291
- msgstr "Ayuda"
 
 
292
 
293
- #. translators: 1: URL of Link Builder User Guide 2: _blank
294
- #: admin/sidebar/partials/aalb_about.php:143
295
- msgid "Review <a href=%1s target=%2s >Link Builder User Guide</a> for more information on getting started and key features of the plugin."
296
- msgstr "Revisa la <a href=%1s target=%2s >Guía del usuario del Creador de enlaces</a> para más información sobre cómo empezar y las características más importantes del plugin."
 
297
 
298
- #: admin/sidebar/partials/aalb_about.php:140
299
- msgid "User Guide"
300
- msgstr "Guía del Usuario"
 
 
301
 
302
- #: admin/sidebar/partials/aalb_about.php:138
303
- msgid "That's it! You’re all set to start adding Amazon affiliate links to your posts using the Amazon Associates Link Builder plugin!"
304
- msgstr "¡Ya está! Estás listo para empezar a añadir enlaces de Afiliado a tus posts utilizando el plugin del Creador de enlaces para Afiliados"
 
 
 
 
 
 
 
 
 
305
 
306
- #: admin/sidebar/partials/aalb_about.php:134
307
- msgid "Set the default Amazon marketplace based on the Amazon Associates Program for which you are registered (for example, if you’ve signed up for the Amazon Associates Program in UK, then your default marketplace selection should be UK) and select an appropriate template for rendering your ads."
308
- msgstr "Selecciona el mercado de Amazon por defecto en función del Programa de Afiliados de Amazon en el que estés registrado (por ejemplo, si te has registrado en el Programa de Reino Unido, tu mercado por defecto debería ser Reino unido) y elige una plantilla adecuada para exponer tus anuncios."
309
 
310
- #: admin/sidebar/partials/aalb_about.php:132
311
- msgid "Set default Associate ID. Associate ID is used to monitor traffic and sales from your links to Amazon. You can also define a list of valid Associate IDs (store ids or tracking ids). You should create a new tracking ID in your Amazon Associates account for using it as Associate ID in the plugin."
312
- msgstr "Configura tu ID de Afiliado por defecto. El ID de Afiliado sirve para controlar el tráfico y las ventas que generan tus enlaces hacia Amazon. También puedes crear una lista de ID de Afiliado válidos (ID de tienda o ID de seguimiento). Se recomienda crear un nuevo ID de Seguimiento en tu cuenta de Afiliado de Amazon para utilizarlo como ID de Afiliado en el plugin."
 
 
 
 
 
 
 
 
 
 
 
 
313
 
314
- #: admin/sidebar/partials/aalb_about.php:130
315
- msgid "Set Access Key ID and Secret Access Key in the Settings section. These credentials are used to invoke requests to the Amazon Product Advertising API for fetching information on an item."
316
- msgstr "Configura tu ID de Clave de Acceso y la Clave Secreta de Acceso en Ajustes. Estas credenciales se usan para realizar las peticiones a la API de Anuncio de Productos de Amazon y obtener información sobre un producto."
317
 
318
- #: admin/sidebar/partials/aalb_about.php:127
319
- msgid "Use the Associates Link Builder->Settings screen to configure the plugin."
320
- msgstr "Utiliza el Creador de enlaces para Afiliados -> Ve a la pantalla Ajustes para configurar el plugin."
 
 
 
 
 
 
 
 
 
 
 
 
 
321
 
322
- #: admin/sidebar/partials/aalb_about.php:125
323
- msgid "Step 3 - Configure plugin for first use"
324
- msgstr "Paso 3 - Configurar el plugin para usarlo por primera vez"
325
 
326
- #. translators: 1: URL of Getting Started page 2: _blank
327
- #: admin/sidebar/partials/aalb_about.php:123
328
- msgid "Sign up for the Amazon Product Advertising API by following the instructions listed <a href=%1s target=%2s>here</a>. The Amazon Product Advertising API is a popular e-commerce service, powering Amazon-integrated experiences around the world, serving tens of thousands of applications and more than 1 billion API requests every day. It exposes a web-service, which allows Associates to programmatically search and look up items in the Amazon product catalog. The Link Builder plugin integrates the Product Advertising API, allowing you to access Amazon.com product catalog data without requiring additional software development."
329
- msgstr "Regístrate en la API de Anuncio de Productos de Amazon siguiendo las instrucciones que aparecen <a href=%1s target=%2s>aquí</a>. La API de Anuncio de Productos de Amazon es un popular servicio de comercio online, que integra las experiencias de Amazon en todo el mundo, atendiendo a miles de aplicaciones y más de mil millones de peticiones a la API cada día. Incluye un servicio web que permite a los Afiliados buscar y analizar productos del catálogo de Amazon de forma sistemática. El plugin del Creador de enlaces integra la API de anuncio de productos y te permite acceder al catálogo de productos de Amazon sin necesidad de desarrollar software adicional."
 
 
 
 
 
330
 
331
- #: admin/sidebar/partials/aalb_about.php:120
332
- msgid "Step 2 - Sign up for the Amazon Product Advertising API"
333
- msgstr "Paso 2 - Regístrate en la API de Anuncio de Productos de Amazon"
 
 
 
 
 
 
334
 
335
- #: admin/sidebar/partials/aalb_about.php:118
336
- msgid "Your Associate ID works only in the country in which you register. If you’d like to be an Associate in more than one country, please register separately for each country."
337
- msgstr "Tu ID de Afiliado solo funciona en el país en el que te hayas registrado. Si deseas participar como Afiliado en más de un país, por favor, regístrate en cada uno de esos países."
338
 
339
- #: admin/sidebar/partials/aalb_about.php:111
340
- msgid "United States"
341
- msgstr "Estados Unidos"
342
 
343
- #: admin/sidebar/partials/aalb_about.php:105
344
- msgid "United Kingdom"
345
- msgstr "Reino Unido"
 
 
 
 
346
 
347
- #: admin/sidebar/partials/aalb_about.php:99
348
- msgid "Spain"
349
- msgstr "España"
350
 
351
- #: admin/sidebar/partials/aalb_about.php:93
352
- msgid "Mexico"
353
- msgstr "México"
354
 
355
- #: admin/sidebar/partials/aalb_about.php:87
356
- msgid "Japan"
357
- msgstr "Japón"
358
 
359
- #: admin/sidebar/partials/aalb_about.php:81
360
- msgid "Italy"
361
- msgstr "Italia"
 
 
 
 
362
 
363
  #: admin/sidebar/partials/aalb_about.php:75
364
  msgid "India"
365
  msgstr "India"
366
 
367
- #: admin/sidebar/partials/aalb_about.php:69
368
- msgid "Germany"
369
- msgstr "Alemania"
370
 
371
- #: admin/sidebar/partials/aalb_about.php:63
372
- msgid "France"
373
- msgstr "Francia"
374
 
375
- #: admin/sidebar/partials/aalb_about.php:57
376
- msgid "China"
377
- msgstr "China"
378
 
379
- #: admin/sidebar/partials/aalb_about.php:51
380
- msgid "Canada"
381
- msgstr "Canadá"
382
 
383
- #: admin/sidebar/partials/aalb_about.php:45
384
- msgid "Brazil"
385
- msgstr "Brasil"
386
 
387
- #: admin/sidebar/partials/aalb_about.php:41
388
- msgid "To become an Associate, create an Amazon Associates account using URL for your country:"
389
- msgstr "Para convertirte en Afiliado, crea una cuenta de Afiliado de Amazon siguiendo la URL de tu país:"
390
 
391
- #: admin/sidebar/partials/aalb_about.php:39
392
- msgid "Step 1 - Become an Associate"
393
- msgstr "Paso 1 - Convertirse en Afiliado"
 
 
 
 
 
 
394
 
395
- #: admin/sidebar/partials/aalb_about.php:38
396
- msgid "Getting Started"
397
- msgstr "Los primeros pasos"
398
 
399
- #: admin/sidebar/partials/aalb_about.php:35
400
- msgid "The plugin is currently in beta form. We intend to regularly add new features and enhancements throughout the beta period and beyond, and welcome your feedback and input."
401
- msgstr "El plugin está en fase beta. Pretendemos añadir nuevas funciones y mejoras de forma regular en esta fase beta y en otras posteriores, y agradecemos tus opiniones y comentarios."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
 
403
  #. translators: 1: URL of Condition of Use page 2: _blank
404
- #: admin/sidebar/partials/aalb_about.php:32
405
- msgid "You must review and accept the Amazon Associates Link Builder <a href=%1s target=%2s>Conditions of Use.</a>"
406
- msgstr "Debes revisar y aceptar las <a href=%1s target=%2s>Condiciones de uso</a> del Creador de enlaces para Afiliados."
 
 
 
 
 
 
407
 
408
- #: admin/sidebar/partials/aalb_about.php:28
409
- msgid "Note"
410
- msgstr "Aviso"
411
 
412
- #: admin/sidebar/partials/aalb_about.php:26
413
- msgid "Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin."
414
- msgstr "El Creador de enlaces es el plugin gratuito para WordPress del Programa de Afiliados de Amazon. Este plugin te permite buscar productos del catálogo de Amazon, acceder a su disponibilidad y precios en tiempo real y crear fácilmente enlaces a esos productos de Amazon para incluirlos en tus posts. Con él podrás genera enlaces de texto, elementos publicitarios personalizados o aprovechar la gran variedad de widgets que hemos diseñado e incluido en el plugin."
 
 
415
 
416
- #: admin/sidebar/partials/aalb_about.php:24
417
- msgid "About Amazon Associates Link Builder"
418
- msgstr "Sobre el Creador de enlaces para Afiliados de Amazon"
 
 
 
 
419
 
420
- #. translators: 1: URL of affiliate website 2: _blank
421
- #: admin/sidebar/partials/aalb_about.php:22
422
- msgid "The Amazon Associates Program is one of the original affiliate marketing programs. Available in geographies across the globe, the Amazon Associates Program has been partnering with content creators to help them monetize their passions since 1996. To learn more about the Amazon Associates Program, please click <a href=%1s target=%2s >here</a>."
423
- msgstr "El Programa de Afiliados de Amazon es uno de los programas de marketing de afiliados pioneros. Está disponible en países repartidos por todo el mundo, y lleva desde 1996 trabajando con creadores de contenido para ayudarles a obtener ingresos con sus pasiones. Para saber más sobre el Programa de Afiliados de Amazon, por favor, haz clic <a href=%1s target=%2s >aquí</a>."
424
 
425
- #: admin/sidebar/partials/aalb_about.php:19
426
- msgid "About Amazon Associates Program"
427
- msgstr "Sobre el Programa de Afiliados de Amazon"
 
 
428
 
429
- #: admin/sidebar/aalb_sidebar.php:39 amazon-associates-link-builder.php:41
430
- msgid "Templates"
431
- msgstr "Plantillas"
 
 
432
 
433
- #. translators: %s: Name of plugin
434
- #: admin/sidebar/aalb_sidebar.php:39
435
- msgid "Configure %s Templates"
436
- msgstr "Configurar %s plantillas"
437
 
438
- #: admin/sidebar/aalb_sidebar.php:37 amazon-associates-link-builder.php:40
439
- msgid "Settings"
440
- msgstr "Ajustes"
 
 
441
 
442
- #. translators: %s: Name of plugin
443
- #: admin/sidebar/aalb_sidebar.php:37
444
- msgid "Configure %s Settings"
445
- msgstr "Configurar %s ajustes"
 
 
 
 
 
446
 
447
- #: admin/sidebar/aalb_sidebar.php:35 amazon-associates-link-builder.php:39
448
- msgid "About"
449
- msgstr "Acerca de"
 
 
 
 
 
 
450
 
451
- #. translators: %s: Name of plugin
452
- #: admin/sidebar/aalb_sidebar.php:35
453
- msgid "Configure %s About"
454
- msgstr "Configurar %s Acerca de"
455
 
456
- #: admin/sidebar/aalb_sidebar.php:31 admin/sidebar/partials/aalb_about.php:17
457
- msgid "Associates Link Builder"
458
- msgstr "Associates Link Builder"
 
 
 
459
 
460
- #: admin/partials/aalb_meta_box.php:93
461
- msgid "Creating shortcode. Please wait...."
462
- msgstr "Creando ‘shortcode’. Por favor, espera…"
463
 
464
- #: admin/partials/aalb_meta_box.php:90
465
- msgid "Add Shortcode"
466
- msgstr "Añadir ‘shortcode’"
 
 
 
467
 
468
- #: admin/partials/aalb_meta_box.php:86
469
- msgid "List of Selected Products"
470
- msgstr "Lista de productos seleccionados"
471
 
472
- #: admin/partials/aalb_meta_box.php:82
473
- msgid "Check more search results on Amazon"
474
- msgstr "Encuentra más resultados de búsqueda en Amazon"
 
 
475
 
476
- #: admin/partials/aalb_meta_box.php:80
477
- msgid "Click to select product(s) to advertise"
478
- msgstr "Haz clic para seleccionar los productos a anunciar"
479
 
480
- #: admin/partials/aalb_meta_box.php:77
481
- msgid "Searching relevant products from Amazon"
482
- msgstr "Buscando productos adecuados en Amazon"
483
 
484
- #: admin/partials/aalb_meta_box.php:64
485
- msgid "Marketplace"
486
- msgstr "Mercado"
487
 
488
- #: admin/partials/aalb_meta_box.php:55
489
- #: admin/sidebar/partials/aalb_credentials.php:34
490
- msgid "Associate ID"
491
- msgstr "ID de Afiliado"
492
 
493
- #: admin/partials/aalb_meta_box.php:46
494
- msgid "Ad Template"
495
- msgstr "Plantilla de anuncio"
496
 
497
- #: admin/partials/aalb_editor_search_box.php:38
498
- #: admin/partials/aalb_meta_box.php:39
499
- msgid "Search"
500
- msgstr "Buscar"
501
 
502
- #: admin/partials/aalb_editor_search_box.php:35
503
- #: admin/partials/aalb_meta_box.php:37
504
- msgid "Enter keyword(s)"
505
- msgstr "Introduce palabra(s) clave"
506
 
507
- #. translators: %s: URL of settings page
508
- #: admin/partials/aalb_editor_search_box.php:30
509
- msgid "Please configure your PA-API credentials in the <a href=%s>Settings Page</a> to use the Link Builder features."
510
- msgstr "Por favor, configura tus credenciales de la PA-API en la <a href=%s>Página de Ajustes</a> para usar las funciones del Creador de enlaces."
511
 
512
- #: admin/aalb_admin.php:255
513
- msgid "Not authorised to make request"
514
- msgstr "Falta autorización para realizar esta petición"
 
 
 
 
515
 
516
- #: admin/aalb_admin.php:245
517
- msgid "Not authorised to make request template content or Directory Traversal Attempted."
518
- msgstr "No estás autorizado para hacer una petición plantilla contenido o Directory Traversal Attempted."
 
 
519
 
520
- #: admin/aalb_admin.php:116 admin/partials/aalb_editor_search_box.php:37
521
- msgid "Add Amazon Associates Link Builder Shortcode"
522
- msgstr "Añadir ‘shortcode’ del Creador de enlaces para Afiliados de Amazon"
 
 
523
 
524
- #. translators: %s: Email-id of the support
525
- #: admin/aalb_admin.php:115
526
- msgid "Request timed out. Try again after some time. Please check your network and firewall settings. If the error still persists, write to us at %s."
527
- msgstr "El tiempo de espera se agotó. Por favor, vuelve a intentarlo pasados unos minutos. Te rogamos que compruebes tu conexión y la configuración de tu firewall. Si el problema persiste, escríbenos a %s."
 
528
 
529
- #: admin/aalb_admin.php:113
530
- msgid "Failed to create Text Link shortcode. Editor has some text selected. Only one item can be selected while adding text links"
531
- msgstr "Error al crear un ‘shortcode’ de Enlace de Texto. El Editor contiene algún texto seleccionado. Solo se puede seleccionar un elemento al añadir enlaces de texto"
 
 
532
 
533
- #: admin/aalb_admin.php:112
534
- msgid "Please Enter a Product Name "
535
- msgstr "Por favor, introduce un nombre de producto "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
536
 
537
- #: admin/aalb_admin.php:111
538
- msgid "Please select at least one product for display"
539
- msgstr "Por favor, selecciona al menos un producto para mostrar"
 
 
 
 
 
 
 
 
 
540
 
541
- #: admin/aalb_admin.php:110
542
- msgid "Only one product can be selected for this template"
543
- msgstr "En esta plantilla solo se permite seleccionar un producto"
544
 
545
- #. Author URI of the plugin/theme
546
- msgid "https://affiliate-program.amazon.com/"
547
- msgstr "https://affiliate-program.amazon.com/"
 
 
 
 
 
 
 
 
548
 
549
- #. Author of the plugin/theme
550
- msgid "Amazon Associates Program"
551
- msgstr "Programa de Afiliados de Amazon"
 
 
 
 
 
 
 
 
552
 
553
- #. Description of the plugin/theme
554
- msgid "Amazon Associates Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin."
555
- msgstr "El Creador de enlaces para Afiliados de Amazon es el plugin oficial gratuito para WordPress del Programa de Afiliados de Amazon. El plugin te permite buscar productos en el catálogo de Amazon, acceder en tiempo real a información de precios y disponibilidad, e incluir fácilmente en tus posts enlaces a productos de Amazon.com. Podrás crear enlaces de texto, anuncios personalizados o aprovechar los widgets que hemos diseñado e incluido en el plugin."
 
 
 
 
556
 
557
  #. Plugin Name of the plugin/theme
558
  msgid "Amazon Associates Link Builder"
559
  msgstr "Amazon Associates Link Builder"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "PO-Revision-Date: 2017-12-04 20:38+0000\n"
4
  "MIME-Version: 1.0\n"
5
  "Content-Type: text/plain; charset=UTF-8\n"
6
  "Content-Transfer-Encoding: 8bit\n"
7
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
8
+ "X-Generator: Loco - https://localise.biz/\n"
9
+ "Language: es-ES\n"
10
+ "Project-Id-Version: Plugins - Amazon Associates Link Builder - Development "
11
+ "(trunk)\n"
12
+ "POT-Creation-Date: 2017-12-04 20:37+0000\n"
13
+ "Last-Translator: nishgarg <nishgarg@amazon.com>\n"
14
+ "Language-Team: Spanish (Spain)\n"
15
+ "Report-Msgid-Bugs-To: "
16
+
17
+ #: admin/aalb_admin.php:132
18
+ msgid "Please select at least one product for these marketplaces:"
19
+ msgstr ""
20
 
21
+ #. %s: URL of settings page
22
+ #: admin/aalb_admin.php:141
23
+ #, php-format
24
+ msgid ""
25
+ "Please configure your Store-Id credentials in the <a href=%s>Settings "
26
+ "Page</a> to use the Link Builder features."
27
+ msgstr ""
28
 
29
+ #: admin/aalb_admin.php:145
30
+ msgid "Tracking IDs"
31
+ msgstr ""
 
32
 
33
+ #: admin/aalb_admin.php:146
34
+ msgid "Search Phrase"
35
+ msgstr ""
36
 
37
+ #: admin/aalb_admin.php:147
38
+ msgid "Select Tracking Id"
39
+ msgstr ""
 
40
 
41
+ #: admin/aalb_admin.php:149
42
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:56
43
+ msgid "Select Marketplace"
44
+ msgstr ""
45
 
46
+ #: admin/aalb_admin.php:153
47
+ msgid "List of Selected Products(Maximum: 10)"
48
+ msgstr ""
49
 
50
+ #: admin/aalb_admin.php:156
51
+ msgid ""
52
+ "To configure templates, go to Associates Link Builder plugin's Templates page"
53
+ msgstr ""
 
54
 
55
+ #: admin/aalb_admin.php:157
56
+ msgid ""
57
+ "To configure marketplaces, go to Associates Link Builder plugin's Settings "
58
+ "page"
59
+ msgstr ""
60
 
61
+ #: admin/aalb_admin.php:158
62
+ msgid ""
63
+ "To configure tracking ids, go to Associates Link Builder plugin's Settings "
64
+ "page"
65
+ msgstr ""
66
 
67
+ #: admin/aalb_admin.php:159
68
+ msgid "Please select marketplace from above to show products."
69
+ msgstr ""
 
70
 
71
+ #: admin/aalb_admin.php:160
72
+ msgid "Please select some products from above."
73
+ msgstr ""
 
74
 
75
+ #: admin/aalb_admin.php:161
76
+ msgid "Add ProductSet for Country"
77
+ msgstr ""
 
78
 
79
+ #: ip2country/aalb_customer_country.php:98
80
+ #, php-format
81
+ msgid ""
82
+ "Maxmind DB file doesn't exist or is not readable. Please check & give "
83
+ "appropriate read & write permissions to:%s. Go to plugin's Settings page for "
84
+ "more details."
85
+ msgstr ""
86
 
87
+ #: shortcode/aalb_shortcode_manager.php:83
88
+ msgid ""
89
+ "There is an error in the count of configured marketplaces, asins and stores "
90
+ "in this shortcode. Please fix the parameters for marketplace, asin and store-"
91
+ "id."
92
+ msgstr ""
93
 
94
+ #: admin/sidebar/partials/aalb_credentials.php:26
95
+ msgid "Are you sure you want to remove this marketplace?"
96
+ msgstr ""
97
 
98
+ #: admin/sidebar/partials/aalb_credentials.php:29
99
+ msgid "YES"
100
+ msgstr ""
101
 
102
+ #: admin/sidebar/partials/aalb_credentials.php:30
103
+ msgid "NO"
104
+ msgstr ""
105
 
106
+ #: admin/sidebar/partials/aalb_credentials.php:91
107
+ msgid "Downloads Folder"
108
+ msgstr ""
109
 
110
+ #: admin/sidebar/partials/aalb_credentials.php:97
111
+ #, php-format
112
+ msgid ""
113
+ "This folder will be used to save files downloaded by the plugin (e.g. <a "
114
+ "href=%1s target=%2s>The MaxMind IP2Country Database</a>) for local use. "
115
+ "Absolute path required. <br><span class=\"aalb-bold\"> Default value:</span> "
116
+ "*blank*, defaults to <code>wp_upload_dir()['basedir'] + '%3s'</code>"
117
+ msgstr ""
118
 
119
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:54
120
+ msgid "Enter Tracking Id(s)"
121
+ msgstr ""
122
 
123
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:55
124
+ msgid "Remove Marketplace"
125
+ msgstr ""
126
 
127
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:58
128
+ msgid "Set As Default Marketplace"
129
+ msgstr ""
130
 
131
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:60
132
+ msgid "Add a Marketplace"
133
+ msgstr ""
134
 
135
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:61
136
+ msgid "Remove Marketplace Confirmation"
137
+ msgstr ""
138
 
139
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:62
140
+ msgid "ERROR: No store id has been entered for one or more marketplaces."
141
+ msgstr ""
142
 
143
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:63
144
+ msgid ""
145
+ "ERROR: A marketplace already exists with this value. Please set a new "
146
+ "marketplace."
147
+ msgstr ""
148
 
149
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:64
150
+ msgid ""
151
+ "ERROR: A marketplace is present that has not been set. Please set that first."
152
+ msgstr ""
153
 
154
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:65
155
+ msgid ""
156
+ "ERROR: You need to maintain at least one marketplace entry for tracking ids "
157
+ msgstr ""
158
 
159
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:66
160
+ msgid "ERROR: You need to add at least one marketplace entry for tracking ids "
161
+ msgstr ""
 
162
 
163
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:67
164
+ msgid "Add a Marketplace that you want to create Amazon links to."
165
+ msgstr ""
166
 
167
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:68
168
+ msgid ""
169
+ "For each marketplace you can add multiple tracking ids, separated by commas. "
170
+ "The first tracking id will be considered as default tracking id for that "
171
+ "marketplace."
172
+ msgstr ""
173
 
174
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:121
175
+ #, php-format
176
+ msgid ""
177
+ "The file used to fetch country details to enable geo-targetted links doesn't "
178
+ "have read permissions. Please give recursive read/write permissons to:%s. In "
179
+ "case you are still facing the issue, please change download folder in Site "
180
+ "Wide Settings section on this page."
181
+ msgstr ""
182
 
183
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:123
184
+ #, php-format
185
+ msgid ""
186
+ "The file used to fetch country details to enable geo-targetted links doesn't "
187
+ "have write permissions. Please give recursive read/write permissons to:%s. "
188
+ "In case you are still facing the issue, please change download folder in "
189
+ "Site Wide Settings section on this page"
190
+ msgstr ""
191
 
192
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:125
193
+ #, php-format
194
+ msgid ""
195
+ "The directory where the file used to fetch country details to enable geo-"
196
+ "targetted links doesn't have write permissions. Please give recursive "
197
+ "read/write permissons to:%s. In case you are still facing the issue, please "
198
+ "change download folder in Site Wide Settings section on this page"
199
+ msgstr ""
200
 
201
+ #: amazon-associates-link-builder.php:39 admin/sidebar/aalb_sidebar.php:35
202
+ msgid "About"
203
+ msgstr "Acerca de"
 
204
 
205
+ #: amazon-associates-link-builder.php:40 admin/sidebar/aalb_sidebar.php:37
206
+ msgid "Settings"
207
+ msgstr "Ajustes"
 
208
 
209
+ #: amazon-associates-link-builder.php:41 admin/sidebar/aalb_sidebar.php:39
210
+ msgid "Templates"
211
+ msgstr "Plantillas"
212
 
213
+ #: admin/aalb_admin.php:131
214
+ msgid "Only one product can be selected for this template"
215
+ msgstr "En esta plantilla solo se permite seleccionar un producto"
 
216
 
217
+ #: admin/aalb_admin.php:133
218
+ msgid "Please Enter a Product Name "
219
+ msgstr "Por favor, introduce un nombre de producto "
 
220
 
221
+ #: admin/aalb_admin.php:134
222
+ msgid ""
223
+ "Failed to create Text Link shortcode. Editor has some text selected. Only "
224
+ "one item can be selected while adding text links"
225
+ msgstr ""
226
+ "Error al crear un ‘shortcode’ de Enlace de Texto. El Editor contiene algún "
227
+ "texto seleccionado. Solo se puede seleccionar un elemento al añadir enlaces "
228
+ "de texto"
229
 
230
+ #. translators: %s: Email-id of the support
231
+ #: admin/aalb_admin.php:136
232
+ #, php-format
233
+ msgid ""
234
+ "Request timed out. Try again after some time. Please check your network and "
235
+ "firewall settings. If the error still persists, write to us at %s."
236
+ msgstr ""
237
+ "El tiempo de espera se agotó. Por favor, vuelve a intentarlo pasados unos "
238
+ "minutos. Te rogamos que compruebes tu conexión y la configuración de tu "
239
+ "firewall. Si el problema persiste, escríbenos a %s."
240
 
241
+ #: admin/aalb_admin.php:137 admin/partials/aalb_editor_search_box.php:31
242
+ msgid "Add Amazon Associates Link Builder Shortcode"
243
+ msgstr "Añadir ‘shortcode’ del Creador de enlaces para Afiliados de Amazon"
 
244
 
245
+ #. translators: %s: URL of settings page
246
+ #: admin/aalb_admin.php:139
247
+ #, php-format
248
+ msgid ""
249
+ "Please configure your PA-API credentials in the <a href=%s>Settings Page</a>"
250
+ " to use the Link Builder features."
251
+ msgstr ""
252
+ "Por favor, configura tus credenciales de la PA-API en la <a href=%s>Página "
253
+ "de Ajustes</a> para usar las funciones del Creador de enlaces."
254
 
255
+ #: admin/aalb_admin.php:142
256
+ msgid "Ad Template"
257
+ msgstr "Plantilla de anuncio"
 
258
 
259
+ #: admin/aalb_admin.php:143 admin/partials/aalb_editor_search_box.php:30
260
+ msgid "Enter keyword(s)"
261
+ msgstr "Introduce palabra(s) clave"
262
 
263
+ #: admin/aalb_admin.php:144 admin/partials/aalb_editor_search_box.php:32
264
+ msgid "Search"
265
+ msgstr "Buscar"
266
 
267
+ #: admin/aalb_admin.php:148
268
+ msgid "Marketplace"
269
+ msgstr "Mercado"
 
270
 
271
+ #: admin/aalb_admin.php:150
272
+ msgid "Searching relevant products from Amazon"
273
+ msgstr "Buscando productos adecuados en Amazon"
 
274
 
275
+ #: admin/aalb_admin.php:151
276
+ msgid "Click to select product(s) to advertise"
277
+ msgstr "Haz clic para seleccionar los productos a anunciar"
278
 
279
+ #: admin/aalb_admin.php:152
280
+ msgid "Check more search results on Amazon"
281
+ msgstr "Encuentra más resultados de búsqueda en Amazon"
282
 
283
+ #: admin/aalb_admin.php:154
284
+ msgid "Creating shortcode. Please wait...."
285
+ msgstr "Creando ‘shortcode’. Por favor, espera…"
286
 
287
+ #: admin/aalb_admin.php:155
288
+ msgid "Add Shortcode"
289
+ msgstr "Añadir ‘shortcode’"
290
 
291
+ #: admin/aalb_admin.php:292
292
+ msgid ""
293
+ "Not authorised to make request template content or Directory Traversal "
294
+ "Attempted."
295
+ msgstr ""
296
+ "No estás autorizado para hacer una petición plantilla contenido o Directory "
297
+ "Traversal Attempted."
298
 
299
+ #: admin/aalb_admin.php:302
300
+ msgid "Not authorised to make request"
301
+ msgstr "Falta autorización para realizar esta petición"
302
 
303
+ #. translators: %s: Error message
304
+ #: includes/aalb_remote_loader.php:71
305
+ #, php-format
306
+ msgid "HTTP Request failed! %s"
307
+ msgstr "¡La petición HTTP falló! %s"
308
 
309
+ #: includes/aalb_remote_loader.php:79
310
+ msgid "Response body is empty"
311
+ msgstr "El cuerpo de la respuesta está vacío"
312
 
313
+ #. translators: %s: Invalid ASIN name
314
+ #: shortcode/aalb_shortcode_helper.php:144
315
+ #, php-format
316
+ msgid "The ASIN: %s is invalid."
317
+ msgstr "El ASIN: %s no es válido."
318
 
319
+ #. translators: 1: Invalid template name 2: Valid template name
320
+ #: shortcode/aalb_shortcode_helper.php:168
321
+ #, php-format
322
+ msgid "The template: %1s is invalid. Using default template %2s."
323
+ msgstr ""
324
+ "La plantilla: %1s no es válida. Utilizando la plantilla por defecto %2s."
325
 
326
+ #. translators: 1: Invalid associate id 2: Valid associate id
327
+ #: shortcode/aalb_shortcode_helper.php:191
328
+ #, php-format
329
+ msgid ""
330
+ "The Associate tag %1s is not present in the list of valid tags. Associate "
331
+ "tag has been updated to %2s. Please check your Associate tag selection or "
332
+ "contact the administrator to add a new tag."
333
+ msgstr ""
334
+ "El tag de Afiliado %1s no aparece en la lista de tags válidos. El tag de "
335
+ "Afiliado se ha actualizado a %2s. Por favor, comprueba tu selección de tags "
336
+ "o contacta con el administrador para añadir uno nuevo."
337
 
338
+ #: admin/sidebar/aalb_sidebar.php:31 admin/sidebar/partials/aalb_about.php:17
339
+ msgid "Associates Link Builder"
340
+ msgstr "Associates Link Builder"
 
341
 
342
+ #. translators: %s: Name of plugin
343
+ #: admin/sidebar/aalb_sidebar.php:35
344
+ #, php-format
345
+ msgid "Configure %s About"
346
+ msgstr "Configurar %s Acerca de"
347
 
348
+ #. translators: %s: Name of plugin
349
+ #: admin/sidebar/aalb_sidebar.php:37
350
+ #, php-format
351
+ msgid "Configure %s Settings"
352
+ msgstr "Configurar %s ajustes"
353
 
354
+ #. translators: %s: Name of plugin
355
+ #: admin/sidebar/aalb_sidebar.php:39
356
+ #, php-format
357
+ msgid "Configure %s Templates"
358
+ msgstr "Configurar %s plantillas"
359
 
360
+ #: lib/php/aalb_validation_helper.php:102
361
+ msgid ""
362
+ "Associate Tag was not found. The sales will not be attributed to any store "
363
+ "and you will not earn the associate fees for it. Please provide a valid "
364
+ "Associate Tag if you wish to earn the referral fees. Assocaite Tags can be "
365
+ "configured from the 'Settings' tab in the WordPress administration panel"
366
+ msgstr ""
367
+ "No se encontró un tag de Afiliado. Las venta no se atribuirán a ninguna "
368
+ "tienda y no cobrarás comisiones de publicidad por ellas. Por favor, "
369
+ "introduce un tag de Afiliado válido para cobrar comisiones por redirección. "
370
+ "Los tags de Afiliado se pueden configurar desde la pestaña ‘Ajustes’ en el "
371
+ "panel de control de WordPress"
372
 
373
+ #: admin/sidebar/partials/aalb_about.php:19
374
+ msgid "About Amazon Associates Program"
375
+ msgstr "Sobre el Programa de Afiliados de Amazon"
376
 
377
+ #. translators: 1: URL of affiliate website 2: _blank
378
+ #: admin/sidebar/partials/aalb_about.php:22
379
+ #, php-format
380
+ msgid ""
381
+ "The Amazon Associates Program is one of the original affiliate marketing "
382
+ "programs. Available in geographies across the globe, the Amazon Associates "
383
+ "Program has been partnering with content creators to help them monetize "
384
+ "their passions since 1996. To learn more about the Amazon Associates Program,"
385
+ " please click <a href=%1s target=%2s >here</a>."
386
+ msgstr ""
387
+ "El Programa de Afiliados de Amazon es uno de los programas de marketing de "
388
+ "afiliados pioneros. Está disponible en países repartidos por todo el mundo, "
389
+ "y lleva desde 1996 trabajando con creadores de contenido para ayudarles a "
390
+ "obtener ingresos con sus pasiones. Para saber más sobre el Programa de "
391
+ "Afiliados de Amazon, por favor, haz clic <a href=%1s target=%2s >aquí</a>."
392
 
393
+ #: admin/sidebar/partials/aalb_about.php:24
394
+ msgid "About Amazon Associates Link Builder"
395
+ msgstr "Sobre el Creador de enlaces para Afiliados de Amazon"
396
 
397
+ #: admin/sidebar/partials/aalb_about.php:26
398
+ msgid ""
399
+ "Link Builder is the official free Amazon Associates Program plugin for "
400
+ "WordPress. The plugin enables you to search for products in the Amazon "
401
+ "catalog, access real-time price and availability information, and easily "
402
+ "create links in your posts to products on Amazon.com. You will be able to "
403
+ "generate text links, create custom ad units, or take advantage of out-of-the-"
404
+ "box widgets that we’ve designed and included with the plugin."
405
+ msgstr ""
406
+ "El Creador de enlaces es el plugin gratuito para WordPress del Programa de "
407
+ "Afiliados de Amazon. Este plugin te permite buscar productos del catálogo de "
408
+ "Amazon, acceder a su disponibilidad y precios en tiempo real y crear "
409
+ "fácilmente enlaces a esos productos de Amazon para incluirlos en tus posts. "
410
+ "Con él podrás genera enlaces de texto, elementos publicitarios "
411
+ "personalizados o aprovechar la gran variedad de widgets que hemos diseñado e "
412
+ "incluido en el plugin."
413
 
414
+ #: admin/sidebar/partials/aalb_about.php:28
415
+ msgid "Note"
416
+ msgstr "Aviso"
417
 
418
+ #. translators: 1: URL of Condition of Use page 2: _blank
419
+ #: admin/sidebar/partials/aalb_about.php:32
420
+ #, php-format
421
+ msgid ""
422
+ "You must review and accept the Amazon Associates Link Builder <a href=%1s "
423
+ "target=%2s>Conditions of Use.</a>"
424
+ msgstr ""
425
+ "Debes revisar y aceptar las <a href=%1s target=%2s>Condiciones de uso</a> "
426
+ "del Creador de enlaces para Afiliados."
427
 
428
+ #: admin/sidebar/partials/aalb_about.php:35
429
+ msgid ""
430
+ "The plugin is currently in beta form. We intend to regularly add new "
431
+ "features and enhancements throughout the beta period and beyond, and welcome "
432
+ "your feedback and input."
433
+ msgstr ""
434
+ "El plugin está en fase beta. Pretendemos añadir nuevas funciones y mejoras "
435
+ "de forma regular en esta fase beta y en otras posteriores, y agradecemos tus "
436
+ "opiniones y comentarios."
437
 
438
+ #: admin/sidebar/partials/aalb_about.php:38
439
+ msgid "Getting Started"
440
+ msgstr "Los primeros pasos"
441
 
442
+ #: admin/sidebar/partials/aalb_about.php:39
443
+ msgid "Step 1 - Become an Associate"
444
+ msgstr "Paso 1 - Convertirse en Afiliado"
445
 
446
+ #: admin/sidebar/partials/aalb_about.php:41
447
+ msgid ""
448
+ "To become an Associate, create an Amazon Associates account using URL for "
449
+ "your country:"
450
+ msgstr ""
451
+ "Para convertirte en Afiliado, crea una cuenta de Afiliado de Amazon "
452
+ "siguiendo la URL de tu país:"
453
 
454
+ #: admin/sidebar/partials/aalb_about.php:45
455
+ msgid "Brazil"
456
+ msgstr "Brasil"
457
 
458
+ #: admin/sidebar/partials/aalb_about.php:51
459
+ msgid "Canada"
460
+ msgstr "Canadá"
461
 
462
+ #: admin/sidebar/partials/aalb_about.php:57
463
+ msgid "China"
464
+ msgstr "China"
465
 
466
+ #: admin/sidebar/partials/aalb_about.php:63
467
+ msgid "France"
468
+ msgstr "Francia"
469
+
470
+ #: admin/sidebar/partials/aalb_about.php:69
471
+ msgid "Germany"
472
+ msgstr "Alemania"
473
 
474
  #: admin/sidebar/partials/aalb_about.php:75
475
  msgid "India"
476
  msgstr "India"
477
 
478
+ #: admin/sidebar/partials/aalb_about.php:81
479
+ msgid "Italy"
480
+ msgstr "Italia"
481
 
482
+ #: admin/sidebar/partials/aalb_about.php:87
483
+ msgid "Japan"
484
+ msgstr "Japón"
485
 
486
+ #: admin/sidebar/partials/aalb_about.php:93
487
+ msgid "Mexico"
488
+ msgstr "México"
489
 
490
+ #: admin/sidebar/partials/aalb_about.php:99
491
+ msgid "Spain"
492
+ msgstr "España"
493
 
494
+ #: admin/sidebar/partials/aalb_about.php:105
495
+ msgid "United Kingdom"
496
+ msgstr "Reino Unido"
497
 
498
+ #: admin/sidebar/partials/aalb_about.php:111
499
+ msgid "United States"
500
+ msgstr "Estados Unidos"
501
 
502
+ #: admin/sidebar/partials/aalb_about.php:118
503
+ msgid ""
504
+ "Your Associate ID works only in the country in which you register. If you’d "
505
+ "like to be an Associate in more than one country, please register separately "
506
+ "for each country."
507
+ msgstr ""
508
+ "Tu ID de Afiliado solo funciona en el país en el que te hayas registrado. Si "
509
+ "deseas participar como Afiliado en más de un país, por favor, regístrate en "
510
+ "cada uno de esos países."
511
 
512
+ #: admin/sidebar/partials/aalb_about.php:120
513
+ msgid "Step 2 - Sign up for the Amazon Product Advertising API"
514
+ msgstr "Paso 2 - Regístrate en la API de Anuncio de Productos de Amazon"
515
 
516
+ #. translators: 1: URL of Getting Started page 2: _blank
517
+ #: admin/sidebar/partials/aalb_about.php:123
518
+ #, php-format
519
+ msgid ""
520
+ "Sign up for the Amazon Product Advertising API by following the instructions "
521
+ "listed <a href=%1s target=%2s>here</a>. The Amazon Product Advertising API "
522
+ "is a popular e-commerce service, powering Amazon-integrated experiences "
523
+ "around the world, serving tens of thousands of applications and more than 1 "
524
+ "billion API requests every day. It exposes a web-service, which allows "
525
+ "Associates to programmatically search and look up items in the Amazon "
526
+ "product catalog. The Link Builder plugin integrates the Product Advertising "
527
+ "API, allowing you to access Amazon.com product catalog data without "
528
+ "requiring additional software development."
529
+ msgstr ""
530
+ "Regístrate en la API de Anuncio de Productos de Amazon siguiendo las "
531
+ "instrucciones que aparecen <a href=%1s target=%2s>aquí</a>. La API de "
532
+ "Anuncio de Productos de Amazon es un popular servicio de comercio online, "
533
+ "que integra las experiencias de Amazon en todo el mundo, atendiendo a miles "
534
+ "de aplicaciones y más de mil millones de peticiones a la API cada día. "
535
+ "Incluye un servicio web que permite a los Afiliados buscar y analizar "
536
+ "productos del catálogo de Amazon de forma sistemática. El plugin del Creador "
537
+ "de enlaces integra la API de anuncio de productos y te permite acceder al "
538
+ "catálogo de productos de Amazon sin necesidad de desarrollar software "
539
+ "adicional."
540
+
541
+ #: admin/sidebar/partials/aalb_about.php:125
542
+ msgid "Step 3 - Configure plugin for first use"
543
+ msgstr "Paso 3 - Configurar el plugin para usarlo por primera vez"
544
+
545
+ #: admin/sidebar/partials/aalb_about.php:127
546
+ msgid ""
547
+ "Use the Associates Link Builder->Settings screen to configure the plugin."
548
+ msgstr ""
549
+ "Utiliza el Creador de enlaces para Afiliados -> Ve a la pantalla Ajustes "
550
+ "para configurar el plugin."
551
+
552
+ #: admin/sidebar/partials/aalb_about.php:130
553
+ msgid ""
554
+ "Set Access Key ID and Secret Access Key in the Settings section. These "
555
+ "credentials are used to invoke requests to the Amazon Product Advertising "
556
+ "API for fetching information on an item."
557
+ msgstr ""
558
+ "Configura tu ID de Clave de Acceso y la Clave Secreta de Acceso en Ajustes. "
559
+ "Estas credenciales se usan para realizar las peticiones a la API de Anuncio "
560
+ "de Productos de Amazon y obtener información sobre un producto."
561
+
562
+ #: admin/sidebar/partials/aalb_about.php:132
563
+ msgid ""
564
+ "Set default Associate ID. Associate ID is used to monitor traffic and sales "
565
+ "from your links to Amazon. You can also define a list of valid Associate IDs "
566
+ "(store ids or tracking ids). You should create a new tracking ID in your "
567
+ "Amazon Associates account for using it as Associate ID in the plugin."
568
+ msgstr ""
569
+ "Configura tu ID de Afiliado por defecto. El ID de Afiliado sirve para "
570
+ "controlar el tráfico y las ventas que generan tus enlaces hacia Amazon. "
571
+ "También puedes crear una lista de ID de Afiliado válidos (ID de tienda o ID "
572
+ "de seguimiento). Se recomienda crear un nuevo ID de Seguimiento en tu cuenta "
573
+ "de Afiliado de Amazon para utilizarlo como ID de Afiliado en el plugin."
574
+
575
+ #: admin/sidebar/partials/aalb_about.php:134
576
+ msgid ""
577
+ "Set the default Amazon marketplace based on the Amazon Associates Program "
578
+ "for which you are registered (for example, if you’ve signed up for the "
579
+ "Amazon Associates Program in UK, then your default marketplace selection "
580
+ "should be UK) and select an appropriate template for rendering your ads."
581
+ msgstr ""
582
+ "Selecciona el mercado de Amazon por defecto en función del Programa de "
583
+ "Afiliados de Amazon en el que estés registrado (por ejemplo, si te has "
584
+ "registrado en el Programa de Reino Unido, tu mercado por defecto debería ser "
585
+ "Reino unido) y elige una plantilla adecuada para exponer tus anuncios."
586
+
587
+ #: admin/sidebar/partials/aalb_about.php:138
588
+ msgid ""
589
+ "That's it! You’re all set to start adding Amazon affiliate links to your "
590
+ "posts using the Amazon Associates Link Builder plugin!"
591
+ msgstr ""
592
+ "¡Ya está! Estás listo para empezar a añadir enlaces de Afiliado a tus posts "
593
+ "utilizando el plugin del Creador de enlaces para Afiliados"
594
+
595
+ #: admin/sidebar/partials/aalb_about.php:140
596
+ msgid "User Guide"
597
+ msgstr "Guía del Usuario"
598
+
599
+ #. translators: 1: URL of Link Builder User Guide 2: _blank
600
+ #: admin/sidebar/partials/aalb_about.php:143
601
+ #, php-format
602
+ msgid ""
603
+ "Review <a href=%1s target=%2s >Link Builder User Guide</a> for more "
604
+ "information on getting started and key features of the plugin."
605
+ msgstr ""
606
+ "Revisa la <a href=%1s target=%2s >Guía del usuario del Creador de enlaces</a>"
607
+ " para más información sobre cómo empezar y las características más "
608
+ "importantes del plugin."
609
+
610
+ #: admin/sidebar/partials/aalb_about.php:145
611
+ msgid "Support"
612
+ msgstr "Ayuda"
613
+
614
+ #. translators: 1: URL of Plugin's Support Forum 2: _blank
615
+ #: admin/sidebar/partials/aalb_about.php:148
616
+ #, php-format
617
+ msgid ""
618
+ "If you get stuck, or have any questions, you can ask for help in the <a "
619
+ "href=%1s target=%2s>Amazon Associates Link Builder plugin forum</a>."
620
+ msgstr ""
621
+ "Si te ves atascado o tienes cualquier pregunta, puedes pedir ayuda en el <a "
622
+ "href=%1s target=%2s>foro del plugin del Creador de enlaces para Afiliados de "
623
+ "Amazon</a>."
624
+
625
+ #: admin/sidebar/partials/aalb_admin_ui_common.php:27
626
+ msgid "We <b>recommend</b> using HTTPs connection for improved security."
627
+ msgstr ""
628
+ "Te <b>recomendamos</b> usar una conexión HTTPs para una mayor seguridad."
629
+
630
+ #: admin/sidebar/partials/aalb_credentials.php:36
631
+ msgid "Settings for Associates Link Builder"
632
+ msgstr "Ajustes para el Creador de enlaces para Afiliados"
633
+
634
+ #: admin/sidebar/partials/aalb_credentials.php:70
635
+ msgid "Site Wide Settings"
636
+ msgstr "Ajustes generales del sitio"
637
+
638
+ #: admin/sidebar/partials/aalb_credentials.php:73
639
+ msgid "Default Template"
640
+ msgstr "Plantilla por defecto"
641
+
642
+ #: admin/sidebar/partials/aalb_credentials.php:87
643
+ msgid ""
644
+ "The ad template that will be used for rendering the ad if no template is "
645
+ "specified in the short code."
646
+ msgstr ""
647
+ "Es la plantilla publicitaria que se utilizará para representar el anuncio si "
648
+ "en el ‘shortcode’ no se especifica una plantilla concreta."
649
+
650
+ #. translators: %s: rel="noreferrer" attribute
651
+ #: admin/sidebar/partials/aalb_credentials.php:106
652
+ #, php-format
653
+ msgid "Remove %s for Amazon Affiliate Links from all posts"
654
+ msgstr "Eliminar %s en los enlaces de Afiliado de Amazon de todas las entradas"
655
+
656
+ #. translators: %s: rel="noreferrer" attribute
657
+ #: admin/sidebar/partials/aalb_credentials.php:110
658
+ #, php-format
659
+ msgid ""
660
+ "Selecting the checkbox will remove %s from Amazon links on all posts till "
661
+ "date. The action is reversible and you can revert by deselecting the checkbox"
662
+ msgstr ""
663
+ "Al activar la casilla se eliminará %s de los enlaces de Amazon en todos los "
664
+ "posts publicados hasta la fecha. Esta acción es reversible, y puedes "
665
+ "deshacerla desactivando la casilla"
666
+
667
+ #: admin/sidebar/partials/aalb_credentials.php:118
668
+ msgid "PA-API Credentials"
669
+ msgstr "Credenciales de la API"
670
+
671
+ #: admin/sidebar/partials/aalb_credentials.php:121
672
+ msgid "Access Key ID"
673
+ msgstr "ID de Clave de Acceso"
674
+
675
+ #. translators: 1: URL of Getting Started page 2: _blank
676
+ #: admin/sidebar/partials/aalb_credentials.php:128
677
+ #, php-format
678
+ msgid ""
679
+ "Your Access Key ID that you generated after signing up for the Amazon "
680
+ "Product Advertising API. If you have not already signed up for the Amazon "
681
+ "Product Advertising API, you can do so by following instructions listed <a "
682
+ "href=%1s target=%2s>here</a>."
683
+ msgstr ""
684
+ "Tu ID de clave de acceso, que generaste tras registrarte en la API de "
685
+ "Anuncio de Productos de Amazon. Si aún no te has registrado en la API de "
686
+ "Amazon, puedes hacerlo siguiendo las instrucciones que encontrarás <a "
687
+ "href=%1s target=%2s>aquí</a>."
688
+
689
+ #: admin/sidebar/partials/aalb_credentials.php:132
690
+ msgid "Secret Access Key"
691
+ msgstr "Clave de acceso secreta"
692
+
693
+ #. translators: 1: URL of managing PA-API acccount page 2: _blank
694
+ #: admin/sidebar/partials/aalb_credentials.php:143
695
+ #, php-format
696
+ msgid ""
697
+ "A key that is used in conjunction with the Access Key ID to "
698
+ "cryptographically sign an API request. To retrieve your Access Key ID or "
699
+ "Secret Access Key, go to <a href=%1s target=%2s>Manage Your Account</a>. The "
700
+ "plugin uses a default encryption key for encrypting the Secret Key. You can "
701
+ "change the key using AALB_ENCRYPTION_KEY parameter defined in /aalb_config."
702
+ "php."
703
+ msgstr ""
704
+ "Una clave usada conjuntamente con el ID de Clave de Acceso para enviar de "
705
+ "forma criptográfica una petición a la API. Para conseguir tu ID de clave de "
706
+ "acceso o tu Clave de Acceso secreta, ve a <a href=%1s target=%2s>Gestionar "
707
+ "tu cuenta</a>. El plugin funciona por defecto con unas clases de "
708
+ "encriptación para encintar la Clave Secreta. Puedes cambiar la clave "
709
+ "utilizando el parámetro AALB_ENCRYPTION_KEY definido en /aalb_config.php."
710
 
711
  #. translators: 1: URL of Condition of Use page 2: _blank
712
+ #: admin/sidebar/partials/aalb_credentials.php:153
713
+ #, php-format
714
+ msgid ""
715
+ "Check here to indicate that you have read and agree to the Amazon Associates "
716
+ "Link Builder <a href=%1s target=%2s>Conditions of Use</a>."
717
+ msgstr ""
718
+ "Selecciona esta casilla para indicar que has leído y aceptas las <a href=%1s "
719
+ "target=%2s>Condiciones de uso</a> del Creador de enlaces para Afiliados de "
720
+ "Amazon."
721
 
722
+ #: admin/sidebar/partials/aalb_credentials.php:155
723
+ msgid "Save Changes"
724
+ msgstr "Guardar cambios"
725
 
726
+ #. translators: %s for fileName
727
+ #: admin/sidebar/partials/aalb_templates.php:31
728
+ #, php-format
729
+ msgid "Save Failed. The existing file %s is not writable."
730
+ msgstr "Error al guardar. no se puede escribir sobre el archivo existente %s."
731
 
732
+ #. translators: %s for fileName
733
+ #: admin/sidebar/partials/aalb_templates.php:51
734
+ #, php-format
735
+ msgid "Save Failed. Error writing contents to file: %s"
736
+ msgstr ""
737
+ "Error al guardar. Se produjo un error al escribir los contenidos en el "
738
+ "archivo: %s"
739
 
740
+ #: admin/sidebar/partials/aalb_templates.php:77
741
+ msgid "Template Saved Successfully"
742
+ msgstr "Plantilla guardada con éxito"
 
743
 
744
+ #. translators: 1: Number of templates 2: Name of added templates
745
+ #: admin/sidebar/partials/aalb_templates.php:99
746
+ #, php-format
747
+ msgid "%1s template(s) added: %2s"
748
+ msgstr "%1s plantilla(s) añadida(s): %2s"
749
 
750
+ #. translators: 1: Number of templates 2: Name of deleted templates
751
+ #: admin/sidebar/partials/aalb_templates.php:103
752
+ #, php-format
753
+ msgid "%1s template(s) deleted: %2s"
754
+ msgstr "%1s plantilla(s) eliminada(s): %2s"
755
 
756
+ #: admin/sidebar/partials/aalb_templates.php:129
757
+ msgid "Please define the template name for the new template"
758
+ msgstr "Por favor, define el nombre de plantilla para la nueva plantilla"
 
759
 
760
+ #: admin/sidebar/partials/aalb_templates.php:132
761
+ msgid "Save Failed. Only alphanumeric characters allowed for template name."
762
+ msgstr ""
763
+ "Error al guardar. Solo se admiten caracteres alfanuméricos en el nombre de "
764
+ "la plantilla."
765
 
766
+ #. translators: %s: Path of upload directory
767
+ #: admin/sidebar/partials/aalb_templates.php:136
768
+ #, php-format
769
+ msgid ""
770
+ "Failed to create custom template. Please set up recursive Read-Write "
771
+ "permissions for %s"
772
+ msgstr ""
773
+ "Error al crear la plantilla personalizada. Por favor, configura los permisos "
774
+ "de lectura y escritura para %s"
775
 
776
+ #. translators: %s: Name of the template
777
+ #: admin/sidebar/partials/aalb_templates.php:141
778
+ #, php-format
779
+ msgid ""
780
+ "Save Failed. A template with the name %s already exists. Please specify some "
781
+ "other name for the template"
782
+ msgstr ""
783
+ "Error al guardar. Ya existe una plantilla de nombre %s. Por favor, elige "
784
+ "otro nombre para la plantilla"
785
 
786
+ #: admin/sidebar/partials/aalb_templates.php:176
787
+ msgid "Successfully removed Template HTML"
788
+ msgstr "La plantilla HTML se eliminó con éxito"
 
789
 
790
+ #. translators: %s: Name of the template along with absolute file path
791
+ #: admin/sidebar/partials/aalb_templates.php:179
792
+ #, php-format
793
+ msgid "Couldn't remove Template HTML. Please manually remove %s"
794
+ msgstr ""
795
+ "No se pudo eliminar la plantilla HTML. Por favor, eliminar manualmente %s"
796
 
797
+ #: admin/sidebar/partials/aalb_templates.php:182
798
+ msgid "Successfully removed Template CSS"
799
+ msgstr "La plantilla CSS se eliminó con éxito"
800
 
801
+ #. translators: %s: Name of the template along with complete path
802
+ #: admin/sidebar/partials/aalb_templates.php:185
803
+ #, php-format
804
+ msgid "Couldn't remove Template CSS. Please manually remove %s"
805
+ msgstr ""
806
+ "No se pudo eliminar la plantilla CSS. Por favor, eliminar manualmente %s"
807
 
808
+ #: admin/sidebar/partials/aalb_templates.php:191
809
+ msgid "Couldn't remove Default Template"
810
+ msgstr "No se pudo eliminar la plantilla por defecto"
811
 
812
+ #: admin/sidebar/partials/aalb_templates.php:194
813
+ msgid "Cannot remove new template. Please select a valid template to remove."
814
+ msgstr ""
815
+ "No se puede eliminar una plantilla nueva. Por favor, selecciona una "
816
+ "plantilla válida para eliminar."
817
 
818
+ #: admin/sidebar/partials/aalb_templates.php:212
819
+ msgid "Templates for Associates Link Builder"
820
+ msgstr "Plantillas para el Creador de enlaces de Afiliado"
821
 
822
+ #: admin/sidebar/partials/aalb_templates.php:217
823
+ msgid "Select Template"
824
+ msgstr "Seleccionar plantilla"
825
 
826
+ #: admin/sidebar/partials/aalb_templates.php:221
827
+ msgid "Create new template"
828
+ msgstr "Crear nueva plantilla"
829
 
830
+ #: admin/sidebar/partials/aalb_templates.php:230
831
+ msgid "Clone"
832
+ msgstr "Clonar"
 
833
 
834
+ #: admin/sidebar/partials/aalb_templates.php:235
835
+ msgid "Set a name for your template"
836
+ msgstr "Selecciona un nombre para tu plantilla"
837
 
838
+ #: admin/sidebar/partials/aalb_templates.php:241
839
+ msgid "Guide for creating custom templates"
840
+ msgstr "Guía para crear plantillas personalizadas"
 
841
 
842
+ #: admin/sidebar/partials/aalb_templates.php:245
843
+ msgid "Add HTML for your template"
844
+ msgstr "Añadir HTML a tu plantilla"
 
845
 
846
+ #: admin/sidebar/partials/aalb_templates.php:251
847
+ msgid "Add CSS for your template"
848
+ msgstr "Añadir CSS a tu plantilla"
 
849
 
850
+ #: admin/sidebar/partials/aalb_templates.php:258
851
+ msgid "Save"
852
+ msgstr "Guardar"
853
+
854
+ #: admin/sidebar/partials/aalb_templates.php:259
855
+ msgid "Remove"
856
+ msgstr "Eliminar"
857
 
858
+ #. translators: %s: Information message
859
+ #: admin/sidebar/partials/aalb_ui_common.php:19
860
+ #, php-format
861
+ msgid "INFO - %s"
862
+ msgstr "INFORMACIÓN - %s"
863
 
864
+ #. translators: %s: Warning message
865
+ #: admin/sidebar/partials/aalb_ui_common.php:24
866
+ #, php-format
867
+ msgid "WARNING - %s"
868
+ msgstr "ATENCIÓN - %s"
869
 
870
+ #. translators: %s: Error message
871
+ #: admin/sidebar/partials/aalb_ui_common.php:29
872
+ #, php-format
873
+ msgid "ERROR - %s"
874
+ msgstr "ERROR - %s"
875
 
876
+ #. translators: %s: Success message
877
+ #: admin/sidebar/partials/aalb_ui_common.php:34
878
+ #, php-format
879
+ msgid "SUCCESS - %s"
880
+ msgstr "COMPLETADO - %s"
881
 
882
+ #. translators: 1: URL of Associate sign-up page 2: _blank 3:URL of adding
883
+ #. secondary user page 4: _blank
884
+ #: lib/php/Paapi/aalb_paapi_helper.php:114
885
+ #, php-format
886
+ msgid ""
887
+ "Your AWS Access Key Id is not registered as an Amazon Associate. Please "
888
+ "verify that you are <a href=%1s target=%2s>registered as an Amazon "
889
+ "Associate</a> in respective locale and you added the email address "
890
+ "registered for the Product Advertising API as a <a href=%3s target=%4s>"
891
+ "secondary email address in your Amazon Associates account</a>."
892
+ msgstr ""
893
+ "Tu ID de Clave de Acceso AWS no está registrada como perteneciente a un "
894
+ "Afiliado de Amazon. Por favor, comprueba que estás debidamente <a href=%1s "
895
+ "target=%2s>registrado como Afiliado de Amazon</a>en el programa adecuado y "
896
+ "que añadiste la dirección de correo electrónico registrada para la API como "
897
+ "<a href=%3s target=%4s>dirección de correo secundaria en tu cuenta de "
898
+ "Afiliado</a>."
899
 
900
+ #. translators: 1: URL of PA-API sign-up page 2: _blank
901
+ #: lib/php/Paapi/aalb_paapi_helper.php:117
902
+ #: lib/php/Paapi/aalb_paapi_helper.php:119
903
+ #, php-format
904
+ msgid ""
905
+ "Your AccessKey Id is not registered for Product Advertising API. Please sign "
906
+ "up for Product Advertising API by <a href=%1s target=%2s>following these "
907
+ "guidelines</a>."
908
+ msgstr ""
909
+ "Tu ID de clave de acceso no está registrada en la API de anuncio de "
910
+ "productos. Por favor, regístrate en la API <a href=%1s target=%2s>siguiendo "
911
+ "estas directrices</a>."
912
 
913
+ #: lib/php/Paapi/aalb_paapi_helper.php:121
914
+ msgid "Internal server error"
915
+ msgstr "Error interno del servidor"
916
 
917
+ #. translators: 1: URL of PA-API efficiency guidelines page 2: _blank
918
+ #: lib/php/Paapi/aalb_paapi_helper.php:124
919
+ #, php-format
920
+ msgid ""
921
+ "You are submitting requests too quickly. Please retry your requests at a "
922
+ "slower rate. For more information, see <a href=%1s target=%2s>Efficiency "
923
+ "Guidelines</a>."
924
+ msgstr ""
925
+ "Estas realizando peticiones demasiado rápidamente. Por favor, vuelve a "
926
+ "enviar tus peticiones a un ritmo más lento. Para mayor información, revisa "
927
+ "las <a href=%1s target=%2s>Recomendaciones de eficiencia</a>."
928
 
929
+ #. translators: %s: Email-id of the support
930
+ #: lib/php/Paapi/aalb_paapi_helper.php:127
931
+ #, php-format
932
+ msgid ""
933
+ "Request timed out. Try again after some time. Please check you network and "
934
+ "firewall settings. If the error still persists, write to us at %s."
935
+ msgstr ""
936
+ "El tiempo de respuesta expiró. El tiempo de espera se agotó. Por favor, "
937
+ "vuelve a intentarlo pasados unos minutos. Te rogamos que compruebes tu "
938
+ "conexión y la configuración de tu firewall. Si el problema persiste, "
939
+ "escríbenos a %s."
940
 
941
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:57
942
+ msgid "Default Marketplace"
943
+ msgstr "Mercado por defecto"
944
+
945
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:59
946
+ msgid "Tracking Id(s)"
947
+ msgstr "ID de seguimiento"
948
 
949
  #. Plugin Name of the plugin/theme
950
  msgid "Amazon Associates Link Builder"
951
  msgstr "Amazon Associates Link Builder"
952
+
953
+ #. Description of the plugin/theme
954
+ msgid ""
955
+ "Amazon Associates Link Builder is the official free Amazon Associates "
956
+ "Program plugin for WordPress. The plugin enables you to search for products "
957
+ "in the Amazon catalog, access real-time price and availability information, "
958
+ "and easily create links in your posts to products on Amazon.com. You will be "
959
+ "able to generate text links, create custom ad units, or take advantage of "
960
+ "out-of-the-box widgets that we’ve designed and included with the plugin."
961
+ msgstr ""
962
+ "El Creador de enlaces para Afiliados de Amazon es el plugin oficial gratuito "
963
+ "para WordPress del Programa de Afiliados de Amazon. El plugin te permite "
964
+ "buscar productos en el catálogo de Amazon, acceder en tiempo real a "
965
+ "información de precios y disponibilidad, e incluir fácilmente en tus posts "
966
+ "enlaces a productos de Amazon.com. Podrás crear enlaces de texto, anuncios "
967
+ "personalizados o aprovechar los widgets que hemos diseñado e incluido en el "
968
+ "plugin."
969
+
970
+ #. Author of the plugin/theme
971
+ msgid "Amazon Associates Program"
972
+ msgstr "Programa de Afiliados de Amazon"
973
+
974
+ #. Author URI of the plugin/theme
975
+ msgid "https://affiliate-program.amazon.com/"
976
+ msgstr "https://affiliate-program.amazon.com/"
languages/amazon-associates-link-builder-fr_FR.mo CHANGED
Binary file
languages/amazon-associates-link-builder-fr_FR.po CHANGED
@@ -1,559 +1,979 @@
1
- # Translation of Plugins - Amazon Associates Link Builder - Development (trunk) in French (France)
2
- # This file is distributed under the same license as the Plugins - Amazon Associates Link Builder - Development (trunk) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2017-10-10 01:51+0530\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n > 1;\n"
10
- "X-Generator: Poedit 2.0.2\n"
11
- "Language: fr\n"
12
- "Project-Id-Version: Plugins - Amazon Associates Link Builder - Development (trunk)\n"
13
- "POT-Creation-Date: \n"
14
- "Last-Translator: \n"
15
- "Language-Team: \n"
16
-
17
- #. translators: 1: Invalid associate id 2: Valid associate id
18
- #: shortcode/aalb_shortcode_helper.php:191
19
- msgid "The Associate tag %1s is not present in the list of valid tags. Associate tag has been updated to %2s. Please check your Associate tag selection or contact the administrator to add a new tag."
20
- msgstr "La balise Partenaire %1s ne figure pas dans la liste des balises valides. La balise Partenaire est à présent %2s. Veuillez vérifier votre choix de balise Partenaire ou contactez l’administrateur pour ajouter une nouvelle balise."
 
21
 
22
- #. translators: 1: Invalid template name 2: Valid template name
23
- #: shortcode/aalb_shortcode_helper.php:168
24
- msgid "The template: %1s is invalid. Using default template %2s."
25
- msgstr "Le modèle %1s n’est pas valide. Le modèle par défaut %2s sera utilisé."
 
 
 
26
 
27
- #. translators: %s: Invalid ASIN name
28
- #: shortcode/aalb_shortcode_helper.php:144
29
- msgid "The ASIN: %s is invalid."
30
- msgstr "L’ASIN %s n’est pas valide."
31
 
32
- #: lib/php/aalb_validation_helper.php:102
33
- msgid "Associate Tag was not found. The sales will not be attributed to any store and you will not earn the associate fees for it. Please provide a valid Associate Tag if you wish to earn the referral fees. Assocaite Tags can be configured from the 'Settings' tab in the WordPress administration panel"
34
- msgstr "La balise Partenaire n’a pas été trouvée. Les ventes ne seront attribuées à aucun magasin et vous ne percevrez pas les rémunérations qui y sont associées. Veuillez fournir une balise Partenaire valide si vous souhaitez percevoir les rémunérations publicitaires. Les balises Partenaire peuvent être configurées dans l’onglet « Paramètres » du panneau d’administration WordPress"
35
 
36
- #. translators: %s: Email-id of the support
37
- #: lib/php/Paapi/aalb_paapi_helper.php:127
38
- msgid "Request timed out. Try again after some time. Please check you network and firewall settings. If the error still persists, write to us at %s."
39
- msgstr "La demande a expiré. Patientez quelques minutes avant d’essayer à nouveau. Prière de vérifier les paramètres de votre réseau et de votre pare-feu. Si l’erreur persiste, écrivez-nous à %s."
40
 
41
- #. translators: 1: URL of PA-API efficiency guidelines page 2: _blank
42
- #: lib/php/Paapi/aalb_paapi_helper.php:124
43
- msgid "You are submitting requests too quickly. Please retry your requests at a slower rate. For more information, see <a href=%1s target=%2s>Efficiency Guidelines</a>."
44
- msgstr "Vous envoyez vos demandes trop rapidement. Veuillez essayer à nouveau à un rythme plus lent. Pour un complément d’information, consultez les <a href=\"%1s\" target=\"%2s\">Principes d’efficacité</a>."
45
 
46
- #: lib/php/Paapi/aalb_paapi_helper.php:121
47
- msgid "Internal server error"
48
- msgstr "Erreur interne du serveur"
49
 
50
- #. translators: 1: URL of PA-API sign-up page 2: _blank
51
- #: lib/php/Paapi/aalb_paapi_helper.php:117
52
- #: lib/php/Paapi/aalb_paapi_helper.php:119
53
- msgid "Your AccessKey Id is not registered for Product Advertising API. Please sign up for Product Advertising API by <a href=%1s target=%2s>following these guidelines</a>."
54
- msgstr "Votre ID de clé d’accès n’est pas enregistré auprès du Product Advertising API. Veuillez vous inscrire au Product Advertising API en <a href=%1s target=%2s>suivant les consignes suivantes</a>."
55
 
56
- #. translators: 1: URL of Associate sign-up page 2: _blank 3:URL of adding
57
- #. secondary user page 4: _blank
58
- #: lib/php/Paapi/aalb_paapi_helper.php:114
59
- msgid "Your AWS Access Key Id is not registered as an Amazon Associate. Please verify that you are <a href=%1s target=%2s>registered as an Amazon Associate</a> in respective locale and you added the email address registered for the Product Advertising API as a <a href=%3s target=%4s>secondary email address in your Amazon Associates account</a>."
60
- msgstr "Votre ID de clé d’accès AWS n’est pas associé à un Partenaire Amazon. Veuillez vérifier que vous êtes <a href=\"%1s\" target=\"%2s\">inscrit au programme Partenaires Amazon</a> dans la région pertinente et que vous avez ajouté l’adresse email correspondant au Product Advertising API comme <a href=\"%3s\" target=\"%4s\">adresse e-mail secondaire dans votre compte Partenaire Amazon</a>."
61
 
62
- #: includes/aalb_remote_loader.php:79
63
- msgid "Response body is empty"
64
- msgstr "Le champ de réponse est vide"
 
 
65
 
66
- #. translators: %s: Error message
67
- #: includes/aalb_remote_loader.php:71
68
- msgid "HTTP Request failed! %s"
69
- msgstr "La requête HTTP a échoué ! %s"
70
 
71
- #. translators: %s: Success message
72
- #: admin/sidebar/partials/aalb_ui_common.php:34
73
- msgid "SUCCESS - %s"
74
- msgstr "SUCCÈS - %s"
75
 
76
- #. translators: %s: Error message
77
- #: admin/sidebar/partials/aalb_ui_common.php:29
78
- msgid "ERROR - %s"
79
- msgstr "ERREUR - %s"
80
 
81
- #. translators: %s: Warning message
82
- #: admin/sidebar/partials/aalb_ui_common.php:24
83
- msgid "WARNING - %s"
84
- msgstr "AVERTISSEMENT - %s"
 
 
 
85
 
86
- #. translators: %s: Information message
87
- #: admin/sidebar/partials/aalb_ui_common.php:19
88
- msgid "INFO - %s"
89
- msgstr "INFO - %s"
 
 
90
 
91
- #: admin/sidebar/partials/aalb_templates.php:259
92
- msgid "Remove"
93
- msgstr "Supprimer"
94
 
95
- #: admin/sidebar/partials/aalb_templates.php:258
96
- msgid "Save"
97
- msgstr "Sauvegarder"
98
 
99
- #: admin/sidebar/partials/aalb_templates.php:251
100
- msgid "Add CSS for your template"
101
- msgstr "Ajouter un CSS pour votre modèle"
102
 
103
- #: admin/sidebar/partials/aalb_templates.php:245
104
- msgid "Add HTML for your template"
105
- msgstr "Ajouter le code HTML de votre modèle"
106
 
107
- #: admin/sidebar/partials/aalb_templates.php:241
108
- msgid "Guide for creating custom templates"
109
- msgstr "Guide pour la création de modèles personnalisés"
 
 
 
 
 
110
 
111
- #: admin/sidebar/partials/aalb_templates.php:235
112
- msgid "Set a name for your template"
113
- msgstr "Définir un nom pour votre modèle"
114
 
115
- #: admin/sidebar/partials/aalb_templates.php:230
116
- msgid "Clone"
117
- msgstr "Dupliquer"
118
 
119
- #: admin/sidebar/partials/aalb_templates.php:221
120
- msgid "Create new template"
121
- msgstr "Créer un nouveau modèle"
122
 
123
- #: admin/sidebar/partials/aalb_templates.php:217
124
- msgid "Select Template"
125
- msgstr "Sélectionner un modèle"
126
 
127
- #: admin/sidebar/partials/aalb_templates.php:212
128
- msgid "Templates for Associates Link Builder"
129
- msgstr "Modèles pour le plugin Associates Link Builder"
130
 
131
- #: admin/sidebar/partials/aalb_templates.php:194
132
- msgid "Cannot remove new template. Please select a valid template to remove."
133
- msgstr "Impossible de supprimer le nouveau modèle. Veuillez sélectionner un modèle valide à supprimer."
134
 
135
- #: admin/sidebar/partials/aalb_templates.php:191
136
- msgid "Couldn't remove Default Template"
137
- msgstr "Impossible de supprimer le modèle par défaut"
 
 
138
 
139
- #. translators: %s: Name of the template along with complete path
140
- #: admin/sidebar/partials/aalb_templates.php:185
141
- msgid "Couldn't remove Template CSS. Please manually remove %s"
142
- msgstr "Impossible de supprimer le CSS du modèle. Veuillez supprimer manuellement %s"
143
 
144
- #: admin/sidebar/partials/aalb_templates.php:182
145
- msgid "Successfully removed Template CSS"
146
- msgstr "Le CSS du modèle a été supprimé"
 
147
 
148
- #. translators: %s: Name of the template along with absolute file path
149
- #: admin/sidebar/partials/aalb_templates.php:179
150
- msgid "Couldn't remove Template HTML. Please manually remove %s"
151
- msgstr "Impossible de supprimer le code HTML du modèle. Veuillez supprimer manuellement %s"
152
 
153
- #: admin/sidebar/partials/aalb_templates.php:176
154
- msgid "Successfully removed Template HTML"
155
- msgstr "Le code HTML du modèle a été supprimé"
156
 
157
- #. translators: %s: Name of the template
158
- #: admin/sidebar/partials/aalb_templates.php:141
159
- msgid "Save Failed. A template with the name %s already exists. Please specify some other name for the template"
160
- msgstr "Échec de l’enregistrement. Un modèle du nom %s existe déjà. Veuillez donner un autre nom au modèle"
 
 
161
 
162
- #. translators: %s: Path of upload directory
163
- #: admin/sidebar/partials/aalb_templates.php:136
164
- msgid "Failed to create custom template. Please set up recursive Read-Write permissions for %s"
165
- msgstr "Impossible de créer le modèle personnalisé. Veuillez mettre en place des permissions récursives lecture/écriture pour %s"
 
 
 
 
166
 
167
- #: admin/sidebar/partials/aalb_templates.php:132
168
- msgid "Save Failed. Only alphanumeric characters allowed for template name."
169
- msgstr "Échec de l’enregistrement. Seuls les caractères alphanumériques sont autorisés pour le nom du modèle."
 
 
 
 
 
170
 
171
- #: admin/sidebar/partials/aalb_templates.php:129
172
- msgid "Please define the template name for the new template"
173
- msgstr "Prière de donner un nom au nouveau modèle"
 
 
 
 
 
174
 
175
- #. translators: 1: Number of templates 2: Name of deleted templates
176
- #: admin/sidebar/partials/aalb_templates.php:103
177
- msgid "%1s template(s) deleted: %2s"
178
- msgstr "%1s modèle(s) supprimé(s) : %2s"
179
 
180
- #. translators: 1: Number of templates 2: Name of added templates
181
- #: admin/sidebar/partials/aalb_templates.php:99
182
- msgid "%1s template(s) added: %2s"
183
- msgstr "%1s modèle(s) ajouté(s) : %2s"
184
 
185
- #: admin/sidebar/partials/aalb_templates.php:77
186
- msgid "Template Saved Successfully"
187
- msgstr "Le modèle a été enregistré"
188
 
189
- #. translators: %s for fileName
190
- #: admin/sidebar/partials/aalb_templates.php:51
191
- msgid "Save Failed. Error writing contents to file: %s"
192
- msgstr "Échec de l’enregistrement. Erreur d’écriture du contenu dans le fichier %s"
193
 
194
- #. translators: %s for fileName
195
- #: admin/sidebar/partials/aalb_templates.php:31
196
- msgid "Save Failed. The existing file %s is not writable."
197
- msgstr "Échec de l’enregistrement. Le fichier %s n’est pas accessible en écriture."
198
 
199
- #: admin/sidebar/partials/aalb_credentials.php:160
200
- msgid "Save Changes"
201
- msgstr "Enregistrer les modifications"
 
 
 
 
 
202
 
203
- #. translators: 1: URL of Condition of Use page 2: _blank
204
- #: admin/sidebar/partials/aalb_credentials.php:158
205
- msgid "Check here to indicate that you have read and agree to the Amazon Associates Link Builder <a href=%1s target=%2s>Conditions of Use</a>."
206
- msgstr "Cochez ici pour indiquer que vous avez lu et acceptez les <a href=\"%1s\" target=\"%2s\">Conditions d’utilisation</a> du plugin Amazon Associates Link Builder."
 
 
 
 
 
 
207
 
208
- #. translators: 1: URL of managing PA-API acccount page 2: _blank
209
- #: admin/sidebar/partials/aalb_credentials.php:148
210
- msgid "A key that is used in conjunction with the Access Key ID to cryptographically sign an API request. To retrieve your Access Key ID or Secret Access Key, go to <a href=%1s target=%2s>Manage Your Account</a>. The plugin uses a default encryption key for encrypting the Secret Key. You can change the key using AALB_ENCRYPTION_KEY parameter defined in /aalb_config.php."
211
- msgstr "Une clé qui est utilisée en conjonction avec l’ID de clé d’accès pour apporter une signature cryptographique à une demande d’API. Pour récupérer votre ID de clé d’accès ou clé d’accès secrète, allez dans <a href=\"%1s\" target=\"%2s\">Gérer votre compte</a>. Le plugin utilise une clé de chiffrement par défaut pour le chiffrement de la clé secrète. Vous pouvez modifier la clé à l’aide du paramètre AALB_ENCRYPTION_KEY défini dans /aalb_config.php."
212
 
213
- #: admin/sidebar/partials/aalb_credentials.php:136
214
- msgid "Secret Access Key"
215
- msgstr "Clé d'accès secrète"
 
 
 
 
 
 
216
 
217
- #. translators: 1: URL of Getting Started page 2: _blank
218
- #: admin/sidebar/partials/aalb_credentials.php:132
219
- msgid "Your Access Key ID that you generated after signing up for the Amazon Product Advertising API. If you have not already signed up for the Amazon Product Advertising API, you can do so by following instructions listed <a href=%1s target=%2s>here</a>."
220
- msgstr "L’ID de clé d’accès que vous avez généré après votre inscription auprès du Product Advertising API d’Amazon. Si vous n’êtes pas encore inscrit(e) au Product Advertising API d’Amazon, vous pouvez le faire en suivant les instructions données <a href=\"%1s\" target=\"%2s\">ici</a>."
221
 
222
- #: admin/sidebar/partials/aalb_credentials.php:125
223
- msgid "Access Key ID"
224
- msgstr "ID de clé d’accès"
225
 
226
- #: admin/sidebar/partials/aalb_credentials.php:122
227
- msgid "PA-API Credentials"
228
- msgstr "Identifiants de PA-API"
229
 
230
- #. translators: %s: rel="noreferrer" attribute
231
- #: admin/sidebar/partials/aalb_credentials.php:114
232
- msgid "Selecting the checkbox will remove %s from Amazon links on all posts till date. The action is reversible and you can revert by deselecting the checkbox"
233
- msgstr "En sélectionnant la case à cocher, vous supprimez %s des liens Amazon sur tous les articles jusqu'à cette date. Cette action est réversible ; pour cela, il vous suffit de désélectionner la case à cocher"
234
 
235
- #. translators: %s: rel="noreferrer" attribute
236
- #: admin/sidebar/partials/aalb_credentials.php:110
237
- msgid "Remove %s for Amazon Affiliate Links from all posts"
238
- msgstr "Supprimer %s des liens Partenaire Amazon dans tous les articles"
239
 
240
- #: admin/sidebar/partials/aalb_credentials.php:102
241
- msgid "The ad template that will be used for rendering the ad if no template is specified in the short code."
242
- msgstr "Le modèle d’annonce qui sera utilisé pour afficher l’annonce si aucun modèle n’est spécifié dans le code court."
243
 
244
- #: admin/sidebar/partials/aalb_credentials.php:88
245
- msgid "Default Template"
246
- msgstr "Modèle par défaut"
247
 
248
- #: admin/sidebar/partials/aalb_credentials.php:84
249
- msgid "Set the default Amazon marketplace based on the Amazon website that is identified in your Associates Account (for instance, if you have signed up for Amazon.co.uk site, then your default marketplace selection should be UK)."
250
- msgstr "Définissez le marché Amazon par défaut en fonction du site Amazon identifié dans votre compte Partenaire (par exemple, si vous vous êtes inscrit sur le site Amazon.fr, votre marché par défaut devrait être la France)."
251
 
252
- #: admin/sidebar/partials/aalb_credentials.php:69
253
- msgid "Default Marketplace"
254
- msgstr "Marché par défaut"
255
 
256
- #: admin/sidebar/partials/aalb_credentials.php:65
257
- msgid "The Associate ID that will be used for tagging the affiliate links generated by the plugin if no tag is specified in the short code."
258
- msgstr "L’ID Partenaire qui sera utilisé pour marquer les liens d’affiliation générés par le plugin si aucune balise n’est spécifiée dans le code court."
 
 
 
 
259
 
260
- #: admin/sidebar/partials/aalb_credentials.php:52
261
- msgid "Default Associate ID"
262
- msgstr "ID Partenaire par défaut"
263
 
264
- #: admin/sidebar/partials/aalb_credentials.php:49
265
- msgid "Site Wide Settings"
266
- msgstr "Paramètres généraux du site"
 
 
267
 
268
- #: admin/sidebar/partials/aalb_credentials.php:41
269
- msgid "Associate ID is used to monitor traffic and sales from your links to Amazon. You can add one store id or tracking id per row. You are recommended to create a new tracking ID in your Amazon Associates account for using it as Associate ID in the plugin."
270
- msgstr "L’ID Partenaire est utilisé pour suivre le trafic et les ventes associés à vos liens sur Amazon. Vous pouvez ajouter un ID magasin ou ID de suivi par rangée. Il est recommandé de créer un nouvel ID de suivi dans votre compte Partenaire Amazon et de l’utiliser en tant qu’ID Partenaire dans le plugin."
271
 
272
- #: admin/sidebar/partials/aalb_credentials.php:31
273
- msgid "Tracking Id(s)"
274
- msgstr "ID de suivi"
 
 
275
 
276
- #: admin/sidebar/partials/aalb_credentials.php:25
277
- msgid "Settings for Associates Link Builder"
278
- msgstr "Paramètres pour le créateur de lien Partenaire"
 
 
279
 
280
- #: admin/sidebar/partials/aalb_admin_ui_common.php:27
281
- msgid "We <b>recommend</b> using HTTPs connection for improved security."
282
- msgstr "Nous <b>recommandons</b> d’utiliser la connexion HTTPs pour améliorer la sécurité."
 
 
 
 
 
 
 
 
283
 
284
- #. translators: 1: URL of Plugin's Support Forum 2: _blank
285
- #: admin/sidebar/partials/aalb_about.php:148
286
- msgid "If you get stuck, or have any questions, you can ask for help in the <a href=%1s target=%2s>Amazon Associates Link Builder plugin forum</a>."
287
- msgstr "Si vous rencontrez un problème ou avez des questions, vous pouvez demander de l’aide dans le <a href=\"%1s\" target=\"%2s\">forum du plugin Amazon Associates Link Builder</a>."
288
 
289
- #: admin/sidebar/partials/aalb_about.php:145
290
- msgid "Support"
291
- msgstr "Assistance"
 
 
292
 
293
- #. translators: 1: URL of Link Builder User Guide 2: _blank
294
- #: admin/sidebar/partials/aalb_about.php:143
295
- msgid "Review <a href=%1s target=%2s >Link Builder User Guide</a> for more information on getting started and key features of the plugin."
296
- msgstr "Consultez le <a href=\"%1s\" target=\"%2s\">Guide d’utilisation du Link Builder</a> pour plus d’informations sur la mise en route et principales caractéristiques du plugin."
 
297
 
298
- #: admin/sidebar/partials/aalb_about.php:140
299
- msgid "User Guide"
300
- msgstr "Guide d'utilisation"
 
 
301
 
302
- #: admin/sidebar/partials/aalb_about.php:138
303
- msgid "That's it! You’re all set to start adding Amazon affiliate links to your posts using the Amazon Associates Link Builder plugin!"
304
- msgstr "Et voilà ! Vous êtes prêt(e) à ajouter des liens Partenaire Amazon à vos articles à l’aide du plugin de création de liens Amazon !"
 
 
 
 
 
 
 
 
 
 
305
 
306
- #: admin/sidebar/partials/aalb_about.php:134
307
- msgid "Set the default Amazon marketplace based on the Amazon Associates Program for which you are registered (for example, if you’ve signed up for the Amazon Associates Program in UK, then your default marketplace selection should be UK) and select an appropriate template for rendering your ads."
308
- msgstr "Définissez le marché Amazon par défaut en fonction du programme Partenaires Amazon auquel vous participez (par exemple, si vous êtes inscrit(e) sur le site partenaires.amazon.fr, votre marché par défaut devrait être la France) et choisissez un modèle approprié pour afficher vos annonces."
309
 
310
- #: admin/sidebar/partials/aalb_about.php:132
311
- msgid "Set default Associate ID. Associate ID is used to monitor traffic and sales from your links to Amazon. You can also define a list of valid Associate IDs (store ids or tracking ids). You should create a new tracking ID in your Amazon Associates account for using it as Associate ID in the plugin."
312
- msgstr "Définissez l’ID Partenaire par défaut. L’ID Partenaire est utilisé pour suivre le trafic et les ventes associés à vos liens sur Amazon. Vous pouvez aussi définir une liste d’ID Partenaires valides (ID magasin ou ID de suivi). Il est recommandé de créer un nouvel ID de suivi dans votre compte Partenaire Amazon et de l’utiliser en tant qu’ID Partenaire dans le plugin."
 
 
 
 
 
 
 
 
 
 
 
 
313
 
314
- #: admin/sidebar/partials/aalb_about.php:130
315
- msgid "Set Access Key ID and Secret Access Key in the Settings section. These credentials are used to invoke requests to the Amazon Product Advertising API for fetching information on an item."
316
- msgstr "Définissez l’ID de clé d’accès et la clé d’accès secrète dans la section Paramètres. Ces identifiants sont utilisés pour envoyer des requêtes au Product Advertising API d’Amazon et obtenir des informations sur un article."
317
 
318
- #: admin/sidebar/partials/aalb_about.php:127
319
- msgid "Use the Associates Link Builder->Settings screen to configure the plugin."
320
- msgstr "Utilisez la section Paramètres du plugin Associates Link Builder pour le configurer."
 
 
 
 
 
 
 
 
 
 
 
 
321
 
322
- #: admin/sidebar/partials/aalb_about.php:125
323
- msgid "Step 3 - Configure plugin for first use"
324
- msgstr "Étape 3 - Configurer le plugin pour une première utilisation"
325
 
326
- #. translators: 1: URL of Getting Started page 2: _blank
327
- #: admin/sidebar/partials/aalb_about.php:123
328
- msgid "Sign up for the Amazon Product Advertising API by following the instructions listed <a href=%1s target=%2s>here</a>. The Amazon Product Advertising API is a popular e-commerce service, powering Amazon-integrated experiences around the world, serving tens of thousands of applications and more than 1 billion API requests every day. It exposes a web-service, which allows Associates to programmatically search and look up items in the Amazon product catalog. The Link Builder plugin integrates the Product Advertising API, allowing you to access Amazon.com product catalog data without requiring additional software development."
329
- msgstr "Inscrivez-vous au Product Advertising API d’Amazon en suivant les instructions données <a href=%1s target=%2s>ici</a>. Le Product Advertising API d’Amazon est un service d’e-commerce populaire qui propose une expérience intégrée sur les sites Amazon du monde entier, avec la prise en charge de dizaines de milliers d’applications et de plus d’un milliard de requêtes API chaque jour. Il permet aux Partenaires de rechercher et d’afficher les articles du catalogue Amazon. Il est intégré dans le plugin Link Builder, ce qui vous donne accès aux informations contenues dans le catalogue de produits d’Amazon.fr sans devoir avoir recours à d’autres logiciels."
 
 
 
 
 
330
 
331
- #: admin/sidebar/partials/aalb_about.php:120
332
- msgid "Step 2 - Sign up for the Amazon Product Advertising API"
333
- msgstr "Étape 2 - S’inscrire au Product Advertising API d’Amazon"
 
 
 
 
 
 
 
334
 
335
- #: admin/sidebar/partials/aalb_about.php:118
336
- msgid "Your Associate ID works only in the country in which you register. If you’d like to be an Associate in more than one country, please register separately for each country."
337
- msgstr "Votre ID Partenaire n’est valide que dans le pays dans lequel vous vous inscrivez. Si vous souhaitez participer aux programmes Partenaires de plusieurs pays, veuillez vous inscrire séparément au programme de chaque pays différent."
338
 
339
- #: admin/sidebar/partials/aalb_about.php:111
340
- msgid "United States"
341
- msgstr "États-Unis"
342
 
343
- #: admin/sidebar/partials/aalb_about.php:105
344
- msgid "United Kingdom"
345
- msgstr "Royaume-Uni"
 
 
 
 
346
 
347
- #: admin/sidebar/partials/aalb_about.php:99
348
- msgid "Spain"
349
- msgstr "Espagne"
350
 
351
- #: admin/sidebar/partials/aalb_about.php:93
352
- msgid "Mexico"
353
- msgstr "Mexique"
354
 
355
- #: admin/sidebar/partials/aalb_about.php:87
356
- msgid "Japan"
357
- msgstr "Japon"
358
 
359
- #: admin/sidebar/partials/aalb_about.php:81
360
- msgid "Italy"
361
- msgstr "Italie"
 
 
 
 
362
 
363
  #: admin/sidebar/partials/aalb_about.php:75
364
  msgid "India"
365
  msgstr "Inde"
366
 
367
- #: admin/sidebar/partials/aalb_about.php:69
368
- msgid "Germany"
369
- msgstr "Allemagne"
370
 
371
- #: admin/sidebar/partials/aalb_about.php:63
372
- msgid "France"
373
- msgstr "France"
374
 
375
- #: admin/sidebar/partials/aalb_about.php:57
376
- msgid "China"
377
- msgstr "Chine"
378
 
379
- #: admin/sidebar/partials/aalb_about.php:51
380
- msgid "Canada"
381
- msgstr "Canada"
382
 
383
- #: admin/sidebar/partials/aalb_about.php:45
384
- msgid "Brazil"
385
- msgstr "Brésil"
386
 
387
- #: admin/sidebar/partials/aalb_about.php:41
388
- msgid "To become an Associate, create an Amazon Associates account using URL for your country:"
389
- msgstr "Pour devenir Partenaire, créez un compte Partenaire Amazon à l’aide de l’URL correspondant à votre pays :"
390
 
391
- #: admin/sidebar/partials/aalb_about.php:39
392
- msgid "Step 1 - Become an Associate"
393
- msgstr "Étape 1 - Devenir Partenaire"
 
 
 
 
 
 
 
394
 
395
- #: admin/sidebar/partials/aalb_about.php:38
396
- msgid "Getting Started"
397
- msgstr "Guide de démarrage"
398
 
399
- #: admin/sidebar/partials/aalb_about.php:35
400
- msgid "The plugin is currently in beta form. We intend to regularly add new features and enhancements throughout the beta period and beyond, and welcome your feedback and input."
401
- msgstr "Le plugin est actuellement en version bêta. Nous prévoyons d’y ajouter régulièrement de nouvelles fonctionnalités et améliorations durant la période bêta et au-delà. Nous vous invitons à partager tout retour et commentaire."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
 
403
  #. translators: 1: URL of Condition of Use page 2: _blank
404
- #: admin/sidebar/partials/aalb_about.php:32
405
- msgid "You must review and accept the Amazon Associates Link Builder <a href=%1s target=%2s>Conditions of Use.</a>"
406
- msgstr "Prière de lire et d’accepter les <a href=%1s target=%2s>Conditions d’utilisation</a> du plugin Amazon Associates Link Builder"
 
 
 
 
 
 
407
 
408
- #: admin/sidebar/partials/aalb_about.php:28
409
- msgid "Note"
410
- msgstr "Remarque"
411
 
412
- #: admin/sidebar/partials/aalb_about.php:26
413
- msgid "Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin."
414
- msgstr "Link Builder est le plugin officiel gratuit du Programme Partenaires Amazon pour Wordpress. Il vous permet de rechercher des produits dans le catalogue Amazon, d’accéder à leur prix et à leur disponibilité en temps réel et d’insérer facilement dans vos articles des liens menant aux produits en vente sur Amazon.fr. Vous pourrez générer des liens texte, créer des blocs d’annonce personnalisés ou utiliser les widgets que nous avons conçus."
 
 
 
415
 
416
- #: admin/sidebar/partials/aalb_about.php:24
417
- msgid "About Amazon Associates Link Builder"
418
- msgstr "À propos du plugin Amazon Associates Link Builder"
 
 
 
419
 
420
- #. translators: 1: URL of affiliate website 2: _blank
421
- #: admin/sidebar/partials/aalb_about.php:22
422
- msgid "The Amazon Associates Program is one of the original affiliate marketing programs. Available in geographies across the globe, the Amazon Associates Program has been partnering with content creators to help them monetize their passions since 1996. To learn more about the Amazon Associates Program, please click <a href=%1s target=%2s >here</a>."
423
- msgstr "Pionnier du marketing d’affiliation depuis 1996, le programme Partenaires Amazon est disponible dans le monde entier et collabore avec les créateurs de contenu pour les aider à monétiser leur passion. Pour en savoir plus sur le programme Partenaires Amazon, veuillez cliquer <a href=\"%1s\" target=\"%2s\">ici</a>."
424
 
425
- #: admin/sidebar/partials/aalb_about.php:19
426
- msgid "About Amazon Associates Program"
427
- msgstr "À propos du programme Partenaires Amazon"
 
 
428
 
429
- #: admin/sidebar/aalb_sidebar.php:39 amazon-associates-link-builder.php:41
430
- msgid "Templates"
431
- msgstr "Modèles"
 
 
432
 
433
- #. translators: %s: Name of plugin
434
- #: admin/sidebar/aalb_sidebar.php:39
435
- msgid "Configure %s Templates"
436
- msgstr "Configurer les modèles %s"
437
 
438
- #: admin/sidebar/aalb_sidebar.php:37 amazon-associates-link-builder.php:40
439
- msgid "Settings"
440
- msgstr "Paramètres"
 
 
441
 
442
- #. translators: %s: Name of plugin
443
- #: admin/sidebar/aalb_sidebar.php:37
444
- msgid "Configure %s Settings"
445
- msgstr "Configurer les paramètres de %s"
 
 
 
 
 
446
 
447
- #: admin/sidebar/aalb_sidebar.php:35 amazon-associates-link-builder.php:39
448
- msgid "About"
449
- msgstr "À propos"
 
 
 
 
 
 
450
 
451
- #. translators: %s: Name of plugin
452
- #: admin/sidebar/aalb_sidebar.php:35
453
- msgid "Configure %s About"
454
- msgstr "Configurer la section À propos de %s"
455
 
456
- #: admin/sidebar/aalb_sidebar.php:31 admin/sidebar/partials/aalb_about.php:17
457
- msgid "Associates Link Builder"
458
- msgstr "Associates Link Builder"
 
 
 
 
459
 
460
- #: admin/partials/aalb_meta_box.php:93
461
- msgid "Creating shortcode. Please wait...."
462
- msgstr "Code court en cours de création. Veuillez patienter..."
463
 
464
- #: admin/partials/aalb_meta_box.php:90
465
- msgid "Add Shortcode"
466
- msgstr "Ajouter code court"
 
 
 
467
 
468
- #: admin/partials/aalb_meta_box.php:86
469
- msgid "List of Selected Products"
470
- msgstr "Liste des produits sélectionnés"
471
 
472
- #: admin/partials/aalb_meta_box.php:82
473
- msgid "Check more search results on Amazon"
474
- msgstr "Autres résultats de recherche sur Amazon"
 
 
475
 
476
- #: admin/partials/aalb_meta_box.php:80
477
- msgid "Click to select product(s) to advertise"
478
- msgstr "Cliquez pour sélectionner un ou plusieurs produit(s) à mettre en avant"
479
 
480
- #: admin/partials/aalb_meta_box.php:77
481
- msgid "Searching relevant products from Amazon"
482
- msgstr "Recherche de produits pertinents sur Amazon"
483
 
484
- #: admin/partials/aalb_meta_box.php:64
485
- msgid "Marketplace"
486
- msgstr "Marché"
487
 
488
- #: admin/partials/aalb_meta_box.php:55
489
- #: admin/sidebar/partials/aalb_credentials.php:34
490
- msgid "Associate ID"
491
- msgstr "ID Partenaire"
492
 
493
- #: admin/partials/aalb_meta_box.php:46
494
- msgid "Ad Template"
495
- msgstr "Modèle d’annonce"
496
 
497
- #: admin/partials/aalb_editor_search_box.php:38
498
- #: admin/partials/aalb_meta_box.php:39
499
- msgid "Search"
500
- msgstr "Recherche"
501
 
502
- #: admin/partials/aalb_editor_search_box.php:35
503
- #: admin/partials/aalb_meta_box.php:37
504
- msgid "Enter keyword(s)"
505
- msgstr "Entrer mot(s) clé(s)"
506
 
507
- #. translators: %s: URL of settings page
508
- #: admin/partials/aalb_editor_search_box.php:30
509
- msgid "Please configure your PA-API credentials in the <a href=%s>Settings Page</a> to use the Link Builder features."
510
- msgstr "Veuillez configurer vos identifiants PA-API sur la <a href=%s>page Paramètres</a> pour utiliser le créateur de lien."
511
 
512
- #: admin/aalb_admin.php:255
513
- msgid "Not authorised to make request"
514
- msgstr "Vous n’avez pas l’autorisation de faire cette requête"
 
 
 
 
515
 
516
- #: admin/aalb_admin.php:245
517
- msgid "Not authorised to make request template content or Directory Traversal Attempted."
518
- msgstr "Vous n’avez pas l’autorisation de faire une requête de contenu de modèle ou Tentative de traversée de répertoires."
 
 
519
 
520
- #: admin/aalb_admin.php:116 admin/partials/aalb_editor_search_box.php:37
521
- msgid "Add Amazon Associates Link Builder Shortcode"
522
- msgstr "Ajouter le code court du plugin Amazon Associates Link Builder"
 
 
523
 
524
- #. translators: %s: Email-id of the support
525
- #: admin/aalb_admin.php:115
526
- msgid "Request timed out. Try again after some time. Please check your network and firewall settings. If the error still persists, write to us at %s."
527
- msgstr "La demande a expiré. Patientez quelques minutes avant d’essayer à nouveau. Prière de vérifier les paramètres de votre réseau et de votre pare-feu. Si l’erreur persiste, écrivez-nous à %s."
 
528
 
529
- #: admin/aalb_admin.php:113
530
- msgid "Failed to create Text Link shortcode. Editor has some text selected. Only one item can be selected while adding text links"
531
- msgstr "Impossible de créer le code court du lien texte. Du texte est sélectionné dans l’éditeur. Un seul élément peut être sélectionné lors de l’ajout de liens texte"
 
 
532
 
533
- #: admin/aalb_admin.php:112
534
- msgid "Please Enter a Product Name "
535
- msgstr "Veuillez entrer un nom de produit "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
536
 
537
- #: admin/aalb_admin.php:111
538
- msgid "Please select at least one product for display"
539
- msgstr "Veuillez sélectionner au moins un produit à afficher"
 
 
 
 
 
 
 
 
 
540
 
541
- #: admin/aalb_admin.php:110
542
- msgid "Only one product can be selected for this template"
543
- msgstr "Un produit seulement peut être sélectionné pour ce modèle"
544
 
545
- #. Author URI of the plugin/theme
546
- msgid "https://affiliate-program.amazon.com/"
547
- msgstr "https://affiliate-program.amazon.com/"
 
 
 
 
 
 
 
 
548
 
549
- #. Author of the plugin/theme
550
- msgid "Amazon Associates Program"
551
- msgstr "Programme Partenaires Amazon"
 
 
 
 
 
 
 
552
 
553
- #. Description of the plugin/theme
554
- msgid "Amazon Associates Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin."
555
- msgstr "Amazon Associates Link Builder est le plugin officiel gratuit du programme Partenaires Amazon pour Wordpress. Il vous permet de rechercher des produits dans le catalogue Amazon, d’accéder aux informations sur leur prix et leur disponibilité en temps réel et d’insérer facilement dans vos articles des liens menant aux produits en vente sur Amazon.fr. Vous pourrez générer des liens texte, créer des blocs d’annonce personnalisés ou utiliser les widgets que nous avons conçus et mettons à votre disposition dans le plugin."
 
 
 
 
556
 
557
  #. Plugin Name of the plugin/theme
558
  msgid "Amazon Associates Link Builder"
559
  msgstr "Amazon Associates Link Builder"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "PO-Revision-Date: 2017-12-04 20:38+0000\n"
4
  "MIME-Version: 1.0\n"
5
  "Content-Type: text/plain; charset=UTF-8\n"
6
  "Content-Transfer-Encoding: 8bit\n"
7
+ "Plural-Forms: nplurals=2; plural=n > 1\n"
8
+ "X-Generator: Loco - https://localise.biz/\n"
9
+ "Language: fr-FR\n"
10
+ "Project-Id-Version: Plugins - Amazon Associates Link Builder - Development "
11
+ "(trunk)\n"
12
+ "POT-Creation-Date: 2017-12-04 20:38+0000\n"
13
+ "Last-Translator: nishgarg <nishgarg@amazon.com>\n"
14
+ "Language-Team: French (France)\n"
15
+ "Report-Msgid-Bugs-To: "
16
+
17
+ #: admin/aalb_admin.php:132
18
+ msgid "Please select at least one product for these marketplaces:"
19
+ msgstr ""
20
 
21
+ #. %s: URL of settings page
22
+ #: admin/aalb_admin.php:141
23
+ #, php-format
24
+ msgid ""
25
+ "Please configure your Store-Id credentials in the <a href=%s>Settings "
26
+ "Page</a> to use the Link Builder features."
27
+ msgstr ""
28
 
29
+ #: admin/aalb_admin.php:145
30
+ msgid "Tracking IDs"
31
+ msgstr ""
 
32
 
33
+ #: admin/aalb_admin.php:146
34
+ msgid "Search Phrase"
35
+ msgstr ""
36
 
37
+ #: admin/aalb_admin.php:147
38
+ msgid "Select Tracking Id"
39
+ msgstr ""
 
40
 
41
+ #: admin/aalb_admin.php:149
42
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:56
43
+ msgid "Select Marketplace"
44
+ msgstr ""
45
 
46
+ #: admin/aalb_admin.php:153
47
+ msgid "List of Selected Products(Maximum: 10)"
48
+ msgstr ""
49
 
50
+ #: admin/aalb_admin.php:156
51
+ msgid ""
52
+ "To configure templates, go to Associates Link Builder plugin's Templates page"
53
+ msgstr ""
 
54
 
55
+ #: admin/aalb_admin.php:157
56
+ msgid ""
57
+ "To configure marketplaces, go to Associates Link Builder plugin's Settings "
58
+ "page"
59
+ msgstr ""
60
 
61
+ #: admin/aalb_admin.php:158
62
+ msgid ""
63
+ "To configure tracking ids, go to Associates Link Builder plugin's Settings "
64
+ "page"
65
+ msgstr ""
66
 
67
+ #: admin/aalb_admin.php:159
68
+ msgid "Please select marketplace from above to show products."
69
+ msgstr ""
 
70
 
71
+ #: admin/aalb_admin.php:160
72
+ msgid "Please select some products from above."
73
+ msgstr ""
 
74
 
75
+ #: admin/aalb_admin.php:161
76
+ msgid "Add ProductSet for Country"
77
+ msgstr ""
 
78
 
79
+ #: ip2country/aalb_customer_country.php:98
80
+ #, php-format
81
+ msgid ""
82
+ "Maxmind DB file doesn't exist or is not readable. Please check & give "
83
+ "appropriate read & write permissions to:%s. Go to plugin's Settings page for "
84
+ "more details."
85
+ msgstr ""
86
 
87
+ #: shortcode/aalb_shortcode_manager.php:83
88
+ msgid ""
89
+ "There is an error in the count of configured marketplaces, asins and stores "
90
+ "in this shortcode. Please fix the parameters for marketplace, asin and store-"
91
+ "id."
92
+ msgstr ""
93
 
94
+ #: admin/sidebar/partials/aalb_credentials.php:26
95
+ msgid "Are you sure you want to remove this marketplace?"
96
+ msgstr ""
97
 
98
+ #: admin/sidebar/partials/aalb_credentials.php:29
99
+ msgid "YES"
100
+ msgstr ""
101
 
102
+ #: admin/sidebar/partials/aalb_credentials.php:30
103
+ msgid "NO"
104
+ msgstr ""
105
 
106
+ #: admin/sidebar/partials/aalb_credentials.php:91
107
+ msgid "Downloads Folder"
108
+ msgstr ""
109
 
110
+ #: admin/sidebar/partials/aalb_credentials.php:97
111
+ #, php-format
112
+ msgid ""
113
+ "This folder will be used to save files downloaded by the plugin (e.g. <a "
114
+ "href=%1s target=%2s>The MaxMind IP2Country Database</a>) for local use. "
115
+ "Absolute path required. <br><span class=\"aalb-bold\"> Default value:</span> "
116
+ "*blank*, defaults to <code>wp_upload_dir()['basedir'] + '%3s'</code>"
117
+ msgstr ""
118
 
119
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:54
120
+ msgid "Enter Tracking Id(s)"
121
+ msgstr ""
122
 
123
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:55
124
+ msgid "Remove Marketplace"
125
+ msgstr ""
126
 
127
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:58
128
+ msgid "Set As Default Marketplace"
129
+ msgstr ""
130
 
131
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:60
132
+ msgid "Add a Marketplace"
133
+ msgstr ""
134
 
135
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:61
136
+ msgid "Remove Marketplace Confirmation"
137
+ msgstr ""
138
 
139
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:62
140
+ msgid "ERROR: No store id has been entered for one or more marketplaces."
141
+ msgstr ""
142
 
143
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:63
144
+ msgid ""
145
+ "ERROR: A marketplace already exists with this value. Please set a new "
146
+ "marketplace."
147
+ msgstr ""
148
 
149
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:64
150
+ msgid ""
151
+ "ERROR: A marketplace is present that has not been set. Please set that first."
152
+ msgstr ""
153
 
154
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:65
155
+ msgid ""
156
+ "ERROR: You need to maintain at least one marketplace entry for tracking ids "
157
+ msgstr ""
158
 
159
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:66
160
+ msgid "ERROR: You need to add at least one marketplace entry for tracking ids "
161
+ msgstr ""
 
162
 
163
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:67
164
+ msgid "Add a Marketplace that you want to create Amazon links to."
165
+ msgstr ""
166
 
167
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:68
168
+ msgid ""
169
+ "For each marketplace you can add multiple tracking ids, separated by commas. "
170
+ "The first tracking id will be considered as default tracking id for that "
171
+ "marketplace."
172
+ msgstr ""
173
 
174
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:121
175
+ #, php-format
176
+ msgid ""
177
+ "The file used to fetch country details to enable geo-targetted links doesn't "
178
+ "have read permissions. Please give recursive read/write permissons to:%s. In "
179
+ "case you are still facing the issue, please change download folder in Site "
180
+ "Wide Settings section on this page."
181
+ msgstr ""
182
 
183
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:123
184
+ #, php-format
185
+ msgid ""
186
+ "The file used to fetch country details to enable geo-targetted links doesn't "
187
+ "have write permissions. Please give recursive read/write permissons to:%s. "
188
+ "In case you are still facing the issue, please change download folder in "
189
+ "Site Wide Settings section on this page"
190
+ msgstr ""
191
 
192
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:125
193
+ #, php-format
194
+ msgid ""
195
+ "The directory where the file used to fetch country details to enable geo-"
196
+ "targetted links doesn't have write permissions. Please give recursive "
197
+ "read/write permissons to:%s. In case you are still facing the issue, please "
198
+ "change download folder in Site Wide Settings section on this page"
199
+ msgstr ""
200
 
201
+ #: amazon-associates-link-builder.php:39 admin/sidebar/aalb_sidebar.php:35
202
+ msgid "About"
203
+ msgstr "À propos"
 
204
 
205
+ #: amazon-associates-link-builder.php:40 admin/sidebar/aalb_sidebar.php:37
206
+ msgid "Settings"
207
+ msgstr "Paramètres"
 
208
 
209
+ #: amazon-associates-link-builder.php:41 admin/sidebar/aalb_sidebar.php:39
210
+ msgid "Templates"
211
+ msgstr "Modèles"
212
 
213
+ #: admin/aalb_admin.php:131
214
+ msgid "Only one product can be selected for this template"
215
+ msgstr "Un produit seulement peut être sélectionné pour ce modèle"
 
216
 
217
+ #: admin/aalb_admin.php:133
218
+ msgid "Please Enter a Product Name "
219
+ msgstr "Veuillez entrer un nom de produit "
 
220
 
221
+ #: admin/aalb_admin.php:134
222
+ msgid ""
223
+ "Failed to create Text Link shortcode. Editor has some text selected. Only "
224
+ "one item can be selected while adding text links"
225
+ msgstr ""
226
+ "Impossible de créer le code court du lien texte. Du texte est sélectionné "
227
+ "dans l’éditeur. Un seul élément peut être sélectionné lors de l’ajout de "
228
+ "liens texte"
229
 
230
+ #. translators: %s: Email-id of the support
231
+ #: admin/aalb_admin.php:136
232
+ #, php-format
233
+ msgid ""
234
+ "Request timed out. Try again after some time. Please check your network and "
235
+ "firewall settings. If the error still persists, write to us at %s."
236
+ msgstr ""
237
+ "La demande a expiré. Patientez quelques minutes avant d’essayer à nouveau. "
238
+ "Prière de vérifier les paramètres de votre réseau et de votre pare-feu. Si "
239
+ "l’erreur persiste, écrivez-nous à %s."
240
 
241
+ #: admin/aalb_admin.php:137 admin/partials/aalb_editor_search_box.php:31
242
+ msgid "Add Amazon Associates Link Builder Shortcode"
243
+ msgstr "Ajouter le code court du plugin Amazon Associates Link Builder"
 
244
 
245
+ #. translators: %s: URL of settings page
246
+ #: admin/aalb_admin.php:139
247
+ #, php-format
248
+ msgid ""
249
+ "Please configure your PA-API credentials in the <a href=%s>Settings Page</a>"
250
+ " to use the Link Builder features."
251
+ msgstr ""
252
+ "Veuillez configurer vos identifiants PA-API sur la <a href=%s>page "
253
+ "Paramètres</a> pour utiliser le créateur de lien."
254
 
255
+ #: admin/aalb_admin.php:142
256
+ msgid "Ad Template"
257
+ msgstr "Modèle d’annonce"
 
258
 
259
+ #: admin/aalb_admin.php:143 admin/partials/aalb_editor_search_box.php:30
260
+ msgid "Enter keyword(s)"
261
+ msgstr "Entrer mot(s) clé(s)"
262
 
263
+ #: admin/aalb_admin.php:144 admin/partials/aalb_editor_search_box.php:32
264
+ msgid "Search"
265
+ msgstr "Recherche"
266
 
267
+ #: admin/aalb_admin.php:148
268
+ msgid "Marketplace"
269
+ msgstr "Marché"
 
270
 
271
+ #: admin/aalb_admin.php:150
272
+ msgid "Searching relevant products from Amazon"
273
+ msgstr "Recherche de produits pertinents sur Amazon"
 
274
 
275
+ #: admin/aalb_admin.php:151
276
+ msgid "Click to select product(s) to advertise"
277
+ msgstr "Cliquez pour sélectionner un ou plusieurs produit(s) à mettre en avant"
278
 
279
+ #: admin/aalb_admin.php:152
280
+ msgid "Check more search results on Amazon"
281
+ msgstr "Autres résultats de recherche sur Amazon"
282
 
283
+ #: admin/aalb_admin.php:154
284
+ msgid "Creating shortcode. Please wait...."
285
+ msgstr "Code court en cours de création. Veuillez patienter..."
286
 
287
+ #: admin/aalb_admin.php:155
288
+ msgid "Add Shortcode"
289
+ msgstr "Ajouter code court"
290
 
291
+ #: admin/aalb_admin.php:292
292
+ msgid ""
293
+ "Not authorised to make request template content or Directory Traversal "
294
+ "Attempted."
295
+ msgstr ""
296
+ "Vous n’avez pas l’autorisation de faire une requête de contenu de modèle ou "
297
+ "Tentative de traversée de répertoires."
298
 
299
+ #: admin/aalb_admin.php:302
300
+ msgid "Not authorised to make request"
301
+ msgstr "Vous n’avez pas l’autorisation de faire cette requête"
302
 
303
+ #. translators: %s: Error message
304
+ #: includes/aalb_remote_loader.php:71
305
+ #, php-format
306
+ msgid "HTTP Request failed! %s"
307
+ msgstr "La requête HTTP a échoué ! %s"
308
 
309
+ #: includes/aalb_remote_loader.php:79
310
+ msgid "Response body is empty"
311
+ msgstr "Le champ de réponse est vide"
312
 
313
+ #. translators: %s: Invalid ASIN name
314
+ #: shortcode/aalb_shortcode_helper.php:144
315
+ #, php-format
316
+ msgid "The ASIN: %s is invalid."
317
+ msgstr "L’ASIN %s n’est pas valide."
318
 
319
+ #. translators: 1: Invalid template name 2: Valid template name
320
+ #: shortcode/aalb_shortcode_helper.php:168
321
+ #, php-format
322
+ msgid "The template: %1s is invalid. Using default template %2s."
323
+ msgstr "Le modèle %1s n’est pas valide. Le modèle par défaut %2s sera utilisé."
324
 
325
+ #. translators: 1: Invalid associate id 2: Valid associate id
326
+ #: shortcode/aalb_shortcode_helper.php:191
327
+ #, php-format
328
+ msgid ""
329
+ "The Associate tag %1s is not present in the list of valid tags. Associate "
330
+ "tag has been updated to %2s. Please check your Associate tag selection or "
331
+ "contact the administrator to add a new tag."
332
+ msgstr ""
333
+ "La balise Partenaire %1s ne figure pas dans la liste des balises valides. La "
334
+ "balise Partenaire est à présent %2s. Veuillez vérifier votre choix de balise "
335
+ "Partenaire ou contactez l’administrateur pour ajouter une nouvelle balise."
336
 
337
+ #: admin/sidebar/aalb_sidebar.php:31 admin/sidebar/partials/aalb_about.php:17
338
+ msgid "Associates Link Builder"
339
+ msgstr "Associates Link Builder"
 
340
 
341
+ #. translators: %s: Name of plugin
342
+ #: admin/sidebar/aalb_sidebar.php:35
343
+ #, php-format
344
+ msgid "Configure %s About"
345
+ msgstr "Configurer la section À propos de %s"
346
 
347
+ #. translators: %s: Name of plugin
348
+ #: admin/sidebar/aalb_sidebar.php:37
349
+ #, php-format
350
+ msgid "Configure %s Settings"
351
+ msgstr "Configurer les paramètres de %s"
352
 
353
+ #. translators: %s: Name of plugin
354
+ #: admin/sidebar/aalb_sidebar.php:39
355
+ #, php-format
356
+ msgid "Configure %s Templates"
357
+ msgstr "Configurer les modèles %s"
358
 
359
+ #: lib/php/aalb_validation_helper.php:102
360
+ msgid ""
361
+ "Associate Tag was not found. The sales will not be attributed to any store "
362
+ "and you will not earn the associate fees for it. Please provide a valid "
363
+ "Associate Tag if you wish to earn the referral fees. Assocaite Tags can be "
364
+ "configured from the 'Settings' tab in the WordPress administration panel"
365
+ msgstr ""
366
+ "La balise Partenaire n’a pas été trouvée. Les ventes ne seront attribuées à "
367
+ "aucun magasin et vous ne percevrez pas les rémunérations qui y sont "
368
+ "associées. Veuillez fournir une balise Partenaire valide si vous souhaitez "
369
+ "percevoir les rémunérations publicitaires. Les balises Partenaire peuvent "
370
+ "être configurées dans l’onglet « Paramètres » du panneau d’administration "
371
+ "WordPress"
372
 
373
+ #: admin/sidebar/partials/aalb_about.php:19
374
+ msgid "About Amazon Associates Program"
375
+ msgstr "À propos du programme Partenaires Amazon"
376
 
377
+ #. translators: 1: URL of affiliate website 2: _blank
378
+ #: admin/sidebar/partials/aalb_about.php:22
379
+ #, php-format
380
+ msgid ""
381
+ "The Amazon Associates Program is one of the original affiliate marketing "
382
+ "programs. Available in geographies across the globe, the Amazon Associates "
383
+ "Program has been partnering with content creators to help them monetize "
384
+ "their passions since 1996. To learn more about the Amazon Associates Program,"
385
+ " please click <a href=%1s target=%2s >here</a>."
386
+ msgstr ""
387
+ "Pionnier du marketing d’affiliation depuis 1996, le programme Partenaires "
388
+ "Amazon est disponible dans le monde entier et collabore avec les créateurs "
389
+ "de contenu pour les aider à monétiser leur passion. Pour en savoir plus sur "
390
+ "le programme Partenaires Amazon, veuillez cliquer <a href=\"%1s\" "
391
+ "target=\"%2s\">ici</a>."
392
 
393
+ #: admin/sidebar/partials/aalb_about.php:24
394
+ msgid "About Amazon Associates Link Builder"
395
+ msgstr "À propos du plugin Amazon Associates Link Builder"
396
 
397
+ #: admin/sidebar/partials/aalb_about.php:26
398
+ msgid ""
399
+ "Link Builder is the official free Amazon Associates Program plugin for "
400
+ "WordPress. The plugin enables you to search for products in the Amazon "
401
+ "catalog, access real-time price and availability information, and easily "
402
+ "create links in your posts to products on Amazon.com. You will be able to "
403
+ "generate text links, create custom ad units, or take advantage of out-of-the-"
404
+ "box widgets that we’ve designed and included with the plugin."
405
+ msgstr ""
406
+ "Link Builder est le plugin officiel gratuit du Programme Partenaires Amazon "
407
+ "pour Wordpress. Il vous permet de rechercher des produits dans le catalogue "
408
+ "Amazon, d’accéder à leur prix et à leur disponibilité en temps réel et "
409
+ "d’insérer facilement dans vos articles des liens menant aux produits en "
410
+ "vente sur Amazon.fr. Vous pourrez générer des liens texte, créer des blocs "
411
+ "d’annonce personnalisés ou utiliser les widgets que nous avons conçus."
412
 
413
+ #: admin/sidebar/partials/aalb_about.php:28
414
+ msgid "Note"
415
+ msgstr "Remarque"
416
 
417
+ #. translators: 1: URL of Condition of Use page 2: _blank
418
+ #: admin/sidebar/partials/aalb_about.php:32
419
+ #, php-format
420
+ msgid ""
421
+ "You must review and accept the Amazon Associates Link Builder <a href=%1s "
422
+ "target=%2s>Conditions of Use.</a>"
423
+ msgstr ""
424
+ "Prière de lire et d’accepter les <a href=%1s target=%2s>Conditions "
425
+ "d’utilisation</a> du plugin Amazon Associates Link Builder"
426
 
427
+ #: admin/sidebar/partials/aalb_about.php:35
428
+ msgid ""
429
+ "The plugin is currently in beta form. We intend to regularly add new "
430
+ "features and enhancements throughout the beta period and beyond, and welcome "
431
+ "your feedback and input."
432
+ msgstr ""
433
+ "Le plugin est actuellement en version bêta. Nous prévoyons d’y ajouter "
434
+ "régulièrement de nouvelles fonctionnalités et améliorations durant la "
435
+ "période bêta et au-delà. Nous vous invitons à partager tout retour et "
436
+ "commentaire."
437
 
438
+ #: admin/sidebar/partials/aalb_about.php:38
439
+ msgid "Getting Started"
440
+ msgstr "Guide de démarrage"
441
 
442
+ #: admin/sidebar/partials/aalb_about.php:39
443
+ msgid "Step 1 - Become an Associate"
444
+ msgstr "Étape 1 - Devenir Partenaire"
445
 
446
+ #: admin/sidebar/partials/aalb_about.php:41
447
+ msgid ""
448
+ "To become an Associate, create an Amazon Associates account using URL for "
449
+ "your country:"
450
+ msgstr ""
451
+ "Pour devenir Partenaire, créez un compte Partenaire Amazon à l’aide de l’URL "
452
+ "correspondant à votre pays :"
453
 
454
+ #: admin/sidebar/partials/aalb_about.php:45
455
+ msgid "Brazil"
456
+ msgstr "Brésil"
457
 
458
+ #: admin/sidebar/partials/aalb_about.php:51
459
+ msgid "Canada"
460
+ msgstr "Canada"
461
 
462
+ #: admin/sidebar/partials/aalb_about.php:57
463
+ msgid "China"
464
+ msgstr "Chine"
465
 
466
+ #: admin/sidebar/partials/aalb_about.php:63
467
+ msgid "France"
468
+ msgstr "France"
469
+
470
+ #: admin/sidebar/partials/aalb_about.php:69
471
+ msgid "Germany"
472
+ msgstr "Allemagne"
473
 
474
  #: admin/sidebar/partials/aalb_about.php:75
475
  msgid "India"
476
  msgstr "Inde"
477
 
478
+ #: admin/sidebar/partials/aalb_about.php:81
479
+ msgid "Italy"
480
+ msgstr "Italie"
481
 
482
+ #: admin/sidebar/partials/aalb_about.php:87
483
+ msgid "Japan"
484
+ msgstr "Japon"
485
 
486
+ #: admin/sidebar/partials/aalb_about.php:93
487
+ msgid "Mexico"
488
+ msgstr "Mexique"
489
 
490
+ #: admin/sidebar/partials/aalb_about.php:99
491
+ msgid "Spain"
492
+ msgstr "Espagne"
493
 
494
+ #: admin/sidebar/partials/aalb_about.php:105
495
+ msgid "United Kingdom"
496
+ msgstr "Royaume-Uni"
497
 
498
+ #: admin/sidebar/partials/aalb_about.php:111
499
+ msgid "United States"
500
+ msgstr "États-Unis"
501
 
502
+ #: admin/sidebar/partials/aalb_about.php:118
503
+ msgid ""
504
+ "Your Associate ID works only in the country in which you register. If you’d "
505
+ "like to be an Associate in more than one country, please register separately "
506
+ "for each country."
507
+ msgstr ""
508
+ "Votre ID Partenaire n’est valide que dans le pays dans lequel vous vous "
509
+ "inscrivez. Si vous souhaitez participer aux programmes Partenaires de "
510
+ "plusieurs pays, veuillez vous inscrire séparément au programme de chaque "
511
+ "pays différent."
512
 
513
+ #: admin/sidebar/partials/aalb_about.php:120
514
+ msgid "Step 2 - Sign up for the Amazon Product Advertising API"
515
+ msgstr "Étape 2 - S’inscrire au Product Advertising API d’Amazon"
516
 
517
+ #. translators: 1: URL of Getting Started page 2: _blank
518
+ #: admin/sidebar/partials/aalb_about.php:123
519
+ #, php-format
520
+ msgid ""
521
+ "Sign up for the Amazon Product Advertising API by following the instructions "
522
+ "listed <a href=%1s target=%2s>here</a>. The Amazon Product Advertising API "
523
+ "is a popular e-commerce service, powering Amazon-integrated experiences "
524
+ "around the world, serving tens of thousands of applications and more than 1 "
525
+ "billion API requests every day. It exposes a web-service, which allows "
526
+ "Associates to programmatically search and look up items in the Amazon "
527
+ "product catalog. The Link Builder plugin integrates the Product Advertising "
528
+ "API, allowing you to access Amazon.com product catalog data without "
529
+ "requiring additional software development."
530
+ msgstr ""
531
+ "Inscrivez-vous au Product Advertising API d’Amazon en suivant les "
532
+ "instructions données <a href=%1s target=%2s>ici</a>. Le Product Advertising "
533
+ "API d’Amazon est un service d’e-commerce populaire qui propose une "
534
+ "expérience intégrée sur les sites Amazon du monde entier, avec la prise en "
535
+ "charge de dizaines de milliers d’applications et de plus d’un milliard de "
536
+ "requêtes API chaque jour. Il permet aux Partenaires de rechercher et "
537
+ "d’afficher les articles du catalogue Amazon. Il est intégré dans le plugin "
538
+ "Link Builder, ce qui vous donne accès aux informations contenues dans le "
539
+ "catalogue de produits d’Amazon.fr sans devoir avoir recours à d’autres "
540
+ "logiciels."
541
+
542
+ #: admin/sidebar/partials/aalb_about.php:125
543
+ msgid "Step 3 - Configure plugin for first use"
544
+ msgstr "Étape 3 - Configurer le plugin pour une première utilisation"
545
+
546
+ #: admin/sidebar/partials/aalb_about.php:127
547
+ msgid ""
548
+ "Use the Associates Link Builder->Settings screen to configure the plugin."
549
+ msgstr ""
550
+ "Utilisez la section Paramètres du plugin Associates Link Builder pour le "
551
+ "configurer."
552
+
553
+ #: admin/sidebar/partials/aalb_about.php:130
554
+ msgid ""
555
+ "Set Access Key ID and Secret Access Key in the Settings section. These "
556
+ "credentials are used to invoke requests to the Amazon Product Advertising "
557
+ "API for fetching information on an item."
558
+ msgstr ""
559
+ "Définissez l’ID de clé d’accès et la clé d’accès secrète dans la section "
560
+ "Paramètres. Ces identifiants sont utilisés pour envoyer des requêtes au "
561
+ "Product Advertising API d’Amazon et obtenir des informations sur un article."
562
+
563
+ #: admin/sidebar/partials/aalb_about.php:132
564
+ msgid ""
565
+ "Set default Associate ID. Associate ID is used to monitor traffic and sales "
566
+ "from your links to Amazon. You can also define a list of valid Associate IDs "
567
+ "(store ids or tracking ids). You should create a new tracking ID in your "
568
+ "Amazon Associates account for using it as Associate ID in the plugin."
569
+ msgstr ""
570
+ "Définissez l’ID Partenaire par défaut. L’ID Partenaire est utilisé pour "
571
+ "suivre le trafic et les ventes associés à vos liens sur Amazon. Vous pouvez "
572
+ "aussi définir une liste d’ID Partenaires valides (ID magasin ou ID de suivi)."
573
+ " Il est recommandé de créer un nouvel ID de suivi dans votre compte "
574
+ "Partenaire Amazon et de l’utiliser en tant qu’ID Partenaire dans le plugin."
575
+
576
+ #: admin/sidebar/partials/aalb_about.php:134
577
+ msgid ""
578
+ "Set the default Amazon marketplace based on the Amazon Associates Program "
579
+ "for which you are registered (for example, if you’ve signed up for the "
580
+ "Amazon Associates Program in UK, then your default marketplace selection "
581
+ "should be UK) and select an appropriate template for rendering your ads."
582
+ msgstr ""
583
+ "Définissez le marché Amazon par défaut en fonction du programme Partenaires "
584
+ "Amazon auquel vous participez (par exemple, si vous êtes inscrit(e) sur le "
585
+ "site partenaires.amazon.fr, votre marché par défaut devrait être la France) "
586
+ "et choisissez un modèle approprié pour afficher vos annonces."
587
+
588
+ #: admin/sidebar/partials/aalb_about.php:138
589
+ msgid ""
590
+ "That's it! You’re all set to start adding Amazon affiliate links to your "
591
+ "posts using the Amazon Associates Link Builder plugin!"
592
+ msgstr ""
593
+ "Et voilà ! Vous êtes prêt(e) à ajouter des liens Partenaire Amazon à vos "
594
+ "articles à l’aide du plugin de création de liens Amazon !"
595
+
596
+ #: admin/sidebar/partials/aalb_about.php:140
597
+ msgid "User Guide"
598
+ msgstr "Guide d'utilisation"
599
+
600
+ #. translators: 1: URL of Link Builder User Guide 2: _blank
601
+ #: admin/sidebar/partials/aalb_about.php:143
602
+ #, php-format
603
+ msgid ""
604
+ "Review <a href=%1s target=%2s >Link Builder User Guide</a> for more "
605
+ "information on getting started and key features of the plugin."
606
+ msgstr ""
607
+ "Consultez le <a href=\"%1s\" target=\"%2s\">Guide d’utilisation du Link "
608
+ "Builder</a> pour plus d’informations sur la mise en route et principales "
609
+ "caractéristiques du plugin."
610
+
611
+ #: admin/sidebar/partials/aalb_about.php:145
612
+ msgid "Support"
613
+ msgstr "Assistance"
614
+
615
+ #. translators: 1: URL of Plugin's Support Forum 2: _blank
616
+ #: admin/sidebar/partials/aalb_about.php:148
617
+ #, php-format
618
+ msgid ""
619
+ "If you get stuck, or have any questions, you can ask for help in the <a "
620
+ "href=%1s target=%2s>Amazon Associates Link Builder plugin forum</a>."
621
+ msgstr ""
622
+ "Si vous rencontrez un problème ou avez des questions, vous pouvez demander "
623
+ "de l’aide dans le <a href=\"%1s\" target=\"%2s\">forum du plugin Amazon "
624
+ "Associates Link Builder</a>."
625
+
626
+ #: admin/sidebar/partials/aalb_admin_ui_common.php:27
627
+ msgid "We <b>recommend</b> using HTTPs connection for improved security."
628
+ msgstr ""
629
+ "Nous <b>recommandons</b> d’utiliser la connexion HTTPs pour améliorer la "
630
+ "sécurité."
631
+
632
+ #: admin/sidebar/partials/aalb_credentials.php:36
633
+ msgid "Settings for Associates Link Builder"
634
+ msgstr "Paramètres pour le créateur de lien Partenaire"
635
+
636
+ #: admin/sidebar/partials/aalb_credentials.php:70
637
+ msgid "Site Wide Settings"
638
+ msgstr "Paramètres généraux du site"
639
+
640
+ #: admin/sidebar/partials/aalb_credentials.php:73
641
+ msgid "Default Template"
642
+ msgstr "Modèle par défaut"
643
+
644
+ #: admin/sidebar/partials/aalb_credentials.php:87
645
+ msgid ""
646
+ "The ad template that will be used for rendering the ad if no template is "
647
+ "specified in the short code."
648
+ msgstr ""
649
+ "Le modèle d’annonce qui sera utilisé pour afficher l’annonce si aucun modèle "
650
+ "n’est spécifié dans le code court."
651
+
652
+ #. translators: %s: rel="noreferrer" attribute
653
+ #: admin/sidebar/partials/aalb_credentials.php:106
654
+ #, php-format
655
+ msgid "Remove %s for Amazon Affiliate Links from all posts"
656
+ msgstr "Supprimer %s des liens Partenaire Amazon dans tous les articles"
657
+
658
+ #. translators: %s: rel="noreferrer" attribute
659
+ #: admin/sidebar/partials/aalb_credentials.php:110
660
+ #, php-format
661
+ msgid ""
662
+ "Selecting the checkbox will remove %s from Amazon links on all posts till "
663
+ "date. The action is reversible and you can revert by deselecting the checkbox"
664
+ msgstr ""
665
+ "En sélectionnant la case à cocher, vous supprimez %s des liens Amazon sur "
666
+ "tous les articles jusqu'à cette date. Cette action est réversible ; pour "
667
+ "cela, il vous suffit de désélectionner la case à cocher"
668
+
669
+ #: admin/sidebar/partials/aalb_credentials.php:118
670
+ msgid "PA-API Credentials"
671
+ msgstr "Identifiants de PA-API"
672
+
673
+ #: admin/sidebar/partials/aalb_credentials.php:121
674
+ msgid "Access Key ID"
675
+ msgstr "ID de clé d’accès"
676
+
677
+ #. translators: 1: URL of Getting Started page 2: _blank
678
+ #: admin/sidebar/partials/aalb_credentials.php:128
679
+ #, php-format
680
+ msgid ""
681
+ "Your Access Key ID that you generated after signing up for the Amazon "
682
+ "Product Advertising API. If you have not already signed up for the Amazon "
683
+ "Product Advertising API, you can do so by following instructions listed <a "
684
+ "href=%1s target=%2s>here</a>."
685
+ msgstr ""
686
+ "L’ID de clé d’accès que vous avez généré après votre inscription auprès du "
687
+ "Product Advertising API d’Amazon. Si vous n’êtes pas encore inscrit(e) au "
688
+ "Product Advertising API d’Amazon, vous pouvez le faire en suivant les "
689
+ "instructions données <a href=\"%1s\" target=\"%2s\">ici</a>."
690
+
691
+ #: admin/sidebar/partials/aalb_credentials.php:132
692
+ msgid "Secret Access Key"
693
+ msgstr "Clé d'accès secrète"
694
+
695
+ #. translators: 1: URL of managing PA-API acccount page 2: _blank
696
+ #: admin/sidebar/partials/aalb_credentials.php:143
697
+ #, php-format
698
+ msgid ""
699
+ "A key that is used in conjunction with the Access Key ID to "
700
+ "cryptographically sign an API request. To retrieve your Access Key ID or "
701
+ "Secret Access Key, go to <a href=%1s target=%2s>Manage Your Account</a>. The "
702
+ "plugin uses a default encryption key for encrypting the Secret Key. You can "
703
+ "change the key using AALB_ENCRYPTION_KEY parameter defined in /aalb_config."
704
+ "php."
705
+ msgstr ""
706
+ "Une clé qui est utilisée en conjonction avec l’ID de clé d’accès pour "
707
+ "apporter une signature cryptographique à une demande d’API. Pour récupérer "
708
+ "votre ID de clé d’accès ou clé d’accès secrète, allez dans <a href=\"%1s\" "
709
+ "target=\"%2s\">Gérer votre compte</a>. Le plugin utilise une clé de "
710
+ "chiffrement par défaut pour le chiffrement de la clé secrète. Vous pouvez "
711
+ "modifier la clé à l’aide du paramètre AALB_ENCRYPTION_KEY défini dans "
712
+ "/aalb_config.php."
713
 
714
  #. translators: 1: URL of Condition of Use page 2: _blank
715
+ #: admin/sidebar/partials/aalb_credentials.php:153
716
+ #, php-format
717
+ msgid ""
718
+ "Check here to indicate that you have read and agree to the Amazon Associates "
719
+ "Link Builder <a href=%1s target=%2s>Conditions of Use</a>."
720
+ msgstr ""
721
+ "Cochez ici pour indiquer que vous avez lu et acceptez les <a href=\"%1s\" "
722
+ "target=\"%2s\">Conditions d’utilisation</a> du plugin Amazon Associates Link "
723
+ "Builder."
724
 
725
+ #: admin/sidebar/partials/aalb_credentials.php:155
726
+ msgid "Save Changes"
727
+ msgstr "Enregistrer les modifications"
728
 
729
+ #. translators: %s for fileName
730
+ #: admin/sidebar/partials/aalb_templates.php:31
731
+ #, php-format
732
+ msgid "Save Failed. The existing file %s is not writable."
733
+ msgstr ""
734
+ "Échec de l’enregistrement. Le fichier %s n’est pas accessible en écriture."
735
 
736
+ #. translators: %s for fileName
737
+ #: admin/sidebar/partials/aalb_templates.php:51
738
+ #, php-format
739
+ msgid "Save Failed. Error writing contents to file: %s"
740
+ msgstr ""
741
+ "Échec de l’enregistrement. Erreur d’écriture du contenu dans le fichier %s"
742
 
743
+ #: admin/sidebar/partials/aalb_templates.php:77
744
+ msgid "Template Saved Successfully"
745
+ msgstr "Le modèle a été enregistré"
 
746
 
747
+ #. translators: 1: Number of templates 2: Name of added templates
748
+ #: admin/sidebar/partials/aalb_templates.php:99
749
+ #, php-format
750
+ msgid "%1s template(s) added: %2s"
751
+ msgstr "%1s modèle(s) ajouté(s) : %2s"
752
 
753
+ #. translators: 1: Number of templates 2: Name of deleted templates
754
+ #: admin/sidebar/partials/aalb_templates.php:103
755
+ #, php-format
756
+ msgid "%1s template(s) deleted: %2s"
757
+ msgstr "%1s modèle(s) supprimé(s) : %2s"
758
 
759
+ #: admin/sidebar/partials/aalb_templates.php:129
760
+ msgid "Please define the template name for the new template"
761
+ msgstr "Prière de donner un nom au nouveau modèle"
 
762
 
763
+ #: admin/sidebar/partials/aalb_templates.php:132
764
+ msgid "Save Failed. Only alphanumeric characters allowed for template name."
765
+ msgstr ""
766
+ "Échec de l’enregistrement. Seuls les caractères alphanumériques sont "
767
+ "autorisés pour le nom du modèle."
768
 
769
+ #. translators: %s: Path of upload directory
770
+ #: admin/sidebar/partials/aalb_templates.php:136
771
+ #, php-format
772
+ msgid ""
773
+ "Failed to create custom template. Please set up recursive Read-Write "
774
+ "permissions for %s"
775
+ msgstr ""
776
+ "Impossible de créer le modèle personnalisé. Veuillez mettre en place des "
777
+ "permissions récursives lecture/écriture pour %s"
778
 
779
+ #. translators: %s: Name of the template
780
+ #: admin/sidebar/partials/aalb_templates.php:141
781
+ #, php-format
782
+ msgid ""
783
+ "Save Failed. A template with the name %s already exists. Please specify some "
784
+ "other name for the template"
785
+ msgstr ""
786
+ "Échec de l’enregistrement. Un modèle du nom %s existe déjà. Veuillez donner "
787
+ "un autre nom au modèle"
788
 
789
+ #: admin/sidebar/partials/aalb_templates.php:176
790
+ msgid "Successfully removed Template HTML"
791
+ msgstr "Le code HTML du modèle a été supprimé"
 
792
 
793
+ #. translators: %s: Name of the template along with absolute file path
794
+ #: admin/sidebar/partials/aalb_templates.php:179
795
+ #, php-format
796
+ msgid "Couldn't remove Template HTML. Please manually remove %s"
797
+ msgstr ""
798
+ "Impossible de supprimer le code HTML du modèle. Veuillez supprimer "
799
+ "manuellement %s"
800
 
801
+ #: admin/sidebar/partials/aalb_templates.php:182
802
+ msgid "Successfully removed Template CSS"
803
+ msgstr "Le CSS du modèle a été supprimé"
804
 
805
+ #. translators: %s: Name of the template along with complete path
806
+ #: admin/sidebar/partials/aalb_templates.php:185
807
+ #, php-format
808
+ msgid "Couldn't remove Template CSS. Please manually remove %s"
809
+ msgstr ""
810
+ "Impossible de supprimer le CSS du modèle. Veuillez supprimer manuellement %s"
811
 
812
+ #: admin/sidebar/partials/aalb_templates.php:191
813
+ msgid "Couldn't remove Default Template"
814
+ msgstr "Impossible de supprimer le modèle par défaut"
815
 
816
+ #: admin/sidebar/partials/aalb_templates.php:194
817
+ msgid "Cannot remove new template. Please select a valid template to remove."
818
+ msgstr ""
819
+ "Impossible de supprimer le nouveau modèle. Veuillez sélectionner un modèle "
820
+ "valide à supprimer."
821
 
822
+ #: admin/sidebar/partials/aalb_templates.php:212
823
+ msgid "Templates for Associates Link Builder"
824
+ msgstr "Modèles pour le plugin Associates Link Builder"
825
 
826
+ #: admin/sidebar/partials/aalb_templates.php:217
827
+ msgid "Select Template"
828
+ msgstr "Sélectionner un modèle"
829
 
830
+ #: admin/sidebar/partials/aalb_templates.php:221
831
+ msgid "Create new template"
832
+ msgstr "Créer un nouveau modèle"
833
 
834
+ #: admin/sidebar/partials/aalb_templates.php:230
835
+ msgid "Clone"
836
+ msgstr "Dupliquer"
 
837
 
838
+ #: admin/sidebar/partials/aalb_templates.php:235
839
+ msgid "Set a name for your template"
840
+ msgstr "Définir un nom pour votre modèle"
841
 
842
+ #: admin/sidebar/partials/aalb_templates.php:241
843
+ msgid "Guide for creating custom templates"
844
+ msgstr "Guide pour la création de modèles personnalisés"
 
845
 
846
+ #: admin/sidebar/partials/aalb_templates.php:245
847
+ msgid "Add HTML for your template"
848
+ msgstr "Ajouter le code HTML de votre modèle"
 
849
 
850
+ #: admin/sidebar/partials/aalb_templates.php:251
851
+ msgid "Add CSS for your template"
852
+ msgstr "Ajouter un CSS pour votre modèle"
 
853
 
854
+ #: admin/sidebar/partials/aalb_templates.php:258
855
+ msgid "Save"
856
+ msgstr "Sauvegarder"
857
+
858
+ #: admin/sidebar/partials/aalb_templates.php:259
859
+ msgid "Remove"
860
+ msgstr "Supprimer"
861
 
862
+ #. translators: %s: Information message
863
+ #: admin/sidebar/partials/aalb_ui_common.php:19
864
+ #, php-format
865
+ msgid "INFO - %s"
866
+ msgstr "INFO - %s"
867
 
868
+ #. translators: %s: Warning message
869
+ #: admin/sidebar/partials/aalb_ui_common.php:24
870
+ #, php-format
871
+ msgid "WARNING - %s"
872
+ msgstr "AVERTISSEMENT - %s"
873
 
874
+ #. translators: %s: Error message
875
+ #: admin/sidebar/partials/aalb_ui_common.php:29
876
+ #, php-format
877
+ msgid "ERROR - %s"
878
+ msgstr "ERREUR - %s"
879
 
880
+ #. translators: %s: Success message
881
+ #: admin/sidebar/partials/aalb_ui_common.php:34
882
+ #, php-format
883
+ msgid "SUCCESS - %s"
884
+ msgstr "SUCCÈS - %s"
885
 
886
+ #. translators: 1: URL of Associate sign-up page 2: _blank 3:URL of adding
887
+ #. secondary user page 4: _blank
888
+ #: lib/php/Paapi/aalb_paapi_helper.php:114
889
+ #, php-format
890
+ msgid ""
891
+ "Your AWS Access Key Id is not registered as an Amazon Associate. Please "
892
+ "verify that you are <a href=%1s target=%2s>registered as an Amazon "
893
+ "Associate</a> in respective locale and you added the email address "
894
+ "registered for the Product Advertising API as a <a href=%3s target=%4s>"
895
+ "secondary email address in your Amazon Associates account</a>."
896
+ msgstr ""
897
+ "Votre ID de clé d’accès AWS n’est pas associé à un Partenaire Amazon. "
898
+ "Veuillez vérifier que vous êtes <a href=\"%1s\" target=\"%2s\">inscrit au "
899
+ "programme Partenaires Amazon</a> dans la région pertinente et que vous avez "
900
+ "ajouté l’adresse email correspondant au Product Advertising API comme <a "
901
+ "href=\"%3s\" target=\"%4s\">adresse e-mail secondaire dans votre compte "
902
+ "Partenaire Amazon</a>."
903
 
904
+ #. translators: 1: URL of PA-API sign-up page 2: _blank
905
+ #: lib/php/Paapi/aalb_paapi_helper.php:117
906
+ #: lib/php/Paapi/aalb_paapi_helper.php:119
907
+ #, php-format
908
+ msgid ""
909
+ "Your AccessKey Id is not registered for Product Advertising API. Please sign "
910
+ "up for Product Advertising API by <a href=%1s target=%2s>following these "
911
+ "guidelines</a>."
912
+ msgstr ""
913
+ "Votre ID de clé d’accès n’est pas enregistré auprès du Product Advertising "
914
+ "API. Veuillez vous inscrire au Product Advertising API en <a href=%1s "
915
+ "target=%2s>suivant les consignes suivantes</a>."
916
 
917
+ #: lib/php/Paapi/aalb_paapi_helper.php:121
918
+ msgid "Internal server error"
919
+ msgstr "Erreur interne du serveur"
920
 
921
+ #. translators: 1: URL of PA-API efficiency guidelines page 2: _blank
922
+ #: lib/php/Paapi/aalb_paapi_helper.php:124
923
+ #, php-format
924
+ msgid ""
925
+ "You are submitting requests too quickly. Please retry your requests at a "
926
+ "slower rate. For more information, see <a href=%1s target=%2s>Efficiency "
927
+ "Guidelines</a>."
928
+ msgstr ""
929
+ "Vous envoyez vos demandes trop rapidement. Veuillez essayer à nouveau à un "
930
+ "rythme plus lent. Pour un complément d’information, consultez les <a "
931
+ "href=\"%1s\" target=\"%2s\">Principes d’efficacité</a>."
932
 
933
+ #. translators: %s: Email-id of the support
934
+ #: lib/php/Paapi/aalb_paapi_helper.php:127
935
+ #, php-format
936
+ msgid ""
937
+ "Request timed out. Try again after some time. Please check you network and "
938
+ "firewall settings. If the error still persists, write to us at %s."
939
+ msgstr ""
940
+ "La demande a expiré. Patientez quelques minutes avant d’essayer à nouveau. "
941
+ "Prière de vérifier les paramètres de votre réseau et de votre pare-feu. Si "
942
+ "l’erreur persiste, écrivez-nous à %s."
943
 
944
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:57
945
+ msgid "Default Marketplace"
946
+ msgstr "Marché par défaut"
947
+
948
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:59
949
+ msgid "Tracking Id(s)"
950
+ msgstr "ID de suivi"
951
 
952
  #. Plugin Name of the plugin/theme
953
  msgid "Amazon Associates Link Builder"
954
  msgstr "Amazon Associates Link Builder"
955
+
956
+ #. Description of the plugin/theme
957
+ msgid ""
958
+ "Amazon Associates Link Builder is the official free Amazon Associates "
959
+ "Program plugin for WordPress. The plugin enables you to search for products "
960
+ "in the Amazon catalog, access real-time price and availability information, "
961
+ "and easily create links in your posts to products on Amazon.com. You will be "
962
+ "able to generate text links, create custom ad units, or take advantage of "
963
+ "out-of-the-box widgets that we’ve designed and included with the plugin."
964
+ msgstr ""
965
+ "Amazon Associates Link Builder est le plugin officiel gratuit du programme "
966
+ "Partenaires Amazon pour Wordpress. Il vous permet de rechercher des produits "
967
+ "dans le catalogue Amazon, d’accéder aux informations sur leur prix et leur "
968
+ "disponibilité en temps réel et d’insérer facilement dans vos articles des "
969
+ "liens menant aux produits en vente sur Amazon.fr. Vous pourrez générer des "
970
+ "liens texte, créer des blocs d’annonce personnalisés ou utiliser les widgets "
971
+ "que nous avons conçus et mettons à votre disposition dans le plugin."
972
+
973
+ #. Author of the plugin/theme
974
+ msgid "Amazon Associates Program"
975
+ msgstr "Programme Partenaires Amazon"
976
+
977
+ #. Author URI of the plugin/theme
978
+ msgid "https://affiliate-program.amazon.com/"
979
+ msgstr "https://affiliate-program.amazon.com/"
languages/amazon-associates-link-builder-it_IT.mo CHANGED
Binary file
languages/amazon-associates-link-builder-it_IT.po CHANGED
@@ -1,559 +1,967 @@
1
- # Translation of Plugins - Amazon Associates Link Builder - Development (trunk) in Italian
2
- # This file is distributed under the same license as the Plugins - Amazon Associates Link Builder - Development (trunk) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2017-09-21 22:29+0530\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: Poedit 2.0.2\n"
11
- "Language: it\n"
12
- "Project-Id-Version: Plugins - Amazon Associates Link Builder - Development (trunk)\n"
13
- "POT-Creation-Date: \n"
14
- "Last-Translator: \n"
15
- "Language-Team: \n"
 
 
 
 
 
 
16
 
17
- #. translators: 1: Invalid associate id 2: Valid associate id
18
- #: shortcode/aalb_shortcode_helper.php:191
19
- msgid "The Associate tag %1s is not present in the list of valid tags. Associate tag has been updated to %2s. Please check your Associate tag selection or contact the administrator to add a new tag."
20
- msgstr "Il tag affiliato %1s non è presente nell’elenco dei tag validi. Il tag affiliato è stato aggiornato a %2s. Controlla la tua selezione di tag affiliato o contatta l’amministratore per aggiungere un nuovo tag."
 
 
 
21
 
22
- #. translators: 1: Invalid template name 2: Valid template name
23
- #: shortcode/aalb_shortcode_helper.php:168
24
- msgid "The template: %1s is invalid. Using default template %2s."
25
- msgstr "Il template: %1s non valido. Viene utilizzato il template %2s predefinito."
26
 
27
- #. translators: %s: Invalid ASIN name
28
- #: shortcode/aalb_shortcode_helper.php:144
29
- msgid "The ASIN: %s is invalid."
30
- msgstr "l’ASIN: %s non è valido."
31
 
32
- #: lib/php/aalb_validation_helper.php:102
33
- msgid "Associate Tag was not found. The sales will not be attributed to any store and you will not earn the associate fees for it. Please provide a valid Associate Tag if you wish to earn the referral fees. Assocaite Tags can be configured from the 'Settings' tab in the WordPress administration panel"
34
- msgstr "Il tag affiliato non è stato trovato. Le vendite non saranno attribuite ad alcun negozio e non otterrai le tue commissioni pubblicitarie per tali vendite. Ti invitiamo a fornire un tag affiliato valido se desideri ottenere le commissioni di rinvio. I tag affiliato possono essere configurati dalla scheda “Impostazioni” nel pannello di controllo WordPress."
35
 
36
- #. translators: %s: Email-id of the support
37
- #: lib/php/Paapi/aalb_paapi_helper.php:127
38
- msgid "Request timed out. Try again after some time. Please check you network and firewall settings. If the error still persists, write to us at %s."
39
- msgstr "Richiesta scaduta. Prova ancora più tardi. Controlla le impostazioni di rete e del firewall. Se l’errore persiste, scrivi a %s."
40
 
41
- #. translators: 1: URL of PA-API efficiency guidelines page 2: _blank
42
- #: lib/php/Paapi/aalb_paapi_helper.php:124
43
- msgid "You are submitting requests too quickly. Please retry your requests at a slower rate. For more information, see <a href=%1s target=%2s>Efficiency Guidelines</a>."
44
- msgstr "Stai inviando richieste troppo rapidamente. Prova a inviare richieste con meno frequenza. Per maggiori informazioni, vedi le <a href=%1s target=%2s>Linee guida sull’efficienza</a>."
45
 
46
- #: lib/php/Paapi/aalb_paapi_helper.php:121
47
- msgid "Internal server error"
48
- msgstr "Errore interno del server"
 
49
 
50
- #. translators: 1: URL of PA-API sign-up page 2: _blank
51
- #: lib/php/Paapi/aalb_paapi_helper.php:117
52
- #: lib/php/Paapi/aalb_paapi_helper.php:119
53
- msgid "Your AccessKey Id is not registered for Product Advertising API. Please sign up for Product Advertising API by <a href=%1s target=%2s>following these guidelines</a>."
54
- msgstr "Il tuo AccessKey ID non è registrato per la Product Advertising API. Registrati per la Product Advertising API seguendo <a href=%1s target=%2s>queste linee guida</a>."
55
 
56
- #. translators: 1: URL of Associate sign-up page 2: _blank 3:URL of adding
57
- #. secondary user page 4: _blank
58
- #: lib/php/Paapi/aalb_paapi_helper.php:114
59
- msgid "Your AWS Access Key Id is not registered as an Amazon Associate. Please verify that you are <a href=%1s target=%2s>registered as an Amazon Associate</a> in respective locale and you added the email address registered for the Product Advertising API as a <a href=%3s target=%4s>secondary email address in your Amazon Associates account</a>."
60
- msgstr "Il tuo AWS Access Key ID non è registrato come affiliato Amazon. Verifica di essere <a href=%1s target=%2s>registrato come affiliato Amazon</a> nel rispettivo sito locale e di aver aggiunto l’indirizzo email registrato per la Product Advertising API come <a href=%3s target=%4s>indirizzo email secondario nel tuo account di affiliazione Amazon</a>."
61
 
62
- #: includes/aalb_remote_loader.php:79
63
- msgid "Response body is empty"
64
- msgstr "Il corpo della risposta è vuoto"
65
 
66
- #. translators: %s: Error message
67
- #: includes/aalb_remote_loader.php:71
68
- msgid "HTTP Request failed! %s"
69
- msgstr "Richiesta HTTP non riuscita! %s"
70
 
71
- #. translators: %s: Success message
72
- #: admin/sidebar/partials/aalb_ui_common.php:34
73
- msgid "SUCCESS - %s"
74
- msgstr "RIUSCITA - %s"
75
 
76
- #. translators: %s: Error message
77
- #: admin/sidebar/partials/aalb_ui_common.php:29
78
- msgid "ERROR - %s"
79
- msgstr "ERRORE - %s"
 
 
 
80
 
81
- #. translators: %s: Warning message
82
- #: admin/sidebar/partials/aalb_ui_common.php:24
83
- msgid "WARNING - %s"
84
- msgstr "AVVERTENZA - %s"
 
 
85
 
86
- #. translators: %s: Information message
87
- #: admin/sidebar/partials/aalb_ui_common.php:19
88
- msgid "INFO - %s"
89
- msgstr "INFO - %s"
90
 
91
- #: admin/sidebar/partials/aalb_templates.php:259
92
- msgid "Remove"
93
- msgstr "Rimuovi"
94
 
95
- #: admin/sidebar/partials/aalb_templates.php:258
96
- msgid "Save"
97
- msgstr "Salva"
98
 
99
- #: admin/sidebar/partials/aalb_templates.php:251
100
- msgid "Add CSS for your template"
101
- msgstr "Aggiungi CSS al tuo template"
102
 
103
- #: admin/sidebar/partials/aalb_templates.php:245
104
- msgid "Add HTML for your template"
105
- msgstr "Aggiungi HTML al tuo template"
 
 
 
 
 
106
 
107
- #: admin/sidebar/partials/aalb_templates.php:241
108
- msgid "Guide for creating custom templates"
109
- msgstr "Guida alla creazione di template personalizzati"
110
 
111
- #: admin/sidebar/partials/aalb_templates.php:235
112
- msgid "Set a name for your template"
113
- msgstr "Imposta un nome per il tuo template"
114
 
115
- #: admin/sidebar/partials/aalb_templates.php:230
116
- msgid "Clone"
117
- msgstr "Clona"
118
 
119
- #: admin/sidebar/partials/aalb_templates.php:221
120
- msgid "Create new template"
121
- msgstr "Crea nuovo template"
122
 
123
- #: admin/sidebar/partials/aalb_templates.php:217
124
- msgid "Select Template"
125
- msgstr "Seleziona template"
126
 
127
- #: admin/sidebar/partials/aalb_templates.php:212
128
- msgid "Templates for Associates Link Builder"
129
- msgstr "Template per l’Associates Link Builder"
130
 
131
- #: admin/sidebar/partials/aalb_templates.php:194
132
- msgid "Cannot remove new template. Please select a valid template to remove."
133
- msgstr "Impossibile rimuovere il nuovo template. Seleziona un template valido per rimuovere."
 
 
134
 
135
- #: admin/sidebar/partials/aalb_templates.php:191
136
- msgid "Couldn't remove Default Template"
137
- msgstr "Impossibile rimuovere il template predefinito"
 
138
 
139
- #. translators: %s: Name of the template along with complete path
140
- #: admin/sidebar/partials/aalb_templates.php:185
141
- msgid "Couldn't remove Template CSS. Please manually remove %s"
142
- msgstr "Impossibile rimuovere il template CSS. Rimuovi manualmente %s"
143
 
144
- #: admin/sidebar/partials/aalb_templates.php:182
145
- msgid "Successfully removed Template CSS"
146
- msgstr "Template CSS rimosso correttamente"
147
 
148
- #. translators: %s: Name of the template along with absolute file path
149
- #: admin/sidebar/partials/aalb_templates.php:179
150
- msgid "Couldn't remove Template HTML. Please manually remove %s"
151
- msgstr "Impossibile rimuovere il template HTML. Rimuovi manualmente %s"
152
 
153
- #: admin/sidebar/partials/aalb_templates.php:176
154
- msgid "Successfully removed Template HTML"
155
- msgstr "Template HTML rimosso correttamente"
 
 
 
156
 
157
- #. translators: %s: Name of the template
158
- #: admin/sidebar/partials/aalb_templates.php:141
159
- msgid "Save Failed. A template with the name %s already exists. Please specify some other name for the template"
160
- msgstr "Salvataggio non riuscito. Un template denominato %s esiste già. Specifica un altro nome per il template"
 
 
 
 
161
 
162
- #. translators: %s: Path of upload directory
163
- #: admin/sidebar/partials/aalb_templates.php:136
164
- msgid "Failed to create custom template. Please set up recursive Read-Write permissions for %s"
165
- msgstr "Impossibile creare un template personalizzato. Configura i permessi lettura/scrittura ricorrenti per %s"
 
 
 
 
166
 
167
- #: admin/sidebar/partials/aalb_templates.php:132
168
- msgid "Save Failed. Only alphanumeric characters allowed for template name."
169
- msgstr "Salvataggio non riuscito. Per il nome del template sono permessi caratteri alfanumerici."
 
 
 
 
 
170
 
171
- #: admin/sidebar/partials/aalb_templates.php:129
172
- msgid "Please define the template name for the new template"
173
- msgstr "Definisci il nome del template per il nuovo template"
174
 
175
- #. translators: 1: Number of templates 2: Name of deleted templates
176
- #: admin/sidebar/partials/aalb_templates.php:103
177
- msgid "%1s template(s) deleted: %2s"
178
- msgstr "%1s template cancellati: %2s"
179
 
180
- #. translators: 1: Number of templates 2: Name of added templates
181
- #: admin/sidebar/partials/aalb_templates.php:99
182
- msgid "%1s template(s) added: %2s"
183
- msgstr "%1s template aggiunti: %2s"
184
 
185
- #: admin/sidebar/partials/aalb_templates.php:77
186
- msgid "Template Saved Successfully"
187
- msgstr "Template salvato correttamente"
188
 
189
- #. translators: %s for fileName
190
- #: admin/sidebar/partials/aalb_templates.php:51
191
- msgid "Save Failed. Error writing contents to file: %s"
192
- msgstr "Salvataggio non riuscito. Errore di scrittura contenuti nel file: %s"
193
 
194
- #. translators: %s for fileName
195
- #: admin/sidebar/partials/aalb_templates.php:31
196
- msgid "Save Failed. The existing file %s is not writable."
197
- msgstr "Salvataggio non riuscito. Il file esistente %s non è scrivibile."
 
 
 
 
198
 
199
- #: admin/sidebar/partials/aalb_credentials.php:160
200
- msgid "Save Changes"
201
- msgstr "Salva modifiche"
 
 
 
 
 
 
202
 
203
- #. translators: 1: URL of Condition of Use page 2: _blank
204
- #: admin/sidebar/partials/aalb_credentials.php:158
205
- msgid "Check here to indicate that you have read and agree to the Amazon Associates Link Builder <a href=%1s target=%2s>Conditions of Use</a>."
206
- msgstr "Clicca qui per confermare che hai letto e che acconsenti alle <a href=%1s target=%2s>Condizioni d’uso</a> dell’Associates Link Builder di Amazon."
207
 
208
- #. translators: 1: URL of managing PA-API acccount page 2: _blank
209
- #: admin/sidebar/partials/aalb_credentials.php:148
210
- msgid "A key that is used in conjunction with the Access Key ID to cryptographically sign an API request. To retrieve your Access Key ID or Secret Access Key, go to <a href=%1s target=%2s>Manage Your Account</a>. The plugin uses a default encryption key for encrypting the Secret Key. You can change the key using AALB_ENCRYPTION_KEY parameter defined in /aalb_config.php."
211
- msgstr "Una chiave utilizzata in combinazione con l’Access Key ID per firmare crittograficamente una richiesta API. Per ritrovare la tua Access Key ID o Secret Access Key, vai a <a href=%1s target=%2s>Il mio account</a>. Il plugin utilizza una chiave di codifica predefinita per la codifica della Secret Key. Puoi modificare la chiave utilizzando il parametro AALB_ENCRYPTION_KEY definito in /aalb_config.php."
 
 
 
 
 
212
 
213
- #: admin/sidebar/partials/aalb_credentials.php:136
214
- msgid "Secret Access Key"
215
- msgstr "Secret Access Key"
216
 
217
- #. translators: 1: URL of Getting Started page 2: _blank
218
- #: admin/sidebar/partials/aalb_credentials.php:132
219
- msgid "Your Access Key ID that you generated after signing up for the Amazon Product Advertising API. If you have not already signed up for the Amazon Product Advertising API, you can do so by following instructions listed <a href=%1s target=%2s>here</a>."
220
- msgstr "Il tuo Access Key ID generato dopo la registrazione alla Amazon Product Advertising API: Se non hai ancora effettuato la registrazione per la Amazon Product Advertising API, puoi farlo seguendo le istruzioni elencate <a href=%1s target=%2s>qui</a>."
221
 
222
- #: admin/sidebar/partials/aalb_credentials.php:125
223
- msgid "Access Key ID"
224
- msgstr "Access Key ID"
225
 
226
- #: admin/sidebar/partials/aalb_credentials.php:122
227
- msgid "PA-API Credentials"
228
- msgstr "Credenziali PA-API"
229
 
230
- #. translators: %s: rel="noreferrer" attribute
231
- #: admin/sidebar/partials/aalb_credentials.php:114
232
- msgid "Selecting the checkbox will remove %s from Amazon links on all posts till date. The action is reversible and you can revert by deselecting the checkbox"
233
- msgstr "Selezionando la casella di controllo %s viene rimosso dai link Amazon di tutti i post fino a quella data. L’azione è reversibile, puoi infatti ripristinarli deselezionando la casella di controllo"
234
 
235
- #. translators: %s: rel="noreferrer" attribute
236
- #: admin/sidebar/partials/aalb_credentials.php:110
237
- msgid "Remove %s for Amazon Affiliate Links from all posts"
238
- msgstr "Rimuovi %s dai link di affiliazione Amazon di tutti i post"
239
 
240
- #: admin/sidebar/partials/aalb_credentials.php:102
241
- msgid "The ad template that will be used for rendering the ad if no template is specified in the short code."
242
- msgstr "Il template dell’annuncio utilizzato per il rendering dell’annuncio, se nel codice breve non è specificato alcun template."
243
 
244
- #: admin/sidebar/partials/aalb_credentials.php:88
245
- msgid "Default Template"
246
- msgstr "Template predefinito"
247
 
248
- #: admin/sidebar/partials/aalb_credentials.php:84
249
- msgid "Set the default Amazon marketplace based on the Amazon website that is identified in your Associates Account (for instance, if you have signed up for Amazon.co.uk site, then your default marketplace selection should be UK)."
250
- msgstr "Imposta il marketplace Amazon in base al sito web Amazon indicato nel tuo account di affiliazione (ad esempio se ti sei registrato sul sito Amazon.co.uk, allora il marketplace predefinito è il Regno Unito)."
251
 
252
- #: admin/sidebar/partials/aalb_credentials.php:69
253
- msgid "Default Marketplace"
254
- msgstr "Marketplace predefinito"
 
 
 
 
255
 
256
- #: admin/sidebar/partials/aalb_credentials.php:65
257
- msgid "The Associate ID that will be used for tagging the affiliate links generated by the plugin if no tag is specified in the short code."
258
- msgstr "L’ID affiliato utilizzato per taggare i link di affiliazione generati dal plugin, se nel codice breve non è specificato alcun tag."
259
 
260
- #: admin/sidebar/partials/aalb_credentials.php:52
261
- msgid "Default Associate ID"
262
- msgstr "ID affiliato predefinito"
 
 
263
 
264
- #: admin/sidebar/partials/aalb_credentials.php:49
265
- msgid "Site Wide Settings"
266
- msgstr "Impostazioni per il sito"
267
 
268
- #: admin/sidebar/partials/aalb_credentials.php:41
269
- msgid "Associate ID is used to monitor traffic and sales from your links to Amazon. You can add one store id or tracking id per row. You are recommended to create a new tracking ID in your Amazon Associates account for using it as Associate ID in the plugin."
270
- msgstr "L’ID affiliato è utilizzato per monitorare il traffico e le vendite dai tuoi link verso Amazon. Puoi aggiungere uno store id o un tracking id per fila. Ti consigliamo di creare un nuovo tracking ID nel tuo account di affiliazione Amazon al fine di utilizzarlo come ID affiliato nel plugin."
 
 
271
 
272
- #: admin/sidebar/partials/aalb_credentials.php:31
273
- msgid "Tracking Id(s)"
274
- msgstr "Tracking Id(s)"
 
 
 
275
 
276
- #: admin/sidebar/partials/aalb_credentials.php:25
277
- msgid "Settings for Associates Link Builder"
278
- msgstr "Impostazioni per l’Associates Link Builder"
 
 
 
 
 
 
 
 
279
 
280
- #: admin/sidebar/partials/aalb_admin_ui_common.php:27
281
- msgid "We <b>recommend</b> using HTTPs connection for improved security."
282
- msgstr "<b>Consigliamo</b> di utilizzare il collegamento HTTPs per una maggiore sicurezza."
283
 
284
- #. translators: 1: URL of Plugin's Support Forum 2: _blank
285
- #: admin/sidebar/partials/aalb_about.php:148
286
- msgid "If you get stuck, or have any questions, you can ask for help in the <a href=%1s target=%2s>Amazon Associates Link Builder plugin forum</a>."
287
- msgstr "In caso di problemi o domande, puoi chiedere aiuto nel <a href=%1s target=%2s>forum del plugin Amazon Associates Link Builder</a>."
 
288
 
289
- #: admin/sidebar/partials/aalb_about.php:145
290
- msgid "Support"
291
- msgstr "Supporto"
 
 
292
 
293
- #. translators: 1: URL of Link Builder User Guide 2: _blank
294
- #: admin/sidebar/partials/aalb_about.php:143
295
- msgid "Review <a href=%1s target=%2s >Link Builder User Guide</a> for more information on getting started and key features of the plugin."
296
- msgstr "Consulta la <a href=%1s target=%2s >Guida utente al Link Builder</a> per maggiori informazioni su come iniziare e le funzioni chiave del plugin."
 
297
 
298
- #: admin/sidebar/partials/aalb_about.php:140
299
- msgid "User Guide"
300
- msgstr "Guida utente"
 
 
 
 
 
 
 
 
 
301
 
302
- #: admin/sidebar/partials/aalb_about.php:138
303
- msgid "That's it! You’re all set to start adding Amazon affiliate links to your posts using the Amazon Associates Link Builder plugin!"
304
- msgstr "È tutto! Ora sei pronto ad aggiungere i link di affiliazione Amazon ai tuoi post utilizzando il plugin Amazon Associates Link Builder!"
305
 
306
- #: admin/sidebar/partials/aalb_about.php:134
307
- msgid "Set the default Amazon marketplace based on the Amazon Associates Program for which you are registered (for example, if you’ve signed up for the Amazon Associates Program in UK, then your default marketplace selection should be UK) and select an appropriate template for rendering your ads."
308
- msgstr "Imposta il marketplace Amazon predefinito in base al Programma di affiliazione Amazon in cui ti sei registrato (ad esempio, se ti sei registrato al programma del Regno Unito, il tuo marketplace predefinito dovrebbe essere il Regno Unito) e seleziona un modello adeguato per il rendering degli annunci."
 
 
 
 
 
 
 
 
 
 
 
 
309
 
310
- #: admin/sidebar/partials/aalb_about.php:132
311
- msgid "Set default Associate ID. Associate ID is used to monitor traffic and sales from your links to Amazon. You can also define a list of valid Associate IDs (store ids or tracking ids). You should create a new tracking ID in your Amazon Associates account for using it as Associate ID in the plugin."
312
- msgstr "Imposta l’ID affiliato predefinito. L’ID affiliato è utilizzato per monitorare il traffico e le vendite dai tuoi link verso Amazon. Puoi anche definire un elenco di ID affiliato validi (store id o tracking id). Ti consigliamo di creare un nuovo tracking ID nel tuo account di affiliazione Amazon al fine di utilizzarlo come ID affiliato nel plugin."
313
 
314
- #: admin/sidebar/partials/aalb_about.php:130
315
- msgid "Set Access Key ID and Secret Access Key in the Settings section. These credentials are used to invoke requests to the Amazon Product Advertising API for fetching information on an item."
316
- msgstr "Imposta l’Access Key ID e la Secret Access Key nella sezione Impostazioni. Queste credenziali sono utilizzate per avviare richieste alla Amazon Product Advertising API per il recupero di informazioni su un articolo."
 
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
- #: admin/sidebar/partials/aalb_about.php:127
319
- msgid "Use the Associates Link Builder->Settings screen to configure the plugin."
320
- msgstr "Utilizzare la schermata Associates Link Builder -> Settings per configurare il plugin."
321
 
322
- #: admin/sidebar/partials/aalb_about.php:125
323
- msgid "Step 3 - Configure plugin for first use"
324
- msgstr "Fase 3 - Configura il plugin al primo uso"
 
 
 
 
 
 
325
 
326
- #. translators: 1: URL of Getting Started page 2: _blank
327
- #: admin/sidebar/partials/aalb_about.php:123
328
- msgid "Sign up for the Amazon Product Advertising API by following the instructions listed <a href=%1s target=%2s>here</a>. The Amazon Product Advertising API is a popular e-commerce service, powering Amazon-integrated experiences around the world, serving tens of thousands of applications and more than 1 billion API requests every day. It exposes a web-service, which allows Associates to programmatically search and look up items in the Amazon product catalog. The Link Builder plugin integrates the Product Advertising API, allowing you to access Amazon.com product catalog data without requiring additional software development."
329
- msgstr "Registrati alla Amazon Product Advertising API seguendo le istruzioni elencate <a href=%1s target=%2s>qui</a>. La Amazon Product Advertising API è un diffuso servizio di e-commerce, realizzato dall’esperienza di Amazon in tutto il mondo, il quale rende disponibile decine di migliaia di applicazioni e più di 1 miliardo di richieste API ogni giorno. Il programma offre un servizio web che consente agli affiliati di effettuare ricerche con determinati criteri e di cercare gli articoli nel catalogo prodotti Amazon. Il plugin Link Builder integra la Product Advertising API, permettendoti di accedere ai dati del catalogo prodotti Amazon.com senza richiedere lo sviluppo di software aggiuntivo."
 
 
 
 
 
330
 
331
- #: admin/sidebar/partials/aalb_about.php:120
332
- msgid "Step 2 - Sign up for the Amazon Product Advertising API"
333
- msgstr "Fase 2 - Registrazione per la Amazon Product Advertising API"
334
 
335
- #: admin/sidebar/partials/aalb_about.php:118
336
- msgid "Your Associate ID works only in the country in which you register. If you’d like to be an Associate in more than one country, please register separately for each country."
337
- msgstr "Il tuo ID affiliato funziona solo nel Paese in cui effettui la registrazione. Se desideri essere un affiliato in più di un Paese, registrati separatamente per ogni Paese."
338
 
339
- #: admin/sidebar/partials/aalb_about.php:111
340
- msgid "United States"
341
- msgstr "Stati Uniti"
 
 
 
 
342
 
343
- #: admin/sidebar/partials/aalb_about.php:105
344
- msgid "United Kingdom"
345
- msgstr "Regno Unito"
346
 
347
- #: admin/sidebar/partials/aalb_about.php:99
348
- msgid "Spain"
349
- msgstr "Spagna"
350
 
351
- #: admin/sidebar/partials/aalb_about.php:93
352
- msgid "Mexico"
353
- msgstr "Messico"
354
 
355
- #: admin/sidebar/partials/aalb_about.php:87
356
- msgid "Japan"
357
- msgstr "Giappone"
358
 
359
- #: admin/sidebar/partials/aalb_about.php:81
360
- msgid "Italy"
361
- msgstr "Italia"
362
 
363
  #: admin/sidebar/partials/aalb_about.php:75
364
  msgid "India"
365
  msgstr "India"
366
 
367
- #: admin/sidebar/partials/aalb_about.php:69
368
- msgid "Germany"
369
- msgstr "Germania"
370
 
371
- #: admin/sidebar/partials/aalb_about.php:63
372
- msgid "France"
373
- msgstr "Francia"
374
 
375
- #: admin/sidebar/partials/aalb_about.php:57
376
- msgid "China"
377
- msgstr "Cina"
378
 
379
- #: admin/sidebar/partials/aalb_about.php:51
380
- msgid "Canada"
381
- msgstr "Canada"
382
 
383
- #: admin/sidebar/partials/aalb_about.php:45
384
- msgid "Brazil"
385
- msgstr "Brasile"
386
 
387
- #: admin/sidebar/partials/aalb_about.php:41
388
- msgid "To become an Associate, create an Amazon Associates account using URL for your country:"
389
- msgstr "Per diventare un affiliato, crea un account di affiliazione Amazon utilizzando l’URL del tuo Paese:"
390
 
391
- #: admin/sidebar/partials/aalb_about.php:39
392
- msgid "Step 1 - Become an Associate"
393
- msgstr "Fase 1 - Diventa un affiliato"
 
 
 
 
 
 
394
 
395
- #: admin/sidebar/partials/aalb_about.php:38
396
- msgid "Getting Started"
397
- msgstr "Come iniziare"
398
 
399
- #: admin/sidebar/partials/aalb_about.php:35
400
- msgid "The plugin is currently in beta form. We intend to regularly add new features and enhancements throughout the beta period and beyond, and welcome your feedback and input."
401
- msgstr "Al momento il plugin è in versione beta. Pensiamo di aggiungere regolarmente nuove funzionalità e miglioramenti nel corso del periodo beta e oltre. Siamo inoltre lieti di ricevere il tuo feedback e i tuoi suggerimenti."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
 
403
  #. translators: 1: URL of Condition of Use page 2: _blank
404
- #: admin/sidebar/partials/aalb_about.php:32
405
- msgid "You must review and accept the Amazon Associates Link Builder <a href=%1s target=%2s>Conditions of Use.</a>"
406
- msgstr "Devi leggere e accettare le <a href=%1s target=%2s>Condizioni d’uso</a> dell’Amazon Associates Link Builder."
 
 
 
 
 
407
 
408
- #: admin/sidebar/partials/aalb_about.php:28
409
- msgid "Note"
410
- msgstr "Nota"
411
 
412
- #: admin/sidebar/partials/aalb_about.php:26
413
- msgid "Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin."
414
- msgstr "Il Link Builder è il plugin ufficiale gratuito per WordPress del Programma di affiliazione Amazon. Il plugin consente di cercare i prodotti nel catalogo Amazon, accedere alle informazioni su prezzi e disponibilità in tempo reale e creare facilmente i link nei tuoi post ai prodotti su Amazon. Potrai così creare link testuali, unità di annunci personalizzati o trarre vantaggio dai widget pronti all’uso che abbiamo disegnato e incluso nel plugin."
 
 
415
 
416
- #: admin/sidebar/partials/aalb_about.php:24
417
- msgid "About Amazon Associates Link Builder"
418
- msgstr "L’Amazon Associates Link Builder"
 
 
419
 
420
- #. translators: 1: URL of affiliate website 2: _blank
421
- #: admin/sidebar/partials/aalb_about.php:22
422
- msgid "The Amazon Associates Program is one of the original affiliate marketing programs. Available in geographies across the globe, the Amazon Associates Program has been partnering with content creators to help them monetize their passions since 1996. To learn more about the Amazon Associates Program, please click <a href=%1s target=%2s >here</a>."
423
- msgstr "Il Programma di affiliazione Amazon è un esclusivo programma di affiliate marketing. Disponibile in molti Paesi del mondo, sin dal 1996 il Programma di affiliazione Amazon collabora con i creatori di contenuti per aiutarli a monetizzare le loro passioni. Per saperne di più sul Programma di affiliazione Amazon, clicca <a href=%1s target=%2s >qui</a>."
424
 
425
- #: admin/sidebar/partials/aalb_about.php:19
426
- msgid "About Amazon Associates Program"
427
- msgstr "Cos’è il Programma di affiliazione Amazon"
 
 
428
 
429
- #: admin/sidebar/aalb_sidebar.php:39 amazon-associates-link-builder.php:41
430
- msgid "Templates"
431
- msgstr "Template"
 
 
432
 
433
- #. translators: %s: Name of plugin
434
- #: admin/sidebar/aalb_sidebar.php:39
435
- msgid "Configure %s Templates"
436
- msgstr "Configura %s Template"
437
 
438
- #: admin/sidebar/aalb_sidebar.php:37 amazon-associates-link-builder.php:40
439
- msgid "Settings"
440
- msgstr "Impostazioni"
 
 
441
 
442
- #. translators: %s: Name of plugin
443
- #: admin/sidebar/aalb_sidebar.php:37
444
- msgid "Configure %s Settings"
445
- msgstr "Configura %s Impostazioni"
 
 
 
 
 
446
 
447
- #: admin/sidebar/aalb_sidebar.php:35 amazon-associates-link-builder.php:39
448
- msgid "About"
449
- msgstr "Chi siamo"
 
 
 
 
 
 
450
 
451
- #. translators: %s: Name of plugin
452
- #: admin/sidebar/aalb_sidebar.php:35
453
- msgid "Configure %s About"
454
- msgstr "Configura %s Chi siamo"
455
 
456
- #: admin/sidebar/aalb_sidebar.php:31 admin/sidebar/partials/aalb_about.php:17
457
- msgid "Associates Link Builder"
458
- msgstr "Associates Link Builder"
 
 
459
 
460
- #: admin/partials/aalb_meta_box.php:93
461
- msgid "Creating shortcode. Please wait...."
462
- msgstr "Creazione codice breve. Attendi..."
463
 
464
- #: admin/partials/aalb_meta_box.php:90
465
- msgid "Add Shortcode"
466
- msgstr "Aggiungi codice breve"
 
 
467
 
468
- #: admin/partials/aalb_meta_box.php:86
469
- msgid "List of Selected Products"
470
- msgstr "Elenco dei prodotti selezionati"
471
 
472
- #: admin/partials/aalb_meta_box.php:82
473
- msgid "Check more search results on Amazon"
474
- msgstr "Controlla gli altri risultati di ricerca su Amazon"
 
 
475
 
476
- #: admin/partials/aalb_meta_box.php:80
477
- msgid "Click to select product(s) to advertise"
478
- msgstr "Clicca per selezionare i prodotti da pubblicizzare"
479
 
480
- #: admin/partials/aalb_meta_box.php:77
481
- msgid "Searching relevant products from Amazon"
482
- msgstr "Ricerca prodotti rilevanti su Amazon"
483
 
484
- #: admin/partials/aalb_meta_box.php:64
485
- msgid "Marketplace"
486
- msgstr "Marketplace"
487
 
488
- #: admin/partials/aalb_meta_box.php:55
489
- #: admin/sidebar/partials/aalb_credentials.php:34
490
- msgid "Associate ID"
491
- msgstr "ID affiliato"
492
 
493
- #: admin/partials/aalb_meta_box.php:46
494
- msgid "Ad Template"
495
- msgstr "Template annuncio"
496
 
497
- #: admin/partials/aalb_editor_search_box.php:38
498
- #: admin/partials/aalb_meta_box.php:39
499
- msgid "Search"
500
- msgstr "Cerca"
501
 
502
- #: admin/partials/aalb_editor_search_box.php:35
503
- #: admin/partials/aalb_meta_box.php:37
504
- msgid "Enter keyword(s)"
505
- msgstr "Inserisci parole chiave"
506
 
507
- #. translators: %s: URL of settings page
508
- #: admin/partials/aalb_editor_search_box.php:30
509
- msgid "Please configure your PA-API credentials in the <a href=%s>Settings Page</a> to use the Link Builder features."
510
- msgstr "Configura le tue credenziali PA-API nella pagina <a href=%s>Impostazioni</a> per utilizzare le funzionalità Link Builder."
511
 
512
- #: admin/aalb_admin.php:255
513
- msgid "Not authorised to make request"
514
- msgstr "Non autorizzato a effettuare la richiesta"
515
 
516
- #: admin/aalb_admin.php:245
517
- msgid "Not authorised to make request template content or Directory Traversal Attempted."
518
- msgstr "Non autorizzato a effettuare la richiesta del contenuto del template o Directory Traversal Attempted."
519
 
520
- #: admin/aalb_admin.php:116 admin/partials/aalb_editor_search_box.php:37
521
- msgid "Add Amazon Associates Link Builder Shortcode"
522
- msgstr "Aggiungi codice breve Amazon Associates Link Builder"
 
 
523
 
524
- #. translators: %s: Email-id of the support
525
- #: admin/aalb_admin.php:115
526
- msgid "Request timed out. Try again after some time. Please check your network and firewall settings. If the error still persists, write to us at %s."
527
- msgstr "Richiesta scaduta. Riprova più tardi. Controlla le impostazioni di rete e del firewall. Se l’errore persiste, scrivi a %s."
 
528
 
529
- #: admin/aalb_admin.php:113
530
- msgid "Failed to create Text Link shortcode. Editor has some text selected. Only one item can be selected while adding text links"
531
- msgstr "Impossibile creare il codice breve del link testuale. L’editor presenta una parte di testo selezionata. Durante l’aggiunta dei link testuali è possibile aggiungere solo un articolo"
 
 
532
 
533
- #: admin/aalb_admin.php:112
534
- msgid "Please Enter a Product Name "
535
- msgstr "Inserisci un nome di prodotto"
 
 
536
 
537
- #: admin/aalb_admin.php:111
538
- msgid "Please select at least one product for display"
539
- msgstr "Seleziona almeno un prodotto da visualizzare"
 
 
 
 
 
 
 
 
 
 
 
 
 
540
 
541
- #: admin/aalb_admin.php:110
542
- msgid "Only one product can be selected for this template"
543
- msgstr "Per questo template è possibile selezionare solo un prodotto"
 
 
 
 
 
 
 
 
 
544
 
545
- #. Author URI of the plugin/theme
546
- msgid "https://affiliate-program.amazon.com/"
547
- msgstr "https://affiliate-program.amazon.com/"
548
 
549
- #. Author of the plugin/theme
550
- msgid "Amazon Associates Program"
551
- msgstr "Programma di affiliazione Amazon"
 
 
 
 
 
 
 
 
552
 
553
- #. Description of the plugin/theme
554
- msgid "Amazon Associates Link Builder is the official free Amazon Associates Program plugin for WordPress. The plugin enables you to search for products in the Amazon catalog, access real-time price and availability information, and easily create links in your posts to products on Amazon.com. You will be able to generate text links, create custom ad units, or take advantage of out-of-the-box widgets that we’ve designed and included with the plugin."
555
- msgstr "L’Amazon Associates Link Builder è il plugin ufficiale gratuito per WordPress del Programma di affiliazione Amazon. Il plugin consente di cercare i prodotti nel catalogo Amazon, accedere alle informazioni su prezzi e disponibilità in tempo reale e creare facilmente i link nei tuoi post ai prodotti su Amazon. Potrai così creare link testuali, unità di annunci personalizzati o trarre vantaggio dai widget pronti all’uso che abbiamo disegnato e incluso nel plugin."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
 
557
  #. Plugin Name of the plugin/theme
558
  msgid "Amazon Associates Link Builder"
559
  msgstr "Amazon Associates Link Builder"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "PO-Revision-Date: 2017-12-04 20:38+0000\n"
4
  "MIME-Version: 1.0\n"
5
  "Content-Type: text/plain; charset=UTF-8\n"
6
  "Content-Transfer-Encoding: 8bit\n"
7
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
8
+ "X-Generator: Loco - https://localise.biz/\n"
9
+ "Language: it-IT\n"
10
+ "Project-Id-Version: Plugins - Amazon Associates Link Builder - Development "
11
+ "(trunk)\n"
12
+ "POT-Creation-Date: 2017-12-04 20:38+0000\n"
13
+ "Last-Translator: nishgarg <nishgarg@amazon.com>\n"
14
+ "Language-Team: Italian\n"
15
+ "Report-Msgid-Bugs-To: "
16
+
17
+ #: admin/aalb_admin.php:132
18
+ msgid "Please select at least one product for these marketplaces:"
19
+ msgstr ""
20
 
21
+ #. %s: URL of settings page
22
+ #: admin/aalb_admin.php:141
23
+ #, php-format
24
+ msgid ""
25
+ "Please configure your Store-Id credentials in the <a href=%s>Settings "
26
+ "Page</a> to use the Link Builder features."
27
+ msgstr ""
28
 
29
+ #: admin/aalb_admin.php:145
30
+ msgid "Tracking IDs"
31
+ msgstr ""
 
32
 
33
+ #: admin/aalb_admin.php:146
34
+ msgid "Search Phrase"
35
+ msgstr ""
 
36
 
37
+ #: admin/aalb_admin.php:147
38
+ msgid "Select Tracking Id"
39
+ msgstr ""
40
 
41
+ #: admin/aalb_admin.php:149
42
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:56
43
+ msgid "Select Marketplace"
44
+ msgstr ""
45
 
46
+ #: admin/aalb_admin.php:153
47
+ msgid "List of Selected Products(Maximum: 10)"
48
+ msgstr ""
 
49
 
50
+ #: admin/aalb_admin.php:156
51
+ msgid ""
52
+ "To configure templates, go to Associates Link Builder plugin's Templates page"
53
+ msgstr ""
54
 
55
+ #: admin/aalb_admin.php:157
56
+ msgid ""
57
+ "To configure marketplaces, go to Associates Link Builder plugin's Settings "
58
+ "page"
59
+ msgstr ""
60
 
61
+ #: admin/aalb_admin.php:158
62
+ msgid ""
63
+ "To configure tracking ids, go to Associates Link Builder plugin's Settings "
64
+ "page"
65
+ msgstr ""
66
 
67
+ #: admin/aalb_admin.php:159
68
+ msgid "Please select marketplace from above to show products."
69
+ msgstr ""
70
 
71
+ #: admin/aalb_admin.php:160
72
+ msgid "Please select some products from above."
73
+ msgstr ""
 
74
 
75
+ #: admin/aalb_admin.php:161
76
+ msgid "Add ProductSet for Country"
77
+ msgstr ""
 
78
 
79
+ #: ip2country/aalb_customer_country.php:98
80
+ #, php-format
81
+ msgid ""
82
+ "Maxmind DB file doesn't exist or is not readable. Please check & give "
83
+ "appropriate read & write permissions to:%s. Go to plugin's Settings page for "
84
+ "more details."
85
+ msgstr ""
86
 
87
+ #: shortcode/aalb_shortcode_manager.php:83
88
+ msgid ""
89
+ "There is an error in the count of configured marketplaces, asins and stores "
90
+ "in this shortcode. Please fix the parameters for marketplace, asin and store-"
91
+ "id."
92
+ msgstr ""
93
 
94
+ #: admin/sidebar/partials/aalb_credentials.php:26
95
+ msgid "Are you sure you want to remove this marketplace?"
96
+ msgstr ""
 
97
 
98
+ #: admin/sidebar/partials/aalb_credentials.php:29
99
+ msgid "YES"
100
+ msgstr ""
101
 
102
+ #: admin/sidebar/partials/aalb_credentials.php:30
103
+ msgid "NO"
104
+ msgstr ""
105
 
106
+ #: admin/sidebar/partials/aalb_credentials.php:91
107
+ msgid "Downloads Folder"
108
+ msgstr ""
109
 
110
+ #: admin/sidebar/partials/aalb_credentials.php:97
111
+ #, php-format
112
+ msgid ""
113
+ "This folder will be used to save files downloaded by the plugin (e.g. <a "
114
+ "href=%1s target=%2s>The MaxMind IP2Country Database</a>) for local use. "
115
+ "Absolute path required. <br><span class=\"aalb-bold\"> Default value:</span> "
116
+ "*blank*, defaults to <code>wp_upload_dir()['basedir'] + '%3s'</code>"
117
+ msgstr ""
118
 
119
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:54
120
+ msgid "Enter Tracking Id(s)"
121
+ msgstr ""
122
 
123
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:55
124
+ msgid "Remove Marketplace"
125
+ msgstr ""
126
 
127
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:58
128
+ msgid "Set As Default Marketplace"
129
+ msgstr ""
130
 
131
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:60
132
+ msgid "Add a Marketplace"
133
+ msgstr ""
134
 
135
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:61
136
+ msgid "Remove Marketplace Confirmation"
137
+ msgstr ""
138
 
139
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:62
140
+ msgid "ERROR: No store id has been entered for one or more marketplaces."
141
+ msgstr ""
142
 
143
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:63
144
+ msgid ""
145
+ "ERROR: A marketplace already exists with this value. Please set a new "
146
+ "marketplace."
147
+ msgstr ""
148
 
149
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:64
150
+ msgid ""
151
+ "ERROR: A marketplace is present that has not been set. Please set that first."
152
+ msgstr ""
153
 
154
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:65
155
+ msgid ""
156
+ "ERROR: You need to maintain at least one marketplace entry for tracking ids "
157
+ msgstr ""
158
 
159
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:66
160
+ msgid "ERROR: You need to add at least one marketplace entry for tracking ids "
161
+ msgstr ""
162
 
163
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:67
164
+ msgid "Add a Marketplace that you want to create Amazon links to."
165
+ msgstr ""
 
166
 
167
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:68
168
+ msgid ""
169
+ "For each marketplace you can add multiple tracking ids, separated by commas. "
170
+ "The first tracking id will be considered as default tracking id for that "
171
+ "marketplace."
172
+ msgstr ""
173
 
174
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:121
175
+ #, php-format
176
+ msgid ""
177
+ "The file used to fetch country details to enable geo-targetted links doesn't "
178
+ "have read permissions. Please give recursive read/write permissons to:%s. In "
179
+ "case you are still facing the issue, please change download folder in Site "
180
+ "Wide Settings section on this page."
181
+ msgstr ""
182
 
183
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:123
184
+ #, php-format
185
+ msgid ""
186
+ "The file used to fetch country details to enable geo-targetted links doesn't "
187
+ "have write permissions. Please give recursive read/write permissons to:%s. "
188
+ "In case you are still facing the issue, please change download folder in "
189
+ "Site Wide Settings section on this page"
190
+ msgstr ""
191
 
192
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:125
193
+ #, php-format
194
+ msgid ""
195
+ "The directory where the file used to fetch country details to enable geo-"
196
+ "targetted links doesn't have write permissions. Please give recursive "
197
+ "read/write permissons to:%s. In case you are still facing the issue, please "
198
+ "change download folder in Site Wide Settings section on this page"
199
+ msgstr ""
200
 
201
+ #: amazon-associates-link-builder.php:39 admin/sidebar/aalb_sidebar.php:35
202
+ msgid "About"
203
+ msgstr "Chi siamo"
204
 
205
+ #: amazon-associates-link-builder.php:40 admin/sidebar/aalb_sidebar.php:37
206
+ msgid "Settings"
207
+ msgstr "Impostazioni"
 
208
 
209
+ #: amazon-associates-link-builder.php:41 admin/sidebar/aalb_sidebar.php:39
210
+ msgid "Templates"
211
+ msgstr "Template"
 
212
 
213
+ #: admin/aalb_admin.php:131
214
+ msgid "Only one product can be selected for this template"
215
+ msgstr "Per questo template è possibile selezionare solo un prodotto"
216
 
217
+ #: admin/aalb_admin.php:133
218
+ msgid "Please Enter a Product Name "
219
+ msgstr "Inserisci un nome di prodotto"
 
220
 
221
+ #: admin/aalb_admin.php:134
222
+ msgid ""
223
+ "Failed to create Text Link shortcode. Editor has some text selected. Only "
224
+ "one item can be selected while adding text links"
225
+ msgstr ""
226
+ "Impossibile creare il codice breve del link testuale. L’editor presenta una "
227
+ "parte di testo selezionata. Durante l’aggiunta dei link testuali è possibile "
228
+ "aggiungere solo un articolo"
229
 
230
+ #. translators: %s: Email-id of the support
231
+ #: admin/aalb_admin.php:136
232
+ #, php-format
233
+ msgid ""
234
+ "Request timed out. Try again after some time. Please check your network and "
235
+ "firewall settings. If the error still persists, write to us at %s."
236
+ msgstr ""
237
+ "Richiesta scaduta. Riprova più tardi. Controlla le impostazioni di rete e "
238
+ "del firewall. Se l’errore persiste, scrivi a %s."
239
 
240
+ #: admin/aalb_admin.php:137 admin/partials/aalb_editor_search_box.php:31
241
+ msgid "Add Amazon Associates Link Builder Shortcode"
242
+ msgstr "Aggiungi codice breve Amazon Associates Link Builder"
 
243
 
244
+ #. translators: %s: URL of settings page
245
+ #: admin/aalb_admin.php:139
246
+ #, php-format
247
+ msgid ""
248
+ "Please configure your PA-API credentials in the <a href=%s>Settings Page</a>"
249
+ " to use the Link Builder features."
250
+ msgstr ""
251
+ "Configura le tue credenziali PA-API nella pagina <a href=%s>Impostazioni</a> "
252
+ "per utilizzare le funzionalità Link Builder."
253
 
254
+ #: admin/aalb_admin.php:142
255
+ msgid "Ad Template"
256
+ msgstr "Template annuncio"
257
 
258
+ #: admin/aalb_admin.php:143 admin/partials/aalb_editor_search_box.php:30
259
+ msgid "Enter keyword(s)"
260
+ msgstr "Inserisci parole chiave"
 
261
 
262
+ #: admin/aalb_admin.php:144 admin/partials/aalb_editor_search_box.php:32
263
+ msgid "Search"
264
+ msgstr "Cerca"
265
 
266
+ #: admin/aalb_admin.php:148
267
+ msgid "Marketplace"
268
+ msgstr "Marketplace"
269
 
270
+ #: admin/aalb_admin.php:150
271
+ msgid "Searching relevant products from Amazon"
272
+ msgstr "Ricerca prodotti rilevanti su Amazon"
 
273
 
274
+ #: admin/aalb_admin.php:151
275
+ msgid "Click to select product(s) to advertise"
276
+ msgstr "Clicca per selezionare i prodotti da pubblicizzare"
 
277
 
278
+ #: admin/aalb_admin.php:152
279
+ msgid "Check more search results on Amazon"
280
+ msgstr "Controlla gli altri risultati di ricerca su Amazon"
281
 
282
+ #: admin/aalb_admin.php:154
283
+ msgid "Creating shortcode. Please wait...."
284
+ msgstr "Creazione codice breve. Attendi..."
285
 
286
+ #: admin/aalb_admin.php:155
287
+ msgid "Add Shortcode"
288
+ msgstr "Aggiungi codice breve"
289
 
290
+ #: admin/aalb_admin.php:292
291
+ msgid ""
292
+ "Not authorised to make request template content or Directory Traversal "
293
+ "Attempted."
294
+ msgstr ""
295
+ "Non autorizzato a effettuare la richiesta del contenuto del template o "
296
+ "Directory Traversal Attempted."
297
 
298
+ #: admin/aalb_admin.php:302
299
+ msgid "Not authorised to make request"
300
+ msgstr "Non autorizzato a effettuare la richiesta"
301
 
302
+ #. translators: %s: Error message
303
+ #: includes/aalb_remote_loader.php:71
304
+ #, php-format
305
+ msgid "HTTP Request failed! %s"
306
+ msgstr "Richiesta HTTP non riuscita! %s"
307
 
308
+ #: includes/aalb_remote_loader.php:79
309
+ msgid "Response body is empty"
310
+ msgstr "Il corpo della risposta è vuoto"
311
 
312
+ #. translators: %s: Invalid ASIN name
313
+ #: shortcode/aalb_shortcode_helper.php:144
314
+ #, php-format
315
+ msgid "The ASIN: %s is invalid."
316
+ msgstr "l’ASIN: %s non è valido."
317
 
318
+ #. translators: 1: Invalid template name 2: Valid template name
319
+ #: shortcode/aalb_shortcode_helper.php:168
320
+ #, php-format
321
+ msgid "The template: %1s is invalid. Using default template %2s."
322
+ msgstr ""
323
+ "Il template: %1s non valido. Viene utilizzato il template %2s predefinito."
324
 
325
+ #. translators: 1: Invalid associate id 2: Valid associate id
326
+ #: shortcode/aalb_shortcode_helper.php:191
327
+ #, php-format
328
+ msgid ""
329
+ "The Associate tag %1s is not present in the list of valid tags. Associate "
330
+ "tag has been updated to %2s. Please check your Associate tag selection or "
331
+ "contact the administrator to add a new tag."
332
+ msgstr ""
333
+ "Il tag affiliato %1s non è presente nell’elenco dei tag validi. Il tag "
334
+ "affiliato è stato aggiornato a %2s. Controlla la tua selezione di tag "
335
+ "affiliato o contatta l’amministratore per aggiungere un nuovo tag."
336
 
337
+ #: admin/sidebar/aalb_sidebar.php:31 admin/sidebar/partials/aalb_about.php:17
338
+ msgid "Associates Link Builder"
339
+ msgstr "Associates Link Builder"
340
 
341
+ #. translators: %s: Name of plugin
342
+ #: admin/sidebar/aalb_sidebar.php:35
343
+ #, php-format
344
+ msgid "Configure %s About"
345
+ msgstr "Configura %s Chi siamo"
346
 
347
+ #. translators: %s: Name of plugin
348
+ #: admin/sidebar/aalb_sidebar.php:37
349
+ #, php-format
350
+ msgid "Configure %s Settings"
351
+ msgstr "Configura %s Impostazioni"
352
 
353
+ #. translators: %s: Name of plugin
354
+ #: admin/sidebar/aalb_sidebar.php:39
355
+ #, php-format
356
+ msgid "Configure %s Templates"
357
+ msgstr "Configura %s Template"
358
 
359
+ #: lib/php/aalb_validation_helper.php:102
360
+ msgid ""
361
+ "Associate Tag was not found. The sales will not be attributed to any store "
362
+ "and you will not earn the associate fees for it. Please provide a valid "
363
+ "Associate Tag if you wish to earn the referral fees. Assocaite Tags can be "
364
+ "configured from the 'Settings' tab in the WordPress administration panel"
365
+ msgstr ""
366
+ "Il tag affiliato non è stato trovato. Le vendite non saranno attribuite ad "
367
+ "alcun negozio e non otterrai le tue commissioni pubblicitarie per tali "
368
+ "vendite. Ti invitiamo a fornire un tag affiliato valido se desideri ottenere "
369
+ "le commissioni di rinvio. I tag affiliato possono essere configurati dalla "
370
+ "scheda “Impostazioni” nel pannello di controllo WordPress."
371
 
372
+ #: admin/sidebar/partials/aalb_about.php:19
373
+ msgid "About Amazon Associates Program"
374
+ msgstr "Cos’è il Programma di affiliazione Amazon"
375
 
376
+ #. translators: 1: URL of affiliate website 2: _blank
377
+ #: admin/sidebar/partials/aalb_about.php:22
378
+ #, php-format
379
+ msgid ""
380
+ "The Amazon Associates Program is one of the original affiliate marketing "
381
+ "programs. Available in geographies across the globe, the Amazon Associates "
382
+ "Program has been partnering with content creators to help them monetize "
383
+ "their passions since 1996. To learn more about the Amazon Associates Program,"
384
+ " please click <a href=%1s target=%2s >here</a>."
385
+ msgstr ""
386
+ "Il Programma di affiliazione Amazon è un esclusivo programma di affiliate "
387
+ "marketing. Disponibile in molti Paesi del mondo, sin dal 1996 il Programma "
388
+ "di affiliazione Amazon collabora con i creatori di contenuti per aiutarli a "
389
+ "monetizzare le loro passioni. Per saperne di più sul Programma di "
390
+ "affiliazione Amazon, clicca <a href=%1s target=%2s >qui</a>."
391
 
392
+ #: admin/sidebar/partials/aalb_about.php:24
393
+ msgid "About Amazon Associates Link Builder"
394
+ msgstr "L’Amazon Associates Link Builder"
395
 
396
+ #: admin/sidebar/partials/aalb_about.php:26
397
+ msgid ""
398
+ "Link Builder is the official free Amazon Associates Program plugin for "
399
+ "WordPress. The plugin enables you to search for products in the Amazon "
400
+ "catalog, access real-time price and availability information, and easily "
401
+ "create links in your posts to products on Amazon.com. You will be able to "
402
+ "generate text links, create custom ad units, or take advantage of out-of-the-"
403
+ "box widgets that we’ve designed and included with the plugin."
404
+ msgstr ""
405
+ "Il Link Builder è il plugin ufficiale gratuito per WordPress del Programma "
406
+ "di affiliazione Amazon. Il plugin consente di cercare i prodotti nel "
407
+ "catalogo Amazon, accedere alle informazioni su prezzi e disponibilità in "
408
+ "tempo reale e creare facilmente i link nei tuoi post ai prodotti su Amazon. "
409
+ "Potrai così creare link testuali, unità di annunci personalizzati o trarre "
410
+ "vantaggio dai widget pronti all’uso che abbiamo disegnato e incluso nel "
411
+ "plugin."
412
 
413
+ #: admin/sidebar/partials/aalb_about.php:28
414
+ msgid "Note"
415
+ msgstr "Nota"
416
 
417
+ #. translators: 1: URL of Condition of Use page 2: _blank
418
+ #: admin/sidebar/partials/aalb_about.php:32
419
+ #, php-format
420
+ msgid ""
421
+ "You must review and accept the Amazon Associates Link Builder <a href=%1s "
422
+ "target=%2s>Conditions of Use.</a>"
423
+ msgstr ""
424
+ "Devi leggere e accettare le <a href=%1s target=%2s>Condizioni d’uso</a> "
425
+ "dell’Amazon Associates Link Builder."
426
 
427
+ #: admin/sidebar/partials/aalb_about.php:35
428
+ msgid ""
429
+ "The plugin is currently in beta form. We intend to regularly add new "
430
+ "features and enhancements throughout the beta period and beyond, and welcome "
431
+ "your feedback and input."
432
+ msgstr ""
433
+ "Al momento il plugin è in versione beta. Pensiamo di aggiungere regolarmente "
434
+ "nuove funzionalità e miglioramenti nel corso del periodo beta e oltre. Siamo "
435
+ "inoltre lieti di ricevere il tuo feedback e i tuoi suggerimenti."
436
 
437
+ #: admin/sidebar/partials/aalb_about.php:38
438
+ msgid "Getting Started"
439
+ msgstr "Come iniziare"
440
 
441
+ #: admin/sidebar/partials/aalb_about.php:39
442
+ msgid "Step 1 - Become an Associate"
443
+ msgstr "Fase 1 - Diventa un affiliato"
444
 
445
+ #: admin/sidebar/partials/aalb_about.php:41
446
+ msgid ""
447
+ "To become an Associate, create an Amazon Associates account using URL for "
448
+ "your country:"
449
+ msgstr ""
450
+ "Per diventare un affiliato, crea un account di affiliazione Amazon "
451
+ "utilizzando l’URL del tuo Paese:"
452
 
453
+ #: admin/sidebar/partials/aalb_about.php:45
454
+ msgid "Brazil"
455
+ msgstr "Brasile"
456
 
457
+ #: admin/sidebar/partials/aalb_about.php:51
458
+ msgid "Canada"
459
+ msgstr "Canada"
460
 
461
+ #: admin/sidebar/partials/aalb_about.php:57
462
+ msgid "China"
463
+ msgstr "Cina"
464
 
465
+ #: admin/sidebar/partials/aalb_about.php:63
466
+ msgid "France"
467
+ msgstr "Francia"
468
 
469
+ #: admin/sidebar/partials/aalb_about.php:69
470
+ msgid "Germany"
471
+ msgstr "Germania"
472
 
473
  #: admin/sidebar/partials/aalb_about.php:75
474
  msgid "India"
475
  msgstr "India"
476
 
477
+ #: admin/sidebar/partials/aalb_about.php:81
478
+ msgid "Italy"
479
+ msgstr "Italia"
480
 
481
+ #: admin/sidebar/partials/aalb_about.php:87
482
+ msgid "Japan"
483
+ msgstr "Giappone"
484
 
485
+ #: admin/sidebar/partials/aalb_about.php:93
486
+ msgid "Mexico"
487
+ msgstr "Messico"
488
 
489
+ #: admin/sidebar/partials/aalb_about.php:99
490
+ msgid "Spain"
491
+ msgstr "Spagna"
492
 
493
+ #: admin/sidebar/partials/aalb_about.php:105
494
+ msgid "United Kingdom"
495
+ msgstr "Regno Unito"
496
 
497
+ #: admin/sidebar/partials/aalb_about.php:111
498
+ msgid "United States"
499
+ msgstr "Stati Uniti"
500
 
501
+ #: admin/sidebar/partials/aalb_about.php:118
502
+ msgid ""
503
+ "Your Associate ID works only in the country in which you register. If you’d "
504
+ "like to be an Associate in more than one country, please register separately "
505
+ "for each country."
506
+ msgstr ""
507
+ "Il tuo ID affiliato funziona solo nel Paese in cui effettui la registrazione."
508
+ " Se desideri essere un affiliato in più di un Paese, registrati "
509
+ "separatamente per ogni Paese."
510
 
511
+ #: admin/sidebar/partials/aalb_about.php:120
512
+ msgid "Step 2 - Sign up for the Amazon Product Advertising API"
513
+ msgstr "Fase 2 - Registrazione per la Amazon Product Advertising API"
514
 
515
+ #. translators: 1: URL of Getting Started page 2: _blank
516
+ #: admin/sidebar/partials/aalb_about.php:123
517
+ #, php-format
518
+ msgid ""
519
+ "Sign up for the Amazon Product Advertising API by following the instructions "
520
+ "listed <a href=%1s target=%2s>here</a>. The Amazon Product Advertising API "
521
+ "is a popular e-commerce service, powering Amazon-integrated experiences "
522
+ "around the world, serving tens of thousands of applications and more than 1 "
523
+ "billion API requests every day. It exposes a web-service, which allows "
524
+ "Associates to programmatically search and look up items in the Amazon "
525
+ "product catalog. The Link Builder plugin integrates the Product Advertising "
526
+ "API, allowing you to access Amazon.com product catalog data without "
527
+ "requiring additional software development."
528
+ msgstr ""
529
+ "Registrati alla Amazon Product Advertising API seguendo le istruzioni "
530
+ "elencate <a href=%1s target=%2s>qui</a>. La Amazon Product Advertising API è "
531
+ "un diffuso servizio di e-commerce, realizzato dall’esperienza di Amazon in "
532
+ "tutto il mondo, il quale rende disponibile decine di migliaia di "
533
+ "applicazioni e più di 1 miliardo di richieste API ogni giorno. Il programma "
534
+ "offre un servizio web che consente agli affiliati di effettuare ricerche con "
535
+ "determinati criteri e di cercare gli articoli nel catalogo prodotti Amazon. "
536
+ "Il plugin Link Builder integra la Product Advertising API, permettendoti di "
537
+ "accedere ai dati del catalogo prodotti Amazon.com senza richiedere lo "
538
+ "sviluppo di software aggiuntivo."
539
+
540
+ #: admin/sidebar/partials/aalb_about.php:125
541
+ msgid "Step 3 - Configure plugin for first use"
542
+ msgstr "Fase 3 - Configura il plugin al primo uso"
543
+
544
+ #: admin/sidebar/partials/aalb_about.php:127
545
+ msgid ""
546
+ "Use the Associates Link Builder->Settings screen to configure the plugin."
547
+ msgstr ""
548
+ "Utilizzare la schermata Associates Link Builder -> Settings per configurare "
549
+ "il plugin."
550
+
551
+ #: admin/sidebar/partials/aalb_about.php:130
552
+ msgid ""
553
+ "Set Access Key ID and Secret Access Key in the Settings section. These "
554
+ "credentials are used to invoke requests to the Amazon Product Advertising "
555
+ "API for fetching information on an item."
556
+ msgstr ""
557
+ "Imposta l’Access Key ID e la Secret Access Key nella sezione Impostazioni. "
558
+ "Queste credenziali sono utilizzate per avviare richieste alla Amazon Product "
559
+ "Advertising API per il recupero di informazioni su un articolo."
560
+
561
+ #: admin/sidebar/partials/aalb_about.php:132
562
+ msgid ""
563
+ "Set default Associate ID. Associate ID is used to monitor traffic and sales "
564
+ "from your links to Amazon. You can also define a list of valid Associate IDs "
565
+ "(store ids or tracking ids). You should create a new tracking ID in your "
566
+ "Amazon Associates account for using it as Associate ID in the plugin."
567
+ msgstr ""
568
+ "Imposta l’ID affiliato predefinito. L’ID affiliato è utilizzato per "
569
+ "monitorare il traffico e le vendite dai tuoi link verso Amazon. Puoi anche "
570
+ "definire un elenco di ID affiliato validi (store id o tracking id). Ti "
571
+ "consigliamo di creare un nuovo tracking ID nel tuo account di affiliazione "
572
+ "Amazon al fine di utilizzarlo come ID affiliato nel plugin."
573
+
574
+ #: admin/sidebar/partials/aalb_about.php:134
575
+ msgid ""
576
+ "Set the default Amazon marketplace based on the Amazon Associates Program "
577
+ "for which you are registered (for example, if you’ve signed up for the "
578
+ "Amazon Associates Program in UK, then your default marketplace selection "
579
+ "should be UK) and select an appropriate template for rendering your ads."
580
+ msgstr ""
581
+ "Imposta il marketplace Amazon predefinito in base al Programma di "
582
+ "affiliazione Amazon in cui ti sei registrato (ad esempio, se ti sei "
583
+ "registrato al programma del Regno Unito, il tuo marketplace predefinito "
584
+ "dovrebbe essere il Regno Unito) e seleziona un modello adeguato per il "
585
+ "rendering degli annunci."
586
+
587
+ #: admin/sidebar/partials/aalb_about.php:138
588
+ msgid ""
589
+ "That's it! You’re all set to start adding Amazon affiliate links to your "
590
+ "posts using the Amazon Associates Link Builder plugin!"
591
+ msgstr ""
592
+ "È tutto! Ora sei pronto ad aggiungere i link di affiliazione Amazon ai tuoi "
593
+ "post utilizzando il plugin Amazon Associates Link Builder!"
594
+
595
+ #: admin/sidebar/partials/aalb_about.php:140
596
+ msgid "User Guide"
597
+ msgstr "Guida utente"
598
+
599
+ #. translators: 1: URL of Link Builder User Guide 2: _blank
600
+ #: admin/sidebar/partials/aalb_about.php:143
601
+ #, php-format
602
+ msgid ""
603
+ "Review <a href=%1s target=%2s >Link Builder User Guide</a> for more "
604
+ "information on getting started and key features of the plugin."
605
+ msgstr ""
606
+ "Consulta la <a href=%1s target=%2s >Guida utente al Link Builder</a> per "
607
+ "maggiori informazioni su come iniziare e le funzioni chiave del plugin."
608
+
609
+ #: admin/sidebar/partials/aalb_about.php:145
610
+ msgid "Support"
611
+ msgstr "Supporto"
612
+
613
+ #. translators: 1: URL of Plugin's Support Forum 2: _blank
614
+ #: admin/sidebar/partials/aalb_about.php:148
615
+ #, php-format
616
+ msgid ""
617
+ "If you get stuck, or have any questions, you can ask for help in the <a "
618
+ "href=%1s target=%2s>Amazon Associates Link Builder plugin forum</a>."
619
+ msgstr ""
620
+ "In caso di problemi o domande, puoi chiedere aiuto nel <a href=%1s "
621
+ "target=%2s>forum del plugin Amazon Associates Link Builder</a>."
622
+
623
+ #: admin/sidebar/partials/aalb_admin_ui_common.php:27
624
+ msgid "We <b>recommend</b> using HTTPs connection for improved security."
625
+ msgstr ""
626
+ "<b>Consigliamo</b> di utilizzare il collegamento HTTPs per una maggiore "
627
+ "sicurezza."
628
+
629
+ #: admin/sidebar/partials/aalb_credentials.php:36
630
+ msgid "Settings for Associates Link Builder"
631
+ msgstr "Impostazioni per l’Associates Link Builder"
632
+
633
+ #: admin/sidebar/partials/aalb_credentials.php:70
634
+ msgid "Site Wide Settings"
635
+ msgstr "Impostazioni per il sito"
636
+
637
+ #: admin/sidebar/partials/aalb_credentials.php:73
638
+ msgid "Default Template"
639
+ msgstr "Template predefinito"
640
+
641
+ #: admin/sidebar/partials/aalb_credentials.php:87
642
+ msgid ""
643
+ "The ad template that will be used for rendering the ad if no template is "
644
+ "specified in the short code."
645
+ msgstr ""
646
+ "Il template dell’annuncio utilizzato per il rendering dell’annuncio, se nel "
647
+ "codice breve non è specificato alcun template."
648
+
649
+ #. translators: %s: rel="noreferrer" attribute
650
+ #: admin/sidebar/partials/aalb_credentials.php:106
651
+ #, php-format
652
+ msgid "Remove %s for Amazon Affiliate Links from all posts"
653
+ msgstr "Rimuovi %s dai link di affiliazione Amazon di tutti i post"
654
+
655
+ #. translators: %s: rel="noreferrer" attribute
656
+ #: admin/sidebar/partials/aalb_credentials.php:110
657
+ #, php-format
658
+ msgid ""
659
+ "Selecting the checkbox will remove %s from Amazon links on all posts till "
660
+ "date. The action is reversible and you can revert by deselecting the checkbox"
661
+ msgstr ""
662
+ "Selezionando la casella di controllo %s viene rimosso dai link Amazon di "
663
+ "tutti i post fino a quella data. L’azione è reversibile, puoi infatti "
664
+ "ripristinarli deselezionando la casella di controllo"
665
+
666
+ #: admin/sidebar/partials/aalb_credentials.php:118
667
+ msgid "PA-API Credentials"
668
+ msgstr "Credenziali PA-API"
669
+
670
+ #: admin/sidebar/partials/aalb_credentials.php:121
671
+ msgid "Access Key ID"
672
+ msgstr "Access Key ID"
673
+
674
+ #. translators: 1: URL of Getting Started page 2: _blank
675
+ #: admin/sidebar/partials/aalb_credentials.php:128
676
+ #, php-format
677
+ msgid ""
678
+ "Your Access Key ID that you generated after signing up for the Amazon "
679
+ "Product Advertising API. If you have not already signed up for the Amazon "
680
+ "Product Advertising API, you can do so by following instructions listed <a "
681
+ "href=%1s target=%2s>here</a>."
682
+ msgstr ""
683
+ "Il tuo Access Key ID generato dopo la registrazione alla Amazon Product "
684
+ "Advertising API: Se non hai ancora effettuato la registrazione per la Amazon "
685
+ "Product Advertising API, puoi farlo seguendo le istruzioni elencate <a "
686
+ "href=%1s target=%2s>qui</a>."
687
+
688
+ #: admin/sidebar/partials/aalb_credentials.php:132
689
+ msgid "Secret Access Key"
690
+ msgstr "Secret Access Key"
691
+
692
+ #. translators: 1: URL of managing PA-API acccount page 2: _blank
693
+ #: admin/sidebar/partials/aalb_credentials.php:143
694
+ #, php-format
695
+ msgid ""
696
+ "A key that is used in conjunction with the Access Key ID to "
697
+ "cryptographically sign an API request. To retrieve your Access Key ID or "
698
+ "Secret Access Key, go to <a href=%1s target=%2s>Manage Your Account</a>. The "
699
+ "plugin uses a default encryption key for encrypting the Secret Key. You can "
700
+ "change the key using AALB_ENCRYPTION_KEY parameter defined in /aalb_config."
701
+ "php."
702
+ msgstr ""
703
+ "Una chiave utilizzata in combinazione con l’Access Key ID per firmare "
704
+ "crittograficamente una richiesta API. Per ritrovare la tua Access Key ID o "
705
+ "Secret Access Key, vai a <a href=%1s target=%2s>Il mio account</a>. Il "
706
+ "plugin utilizza una chiave di codifica predefinita per la codifica della "
707
+ "Secret Key. Puoi modificare la chiave utilizzando il parametro "
708
+ "AALB_ENCRYPTION_KEY definito in /aalb_config.php."
709
 
710
  #. translators: 1: URL of Condition of Use page 2: _blank
711
+ #: admin/sidebar/partials/aalb_credentials.php:153
712
+ #, php-format
713
+ msgid ""
714
+ "Check here to indicate that you have read and agree to the Amazon Associates "
715
+ "Link Builder <a href=%1s target=%2s>Conditions of Use</a>."
716
+ msgstr ""
717
+ "Clicca qui per confermare che hai letto e che acconsenti alle <a href=%1s "
718
+ "target=%2s>Condizioni d’uso</a> dell’Associates Link Builder di Amazon."
719
 
720
+ #: admin/sidebar/partials/aalb_credentials.php:155
721
+ msgid "Save Changes"
722
+ msgstr "Salva modifiche"
723
 
724
+ #. translators: %s for fileName
725
+ #: admin/sidebar/partials/aalb_templates.php:31
726
+ #, php-format
727
+ msgid "Save Failed. The existing file %s is not writable."
728
+ msgstr "Salvataggio non riuscito. Il file esistente %s non è scrivibile."
729
 
730
+ #. translators: %s for fileName
731
+ #: admin/sidebar/partials/aalb_templates.php:51
732
+ #, php-format
733
+ msgid "Save Failed. Error writing contents to file: %s"
734
+ msgstr "Salvataggio non riuscito. Errore di scrittura contenuti nel file: %s"
735
 
736
+ #: admin/sidebar/partials/aalb_templates.php:77
737
+ msgid "Template Saved Successfully"
738
+ msgstr "Template salvato correttamente"
 
739
 
740
+ #. translators: 1: Number of templates 2: Name of added templates
741
+ #: admin/sidebar/partials/aalb_templates.php:99
742
+ #, php-format
743
+ msgid "%1s template(s) added: %2s"
744
+ msgstr "%1s template aggiunti: %2s"
745
 
746
+ #. translators: 1: Number of templates 2: Name of deleted templates
747
+ #: admin/sidebar/partials/aalb_templates.php:103
748
+ #, php-format
749
+ msgid "%1s template(s) deleted: %2s"
750
+ msgstr "%1s template cancellati: %2s"
751
 
752
+ #: admin/sidebar/partials/aalb_templates.php:129
753
+ msgid "Please define the template name for the new template"
754
+ msgstr "Definisci il nome del template per il nuovo template"
 
755
 
756
+ #: admin/sidebar/partials/aalb_templates.php:132
757
+ msgid "Save Failed. Only alphanumeric characters allowed for template name."
758
+ msgstr ""
759
+ "Salvataggio non riuscito. Per il nome del template sono permessi caratteri "
760
+ "alfanumerici."
761
 
762
+ #. translators: %s: Path of upload directory
763
+ #: admin/sidebar/partials/aalb_templates.php:136
764
+ #, php-format
765
+ msgid ""
766
+ "Failed to create custom template. Please set up recursive Read-Write "
767
+ "permissions for %s"
768
+ msgstr ""
769
+ "Impossibile creare un template personalizzato. Configura i permessi "
770
+ "lettura/scrittura ricorrenti per %s"
771
 
772
+ #. translators: %s: Name of the template
773
+ #: admin/sidebar/partials/aalb_templates.php:141
774
+ #, php-format
775
+ msgid ""
776
+ "Save Failed. A template with the name %s already exists. Please specify some "
777
+ "other name for the template"
778
+ msgstr ""
779
+ "Salvataggio non riuscito. Un template denominato %s esiste già. Specifica un "
780
+ "altro nome per il template"
781
 
782
+ #: admin/sidebar/partials/aalb_templates.php:176
783
+ msgid "Successfully removed Template HTML"
784
+ msgstr "Template HTML rimosso correttamente"
 
785
 
786
+ #. translators: %s: Name of the template along with absolute file path
787
+ #: admin/sidebar/partials/aalb_templates.php:179
788
+ #, php-format
789
+ msgid "Couldn't remove Template HTML. Please manually remove %s"
790
+ msgstr "Impossibile rimuovere il template HTML. Rimuovi manualmente %s"
791
 
792
+ #: admin/sidebar/partials/aalb_templates.php:182
793
+ msgid "Successfully removed Template CSS"
794
+ msgstr "Template CSS rimosso correttamente"
795
 
796
+ #. translators: %s: Name of the template along with complete path
797
+ #: admin/sidebar/partials/aalb_templates.php:185
798
+ #, php-format
799
+ msgid "Couldn't remove Template CSS. Please manually remove %s"
800
+ msgstr "Impossibile rimuovere il template CSS. Rimuovi manualmente %s"
801
 
802
+ #: admin/sidebar/partials/aalb_templates.php:191
803
+ msgid "Couldn't remove Default Template"
804
+ msgstr "Impossibile rimuovere il template predefinito"
805
 
806
+ #: admin/sidebar/partials/aalb_templates.php:194
807
+ msgid "Cannot remove new template. Please select a valid template to remove."
808
+ msgstr ""
809
+ "Impossibile rimuovere il nuovo template. Seleziona un template valido per "
810
+ "rimuovere."
811
 
812
+ #: admin/sidebar/partials/aalb_templates.php:212
813
+ msgid "Templates for Associates Link Builder"
814
+ msgstr "Template per l’Associates Link Builder"
815
 
816
+ #: admin/sidebar/partials/aalb_templates.php:217
817
+ msgid "Select Template"
818
+ msgstr "Seleziona template"
819
 
820
+ #: admin/sidebar/partials/aalb_templates.php:221
821
+ msgid "Create new template"
822
+ msgstr "Crea nuovo template"
823
 
824
+ #: admin/sidebar/partials/aalb_templates.php:230
825
+ msgid "Clone"
826
+ msgstr "Clona"
 
827
 
828
+ #: admin/sidebar/partials/aalb_templates.php:235
829
+ msgid "Set a name for your template"
830
+ msgstr "Imposta un nome per il tuo template"
831
 
832
+ #: admin/sidebar/partials/aalb_templates.php:241
833
+ msgid "Guide for creating custom templates"
834
+ msgstr "Guida alla creazione di template personalizzati"
 
835
 
836
+ #: admin/sidebar/partials/aalb_templates.php:245
837
+ msgid "Add HTML for your template"
838
+ msgstr "Aggiungi HTML al tuo template"
 
839
 
840
+ #: admin/sidebar/partials/aalb_templates.php:251
841
+ msgid "Add CSS for your template"
842
+ msgstr "Aggiungi CSS al tuo template"
 
843
 
844
+ #: admin/sidebar/partials/aalb_templates.php:258
845
+ msgid "Save"
846
+ msgstr "Salva"
847
 
848
+ #: admin/sidebar/partials/aalb_templates.php:259
849
+ msgid "Remove"
850
+ msgstr "Rimuovi"
851
 
852
+ #. translators: %s: Information message
853
+ #: admin/sidebar/partials/aalb_ui_common.php:19
854
+ #, php-format
855
+ msgid "INFO - %s"
856
+ msgstr "INFO - %s"
857
 
858
+ #. translators: %s: Warning message
859
+ #: admin/sidebar/partials/aalb_ui_common.php:24
860
+ #, php-format
861
+ msgid "WARNING - %s"
862
+ msgstr "AVVERTENZA - %s"
863
 
864
+ #. translators: %s: Error message
865
+ #: admin/sidebar/partials/aalb_ui_common.php:29
866
+ #, php-format
867
+ msgid "ERROR - %s"
868
+ msgstr "ERRORE - %s"
869
 
870
+ #. translators: %s: Success message
871
+ #: admin/sidebar/partials/aalb_ui_common.php:34
872
+ #, php-format
873
+ msgid "SUCCESS - %s"
874
+ msgstr "RIUSCITA - %s"
875
 
876
+ #. translators: 1: URL of Associate sign-up page 2: _blank 3:URL of adding
877
+ #. secondary user page 4: _blank
878
+ #: lib/php/Paapi/aalb_paapi_helper.php:114
879
+ #, php-format
880
+ msgid ""
881
+ "Your AWS Access Key Id is not registered as an Amazon Associate. Please "
882
+ "verify that you are <a href=%1s target=%2s>registered as an Amazon "
883
+ "Associate</a> in respective locale and you added the email address "
884
+ "registered for the Product Advertising API as a <a href=%3s target=%4s>"
885
+ "secondary email address in your Amazon Associates account</a>."
886
+ msgstr ""
887
+ "Il tuo AWS Access Key ID non è registrato come affiliato Amazon. Verifica di "
888
+ "essere <a href=%1s target=%2s>registrato come affiliato Amazon</a> nel "
889
+ "rispettivo sito locale e di aver aggiunto l’indirizzo email registrato per "
890
+ "la Product Advertising API come <a href=%3s target=%4s>indirizzo email "
891
+ "secondario nel tuo account di affiliazione Amazon</a>."
892
 
893
+ #. translators: 1: URL of PA-API sign-up page 2: _blank
894
+ #: lib/php/Paapi/aalb_paapi_helper.php:117
895
+ #: lib/php/Paapi/aalb_paapi_helper.php:119
896
+ #, php-format
897
+ msgid ""
898
+ "Your AccessKey Id is not registered for Product Advertising API. Please sign "
899
+ "up for Product Advertising API by <a href=%1s target=%2s>following these "
900
+ "guidelines</a>."
901
+ msgstr ""
902
+ "Il tuo AccessKey ID non è registrato per la Product Advertising API. "
903
+ "Registrati per la Product Advertising API seguendo <a href=%1s target=%2s>"
904
+ "queste linee guida</a>."
905
 
906
+ #: lib/php/Paapi/aalb_paapi_helper.php:121
907
+ msgid "Internal server error"
908
+ msgstr "Errore interno del server"
909
 
910
+ #. translators: 1: URL of PA-API efficiency guidelines page 2: _blank
911
+ #: lib/php/Paapi/aalb_paapi_helper.php:124
912
+ #, php-format
913
+ msgid ""
914
+ "You are submitting requests too quickly. Please retry your requests at a "
915
+ "slower rate. For more information, see <a href=%1s target=%2s>Efficiency "
916
+ "Guidelines</a>."
917
+ msgstr ""
918
+ "Stai inviando richieste troppo rapidamente. Prova a inviare richieste con "
919
+ "meno frequenza. Per maggiori informazioni, vedi le <a href=%1s target=%2s>"
920
+ "Linee guida sull’efficienza</a>."
921
 
922
+ #. translators: %s: Email-id of the support
923
+ #: lib/php/Paapi/aalb_paapi_helper.php:127
924
+ #, php-format
925
+ msgid ""
926
+ "Request timed out. Try again after some time. Please check you network and "
927
+ "firewall settings. If the error still persists, write to us at %s."
928
+ msgstr ""
929
+ "Richiesta scaduta. Prova ancora più tardi. Controlla le impostazioni di rete "
930
+ "e del firewall. Se l’errore persiste, scrivi a %s."
931
+
932
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:57
933
+ msgid "Default Marketplace"
934
+ msgstr "Marketplace predefinito"
935
+
936
+ #: admin/sidebar/partials/helper/aalb_credentials_helper.php:59
937
+ msgid "Tracking Id(s)"
938
+ msgstr "Tracking Id(s)"
939
 
940
  #. Plugin Name of the plugin/theme
941
  msgid "Amazon Associates Link Builder"
942
  msgstr "Amazon Associates Link Builder"
943
+
944
+ #. Description of the plugin/theme
945
+ msgid ""
946
+ "Amazon Associates Link Builder is the official free Amazon Associates "
947
+ "Program plugin for WordPress. The plugin enables you to search for products "
948
+ "in the Amazon catalog, access real-time price and availability information, "
949
+ "and easily create links in your posts to products on Amazon.com. You will be "
950
+ "able to generate text links, create custom ad units, or take advantage of "
951
+ "out-of-the-box widgets that we’ve designed and included with the plugin."
952
+ msgstr ""
953
+ "L’Amazon Associates Link Builder è il plugin ufficiale gratuito per "
954
+ "WordPress del Programma di affiliazione Amazon. Il plugin consente di "
955
+ "cercare i prodotti nel catalogo Amazon, accedere alle informazioni su prezzi "
956
+ "e disponibilità in tempo reale e creare facilmente i link nei tuoi post ai "
957
+ "prodotti su Amazon. Potrai così creare link testuali, unità di annunci "
958
+ "personalizzati o trarre vantaggio dai widget pronti all’uso che abbiamo "
959
+ "disegnato e incluso nel plugin."
960
+
961
+ #. Author of the plugin/theme
962
+ msgid "Amazon Associates Program"
963
+ msgstr "Programma di affiliazione Amazon"
964
+
965
+ #. Author URI of the plugin/theme
966
+ msgid "https://affiliate-program.amazon.com/"
967
+ msgstr "https://affiliate-program.amazon.com/"
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: amazonlinkbuilder
3
  Tags: Amazon, Affiliate, Associates, Amazon Associates, Amazon Associate, Product Advertising API, Amazon API, Amazon Link, Amazon Ad, Amazon Affiliate, eCommerce
4
  Requires at least: 3.0.1
5
- Tested up to: 4.9.1
6
- Stable tag: 1.5.2
7
  Requires PHP: 5.4.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -116,12 +116,19 @@ You can see your earnings and other reports from the respective country Associat
116
 
117
  == Changelog ==
118
 
 
 
 
 
 
 
 
119
  = 1.5.2 - December 2, 2017 =
120
  * Fix: v1.5.1 not running for few associates.
121
 
122
  = 1.5.1 - December 1, 2017 =
123
  * Fix: v1.5.0 not running for few associates.
124
- * Minumum supported PHP version changed to 5.4.0 from 5.3.0.
125
 
126
  = 1.5.0 - November 29, 2017 =
127
  * Geo-targeted links that enables Amazon Associates to create content customized for and better monetize their international traffic. More details [here](https://amazon-affiliate.eu/en/about-the-programme/amazon-associates-link-builder/).
@@ -223,6 +230,9 @@ You can see your earnings and other reports from the respective country Associat
223
 
224
  == Upgrade Notice ==
225
 
 
 
 
226
  = 1.5.2 =
227
  Fixed issues in v1.5.1 that were not handled and returned PHP fatal error.
228
 
2
  Contributors: amazonlinkbuilder
3
  Tags: Amazon, Affiliate, Associates, Amazon Associates, Amazon Associate, Product Advertising API, Amazon API, Amazon Link, Amazon Ad, Amazon Affiliate, eCommerce
4
  Requires at least: 3.0.1
5
+ Tested up to: 4.9.2
6
+ Stable tag: 1.5.3
7
  Requires PHP: 5.4.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
116
 
117
  == Changelog ==
118
 
119
+ = 1.5.3 - January 24, 2018 =
120
+ * Fix: Plugin failed with a FATAL error on activation/update for users on PHP version below 5.4.0, instead of the expected graceful de-activation.
121
+ * Fix: Search button not working for few associates.
122
+ * Fix: Loading CSS & JS of jquery-ui only on pages required by plugin.
123
+ * Fix: Multi-tab not working for few associates.
124
+ * Fix: `Error in maxmind_db_manager:get_db:::WP_ERROR: Forbidden` in logs that prevents IP2country database downloads.
125
+
126
  = 1.5.2 - December 2, 2017 =
127
  * Fix: v1.5.1 not running for few associates.
128
 
129
  = 1.5.1 - December 1, 2017 =
130
  * Fix: v1.5.0 not running for few associates.
131
+ * Minimum supported PHP version changed to 5.4.0 from 5.3.0.
132
 
133
  = 1.5.0 - November 29, 2017 =
134
  * Geo-targeted links that enables Amazon Associates to create content customized for and better monetize their international traffic. More details [here](https://amazon-affiliate.eu/en/about-the-programme/amazon-associates-link-builder/).
230
 
231
  == Upgrade Notice ==
232
 
233
+ = 1.5.3 - January 23, 2018 =
234
+ Fixed Fatal error for users on PHP version <5.4.0 along with search-button, multi-tab issues faced by few associates.
235
+
236
  = 1.5.2 =
237
  Fixed issues in v1.5.1 that were not handled and returned PHP fatal error.
238
 
shortcode/aalb_shortcode_manager.php CHANGED
@@ -57,33 +57,40 @@ class Aalb_Shortcode_Manager {
57
  * @return HTML Rendered html to display.
58
  */
59
  public function render( $atts ) {
60
- $shortcode_attributes = $this->get_shortcode_attributes( $atts );
61
- $marketplace_list = explode( GEO_TARGETED_LINKS_DELIMITER, $shortcode_attributes['marketplace'] );
62
- //Below contains both asin & asins to support both amazon_text_link & amazon_link
63
- $asins_list = explode( GEO_TARGETED_LINKS_DELIMITER, $shortcode_attributes['asins'] ? $shortcode_attributes['asins'] : $shortcode_attributes['asin'] );
64
- $store_id_list = explode( GEO_TARGETED_LINKS_DELIMITER, $shortcode_attributes['store'] );
65
- if ( ( count( $marketplace_list ) === count( $asins_list ) ) && ( count( $asins_list ) === count( $store_id_list ) ) ) {
66
- if ( $this->is_shortcode_geo_targeted_links_supported( $marketplace_list ) ) {
67
- $marketplace = $this->find_marketplace_of_customer( $marketplace_list );
68
- $index_to_render = array_search( $marketplace, $marketplace_list );
69
- $index_to_render = $index_to_render === false ? 0 : $index_to_render;
70
- $link_code = $index_to_render === 0 ? AALB_GEO_TARGETED_LINKS_DEFAULT_COUNTRY_LINK_CODE : AALB_GEO_TARGETED_LINKS_REDIRECTED_COUNTRY_LINK_CODE;
 
 
 
 
 
 
 
71
  } else {
 
 
 
 
72
  $index_to_render = 0;
73
- $link_code = AALB_DEFAULT_LINK_CODE;
 
74
  }
75
 
76
- } else {
77
- //Render geo-targeted default country link-code as its safest bet to pick first marketplace. We can end up in showing wrong ASINs due to bigger mess in shortcode but still we will render some ads.
78
- if ( count( $asins_list ) === 0 ) {
79
- $asins_list = array( null );
80
- }
81
- $index_to_render = 0;
82
- $link_code = AALB_GEO_TARGETED_LINKS_DEFAULT_COUNTRY_LINK_CODE;
83
- $this->helper->show_error_in_preview( esc_html__( "There is an error in the count of configured marketplaces, asins and stores in this shortcode. Please fix the parameters for marketplace, asin and store-id.", 'amazon-associates-link-builder' ) );
84
  }
85
 
86
- return $this->render_shortcode( $shortcode_attributes, $marketplace_list[$index_to_render], $asins_list[$index_to_render], $store_id_list[$index_to_render], $link_code );
87
  }
88
 
89
  /**
@@ -170,7 +177,24 @@ class Aalb_Shortcode_Manager {
170
  */
171
  private function find_marketplace_of_customer( $marketplace_list ) {
172
  $country_code = $this->customer_country->get_country_iso_code();
 
173
  return in_array( $country_code, $marketplace_list ) ? $country_code : "";
174
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  }
 
176
  ?>
57
  * @return HTML Rendered html to display.
58
  */
59
  public function render( $atts ) {
60
+ try {
61
+ $shortcode_attributes = $this->get_shortcode_attributes( $atts );
62
+ $marketplace_list = explode( GEO_TARGETED_LINKS_DELIMITER, $shortcode_attributes['marketplace'] );
63
+ //Below contains both asin & asins to support both amazon_text_link & amazon_link
64
+ $asins_list = explode( GEO_TARGETED_LINKS_DELIMITER, $shortcode_attributes['asins'] ? $shortcode_attributes['asins'] : $shortcode_attributes['asin'] );
65
+ $store_id_list = explode( GEO_TARGETED_LINKS_DELIMITER, $shortcode_attributes['store'] );
66
+ if ( ( count( $marketplace_list ) === count( $asins_list ) ) && ( count( $asins_list ) === count( $store_id_list ) ) ) {
67
+ if ( $this->is_shortcode_geo_targeted_links_supported( $marketplace_list ) ) {
68
+ $marketplace = $this->find_marketplace_of_customer( $marketplace_list );
69
+ $index_to_render = array_search( $marketplace, $marketplace_list );
70
+ $index_to_render = $index_to_render === false ? 0 : $index_to_render;
71
+ $link_code = $index_to_render === 0 ? AALB_GEO_TARGETED_LINKS_DEFAULT_COUNTRY_LINK_CODE : AALB_GEO_TARGETED_LINKS_REDIRECTED_COUNTRY_LINK_CODE;
72
+ $this->show_error_message_for_maxmind_file();
73
+ } else {
74
+ $index_to_render = 0;
75
+ $link_code = AALB_DEFAULT_LINK_CODE;
76
+ }
77
+
78
  } else {
79
+ //Render geo-targeted default country link-code as its safest bet to pick first marketplace. We can end up in showing wrong ASINs due to bigger mess in shortcode but still we will render some ads.
80
+ if ( count( $asins_list ) === 0 ) {
81
+ $asins_list = array( null );
82
+ }
83
  $index_to_render = 0;
84
+ $link_code = AALB_GEO_TARGETED_LINKS_DEFAULT_COUNTRY_LINK_CODE;
85
+ $this->helper->show_error_in_preview( esc_html__( "There is an error in the count of configured marketplaces, asins and stores in this shortcode. Please fix the parameters for marketplace, asin and store-id.", 'amazon-associates-link-builder' ) );
86
  }
87
 
88
+ return $this->render_shortcode( $shortcode_attributes, $marketplace_list[$index_to_render], $asins_list[$index_to_render], $store_id_list[$index_to_render], $link_code );
89
+ } catch ( Exception $e ) {
90
+ error_log( "Aalb_Shortcode_Manager::render::Unknown error:" . $e->getMessage() );
91
+ $this->helper->show_error_in_preview( "Aalb_Shortcode_Manager::render::Unknown error:" . $e->getMessage() );
 
 
 
 
92
  }
93
 
 
94
  }
95
 
96
  /**
177
  */
178
  private function find_marketplace_of_customer( $marketplace_list ) {
179
  $country_code = $this->customer_country->get_country_iso_code();
180
+
181
  return in_array( $country_code, $marketplace_list ) ? $country_code : "";
182
  }
183
+
184
+ /**
185
+ * Show error message in preview & log in db
186
+ *
187
+ * @since 1.5.3
188
+ *
189
+ */
190
+ private function show_error_message_for_maxmind_file() {
191
+ $maxmind_db_manager = new Aalb_Maxmind_Db_Manager( get_option( AALB_CUSTOM_UPLOAD_PATH ), new Aalb_Curl_Request(), new Aalb_File_System_Helper() );
192
+ $error_msg = $maxmind_db_manager->get_error_message();
193
+ if ( ! empty( $error_msg ) ) {
194
+ $this->helper->show_error_in_preview( $error_msg );
195
+ error_log( $error_msg );
196
+ }
197
+ }
198
  }
199
+
200
  ?>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitff138ce8b625f263df0814ae0d927869::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitb96cf242fb66f1aa2b76f8a10591983e::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitff138ce8b625f263df0814ae0d927869
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitff138ce8b625f263df0814ae0d927869
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitff138ce8b625f263df0814ae0d927869', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitff138ce8b625f263df0814ae0d927869', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitff138ce8b625f263df0814ae0d927869::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitb96cf242fb66f1aa2b76f8a10591983e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitb96cf242fb66f1aa2b76f8a10591983e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitb96cf242fb66f1aa2b76f8a10591983e', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitb96cf242fb66f1aa2b76f8a10591983e::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitff138ce8b625f263df0814ae0d927869
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'M' =>
@@ -49,8 +49,8 @@ class ComposerStaticInitff138ce8b625f263df0814ae0d927869
49
  public static function getInitializer(ClassLoader $loader)
50
  {
51
  return \Closure::bind(function () use ($loader) {
52
- $loader->prefixLengthsPsr4 = ComposerStaticInitff138ce8b625f263df0814ae0d927869::$prefixLengthsPsr4;
53
- $loader->prefixDirsPsr4 = ComposerStaticInitff138ce8b625f263df0814ae0d927869::$prefixDirsPsr4;
54
 
55
  }, null, ClassLoader::class);
56
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitb96cf242fb66f1aa2b76f8a10591983e
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'M' =>
49
  public static function getInitializer(ClassLoader $loader)
50
  {
51
  return \Closure::bind(function () use ($loader) {
52
+ $loader->prefixLengthsPsr4 = ComposerStaticInitb96cf242fb66f1aa2b76f8a10591983e::$prefixLengthsPsr4;
53
+ $loader->prefixDirsPsr4 = ComposerStaticInitb96cf242fb66f1aa2b76f8a10591983e::$prefixDirsPsr4;
54
 
55
  }, null, ClassLoader::class);
56
  }