Advanced Ads - Version 1.10.10

Version Description

  • new ad block works with WordPress 5.0
  • show hint when shortcode or PHP options are enabled, but not needed
  • fixed long group pages not being saved
Download this release

Release Info

Developer webzunft
Plugin Icon 128x128 Advanced Ads
Version 1.10.10
Comparing to
See all releases

Code changes from version 1.10.9 to 1.10.10

admin/assets/js/admin.js CHANGED
@@ -228,7 +228,8 @@ jQuery( document ).ready(function ($) {
228
  advadsgroupformrow.show();
229
  var group_id = $( this ).parents( '.advads-group-row' ).find('.advads-group-id').val();
230
  $('#advads-last-edited-group').val( group_id );
231
-
 
232
  }
233
  });
234
  // display ad groups usage
@@ -914,3 +915,49 @@ advanced_ads_admin.filesystem = {
914
  }
915
  }
916
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  advadsgroupformrow.show();
229
  var group_id = $( this ).parents( '.advads-group-row' ).find('.advads-group-id').val();
230
  $('#advads-last-edited-group').val( group_id );
231
+ // remember that we opened that one
232
+ advadsgroupformrow.data('touched', true);
233
  }
234
  });
235
  // display ad groups usage
915
  }
916
  }
917
 
918
+ window.Advanced_Ads_Admin = window.Advanced_Ads_Admin || {
919
+ init_ad_source_editor: function(){
920
+
921
+ },
922
+ get_ad_source_editor_text: function(){
923
+ var text = undefined;
924
+ if (Advanced_Ads_Admin.editor){
925
+ if (Advanced_Ads_Admin.editor.codemirror){
926
+ text = Advanced_Ads_Admin.editor.codemirror.getValue();
927
+ }
928
+ }
929
+ if (! text){
930
+ var ta = jQuery('#advads-ad-content-plain');
931
+ if (ta) text = ta.val();
932
+ }
933
+ return text;
934
+ },
935
+ check_ad_source: function(){
936
+ var text = Advanced_Ads_Admin.get_ad_source_editor_text();
937
+ var enabled_php = $('#advads-parameters-php').prop('checked');
938
+ var enabled_sc = $('#advads-parameters-shortcodes').prop('checked');
939
+ if (enabled_php && ! /\<\?php/.test(text)){
940
+ jQuery('#advads-parameters-php-warning').show();
941
+ }
942
+ else{
943
+ jQuery('#advads-parameters-php-warning').hide();
944
+ }
945
+ if (enabled_sc && ! /\[[^\]]+\]/.test(text)){
946
+ jQuery('#advads-parameters-shortcodes-warning').show();
947
+ }
948
+ else{
949
+ jQuery('#advads-parameters-shortcodes-warning').hide();
950
+ }
951
+ },
952
+
953
+ submit_groups: function(){
954
+ var grouprows = jQuery( 'tr.advads-ad-group-form' );
955
+ jQuery( 'tr.advads-ad-group-form' ).each(function(k,v){
956
+ v = jQuery(v);
957
+ if (! v.data('touched')){
958
+ v.remove();
959
+ }
960
+ });
961
+ jQuery( '#advads-form-groups' ).submit();
962
+ }
963
+ };
admin/includes/class-ad-type.php CHANGED
@@ -539,13 +539,13 @@ class Advanced_Ads_Admin_Ad_Type {
539
  return;
540
  }
541
 
542
- wp_add_inline_script(
543
- 'code-editor',
544
- sprintf(
545
- 'jQuery( function() { if( jQuery( "#advads-ad-content-plain" ).length ){ wp.codeEditor.initialize( "advads-ad-content-plain", %s ); } } );',
546
- wp_json_encode( $settings )
547
- )
548
- );
549
  }
550
 
551
  /**
539
  return;
540
  }
541
 
542
+ wp_add_inline_script(
543
+ 'code-editor',
544
+ sprintf(
545
+ 'jQuery( function() { if( jQuery( "#advads-ad-content-plain" ).length ){ Advanced_Ads_Admin.editor = wp.codeEditor.initialize( "advads-ad-content-plain", %s ); Advanced_Ads_Admin.editor.codemirror.on("keyup", Advanced_Ads_Admin.check_ad_source); } } );',
546
+ wp_json_encode( $settings )
547
+ )
548
+ );
549
  }
550
 
551
  /**
admin/includes/class-notices.php CHANGED
@@ -369,6 +369,20 @@ class Advanced_Ads_Admin_Notices {
369
 
370
  if ( $this->notices === array() ) {
371
  return; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
 
373
  // load notices
374
  include ADVADS_BASE_PATH . '/admin/includes/notices.php';
369
 
370
  if ( $this->notices === array() ) {
371
  return; }
372
+
373
+ // register Black Friday 2018 deals
374
+ if( time() > 1542931200 &&
375
+ time() <= 1543320000 && Advanced_Ads_Admin::get_instance()->screen_belongs_to_advanced_ads() ){
376
+ $options = $this->options();
377
+ $closed = isset($options['closed']) ? $options['closed'] : array();
378
+
379
+ if( ! Advanced_Ads_Admin_Licenses::any_license_valid()
380
+ && ! isset( $closed['bf2018'] ) ){
381
+ $this->notices[] = 'bf2018';
382
+ } elseif ( ! isset( $closed['bf2018_2'] ) ){
383
+ $this->notices[] = 'bf2018_2';
384
+ }
385
+ }
386
 
387
  // load notices
388
  include ADVADS_BASE_PATH . '/admin/includes/notices.php';
admin/includes/notices.php CHANGED
@@ -62,6 +62,18 @@ $advanced_ads_admin_notices = apply_filters( 'advanced-ads-notices', array(
62
  'text' => sprintf( __('Some assets were changed. Please <strong>rebuild the asset folder</strong> in the <a href="%s">Advanced Ads settings</a> to update the ad blocker disguise.', 'advanced-ads' ), admin_url( 'admin.php?page=advanced-ads-settings' ) ),
63
  'global' => true
64
  ),
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  ));
67
 
62
  'text' => sprintf( __('Some assets were changed. Please <strong>rebuild the asset folder</strong> in the <a href="%s">Advanced Ads settings</a> to update the ad blocker disguise.', 'advanced-ads' ), admin_url( 'admin.php?page=advanced-ads-settings' ) ),
63
  'global' => true
64
  ),
65
+ // Black Friday 2018 promotion
66
+ 'bf2018' => array(
67
+ 'type' => 'info',
68
+ 'text' => sprintf( __('Our Black Friday / Cyber Monday Offer: <span style="font-weight: bold; font-size: 1.4em; color: green;">-30%%</span> on all add-ons and All Access.<a class="button button-primary" target="_blank" href="%s">Get All Access</a>', 'advanced-ads' ), ADVADS_URL . 'checkout/?edd_action=add_to_cart&download_id=95170&edd_options[price_id]=1&discount=BFCM2018#utm_source=advanced-ads&utm_medium=link&utm_campaign=bfcm-2018' ),
69
+ 'global' => true
70
+ ),
71
+ // Black Friday 2018 #2 promotion
72
+ 'bf2018_2' => array(
73
+ 'type' => 'info',
74
+ 'text' => sprintf( __('Our Black Friday / Cyber Monday Offer: <span style="font-weight: bold; font-size: 1.4em; color: green;">-30%%</span> on your upgrade.<a class="button button-primary" target="_blank" href="%s">Upgrade now</a>', 'advanced-ads' ), ADVADS_URL . 'manual/upgrade-to-larger-package/?discount=BFCM2018#utm_source=advanced-ads&utm_medium=link&utm_campaign=bfcm-2018-2' ),
75
+ 'global' => true
76
+ ),
77
 
78
  ));
79
 
admin/views/ad-group-list-form-row.php CHANGED
@@ -17,6 +17,7 @@ $hidden = ( isset( $_POST['advads-last-edited-group'] ) && $group->id === $_POST
17
  // group name.
18
  ob_start();
19
  ?>
 
20
  <input type="text" name="advads-groups[<?php echo $group->id; ?>][name]" value="<?php echo $group->name; ?>"/>
21
  <?php
22
  $option_content = ob_get_clean();
17
  // group name.
18
  ob_start();
19
  ?>
20
+ <input type="hidden" class="advads-group-id" name="advads-groups[<?php echo $group->id; ?>][id]" value="<?php echo absint( $group->id ); ?>"/>
21
  <input type="text" name="advads-groups[<?php echo $group->id; ?>][name]" value="<?php echo $group->name; ?>"/>
22
  <?php
23
  $option_content = ob_get_clean();
admin/views/ad-group-list-row.php CHANGED
@@ -12,7 +12,6 @@
12
 
13
  ?><tr class="advads-group-row">
14
  <td>
15
- <input type="hidden" class="advads-group-id" name="advads-groups[<?php echo $group->id; ?>][id]" value="<?php echo absint( $group->id ); ?>"/>
16
  <strong><a class="row-title" href="#"><?php echo $group->name; ?></a></strong>
17
  <p class="description"><?php echo $group->description; ?></p>
18
  <?php echo $this->render_action_links( $group ); ?>
12
 
13
  ?><tr class="advads-group-row">
14
  <td>
 
15
  <strong><a class="row-title" href="#"><?php echo $group->name; ?></a></strong>
16
  <p class="description"><?php echo $group->description; ?></p>
17
  <?php echo $this->render_action_links( $group ); ?>
admin/views/ad-group.php CHANGED
@@ -73,7 +73,7 @@ if ( isset( $_REQUEST['advads-group-update-nonce'] ) ) {
73
  <div id="col-container">
74
  <div class="col-wrap">
75
  <div class="tablenav top">
76
- <form class="search-form" action="" method="get">
77
  <!--input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>" /-->
78
  <input type="hidden" name="page" value="advanced-ads-groups" />
79
  <?php $wp_list_table->search_box( $tax->labels->search_items, 'tag' ); ?>
@@ -88,7 +88,7 @@ if ( isset( $_REQUEST['advads-group-update-nonce'] ) ) {
88
  </table>
89
  <input type="hidden" name="advads-last-edited-group" id="advads-last-edited-group" value="0"/>
90
  <div class="tablenav bottom">
91
- <?php submit_button( __( 'Update Groups', 'advanced-ads' ) ); ?>
92
  </div>
93
  </form>
94
  </div>
73
  <div id="col-container">
74
  <div class="col-wrap">
75
  <div class="tablenav top">
76
+ <form id="advads-form-groups" class="search-form" action="" method="get">
77
  <!--input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>" /-->
78
  <input type="hidden" name="page" value="advanced-ads-groups" />
79
  <?php $wp_list_table->search_box( $tax->labels->search_items, 'tag' ); ?>
88
  </table>
89
  <input type="hidden" name="advads-last-edited-group" id="advads-last-edited-group" value="0"/>
90
  <div class="tablenav bottom">
91
+ <button type="submit" class="button button-primary" onclick="Advanced_Ads_Admin.submit_groups();"><?php _e( 'Update Groups', 'advanced-ads' );?></button>
92
  </div>
93
  </form>
94
  </div>
advanced-ads.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: https://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
- * Version: 1.10.9
16
  * Author: Thomas Maier
17
  * Author URI: https://wpadvancedads.com
18
  * Text Domain: advanced-ads
@@ -39,7 +39,7 @@ define( 'ADVADS_BASE_DIR', dirname( ADVADS_BASE ) ); // directory of the plugin
39
  // general and global slug, e.g. to store options in WP
40
  define( 'ADVADS_SLUG', 'advanced-ads' );
41
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
42
- define( 'ADVADS_VERSION', '1.10.9' );
43
 
44
  /*----------------------------------------------------------------------------*
45
  * Autoloading, modules and functions
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: https://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
+ * Version: 1.10.10
16
  * Author: Thomas Maier
17
  * Author URI: https://wpadvancedads.com
18
  * Text Domain: advanced-ads
39
  // general and global slug, e.g. to store options in WP
40
  define( 'ADVADS_SLUG', 'advanced-ads' );
41
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
42
+ define( 'ADVADS_VERSION', '1.10.10' );
43
 
44
  /*----------------------------------------------------------------------------*
45
  * Autoloading, modules and functions
classes/ad_type_plain.php CHANGED
@@ -50,11 +50,12 @@ class Advanced_Ads_Ad_Type_Plain extends Advanced_Ads_Ad_Type_Abstract{
50
  $content = (isset($ad->content)) ? $ad->content : '';
51
 
52
  ?><p class="description"><?php _e( 'Insert plain text or code into this field.', 'advanced-ads' ); ?></p>
53
- <textarea id="advads-ad-content-plain" cols="40" rows="10" name="advanced_ad[content]"><?php echo esc_textarea( $content ); ?></textarea>
54
  <?php include ADVADS_BASE_PATH . 'admin/views/ad-info-after-textarea.php'; ?>
55
  <input type="hidden" name="advanced_ad[output][allow_php]" value="0"/>
56
  <?php $this->render_php_allow($ad);
57
  $this->render_shortcodes_allow( $ad );
 
58
  }
59
 
60
  /**
@@ -64,34 +65,33 @@ class Advanced_Ads_Ad_Type_Plain extends Advanced_Ads_Ad_Type_Abstract{
64
  */
