Advanced Ads - Version 1.6.1

Version Description

  • fix secondary query condition (this was revered in 1.6)
  • fix wrong constant displaying errors on add-on license page
  • display license expire date for add-ons
  • prevent accidental removal of license keys
Download this release

Release Info

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

Code changes from version 1.6 to 1.6.1

admin/class-advanced-ads-admin.php CHANGED
@@ -665,7 +665,7 @@ class Advanced_Ads_Admin {
665
  // register settings
666
  register_setting( ADVADS_SLUG, ADVADS_SLUG, array($this, 'sanitize_settings') );
667
  // register license settings
668
- register_setting( ADVADS_SLUG . '-licenses', ADVADS_SLUG . '-licenses' );
669
 
670
  // general settings section
671
  add_settings_section(
@@ -888,6 +888,28 @@ class Advanced_Ads_Admin {
888
  return $options;
889
  }
890
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
891
  /**
892
  * add heading for extra column of ads list
893
  * remove the date column
@@ -1208,6 +1230,9 @@ class Advanced_Ads_Admin {
1208
  // display activation problem
1209
  if( !empty( $license_data->error )) {
1210
  return sprintf( __('License is invalid. Reason: %s'), $license_data->error);
 
 
 
1211
  }
1212
 
1213
  return 1;
665
  // register settings
666
  register_setting( ADVADS_SLUG, ADVADS_SLUG, array($this, 'sanitize_settings') );
667
  // register license settings
668
+ register_setting( ADVADS_SLUG . '-licenses', ADVADS_SLUG . '-licenses', array( $this, 'sanitize_license_keys' ) );
669
 
670
  // general settings section
671
  add_settings_section(
888
  return $options;
889
  }
890
 
891
+ /**
892
+ * sanitize add-on license keys array
893
+ * most important is to not remove a key even if the add-on is temporarily disabled
894
+ *
895
+ * @since 1.6.1
896
+ * @param array $options all the options (license keys)
897
+ */
898
+ public function sanitize_license_keys( $options ){
899
+
900
+ // get existing license keys
901
+ $licenses = get_option( ADVADS_SLUG . '-licenses', array() );
902
+
903
+ // merge existing with new license key to prevent accidental removal
904
+ if( is_array( $options ) ){
905
+ $options = array_merge( $licenses, $options );
906
+ } else {
907
+ $options = $licenses;
908
+ }
909
+
910
+ return $options;
911
+ }
912
+
913
  /**
914
  * add heading for extra column of ads list
915
  * remove the date column
1230
  // display activation problem
1231
  if( !empty( $license_data->error )) {
1232
  return sprintf( __('License is invalid. Reason: %s'), $license_data->error);
1233
+ } else {
1234
+ // save license value time
1235
+ update_option($options_slug . '-license-expires', $license_data->expires, false);
1236
  }
1237
 
1238
  return 1;
admin/views/setting-license.php CHANGED
@@ -1,8 +1,19 @@
1
- <input type="text" class="regular-text" placeholder="<?php _e('License key', AAT_SLUG); ?>"
 
 
 
 
 
 
 
 
 
 
 
 
2
  name="<?php echo ADVADS_SLUG . '-licenses'; ?>[<?php echo $index; ?>]"
3
- value="<?php echo esc_attr_e($license_key); ?>"
4
- <?php if( $license_status === 'valid' ) echo ' disabled="disabled"'; ?>/><?php
5
- if( $license_status !== false && $license_status == 'valid' ) :
6
  $show_active = true;
7
  else :
8
  $show_active = false;
@@ -13,10 +24,16 @@ else :
13
  data-optionslug="<?php echo $options_slug; ?>"
14
  name="advads_license_activate"><?php _e('Activate License'); ?></button><?php
15
  endif;
16
- $errortext = ( ! $license_status || $license_status == 'invalid') ? __('license key invalid', AAT_SLUG) : '';
17
- ?><span class="advads-license-activate-error"><?php echo $errortext; ?></span><?php
 
18
  endif;
19
- ?><span class="advads-license-activate-active" <?php if( ! $show_active ) echo 'style="display: none;"'; ?>><?php _e('active', AAT_SLUG); ?></span><?php
 
 
 
 
 
20
  if($license_key === '') :
21
- ?><p class="description"><?php _e('1. enter the key and save options; 2. click the activate button behind the field'); ?></p><?php
22
  endif;
1
+ <?php
2
+ $errortext = '';
3
+ $expires = get_option( $options_slug . '-license-expires', 0 );
4
+ $expired = false;
5
+ if( $expires ){
6
+ $expires_time = strtotime( $expires );
7
+ $days_left = ( $expires_time - time() ) / DAY_IN_SECONDS;
8
+ if( $days_left <= 0 ){
9
+ $errortext = sprintf(__( 'Your license expired. Please visit <a href="%s" target="_blank">the plugin page</a> to renew it.', ADVADS_SLUG ), ADVADS_URL );
10
+ $expired = true;
11
+ }
12
+ };
13
+ ?><input type="text" class="regular-text" placeholder="<?php _e( 'License key', ADVADS_SLUG ); ?>"
14
  name="<?php echo ADVADS_SLUG . '-licenses'; ?>[<?php echo $index; ?>]"
15
+ value="<?php echo esc_attr_e($license_key); ?>"/><?php
16
+ if( $license_status !== false && $license_status == 'valid' && ! $expired ) :
 
17
  $show_active = true;
18
  else :
19
  $show_active = false;
24
  data-optionslug="<?php echo $options_slug; ?>"
25
  name="advads_license_activate"><?php _e('Activate License'); ?></button><?php
26
  endif;
27
+ if( ! $expired ){
28
+ $errortext = ( ! $license_status || $license_status == 'invalid') ? __('license key invalid', ADVADS_SLUG) : '';
29
+ }
30
  endif;
31
+ if( $errortext ) :
32
+ ?><span class="advads-license-activate-error"><?php echo $errortext; ?></span><?php
33
+ endif;
34
+ ?><span class="advads-license-activate-active" <?php if( ! $show_active ) echo 'style="display: none;"'; ?>><?php _e( 'active', ADVADS_SLUG );
35
+ ?>&nbsp;<?php if( isset( $days_left ) && $days_left > 0 ) echo sprintf( __('(%d days left)', ADVADS_SLUG ), $days_left );
36
+ ?></span><?php
37
  if($license_key === '') :
38
+ ?><p class="description"><?php _e( '1. enter the key and save options; 2. click the activate button behind the field', ADVADS_SLUG ); ?></p><?php
39
  endif;
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.6
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
@@ -38,7 +38,7 @@ define( 'ADVADS_BASE_DIR', dirname( plugin_basename( __FILE__ ) ) ); // director
38
  // general and global slug, e.g. to store options in WP, textdomain
39
  define( 'ADVADS_SLUG', 'advanced-ads' );
40
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
41
- define( 'ADVADS_VERSION', '1.6' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * 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.6.1
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
38
  // general and global slug, e.g. to store options in WP, textdomain
39
  define( 'ADVADS_SLUG', 'advanced-ads' );
40
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
41
+ define( 'ADVADS_VERSION', '1.6.1' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * Autoloading, modules and functions
classes/EDD_SL_Plugin_Updater.php CHANGED
@@ -174,14 +174,14 @@ class EDD_SL_Plugin_Updater {
174
 
175
  if ( empty( $version_info->download_link ) ) {
176
  printf(
177
- __( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a>.', 'edd' ),
178
  esc_html( $version_info->name ),
179
  esc_url( $changelog_link ),
180
  esc_html( $version_info->new_version )
181
  );
182
  } else {
183
  printf(
184
- __( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a> or <a href="%4$s">update now</a>.', 'edd' ),
185
  esc_html( $version_info->name ),
186
  esc_url( $changelog_link ),
187
  esc_html( $version_info->new_version ),
@@ -321,7 +321,7 @@ class EDD_SL_Plugin_Updater {
321
  }
322
 
323
  if( ! current_user_can( 'update_plugins' ) ) {
324
- wp_die( __( 'You do not have permission to install plugin updates', 'edd' ), __( 'Error', 'edd' ), array( 'response' => 403 ) );
325
  }
326
 
327
  $response = $this->api_request( 'plugin_latest_version', array( 'slug' => $_REQUEST['slug'] ) );
174
 
175
  if ( empty( $version_info->download_link ) ) {
176
  printf(
177
+ __( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a>.', ADVADS_SLUG ),
178
  esc_html( $version_info->name ),
179
  esc_url( $changelog_link ),
180
  esc_html( $version_info->new_version )
181
  );
182
  } else {
183
  printf(
184
+ __( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a> or <a href="%4$s">update now</a>.', ADVADS_SLUG ),
185
  esc_html( $version_info->name ),
186
  esc_url( $changelog_link ),
187
  esc_html( $version_info->new_version ),
321
  }
322
 
323
  if( ! current_user_can( 'update_plugins' ) ) {
324
+ wp_die( __( 'You do not have permission to install plugin updates', ADVADS_SLUG ), __( 'Error', ADVADS_SLUG ), array( 'response' => 403 ) );
325
  }
326
 
327
  $response = $this->api_request( 'plugin_latest_version', array( 'slug' => $_REQUEST['slug'] ) );
languages/advanced-ads-de_DE.mo CHANGED
Binary file
languages/advanced-ads-de_DE.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Advanved Ads\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
5
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
6
- "PO-Revision-Date: Fri May 29 2015 09:39:06 GMT+0200 (CEST)\n"
7
  "Last-Translator: admin <post@webzunft.de>\n"
8
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
9
  "Language: German\n"
@@ -38,7 +38,7 @@ msgstr "Advanced Ads"
38
  #: ../admin/class-advanced-ads-admin.php:206 ../admin/class-advanced-ads-admin.
39
  #: php:206 ../admin/views/ad-group-list-form-row.php:25 ../admin/views/ad-group-
40
  #: list-header.php:5 ../admin/views/placements.php:64 ../classes/widget.php:66 ..
41
- #: public/class-advanced-ads.php:539
42
  msgid "Ads"
43
  msgstr "Anzeigen"
44
 
@@ -47,7 +47,7 @@ msgstr "Anzeigen"
47
  msgid "Ad Groups"
48
  msgstr "Anzeigen-Gruppen"
49
 
50
- #: ../admin/class-advanced-ads-admin.php:210 ../public/class-advanced-ads.php:513
51
  msgid "Groups"
52
  msgstr "Gruppen"
53
 
@@ -109,141 +109,145 @@ msgstr "Anzeige-Bedingungen"
109
  msgid "Visitor Conditions"
110
  msgstr "Besucher-Bedingungen"
111
 
112
- #: ../admin/class-advanced-ads-admin.php:600 ../admin/class-advanced-ads-admin.
113
- #: php:601
114
  msgid "Ad updated."
115
  msgstr "Anzeige aktualisiert."
116
 
117
  #. translators: %s: date and time of the revision
118
- #: ../admin/class-advanced-ads-admin.php:603
119
  #, php-format
120
  msgid "Ad restored to revision from %s"
121
  msgstr "Anzeige aus Revision %s wiederhergestellt"
122
 
123
- #: ../admin/class-advanced-ads-admin.php:604
124
  msgid "Ad published."
125
  msgstr "Anzeige veröffentlicht."
126
 
127
- #: ../admin/class-advanced-ads-admin.php:605
128
  msgid "Ad saved."
129
  msgstr "Anzeige gespeichert."
130
 
131
- #: ../admin/class-advanced-ads-admin.php:606
132
  msgid "Ad submitted."
133
  msgstr "Anzeige gesendet."
134
 
135
- #: ../admin/class-advanced-ads-admin.php:608
136
  #, php-format
137
  msgid "Ad scheduled for: <strong>%1$s</strong>."
138
  msgstr "Anzeige geplant für <strong>%1$s</strong>."
139
 
140
  #. translators: Publish box date format, see http://php.net/date
141
- #: ../admin/class-advanced-ads-admin.php:610
142
  msgid "M j, Y @ G:i"
143
  msgstr "j M Y @ G:i"
144
 
145
- #: ../admin/class-advanced-ads-admin.php:612
146
  msgid "Ad draft updated."
147
  msgstr "Anzeigenentwurf gespeichert."
148
 
149
- #: ../admin/class-advanced-ads-admin.php:631
150
  #, php-format
151
  msgid "%s ad updated."
152
  msgid_plural "%s ads updated."
153
  msgstr[0] "%s Anzeige aktualisiert."
154
  msgstr[1] "%s Anzeigen aktualisiert."
155
 
156
- #: ../admin/class-advanced-ads-admin.php:632
157
  #, php-format
158
  msgid "%s ad not updated, somebody is editing it."
159
  msgid_plural "%s ads not updated, somebody is editing them."
160
  msgstr[0] "%s Anzeige nicht aktualisiert, jemand bearbeitet sie."
161
  msgstr[1] "%s Anzeigen nicht aktualisiert, jemand bearbeitet sie."
162
 
163
- #: ../admin/class-advanced-ads-admin.php:633
164
  #, php-format
165
  msgid "%s ad permanently deleted."
166
  msgid_plural "%s ads permanently deleted."
167
  msgstr[0] "%s Anzeige endgültig gelöscht."
168
  msgstr[1] "%s Anzeigen endgültig gelöscht."
169
 
170
- #: ../admin/class-advanced-ads-admin.php:634
171
  #, php-format
172
  msgid "%s ad moved to the Trash."
173
  msgid_plural "%s ads moved to the Trash."
174
  msgstr[0] "%s Anzeige in den Papierkorb verschoben."
175
  msgstr[1] "%s Anzeigen in den Papierkorb verschoben."
176
 
177
- #: ../admin/class-advanced-ads-admin.php:635
178
  #, php-format
179
  msgid "%s ad restored from the Trash."
180
  msgid_plural "%s ads restored from the Trash."
181
  msgstr[0] "%s Anzeige aus dem Papierkorb wiederhergestellt."
182
  msgstr[1] "%s Anzeige aus dem Papierkorb wiederhergestellt."
183
 
184
- #: ../admin/class-advanced-ads-admin.php:672 ../admin/views/settings.php:12
185
  msgid "General"
186
  msgstr "Allgemein"
187
 
188
- #: ../admin/class-advanced-ads-admin.php:680 ../admin/views/settings.php:18
189
  msgid "Licenses"
190
  msgstr "Lizenzen"
191
 
192
- #: ../admin/class-advanced-ads-admin.php:688
193
  msgid "Disable ads"
194
  msgstr "Anzeigen auf dieser Seite deaktivieren."
195
 
196
- #: ../admin/class-advanced-ads-admin.php:696
197
  msgid "Hide ads for logged in users"
198
  msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
199
 
200
- #: ../admin/class-advanced-ads-admin.php:704
201
  msgid "Use advanced JavaScript"
202
  msgstr "Advanced-JavaScript benutzen"
203
 
204
- #: ../admin/class-advanced-ads-admin.php:712
 
 
 
 
205
  msgid "Priority of content injection filter"
206
  msgstr "Priorität der Anzeigen-Injektion"
207
 
208
- #: ../admin/class-advanced-ads-admin.php:720
209
  msgid "Hide ads from bots"
210
  msgstr "Anzeigen vor Bots verbergen"
211
 
212
- #: ../admin/class-advanced-ads-admin.php:728
213
  msgid "Disable notices"
214
  msgstr "Mitteilungen deaktivieren"
215
 
216
- #: ../admin/class-advanced-ads-admin.php:784
217
  msgid "(display to all)"
218
  msgstr "(für alle sichtbar)"
219
 
220
- #: ../admin/class-advanced-ads-admin.php:785
221
  msgid "Subscriber"
222
  msgstr "Abonnent"
223
 
224
- #: ../admin/class-advanced-ads-admin.php:786
225
  msgid "Contributor"
226
  msgstr "Mitarbeiter"
227
 
228
- #: ../admin/class-advanced-ads-admin.php:787
229
  msgid "Author"
230
  msgstr "Autor"
231
 
232
- #: ../admin/class-advanced-ads-admin.php:788
233
  msgid "Editor"
234
  msgstr "Redakteur"
235
 
236
- #: ../admin/class-advanced-ads-admin.php:789
237
  msgid "Admin"
238
  msgstr "Admin"
239
 
240
- #: ../admin/class-advanced-ads-admin.php:797
241
  msgid "Choose the lowest role a user must have in order to not see any ads."
242
  msgstr ""
243
  "Wählen Sie die niedrigste Rolle die ein Benutzer haben muss um keine "
244
  "Anzeigen zu sehen."
245
 
246
- #: ../admin/class-advanced-ads-admin.php:810
247
  #, php-format
248
  msgid ""
249
  "Only enable this if you can and want to use the advanced JavaScript "
@@ -252,7 +256,25 @@ msgstr ""
252
  "Aktivieren Sie dies nur, wenn Sie die erweiterten und <a href=\"%s\">hier</a> "
253
  "beschriebenen Advanced-JavaScript-Funktionen verwenden können und wollen."
254
 
255
- #: ../admin/class-advanced-ads-admin.php:823
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  msgid ""
257
  "Play with this value in order to change the priority of the injected ads "
258
  "compared to other auto injected elements in the post content."
@@ -260,7 +282,7 @@ msgstr ""
260
  "Ändern Sie diesen Wert um die Position automatisch eingefügter Anzeigen im "
261
  "Content gegenüber anderer Elementen zu beeinflussen."
262
 
263
- #: ../admin/class-advanced-ads-admin.php:836
264
  #, php-format
265
  msgid ""
266
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
@@ -271,7 +293,7 @@ msgstr ""
271
  "werden mit dem <a href=\"%s\" target=\"_blank\">Tracking Add-On</a> dann auch "
272
  "keine Impressionen mehr gezählt."
273
 
274
- #: ../admin/class-advanced-ads-admin.php:837
275
  msgid ""
276
  "Disabling this option only makes sense if your ads contain content you want "
277
  "to display to bots (like search engines) or your site is cached and bots "
@@ -280,7 +302,7 @@ msgstr ""
280
  "Deaktivieren Sie diese Option, wenn Bots (z.B. Suchmaschinen) die "
281
  "Werbeinhalte sehen sollen oder Ihre Seite einen Cache nutzt."
282
 
283
- #: ../admin/class-advanced-ads-admin.php:850
284
  msgid ""
285
  "Disable all internal notices like tips, tutorials and email newsletters but "
286
  "not critical update notices. Disabling notices is recommended if you run "
@@ -290,43 +312,58 @@ msgstr ""
290
  "Kritische Nachrichten sind hiervon ausgenommen. Nutzen Sie diese Einstellung,"
291
  " wenn Sie Advanced Ads auf mehreren Blog installiert haben."
292
 
293
- #: ../admin/class-advanced-ads-admin.php:879
294
  msgid "Ad Details"
295
  msgstr "Anzeigeneinstellungen"
296
 
297
- #: ../admin/class-advanced-ads-admin.php:953
298
  msgid "Ad Settings"
299
  msgstr "Anzeigen-Einstellungen"
300
 
301
- #: ../admin/class-advanced-ads-admin.php:1028 ../admin/views/overview.php:23
302
  msgid "Ads Dashboard"
303
  msgstr "Anzeigen-Dashboard"
304
 
305
- #: ../admin/class-advanced-ads-admin.php:1040
306
  msgid "From the ad optimization universe"
307
  msgstr "Neues aus dem Anzeigen-Universum"
308
 
309
- #: ../admin/class-advanced-ads-admin.php:1049
310
  msgid "Advanced Ads Tutorials"
311
  msgstr "Advanced Ads Tutorials"
312
 
313
- #: ../admin/class-advanced-ads-admin.php:1060
314
  #, php-format
315
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
316
  msgstr "%d Anzeigen – <a href=\"%s\">verwalten</a> - <a href=\"%s\">neu</a>"
317
 
318
- #: ../admin/class-advanced-ads-admin.php:1071
319
  msgid "plugin manual and homepage"
320
  msgstr "Plugin-Anleitung und Homepage"
321
 
322
- #: ../admin/class-advanced-ads-admin.php:1078
323
  msgid "Get the tutorial via email"
324
  msgstr "Tutorial per E-Mail (engl.)\n"
325
 
326
- #: ../admin/class-advanced-ads-admin.php:1085
327
  msgid "Get AdSense tips via email"
328
  msgstr "AdSense Tips per E-Mail (engl.)"
329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
330
  #: ../admin/includes/class-ad-groups-list.php:158
331
  msgid "scheduled"
332
  msgstr "geplant"
@@ -374,7 +411,7 @@ msgid "Display ads with the highest ad weight first"
374
  msgstr "Anzeigen mit dem höchsten Anzeigengewicht zuerst einblenden."
375
 
376
  #: ../admin/includes/class-ad-groups-list.php:258 ../public/class-advanced-ads.
377
- #: php:543
378
  msgid "Edit"
379
  msgstr "Bearbeiten"
380
 
@@ -546,7 +583,7 @@ msgstr "neu"
546
  msgid "type the title"
547
  msgstr "Geben Sie den Titel ein"
548
 
549
- #: ../admin/includes/class-notices.php:304
550
  #, php-format
551
  msgid ""
552
  "You don’t seem to have an email address. Please add one to your <a "
@@ -555,7 +592,7 @@ msgstr ""
555
  "Scheinbar haben Sie keine E-Mail Adresse hinterlegt. Bitte tragen Sie eine "
556
  "in Ihrem <a href=\"%s\">Profil</a> ein."
557
 
558
- #: ../admin/includes/class-notices.php:322
559
  msgid "How embarrassing. The email server seems to be down. Please try again later."
560
  msgstr ""
561
  "Peinlich. Der E-Mail-Dienst scheint gerade nicht erreichbar zu sein. Bitte "
@@ -591,7 +628,7 @@ msgstr "PopUps und Layer"
591
 
592
  #: ../admin/includes/class-overview-widgets.php:61
593
  msgid "Ad Slider"
594
- msgstr ""
595
 
596
  #: ../admin/includes/class-overview-widgets.php:79 ../admin/includes/notices.php:20
597
  msgid ""
@@ -805,7 +842,7 @@ msgstr ""
805
  msgid "Yes, send it"
806
  msgstr "Ja, jetzt senden"
807
 
808
- #: ../admin/views/ad-display-metabox.php:7
809
  msgid "Choose where to display the ad and where to hide it."
810
  msgstr "Wählen Sie, wo die Anzeige sichtbar und wo sie versteckt ist."
811
 
@@ -917,7 +954,7 @@ msgid "Number of ads to display in the block"
917
  msgstr "Anzahl der Anzeigen die gleichzeitig im Block ausgegeben werden."
918
 
919
  #: ../admin/views/ad-group-list-form-row.php:28 ../public/class-advanced-ads.php:
920
- #: 540
921
  msgid "Ad"
922
  msgstr "Anzeige"
923
 
@@ -1190,15 +1227,15 @@ msgstr ""
1190
  "Tipp: Verwenden Sie dies, um einen Abstand zwischen Anzeige und Inhalt "
1191
  "einzufügen."
1192
 
1193
- #: ../admin/views/ad-parameters-metabox.php:15 ../classes/ad_ajax_callbacks.php:50
1194
  msgid "size:"
1195
  msgstr "Größe:"
1196
 
1197
- #: ../admin/views/ad-parameters-metabox.php:16 ../classes/ad_ajax_callbacks.php:51
1198
  msgid "width"
1199
  msgstr "Breite"
1200
 
1201
- #: ../admin/views/ad-parameters-metabox.php:17 ../classes/ad_ajax_callbacks.php:52
1202
  msgid "height"
1203
  msgstr "Höhe"
1204
 
@@ -1212,7 +1249,7 @@ msgctxt "1: month number (01, 02, etc.), 2: month abbreviation"
1212
  msgid "%1$s-%2$s"
1213
  msgstr "%1$s-%2$s"
1214
 
1215
- #: ../admin/views/ad-submitbox-meta.php:20
1216
  #, php-format
1217
  msgctxt "order of expiry date fields 1: month, 2: day, 3: year"
1218
  msgid "%1$s %2$s, %3$s"
@@ -1429,6 +1466,44 @@ msgstr "Neue Platzierung sichern"
1429
  msgid "Disable ads on this page"
1430
  msgstr "Anzeigen auf dieser Seite deaktivieren."
1431
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1432
  #: ../admin/views/settings-disable-ads.php:3
1433
  msgid "Disable all ads in frontend"
1434
  msgstr "Alle Anzeigen im Frontend deaktivieren"
@@ -1616,6 +1691,34 @@ msgstr "Fügen Sie Text oder Code in dieses Feld ein."
1616
  msgid "Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)"
1617
  msgstr "PHP code ausführen (umgeben von <code>&lt;?php ?&gt;</code>)"
1618
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1619
  #: ../classes/visitor-conditions.php:32
1620
  msgid "mobile device"
1621
  msgstr "mobiles Gerät"
@@ -1745,7 +1848,7 @@ msgstr " um "
1745
  #: ../modules/gadsense/admin/class-gadsense-admin.php:26 ..
1746
  #: modules/gadsense/admin/views/adsense-ad-parameters.php:30
1747
  msgid "Responsive"
1748
- msgstr ""
1749
 
1750
  #: ../modules/gadsense/admin/class-gadsense-admin.php:44
1751
  msgid "The ad details couldn't be retrieved from the ad code"
@@ -1827,7 +1930,7 @@ msgstr "Anzeigen-ID"
1827
 
1828
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:29
1829
  msgid "Normal"
1830
- msgstr ""
1831
 
1832
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:34
1833
  #, php-format
@@ -1860,91 +1963,91 @@ msgstr "Anzeigen aus Ihrem Google AdSense Konto"
1860
 
1861
  #: ../modules/gadsense/includes/class-gadsense-data.php:42
1862
  msgid "Auto"
1863
- msgstr ""
1864
 
1865
- #: ../public/class-advanced-ads.php:299
1866
  #, php-format
1867
  msgid "Advanced Ads Error: %s"
1868
  msgstr "Advanced-Ads-Fehler: %s"
1869
 
1870
- #: ../public/class-advanced-ads.php:503
1871
  msgctxt "ad group general name"
1872
  msgid "Ad Groups"
1873
  msgstr "Anzeigen-Gruppen"
1874
 
1875
- #: ../public/class-advanced-ads.php:504
1876
  msgctxt "ad group singular name"
1877
  msgid "Ad Group"
1878
  msgstr "Anzeigen-Gruppe"
1879
 
1880
- #: ../public/class-advanced-ads.php:505
1881
  msgid "Search Ad Groups"
1882
  msgstr "Anzeigen-Gruppen suchen"
1883
 
1884
- #: ../public/class-advanced-ads.php:506
1885
  msgid "All Ad Groups"
1886
  msgstr "Alle Anzeigen-Gruppen"
1887
 
1888
- #: ../public/class-advanced-ads.php:507
1889
  msgid "Parent Ad Groups"
1890
  msgstr "Parent-Anzeigen-Gruppen"
1891
 
1892
- #: ../public/class-advanced-ads.php:508
1893
  msgid "Parent Ad Groups:"
1894
  msgstr "Parent-Anzeigen-Gruppen"
1895
 
1896
- #: ../public/class-advanced-ads.php:509
1897
  msgid "Edit Ad Group"
1898
  msgstr "Bearbeite Anzeigen-Gruppe"
1899
 
1900
- #: ../public/class-advanced-ads.php:510
1901
  msgid "Update Ad Group"
1902
  msgstr "Aktualisiere Anzeigen-Gruppe"
1903
 
1904
- #: ../public/class-advanced-ads.php:511
1905
  msgid "Add New Ad Group"
1906
  msgstr "Neue Anzeigengruppe hinzufügen"
1907
 
1908
- #: ../public/class-advanced-ads.php:512
1909
  msgid "New Ad Groups Name"
1910
  msgstr "Neuer Anzeigen-Gruppen-Name"
1911
 
1912
- #: ../public/class-advanced-ads.php:514
1913
  msgid "No Ad Group found"
1914
  msgstr "Keine Anzeigen-Gruppe gefunden"
1915
 
1916
- #: ../public/class-advanced-ads.php:541 ../public/class-advanced-ads.php:545
1917
  msgid "New Ad"
1918
  msgstr "Neue Anzeige"
1919
 
1920
- #: ../public/class-advanced-ads.php:542
1921
  msgid "Add New Ad"
1922
  msgstr "Neue Anzeige hinzufügen"
1923
 
1924
- #: ../public/class-advanced-ads.php:544
1925
  msgid "Edit Ad"
1926
  msgstr "Anzeige bearbeiten"
1927
 
1928
- #: ../public/class-advanced-ads.php:546
1929
  msgid "View"
1930
  msgstr "Ansicht"
1931
 
1932
- #: ../public/class-advanced-ads.php:547
1933
  msgid "View the Ad"
1934
  msgstr "Anzeige ansehen"
1935
 
1936
- #: ../public/class-advanced-ads.php:548
1937
  msgid "Search Ads"
1938
  msgstr "Anzeigen suchen"
1939
 
1940
- #: ../public/class-advanced-ads.php:549
1941
  msgid "No Ads found"
1942
  msgstr "Keine Anzeigen gefunden"
1943
 
1944
- #: ../public/class-advanced-ads.php:550
1945
  msgid "No Ads found in Trash"
1946
  msgstr "Keine Anzeigen im Papierkorb gefunden"
1947
 
1948
- #: ../public/class-advanced-ads.php:551
1949
  msgid "Parent Ad"
1950
  msgstr "Übergeordnete Anzeige"
3
  "Project-Id-Version: Advanved Ads\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
5
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
6
+ "PO-Revision-Date: Sat Jun 20 2015 11:57:22 GMT+0200 (CEST)\n"
7
  "Last-Translator: admin <post@webzunft.de>\n"
8
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
9
  "Language: German\n"
38
  #: ../admin/class-advanced-ads-admin.php:206 ../admin/class-advanced-ads-admin.
39
  #: php:206 ../admin/views/ad-group-list-form-row.php:25 ../admin/views/ad-group-
40
  #: list-header.php:5 ../admin/views/placements.php:64 ../classes/widget.php:66 ..
41
+ #: public/class-advanced-ads.php:551
42
  msgid "Ads"
43
  msgstr "Anzeigen"
44
 
47
  msgid "Ad Groups"
48
  msgstr "Anzeigen-Gruppen"
49
 
50
+ #: ../admin/class-advanced-ads-admin.php:210 ../public/class-advanced-ads.php:525
51
  msgid "Groups"
52
  msgstr "Gruppen"
53
 
109
  msgid "Visitor Conditions"
110
  msgstr "Besucher-Bedingungen"
111
 
112
+ #: ../admin/class-advanced-ads-admin.php:601 ../admin/class-advanced-ads-admin.
113
+ #: php:602
114
  msgid "Ad updated."
115
  msgstr "Anzeige aktualisiert."
116
 
117
  #. translators: %s: date and time of the revision
118
+ #: ../admin/class-advanced-ads-admin.php:604
119
  #, php-format
120
  msgid "Ad restored to revision from %s"
121
  msgstr "Anzeige aus Revision %s wiederhergestellt"
122
 
123
+ #: ../admin/class-advanced-ads-admin.php:605
124
  msgid "Ad published."
125
  msgstr "Anzeige veröffentlicht."
126
 
127
+ #: ../admin/class-advanced-ads-admin.php:606
128
  msgid "Ad saved."
129
  msgstr "Anzeige gespeichert."
130
 
131
+ #: ../admin/class-advanced-ads-admin.php:607
132
  msgid "Ad submitted."
133
  msgstr "Anzeige gesendet."
134
 
135
+ #: ../admin/class-advanced-ads-admin.php:609
136
  #, php-format
137
  msgid "Ad scheduled for: <strong>%1$s</strong>."
138
  msgstr "Anzeige geplant für <strong>%1$s</strong>."
139
 
140
  #. translators: Publish box date format, see http://php.net/date
141
+ #: ../admin/class-advanced-ads-admin.php:611
142
  msgid "M j, Y @ G:i"
143
  msgstr "j M Y @ G:i"
144
 
145
+ #: ../admin/class-advanced-ads-admin.php:613
146
  msgid "Ad draft updated."
147
  msgstr "Anzeigenentwurf gespeichert."
148
 
149
+ #: ../admin/class-advanced-ads-admin.php:632
150
  #, php-format
151
  msgid "%s ad updated."
152
  msgid_plural "%s ads updated."
153
  msgstr[0] "%s Anzeige aktualisiert."
154
  msgstr[1] "%s Anzeigen aktualisiert."
155
 
156
+ #: ../admin/class-advanced-ads-admin.php:633
157
  #, php-format
158
  msgid "%s ad not updated, somebody is editing it."
159
  msgid_plural "%s ads not updated, somebody is editing them."
160
  msgstr[0] "%s Anzeige nicht aktualisiert, jemand bearbeitet sie."
161
  msgstr[1] "%s Anzeigen nicht aktualisiert, jemand bearbeitet sie."
162
 
163
+ #: ../admin/class-advanced-ads-admin.php:634
164
  #, php-format
165
  msgid "%s ad permanently deleted."
166
  msgid_plural "%s ads permanently deleted."
167
  msgstr[0] "%s Anzeige endgültig gelöscht."
168
  msgstr[1] "%s Anzeigen endgültig gelöscht."
169
 
170
+ #: ../admin/class-advanced-ads-admin.php:635
171
  #, php-format
172
  msgid "%s ad moved to the Trash."
173
  msgid_plural "%s ads moved to the Trash."
174
  msgstr[0] "%s Anzeige in den Papierkorb verschoben."
175
  msgstr[1] "%s Anzeigen in den Papierkorb verschoben."
176
 
177
+ #: ../admin/class-advanced-ads-admin.php:636
178
  #, php-format
179
  msgid "%s ad restored from the Trash."
180
  msgid_plural "%s ads restored from the Trash."
181
  msgstr[0] "%s Anzeige aus dem Papierkorb wiederhergestellt."
182
  msgstr[1] "%s Anzeige aus dem Papierkorb wiederhergestellt."
183
 
184
+ #: ../admin/class-advanced-ads-admin.php:673 ../admin/views/settings.php:12
185
  msgid "General"
186
  msgstr "Allgemein"
187
 
188
+ #: ../admin/class-advanced-ads-admin.php:681 ../admin/views/settings.php:18
189
  msgid "Licenses"
190
  msgstr "Lizenzen"
191
 
192
+ #: ../admin/class-advanced-ads-admin.php:689
193
  msgid "Disable ads"
194
  msgstr "Anzeigen auf dieser Seite deaktivieren."
195
 
196
+ #: ../admin/class-advanced-ads-admin.php:697
197
  msgid "Hide ads for logged in users"
198
  msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
199
 
200
+ #: ../admin/class-advanced-ads-admin.php:705
201
  msgid "Use advanced JavaScript"
202
  msgstr "Advanced-JavaScript benutzen"
203
 
204
+ #: ../admin/class-advanced-ads-admin.php:713
205
+ msgid "Unlimited ad injection"
206
+ msgstr "Anzeigen-Injektion überall aktivieren "
207
+
208
+ #: ../admin/class-advanced-ads-admin.php:721
209
  msgid "Priority of content injection filter"
210
  msgstr "Priorität der Anzeigen-Injektion"
211
 
212
+ #: ../admin/class-advanced-ads-admin.php:729
213
  msgid "Hide ads from bots"
214
  msgstr "Anzeigen vor Bots verbergen"
215
 
216
+ #: ../admin/class-advanced-ads-admin.php:737
217
  msgid "Disable notices"
218
  msgstr "Mitteilungen deaktivieren"
219
 
220
+ #: ../admin/class-advanced-ads-admin.php:795
221
  msgid "(display to all)"
222
  msgstr "(für alle sichtbar)"
223
 
224
+ #: ../admin/class-advanced-ads-admin.php:796
225
  msgid "Subscriber"
226
  msgstr "Abonnent"
227
 
228
+ #: ../admin/class-advanced-ads-admin.php:797
229
  msgid "Contributor"
230
  msgstr "Mitarbeiter"
231
 
232
+ #: ../admin/class-advanced-ads-admin.php:798
233
  msgid "Author"
234
  msgstr "Autor"
235
 
236
+ #: ../admin/class-advanced-ads-admin.php:799
237
  msgid "Editor"
238
  msgstr "Redakteur"
239
 
240
+ #: ../admin/class-advanced-ads-admin.php:800
241
  msgid "Admin"
242
  msgstr "Admin"
243
 
244
+ #: ../admin/class-advanced-ads-admin.php:808
245
  msgid "Choose the lowest role a user must have in order to not see any ads."
246
  msgstr ""
247
  "Wählen Sie die niedrigste Rolle die ein Benutzer haben muss um keine "
248
  "Anzeigen zu sehen."
249
 
250
+ #: ../admin/class-advanced-ads-admin.php:821
251
  #, php-format
252
  msgid ""
253
  "Only enable this if you can and want to use the advanced JavaScript "
256
  "Aktivieren Sie dies nur, wenn Sie die erweiterten und <a href=\"%s\">hier</a> "
257
  "beschriebenen Advanced-JavaScript-Funktionen verwenden können und wollen."
258
 
259
+ #: ../admin/class-advanced-ads-admin.php:834
260
+ msgid ""
261
+ "Some plugins and themes trigger ad injection where it shouldn’t happen. "
262
+ "Therefore, Advanced Ads ignores injected placements on non-singular pages "
263
+ "and outside the loop. However, this can cause problems with some themes. You "
264
+ "can enable this option if you don’t see ads or want to enable ad injections "
265
+ "on archive pages AT YOUR OWN RISK."
266
+ msgstr ""
267
+ "Einige Plugins und Themes provozieren die Anzeigen-Injektion an Stellen, wo "
268
+ "sie nicht passieren sollte. Advanced Ads hat daher eine "
269
+ "Sicherheitseinstellung, die Anzeigen, die über eine automatische Platzierung "
270
+ "eingebunden werden nur im Hauptinhalt auf Einzelseiten einbindet. Einige "
271
+ "Themes laden den Inhalt jedoch abweichend von den üblichen Methoden und "
272
+ "verhindert damit automatische Platzierungen. Wenn Sie diese Einstellung "
273
+ "aktivieren, werden alle Sicherheitseinstellungen ignoriert und Anzeigen "
274
+ "werden überall dort, wo Beiträge geladen werden, angezeigt (z.B. auch auf "
275
+ "Archiv-Seiten)."
276
+
277
+ #: ../admin/class-advanced-ads-admin.php:848
278
  msgid ""
279
  "Play with this value in order to change the priority of the injected ads "
280
  "compared to other auto injected elements in the post content."
282
  "Ändern Sie diesen Wert um die Position automatisch eingefügter Anzeigen im "
283
  "Content gegenüber anderer Elementen zu beeinflussen."
284
 
285
+ #: ../admin/class-advanced-ads-admin.php:861
286
  #, php-format
287
  msgid ""
288
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
293
  "werden mit dem <a href=\"%s\" target=\"_blank\">Tracking Add-On</a> dann auch "
294
  "keine Impressionen mehr gezählt."
295
 
296
+ #: ../admin/class-advanced-ads-admin.php:862
297
  msgid ""
298
  "Disabling this option only makes sense if your ads contain content you want "
299
  "to display to bots (like search engines) or your site is cached and bots "
302
  "Deaktivieren Sie diese Option, wenn Bots (z.B. Suchmaschinen) die "
303
  "Werbeinhalte sehen sollen oder Ihre Seite einen Cache nutzt."
304
 
305
+ #: ../admin/class-advanced-ads-admin.php:875
306
  msgid ""
307
  "Disable all internal notices like tips, tutorials and email newsletters but "
308
  "not critical update notices. Disabling notices is recommended if you run "
312
  "Kritische Nachrichten sind hiervon ausgenommen. Nutzen Sie diese Einstellung,"
313
  " wenn Sie Advanced Ads auf mehreren Blog installiert haben."
314
 
315
+ #: ../admin/class-advanced-ads-admin.php:926
316
  msgid "Ad Details"
317
  msgstr "Anzeigeneinstellungen"
318
 
319
+ #: ../admin/class-advanced-ads-admin.php:1000
320
  msgid "Ad Settings"
321
  msgstr "Anzeigen-Einstellungen"
322
 
323
+ #: ../admin/class-advanced-ads-admin.php:1075 ../admin/views/overview.php:23
324
  msgid "Ads Dashboard"
325
  msgstr "Anzeigen-Dashboard"
326
 
327
+ #: ../admin/class-advanced-ads-admin.php:1087
328
  msgid "From the ad optimization universe"
329
  msgstr "Neues aus dem Anzeigen-Universum"
330
 
331
+ #: ../admin/class-advanced-ads-admin.php:1096
332
  msgid "Advanced Ads Tutorials"
333
  msgstr "Advanced Ads Tutorials"
334
 
335
+ #: ../admin/class-advanced-ads-admin.php:1107
336
  #, php-format
337
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
338
  msgstr "%d Anzeigen – <a href=\"%s\">verwalten</a> - <a href=\"%s\">neu</a>"
339
 
340
+ #: ../admin/class-advanced-ads-admin.php:1118
341
  msgid "plugin manual and homepage"
342
  msgstr "Plugin-Anleitung und Homepage"
343
 
344
+ #: ../admin/class-advanced-ads-admin.php:1125
345
  msgid "Get the tutorial via email"
346
  msgstr "Tutorial per E-Mail (engl.)\n"
347
 
348
+ #: ../admin/class-advanced-ads-admin.php:1132
349
  msgid "Get AdSense tips via email"
350
  msgstr "AdSense Tips per E-Mail (engl.)"
351
 
352
+ #: ../admin/class-advanced-ads-admin.php:1206
353
+ msgid "Error while trying to register the license. Please contact support."
354
+ msgstr ""
355
+ "Die Lizenz konnte nicht registriert werden. Bitte kontaktieren Sie den "
356
+ "Support."
357
+
358
+ #: ../admin/class-advanced-ads-admin.php:1212
359
+ msgid "Please enter and save a valid license key first."
360
+ msgstr "Bitte speichern Sie zunächst einen gültigen Lizenzschlüssel."
361
+
362
+ #: ../admin/class-advanced-ads-admin.php:1232
363
+ #, php-format
364
+ msgid "License is invalid. Reason: %s"
365
+ msgstr "Die Lizenz ist ungültig. Grund: %s"
366
+
367
  #: ../admin/includes/class-ad-groups-list.php:158
368
  msgid "scheduled"
369
  msgstr "geplant"
411
  msgstr "Anzeigen mit dem höchsten Anzeigengewicht zuerst einblenden."
412
 
413
  #: ../admin/includes/class-ad-groups-list.php:258 ../public/class-advanced-ads.
414
+ #: php:555
415
  msgid "Edit"
416
  msgstr "Bearbeiten"
417
 
583
  msgid "type the title"
584
  msgstr "Geben Sie den Titel ein"
585
 
586
+ #: ../admin/includes/class-notices.php:307
587
  #, php-format
588
  msgid ""
589
  "You don’t seem to have an email address. Please add one to your <a "
592
  "Scheinbar haben Sie keine E-Mail Adresse hinterlegt. Bitte tragen Sie eine "
593
  "in Ihrem <a href=\"%s\">Profil</a> ein."
594
 
595
+ #: ../admin/includes/class-notices.php:325
596
  msgid "How embarrassing. The email server seems to be down. Please try again later."
597
  msgstr ""
598
  "Peinlich. Der E-Mail-Dienst scheint gerade nicht erreichbar zu sein. Bitte "
628
 
629
  #: ../admin/includes/class-overview-widgets.php:61
630
  msgid "Ad Slider"
631
+ msgstr "Anzeigen-Slideshow"
632
 
633
  #: ../admin/includes/class-overview-widgets.php:79 ../admin/includes/notices.php:20
634
  msgid ""
842
  msgid "Yes, send it"
843
  msgstr "Ja, jetzt senden"
844
 
845
+ #: ../admin/views/ad-display-metabox.php:8
846
  msgid "Choose where to display the ad and where to hide it."
847
  msgstr "Wählen Sie, wo die Anzeige sichtbar und wo sie versteckt ist."
848
 
954
  msgstr "Anzahl der Anzeigen die gleichzeitig im Block ausgegeben werden."
955
 
956
  #: ../admin/views/ad-group-list-form-row.php:28 ../public/class-advanced-ads.php:
957
+ #: 552
958
  msgid "Ad"
959
  msgstr "Anzeige"
960
 
1227
  "Tipp: Verwenden Sie dies, um einen Abstand zwischen Anzeige und Inhalt "
1228
  "einzufügen."
1229
 
1230
+ #: ../admin/views/ad-parameters-metabox.php:15 ../classes/ad_ajax_callbacks.php:51
1231
  msgid "size:"
1232
  msgstr "Größe:"
1233
 
1234
+ #: ../admin/views/ad-parameters-metabox.php:16 ../classes/ad_ajax_callbacks.php:52
1235
  msgid "width"
1236
  msgstr "Breite"
1237
 
1238
+ #: ../admin/views/ad-parameters-metabox.php:17 ../classes/ad_ajax_callbacks.php:53
1239
  msgid "height"
1240
  msgstr "Höhe"
1241
 
1249
  msgid "%1$s-%2$s"
1250
  msgstr "%1$s-%2$s"
1251
 
1252
+ #: ../admin/views/ad-submitbox-meta.php:19
1253
  #, php-format
1254
  msgctxt "order of expiry date fields 1: month, 2: day, 3: year"
1255
  msgid "%1$s %2$s, %3$s"
1466
  msgid "Disable ads on this page"
1467
  msgstr "Anzeigen auf dieser Seite deaktivieren."
1468
 
1469
+ #: ../admin/views/setting-license.php:9
1470
+ #, php-format
1471
+ msgid ""
1472
+ "Your license expired. Please visit <a href=\"%s\" target=\"_blank\">the plugin "
1473
+ "page</a> to renew it."
1474
+ msgstr ""
1475
+ "Ihre Lizenz ist abgelaufen. Sie können Sie auf der <a href=\"%s\" "
1476
+ "target=\"_blank\">Pluginseite</a> erweitern."
1477
+
1478
+ #: ../admin/views/setting-license.php:13
1479
+ msgid "License key"
1480
+ msgstr "Lizenzschlüssel"
1481
+
1482
+ #: ../admin/views/setting-license.php:25
1483
+ msgid "Activate License"
1484
+ msgstr "Lizenz aktivieren"
1485
+
1486
+ #: ../admin/views/setting-license.php:28
1487
+ msgid "license key invalid"
1488
+ msgstr "Lizenzschlüssel ungültig"
1489
+
1490
+ #: ../admin/views/setting-license.php:34
1491
+ msgid "active"
1492
+ msgstr "aktiv"
1493
+
1494
+ #: ../admin/views/setting-license.php:35
1495
+ #, php-format
1496
+ msgid "(%d days left)"
1497
+ msgstr "(noch %d Tage)"
1498
+
1499
+ #: ../admin/views/setting-license.php:38
1500
+ msgid ""
1501
+ "1. enter the key and save options; 2. click the activate button behind the "
1502
+ "field"
1503
+ msgstr ""
1504
+ "1. Lizenzschlüssel eingeben und speichern; 2. Aktivierungs-Button hinter dem "
1505
+ "Feld anklicken"
1506
+
1507
  #: ../admin/views/settings-disable-ads.php:3
1508
  msgid "Disable all ads in frontend"
1509
  msgstr "Alle Anzeigen im Frontend deaktivieren"
1691
  msgid "Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)"
1692
  msgstr "PHP code ausführen (umgeben von <code>&lt;?php ?&gt;</code>)"
1693
 
1694
+ #: ../classes/EDD_SL_Plugin_Updater.php:177
1695
+ #, php-format
1696
+ msgid ""
1697
+ "There is a new version of %1$s available. <a target=\"_blank\" "
1698
+ "class=\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
1699
+ msgstr ""
1700
+ "Es ist eine neue Version von %1$s verfügbar. <a target=\"_blank\" "
1701
+ "class=\"thickbox\" href=\"%2$s\">Details für %3$s anzeigen</a>."
1702
+
1703
+ #: ../classes/EDD_SL_Plugin_Updater.php:184
1704
+ #, php-format
1705
+ msgid ""
1706
+ "There is a new version of %1$s available. <a target=\"_blank\" "
1707
+ "class=\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a "
1708
+ "href=\"%4$s\">update now</a>."
1709
+ msgstr ""
1710
+ "Es ist eine neue Version von %1$s verfügbar. <a target=\"_blank\" "
1711
+ "class=\"thickbox\" href=\"%2$s\">Details für %3$s anzeigen</a> oder <a "
1712
+ "href=\"%4$s\">jetzt aktualisieren</a>."
1713
+
1714
+ #: ../classes/EDD_SL_Plugin_Updater.php:324
1715
+ msgid "You do not have permission to install plugin updates"
1716
+ msgstr "Sie haben nicht die notwendigen Rechte um Plugins zu aktualisieren"
1717
+
1718
+ #: ../classes/EDD_SL_Plugin_Updater.php:324
1719
+ msgid "Error"
1720
+ msgstr "Fehler"
1721
+
1722
  #: ../classes/visitor-conditions.php:32
1723
  msgid "mobile device"
1724
  msgstr "mobiles Gerät"
1848
  #: ../modules/gadsense/admin/class-gadsense-admin.php:26 ..
1849
  #: modules/gadsense/admin/views/adsense-ad-parameters.php:30
1850
  msgid "Responsive"
1851
+ msgstr "Responsive"
1852
 
1853
  #: ../modules/gadsense/admin/class-gadsense-admin.php:44
1854
  msgid "The ad details couldn't be retrieved from the ad code"
1930
 
1931
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:29
1932
  msgid "Normal"
1933
+ msgstr "Normal"
1934
 
1935
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:34
1936
  #, php-format
1963
 
1964
  #: ../modules/gadsense/includes/class-gadsense-data.php:42
1965
  msgid "Auto"
1966
+ msgstr "Auto"
1967
 
1968
+ #: ../public/class-advanced-ads.php:302
1969
  #, php-format
1970
  msgid "Advanced Ads Error: %s"
1971
  msgstr "Advanced-Ads-Fehler: %s"
1972
 
1973
+ #: ../public/class-advanced-ads.php:515
1974
  msgctxt "ad group general name"
1975
  msgid "Ad Groups"
1976
  msgstr "Anzeigen-Gruppen"
1977
 
1978
+ #: ../public/class-advanced-ads.php:516
1979
  msgctxt "ad group singular name"
1980
  msgid "Ad Group"
1981
  msgstr "Anzeigen-Gruppe"
1982
 
1983
+ #: ../public/class-advanced-ads.php:517
1984
  msgid "Search Ad Groups"
1985
  msgstr "Anzeigen-Gruppen suchen"
1986
 
1987
+ #: ../public/class-advanced-ads.php:518
1988
  msgid "All Ad Groups"
1989
  msgstr "Alle Anzeigen-Gruppen"
1990
 
1991
+ #: ../public/class-advanced-ads.php:519
1992
  msgid "Parent Ad Groups"
1993
  msgstr "Parent-Anzeigen-Gruppen"
1994
 
1995
+ #: ../public/class-advanced-ads.php:520
1996
  msgid "Parent Ad Groups:"
1997
  msgstr "Parent-Anzeigen-Gruppen"
1998
 
1999
+ #: ../public/class-advanced-ads.php:521
2000
  msgid "Edit Ad Group"
2001
  msgstr "Bearbeite Anzeigen-Gruppe"
2002
 
2003
+ #: ../public/class-advanced-ads.php:522
2004
  msgid "Update Ad Group"
2005
  msgstr "Aktualisiere Anzeigen-Gruppe"
2006
 
2007
+ #: ../public/class-advanced-ads.php:523
2008
  msgid "Add New Ad Group"
2009
  msgstr "Neue Anzeigengruppe hinzufügen"
2010
 
2011
+ #: ../public/class-advanced-ads.php:524
2012
  msgid "New Ad Groups Name"
2013
  msgstr "Neuer Anzeigen-Gruppen-Name"
2014
 
2015
+ #: ../public/class-advanced-ads.php:526
2016
  msgid "No Ad Group found"
2017
  msgstr "Keine Anzeigen-Gruppe gefunden"
2018
 
2019
+ #: ../public/class-advanced-ads.php:553 ../public/class-advanced-ads.php:557
2020
  msgid "New Ad"
2021
  msgstr "Neue Anzeige"
2022
 
2023
+ #: ../public/class-advanced-ads.php:554
2024
  msgid "Add New Ad"
2025
  msgstr "Neue Anzeige hinzufügen"
2026
 
2027
+ #: ../public/class-advanced-ads.php:556
2028
  msgid "Edit Ad"
2029
  msgstr "Anzeige bearbeiten"
2030
 
2031
+ #: ../public/class-advanced-ads.php:558
2032
  msgid "View"
2033
  msgstr "Ansicht"
2034
 
2035
+ #: ../public/class-advanced-ads.php:559
2036
  msgid "View the Ad"
2037
  msgstr "Anzeige ansehen"
2038
 
2039
+ #: ../public/class-advanced-ads.php:560
2040
  msgid "Search Ads"
2041
  msgstr "Anzeigen suchen"
2042
 
2043
+ #: ../public/class-advanced-ads.php:561
2044
  msgid "No Ads found"
2045
  msgstr "Keine Anzeigen gefunden"
2046
 
2047
+ #: ../public/class-advanced-ads.php:562
2048
  msgid "No Ads found in Trash"
2049
  msgstr "Keine Anzeigen im Papierkorb gefunden"
2050
 
2051
+ #: ../public/class-advanced-ads.php:563
2052
  msgid "Parent Ad"
2053
  msgstr "Übergeordnete Anzeige"
languages/advanced-ads.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Advanved Ads\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
8
- "POT-Revision-Date: Fri May 29 2015 09:30:03 GMT+0200 (CEST)\n"
9
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
11
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
@@ -35,7 +35,7 @@ msgstr ""
35
  #: ../admin/class-advanced-ads-admin.php:206 ../admin/class-advanced-ads-admin.
36
  #: php:206 ../admin/views/ad-group-list-form-row.php:25 ../admin/views/ad-group-
37
  #: list-header.php:5 ../admin/views/placements.php:64 ../classes/widget.php:66 ..
38
- #: /public/class-advanced-ads.php:539
39
  msgid "Ads"
40
  msgstr ""
41
 
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Ad Groups"
45
  msgstr ""
46
 
47
- #: ../admin/class-advanced-ads-admin.php:210 ../public/class-advanced-ads.php:513
48
  msgid "Groups"
49
  msgstr ""
50
 
@@ -104,152 +104,165 @@ msgstr ""
104
  msgid "Visitor Conditions"
105
  msgstr ""
106
 
107
- #: ../admin/class-advanced-ads-admin.php:600 ../admin/class-advanced-ads-admin.
108
- #: php:601
109
  msgid "Ad updated."
110
  msgstr ""
111
 
112
  #. translators: %s: date and time of the revision
113
- #: ../admin/class-advanced-ads-admin.php:603
114
  #, php-format
115
  msgid "Ad restored to revision from %s"
116
  msgstr ""
117
 
118
- #: ../admin/class-advanced-ads-admin.php:604
119
  msgid "Ad published."
120
  msgstr ""
121
 
122
- #: ../admin/class-advanced-ads-admin.php:605
123
  msgid "Ad saved."
124
  msgstr ""
125
 
126
- #: ../admin/class-advanced-ads-admin.php:606
127
  msgid "Ad submitted."
128
  msgstr ""
129
 
130
- #: ../admin/class-advanced-ads-admin.php:608
131
  #, php-format
132
  msgid "Ad scheduled for: <strong>%1$s</strong>."
133
  msgstr ""
134
 
135
  #. translators: Publish box date format, see http://php.net/date
136
- #: ../admin/class-advanced-ads-admin.php:610
137
  msgid "M j, Y @ G:i"
138
  msgstr ""
139
 
140
- #: ../admin/class-advanced-ads-admin.php:612
141
  msgid "Ad draft updated."
142
  msgstr ""
143
 
144
- #: ../admin/class-advanced-ads-admin.php:631
145
  #, php-format
146
  msgid "%s ad updated."
147
  msgid_plural "%s ads updated."
148
  msgstr[0] ""
149
  msgstr[1] ""
150
 
151
- #: ../admin/class-advanced-ads-admin.php:632
152
  #, php-format
153
  msgid "%s ad not updated, somebody is editing it."
154
  msgid_plural "%s ads not updated, somebody is editing them."
155
  msgstr[0] ""
156
  msgstr[1] ""
157
 
158
- #: ../admin/class-advanced-ads-admin.php:633
159
  #, php-format
160
  msgid "%s ad permanently deleted."
161
  msgid_plural "%s ads permanently deleted."
162
  msgstr[0] ""
163
  msgstr[1] ""
164
 
165
- #: ../admin/class-advanced-ads-admin.php:634
166
  #, php-format
167
  msgid "%s ad moved to the Trash."
168
  msgid_plural "%s ads moved to the Trash."
169
  msgstr[0] ""
170
  msgstr[1] ""
171
 
172
- #: ../admin/class-advanced-ads-admin.php:635
173
  #, php-format
174
  msgid "%s ad restored from the Trash."
175
  msgid_plural "%s ads restored from the Trash."
176
  msgstr[0] ""
177
  msgstr[1] ""
178
 
179
- #: ../admin/class-advanced-ads-admin.php:672 ../admin/views/settings.php:12
180
  msgid "General"
181
  msgstr ""
182
 
183
- #: ../admin/class-advanced-ads-admin.php:680 ../admin/views/settings.php:18
184
  msgid "Licenses"
185
  msgstr ""
186
 
187
- #: ../admin/class-advanced-ads-admin.php:688
188
  msgid "Disable ads"
189
  msgstr ""
190
 
191
- #: ../admin/class-advanced-ads-admin.php:696
192
  msgid "Hide ads for logged in users"
193
  msgstr ""
194
 
195
- #: ../admin/class-advanced-ads-admin.php:704
196
  msgid "Use advanced JavaScript"
197
  msgstr ""
198
 
199
- #: ../admin/class-advanced-ads-admin.php:712
 
 
 
 
200
  msgid "Priority of content injection filter"
201
  msgstr ""
202
 
203
- #: ../admin/class-advanced-ads-admin.php:720
204
  msgid "Hide ads from bots"
205
  msgstr ""
206
 
207
- #: ../admin/class-advanced-ads-admin.php:728
208
  msgid "Disable notices"
209
  msgstr ""
210
 
211
- #: ../admin/class-advanced-ads-admin.php:784
212
  msgid "(display to all)"
213
  msgstr ""
214
 
215
- #: ../admin/class-advanced-ads-admin.php:785
216
  msgid "Subscriber"
217
  msgstr ""
218
 
219
- #: ../admin/class-advanced-ads-admin.php:786
220
  msgid "Contributor"
221
  msgstr ""
222
 
223
- #: ../admin/class-advanced-ads-admin.php:787
224
  msgid "Author"
225
  msgstr ""
226
 
227
- #: ../admin/class-advanced-ads-admin.php:788
228
  msgid "Editor"
229
  msgstr ""
230
 
231
- #: ../admin/class-advanced-ads-admin.php:789
232
  msgid "Admin"
233
  msgstr ""
234
 
235
- #: ../admin/class-advanced-ads-admin.php:797
236
  msgid "Choose the lowest role a user must have in order to not see any ads."
237
  msgstr ""
238
 
239
- #: ../admin/class-advanced-ads-admin.php:810
240
  #, php-format
241
  msgid ""
242
  "Only enable this if you can and want to use the advanced JavaScript "
243
  "functions described <a href=\"%s\">here</a>."
244
  msgstr ""
245
 
246
- #: ../admin/class-advanced-ads-admin.php:823
 
 
 
 
 
 
 
 
 
247
  msgid ""
248
  "Play with this value in order to change the priority of the injected ads "
249
  "compared to other auto injected elements in the post content."
250
  msgstr ""
251
 
252
- #: ../admin/class-advanced-ads-admin.php:836
253
  #, php-format
254
  msgid ""
255
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
@@ -257,57 +270,70 @@ msgid ""
257
  "Add-On</a>."
258
  msgstr ""
259
 
260
- #: ../admin/class-advanced-ads-admin.php:837
261
  msgid ""
262
  "Disabling this option only makes sense if your ads contain content you want "
263
  "to display to bots (like search engines) or your site is cached and bots "
264
  "could create a cached version without the ads."
265
  msgstr ""
266
 
267
- #: ../admin/class-advanced-ads-admin.php:850
268
  msgid ""
269
  "Disable all internal notices like tips, tutorials and email newsletters but "
270
  "not critical update notices. Disabling notices is recommended if you run "
271
  "multiple blogs with Advanced Ads already.."
272
  msgstr ""
273
 
274
- #: ../admin/class-advanced-ads-admin.php:879
275
  msgid "Ad Details"
276
  msgstr ""
277
 
278
- #: ../admin/class-advanced-ads-admin.php:953
279
  msgid "Ad Settings"
280
  msgstr ""
281
 
282
- #: ../admin/class-advanced-ads-admin.php:1028 ../admin/views/overview.php:23
283
  msgid "Ads Dashboard"
284
  msgstr ""
285
 
286
- #: ../admin/class-advanced-ads-admin.php:1040
287
  msgid "From the ad optimization universe"
288
  msgstr ""
289
 
290
- #: ../admin/class-advanced-ads-admin.php:1049
291
  msgid "Advanced Ads Tutorials"
292
  msgstr ""
293
 
294
- #: ../admin/class-advanced-ads-admin.php:1060
295
  #, php-format
296
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
297
  msgstr ""
298
 
299
- #: ../admin/class-advanced-ads-admin.php:1071
300
  msgid "plugin manual and homepage"
301
  msgstr ""
302
 
303
- #: ../admin/class-advanced-ads-admin.php:1078
304
  msgid "Get the tutorial via email"
305
  msgstr ""
306
 
307
- #: ../admin/class-advanced-ads-admin.php:1085
308
  msgid "Get AdSense tips via email"
309
  msgstr ""
310
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  #: ../admin/includes/class-ad-groups-list.php:158
312
  msgid "scheduled"
313
  msgstr ""
@@ -355,7 +381,7 @@ msgid "Display ads with the highest ad weight first"
355
  msgstr ""
356
 
357
  #: ../admin/includes/class-ad-groups-list.php:258 ../public/class-advanced-ads.
358
- #: php:543
359
  msgid "Edit"
360
  msgstr ""
361
 
@@ -505,14 +531,14 @@ msgstr ""
505
  msgid "type the title"
506
  msgstr ""
507
 
508
- #: ../admin/includes/class-notices.php:304
509
  #, php-format
510
  msgid ""
511
  "You don’t seem to have an email address. Please add one to your <a "
512
  "href=\"%s\">WordPress profile</a>"
513
  msgstr ""
514
 
515
- #: ../admin/includes/class-notices.php:322
516
  msgid "How embarrassing. The email server seems to be down. Please try again later."
517
  msgstr ""
518
 
@@ -739,7 +765,7 @@ msgstr ""
739
  msgid "Yes, send it"
740
  msgstr ""
741
 
742
- #: ../admin/views/ad-display-metabox.php:7
743
  msgid "Choose where to display the ad and where to hide it."
744
  msgstr ""
745
 
@@ -847,7 +873,7 @@ msgid "Number of ads to display in the block"
847
  msgstr ""
848
 
849
  #: ../admin/views/ad-group-list-form-row.php:28 ../public/class-advanced-ads.php:
850
- #: 540
851
  msgid "Ad"
852
  msgstr ""
853
 
@@ -1094,15 +1120,15 @@ msgstr ""
1094
  msgid "tip: use this to add a margin around the ad"
1095
  msgstr ""
1096
 
1097
- #: ../admin/views/ad-parameters-metabox.php:15 ../classes/ad_ajax_callbacks.php:50
1098
  msgid "size:"
1099
  msgstr ""
1100
 
1101
- #: ../admin/views/ad-parameters-metabox.php:16 ../classes/ad_ajax_callbacks.php:51
1102
  msgid "width"
1103
  msgstr ""
1104
 
1105
- #: ../admin/views/ad-parameters-metabox.php:17 ../classes/ad_ajax_callbacks.php:52
1106
  msgid "height"
1107
  msgstr ""
1108
 
@@ -1116,7 +1142,7 @@ msgctxt "1: month number (01, 02, etc.), 2: month abbreviation"
1116
  msgid "%1$s-%2$s"
1117
  msgstr ""
1118
 
1119
- #: ../admin/views/ad-submitbox-meta.php:20
1120
  #, php-format
1121
  msgctxt "order of expiry date fields 1: month, 2: day, 3: year"
1122
  msgid "%1$s %2$s, %3$s"
@@ -1302,6 +1328,40 @@ msgstr ""
1302
  msgid "Disable ads on this page"
1303
  msgstr ""
1304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1305
  #: ../admin/views/settings-disable-ads.php:3
1306
  msgid "Disable all ads in frontend"
1307
  msgstr ""
@@ -1471,6 +1531,29 @@ msgstr ""
1471
  msgid "Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)"
1472
  msgstr ""
1473
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1474
  #: ../classes/visitor-conditions.php:32
1475
  msgid "mobile device"
1476
  msgstr ""
@@ -1702,89 +1785,89 @@ msgstr ""
1702
  msgid "Auto"
1703
  msgstr ""
1704
 
1705
- #: ../public/class-advanced-ads.php:299
1706
  #, php-format
1707
  msgid "Advanced Ads Error: %s"
1708
  msgstr ""
1709
 
1710
- #: ../public/class-advanced-ads.php:503
1711
  msgctxt "ad group general name"
1712
  msgid "Ad Groups"
1713
  msgstr ""
1714
 
1715
- #: ../public/class-advanced-ads.php:504
1716
  msgctxt "ad group singular name"
1717
  msgid "Ad Group"
1718
  msgstr ""
1719
 
1720
- #: ../public/class-advanced-ads.php:505
1721
  msgid "Search Ad Groups"
1722
  msgstr ""
1723
 
1724
- #: ../public/class-advanced-ads.php:506
1725
  msgid "All Ad Groups"
1726
  msgstr ""
1727
 
1728
- #: ../public/class-advanced-ads.php:507
1729
  msgid "Parent Ad Groups"
1730
  msgstr ""
1731
 
1732
- #: ../public/class-advanced-ads.php:508
1733
  msgid "Parent Ad Groups:"
1734
  msgstr ""
1735
 
1736
- #: ../public/class-advanced-ads.php:509
1737
  msgid "Edit Ad Group"
1738
  msgstr ""
1739
 
1740
- #: ../public/class-advanced-ads.php:510
1741
  msgid "Update Ad Group"
1742
  msgstr ""
1743
 
1744
- #: ../public/class-advanced-ads.php:511
1745
  msgid "Add New Ad Group"
1746
  msgstr ""
1747
 
1748
- #: ../public/class-advanced-ads.php:512
1749
  msgid "New Ad Groups Name"
1750
  msgstr ""
1751
 
1752
- #: ../public/class-advanced-ads.php:514
1753
  msgid "No Ad Group found"
1754
  msgstr ""
1755
 
1756
- #: ../public/class-advanced-ads.php:541 ../public/class-advanced-ads.php:545
1757
  msgid "New Ad"
1758
  msgstr ""
1759
 
1760
- #: ../public/class-advanced-ads.php:542
1761
  msgid "Add New Ad"
1762
  msgstr ""
1763
 
1764
- #: ../public/class-advanced-ads.php:544
1765
  msgid "Edit Ad"
1766
  msgstr ""
1767
 
1768
- #: ../public/class-advanced-ads.php:546
1769
  msgid "View"
1770
  msgstr ""
1771
 
1772
- #: ../public/class-advanced-ads.php:547
1773
  msgid "View the Ad"
1774
  msgstr ""
1775
 
1776
- #: ../public/class-advanced-ads.php:548
1777
  msgid "Search Ads"
1778
  msgstr ""
1779
 
1780
- #: ../public/class-advanced-ads.php:549
1781
  msgid "No Ads found"
1782
  msgstr ""
1783
 
1784
- #: ../public/class-advanced-ads.php:550
1785
  msgid "No Ads found in Trash"
1786
  msgstr ""
1787
 
1788
- #: ../public/class-advanced-ads.php:551
1789
  msgid "Parent Ad"
1790
  msgstr ""
5
  "Project-Id-Version: Advanved Ads\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
8
+ "POT-Revision-Date: Sat Jun 20 2015 11:53:52 GMT+0200 (CEST)\n"
9
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
11
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
35
  #: ../admin/class-advanced-ads-admin.php:206 ../admin/class-advanced-ads-admin.
36
  #: php:206 ../admin/views/ad-group-list-form-row.php:25 ../admin/views/ad-group-
37
  #: list-header.php:5 ../admin/views/placements.php:64 ../classes/widget.php:66 ..
38
+ #: /public/class-advanced-ads.php:551
39
  msgid "Ads"
40
  msgstr ""
41
 
44
  msgid "Ad Groups"
45
  msgstr ""
46
 
47
+ #: ../admin/class-advanced-ads-admin.php:210 ../public/class-advanced-ads.php:525
48
  msgid "Groups"
49
  msgstr ""
50
 
104
  msgid "Visitor Conditions"
105
  msgstr ""
106
 
107
+ #: ../admin/class-advanced-ads-admin.php:601 ../admin/class-advanced-ads-admin.
108
+ #: php:602
109
  msgid "Ad updated."
110
  msgstr ""
111
 
112
  #. translators: %s: date and time of the revision
113
+ #: ../admin/class-advanced-ads-admin.php:604
114
  #, php-format
115
  msgid "Ad restored to revision from %s"
116
  msgstr ""
117
 
118
+ #: ../admin/class-advanced-ads-admin.php:605
119
  msgid "Ad published."
120
  msgstr ""
121
 
122
+ #: ../admin/class-advanced-ads-admin.php:606
123
  msgid "Ad saved."
124
  msgstr ""
125
 
126
+ #: ../admin/class-advanced-ads-admin.php:607
127
  msgid "Ad submitted."
128
  msgstr ""
129
 
130
+ #: ../admin/class-advanced-ads-admin.php:609
131
  #, php-format
132
  msgid "Ad scheduled for: <strong>%1$s</strong>."
133
  msgstr ""
134
 
135
  #. translators: Publish box date format, see http://php.net/date
136
+ #: ../admin/class-advanced-ads-admin.php:611
137
  msgid "M j, Y @ G:i"
138
  msgstr ""
139
 
140
+ #: ../admin/class-advanced-ads-admin.php:613
141
  msgid "Ad draft updated."
142
  msgstr ""
143
 
144
+ #: ../admin/class-advanced-ads-admin.php:632
145
  #, php-format
146
  msgid "%s ad updated."
147
  msgid_plural "%s ads updated."
148
  msgstr[0] ""
149
  msgstr[1] ""
150
 
151
+ #: ../admin/class-advanced-ads-admin.php:633
152
  #, php-format
153
  msgid "%s ad not updated, somebody is editing it."
154
  msgid_plural "%s ads not updated, somebody is editing them."
155
  msgstr[0] ""
156
  msgstr[1] ""
157
 
158
+ #: ../admin/class-advanced-ads-admin.php:634
159
  #, php-format
160
  msgid "%s ad permanently deleted."
161
  msgid_plural "%s ads permanently deleted."
162
  msgstr[0] ""
163
  msgstr[1] ""
164
 
165
+ #: ../admin/class-advanced-ads-admin.php:635
166
  #, php-format
167
  msgid "%s ad moved to the Trash."
168
  msgid_plural "%s ads moved to the Trash."
169
  msgstr[0] ""
170
  msgstr[1] ""
171
 
172
+ #: ../admin/class-advanced-ads-admin.php:636
173
  #, php-format
174
  msgid "%s ad restored from the Trash."
175
  msgid_plural "%s ads restored from the Trash."
176
  msgstr[0] ""
177
  msgstr[1] ""
178
 
179
+ #: ../admin/class-advanced-ads-admin.php:673 ../admin/views/settings.php:12
180
  msgid "General"
181
  msgstr ""
182
 
183
+ #: ../admin/class-advanced-ads-admin.php:681 ../admin/views/settings.php:18
184
  msgid "Licenses"
185
  msgstr ""
186
 
187
+ #: ../admin/class-advanced-ads-admin.php:689
188
  msgid "Disable ads"
189
  msgstr ""
190
 
191
+ #: ../admin/class-advanced-ads-admin.php:697
192
  msgid "Hide ads for logged in users"
193
  msgstr ""
194
 
195
+ #: ../admin/class-advanced-ads-admin.php:705
196
  msgid "Use advanced JavaScript"
197
  msgstr ""
198
 
199
+ #: ../admin/class-advanced-ads-admin.php:713
200
+ msgid "Unlimited ad injection"
201
+ msgstr ""
202
+
203
+ #: ../admin/class-advanced-ads-admin.php:721
204
  msgid "Priority of content injection filter"
205
  msgstr ""
206
 
207
+ #: ../admin/class-advanced-ads-admin.php:729
208
  msgid "Hide ads from bots"
209
  msgstr ""
210
 
211
+ #: ../admin/class-advanced-ads-admin.php:737
212
  msgid "Disable notices"
213
  msgstr ""
214
 
215
+ #: ../admin/class-advanced-ads-admin.php:795
216
  msgid "(display to all)"
217
  msgstr ""
218
 
219
+ #: ../admin/class-advanced-ads-admin.php:796
220
  msgid "Subscriber"
221
  msgstr ""
222
 
223
+ #: ../admin/class-advanced-ads-admin.php:797
224
  msgid "Contributor"
225
  msgstr ""
226
 
227
+ #: ../admin/class-advanced-ads-admin.php:798
228
  msgid "Author"
229
  msgstr ""
230
 
231
+ #: ../admin/class-advanced-ads-admin.php:799
232
  msgid "Editor"
233
  msgstr ""
234
 
235
+ #: ../admin/class-advanced-ads-admin.php:800
236
  msgid "Admin"
237
  msgstr ""
238
 
239
+ #: ../admin/class-advanced-ads-admin.php:808
240
  msgid "Choose the lowest role a user must have in order to not see any ads."
241
  msgstr ""
242
 
243
+ #: ../admin/class-advanced-ads-admin.php:821
244
  #, php-format
245
  msgid ""
246
  "Only enable this if you can and want to use the advanced JavaScript "
247
  "functions described <a href=\"%s\">here</a>."
248
  msgstr ""
249
 
250
+ #: ../admin/class-advanced-ads-admin.php:834
251
+ msgid ""
252
+ "Some plugins and themes trigger ad injection where it shouldn’t happen. "
253
+ "Therefore, Advanced Ads ignores injected placements on non-singular pages "
254
+ "and outside the loop. However, this can cause problems with some themes. You "
255
+ "can enable this option if you don’t see ads or want to enable ad injections "
256
+ "on archive pages AT YOUR OWN RISK."
257
+ msgstr ""
258
+
259
+ #: ../admin/class-advanced-ads-admin.php:848
260
  msgid ""
261
  "Play with this value in order to change the priority of the injected ads "
262
  "compared to other auto injected elements in the post content."
263
  msgstr ""
264
 
265
+ #: ../admin/class-advanced-ads-admin.php:861
266
  #, php-format
267
  msgid ""
268
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
270
  "Add-On</a>."
271
  msgstr ""
272
 
273
+ #: ../admin/class-advanced-ads-admin.php:862
274
  msgid ""
275
  "Disabling this option only makes sense if your ads contain content you want "
276
  "to display to bots (like search engines) or your site is cached and bots "
277
  "could create a cached version without the ads."
278
  msgstr ""
279
 
280
+ #: ../admin/class-advanced-ads-admin.php:875
281
  msgid ""
282
  "Disable all internal notices like tips, tutorials and email newsletters but "
283
  "not critical update notices. Disabling notices is recommended if you run "
284
  "multiple blogs with Advanced Ads already.."
285
  msgstr ""
286
 
287
+ #: ../admin/class-advanced-ads-admin.php:926
288
  msgid "Ad Details"
289
  msgstr ""
290
 
291
+ #: ../admin/class-advanced-ads-admin.php:1000
292
  msgid "Ad Settings"
293
  msgstr ""
294
 
295
+ #: ../admin/class-advanced-ads-admin.php:1075 ../admin/views/overview.php:23
296
  msgid "Ads Dashboard"
297
  msgstr ""
298
 
299
+ #: ../admin/class-advanced-ads-admin.php:1087
300
  msgid "From the ad optimization universe"
301
  msgstr ""
302
 
303
+ #: ../admin/class-advanced-ads-admin.php:1096
304
  msgid "Advanced Ads Tutorials"
305
  msgstr ""
306
 
307
+ #: ../admin/class-advanced-ads-admin.php:1107
308
  #, php-format
309
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
310
  msgstr ""
311
 
312
+ #: ../admin/class-advanced-ads-admin.php:1118
313
  msgid "plugin manual and homepage"
314
  msgstr ""
315
 
316
+ #: ../admin/class-advanced-ads-admin.php:1125
317
  msgid "Get the tutorial via email"
318
  msgstr ""
319
 
320
+ #: ../admin/class-advanced-ads-admin.php:1132
321
  msgid "Get AdSense tips via email"
322
  msgstr ""
323
 
324
+ #: ../admin/class-advanced-ads-admin.php:1206
325
+ msgid "Error while trying to register the license. Please contact support."
326
+ msgstr ""
327
+
328
+ #: ../admin/class-advanced-ads-admin.php:1212
329
+ msgid "Please enter and save a valid license key first."
330
+ msgstr ""
331
+
332
+ #: ../admin/class-advanced-ads-admin.php:1232
333
+ #, php-format
334
+ msgid "License is invalid. Reason: %s"
335
+ msgstr ""
336
+
337
  #: ../admin/includes/class-ad-groups-list.php:158
338
  msgid "scheduled"
339
  msgstr ""
381
  msgstr ""
382
 
383
  #: ../admin/includes/class-ad-groups-list.php:258 ../public/class-advanced-ads.
384
+ #: php:555
385
  msgid "Edit"
386
  msgstr ""
387
 
531
  msgid "type the title"
532
  msgstr ""
533
 
534
+ #: ../admin/includes/class-notices.php:307
535
  #, php-format
536
  msgid ""
537
  "You don’t seem to have an email address. Please add one to your <a "
538
  "href=\"%s\">WordPress profile</a>"
539
  msgstr ""
540
 
541
+ #: ../admin/includes/class-notices.php:325
542
  msgid "How embarrassing. The email server seems to be down. Please try again later."
543
  msgstr ""
544
 
765
  msgid "Yes, send it"
766
  msgstr ""
767
 
768
+ #: ../admin/views/ad-display-metabox.php:8
769
  msgid "Choose where to display the ad and where to hide it."
770
  msgstr ""
771
 
873
  msgstr ""
874
 
875
  #: ../admin/views/ad-group-list-form-row.php:28 ../public/class-advanced-ads.php:
876
+ #: 552
877
  msgid "Ad"
878
  msgstr ""
879
 
1120
  msgid "tip: use this to add a margin around the ad"
1121
  msgstr ""
1122
 
1123
+ #: ../admin/views/ad-parameters-metabox.php:15 ../classes/ad_ajax_callbacks.php:51
1124
  msgid "size:"
1125
  msgstr ""
1126
 
1127
+ #: ../admin/views/ad-parameters-metabox.php:16 ../classes/ad_ajax_callbacks.php:52
1128
  msgid "width"
1129
  msgstr ""
1130
 
1131
+ #: ../admin/views/ad-parameters-metabox.php:17 ../classes/ad_ajax_callbacks.php:53
1132
  msgid "height"
1133
  msgstr ""
1134
 
1142
  msgid "%1$s-%2$s"
1143
  msgstr ""
1144
 
1145
+ #: ../admin/views/ad-submitbox-meta.php:19
1146
  #, php-format
1147
  msgctxt "order of expiry date fields 1: month, 2: day, 3: year"
1148
  msgid "%1$s %2$s, %3$s"
1328
  msgid "Disable ads on this page"
1329
  msgstr ""
1330
 
1331
+ #: ../admin/views/setting-license.php:9
1332
+ #, php-format
1333
+ msgid ""
1334
+ "Your license expired. Please visit <a href=\"%s\" target=\"_blank\">the plugin "
1335
+ "page</a> to renew it."
1336
+ msgstr ""
1337
+
1338
+ #: ../admin/views/setting-license.php:13
1339
+ msgid "License key"
1340
+ msgstr ""
1341
+
1342
+ #: ../admin/views/setting-license.php:25
1343
+ msgid "Activate License"
1344
+ msgstr ""
1345
+
1346
+ #: ../admin/views/setting-license.php:28
1347
+ msgid "license key invalid"
1348
+ msgstr ""
1349
+
1350
+ #: ../admin/views/setting-license.php:34
1351
+ msgid "active"
1352
+ msgstr ""
1353
+
1354
+ #: ../admin/views/setting-license.php:35
1355
+ #, php-format
1356
+ msgid "(%d days left)"
1357
+ msgstr ""
1358
+
1359
+ #: ../admin/views/setting-license.php:38
1360
+ msgid ""
1361
+ "1. enter the key and save options; 2. click the activate button behind the "
1362
+ "field"
1363
+ msgstr ""
1364
+
1365
  #: ../admin/views/settings-disable-ads.php:3
1366
  msgid "Disable all ads in frontend"
1367
  msgstr ""
1531
  msgid "Execute PHP code (wrapped in <code>&lt;?php ?&gt;</code>)"
1532
  msgstr ""
1533
 
1534
+ #: ../classes/EDD_SL_Plugin_Updater.php:177
1535
+ #, php-format
1536
+ msgid ""
1537
+ "There is a new version of %1$s available. <a target=\"_blank\" "
1538
+ "class=\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
1539
+ msgstr ""
1540
+
1541
+ #: ../classes/EDD_SL_Plugin_Updater.php:184
1542
+ #, php-format
1543
+ msgid ""
1544
+ "There is a new version of %1$s available. <a target=\"_blank\" "
1545
+ "class=\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a "
1546
+ "href=\"%4$s\">update now</a>."
1547
+ msgstr ""
1548
+
1549
+ #: ../classes/EDD_SL_Plugin_Updater.php:324
1550
+ msgid "You do not have permission to install plugin updates"
1551
+ msgstr ""
1552
+
1553
+ #: ../classes/EDD_SL_Plugin_Updater.php:324
1554
+ msgid "Error"
1555
+ msgstr ""
1556
+
1557
  #: ../classes/visitor-conditions.php:32
1558
  msgid "mobile device"
1559
  msgstr ""
1785
  msgid "Auto"
1786
  msgstr ""
1787
 
1788
+ #: ../public/class-advanced-ads.php:302
1789
  #, php-format
1790
  msgid "Advanced Ads Error: %s"
1791
  msgstr ""
1792
 
1793
+ #: ../public/class-advanced-ads.php:515
1794
  msgctxt "ad group general name"
1795
  msgid "Ad Groups"
1796
  msgstr ""
1797
 
1798
+ #: ../public/class-advanced-ads.php:516
1799
  msgctxt "ad group singular name"
1800
  msgid "Ad Group"
1801
  msgstr ""
1802
 
1803
+ #: ../public/class-advanced-ads.php:517
1804
  msgid "Search Ad Groups"
1805
  msgstr ""
1806
 
1807
+ #: ../public/class-advanced-ads.php:518
1808
  msgid "All Ad Groups"
1809
  msgstr ""
1810
 
1811
+ #: ../public/class-advanced-ads.php:519
1812
  msgid "Parent Ad Groups"
1813
  msgstr ""
1814
 
1815
+ #: ../public/class-advanced-ads.php:520
1816
  msgid "Parent Ad Groups:"
1817
  msgstr ""
1818
 
1819
+ #: ../public/class-advanced-ads.php:521
1820
  msgid "Edit Ad Group"
1821
  msgstr ""
1822
 
1823
+ #: ../public/class-advanced-ads.php:522
1824
  msgid "Update Ad Group"
1825
  msgstr ""
1826
 
1827
+ #: ../public/class-advanced-ads.php:523
1828
  msgid "Add New Ad Group"
1829
  msgstr ""
1830
 
1831
+ #: ../public/class-advanced-ads.php:524
1832
  msgid "New Ad Groups Name"
1833
  msgstr ""
1834
 
1835
+ #: ../public/class-advanced-ads.php:526
1836
  msgid "No Ad Group found"
1837
  msgstr ""
1838
 
1839
+ #: ../public/class-advanced-ads.php:553 ../public/class-advanced-ads.php:557
1840
  msgid "New Ad"
1841
  msgstr ""
1842
 
1843
+ #: ../public/class-advanced-ads.php:554
1844
  msgid "Add New Ad"
1845
  msgstr ""
1846
 
1847
+ #: ../public/class-advanced-ads.php:556
1848
  msgid "Edit Ad"
1849
  msgstr ""
1850
 
1851
+ #: ../public/class-advanced-ads.php:558
1852
  msgid "View"
1853
  msgstr ""
1854
 
1855
+ #: ../public/class-advanced-ads.php:559
1856
  msgid "View the Ad"
1857
  msgstr ""
1858
 
1859
+ #: ../public/class-advanced-ads.php:560
1860
  msgid "Search Ads"
1861
  msgstr ""
1862
 
1863
+ #: ../public/class-advanced-ads.php:561
1864
  msgid "No Ads found"
1865
  msgstr ""
1866
 
1867
+ #: ../public/class-advanced-ads.php:562
1868
  msgid "No Ads found in Trash"
1869
  msgstr ""
1870
 
1871
+ #: ../public/class-advanced-ads.php:563
1872
  msgid "Parent Ad"
1873
  msgstr ""
modules/display-by-query/display-by-query.class.php CHANGED
@@ -268,10 +268,15 @@ class Advanced_Ads_Module_Display_By_Query {
268
  // check is_attachment
269
  // @link https://codex.wordpress.org/Conditional_Tags#An_Attachment
270
  case 'is_attachment' :
 
 
 
 
271
  // check !is_main_query
272
  // @link https://codex.wordpress.org/Function_Reference/is_main_query
273
  case 'is_main_query' :
274
- if ( $_cond_value == 0 && isset( $query[ $_cond_key ] ) && $query[ $_cond_key ] ) {
 
275
  return false;
276
  }
277
  break;
268
  // check is_attachment
269
  // @link https://codex.wordpress.org/Conditional_Tags#An_Attachment
270
  case 'is_attachment' :
271
+ if ( $_cond_value == 0 && isset( $query[ $_cond_key ] ) && $query[ $_cond_key ] ) {
272
+ return false;
273
+ }
274
+ break;
275
  // check !is_main_query
276
  // @link https://codex.wordpress.org/Function_Reference/is_main_query
277
  case 'is_main_query' :
278
+ // the usage is reversed for this: if this is not main query reject when off
279
+ if ( $_cond_value == 0 && isset( $query[ $_cond_key ] ) && ! $query[ $_cond_key ] ) {
280
  return false;
281
  }
282
  break;
modules/gadsense/includes/class-ad-type-adsense.php CHANGED
@@ -134,8 +134,8 @@ class Advanced_Ads_Ad_Type_Adsense extends Advanced_Ads_Ad_Type_Abstract {
134
 
135
  if ( ! isset($content->unitType) || empty($pub_id) ) {
136
  return $output; }
 
137
  if ( ! isset($gadsense['google_loaded']) || ! $gadsense['google_loaded'] ) {
138
- $output .= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>' . "\n";
139
  $gadsense['google_loaded'] = true;
140
  }
141
 
@@ -151,6 +151,7 @@ class Advanced_Ads_Ad_Type_Adsense extends Advanced_Ads_Ad_Type_Abstract {
151
  }
152
 
153
  if ( 'responsive' != $content->unitType ) {
 
154
  $output .= '<ins class="adsbygoogle" ';
155
  $output .= 'style="display:inline-block;width:' . $ad->width . 'px;height:' . $ad->height . 'px;" ' . "\n";
156
  $output .= 'data-ad-client="ca-' . $pub_id . '" ' . "\n";
@@ -188,6 +189,7 @@ class Advanced_Ads_Ad_Type_Adsense extends Advanced_Ads_Ad_Type_Abstract {
188
  $output .= 'data-ad-client="ca-' . $pub_id . '" ' . "\n";
189
  $output .= 'data-ad-slot="' . $slot_id . '" ' . "\n";
190
  $output .= 'data-ad-format="auto"></ins>' . "\n";
 
191
  $output .= '<script> ' . "\n";
192
  $output .= apply_filters( 'advanced-ads-gadsense-responsive-adsbygoogle', '(adsbygoogle = window.adsbygoogle || []).push({}); ' . "\n");
193
  $output .= '</script>' . "\n";
134
 
135
  if ( ! isset($content->unitType) || empty($pub_id) ) {
136
  return $output; }
137
+ // deprecated since the adsbygoogle.js file is now always loaded
138
  if ( ! isset($gadsense['google_loaded']) || ! $gadsense['google_loaded'] ) {
 
139
  $gadsense['google_loaded'] = true;
140
  }
141
 
151
  }
152
 
153
  if ( 'responsive' != $content->unitType ) {
154
+ $output .= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>' . "\n";
155
  $output .= '<ins class="adsbygoogle" ';
156
  $output .= 'style="display:inline-block;width:' . $ad->width . 'px;height:' . $ad->height . 'px;" ' . "\n";
157
  $output .= 'data-ad-client="ca-' . $pub_id . '" ' . "\n";
189
  $output .= 'data-ad-client="ca-' . $pub_id . '" ' . "\n";
190
  $output .= 'data-ad-slot="' . $slot_id . '" ' . "\n";
191
  $output .= 'data-ad-format="auto"></ins>' . "\n";
192
+ $output .= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>' . "\n";
193
  $output .= '<script> ' . "\n";
194
  $output .= apply_filters( 'advanced-ads-gadsense-responsive-adsbygoogle', '(adsbygoogle = window.adsbygoogle || []).push({}); ' . "\n");
195
  $output .= '</script>' . "\n";
public/class-advanced-ads.php CHANGED
@@ -25,7 +25,7 @@ class Advanced_Ads {
25
  * @var string
26
  */
27
 
28
- const VERSION = '1.6';
29
 
30
  /**
31
  * post type slug
25
  * @var string
26
  */
27
 
28
+ const VERSION = '1.6.1';
29
 
30
  /**
31
  * post type slug
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 3.5, PHP 5.3
6
  Tested up to: 4.2.2
7
- Stable tag: 1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -175,6 +175,13 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
175
 
176
  == Changelog ==
177
 
 
 
 
 
 
 
 
178
  = 1.6 =
179
 
180
  THIS IS A MAJOR UPDATE, PLEASE HELP ME WITH YOUR BUG REPORTS
@@ -188,6 +195,7 @@ Changes you can test:
188
  * added option to allow ad injections on archive pages and outside the loop
189
  * minor layout fix for update button after selecting rich content ad type
190
  * fixed timestamp issues using GMT only now (might shift old ad expiry timestamps by timezone offset)
 
191
 
192
  Changes under the hood:
193
 
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 3.5, PHP 5.3
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
175
 
176
  == Changelog ==
177
 
178
+ = 1.6.1 =
179
+
180
+ * fix secondary query condition (this was revered in 1.6)
181
+ * fix wrong constant displaying errors on add-on license page
182
+ * display license expire date for add-ons
183
+ * prevent accidental removal of license keys
184
+
185
  = 1.6 =
186
 
187
  THIS IS A MAJOR UPDATE, PLEASE HELP ME WITH YOUR BUG REPORTS
195
  * added option to allow ad injections on archive pages and outside the loop
196
  * minor layout fix for update button after selecting rich content ad type
197
  * fixed timestamp issues using GMT only now (might shift old ad expiry timestamps by timezone offset)
198
+ * load adsense script with every ad request
199
 
200
  Changes under the hood:
201