65
  public function render_php_allow( $ad ){
66
 
67
- if( defined( 'ADVANCED_ADS_DISALLOW_PHP' ) ){
68
- return;
69
- }
70
-
71
- $content = (isset($ad->content)) ? $ad->content : '';
72
 
73
- // check if php is allowed
74
- if ( isset($ad->output['allow_php']) ){
75
- $allow_php = absint( $ad->output['allow_php'] );
76
- } else {
77
- /**
78
- * for compatibility for ads with php added prior to 1.3.18
79
- * check if there is php code in the content
80
- */
81
- if ( preg_match( '/\<\?php/', $content ) ){
82
- $allow_php = 1;
83
- } else {
84
- $allow_php = 0;
85
- }
86
- }
87
- ?>
 
 
88
  <label class="label" for="advads-parameters-php"><?php _e( 'Allow PHP', 'advanced-ads' ); ?></label>
89
  <div>
90
- <input id="advads-parameters-php" type="checkbox" name="advanced_ad[output][allow_php]" value="1" <?php checked( 1, $allow_php ); ?>/><?php _e( 'Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)', 'advanced-ads' );
91
- ?></div><hr/><?php
92
 
93
  }
94
-
95
  /**
96
  * Render allow shortcodes field.
97
  *
@@ -103,8 +103,8 @@ class Advanced_Ads_Ad_Type_Plain extends Advanced_Ads_Ad_Type_Abstract{
103
  <label class="label" for="advads-parameters-shortcodes"><?php _e( 'Allow shortcodes', 'advanced-ads' ); ?></label>
104
  <div>
105
  <input id="advads-parameters-shortcodes" type="checkbox" name="advanced_ad[output][allow_shortcodes]" value="1" <?php
106
- checked( 1, $allow_shortcodes ); ?>/><?php _e( 'Execute shortcodes', 'advanced-ads' );
107
- ?></div><hr/><?php
108
  }
109
 
110
  /**
50
  $content = (isset($ad->content)) ? $ad->content : '';
51
 
52
  ?><p class="description"><?php _e( 'Insert plain text or code into this field.', 'advanced-ads' ); ?></p>
53
+ <textarea id="advads-ad-content-plain" cols="40" rows="10" name="advanced_ad[content]" onkeyup="Advanced_Ads_Admin.check_ad_source();"><?php echo esc_textarea( $content ); ?></textarea>
54
  <?php include ADVADS_BASE_PATH . 'admin/views/ad-info-after-textarea.php'; ?>
55
  <input type="hidden" name="advanced_ad[output][allow_php]" value="0"/>
56
  <?php $this->render_php_allow($ad);
57
  $this->render_shortcodes_allow( $ad );
58
+ ?><script>jQuery( function() { Advanced_Ads_Admin.check_ad_source(); } );</script><?php
59
  }
60
 
61
  /**
65
  */
66
  public function render_php_allow( $ad ){
67
 
68
+ if( defined( 'ADVANCED_ADS_DISALLOW_PHP' ) ){
69
+ return;
70
+ }
 
 
71
 
72
+ $content = (isset($ad->content)) ? $ad->content : '';
73
+
74
+ // check if php is allowed
75
+ if ( isset($ad->output['allow_php']) ){
76
+ $allow_php = absint( $ad->output['allow_php'] );
77
+ } else {
78
+ /**
79
+ * for compatibility for ads with php added prior to 1.3.18
80
+ * check if there is php code in the content
81
+ */
82
+ if ( preg_match( '/\<\?php/', $content ) ){
83
+ $allow_php = 1;
84
+ } else {
85
+ $allow_php = 0;
86
+ }
87
+ }
88
+ ?>
89
  <label class="label" for="advads-parameters-php"><?php _e( 'Allow PHP', 'advanced-ads' ); ?></label>
90
  <div>
91
+ <input id="advads-parameters-php" type="checkbox" name="advanced_ad[output][allow_php]" value="1" <?php checked( 1, $allow_php ); ?> onChange="Advanced_Ads_Admin.check_ad_source();"/><?php _e( 'Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)', 'advanced-ads' );
92
+ ?><div class="advads-error-message" id="advads-parameters-php-warning" style="display:none;"><?php _e( 'No PHP tag detected in your code.', 'advanced-ads' );?> <?php _e( 'Uncheck this checkbox for improved performance.', 'advanced-ads' );?></div></div><hr/><?php
93
 
94
  }
 
95
  /**
96
  * Render allow shortcodes field.
97
  *
103
  <label class="label" for="advads-parameters-shortcodes"><?php _e( 'Allow shortcodes', 'advanced-ads' ); ?></label>
104
  <div>
105
  <input id="advads-parameters-shortcodes" type="checkbox" name="advanced_ad[output][allow_shortcodes]" value="1" <?php
106
+ checked( 1, $allow_shortcodes ); ?> onChange="Advanced_Ads_Admin.check_ad_source();"/><?php _e( 'Execute shortcodes', 'advanced-ads' );
107
+ ?><div class="advads-error-message" id="advads-parameters-shortcodes-warning" style="display:none;"><?php _e( 'No shortcode detected in your code.', 'advanced-ads' );?> <?php _e( 'Uncheck this checkbox for improved performance.', 'advanced-ads' );?></div></div><hr/><?php
108
  }
109
 
110
  /**
languages/advanced-ads.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Advanved Ads\n"
5
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
6
- "POT-Creation-Date: 2018-10-11 08:39+0000\n"
7
  "POT-Revision-Date: Wed Jul 13 2016 13:23:05 GMT+0200 (CEST)\n"
8
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
9
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
@@ -30,7 +30,7 @@ msgid "or"
30
  msgstr ""
31
 
32
  #: admin/class-advanced-ads-admin.php:221 classes/display-conditions.php:215
33
- #: classes/visitor-conditions.php:241 admin/views/ad-visitor-metabox.php:160
34
  msgid "and"
35
  msgstr ""
36
 
@@ -53,7 +53,7 @@ msgstr ""
53
  msgid "Add-Ons"
54
  msgstr ""
55
 
56
- #: admin/class-advanced-ads-admin.php:635
57
  #: admin/includes/class-overview-widgets.php:135
58
  #, php-format
59
  msgid ""
@@ -94,11 +94,11 @@ msgid "main query"
94
  msgstr ""
95
 
96
  #: classes/ad-debug.php:118 classes/ad-debug.php:167 classes/ad-debug.php:169
97
- #: public/class-advanced-ads.php:692 admin/views/ad-group-list-ads.php:13
98
  msgid "Ad"
99
  msgstr ""
100
 
101
- #: classes/ad-debug.php:121 public/class-advanced-ads.php:655
102
  msgctxt "ad group singular name"
103
  msgid "Ad Group"
104
  msgstr ""
@@ -146,7 +146,7 @@ msgstr ""
146
  msgid "Injected in Footer (before closing &lt;/body&gt; Tag)."
147
  msgstr ""
148
 
149
- #: classes/ad_placements.php:47 admin/views/placement-injection-top.php:51
150
  msgid "Before Content"
151
  msgstr ""
152
 
@@ -154,7 +154,7 @@ msgstr ""
154
  msgid "Injected before the post content."
155
  msgstr ""
156
 
157
- #: classes/ad_placements.php:53 admin/views/placement-injection-top.php:53
158
  msgid "After Content"
159
  msgstr ""
160
 
@@ -162,7 +162,7 @@ msgstr ""
162
  msgid "Injected after the post content."
163
  msgstr ""
164
 
165
- #: classes/ad_placements.php:59 admin/views/placement-injection-top.php:52
166
  msgid "Content"
167
  msgstr ""
168
 
@@ -303,14 +303,22 @@ msgstr ""
303
  msgid "Insert plain text or code into this field."
304
  msgstr ""
305
 
306
- #: classes/ad_type_plain.php:88
307
  msgid "Allow PHP"
308
  msgstr ""
309
 
310
- #: classes/ad_type_plain.php:90
311
  msgid "Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)"
312
  msgstr ""
313
 
 
 
 
 
 
 
 
 
314
  #: classes/ad_type_plain.php:103
315
  msgid "Allow shortcodes"
316
  msgstr ""
@@ -319,6 +327,10 @@ msgstr ""
319
  msgid "Execute shortcodes"
320
  msgstr ""
321
 
 
 
 
 
322
  #: classes/checks.php:263
323
  #, php-format
324
  msgid ""
@@ -601,21 +613,25 @@ msgstr ""
601
  msgid "highlight ads"
602
  msgstr ""
603
 
604
- #: classes/frontend_checks.php:330
 
 
 
 
605
  msgid "Ad Health"
606
  msgstr ""
607
 
608
- #: classes/frontend_checks.php:345
609
  msgid "Everything is fine"
610
  msgstr ""
611
 
612
- #: classes/frontend_checks.php:391
613
  msgid ""
614
  "the following code is used for automatic error detection and only visible to "
615
  "admins"
616
  msgstr ""
617
 
618
- #: classes/frontend_checks.php:549
619
  #, php-format
620
  msgid ""
621
  "This ad was automatically placed here by AdSense. <a href=\"%s\" "
@@ -696,10 +712,10 @@ msgstr ""
696
  msgid "Ad Groups"
697
  msgstr ""
698
 
699
- #: classes/widget.php:93 public/class-advanced-ads.php:691
700
  #: admin/includes/class-menu.php:62 admin/includes/class-menu.php:62
701
  #: admin/includes/class-shortcode-creator.php:84
702
- #: admin/views/ad-group-list-form-row.php:90
703
  #: admin/views/ad-group-list-header.php:17 admin/views/placements-item.php:16
704
  #: admin/views/placements.php:260
705
  #: modules/gutenberg/includes/class-gutenberg.php:79
@@ -733,70 +749,70 @@ msgstr ""
733
  msgid "Individual Posts, Pages and Public Post Types"
734
  msgstr ""
735
 
736
- #: public/class-advanced-ads.php:347
737
  msgid "Advanced Ads Error following:"
738
  msgstr ""
739
 
740
- #: public/class-advanced-ads.php:351
741
  #, php-format
742
  msgid "Advanced Ads Error: %s"
743
  msgstr ""
744
 
745
- #: public/class-advanced-ads.php:654
746
  msgctxt "ad group general name"
747
  msgid "Ad Groups & Rotations"
748
  msgstr ""
749
 
750
- #: public/class-advanced-ads.php:656
751
  msgid "Search Ad Groups"
752
  msgstr ""
753
 
754
- #: public/class-advanced-ads.php:657
755
  msgid "All Ad Groups"
756
  msgstr ""
757
 
758
- #: public/class-advanced-ads.php:658
759
  msgid "Parent Ad Groups"
760
  msgstr ""
761
 
762
- #: public/class-advanced-ads.php:659
763
  msgid "Parent Ad Groups:"
764
  msgstr ""
765
 
766
- #: public/class-advanced-ads.php:660
767
  msgid "Edit Ad Group"
768
  msgstr ""
769
 
770
- #: public/class-advanced-ads.php:661
771
  msgid "Update Ad Group"
772
  msgstr ""
773
 
774
- #: public/class-advanced-ads.php:662
775
  msgid "Add New Ad Group"
776
  msgstr ""
777
 
778
- #: public/class-advanced-ads.php:663
779
  msgid "New Ad Groups Name"
780
  msgstr ""
781
 
782
- #: public/class-advanced-ads.php:664 modules/import-export/views/page.php:24
783
  msgid "Groups"
784
  msgstr ""
785
 
786
- #: public/class-advanced-ads.php:665
787
  msgid "No Ad Group found"
788
  msgstr ""
789
 
790
- #: public/class-advanced-ads.php:693 public/class-advanced-ads.php:697
791
  #: admin/includes/class-menu.php:79 admin/views/ad-group-list-ads.php:28
792
  msgid "New Ad"
793
  msgstr ""
794
 
795
- #: public/class-advanced-ads.php:694 admin/includes/class-menu.php:79
796
  msgid "Add New Ad"
797
  msgstr ""
798
 
799
- #: public/class-advanced-ads.php:695
800
  #: admin/includes/class-ad-groups-list.php:313
801
  #: modules/import-export/classes/import.php:146
802
  #: modules/import-export/classes/import.php:186
@@ -804,35 +820,35 @@ msgstr ""
804
  msgid "Edit"
805
  msgstr ""
806
 
807
- #: public/class-advanced-ads.php:696
808
  msgid "Edit Ad"
809
  msgstr ""
810
 
811
- #: public/class-advanced-ads.php:698
812
  msgid "View"
813
  msgstr ""
814
 
815
- #: public/class-advanced-ads.php:699
816
  msgid "View the Ad"
817
  msgstr ""
818
 
819
- #: public/class-advanced-ads.php:700
820
  msgid "Search Ads"
821
  msgstr ""
822
 
823
- #: public/class-advanced-ads.php:701
824
  msgid "No Ads found"
825
  msgstr ""
826
 
827
- #: public/class-advanced-ads.php:702
828
  msgid "No Ads found in Trash"
829
  msgstr ""
830
 
831
- #: public/class-advanced-ads.php:703
832
  msgid "Parent Ad"
833
  msgstr ""
834
 
835
- #: public/class-advanced-ads.php:827
836
  msgctxt "label above ads"
837
  msgid "Advertisements"
838
  msgstr ""
@@ -1020,48 +1036,48 @@ msgstr ""
1020
  msgid "Please enter a valid license key"
1021
  msgstr ""
1022
 
1023
- #: admin/includes/class-licenses.php:149
1024
  msgid "License couldn’t be activated. Please try again later."
1025
  msgstr ""
1026
 
1027
- #: admin/includes/class-licenses.php:166
1028
  msgid "This is the bundle license key."
1029
  msgstr ""
1030
 
1031
- #: admin/includes/class-licenses.php:167
1032
  msgid "This is not the correct key for this add-on."
1033
  msgstr ""
1034
 
1035
- #: admin/includes/class-licenses.php:168
1036
  msgid "There are no activations left."
1037
  msgstr ""
1038
 
1039
- #: admin/includes/class-licenses.php:177
1040
  #, php-format
1041
  msgid "License is invalid. Reason: %s"
1042
  msgstr ""
1043
 
1044
- #: admin/includes/class-licenses.php:237
1045
  msgid "Error while trying to disable the license. Please contact support."
1046
  msgstr ""
1047
 
1048
- #: admin/includes/class-licenses.php:264 admin/includes/class-licenses.php:286
1049
  msgid "License couldn’t be deactivated. Please try again later."
1050
  msgstr ""
1051
 
1052
- #: admin/includes/class-licenses.php:272
1053
  #, php-format
1054
  msgid ""
1055
  "Your call was blocked by a Firewall. <a href=\"%s\" target=\"_blank\">Learn "
1056
  "more</a>"
1057
  msgstr ""
1058
 
1059
- #: admin/includes/class-licenses.php:493
1060
  #, php-format
1061
  msgid "Download failed. <a href=\"%s\">Click here to try another method</a>."
1062
  msgstr ""
1063
 
1064
- #: admin/includes/class-licenses.php:495
1065
  #, php-format
1066
  msgid ""
1067
  "Download failed. <a href=\"%s\" target=\"_blank\">Click here to learn why</a>"
@@ -1139,7 +1155,7 @@ msgstr ""
1139
 
1140
  #: admin/includes/class-meta-box.php:140 admin/includes/class-meta-box.php:151
1141
  #: admin/includes/class-meta-box.php:156 admin/includes/class-settings.php:519
1142
- #: admin/views/ad-output-metabox.php:109
1143
  #: modules/privacy/admin/views/setting-enable.php:2
1144
  msgid "Manual"
1145
  msgstr ""
@@ -1181,19 +1197,19 @@ msgstr ""
1181
  msgid "Advanced Ads Tutorials"
1182
  msgstr ""
1183
 
1184
- #: admin/includes/class-notices.php:464
1185
  #, php-format
1186
  msgid ""
1187
  "You don’t seem to have an email address. Please use <a href=\"%s\" "
1188
  "target=\"_blank\">this form</a> to sign up."
1189
  msgstr ""
1190
 
1191
- #: admin/includes/class-notices.php:482
1192
  msgid ""
1193
  "How embarrassing. The email server seems to be down. Please try again later."
1194
  msgstr ""
1195
 
1196
- #: admin/includes/class-notices.php:487
1197
  #, php-format
1198
  msgid ""
1199
  "Please check your email (%s) for the confirmation message. If you didn’t "
@@ -1683,6 +1699,23 @@ msgid ""
1683
  "disguise."
1684
  msgstr ""
1685
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1686
  #: admin/includes/shortcode-creator-l10n.php:10
1687
  msgctxt "shortcode creator"
1688
  msgid "Add an ad"
@@ -1799,22 +1832,22 @@ msgid "If you want to display the ad everywhere, don't do anything here. "
1799
  msgstr ""
1800
 
1801
  #: admin/views/ad-display-metabox.php:139
1802
- #: admin/views/ad-visitor-metabox.php:106
1803
  msgid "New condition"
1804
  msgstr ""
1805
 
1806
  #: admin/views/ad-display-metabox.php:142
1807
- #: admin/views/ad-visitor-metabox.php:109
1808
  msgid "-- choose a condition --"
1809
  msgstr ""
1810
 
1811
  #: admin/views/ad-display-metabox.php:149
1812
- #: admin/views/ad-visitor-metabox.php:118
1813
  msgid "Add-On features"
1814
  msgstr ""
1815
 
1816
  #: admin/views/ad-display-metabox.php:162 admin/views/ad-group-list-ads.php:37
1817
- #: admin/views/ad-visitor-metabox.php:131
1818
  msgid "add"
1819
  msgstr ""
1820
 
@@ -1832,21 +1865,21 @@ msgctxt "Taxonomy Slug"
1832
  msgid "Slug"
1833
  msgstr ""
1834
 
1835
- #: admin/views/ad-group-edit.php:56
1836
  msgid ""
1837
  "An id-like string with only letters in lower case, numbers, and hyphens."
1838
  msgstr ""
1839
 
1840
- #: admin/views/ad-group-edit.php:63
1841
  msgctxt "Taxonomy Description"
1842
  msgid "Description"
1843
  msgstr ""
1844
 
1845
- #: admin/views/ad-group-edit.php:75
1846
  msgid "Create new Ad Group"
1847
  msgstr ""
1848
 
1849
- #: admin/views/ad-group-edit.php:77
1850
  msgid "Update"
1851
  msgstr ""
1852
 
@@ -1854,28 +1887,28 @@ msgstr ""
1854
  msgid "weight"
1855
  msgstr ""
1856
 
1857
- #: admin/views/ad-group-list-form-row.php:26 admin/views/placements.php:32
1858
  #: modules/gadsense/admin/views/mapi-ad-selector.php:29
1859
  #: modules/gadsense/admin/views/mapi-ad-selector.php:41
1860
  #: modules/privacy/admin/views/setting-consent-method.php:9
1861
  msgid "Name"
1862
  msgstr ""
1863
 
1864
- #: admin/views/ad-group-list-form-row.php:55 admin/views/placements.php:31
1865
  #: modules/gadsense/admin/views/adsense-ad-parameters.php:108
1866
  msgid "Type"
1867
  msgstr ""
1868
 
1869
- #: admin/views/ad-group-list-form-row.php:71
1870
  msgctxt "option to display all ads in an ad groups"
1871
  msgid "all"
1872
  msgstr ""
1873
 
1874
- #: admin/views/ad-group-list-form-row.php:78
1875
  msgid "Visible ads"
1876
  msgstr ""
1877
 
1878
- #: admin/views/ad-group-list-form-row.php:80
1879
  msgid "Number of ads that are visible at the same time"
1880
  msgstr ""
1881
 
@@ -1883,28 +1916,28 @@ msgstr ""
1883
  msgid "Details"
1884
  msgstr ""
1885
 
1886
- #: admin/views/ad-group-list-row.php:20 admin/views/ad-info.php:3
1887
  #: admin/views/placements.php:92
1888
  msgid "shortcode"
1889
  msgstr ""
1890
 
1891
- #: admin/views/ad-group-list-row.php:23
1892
  msgid "template"
1893
  msgstr ""
1894
 
1895
- #: admin/views/ad-group-list-row.php:26
1896
  #, php-format
1897
  msgid ""
1898
  "Learn more about using groups in the <a href=\"%s\" target=\"_blank\">"
1899
  "manual</a>."
1900
  msgstr ""
1901
 
1902
- #: admin/views/ad-group-list-row.php:35
1903
  #, php-format
1904
  msgid "Type: %s"
1905
  msgstr ""
1906
 
1907
- #: admin/views/ad-group-list-row.php:40
1908
  #, php-format
1909
  msgid "ID: %s"
1910
  msgstr ""
@@ -2047,85 +2080,85 @@ msgstr ""
2047
  msgid "Position"
2048
  msgstr ""
2049
 
2050
- #: admin/views/ad-output-metabox.php:8
2051
  msgid "- default -"
2052
  msgstr ""
2053
 
2054
- #: admin/views/ad-output-metabox.php:15
2055
  #: admin/views/placements-ad-label-position.php:2
2056
- #: admin/views/placements-ad-label-position.php:7
2057
- #: admin/views/placements-ad-label.php:1 admin/views/placements-ad-label.php:6
2058
  #: admin/views/placements.php:74
2059
  msgid "default"
2060
  msgstr ""
2061
 
2062
- #: admin/views/ad-output-metabox.php:16
2063
- #: admin/views/placements-ad-label-position.php:9
2064
- #: admin/views/placements-ad-label-position.php:14
2065
  msgid "left"
2066
  msgstr ""
2067
 
2068
- #: admin/views/ad-output-metabox.php:23
2069
- #: admin/views/placements-ad-label-position.php:15
2070
- #: admin/views/placements-ad-label-position.php:20
2071
  msgid "center"
2072
  msgstr ""
2073
 
2074
- #: admin/views/ad-output-metabox.php:30
2075
- #: admin/views/placements-ad-label-position.php:21
2076
- #: admin/views/placements-ad-label-position.php:26
2077
  msgid "right"
2078
  msgstr ""
2079
 
2080
- #: admin/views/ad-output-metabox.php:44
2081
  msgid ""
2082
  "Check this if you don't want the following elements to float around the ad. "
2083
  "(adds a clearfix)"
2084
  msgstr ""
2085
 
2086
- #: admin/views/ad-output-metabox.php:49
2087
  msgid "Margin"
2088
  msgstr ""
2089
 
2090
- #: admin/views/ad-output-metabox.php:51
2091
  msgid "top:"
2092
  msgstr ""
2093
 
2094
- #: admin/views/ad-output-metabox.php:57
2095
  msgid "right:"
2096
  msgstr ""
2097
 
2098
- #: admin/views/ad-output-metabox.php:63
2099
  msgid "bottom:"
2100
  msgstr ""
2101
 
2102
- #: admin/views/ad-output-metabox.php:69
2103
  msgid "left:"
2104
  msgstr ""
2105
 
2106
- #: admin/views/ad-output-metabox.php:75
2107
  msgid "tip: use this to add a margin around the ad"
2108
  msgstr ""
2109
 
2110
- #: admin/views/ad-output-metabox.php:78
2111
  msgid "container ID"
2112
  msgstr ""
2113
 
2114
- #: admin/views/ad-output-metabox.php:86
2115
  msgid "Specify the id of the ad container. Leave blank for random or no id."
2116
  msgstr ""
2117
 
2118
- #: admin/views/ad-output-metabox.php:89
2119
  msgid "container classes"
2120
  msgstr ""
2121
 
2122
- #: admin/views/ad-output-metabox.php:97
2123
  msgid ""
2124
  "Specify one or more classes for the container. Separate multiple classes "
2125
  "with a space"
2126
  msgstr ""
2127
 
2128
- #: admin/views/ad-output-metabox.php:100
2129
  msgid "Enable debug mode"
2130
  msgstr ""
2131
 
@@ -2141,41 +2174,41 @@ msgstr ""
2141
  msgid "height"
2142
  msgstr ""
2143
 
2144
- #: admin/views/ad-parameters-size.php:14
2145
  msgid "reserve this space"
2146
  msgstr ""
2147
 
2148
- #: admin/views/ad-submitbox-meta.php:6
2149
  msgid "Set expiry date"
2150
  msgstr ""
2151
 
2152
- #: admin/views/ad-submitbox-meta.php:16
2153
  msgid "Month"
2154
  msgstr ""
2155
 
2156
- #: admin/views/ad-submitbox-meta.php:21
2157
  #, php-format
2158
  msgctxt "1: month number (01, 02, etc.), 2: month abbreviation"
2159
  msgid "%1$s-%2$s"
2160
  msgstr ""
2161
 
2162
- #: admin/views/ad-submitbox-meta.php:27
2163
  msgid "Day"
2164
  msgstr ""
2165
 
2166
- #: admin/views/ad-submitbox-meta.php:28
2167
  msgid "Year"
2168
  msgstr ""
2169
 
2170
- #: admin/views/ad-submitbox-meta.php:29
2171
  msgid "Hour"
2172
  msgstr ""
2173
 
2174
- #: admin/views/ad-submitbox-meta.php:30
2175
  msgid "Minute"
2176
  msgstr ""
2177
 
2178
- #: admin/views/ad-submitbox-meta.php:35
2179
  #, php-format
2180
  msgctxt ""
2181
  "order of expiry date fields 1: month, 2: day, 3: year, 4: hour, 5: minute"
@@ -2241,46 +2274,46 @@ msgid ""
2241
  "websites."
2242
  msgstr ""
2243
 
2244
- #: admin/views/ad-visitor-metabox.php:89
2245
  msgid ""
2246
  "Visitor conditions limit the number of users who can see your ad. There is "
2247
  "no need to set visitor conditions if you want all users to see the ad."
2248
  msgstr ""
2249
 
2250
- #: admin/views/ad-visitor-metabox.php:93
2251
  #: modules/privacy/admin/views/setting-enable.php:4
2252
  msgid "It seems that a caching plugin is activated."
2253
  msgstr ""
2254
 
2255
- #: admin/views/ad-visitor-metabox.php:95
2256
  #, php-format
2257
  msgid ""
2258
  "Check out cache-busting in <a href=\"%s\" target=\"_blank\">Advanced Ads "
2259
  "Pro</a> if dynamic features get cached."
2260
  msgstr ""
2261
 
2262
- #: admin/views/ad-visitor-metabox.php:136
2263
  #, php-format
2264
  msgid ""
2265
  "Define the exact browser width for which an ad should be visible using the "
2266
  "<a href=\"%s\" target=\"_blank\">Responsive add-on</a>."
2267
  msgstr ""
2268
 
2269
- #: admin/views/ad-visitor-metabox.php:187
2270
  msgid ""
2271
  "The visitor conditions below are deprecated. Please use the new version of "
2272
  "visitor conditions to replace it."
2273
  msgstr ""
2274
 
2275
- #: admin/views/ad-visitor-metabox.php:193
2276
  msgid "Display on all devices"
2277
  msgstr ""
2278
 
2279
- #: admin/views/ad-visitor-metabox.php:197
2280
  msgid "only on mobile devices"
2281
  msgstr ""
2282
 
2283
- #: admin/views/ad-visitor-metabox.php:201
2284
  msgid "not on mobile devices"
2285
  msgstr ""
2286
 
@@ -2506,83 +2539,83 @@ msgstr ""
2506
 
2507
  #. this is a label in a button when a user uses an AdSense Auto ads code in a plain code field
2508
  #. the button has barely space for the original English text, so keep it short
2509
- #: admin/views/placement-injection-top.php:44
2510
  msgid "inject Auto ads"
2511
  msgstr ""
2512
 
2513
- #: admin/views/placement-injection-top.php:50
2514
  msgid "New placement"
2515
  msgstr ""
2516
 
2517
- #: admin/views/placement-injection-top.php:54
2518
  msgid "PHP or Shortcode"
2519
  msgstr ""
2520
 
2521
- #: admin/views/placement-injection-top.php:55
2522
  msgid "Manage Sidebar"
2523
  msgstr ""
2524
 
2525
- #: admin/views/placement-injection-top.php:56
2526
  msgid "Header (Manual)"
2527
  msgstr ""
2528
 
2529
- #: admin/views/placement-injection-top.php:60
2530
- #: admin/views/placement-injection-top.php:64
2531
  msgid "Custom Position"
2532
  msgstr ""
2533
 
2534
- #: admin/views/placement-injection-top.php:60
2535
  msgid "Show Pro Places"
2536
  msgstr ""
2537
 
2538
- #: admin/views/placement-injection-top.php:69
2539
  msgid "AdSense In-feed"
2540
  msgstr ""
2541
 
2542
- #: admin/views/placement-injection-top.php:75
2543
  msgid "Show Sticky Places"
2544
  msgstr ""
2545
 
2546
- #: admin/views/placement-injection-top.php:81
2547
  msgid "Show PopUp"
2548
  msgstr ""
2549
 
2550
- #: admin/views/placement-injection-top.php:85
2551
  msgid "PopUp & Layer"
2552
  msgstr ""
2553
 
2554
- #: admin/views/placement-injection-top.php:90
2555
  msgid "see all…"
2556
  msgstr ""
2557
 
2558
- #: admin/views/placement-injection-top.php:122
2559
  msgid "Existing placement"
2560
  msgstr ""
2561
 
2562
- #: admin/views/placement-injection-top.php:127
2563
  #, php-format
2564
  msgid "Or use the shortcode %s to insert the ad into the content manually."
2565
  msgstr ""
2566
 
2567
- #: admin/views/placement-injection-top.php:128
2568
  #, php-format
2569
  msgid ""
2570
  "Learn more about your choices to display an ad in the <a href=\"%s\" "
2571
  "target=\"_blank\">manual</a>."
2572
  msgstr ""
2573
 
2574
- #: admin/views/placements-ad-label-position.php:34
2575
  msgid ""
2576
  "Check this if you don't want the following elements to float around the ad. "
2577
  "(adds a placement_clearfix)"
2578
  msgstr ""
2579
 
2580
- #: admin/views/placements-ad-label.php:8 admin/views/placements-ad-label.php:13
2581
  msgid "enabled"
2582
  msgstr ""
2583
 
2584
- #: admin/views/placements-ad-label.php:15
2585
- #: admin/views/placements-ad-label.php:20
2586
  msgid "disabled"
2587
  msgstr ""
2588
 
@@ -2594,7 +2627,7 @@ msgstr ""
2594
  msgid "before"
2595
  msgstr ""
2596
 
2597
- #: admin/views/placements-content-index.php:39
2598
  msgid "start counting from bottom"
2599
  msgstr ""
2600
 
@@ -2764,7 +2797,7 @@ msgstr ""
2764
  msgid "(%d days left)"
2765
  msgstr ""
2766
 
2767
- #: admin/views/setting-license.php:33
2768
  msgid "License key"
2769
  msgstr ""
2770
 
@@ -2784,51 +2817,51 @@ msgstr ""
2784
  msgid "License key invalid"
2785
  msgstr ""
2786
 
2787
- #: admin/views/setting-license.php:69
2788
  msgid "active"
2789
  msgstr ""
2790
 
2791
- #: admin/views/setting-target.php:6
2792
  msgid ""
2793
  "Open programatically created links in a new window (use <code>"
2794
  "target=\"_blank\"</code>)"
2795
  msgstr ""
2796
 
2797
- #: admin/views/settings-disable-ads.php:6
2798
  msgid "Disable all ads in frontend"
2799
  msgstr ""
2800
 
2801
- #: admin/views/settings-disable-ads.php:7
2802
  msgid ""
2803
  "Use this option to disable all ads in the frontend, but still be able to use "
2804
  "the plugin."
2805
  msgstr ""
2806
 
2807
- #: admin/views/settings-disable-ads.php:17
2808
  msgid "Disable ads on 404 error pages"
2809
  msgstr ""
2810
 
2811
- #: admin/views/settings-disable-ads.php:27
2812
  msgid "Disable ads on non-singular pages"
2813
  msgstr ""
2814
 
2815
- #: admin/views/settings-disable-ads.php:28
2816
  msgid ""
2817
  "e.g. archive pages like categories, tags, authors, front page (if a list)"
2818
  msgstr ""
2819
 
2820
- #: admin/views/settings-disable-ads.php:37
2821
  msgid "Disable ads on secondary queries"
2822
  msgstr ""
2823
 
2824
- #: admin/views/settings-disable-ads.php:38
2825
  msgid ""
2826
  "Secondary queries are custom queries of posts outside the main query of a "
2827
  "page. Try this option if you see ads injected on places where they shouldn’t "
2828
  "appear."
2829
  msgstr ""
2830
 
2831
- #: admin/views/settings-disable-ads.php:48
2832
  msgid "Disable ads in Feed"
2833
  msgstr ""
2834
 
3
  msgstr ""
4
  "Project-Id-Version: Advanved Ads\n"
5
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
6
+ "POT-Creation-Date: 2018-11-22 10:21+0000\n"
7
  "POT-Revision-Date: Wed Jul 13 2016 13:23:05 GMT+0200 (CEST)\n"
8
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
9
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
30
  msgstr ""
31
 
32
  #: admin/class-advanced-ads-admin.php:221 classes/display-conditions.php:215
33
+ #: classes/visitor-conditions.php:241 admin/views/ad-visitor-metabox.php:155
34
  msgid "and"
35
  msgstr ""
36
 
53
  msgid "Add-Ons"
54
  msgstr ""
55
 
56
+ #: admin/class-advanced-ads-admin.php:645
57
  #: admin/includes/class-overview-widgets.php:135
58
  #, php-format
59
  msgid ""
94
  msgstr ""
95
 
96
  #: classes/ad-debug.php:118 classes/ad-debug.php:167 classes/ad-debug.php:169
97
+ #: public/class-advanced-ads.php:695 admin/views/ad-group-list-ads.php:13
98
  msgid "Ad"
99
  msgstr ""
100
 
101
+ #: classes/ad-debug.php:121 public/class-advanced-ads.php:658
102
  msgctxt "ad group singular name"
103
  msgid "Ad Group"
104
  msgstr ""
146
  msgid "Injected in Footer (before closing &lt;/body&gt; Tag)."
147
  msgstr ""
148
 
149
+ #: classes/ad_placements.php:47 admin/views/placement-injection-top.php:49
150
  msgid "Before Content"
151
  msgstr ""
152
 
154
  msgid "Injected before the post content."
155
  msgstr ""
156
 
157
+ #: classes/ad_placements.php:53 admin/views/placement-injection-top.php:51
158
  msgid "After Content"
159
  msgstr ""
160
 
162
  msgid "Injected after the post content."
163
  msgstr ""
164
 
165
+ #: classes/ad_placements.php:59 admin/views/placement-injection-top.php:50
166
  msgid "Content"
167
  msgstr ""
168
 
303
  msgid "Insert plain text or code into this field."
304
  msgstr ""
305
 
306
+ #: classes/ad_type_plain.php:89
307
  msgid "Allow PHP"
308
  msgstr ""
309
 
310
+ #: classes/ad_type_plain.php:91
311
  msgid "Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)"
312
  msgstr ""
313
 
314
+ #: classes/ad_type_plain.php:92
315
+ msgid "No PHP tag detected in your code."
316
+ msgstr ""
317
+
318
+ #: classes/ad_type_plain.php:92 classes/ad_type_plain.php:107
319
+ msgid "Uncheck this checkbox for improved performance."
320
+ msgstr ""
321
+
322
  #: classes/ad_type_plain.php:103
323
  msgid "Allow shortcodes"
324
  msgstr ""
327
  msgid "Execute shortcodes"
328
  msgstr ""
329
 
330
+ #: classes/ad_type_plain.php:107
331
+ msgid "No shortcode detected in your code."
332
+ msgstr ""
333
+
334
  #: classes/checks.php:263
335
  #, php-format
336
  msgid ""
613
  msgid "highlight ads"
614
  msgstr ""
615
 
616
+ #: classes/frontend_checks.php:321
617
+ msgid "Auto ads code found"
618
+ msgstr ""
619
+
620
+ #: classes/frontend_checks.php:342
621
  msgid "Ad Health"
622
  msgstr ""
623
 
624
+ #: classes/frontend_checks.php:357
625
  msgid "Everything is fine"
626
  msgstr ""
627
 
628
+ #: classes/frontend_checks.php:403
629
  msgid ""
630
  "the following code is used for automatic error detection and only visible to "
631
  "admins"
632
  msgstr ""
633
 
634
+ #: classes/frontend_checks.php:562
635
  #, php-format
636
  msgid ""
637
  "This ad was automatically placed here by AdSense. <a href=\"%s\" "
712
  msgid "Ad Groups"
713
  msgstr ""
714
 
715
+ #: classes/widget.php:93 public/class-advanced-ads.php:694
716
  #: admin/includes/class-menu.php:62 admin/includes/class-menu.php:62
717
  #: admin/includes/class-shortcode-creator.php:84
718
+ #: admin/views/ad-group-list-form-row.php:88
719
  #: admin/views/ad-group-list-header.php:17 admin/views/placements-item.php:16
720
  #: admin/views/placements.php:260
721
  #: modules/gutenberg/includes/class-gutenberg.php:79
749
  msgid "Individual Posts, Pages and Public Post Types"
750
  msgstr ""
751
 
752
+ #: public/class-advanced-ads.php:350
753
  msgid "Advanced Ads Error following:"
754
  msgstr ""
755
 
756
+ #: public/class-advanced-ads.php:354
757
  #, php-format
758
  msgid "Advanced Ads Error: %s"
759
  msgstr ""
760
 
761
+ #: public/class-advanced-ads.php:657
762
  msgctxt "ad group general name"
763
  msgid "Ad Groups & Rotations"
764
  msgstr ""
765
 
766
+ #: public/class-advanced-ads.php:659
767
  msgid "Search Ad Groups"
768
  msgstr ""
769
 
770
+ #: public/class-advanced-ads.php:660
771
  msgid "All Ad Groups"
772
  msgstr ""
773
 
774
+ #: public/class-advanced-ads.php:661
775
  msgid "Parent Ad Groups"
776
  msgstr ""
777
 
778
+ #: public/class-advanced-ads.php:662
779
  msgid "Parent Ad Groups:"
780
  msgstr ""
781
 
782
+ #: public/class-advanced-ads.php:663
783
  msgid "Edit Ad Group"
784
  msgstr ""
785
 
786
+ #: public/class-advanced-ads.php:664
787
  msgid "Update Ad Group"
788
  msgstr ""
789
 
790
+ #: public/class-advanced-ads.php:665
791
  msgid "Add New Ad Group"
792
  msgstr ""
793
 
794
+ #: public/class-advanced-ads.php:666
795
  msgid "New Ad Groups Name"
796
  msgstr ""
797
 
798
+ #: public/class-advanced-ads.php:667 modules/import-export/views/page.php:24
799
  msgid "Groups"
800
  msgstr ""
801
 
802
+ #: public/class-advanced-ads.php:668
803
  msgid "No Ad Group found"
804
  msgstr ""
805
 
806
+ #: public/class-advanced-ads.php:696 public/class-advanced-ads.php:700
807
  #: admin/includes/class-menu.php:79 admin/views/ad-group-list-ads.php:28
808
  msgid "New Ad"
809
  msgstr ""
810
 
811
+ #: public/class-advanced-ads.php:697 admin/includes/class-menu.php:79
812
  msgid "Add New Ad"
813
  msgstr ""
814
 
815
+ #: public/class-advanced-ads.php:698
816
  #: admin/includes/class-ad-groups-list.php:313
817
  #: modules/import-export/classes/import.php:146
818
  #: modules/import-export/classes/import.php:186
820
  msgid "Edit"
821
  msgstr ""
822
 
823
+ #: public/class-advanced-ads.php:699
824
  msgid "Edit Ad"
825
  msgstr ""
826
 
827
+ #: public/class-advanced-ads.php:701
828
  msgid "View"
829
  msgstr ""
830
 
831
+ #: public/class-advanced-ads.php:702
832
  msgid "View the Ad"
833
  msgstr ""
834
 
835
+ #: public/class-advanced-ads.php:703
836
  msgid "Search Ads"
837
  msgstr ""
838
 
839
+ #: public/class-advanced-ads.php:704
840
  msgid "No Ads found"
841
  msgstr ""
842
 
843
+ #: public/class-advanced-ads.php:705
844
  msgid "No Ads found in Trash"
845
  msgstr ""
846
 
847
+ #: public/class-advanced-ads.php:706
848
  msgid "Parent Ad"
849
  msgstr ""
850
 
851
+ #: public/class-advanced-ads.php:850
852
  msgctxt "label above ads"
853
  msgid "Advertisements"
854
  msgstr ""
1036
  msgid "Please enter a valid license key"
1037
  msgstr ""
1038
 
1039
+ #: admin/includes/class-licenses.php:154
1040
  msgid "License couldn’t be activated. Please try again later."
1041
  msgstr ""
1042
 
1043
+ #: admin/includes/class-licenses.php:171
1044
  msgid "This is the bundle license key."
1045
  msgstr ""
1046
 
1047
+ #: admin/includes/class-licenses.php:172
1048
  msgid "This is not the correct key for this add-on."
1049
  msgstr ""
1050
 
1051
+ #: admin/includes/class-licenses.php:173
1052
  msgid "There are no activations left."
1053
  msgstr ""
1054
 
1055
+ #: admin/includes/class-licenses.php:182
1056
  #, php-format
1057
  msgid "License is invalid. Reason: %s"
1058
  msgstr ""
1059
 
1060
+ #: admin/includes/class-licenses.php:242
1061
  msgid "Error while trying to disable the license. Please contact support."
1062
  msgstr ""
1063
 
1064
+ #: admin/includes/class-licenses.php:274 admin/includes/class-licenses.php:296
1065
  msgid "License couldn’t be deactivated. Please try again later."
1066
  msgstr ""
1067
 
1068
+ #: admin/includes/class-licenses.php:282
1069
  #, php-format
1070
  msgid ""
1071
  "Your call was blocked by a Firewall. <a href=\"%s\" target=\"_blank\">Learn "
1072
  "more</a>"
1073
  msgstr ""
1074
 
1075
+ #: admin/includes/class-licenses.php:503
1076
  #, php-format
1077
  msgid "Download failed. <a href=\"%s\">Click here to try another method</a>."
1078
  msgstr ""
1079
 
1080
+ #: admin/includes/class-licenses.php:505
1081
  #, php-format
1082
  msgid ""
1083
  "Download failed. <a href=\"%s\" target=\"_blank\">Click here to learn why</a>"
1155
 
1156
  #: admin/includes/class-meta-box.php:140 admin/includes/class-meta-box.php:151
1157
  #: admin/includes/class-meta-box.php:156 admin/includes/class-settings.php:519
1158
+ #: admin/views/ad-output-metabox.php:81
1159
  #: modules/privacy/admin/views/setting-enable.php:2
1160
  msgid "Manual"
1161
  msgstr ""
1197
  msgid "Advanced Ads Tutorials"
1198
  msgstr ""
1199
 
1200
+ #: admin/includes/class-notices.php:478
1201
  #, php-format
1202
  msgid ""
1203
  "You don’t seem to have an email address. Please use <a href=\"%s\" "
1204
  "target=\"_blank\">this form</a> to sign up."
1205
  msgstr ""
1206
 
1207
+ #: admin/includes/class-notices.php:496
1208
  msgid ""
1209
  "How embarrassing. The email server seems to be down. Please try again later."
1210
  msgstr ""
1211
 
1212
+ #: admin/includes/class-notices.php:501
1213
  #, php-format
1214
  msgid ""
1215
  "Please check your email (%s) for the confirmation message. If you didn’t "
1699
  "disguise."
1700
  msgstr ""
1701
 
1702
+ #: admin/includes/notices.php:68
1703
+ #, php-format
1704
+ msgid ""
1705
+ "Our Black Friday / Cyber Monday Offer: <span style=\"font-weight: bold; font-"
1706
+ "size: 1.4em; color: green;\">-30%%</span> on all add-ons and All Access.<a "
1707
+ "class=\"button button-primary\" target=\"_blank\" href=\"%s\">Get All "
1708
+ "Access</a>"
1709
+ msgstr ""
1710
+
1711
+ #: admin/includes/notices.php:74
1712
+ #, php-format
1713
+ msgid ""
1714
+ "Our Black Friday / Cyber Monday Offer: <span style=\"font-weight: bold; font-"
1715
+ "size: 1.4em; color: green;\">-30%%</span> on your upgrade.<a class=\"button "
1716
+ "button-primary\" target=\"_blank\" href=\"%s\">Upgrade now</a>"
1717
+ msgstr ""
1718
+
1719
  #: admin/includes/shortcode-creator-l10n.php:10
1720
  msgctxt "shortcode creator"
1721
  msgid "Add an ad"
1832
  msgstr ""
1833
 
1834
  #: admin/views/ad-display-metabox.php:139
1835
+ #: admin/views/ad-visitor-metabox.php:101
1836
  msgid "New condition"
1837
  msgstr ""
1838
 
1839
  #: admin/views/ad-display-metabox.php:142
1840
+ #: admin/views/ad-visitor-metabox.php:104
1841
  msgid "-- choose a condition --"
1842
  msgstr ""
1843
 
1844
  #: admin/views/ad-display-metabox.php:149
1845
+ #: admin/views/ad-visitor-metabox.php:113
1846
  msgid "Add-On features"
1847
  msgstr ""
1848
 
1849
  #: admin/views/ad-display-metabox.php:162 admin/views/ad-group-list-ads.php:37
1850
+ #: admin/views/ad-visitor-metabox.php:126
1851
  msgid "add"
1852
  msgstr ""
1853
 
1865
  msgid "Slug"
1866
  msgstr ""
1867
 
1868
+ #: admin/views/ad-group-edit.php:54
1869
  msgid ""
1870
  "An id-like string with only letters in lower case, numbers, and hyphens."
1871
  msgstr ""
1872
 
1873
+ #: admin/views/ad-group-edit.php:61
1874
  msgctxt "Taxonomy Description"
1875
  msgid "Description"
1876
  msgstr ""
1877
 
1878
+ #: admin/views/ad-group-edit.php:73
1879
  msgid "Create new Ad Group"
1880
  msgstr ""
1881
 
1882
+ #: admin/views/ad-group-edit.php:75
1883
  msgid "Update"
1884
  msgstr ""
1885
 
1887
  msgid "weight"
1888
  msgstr ""
1889
 
1890
+ #: admin/views/ad-group-list-form-row.php:27 admin/views/placements.php:32
1891
  #: modules/gadsense/admin/views/mapi-ad-selector.php:29
1892
  #: modules/gadsense/admin/views/mapi-ad-selector.php:41
1893
  #: modules/privacy/admin/views/setting-consent-method.php:9
1894
  msgid "Name"
1895
  msgstr ""
1896
 
1897
+ #: admin/views/ad-group-list-form-row.php:53 admin/views/placements.php:31
1898
  #: modules/gadsense/admin/views/adsense-ad-parameters.php:108
1899
  msgid "Type"
1900
  msgstr ""
1901
 
1902
+ #: admin/views/ad-group-list-form-row.php:69
1903
  msgctxt "option to display all ads in an ad groups"
1904
  msgid "all"
1905
  msgstr ""
1906
 
1907
+ #: admin/views/ad-group-list-form-row.php:76
1908
  msgid "Visible ads"
1909
  msgstr ""
1910
 
1911
+ #: admin/views/ad-group-list-form-row.php:78
1912
  msgid "Number of ads that are visible at the same time"
1913
  msgstr ""
1914
 
1916
  msgid "Details"
1917
  msgstr ""
1918
 
1919
+ #: admin/views/ad-group-list-row.php:19 admin/views/ad-info.php:3
1920
  #: admin/views/placements.php:92
1921
  msgid "shortcode"
1922
  msgstr ""
1923
 
1924
+ #: admin/views/ad-group-list-row.php:22
1925
  msgid "template"
1926
  msgstr ""
1927
 
1928
+ #: admin/views/ad-group-list-row.php:25
1929
  #, php-format
1930
  msgid ""
1931
  "Learn more about using groups in the <a href=\"%s\" target=\"_blank\">"
1932
  "manual</a>."
1933
  msgstr ""
1934
 
1935
+ #: admin/views/ad-group-list-row.php:34
1936
  #, php-format
1937
  msgid "Type: %s"
1938
  msgstr ""
1939
 
1940
+ #: admin/views/ad-group-list-row.php:39
1941
  #, php-format
1942
  msgid "ID: %s"
1943
  msgstr ""
2080
  msgid "Position"
2081
  msgstr ""
2082
 
2083
+ #: admin/views/ad-output-metabox.php:7
2084
  msgid "- default -"
2085
  msgstr ""
2086
 
2087
+ #: admin/views/ad-output-metabox.php:11
2088
  #: admin/views/placements-ad-label-position.php:2
2089
+ #: admin/views/placements-ad-label-position.php:5
2090
+ #: admin/views/placements-ad-label.php:1 admin/views/placements-ad-label.php:4
2091
  #: admin/views/placements.php:74
2092
  msgid "default"
2093
  msgstr ""
2094
 
2095
+ #: admin/views/ad-output-metabox.php:12
2096
+ #: admin/views/placements-ad-label-position.php:7
2097
+ #: admin/views/placements-ad-label-position.php:10
2098
  msgid "left"
2099
  msgstr ""
2100
 
2101
+ #: admin/views/ad-output-metabox.php:17
2102
+ #: admin/views/placements-ad-label-position.php:11
2103
+ #: admin/views/placements-ad-label-position.php:14
2104
  msgid "center"
2105
  msgstr ""
2106
 
2107
+ #: admin/views/ad-output-metabox.php:22
2108
+ #: admin/views/placements-ad-label-position.php:15
2109
+ #: admin/views/placements-ad-label-position.php:18
2110
  msgid "right"
2111
  msgstr ""
2112
 
2113
+ #: admin/views/ad-output-metabox.php:31
2114
  msgid ""
2115
  "Check this if you don't want the following elements to float around the ad. "
2116
  "(adds a clearfix)"
2117
  msgstr ""
2118
 
2119
+ #: admin/views/ad-output-metabox.php:35
2120
  msgid "Margin"
2121
  msgstr ""
2122
 
2123
+ #: admin/views/ad-output-metabox.php:37
2124
  msgid "top:"
2125
  msgstr ""
2126
 
2127
+ #: admin/views/ad-output-metabox.php:41
2128
  msgid "right:"
2129
  msgstr ""
2130
 
2131
+ #: admin/views/ad-output-metabox.php:45
2132
  msgid "bottom:"
2133
  msgstr ""
2134
 
2135
+ #: admin/views/ad-output-metabox.php:49
2136
  msgid "left:"
2137
  msgstr ""
2138
 
2139
+ #: admin/views/ad-output-metabox.php:53
2140
  msgid "tip: use this to add a margin around the ad"
2141
  msgstr ""
2142
 
2143
+ #: admin/views/ad-output-metabox.php:56
2144
  msgid "container ID"
2145
  msgstr ""
2146
 
2147
+ #: admin/views/ad-output-metabox.php:62
2148
  msgid "Specify the id of the ad container. Leave blank for random or no id."
2149
  msgstr ""
2150
 
2151
+ #: admin/views/ad-output-metabox.php:65
2152
  msgid "container classes"
2153
  msgstr ""
2154
 
2155
+ #: admin/views/ad-output-metabox.php:71
2156
  msgid ""
2157
  "Specify one or more classes for the container. Separate multiple classes "
2158
  "with a space"
2159
  msgstr ""
2160
 
2161
+ #: admin/views/ad-output-metabox.php:74
2162
  msgid "Enable debug mode"
2163
  msgstr ""
2164
 
2174
  msgid "height"
2175
  msgstr ""
2176
 
2177
+ #: admin/views/ad-parameters-size.php:12
2178
  msgid "reserve this space"
2179
  msgstr ""
2180
 
2181
+ #: admin/views/ad-submitbox-meta.php:5
2182
  msgid "Set expiry date"
2183
  msgstr ""
2184
 
2185
+ #: admin/views/ad-submitbox-meta.php:12
2186
  msgid "Month"
2187
  msgstr ""
2188
 
2189
+ #: admin/views/ad-submitbox-meta.php:17
2190
  #, php-format
2191
  msgctxt "1: month number (01, 02, etc.), 2: month abbreviation"
2192
  msgid "%1$s-%2$s"
2193
  msgstr ""
2194
 
2195
+ #: admin/views/ad-submitbox-meta.php:23
2196
  msgid "Day"
2197
  msgstr ""
2198
 
2199
+ #: admin/views/ad-submitbox-meta.php:24
2200
  msgid "Year"
2201
  msgstr ""
2202
 
2203
+ #: admin/views/ad-submitbox-meta.php:25
2204
  msgid "Hour"
2205
  msgstr ""
2206
 
2207
+ #: admin/views/ad-submitbox-meta.php:26
2208
  msgid "Minute"
2209
  msgstr ""
2210
 
2211
+ #: admin/views/ad-submitbox-meta.php:31
2212
  #, php-format
2213
  msgctxt ""
2214
  "order of expiry date fields 1: month, 2: day, 3: year, 4: hour, 5: minute"
2274
  "websites."
2275
  msgstr ""
2276
 
2277
+ #: admin/views/ad-visitor-metabox.php:86
2278
  msgid ""
2279
  "Visitor conditions limit the number of users who can see your ad. There is "
2280
  "no need to set visitor conditions if you want all users to see the ad."
2281
  msgstr ""
2282
 
2283
+ #: admin/views/ad-visitor-metabox.php:90
2284
  #: modules/privacy/admin/views/setting-enable.php:4
2285
  msgid "It seems that a caching plugin is activated."
2286
  msgstr ""
2287
 
2288
+ #: admin/views/ad-visitor-metabox.php:92
2289
  #, php-format
2290
  msgid ""
2291
  "Check out cache-busting in <a href=\"%s\" target=\"_blank\">Advanced Ads "
2292
  "Pro</a> if dynamic features get cached."
2293
  msgstr ""
2294
 
2295
+ #: admin/views/ad-visitor-metabox.php:131
2296
  #, php-format
2297
  msgid ""
2298
  "Define the exact browser width for which an ad should be visible using the "
2299
  "<a href=\"%s\" target=\"_blank\">Responsive add-on</a>."
2300
  msgstr ""
2301
 
2302
+ #: admin/views/ad-visitor-metabox.php:182
2303
  msgid ""
2304
  "The visitor conditions below are deprecated. Please use the new version of "
2305
  "visitor conditions to replace it."
2306
  msgstr ""
2307
 
2308
+ #: admin/views/ad-visitor-metabox.php:188
2309
  msgid "Display on all devices"
2310
  msgstr ""
2311
 
2312
+ #: admin/views/ad-visitor-metabox.php:192
2313
  msgid "only on mobile devices"
2314
  msgstr ""
2315
 
2316
+ #: admin/views/ad-visitor-metabox.php:196
2317
  msgid "not on mobile devices"
2318
  msgstr ""
2319
 
2539
 
2540
  #. this is a label in a button when a user uses an AdSense Auto ads code in a plain code field
2541
  #. the button has barely space for the original English text, so keep it short
2542
+ #: admin/views/placement-injection-top.php:42
2543
  msgid "inject Auto ads"
2544
  msgstr ""
2545
 
2546
+ #: admin/views/placement-injection-top.php:48
2547
  msgid "New placement"
2548
  msgstr ""
2549
 
2550
+ #: admin/views/placement-injection-top.php:52
2551
  msgid "PHP or Shortcode"
2552
  msgstr ""
2553
 
2554
+ #: admin/views/placement-injection-top.php:53
2555
  msgid "Manage Sidebar"
2556
  msgstr ""
2557
 
2558
+ #: admin/views/placement-injection-top.php:54
2559
  msgid "Header (Manual)"
2560
  msgstr ""
2561
 
2562
+ #: admin/views/placement-injection-top.php:58
2563
+ #: admin/views/placement-injection-top.php:62
2564
  msgid "Custom Position"
2565
  msgstr ""
2566
 
2567
+ #: admin/views/placement-injection-top.php:58
2568
  msgid "Show Pro Places"
2569
  msgstr ""
2570
 
2571
+ #: admin/views/placement-injection-top.php:67
2572
  msgid "AdSense In-feed"
2573
  msgstr ""
2574
 
2575
+ #: admin/views/placement-injection-top.php:73
2576
  msgid "Show Sticky Places"
2577
  msgstr ""
2578
 
2579
+ #: admin/views/placement-injection-top.php:79
2580
  msgid "Show PopUp"
2581
  msgstr ""
2582
 
2583
+ #: admin/views/placement-injection-top.php:83
2584
  msgid "PopUp & Layer"
2585
  msgstr ""
2586
 
2587
+ #: admin/views/placement-injection-top.php:88
2588
  msgid "see all…"
2589
  msgstr ""
2590
 
2591
+ #: admin/views/placement-injection-top.php:120
2592
  msgid "Existing placement"
2593
  msgstr ""
2594
 
2595
+ #: admin/views/placement-injection-top.php:125
2596
  #, php-format
2597
  msgid "Or use the shortcode %s to insert the ad into the content manually."
2598
  msgstr ""
2599
 
2600
+ #: admin/views/placement-injection-top.php:126
2601
  #, php-format
2602
  msgid ""
2603
  "Learn more about your choices to display an ad in the <a href=\"%s\" "
2604
  "target=\"_blank\">manual</a>."
2605
  msgstr ""
2606
 
2607
+ #: admin/views/placements-ad-label-position.php:24
2608
  msgid ""
2609
  "Check this if you don't want the following elements to float around the ad. "
2610
  "(adds a placement_clearfix)"
2611
  msgstr ""
2612
 
2613
+ #: admin/views/placements-ad-label.php:6 admin/views/placements-ad-label.php:9
2614
  msgid "enabled"
2615
  msgstr ""
2616
 
2617
+ #: admin/views/placements-ad-label.php:11
2618
+ #: admin/views/placements-ad-label.php:14
2619
  msgid "disabled"
2620
  msgstr ""
2621
 
2627
  msgid "before"
2628
  msgstr ""
2629
 
2630
+ #: admin/views/placements-content-index.php:30
2631
  msgid "start counting from bottom"
2632
  msgstr ""
2633
 
2797
  msgid "(%d days left)"
2798
  msgstr ""
2799
 
2800
+ #: admin/views/setting-license.php:32
2801
  msgid "License key"
2802
  msgstr ""
2803
 
2817
  msgid "License key invalid"
2818
  msgstr ""
2819
 
2820
+ #: admin/views/setting-license.php:68
2821
  msgid "active"
2822
  msgstr ""
2823
 
2824
+ #: admin/views/setting-target.php:4
2825
  msgid ""
2826
  "Open programatically created links in a new window (use <code>"
2827
  "target=\"_blank\"</code>)"
2828
  msgstr ""
2829
 
2830
+ #: admin/views/settings-disable-ads.php:2
2831
  msgid "Disable all ads in frontend"
2832
  msgstr ""
2833
 
2834
+ #: admin/views/settings-disable-ads.php:3
2835
  msgid ""
2836
  "Use this option to disable all ads in the frontend, but still be able to use "
2837
  "the plugin."
2838
  msgstr ""
2839
 
2840
+ #: admin/views/settings-disable-ads.php:8
2841
  msgid "Disable ads on 404 error pages"
2842
  msgstr ""
2843
 
2844
+ #: admin/views/settings-disable-ads.php:12
2845
  msgid "Disable ads on non-singular pages"
2846
  msgstr ""
2847
 
2848
+ #: admin/views/settings-disable-ads.php:13
2849
  msgid ""
2850
  "e.g. archive pages like categories, tags, authors, front page (if a list)"
2851
  msgstr ""
2852
 
2853
+ #: admin/views/settings-disable-ads.php:18
2854
  msgid "Disable ads on secondary queries"
2855
  msgstr ""
2856
 
2857
+ #: admin/views/settings-disable-ads.php:19
2858
  msgid ""
2859
  "Secondary queries are custom queries of posts outside the main query of a "
2860
  "page. Try this option if you see ads injected on places where they shouldn’t "
2861
  "appear."
2862
  msgstr ""
2863
 
2864
+ #: admin/views/settings-disable-ads.php:25
2865
  msgid "Disable ads in Feed"
2866
  msgstr ""
2867
 
modules/gutenberg/includes/class-gutenberg.php CHANGED
@@ -8,7 +8,7 @@ class Advanced_Ads_Gutenberg {
8
 
9
  private function __construct() {
10
  add_action( 'init', array( $this, 'init' ) );
11
- add_action( 'admin_enqueue_scripts', array( $this, 'register_scripts' ) );
12
  }
13
 
14
  /**
8
 
9
  private function __construct() {
10
  add_action( 'init', array( $this, 'init' ) );
11
+ add_action( 'enqueue_block_editor_assets', array( $this, 'register_scripts' ) );
12
  }
13
 
14
  /**
modules/gutenberg/js/advanced-ads.block.js CHANGED
@@ -101,6 +101,7 @@
101
  style: {
102
  'vetical-align': 'middle',
103
  margin: 5,
 
104
  },
105
  href: url,
106
  target: '_blank',
101
  style: {
102
  'vetical-align': 'middle',
103
  margin: 5,
104
+ 'border-bottom': 'none'
105
  },
106
  href: url,
107
  target: '_blank',
public/class-advanced-ads.php CHANGED
@@ -792,10 +792,15 @@ class Advanced_Ads {
792
  public function custom_header_code(){
793
  if( current_user_can( Advanced_Ads_Plugin::user_cap( 'advanced_ads_edit_ads') ) ){
794
  ?><style>
795
- div.advads-edit-bar{position:relative;top:0;left:0;height:0;display:none;z-index:10000;}
796
- a.advads-edit-button{position:absolute;top:0;left:0;text-decoration:none;border-bottom:none;color:#0074a2;margin-top:-5px;}
 
 
 
 
 
797
  a.advads-edit-button span{top:10px;line-height:25px;margin-left:-5px;width:26px;height:26px;border-radius:13px;border:solid 1px #0074a2;background:#fff}
798
- div:hover > .advads-edit-bar{display:block;}</style><?php
799
  }
800
  }
801
 
792
  public function custom_header_code(){
793
  if( current_user_can( Advanced_Ads_Plugin::user_cap( 'advanced_ads_edit_ads') ) ){
794
  ?><style>
795
+ div.advads-edit-bar{position:relative;top:0;left:0;height:0;display:none;z-index:10000;animation:advads-edit-appear 2s linear 1;}
796
+ @keyframes advads-edit-appear {
797
+ 0% {opacity: 0.0;}
798
+ 66% {opacity: 0.0;}
799
+ 100% {opacity: 1.0;}
800
+ }
801
+ a.advads-edit-button{position:absolute;top:0;left:0;text-decoration:none !important;box-shadow:none;border-bottom:none;color:#0074a2;margin-top:-5px;cursor:default;}
802
  a.advads-edit-button span{top:10px;line-height:25px;margin-left:-5px;width:26px;height:26px;border-radius:13px;border:solid 1px #0074a2;background:#fff}
803
+ div:hover > .advads-edit-bar:first-child{display:block;}</style><?php
804
  }
805
  }
806
 
public/views/ad-edit-bar.php CHANGED
@@ -1,3 +1,3 @@
1
- <div class="advads-edit-bar">
2
  <a href="<?php echo get_edit_post_link( $this->id ); ?>" class="advads-edit-button" title="<?php echo $this->title; ?>"><span class="dashicons dashicons-edit"></span></a>
3
  </div>
1
+ <div class="advads-edit-bar advads-edit-appear">
2
  <a href="<?php echo get_edit_post_link( $this->id ); ?>" class="advads-edit-button" title="<?php echo $this->title; ?>"><span class="dashicons dashicons-edit"></span></a>
3
  </div>
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: ads, ad manager, ad widget, ad rotation, adsense, advertise, advertisement
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
  Requires PHP: 5.4
8
- Stable tag: 1.10.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -19,6 +19,7 @@ Are you looking for a simple ad manager plugin? These are the top arguments to u
19
  * Google AdSense Partner
20
  * most features to test and optimize ads
21
  * unlimited ad units
 
22
  * works with all ad types and networks (e.g. Google AdSense, Google Ad Manager, or Amazon ads)
23
  * the only solution with *Ad Health* integration and Google AdSense violation checks
24
  * best rated [free support](https://wordpress.org/support/plugin/advanced-ads)
@@ -275,6 +276,12 @@ Yes. Advanced Ads is based on WordPress standards and therefore easily customiza
275
 
276
  == Changelog ==
277
 
 
 
 
 
 
 
278
  = 1.10.9 =
279
 
280
  * fixed AdSense Auto ads check in the Ad Health bar giving false positives
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
  Requires PHP: 5.4
8
+ Stable tag: 1.10.10
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
19
  * Google AdSense Partner
20
  * most features to test and optimize ads
21
  * unlimited ad units
22
+ * dedicated Gutenberg block for ads
23
  * works with all ad types and networks (e.g. Google AdSense, Google Ad Manager, or Amazon ads)
24
  * the only solution with *Ad Health* integration and Google AdSense violation checks
25
  * best rated [free support](https://wordpress.org/support/plugin/advanced-ads)
276
 
277
  == Changelog ==
278
 
279
+ = 1.10.10 =
280
+
281
+ * new ad block works with WordPress 5.0
282
+ * show hint when shortcode or PHP options are enabled, but not needed
283
+ * fixed long group pages not being saved
284
+
285
  = 1.10.9 =
286
 
287
  * fixed AdSense Auto ads check in the Ad Health bar giving false positives