Advanced Ads - Version 1.6.8.1

Version Description

  • added menu page to get support from within your dashboard
  • stricter control of ad group archives not being public
  • fix: content-injection requires more than one item per level for p-tags only
  • updated German translation
Download this release

Release Info

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

Code changes from version 1.6.8 to 1.6.8.1

admin/class-advanced-ads-admin.php CHANGED
@@ -256,6 +256,10 @@ class Advanced_Ads_Admin {
256
  add_submenu_page(
257
  null, __( 'Advanced Ads Debugging', ADVADS_SLUG ), __( 'Debug', ADVADS_SLUG ), 'manage_options', $this->plugin_slug . '-debug', array($this, 'display_plugin_debug_page')
258
  );
 
 
 
 
259
 
260
  // allows extensions to insert sub menu pages
261
  do_action( 'advanced-ads-submenu-pages', $this->plugin_slug );
@@ -317,6 +321,40 @@ class Advanced_Ads_Admin {
317
  include ADVADS_BASE_PATH . 'admin/views/debug.php';
318
  }
319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  /**
321
  * Render the ad group page
322
  *
256
  add_submenu_page(
257
  null, __( 'Advanced Ads Debugging', ADVADS_SLUG ), __( 'Debug', ADVADS_SLUG ), 'manage_options', $this->plugin_slug . '-debug', array($this, 'display_plugin_debug_page')
258
  );
259
+ // add support page
260
+ add_submenu_page(
261
+ $this->plugin_slug, __( 'Support', ADVADS_SLUG ), __( 'Support', ADVADS_SLUG ), 'manage_options', $this->plugin_slug . '-support', array($this, 'display_support_page')
262
+ );
263
 
264
  // allows extensions to insert sub menu pages
265
  do_action( 'advanced-ads-submenu-pages', $this->plugin_slug );
321
  include ADVADS_BASE_PATH . 'admin/views/debug.php';
322
  }
323
 
324
+ /**
325
+ * Render the support page
326
+ *
327
+ * @since 1.6.8.1
328
+ */
329
+ public function display_support_page() {
330
+ // process email
331
+
332
+ $mail_sent = false;
333
+ global $current_user;
334
+ $user = wp_get_current_user();
335
+
336
+ $email = $user->user_email !== '' ? $user->user_email : '';
337
+ $name = $user->first_name !== '' ? $user->first_name . ' ' . $user->last_name : $user->user_login;
338
+ $message = '';
339
+
340
+ if( isset( $_POST['advads_support']['email'] ) ){
341
+
342
+ $email = trim( $_POST['advads_support']['email'] );
343
+ $name = trim( $_POST['advads_support']['name'] );
344
+ $message = trim( $_POST['advads_support']['message'] );
345
+ if( '' !== $email ){
346
+ $headers = 'From: '. $name .' <' . $email . '>' . "\r\n";
347
+ $content = $message;
348
+ $content .= "\r\n\r\n Name: " . $name;
349
+ $content .= "\r\n URL: " . home_url();
350
+
351
+ $mail_sent = wp_mail( 'support@wpadvancedads.com', 'Support for ' . home_url(), $content, $headers );
352
+ }
353
+ }
354
+
355
+ include ADVADS_BASE_PATH . 'admin/views/support.php';
356
+ }
357
+
358
  /**
359
  * Render the ad group page
360
  *
admin/views/support.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * the view for the support page
4
+ */
5
+ ?><div class="wrap">
6
+ <?php screen_icon(); ?>
7
+ <h1><?php echo esc_html( get_admin_page_title() ); ?></h1>
8
+ <?php if( $mail_sent )
9
+ ?><div class="notice updated"><p><?php _e( 'Email was successfully sent.', ADVADS_SLUG ); ?></p></div><?php
10
+ ?><h2><?php _e( 'Search', ADVADS_SLUG ); ?></h2>
11
+ <p><?php _e( 'Use the following form to search for solutions in the manual on wpadvancedads.com', ADVADS_SLUG ); ?></p>
12
+ <form action="https://wpadvancedads.com/" method="get">
13
+ <input type="search" name="s"/>
14
+ <input type="submit" value="<?php _e( 'search', ADVADS_SLUG ); ?>">
15
+ </form>
16
+
17
+ <h2><?php _e( 'Contact', ADVADS_SLUG ); ?></h2>
18
+ <p><?php printf(__( 'Please search the manual for a solution and take a look at <a href="%s" target="_blank">Ads not showing up?</a> before contacting me for help.', ADVADS_SLUG ), ADVADS_URL . 'manual/ads-not-showing-up/' ); ?></p>
19
+ <form action="" method="post">
20
+ <label><?php _e( 'your email', ADVADS_SLUG ); ?><input type="email" name="advads_support[email]" value="<?php echo $email; ?>"/></label><br/>
21
+ <label><?php _e( 'your name', ADVADS_SLUG ); ?><input type="text" name="advads_support[name]" value="<?php echo $name; ?>"/></label><br/>
22
+ <label><?php _e( 'your message', ADVADS_SLUG ); ?><br/><textarea name="advads_support[message]" cols="40" rows="10"><?php echo $message; ?></textarea></label><br/>
23
+ <input type="submit" value="<?php _e( 'send', ADVADS_SLUG ); ?>">
24
+ </form>
25
+ </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.6.8
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.8' );
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.8.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.8.1' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * Autoloading, modules and functions
classes/ad_placements.php CHANGED
@@ -327,15 +327,17 @@ class Advanced_Ads_Placements {
327
  $items = $xpath->query('/html/body/' . $tag);
328
  $offset = null;
329
 
330
- // if there are to few (one or less) items at this level test nesting
331
- if ($items->length < 2) {
 
332
  $items = $xpath->query('/html/body/*/' . $tag);
333
  }
334
  // try third level as last resort
335
- if ($items->length < 2) {
336
  $items = $xpath->query('/html/body/*/*/' . $tag);
337
  }
338
 
 
339
  // filter empty tags from items
340
  $paragraphs = array();
341
  foreach ($items as $item) {
327
  $items = $xpath->query('/html/body/' . $tag);
328
  $offset = null;
329
 
330
+ // if there are to few items at this level test nesting
331
+ $itemLimit = $tag === 'p' ? 2 : 1;
332
+ if ($items->length < $itemLimit) {
333
  $items = $xpath->query('/html/body/*/' . $tag);
334
  }
335
  // try third level as last resort
336
+ if ($items->length < $itemLimit) {
337
  $items = $xpath->query('/html/body/*/*/' . $tag);
338
  }
339
 
340
+
341
  // filter empty tags from items
342
  $paragraphs = array();
343
  foreach ($items as $item) {
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: Wed Aug 05 2015 21:20:01 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"
@@ -32,13 +32,13 @@ msgstr "Übersicht"
32
 
33
  #: ../admin/class-advanced-ads-admin.php:241 ../admin/class-advanced-ads-admin.
34
  #: php:241 ../admin/views/ad-group-list-form-row.php:27 ../admin/views/ad-group-
35
- #: list-header.php:5 ../admin/views/placements.php:77 ../admin/views/placements.
36
- #: php:165 ../classes/widget.php:73 ../public/class-advanced-ads.php:548
37
  msgid "Ads"
38
  msgstr "Anzeigen"
39
 
40
- #: ../admin/class-advanced-ads-admin.php:245 ../admin/views/placements.php:70 ..
41
- #: admin/views/placements.php:158 ../classes/widget.php:66
42
  msgid "Ad Groups"
43
  msgstr "Anzeigen-Gruppen"
44
 
@@ -59,7 +59,7 @@ msgid "Advanced Ads Settings"
59
  msgstr "Advanced-Ads-Einstellungen"
60
 
61
  #: ../admin/class-advanced-ads-admin.php:254 ../admin/class-advanced-ads-admin.
62
- #: php:425 ../admin/views/debug.php:11
63
  msgid "Settings"
64
  msgstr "Einstellungen"
65
 
@@ -71,12 +71,17 @@ msgstr "Advanced-Ads-Fehleranalyse (Debugging)"
71
  msgid "Debug"
72
  msgstr "Debug"
73
 
74
- #: ../admin/class-advanced-ads-admin.php:339 ../admin/class-advanced-ads-admin.
75
- #: php:366
 
 
 
 
 
76
  msgid "Sorry, you are not allowed to access this feature."
77
  msgstr "Sie haben leider keinen Zugriff auf diese Funktion"
78
 
79
- #: ../admin/class-advanced-ads-admin.php:352
80
  msgid ""
81
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
82
  "deleted?"
@@ -84,166 +89,170 @@ msgstr ""
84
  "Sie haben versucht, ein Element, das nicht existiert, zu bearbeiten. "
85
  "Vielleicht wurde es gelöscht?"
86
 
87
- #: ../admin/class-advanced-ads-admin.php:467
88
  msgid "Ad Type"
89
  msgstr "Anzeigen-Typ"
90
 
91
- #: ../admin/class-advanced-ads-admin.php:470
92
  msgid "Ad Parameters"
93
  msgstr "Anzeigen-Parameter"
94
 
95
- #: ../admin/class-advanced-ads-admin.php:473
96
  msgid "Layout / Output"
97
  msgstr "Layout / Ausgabe"
98
 
99
- #: ../admin/class-advanced-ads-admin.php:476
100
  msgid "Display Conditions"
101
  msgstr "Anzeige-Bedingungen"
102
 
103
- #: ../admin/class-advanced-ads-admin.php:479
104
  msgid "Visitor Conditions"
105
  msgstr "Besucher-Bedingungen"
106
 
107
- #: ../admin/class-advanced-ads-admin.php:645 ../admin/class-advanced-ads-admin.
108
- #: php:646
109
  msgid "Ad updated."
110
  msgstr "Anzeige aktualisiert."
111
 
112
  #. translators: %s: date and time of the revision
113
- #: ../admin/class-advanced-ads-admin.php:648
114
  #, php-format
115
  msgid "Ad restored to revision from %s"
116
  msgstr "Anzeige aus Revision %s wiederhergestellt"
117
 
118
- #: ../admin/class-advanced-ads-admin.php:649
119
  msgid "Ad published."
120
  msgstr "Anzeige veröffentlicht."
121
 
122
- #: ../admin/class-advanced-ads-admin.php:650
123
  msgid "Ad saved."
124
  msgstr "Anzeige gespeichert."
125
 
126
- #: ../admin/class-advanced-ads-admin.php:651
127
  msgid "Ad submitted."
128
  msgstr "Anzeige gesendet."
129
 
130
- #: ../admin/class-advanced-ads-admin.php:653
131
  #, php-format
132
  msgid "Ad scheduled for: <strong>%1$s</strong>."
133
  msgstr "Anzeige geplant für <strong>%1$s</strong>."
134
 
135
  #. translators: Publish box date format, see http://php.net/date
136
- #: ../admin/class-advanced-ads-admin.php:655
137
  msgid "M j, Y @ G:i"
138
  msgstr "j M Y @ G:i"
139
 
140
- #: ../admin/class-advanced-ads-admin.php:657
141
  msgid "Ad draft updated."
142
  msgstr "Anzeigenentwurf gespeichert."
143
 
144
- #: ../admin/class-advanced-ads-admin.php:676
145
  #, php-format
146
  msgid "%s ad updated."
147
  msgid_plural "%s ads updated."
148
  msgstr[0] "%s Anzeige aktualisiert."
149
  msgstr[1] "%s Anzeigen aktualisiert."
150
 
151
- #: ../admin/class-advanced-ads-admin.php:677
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] "%s Anzeige nicht aktualisiert, jemand bearbeitet sie."
156
  msgstr[1] "%s Anzeigen nicht aktualisiert, jemand bearbeitet sie."
157
 
158
- #: ../admin/class-advanced-ads-admin.php:678
159
  #, php-format
160
  msgid "%s ad permanently deleted."
161
  msgid_plural "%s ads permanently deleted."
162
  msgstr[0] "%s Anzeige endgültig gelöscht."
163
  msgstr[1] "%s Anzeigen endgültig gelöscht."
164
 
165
- #: ../admin/class-advanced-ads-admin.php:679
166
  #, php-format
167
  msgid "%s ad moved to the Trash."
168
  msgid_plural "%s ads moved to the Trash."
169
  msgstr[0] "%s Anzeige in den Papierkorb verschoben."
170
  msgstr[1] "%s Anzeigen in den Papierkorb verschoben."
171
 
172
- #: ../admin/class-advanced-ads-admin.php:680
173
  #, php-format
174
  msgid "%s ad restored from the Trash."
175
  msgid_plural "%s ads restored from the Trash."
176
  msgstr[0] "%s Anzeige aus dem Papierkorb wiederhergestellt."
177
  msgstr[1] "%s Anzeige aus dem Papierkorb wiederhergestellt."
178
 
179
- #: ../admin/class-advanced-ads-admin.php:715 ../admin/views/settings.php:12
180
  msgid "General"
181
  msgstr "Allgemein"
182
 
183
- #: ../admin/class-advanced-ads-admin.php:727 ../admin/class-advanced-ads-admin.
184
- #: php:807
185
  msgid "Licenses"
186
  msgstr "Lizenzen"
187
 
188
- #: ../admin/class-advanced-ads-admin.php:738
189
  msgid "Disable ads"
190
  msgstr "Anzeigen auf dieser Seite deaktivieren."
191
 
192
- #: ../admin/class-advanced-ads-admin.php:746
193
  msgid "Hide ads for logged in users"
194
  msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
195
 
196
- #: ../admin/class-advanced-ads-admin.php:754
197
  msgid "Use advanced JavaScript"
198
  msgstr "Advanced-JavaScript benutzen"
199
 
200
- #: ../admin/class-advanced-ads-admin.php:762
201
  msgid "Unlimited ad injection"
202
  msgstr "Anzeigen-Injektion überall aktivieren "
203
 
204
- #: ../admin/class-advanced-ads-admin.php:770
205
  msgid "Priority of content injection filter"
206
  msgstr "Priorität der Anzeigen-Injektion"
207
 
208
- #: ../admin/class-advanced-ads-admin.php:778
209
  msgid "Hide ads from bots"
210
  msgstr "Anzeigen vor Bots verbergen"
211
 
212
- #: ../admin/class-advanced-ads-admin.php:786
213
  msgid "Disable notices"
214
  msgstr "Mitteilungen deaktivieren"
215
 
216
- #: ../admin/class-advanced-ads-admin.php:861
 
 
 
 
217
  msgid "(display to all)"
218
  msgstr "(für alle sichtbar)"
219
 
220
- #: ../admin/class-advanced-ads-admin.php:862
221
  msgid "Subscriber"
222
  msgstr "Abonnent"
223
 
224
- #: ../admin/class-advanced-ads-admin.php:863
225
  msgid "Contributor"
226
  msgstr "Mitarbeiter"
227
 
228
- #: ../admin/class-advanced-ads-admin.php:864
229
  msgid "Author"
230
  msgstr "Autor"
231
 
232
- #: ../admin/class-advanced-ads-admin.php:865
233
  msgid "Editor"
234
  msgstr "Redakteur"
235
 
236
- #: ../admin/class-advanced-ads-admin.php:866
237
  msgid "Admin"
238
  msgstr "Admin"
239
 
240
- #: ../admin/class-advanced-ads-admin.php:874
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:888
247
  msgid ""
248
  "<strong>notice: </strong>the file is currently enabled by an add-on that "
249
  "needs it."
@@ -251,7 +260,7 @@ msgstr ""
251
  "<strong>Hinweis: </strong>die Datei wird aktuell von einer Erweiterung "
252
  "benutzt."
253
 
254
- #: ../admin/class-advanced-ads-admin.php:891
255
  #, php-format
256
  msgid ""
257
  "Enable advanced JavaScript functions (<a href=\"%s\" target=\"_blank\">here</a>)."
@@ -262,7 +271,7 @@ msgstr ""
262
  "target=\"_blank\">Info</a>). Einige Funktionen und Erweiterungen können diese "
263
  "Einstellung überschreiben, wenn sie die Datei benötigen."
264
 
265
- #: ../admin/class-advanced-ads-admin.php:904
266
  msgid ""
267
  "Some plugins and themes trigger ad injection where it shouldn’t happen. "
268
  "Therefore, Advanced Ads ignores injected placements on non-singular pages "
@@ -280,7 +289,7 @@ msgstr ""
280
  "werden überall dort, wo Beiträge geladen werden, angezeigt (z.B. auch auf "
281
  "Archiv-Seiten)."
282
 
283
- #: ../admin/class-advanced-ads-admin.php:918
284
  msgid ""
285
  "Play with this value in order to change the priority of the injected ads "
286
  "compared to other auto injected elements in the post content."
@@ -288,7 +297,7 @@ msgstr ""
288
  "Ändern Sie diesen Wert um die Position automatisch eingefügter Anzeigen im "
289
  "Content gegenüber anderer Elementen zu beeinflussen."
290
 
291
- #: ../admin/class-advanced-ads-admin.php:931
292
  #, php-format
293
  msgid ""
294
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
@@ -299,7 +308,7 @@ msgstr ""
299
  "werden mit dem <a href=\"%s\" target=\"_blank\">Tracking Add-On</a> dann auch "
300
  "keine Impressionen mehr gezählt."
301
 
302
- #: ../admin/class-advanced-ads-admin.php:932
303
  msgid ""
304
  "Disabling this option only makes sense if your ads contain content you want "
305
  "to display to bots (like search engines) or your site is cached and bots "
@@ -308,7 +317,7 @@ msgstr ""
308
  "Deaktivieren Sie diese Option, wenn Bots (z.B. Suchmaschinen) die "
309
  "Werbeinhalte sehen sollen oder Ihre Seite einen Cache nutzt."
310
 
311
- #: ../admin/class-advanced-ads-admin.php:945
312
  msgid ""
313
  "Disable internal notices like tips, tutorials, email newsletters and update "
314
  "notices. Disabling notices is recommended if you run multiple blogs with "
@@ -319,54 +328,75 @@ msgstr ""
319
  "diese Einstellung, wenn Sie Advanced Ads auf mehreren Blog installiert \n"
320
  "haben."
321
 
322
- #: ../admin/class-advanced-ads-admin.php:998
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  msgid "Ad Details"
324
  msgstr "Anzeigeneinstellungen"
325
 
326
- #: ../admin/class-advanced-ads-admin.php:1072
327
  msgid "Ad Settings"
328
  msgstr "Anzeigen-Einstellungen"
329
 
330
- #: ../admin/class-advanced-ads-admin.php:1151 ../admin/views/overview.php:23
331
  msgid "Ads Dashboard"
332
  msgstr "Anzeigen-Dashboard"
333
 
334
- #: ../admin/class-advanced-ads-admin.php:1163
335
  msgid "From the ad optimization universe"
336
  msgstr "Neues aus dem Anzeigen-Universum"
337
 
338
- #: ../admin/class-advanced-ads-admin.php:1172
339
  msgid "Advanced Ads Tutorials"
340
  msgstr "Advanced Ads Tutorials"
341
 
342
- #: ../admin/class-advanced-ads-admin.php:1183
343
  #, php-format
344
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
345
  msgstr "%d Anzeigen – <a href=\"%s\">verwalten</a> - <a href=\"%s\">neu</a>"
346
 
347
- #: ../admin/class-advanced-ads-admin.php:1194
348
  msgid "plugin manual and homepage"
349
  msgstr "Plugin-Anleitung und Homepage"
350
 
351
- #: ../admin/class-advanced-ads-admin.php:1201
352
  msgid "Get the tutorial via email"
353
  msgstr "Tutorial per E-Mail (engl.)\n"
354
 
355
- #: ../admin/class-advanced-ads-admin.php:1208
356
  msgid "Get AdSense tips via email"
357
  msgstr "AdSense Tips per E-Mail (engl.)"
358
 
359
- #: ../admin/class-advanced-ads-admin.php:1282
360
  msgid "Error while trying to register the license. Please contact support."
361
  msgstr ""
362
  "Die Lizenz konnte nicht registriert werden. Bitte kontaktieren Sie den "
363
  "Support."
364
 
365
- #: ../admin/class-advanced-ads-admin.php:1288
366
  msgid "Please enter and save a valid license key first."
367
  msgstr "Bitte speichern Sie zunächst einen gültigen Lizenzschlüssel."
368
 
369
- #: ../admin/class-advanced-ads-admin.php:1308
370
  #, php-format
371
  msgid "License is invalid. Reason: %s"
372
  msgstr "Die Lizenz ist ungültig. Grund: %s"
@@ -418,7 +448,7 @@ msgid "Display ads with the highest ad weight first"
418
  msgstr "Anzeigen mit dem höchsten Anzeigengewicht zuerst einblenden."
419
 
420
  #: ../admin/includes/class-ad-groups-list.php:259 ../public/class-advanced-ads.
421
- #: php:552
422
  msgid "Edit"
423
  msgstr "Bearbeiten"
424
 
@@ -1040,7 +1070,7 @@ msgid "Description"
1040
  msgstr "Beschreibung"
1041
 
1042
  #: ../admin/views/ad-group-list-form-row.php:7 ../admin/views/placements.php:23 ..
1043
- #: modules/gadsense/admin/views/adsense-ad-parameters.php:38
1044
  msgid "Type"
1045
  msgstr "Typ"
1046
 
@@ -1058,7 +1088,7 @@ msgid "Number of ads that are visible at the same time"
1058
  msgstr "Anzahl der Anzeigen, die gleichzeitig sichtbar sein sollen."
1059
 
1060
  #: ../admin/views/ad-group-list-form-row.php:30 ../public/class-advanced-ads.php:
1061
- #: 549
1062
  msgid "Ad"
1063
  msgstr "Anzeige"
1064
 
@@ -1075,12 +1105,12 @@ msgid "Details"
1075
  msgstr "Details"
1076
 
1077
  #: ../admin/views/ad-group-list-row.php:8 ../admin/views/ad-group.php:63 ..
1078
- #: admin/views/ad-info.php:3 ../admin/views/placements.php:55
1079
  msgid "shortcode"
1080
  msgstr "Shortcode"
1081
 
1082
  #: ../admin/views/ad-group-list-row.php:11 ../admin/views/ad-group.php:66 ..
1083
- #: admin/views/placements.php:58
1084
  msgid "template"
1085
  msgstr "Template"
1086
 
@@ -1482,55 +1512,55 @@ msgstr ""
1482
  "Der Platzierungs-Typ \"%s\" fehlt und wurde auf \"default\" zurückgesetzt."
1483
  "<br/>Bitte prüfen Sie, ob die notwendige Erweiterung aktiviert ist."
1484
 
1485
- #: ../admin/views/placements.php:54
1486
  msgid "show usage"
1487
  msgstr "Nutzungshinweise"
1488
 
1489
- #: ../admin/views/placements.php:66
1490
  msgid "Item"
1491
  msgstr "Anzeige"
1492
 
1493
- #: ../admin/views/placements.php:68 ../admin/views/placements.php:156
1494
  msgid "--not selected--"
1495
  msgstr "--nicht gewählt--"
1496
 
1497
- #: ../admin/views/placements.php:88
1498
  msgid "Inject"
1499
  msgstr "Einfügen"
1500
 
1501
- #: ../admin/views/placements.php:89
1502
  msgid "after"
1503
  msgstr "nach"
1504
 
1505
- #: ../admin/views/placements.php:89
1506
  msgid "before"
1507
  msgstr "vor"
1508
 
1509
- #: ../admin/views/placements.php:109
1510
  msgid "start counting from bottom"
1511
  msgstr "von unten zählen"
1512
 
1513
- #: ../admin/views/placements.php:117
1514
  msgid "remove placement"
1515
  msgstr "Platzierung entfernen"
1516
 
1517
- #: ../admin/views/placements.php:123
1518
  msgid "Save Placements"
1519
  msgstr "Platzierungen sichern"
1520
 
1521
- #: ../admin/views/placements.php:125
1522
  msgid "Create a new placement"
1523
  msgstr "Neue Platzierung erstellen"
1524
 
1525
- #: ../admin/views/placements.php:126
1526
  msgid "New Placement"
1527
  msgstr "Neue Platzierung"
1528
 
1529
- #: ../admin/views/placements.php:132
1530
  msgid "Choose a placement type"
1531
  msgstr "Typ der Platzierung wählen"
1532
 
1533
- #: ../admin/views/placements.php:133
1534
  #, php-format
1535
  msgid ""
1536
  "Placement types define where the ad is going to be displayed. Learn more "
@@ -1539,11 +1569,11 @@ msgstr ""
1539
  "Der Platzierungstyp entscheidet darüber wo eine Anzeige im Frontend "
1540
  "platziert wird. Mehr dazu finden Sie in der <a href=\"%s\">Anleitung</a>."
1541
 
1542
- #: ../admin/views/placements.php:150
1543
  msgid "Choose a Name"
1544
  msgstr "Bezeichnung wählen"
1545
 
1546
- #: ../admin/views/placements.php:151
1547
  msgid ""
1548
  "The name of the placement is only visible to you. Tip: choose a descriptive "
1549
  "one, e.g. <em>Below Post Headline</em>."
@@ -1551,19 +1581,19 @@ msgstr ""
1551
  "Die Bezeichnung der Platzierung ist nur für Sie sichtbar. Ich empfehle eine "
1552
  "beschreibende Bezeichnung, z.B. <em>Unter der Artikelüberschrift</em>."
1553
 
1554
- #: ../admin/views/placements.php:152
1555
  msgid "Placement Name"
1556
  msgstr "Bezeichnung"
1557
 
1558
- #: ../admin/views/placements.php:153
1559
  msgid "Choose the Ad or Group"
1560
  msgstr "Anzeige oder Gruppe wählen"
1561
 
1562
- #: ../admin/views/placements.php:154
1563
  msgid "The ad or group that should be displayed."
1564
  msgstr "Die Anzeige oder Anzeigengruppe die angezeigt werden soll."
1565
 
1566
- #: ../admin/views/placements.php:173
1567
  msgid "Save New Placement"
1568
  msgstr "Neue Platzierung sichern"
1569
 
@@ -1673,12 +1703,62 @@ msgstr "das Unternehmen hinter Advanced Ads"
1673
  msgid "webgilde GmbH"
1674
  msgstr "webgilde GmbH"
1675
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1676
  #: ../admin/views/notices/error.php:1
1677
  msgid "OK"
1678
  msgstr "OK"
1679
 
1680
  #: ../admin/views/notices/inline.php:4 ../admin/views/notices/subscribe.php:4 ..
1681
- #: modules/gadsense/admin/views/adsense-ad-parameters.php:69
1682
  msgid "Close"
1683
  msgstr "Schließen"
1684
 
@@ -1908,15 +1988,15 @@ msgstr "entspricht nicht"
1908
  msgid "does not match regex"
1909
  msgstr "entspricht nicht reg. Ausdruck"
1910
 
1911
- #: ../classes/widget.php:19
1912
  msgid "Display Ads and Ad Groups."
1913
  msgstr "Anzeigen und Anzeigen-Gruppen zeigen."
1914
 
1915
- #: ../classes/widget.php:58
1916
  msgid "Title:"
1917
  msgstr "Titel:"
1918
 
1919
- #: ../classes/widget.php:64
1920
  msgid "--empty--"
1921
  msgstr "--leer--"
1922
 
@@ -2010,16 +2090,16 @@ msgstr "In sekundären Abfragen (secundary queries) anzeigen\n"
2010
  msgid " at "
2011
  msgstr " um "
2012
 
2013
- #: ../modules/gadsense/admin/class-gadsense-admin.php:27 ..
2014
- #: modules/gadsense/admin/views/adsense-ad-parameters.php:41
2015
  msgid "Responsive"
2016
  msgstr "Responsive"
2017
 
2018
- #: ../modules/gadsense/admin/class-gadsense-admin.php:45
2019
  msgid "The ad details couldn't be retrieved from the ad code"
2020
  msgstr "Die Anzeigendetails konnten nicht vom Ad Code ermittelt werden."
2021
 
2022
- #: ../modules/gadsense/admin/class-gadsense-admin.php:46
2023
  msgid ""
2024
  "Warning : The AdSense account from this code does not match the one set with "
2025
  "the Advanced Ads Plugin. This ad might cause troubles when used in the front "
@@ -2029,39 +2109,29 @@ msgstr ""
2029
  "den Einstellungen hinterlegt wurde. Es kann zu Problemen bei der Anzeige "
2030
  "kommen."
2031
 
2032
- #: ../modules/gadsense/admin/class-gadsense-admin.php:65 ..
2033
- #: modules/gadsense/admin/class-gadsense-admin.php:256 ..
2034
- #: modules/gadsense/includes/class-ad-type-adsense.php:73
2035
- msgid "The Publisher ID has an incorrect format. (must start with \"pub-\")"
2036
- msgstr "Die Publisher-ID hat ein falsches Format. Sie muss mit \"pub-\" beginnen."
2037
-
2038
- #: ../modules/gadsense/admin/class-gadsense-admin.php:69
2039
- msgid "Data updated"
2040
- msgstr "Angaben aktualisiert"
2041
-
2042
- #: ../modules/gadsense/admin/class-gadsense-admin.php:174 ..
2043
- #: modules/gadsense/admin/class-gadsense-admin.php:278
2044
  msgid "AdSense"
2045
  msgstr "AdSense"
2046
 
2047
- #: ../modules/gadsense/admin/class-gadsense-admin.php:182
2048
  msgid "AdSense ID"
2049
  msgstr "AdSense-ID"
2050
 
2051
- #: ../modules/gadsense/admin/class-gadsense-admin.php:191
2052
  msgid "Limit to 3 ads"
2053
  msgstr "Auf 3 Anzeigen beschränken"
2054
 
2055
- #: ../modules/gadsense/admin/class-gadsense-admin.php:219
2056
  msgid "Your AdSense Publisher ID <em>(pub-xxxxxxxxxxxxxx)</em>"
2057
  msgstr "Ihre AdSense Publisher ID <em>(pub-xxxxxxxxxxxxxx)</em>"
2058
 
2059
- #: ../modules/gadsense/admin/class-gadsense-admin.php:231
2060
  #, php-format
2061
  msgid "Limit to %d AdSense ads"
2062
  msgstr "Auf maximal %d AdSense Anzeigen begrenzen"
2063
 
2064
- #: ../modules/gadsense/admin/class-gadsense-admin.php:235
2065
  #, php-format
2066
  msgid ""
2067
  "Currently, Google AdSense <a target=\"_blank\" href=\"%s\" title=\"Terms Of "
@@ -2073,34 +2143,38 @@ msgstr ""
2073
  "Anzeigen pro Seite. Deaktivieren Sie diese Einstellung daher auf eigenes "
2074
  "Risiko."
2075
 
2076
- #: ../modules/gadsense/admin/class-gadsense-admin.php:238
2077
  msgid "Notice: Advanced Ads only considers the AdSense ad type for this limit."
2078
  msgstr "Hinweis: Advanced Ads zählt nur die AdSense-Anzeigentypen für dieses Limit."
2079
 
2080
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:20
2081
- #, php-format
2082
- msgid "<a class=\"button\" href=\"#\" id=\"%s\">Copy&Paste existing ad code</a>"
2083
- msgstr "<a class=\"button\" href=\"#\" id=\"%s\">Anzeigencode eingeben</a>"
2084
 
2085
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:23
 
 
 
 
2086
  msgid "Ad Slot ID"
2087
  msgstr "Anzeigen-ID"
2088
 
2089
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:28
2090
  #, php-format
2091
  msgid "Publisher ID: %s"
2092
  msgstr "Publisher ID: %s"
2093
 
2094
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:34
2095
  #, php-format
2096
  msgid "Please <a href=\"%s\" target=\"_blank\">change it here</a>."
2097
  msgstr "Bitte <a href=\"%s\" target=\"_blank\">hier ändern</a>."
2098
 
2099
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:40
2100
  msgid "Normal"
2101
  msgstr "Normal"
2102
 
2103
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:45
2104
  #, php-format
2105
  msgid ""
2106
  "Use the <a href=\"%s\" target=\"_blank\">Responsive add-on</a> in order to "
@@ -2109,15 +2183,15 @@ msgstr ""
2109
  "Mit der <a href=\"%s\" target=\"_blank\">Responsive-Erweiterung</a> können Sie "
2110
  "die Breite der Anzeigen für jede Browserbreite angeben."
2111
 
2112
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:54
2113
  msgid "Resizing"
2114
  msgstr "Größe"
2115
 
2116
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:65
2117
  msgid "Copy the ad code from your AdSense account and paste it in the area below"
2118
  msgstr "Kopieren Sie den Anzeigencode von AdSense einfach unten in das Feld"
2119
 
2120
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:68
2121
  msgid "Get details"
2122
  msgstr "Details laden"
2123
 
@@ -2188,38 +2262,38 @@ msgstr "Neuer Anzeigen-Gruppen-Name"
2188
  msgid "No Ad Group found"
2189
  msgstr "Keine Anzeigen-Gruppe gefunden"
2190
 
2191
- #: ../public/class-advanced-ads.php:550 ../public/class-advanced-ads.php:554
2192
  msgid "New Ad"
2193
  msgstr "Neue Anzeige"
2194
 
2195
- #: ../public/class-advanced-ads.php:551
2196
  msgid "Add New Ad"
2197
  msgstr "Neue Anzeige hinzufügen"
2198
 
2199
- #: ../public/class-advanced-ads.php:553
2200
  msgid "Edit Ad"
2201
  msgstr "Anzeige bearbeiten"
2202
 
2203
- #: ../public/class-advanced-ads.php:555
2204
  msgid "View"
2205
  msgstr "Ansicht"
2206
 
2207
- #: ../public/class-advanced-ads.php:556
2208
  msgid "View the Ad"
2209
  msgstr "Anzeige ansehen"
2210
 
2211
- #: ../public/class-advanced-ads.php:557
2212
  msgid "Search Ads"
2213
  msgstr "Anzeigen suchen"
2214
 
2215
- #: ../public/class-advanced-ads.php:558
2216
  msgid "No Ads found"
2217
  msgstr "Keine Anzeigen gefunden"
2218
 
2219
- #: ../public/class-advanced-ads.php:559
2220
  msgid "No Ads found in Trash"
2221
  msgstr "Keine Anzeigen im Papierkorb gefunden"
2222
 
2223
- #: ../public/class-advanced-ads.php:560
2224
  msgid "Parent Ad"
2225
  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: Tue Aug 25 2015 09:48:50 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"
32
 
33
  #: ../admin/class-advanced-ads-admin.php:241 ../admin/class-advanced-ads-admin.
34
  #: php:241 ../admin/views/ad-group-list-form-row.php:27 ../admin/views/ad-group-
35
+ #: list-header.php:5 ../admin/views/placements.php:78 ../admin/views/placements.
36
+ #: php:166 ../classes/widget.php:83 ../public/class-advanced-ads.php:549
37
  msgid "Ads"
38
  msgstr "Anzeigen"
39
 
40
+ #: ../admin/class-advanced-ads-admin.php:245 ../admin/views/placements.php:71 ..
41
+ #: admin/views/placements.php:159 ../classes/widget.php:76
42
  msgid "Ad Groups"
43
  msgstr "Anzeigen-Gruppen"
44
 
59
  msgstr "Advanced-Ads-Einstellungen"
60
 
61
  #: ../admin/class-advanced-ads-admin.php:254 ../admin/class-advanced-ads-admin.
62
+ #: php:463 ../admin/views/debug.php:11
63
  msgid "Settings"
64
  msgstr "Einstellungen"
65
 
71
  msgid "Debug"
72
  msgstr "Debug"
73
 
74
+ #: ../admin/class-advanced-ads-admin.php:261 ../admin/class-advanced-ads-admin.
75
+ #: php:261
76
+ msgid "Support"
77
+ msgstr "Support"
78
+
79
+ #: ../admin/class-advanced-ads-admin.php:377 ../admin/class-advanced-ads-admin.
80
+ #: php:404
81
  msgid "Sorry, you are not allowed to access this feature."
82
  msgstr "Sie haben leider keinen Zugriff auf diese Funktion"
83
 
84
+ #: ../admin/class-advanced-ads-admin.php:390
85
  msgid ""
86
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
87
  "deleted?"
89
  "Sie haben versucht, ein Element, das nicht existiert, zu bearbeiten. "
90
  "Vielleicht wurde es gelöscht?"
91
 
92
+ #: ../admin/class-advanced-ads-admin.php:505
93
  msgid "Ad Type"
94
  msgstr "Anzeigen-Typ"
95
 
96
+ #: ../admin/class-advanced-ads-admin.php:508
97
  msgid "Ad Parameters"
98
  msgstr "Anzeigen-Parameter"
99
 
100
+ #: ../admin/class-advanced-ads-admin.php:511
101
  msgid "Layout / Output"
102
  msgstr "Layout / Ausgabe"
103
 
104
+ #: ../admin/class-advanced-ads-admin.php:514
105
  msgid "Display Conditions"
106
  msgstr "Anzeige-Bedingungen"
107
 
108
+ #: ../admin/class-advanced-ads-admin.php:517
109
  msgid "Visitor Conditions"
110
  msgstr "Besucher-Bedingungen"
111
 
112
+ #: ../admin/class-advanced-ads-admin.php:683 ../admin/class-advanced-ads-admin.
113
+ #: php:684
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:686
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:687
124
  msgid "Ad published."
125
  msgstr "Anzeige veröffentlicht."
126
 
127
+ #: ../admin/class-advanced-ads-admin.php:688
128
  msgid "Ad saved."
129
  msgstr "Anzeige gespeichert."
130
 
131
+ #: ../admin/class-advanced-ads-admin.php:689
132
  msgid "Ad submitted."
133
  msgstr "Anzeige gesendet."
134
 
135
+ #: ../admin/class-advanced-ads-admin.php:691
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:693
142
  msgid "M j, Y @ G:i"
143
  msgstr "j M Y @ G:i"
144
 
145
+ #: ../admin/class-advanced-ads-admin.php:695
146
  msgid "Ad draft updated."
147
  msgstr "Anzeigenentwurf gespeichert."
148
 
149
+ #: ../admin/class-advanced-ads-admin.php:714
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:715
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:716
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:717
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:718
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:753 ../admin/views/settings.php:12
185
  msgid "General"
186
  msgstr "Allgemein"
187
 
188
+ #: ../admin/class-advanced-ads-admin.php:765 ../admin/class-advanced-ads-admin.
189
+ #: php:853
190
  msgid "Licenses"
191
  msgstr "Lizenzen"
192
 
193
+ #: ../admin/class-advanced-ads-admin.php:776
194
  msgid "Disable ads"
195
  msgstr "Anzeigen auf dieser Seite deaktivieren."
196
 
197
+ #: ../admin/class-advanced-ads-admin.php:784
198
  msgid "Hide ads for logged in users"
199
  msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
200
 
201
+ #: ../admin/class-advanced-ads-admin.php:792
202
  msgid "Use advanced JavaScript"
203
  msgstr "Advanced-JavaScript benutzen"
204
 
205
+ #: ../admin/class-advanced-ads-admin.php:800
206
  msgid "Unlimited ad injection"
207
  msgstr "Anzeigen-Injektion überall aktivieren "
208
 
209
+ #: ../admin/class-advanced-ads-admin.php:808
210
  msgid "Priority of content injection filter"
211
  msgstr "Priorität der Anzeigen-Injektion"
212
 
213
+ #: ../admin/class-advanced-ads-admin.php:816
214
  msgid "Hide ads from bots"
215
  msgstr "Anzeigen vor Bots verbergen"
216
 
217
+ #: ../admin/class-advanced-ads-admin.php:824
218
  msgid "Disable notices"
219
  msgstr "Mitteilungen deaktivieren"
220
 
221
+ #: ../admin/class-advanced-ads-admin.php:832
222
+ msgid "ID prefix"
223
+ msgstr "ID Präfix"
224
+
225
+ #: ../admin/class-advanced-ads-admin.php:907
226
  msgid "(display to all)"
227
  msgstr "(für alle sichtbar)"
228
 
229
+ #: ../admin/class-advanced-ads-admin.php:908
230
  msgid "Subscriber"
231
  msgstr "Abonnent"
232
 
233
+ #: ../admin/class-advanced-ads-admin.php:909
234
  msgid "Contributor"
235
  msgstr "Mitarbeiter"
236
 
237
+ #: ../admin/class-advanced-ads-admin.php:910
238
  msgid "Author"
239
  msgstr "Autor"
240
 
241
+ #: ../admin/class-advanced-ads-admin.php:911
242
  msgid "Editor"
243
  msgstr "Redakteur"
244
 
245
+ #: ../admin/class-advanced-ads-admin.php:912
246
  msgid "Admin"
247
  msgstr "Admin"
248
 
249
+ #: ../admin/class-advanced-ads-admin.php:920
250
  msgid "Choose the lowest role a user must have in order to not see any ads."
251
  msgstr ""
252
  "Wählen Sie die niedrigste Rolle die ein Benutzer haben muss um keine "
253
  "Anzeigen zu sehen."
254
 
255
+ #: ../admin/class-advanced-ads-admin.php:934
256
  msgid ""
257
  "<strong>notice: </strong>the file is currently enabled by an add-on that "
258
  "needs it."
260
  "<strong>Hinweis: </strong>die Datei wird aktuell von einer Erweiterung "
261
  "benutzt."
262
 
263
+ #: ../admin/class-advanced-ads-admin.php:937
264
  #, php-format
265
  msgid ""
266
  "Enable advanced JavaScript functions (<a href=\"%s\" target=\"_blank\">here</a>)."
271
  "target=\"_blank\">Info</a>). Einige Funktionen und Erweiterungen können diese "
272
  "Einstellung überschreiben, wenn sie die Datei benötigen."
273
 
274
+ #: ../admin/class-advanced-ads-admin.php:950
275
  msgid ""
276
  "Some plugins and themes trigger ad injection where it shouldn’t happen. "
277
  "Therefore, Advanced Ads ignores injected placements on non-singular pages "
289
  "werden überall dort, wo Beiträge geladen werden, angezeigt (z.B. auch auf "
290
  "Archiv-Seiten)."
291
 
292
+ #: ../admin/class-advanced-ads-admin.php:964
293
  msgid ""
294
  "Play with this value in order to change the priority of the injected ads "
295
  "compared to other auto injected elements in the post content."
297
  "Ändern Sie diesen Wert um die Position automatisch eingefügter Anzeigen im "
298
  "Content gegenüber anderer Elementen zu beeinflussen."
299
 
300
+ #: ../admin/class-advanced-ads-admin.php:977
301
  #, php-format
302
  msgid ""
303
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
308
  "werden mit dem <a href=\"%s\" target=\"_blank\">Tracking Add-On</a> dann auch "
309
  "keine Impressionen mehr gezählt."
310
 
311
+ #: ../admin/class-advanced-ads-admin.php:978
312
  msgid ""
313
  "Disabling this option only makes sense if your ads contain content you want "
314
  "to display to bots (like search engines) or your site is cached and bots "
317
  "Deaktivieren Sie diese Option, wenn Bots (z.B. Suchmaschinen) die "
318
  "Werbeinhalte sehen sollen oder Ihre Seite einen Cache nutzt."
319
 
320
+ #: ../admin/class-advanced-ads-admin.php:991
321
  msgid ""
322
  "Disable internal notices like tips, tutorials, email newsletters and update "
323
  "notices. Disabling notices is recommended if you run multiple blogs with "
328
  "diese Einstellung, wenn Sie Advanced Ads auf mehreren Blog installiert \n"
329
  "haben."
330
 
331
+ #: ../admin/class-advanced-ads-admin.php:1004
332
+ msgid ""
333
+ "Please check your widgets after saving this page. The original id and class "
334
+ "prefix changed and custom css rules must be rewritten."
335
+ msgstr ""
336
+ "Bitte überprüfen Sie Ihre Widgets nachdem Sie diese Seite gespeichert haben. "
337
+ "Die ursprüngliche id und class Präfixe wurden geändert, CSS Regeln müssen "
338
+ "ggf. ebenfalls angepasst werden."
339
+
340
+ #: ../admin/class-advanced-ads-admin.php:1008
341
+ msgid ""
342
+ "Prefix of class or id attributes in the frontend. Change it if you don’t "
343
+ "want <strong>ad blockers</strong> to mark these blocks as ads.<br/>You might "
344
+ "need to <strong>re-create your widgets and rewrite css rules "
345
+ "afterwards</strong>."
346
+ msgstr ""
347
+ "Präfix der class oder id Attribute im Frontend. Ändern Sie diese bitte, "
348
+ "damit <strong>AdBlocker</strong> nicht die Inhalte von Advanced Ads "
349
+ "blockieren können.<br/>Ggf. müssen Sie danach Ihre <strong>Widgets und CSS-"
350
+ "Regeln erneuern</strong>."
351
+
352
+ #: ../admin/class-advanced-ads-admin.php:1061
353
  msgid "Ad Details"
354
  msgstr "Anzeigeneinstellungen"
355
 
356
+ #: ../admin/class-advanced-ads-admin.php:1135
357
  msgid "Ad Settings"
358
  msgstr "Anzeigen-Einstellungen"
359
 
360
+ #: ../admin/class-advanced-ads-admin.php:1214 ../admin/views/overview.php:23
361
  msgid "Ads Dashboard"
362
  msgstr "Anzeigen-Dashboard"
363
 
364
+ #: ../admin/class-advanced-ads-admin.php:1226
365
  msgid "From the ad optimization universe"
366
  msgstr "Neues aus dem Anzeigen-Universum"
367
 
368
+ #: ../admin/class-advanced-ads-admin.php:1235
369
  msgid "Advanced Ads Tutorials"
370
  msgstr "Advanced Ads Tutorials"
371
 
372
+ #: ../admin/class-advanced-ads-admin.php:1246
373
  #, php-format
374
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
375
  msgstr "%d Anzeigen – <a href=\"%s\">verwalten</a> - <a href=\"%s\">neu</a>"
376
 
377
+ #: ../admin/class-advanced-ads-admin.php:1257
378
  msgid "plugin manual and homepage"
379
  msgstr "Plugin-Anleitung und Homepage"
380
 
381
+ #: ../admin/class-advanced-ads-admin.php:1264
382
  msgid "Get the tutorial via email"
383
  msgstr "Tutorial per E-Mail (engl.)\n"
384
 
385
+ #: ../admin/class-advanced-ads-admin.php:1271
386
  msgid "Get AdSense tips via email"
387
  msgstr "AdSense Tips per E-Mail (engl.)"
388
 
389
+ #: ../admin/class-advanced-ads-admin.php:1345
390
  msgid "Error while trying to register the license. Please contact support."
391
  msgstr ""
392
  "Die Lizenz konnte nicht registriert werden. Bitte kontaktieren Sie den "
393
  "Support."
394
 
395
+ #: ../admin/class-advanced-ads-admin.php:1351
396
  msgid "Please enter and save a valid license key first."
397
  msgstr "Bitte speichern Sie zunächst einen gültigen Lizenzschlüssel."
398
 
399
+ #: ../admin/class-advanced-ads-admin.php:1371
400
  #, php-format
401
  msgid "License is invalid. Reason: %s"
402
  msgstr "Die Lizenz ist ungültig. Grund: %s"
448
  msgstr "Anzeigen mit dem höchsten Anzeigengewicht zuerst einblenden."
449
 
450
  #: ../admin/includes/class-ad-groups-list.php:259 ../public/class-advanced-ads.
451
+ #: php:553
452
  msgid "Edit"
453
  msgstr "Bearbeiten"
454
 
1070
  msgstr "Beschreibung"
1071
 
1072
  #: ../admin/views/ad-group-list-form-row.php:7 ../admin/views/placements.php:23 ..
1073
+ #: modules/gadsense/admin/views/adsense-ad-parameters.php:48
1074
  msgid "Type"
1075
  msgstr "Typ"
1076
 
1088
  msgstr "Anzahl der Anzeigen, die gleichzeitig sichtbar sein sollen."
1089
 
1090
  #: ../admin/views/ad-group-list-form-row.php:30 ../public/class-advanced-ads.php:
1091
+ #: 550
1092
  msgid "Ad"
1093
  msgstr "Anzeige"
1094
 
1105
  msgstr "Details"
1106
 
1107
  #: ../admin/views/ad-group-list-row.php:8 ../admin/views/ad-group.php:63 ..
1108
+ #: admin/views/ad-info.php:3 ../admin/views/placements.php:56
1109
  msgid "shortcode"
1110
  msgstr "Shortcode"
1111
 
1112
  #: ../admin/views/ad-group-list-row.php:11 ../admin/views/ad-group.php:66 ..
1113
+ #: admin/views/placements.php:59
1114
  msgid "template"
1115
  msgstr "Template"
1116
 
1512
  "Der Platzierungs-Typ \"%s\" fehlt und wurde auf \"default\" zurückgesetzt."
1513
  "<br/>Bitte prüfen Sie, ob die notwendige Erweiterung aktiviert ist."
1514
 
1515
+ #: ../admin/views/placements.php:55
1516
  msgid "show usage"
1517
  msgstr "Nutzungshinweise"
1518
 
1519
+ #: ../admin/views/placements.php:67
1520
  msgid "Item"
1521
  msgstr "Anzeige"
1522
 
1523
+ #: ../admin/views/placements.php:69 ../admin/views/placements.php:157
1524
  msgid "--not selected--"
1525
  msgstr "--nicht gewählt--"
1526
 
1527
+ #: ../admin/views/placements.php:89
1528
  msgid "Inject"
1529
  msgstr "Einfügen"
1530
 
1531
+ #: ../admin/views/placements.php:90
1532
  msgid "after"
1533
  msgstr "nach"
1534
 
1535
+ #: ../admin/views/placements.php:90
1536
  msgid "before"
1537
  msgstr "vor"
1538
 
1539
+ #: ../admin/views/placements.php:110
1540
  msgid "start counting from bottom"
1541
  msgstr "von unten zählen"
1542
 
1543
+ #: ../admin/views/placements.php:118
1544
  msgid "remove placement"
1545
  msgstr "Platzierung entfernen"
1546
 
1547
+ #: ../admin/views/placements.php:124
1548
  msgid "Save Placements"
1549
  msgstr "Platzierungen sichern"
1550
 
1551
+ #: ../admin/views/placements.php:126
1552
  msgid "Create a new placement"
1553
  msgstr "Neue Platzierung erstellen"
1554
 
1555
+ #: ../admin/views/placements.php:127
1556
  msgid "New Placement"
1557
  msgstr "Neue Platzierung"
1558
 
1559
+ #: ../admin/views/placements.php:133
1560
  msgid "Choose a placement type"
1561
  msgstr "Typ der Platzierung wählen"
1562
 
1563
+ #: ../admin/views/placements.php:134
1564
  #, php-format
1565
  msgid ""
1566
  "Placement types define where the ad is going to be displayed. Learn more "
1569
  "Der Platzierungstyp entscheidet darüber wo eine Anzeige im Frontend "
1570
  "platziert wird. Mehr dazu finden Sie in der <a href=\"%s\">Anleitung</a>."
1571
 
1572
+ #: ../admin/views/placements.php:151
1573
  msgid "Choose a Name"
1574
  msgstr "Bezeichnung wählen"
1575
 
1576
+ #: ../admin/views/placements.php:152
1577
  msgid ""
1578
  "The name of the placement is only visible to you. Tip: choose a descriptive "
1579
  "one, e.g. <em>Below Post Headline</em>."
1581
  "Die Bezeichnung der Platzierung ist nur für Sie sichtbar. Ich empfehle eine "
1582
  "beschreibende Bezeichnung, z.B. <em>Unter der Artikelüberschrift</em>."
1583
 
1584
+ #: ../admin/views/placements.php:153
1585
  msgid "Placement Name"
1586
  msgstr "Bezeichnung"
1587
 
1588
+ #: ../admin/views/placements.php:154
1589
  msgid "Choose the Ad or Group"
1590
  msgstr "Anzeige oder Gruppe wählen"
1591
 
1592
+ #: ../admin/views/placements.php:155
1593
  msgid "The ad or group that should be displayed."
1594
  msgstr "Die Anzeige oder Anzeigengruppe die angezeigt werden soll."
1595
 
1596
+ #: ../admin/views/placements.php:174
1597
  msgid "Save New Placement"
1598
  msgstr "Neue Platzierung sichern"
1599
 
1703
  msgid "webgilde GmbH"
1704
  msgstr "webgilde GmbH"
1705
 
1706
+ #: ../admin/views/support.php:9
1707
+ msgid "Email was successfully sent."
1708
+ msgstr "E-Mail erfolgreich gesendet."
1709
+
1710
+ #: ../admin/views/support.php:10
1711
+ msgid "Search"
1712
+ msgstr "Suche"
1713
+
1714
+ #: ../admin/views/support.php:11
1715
+ msgid ""
1716
+ "Use the following form to search for solutions in the manual on "
1717
+ "wpadvancedads.com"
1718
+ msgstr ""
1719
+ "Benutzen Sie die folgende Suche um in der Anleitung (englisch) auf "
1720
+ "wpadvancedads.com zu suchen."
1721
+
1722
+ #: ../admin/views/support.php:14
1723
+ msgid "search"
1724
+ msgstr "suchen"
1725
+
1726
+ #: ../admin/views/support.php:17
1727
+ msgid "Contact"
1728
+ msgstr "Kontakt aufnehmen"
1729
+
1730
+ #: ../admin/views/support.php:18
1731
+ #, php-format
1732
+ msgid ""
1733
+ "Please search the manual for a solution and take a look at <a href=\"%s\" "
1734
+ "target=\"_blank\">Ads not showing up?</a> before contacting me for help."
1735
+ msgstr ""
1736
+ "Bitte suchen Sie zunächst in der Anleitung nach einer Lösung und schauen "
1737
+ "sich die Vorschläge unter <a href=\"%s\" target=\"_blank\">Ads not showing up?"
1738
+ "</a> an."
1739
+
1740
+ #: ../admin/views/support.php:20
1741
+ msgid "your email"
1742
+ msgstr "E-Mail"
1743
+
1744
+ #: ../admin/views/support.php:21
1745
+ msgid "your name"
1746
+ msgstr "Name"
1747
+
1748
+ #: ../admin/views/support.php:22
1749
+ msgid "your message"
1750
+ msgstr "Nachricht"
1751
+
1752
+ #: ../admin/views/support.php:23
1753
+ msgid "send"
1754
+ msgstr "senden"
1755
+
1756
  #: ../admin/views/notices/error.php:1
1757
  msgid "OK"
1758
  msgstr "OK"
1759
 
1760
  #: ../admin/views/notices/inline.php:4 ../admin/views/notices/subscribe.php:4 ..
1761
+ #: modules/gadsense/admin/views/adsense-ad-parameters.php:76
1762
  msgid "Close"
1763
  msgstr "Schließen"
1764
 
1988
  msgid "does not match regex"
1989
  msgstr "entspricht nicht reg. Ausdruck"
1990
 
1991
+ #: ../classes/widget.php:25
1992
  msgid "Display Ads and Ad Groups."
1993
  msgstr "Anzeigen und Anzeigen-Gruppen zeigen."
1994
 
1995
+ #: ../classes/widget.php:68
1996
  msgid "Title:"
1997
  msgstr "Titel:"
1998
 
1999
+ #: ../classes/widget.php:74
2000
  msgid "--empty--"
2001
  msgstr "--leer--"
2002
 
2090
  msgid " at "
2091
  msgstr " um "
2092
 
2093
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:26 ..
2094
+ #: modules/gadsense/admin/views/adsense-ad-parameters.php:51
2095
  msgid "Responsive"
2096
  msgstr "Responsive"
2097
 
2098
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:44
2099
  msgid "The ad details couldn't be retrieved from the ad code"
2100
  msgstr "Die Anzeigendetails konnten nicht vom Ad Code ermittelt werden."
2101
 
2102
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:45
2103
  msgid ""
2104
  "Warning : The AdSense account from this code does not match the one set with "
2105
  "the Advanced Ads Plugin. This ad might cause troubles when used in the front "
2109
  "den Einstellungen hinterlegt wurde. Es kann zu Problemen bei der Anzeige "
2110
  "kommen."
2111
 
2112
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:123 ..
2113
+ #: modules/gadsense/admin/class-gadsense-admin.php:227
 
 
 
 
 
 
 
 
 
 
2114
  msgid "AdSense"
2115
  msgstr "AdSense"
2116
 
2117
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:131
2118
  msgid "AdSense ID"
2119
  msgstr "AdSense-ID"
2120
 
2121
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:140
2122
  msgid "Limit to 3 ads"
2123
  msgstr "Auf 3 Anzeigen beschränken"
2124
 
2125
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:168
2126
  msgid "Your AdSense Publisher ID <em>(pub-xxxxxxxxxxxxxx)</em>"
2127
  msgstr "Ihre AdSense Publisher ID <em>(pub-xxxxxxxxxxxxxx)</em>"
2128
 
2129
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:180
2130
  #, php-format
2131
  msgid "Limit to %d AdSense ads"
2132
  msgstr "Auf maximal %d AdSense Anzeigen begrenzen"
2133
 
2134
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:184
2135
  #, php-format
2136
  msgid ""
2137
  "Currently, Google AdSense <a target=\"_blank\" href=\"%s\" title=\"Terms Of "
2143
  "Anzeigen pro Seite. Deaktivieren Sie diese Einstellung daher auf eigenes "
2144
  "Risiko."
2145
 
2146
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:187
2147
  msgid "Notice: Advanced Ads only considers the AdSense ad type for this limit."
2148
  msgstr "Hinweis: Advanced Ads zählt nur die AdSense-Anzeigentypen für dieses Limit."
2149
 
2150
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:205 ..
2151
+ #: modules/gadsense/includes/class-ad-type-adsense.php:73
2152
+ msgid "The Publisher ID has an incorrect format. (must start with \"pub-\")"
2153
+ msgstr "Die Publisher-ID hat ein falsches Format. Sie muss mit \"pub-\" beginnen."
2154
 
2155
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:23
2156
+ msgid "Copy&Paste existing ad code"
2157
+ msgstr "Vorhandenen Anzeigencode einfügen\n"
2158
+
2159
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:29
2160
  msgid "Ad Slot ID"
2161
  msgstr "Anzeigen-ID"
2162
 
2163
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:37
2164
  #, php-format
2165
  msgid "Publisher ID: %s"
2166
  msgstr "Publisher ID: %s"
2167
 
2168
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:44
2169
  #, php-format
2170
  msgid "Please <a href=\"%s\" target=\"_blank\">change it here</a>."
2171
  msgstr "Bitte <a href=\"%s\" target=\"_blank\">hier ändern</a>."
2172
 
2173
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:50
2174
  msgid "Normal"
2175
  msgstr "Normal"
2176
 
2177
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:55
2178
  #, php-format
2179
  msgid ""
2180
  "Use the <a href=\"%s\" target=\"_blank\">Responsive add-on</a> in order to "
2183
  "Mit der <a href=\"%s\" target=\"_blank\">Responsive-Erweiterung</a> können Sie "
2184
  "die Breite der Anzeigen für jede Browserbreite angeben."
2185
 
2186
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:60
2187
  msgid "Resizing"
2188
  msgstr "Größe"
2189
 
2190
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:72
2191
  msgid "Copy the ad code from your AdSense account and paste it in the area below"
2192
  msgstr "Kopieren Sie den Anzeigencode von AdSense einfach unten in das Feld"
2193
 
2194
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:75
2195
  msgid "Get details"
2196
  msgstr "Details laden"
2197
 
2262
  msgid "No Ad Group found"
2263
  msgstr "Keine Anzeigen-Gruppe gefunden"
2264
 
2265
+ #: ../public/class-advanced-ads.php:551 ../public/class-advanced-ads.php:555
2266
  msgid "New Ad"
2267
  msgstr "Neue Anzeige"
2268
 
2269
+ #: ../public/class-advanced-ads.php:552
2270
  msgid "Add New Ad"
2271
  msgstr "Neue Anzeige hinzufügen"
2272
 
2273
+ #: ../public/class-advanced-ads.php:554
2274
  msgid "Edit Ad"
2275
  msgstr "Anzeige bearbeiten"
2276
 
2277
+ #: ../public/class-advanced-ads.php:556
2278
  msgid "View"
2279
  msgstr "Ansicht"
2280
 
2281
+ #: ../public/class-advanced-ads.php:557
2282
  msgid "View the Ad"
2283
  msgstr "Anzeige ansehen"
2284
 
2285
+ #: ../public/class-advanced-ads.php:558
2286
  msgid "Search Ads"
2287
  msgstr "Anzeigen suchen"
2288
 
2289
+ #: ../public/class-advanced-ads.php:559
2290
  msgid "No Ads found"
2291
  msgstr "Keine Anzeigen gefunden"
2292
 
2293
+ #: ../public/class-advanced-ads.php:560
2294
  msgid "No Ads found in Trash"
2295
  msgstr "Keine Anzeigen im Papierkorb gefunden"
2296
 
2297
+ #: ../public/class-advanced-ads.php:561
2298
  msgid "Parent Ad"
2299
  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: Wed Aug 05 2015 21:16:46 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"
@@ -30,13 +30,13 @@ msgstr ""
30
 
31
  #: ../admin/class-advanced-ads-admin.php:241 ../admin/class-advanced-ads-admin.
32
  #: php:241 ../admin/views/ad-group-list-form-row.php:27 ../admin/views/ad-group-
33
- #: list-header.php:5 ../admin/views/placements.php:77 ../admin/views/placements.
34
- #: php:165 ../classes/widget.php:73 ../public/class-advanced-ads.php:548
35
  msgid "Ads"
36
  msgstr ""
37
 
38
- #: ../admin/class-advanced-ads-admin.php:245 ../admin/views/placements.php:70 ..
39
- #: /admin/views/placements.php:158 ../classes/widget.php:66
40
  msgid "Ad Groups"
41
  msgstr ""
42
 
@@ -57,7 +57,7 @@ msgid "Advanced Ads Settings"
57
  msgstr ""
58
 
59
  #: ../admin/class-advanced-ads-admin.php:254 ../admin/class-advanced-ads-admin.
60
- #: php:425 ../admin/views/debug.php:11
61
  msgid "Settings"
62
  msgstr ""
63
 
@@ -69,181 +69,190 @@ msgstr ""
69
  msgid "Debug"
70
  msgstr ""
71
 
72
- #: ../admin/class-advanced-ads-admin.php:339 ../admin/class-advanced-ads-admin.
73
- #: php:366
 
 
 
 
 
74
  msgid "Sorry, you are not allowed to access this feature."
75
  msgstr ""
76
 
77
- #: ../admin/class-advanced-ads-admin.php:352
78
  msgid ""
79
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
80
  "deleted?"
81
  msgstr ""
82
 
83
- #: ../admin/class-advanced-ads-admin.php:467
84
  msgid "Ad Type"
85
  msgstr ""
86
 
87
- #: ../admin/class-advanced-ads-admin.php:470
88
  msgid "Ad Parameters"
89
  msgstr ""
90
 
91
- #: ../admin/class-advanced-ads-admin.php:473
92
  msgid "Layout / Output"
93
  msgstr ""
94
 
95
- #: ../admin/class-advanced-ads-admin.php:476
96
  msgid "Display Conditions"
97
  msgstr ""
98
 
99
- #: ../admin/class-advanced-ads-admin.php:479
100
  msgid "Visitor Conditions"
101
  msgstr ""
102
 
103
- #: ../admin/class-advanced-ads-admin.php:645 ../admin/class-advanced-ads-admin.
104
- #: php:646
105
  msgid "Ad updated."
106
  msgstr ""
107
 
108
  #. translators: %s: date and time of the revision
109
- #: ../admin/class-advanced-ads-admin.php:648
110
  #, php-format
111
  msgid "Ad restored to revision from %s"
112
  msgstr ""
113
 
114
- #: ../admin/class-advanced-ads-admin.php:649
115
  msgid "Ad published."
116
  msgstr ""
117
 
118
- #: ../admin/class-advanced-ads-admin.php:650
119
  msgid "Ad saved."
120
  msgstr ""
121
 
122
- #: ../admin/class-advanced-ads-admin.php:651
123
  msgid "Ad submitted."
124
  msgstr ""
125
 
126
- #: ../admin/class-advanced-ads-admin.php:653
127
  #, php-format
128
  msgid "Ad scheduled for: <strong>%1$s</strong>."
129
  msgstr ""
130
 
131
  #. translators: Publish box date format, see http://php.net/date
132
- #: ../admin/class-advanced-ads-admin.php:655
133
  msgid "M j, Y @ G:i"
134
  msgstr ""
135
 
136
- #: ../admin/class-advanced-ads-admin.php:657
137
  msgid "Ad draft updated."
138
  msgstr ""
139
 
140
- #: ../admin/class-advanced-ads-admin.php:676
141
  #, php-format
142
  msgid "%s ad updated."
143
  msgid_plural "%s ads updated."
144
  msgstr[0] ""
145
  msgstr[1] ""
146
 
147
- #: ../admin/class-advanced-ads-admin.php:677
148
  #, php-format
149
  msgid "%s ad not updated, somebody is editing it."
150
  msgid_plural "%s ads not updated, somebody is editing them."
151
  msgstr[0] ""
152
  msgstr[1] ""
153
 
154
- #: ../admin/class-advanced-ads-admin.php:678
155
  #, php-format
156
  msgid "%s ad permanently deleted."
157
  msgid_plural "%s ads permanently deleted."
158
  msgstr[0] ""
159
  msgstr[1] ""
160
 
161
- #: ../admin/class-advanced-ads-admin.php:679
162
  #, php-format
163
  msgid "%s ad moved to the Trash."
164
  msgid_plural "%s ads moved to the Trash."
165
  msgstr[0] ""
166
  msgstr[1] ""
167
 
168
- #: ../admin/class-advanced-ads-admin.php:680
169
  #, php-format
170
  msgid "%s ad restored from the Trash."
171
  msgid_plural "%s ads restored from the Trash."
172
  msgstr[0] ""
173
  msgstr[1] ""
174
 
175
- #: ../admin/class-advanced-ads-admin.php:715 ../admin/views/settings.php:12
176
  msgid "General"
177
  msgstr ""
178
 
179
- #: ../admin/class-advanced-ads-admin.php:727 ../admin/class-advanced-ads-admin.
180
- #: php:807
181
  msgid "Licenses"
182
  msgstr ""
183
 
184
- #: ../admin/class-advanced-ads-admin.php:738
185
  msgid "Disable ads"
186
  msgstr ""
187
 
188
- #: ../admin/class-advanced-ads-admin.php:746
189
  msgid "Hide ads for logged in users"
190
  msgstr ""
191
 
192
- #: ../admin/class-advanced-ads-admin.php:754
193
  msgid "Use advanced JavaScript"
194
  msgstr ""
195
 
196
- #: ../admin/class-advanced-ads-admin.php:762
197
  msgid "Unlimited ad injection"
198
  msgstr ""
199
 
200
- #: ../admin/class-advanced-ads-admin.php:770
201
  msgid "Priority of content injection filter"
202
  msgstr ""
203
 
204
- #: ../admin/class-advanced-ads-admin.php:778
205
  msgid "Hide ads from bots"
206
  msgstr ""
207
 
208
- #: ../admin/class-advanced-ads-admin.php:786
209
  msgid "Disable notices"
210
  msgstr ""
211
 
212
- #: ../admin/class-advanced-ads-admin.php:861
 
 
 
 
213
  msgid "(display to all)"
214
  msgstr ""
215
 
216
- #: ../admin/class-advanced-ads-admin.php:862
217
  msgid "Subscriber"
218
  msgstr ""
219
 
220
- #: ../admin/class-advanced-ads-admin.php:863
221
  msgid "Contributor"
222
  msgstr ""
223
 
224
- #: ../admin/class-advanced-ads-admin.php:864
225
  msgid "Author"
226
  msgstr ""
227
 
228
- #: ../admin/class-advanced-ads-admin.php:865
229
  msgid "Editor"
230
  msgstr ""
231
 
232
- #: ../admin/class-advanced-ads-admin.php:866
233
  msgid "Admin"
234
  msgstr ""
235
 
236
- #: ../admin/class-advanced-ads-admin.php:874
237
  msgid "Choose the lowest role a user must have in order to not see any ads."
238
  msgstr ""
239
 
240
- #: ../admin/class-advanced-ads-admin.php:888
241
  msgid ""
242
  "<strong>notice: </strong>the file is currently enabled by an add-on that "
243
  "needs it."
244
  msgstr ""
245
 
246
- #: ../admin/class-advanced-ads-admin.php:891
247
  #, php-format
248
  msgid ""
249
  "Enable advanced JavaScript functions (<a href=\"%s\" target=\"_blank\">here</a>)."
@@ -251,7 +260,7 @@ msgid ""
251
  "from this file."
252
  msgstr ""
253
 
254
- #: ../admin/class-advanced-ads-admin.php:904
255
  msgid ""
256
  "Some plugins and themes trigger ad injection where it shouldn’t happen. "
257
  "Therefore, Advanced Ads ignores injected placements on non-singular pages "
@@ -260,13 +269,13 @@ msgid ""
260
  "on archive pages AT YOUR OWN RISK."
261
  msgstr ""
262
 
263
- #: ../admin/class-advanced-ads-admin.php:918
264
  msgid ""
265
  "Play with this value in order to change the priority of the injected ads "
266
  "compared to other auto injected elements in the post content."
267
  msgstr ""
268
 
269
- #: ../admin/class-advanced-ads-admin.php:931
270
  #, php-format
271
  msgid ""
272
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
@@ -274,66 +283,80 @@ msgid ""
274
  "Add-On</a>."
275
  msgstr ""
276
 
277
- #: ../admin/class-advanced-ads-admin.php:932
278
  msgid ""
279
  "Disabling this option only makes sense if your ads contain content you want "
280
  "to display to bots (like search engines) or your site is cached and bots "
281
  "could create a cached version without the ads."
282
  msgstr ""
283
 
284
- #: ../admin/class-advanced-ads-admin.php:945
285
  msgid ""
286
  "Disable internal notices like tips, tutorials, email newsletters and update "
287
  "notices. Disabling notices is recommended if you run multiple blogs with "
288
  "Advanced Ads already."
289
  msgstr ""
290
 
291
- #: ../admin/class-advanced-ads-admin.php:998
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
  msgid "Ad Details"
293
  msgstr ""
294
 
295
- #: ../admin/class-advanced-ads-admin.php:1072
296
  msgid "Ad Settings"
297
  msgstr ""
298
 
299
- #: ../admin/class-advanced-ads-admin.php:1151 ../admin/views/overview.php:23
300
  msgid "Ads Dashboard"
301
  msgstr ""
302
 
303
- #: ../admin/class-advanced-ads-admin.php:1163
304
  msgid "From the ad optimization universe"
305
  msgstr ""
306
 
307
- #: ../admin/class-advanced-ads-admin.php:1172
308
  msgid "Advanced Ads Tutorials"
309
  msgstr ""
310
 
311
- #: ../admin/class-advanced-ads-admin.php:1183
312
  #, php-format
313
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
314
  msgstr ""
315
 
316
- #: ../admin/class-advanced-ads-admin.php:1194
317
  msgid "plugin manual and homepage"
318
  msgstr ""
319
 
320
- #: ../admin/class-advanced-ads-admin.php:1201
321
  msgid "Get the tutorial via email"
322
  msgstr ""
323
 
324
- #: ../admin/class-advanced-ads-admin.php:1208
325
  msgid "Get AdSense tips via email"
326
  msgstr ""
327
 
328
- #: ../admin/class-advanced-ads-admin.php:1282
329
  msgid "Error while trying to register the license. Please contact support."
330
  msgstr ""
331
 
332
- #: ../admin/class-advanced-ads-admin.php:1288
333
  msgid "Please enter and save a valid license key first."
334
  msgstr ""
335
 
336
- #: ../admin/class-advanced-ads-admin.php:1308
337
  #, php-format
338
  msgid "License is invalid. Reason: %s"
339
  msgstr ""
@@ -385,7 +408,7 @@ msgid "Display ads with the highest ad weight first"
385
  msgstr ""
386
 
387
  #: ../admin/includes/class-ad-groups-list.php:259 ../public/class-advanced-ads.
388
- #: php:552
389
  msgid "Edit"
390
  msgstr ""
391
 
@@ -939,7 +962,7 @@ msgid "Description"
939
  msgstr ""
940
 
941
  #: ../admin/views/ad-group-list-form-row.php:7 ../admin/views/placements.php:23 ..
942
- #: /modules/gadsense/admin/views/adsense-ad-parameters.php:38
943
  msgid "Type"
944
  msgstr ""
945
 
@@ -957,7 +980,7 @@ msgid "Number of ads that are visible at the same time"
957
  msgstr ""
958
 
959
  #: ../admin/views/ad-group-list-form-row.php:30 ../public/class-advanced-ads.php:
960
- #: 549
961
  msgid "Ad"
962
  msgstr ""
963
 
@@ -974,12 +997,12 @@ msgid "Details"
974
  msgstr ""
975
 
976
  #: ../admin/views/ad-group-list-row.php:8 ../admin/views/ad-group.php:63 ..
977
- #: /admin/views/ad-info.php:3 ../admin/views/placements.php:55
978
  msgid "shortcode"
979
  msgstr ""
980
 
981
  #: ../admin/views/ad-group-list-row.php:11 ../admin/views/ad-group.php:66 ..
982
- #: /admin/views/placements.php:58
983
  msgid "template"
984
  msgstr ""
985
 
@@ -1333,84 +1356,84 @@ msgid ""
1333
  "if the responsible add-on is activated."
1334
  msgstr ""
1335
 
1336
- #: ../admin/views/placements.php:54
1337
  msgid "show usage"
1338
  msgstr ""
1339
 
1340
- #: ../admin/views/placements.php:66
1341
  msgid "Item"
1342
  msgstr ""
1343
 
1344
- #: ../admin/views/placements.php:68 ../admin/views/placements.php:156
1345
  msgid "--not selected--"
1346
  msgstr ""
1347
 
1348
- #: ../admin/views/placements.php:88
1349
  msgid "Inject"
1350
  msgstr ""
1351
 
1352
- #: ../admin/views/placements.php:89
1353
  msgid "after"
1354
  msgstr ""
1355
 
1356
- #: ../admin/views/placements.php:89
1357
  msgid "before"
1358
  msgstr ""
1359
 
1360
- #: ../admin/views/placements.php:109
1361
  msgid "start counting from bottom"
1362
  msgstr ""
1363
 
1364
- #: ../admin/views/placements.php:117
1365
  msgid "remove placement"
1366
  msgstr ""
1367
 
1368
- #: ../admin/views/placements.php:123
1369
  msgid "Save Placements"
1370
  msgstr ""
1371
 
1372
- #: ../admin/views/placements.php:125
1373
  msgid "Create a new placement"
1374
  msgstr ""
1375
 
1376
- #: ../admin/views/placements.php:126
1377
  msgid "New Placement"
1378
  msgstr ""
1379
 
1380
- #: ../admin/views/placements.php:132
1381
  msgid "Choose a placement type"
1382
  msgstr ""
1383
 
1384
- #: ../admin/views/placements.php:133
1385
  #, php-format
1386
  msgid ""
1387
  "Placement types define where the ad is going to be displayed. Learn more "
1388
  "about the different types from the <a href=\"%s\">manual</a>"
1389
  msgstr ""
1390
 
1391
- #: ../admin/views/placements.php:150
1392
  msgid "Choose a Name"
1393
  msgstr ""
1394
 
1395
- #: ../admin/views/placements.php:151
1396
  msgid ""
1397
  "The name of the placement is only visible to you. Tip: choose a descriptive "
1398
  "one, e.g. <em>Below Post Headline</em>."
1399
  msgstr ""
1400
 
1401
- #: ../admin/views/placements.php:152
1402
  msgid "Placement Name"
1403
  msgstr ""
1404
 
1405
- #: ../admin/views/placements.php:153
1406
  msgid "Choose the Ad or Group"
1407
  msgstr ""
1408
 
1409
- #: ../admin/views/placements.php:154
1410
  msgid "The ad or group that should be displayed."
1411
  msgstr ""
1412
 
1413
- #: ../admin/views/placements.php:173
1414
  msgid "Save New Placement"
1415
  msgstr ""
1416
 
@@ -1509,12 +1532,57 @@ msgstr ""
1509
  msgid "webgilde GmbH"
1510
  msgstr ""
1511
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1512
  #: ../admin/views/notices/error.php:1
1513
  msgid "OK"
1514
  msgstr ""
1515
 
1516
  #: ../admin/views/notices/inline.php:4 ../admin/views/notices/subscribe.php:4 ..
1517
- #: /modules/gadsense/admin/views/adsense-ad-parameters.php:69
1518
  msgid "Close"
1519
  msgstr ""
1520
 
@@ -1724,15 +1792,15 @@ msgstr ""
1724
  msgid "does not match regex"
1725
  msgstr ""
1726
 
1727
- #: ../classes/widget.php:19
1728
  msgid "Display Ads and Ad Groups."
1729
  msgstr ""
1730
 
1731
- #: ../classes/widget.php:58
1732
  msgid "Title:"
1733
  msgstr ""
1734
 
1735
- #: ../classes/widget.php:64
1736
  msgid "--empty--"
1737
  msgstr ""
1738
 
@@ -1822,55 +1890,45 @@ msgstr ""
1822
  msgid " at "
1823
  msgstr ""
1824
 
1825
- #: ../modules/gadsense/admin/class-gadsense-admin.php:27 ..
1826
- #: /modules/gadsense/admin/views/adsense-ad-parameters.php:41
1827
  msgid "Responsive"
1828
  msgstr ""
1829
 
1830
- #: ../modules/gadsense/admin/class-gadsense-admin.php:45
1831
  msgid "The ad details couldn't be retrieved from the ad code"
1832
  msgstr ""
1833
 
1834
- #: ../modules/gadsense/admin/class-gadsense-admin.php:46
1835
  msgid ""
1836
  "Warning : The AdSense account from this code does not match the one set with "
1837
  "the Advanced Ads Plugin. This ad might cause troubles when used in the front "
1838
  "end."
1839
  msgstr ""
1840
 
1841
- #: ../modules/gadsense/admin/class-gadsense-admin.php:65 ..
1842
- #: /modules/gadsense/admin/class-gadsense-admin.php:256 ..
1843
- #: /modules/gadsense/includes/class-ad-type-adsense.php:73
1844
- msgid "The Publisher ID has an incorrect format. (must start with \"pub-\")"
1845
- msgstr ""
1846
-
1847
- #: ../modules/gadsense/admin/class-gadsense-admin.php:69
1848
- msgid "Data updated"
1849
- msgstr ""
1850
-
1851
- #: ../modules/gadsense/admin/class-gadsense-admin.php:174 ..
1852
- #: /modules/gadsense/admin/class-gadsense-admin.php:278
1853
  msgid "AdSense"
1854
  msgstr ""
1855
 
1856
- #: ../modules/gadsense/admin/class-gadsense-admin.php:182
1857
  msgid "AdSense ID"
1858
  msgstr ""
1859
 
1860
- #: ../modules/gadsense/admin/class-gadsense-admin.php:191
1861
  msgid "Limit to 3 ads"
1862
  msgstr ""
1863
 
1864
- #: ../modules/gadsense/admin/class-gadsense-admin.php:219
1865
  msgid "Your AdSense Publisher ID <em>(pub-xxxxxxxxxxxxxx)</em>"
1866
  msgstr ""
1867
 
1868
- #: ../modules/gadsense/admin/class-gadsense-admin.php:231
1869
  #, php-format
1870
  msgid "Limit to %d AdSense ads"
1871
  msgstr ""
1872
 
1873
- #: ../modules/gadsense/admin/class-gadsense-admin.php:235
1874
  #, php-format
1875
  msgid ""
1876
  "Currently, Google AdSense <a target=\"_blank\" href=\"%s\" title=\"Terms Of "
@@ -1878,49 +1936,53 @@ msgid ""
1878
  "this limitation at your own risks."
1879
  msgstr ""
1880
 
1881
- #: ../modules/gadsense/admin/class-gadsense-admin.php:238
1882
  msgid "Notice: Advanced Ads only considers the AdSense ad type for this limit."
1883
  msgstr ""
1884
 
1885
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:20
1886
- #, php-format
1887
- msgid "<a class=\"button\" href=\"#\" id=\"%s\">Copy&Paste existing ad code</a>"
1888
  msgstr ""
1889
 
1890
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:23
 
 
 
 
1891
  msgid "Ad Slot ID"
1892
  msgstr ""
1893
 
1894
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:28
1895
  #, php-format
1896
  msgid "Publisher ID: %s"
1897
  msgstr ""
1898
 
1899
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:34
1900
  #, php-format
1901
  msgid "Please <a href=\"%s\" target=\"_blank\">change it here</a>."
1902
  msgstr ""
1903
 
1904
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:40
1905
  msgid "Normal"
1906
  msgstr ""
1907
 
1908
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:45
1909
  #, php-format
1910
  msgid ""
1911
  "Use the <a href=\"%s\" target=\"_blank\">Responsive add-on</a> in order to "
1912
  "define the exact creative for each browser width."
1913
  msgstr ""
1914
 
1915
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:54
1916
  msgid "Resizing"
1917
  msgstr ""
1918
 
1919
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:65
1920
  msgid "Copy the ad code from your AdSense account and paste it in the area below"
1921
  msgstr ""
1922
 
1923
- #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:68
1924
  msgid "Get details"
1925
  msgstr ""
1926
 
@@ -1991,38 +2053,38 @@ msgstr ""
1991
  msgid "No Ad Group found"
1992
  msgstr ""
1993
 
1994
- #: ../public/class-advanced-ads.php:550 ../public/class-advanced-ads.php:554
1995
  msgid "New Ad"
1996
  msgstr ""
1997
 
1998
- #: ../public/class-advanced-ads.php:551
1999
  msgid "Add New Ad"
2000
  msgstr ""
2001
 
2002
- #: ../public/class-advanced-ads.php:553
2003
  msgid "Edit Ad"
2004
  msgstr ""
2005
 
2006
- #: ../public/class-advanced-ads.php:555
2007
  msgid "View"
2008
  msgstr ""
2009
 
2010
- #: ../public/class-advanced-ads.php:556
2011
  msgid "View the Ad"
2012
  msgstr ""
2013
 
2014
- #: ../public/class-advanced-ads.php:557
2015
  msgid "Search Ads"
2016
  msgstr ""
2017
 
2018
- #: ../public/class-advanced-ads.php:558
2019
  msgid "No Ads found"
2020
  msgstr ""
2021
 
2022
- #: ../public/class-advanced-ads.php:559
2023
  msgid "No Ads found in Trash"
2024
  msgstr ""
2025
 
2026
- #: ../public/class-advanced-ads.php:560
2027
  msgid "Parent Ad"
2028
  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: Tue Aug 25 2015 09:42:21 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"
30
 
31
  #: ../admin/class-advanced-ads-admin.php:241 ../admin/class-advanced-ads-admin.
32
  #: php:241 ../admin/views/ad-group-list-form-row.php:27 ../admin/views/ad-group-
33
+ #: list-header.php:5 ../admin/views/placements.php:78 ../admin/views/placements.
34
+ #: php:166 ../classes/widget.php:83 ../public/class-advanced-ads.php:549
35
  msgid "Ads"
36
  msgstr ""
37
 
38
+ #: ../admin/class-advanced-ads-admin.php:245 ../admin/views/placements.php:71 ..
39
+ #: /admin/views/placements.php:159 ../classes/widget.php:76
40
  msgid "Ad Groups"
41
  msgstr ""
42
 
57
  msgstr ""
58
 
59
  #: ../admin/class-advanced-ads-admin.php:254 ../admin/class-advanced-ads-admin.
60
+ #: php:463 ../admin/views/debug.php:11
61
  msgid "Settings"
62
  msgstr ""
63
 
69
  msgid "Debug"
70
  msgstr ""
71
 
72
+ #: ../admin/class-advanced-ads-admin.php:261 ../admin/class-advanced-ads-admin.
73
+ #: php:261
74
+ msgid "Support"
75
+ msgstr ""
76
+
77
+ #: ../admin/class-advanced-ads-admin.php:377 ../admin/class-advanced-ads-admin.
78
+ #: php:404
79
  msgid "Sorry, you are not allowed to access this feature."
80
  msgstr ""
81
 
82
+ #: ../admin/class-advanced-ads-admin.php:390
83
  msgid ""
84
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
85
  "deleted?"
86
  msgstr ""
87
 
88
+ #: ../admin/class-advanced-ads-admin.php:505
89
  msgid "Ad Type"
90
  msgstr ""
91
 
92
+ #: ../admin/class-advanced-ads-admin.php:508
93
  msgid "Ad Parameters"
94
  msgstr ""
95
 
96
+ #: ../admin/class-advanced-ads-admin.php:511
97
  msgid "Layout / Output"
98
  msgstr ""
99
 
100
+ #: ../admin/class-advanced-ads-admin.php:514
101
  msgid "Display Conditions"
102
  msgstr ""
103
 
104
+ #: ../admin/class-advanced-ads-admin.php:517
105
  msgid "Visitor Conditions"
106
  msgstr ""
107
 
108
+ #: ../admin/class-advanced-ads-admin.php:683 ../admin/class-advanced-ads-admin.
109
+ #: php:684
110
  msgid "Ad updated."
111
  msgstr ""
112
 
113
  #. translators: %s: date and time of the revision
114
+ #: ../admin/class-advanced-ads-admin.php:686
115
  #, php-format
116
  msgid "Ad restored to revision from %s"
117
  msgstr ""
118
 
119
+ #: ../admin/class-advanced-ads-admin.php:687
120
  msgid "Ad published."
121
  msgstr ""
122
 
123
+ #: ../admin/class-advanced-ads-admin.php:688
124
  msgid "Ad saved."
125
  msgstr ""
126
 
127
+ #: ../admin/class-advanced-ads-admin.php:689
128
  msgid "Ad submitted."
129
  msgstr ""
130
 
131
+ #: ../admin/class-advanced-ads-admin.php:691
132
  #, php-format
133
  msgid "Ad scheduled for: <strong>%1$s</strong>."
134
  msgstr ""
135
 
136
  #. translators: Publish box date format, see http://php.net/date
137
+ #: ../admin/class-advanced-ads-admin.php:693
138
  msgid "M j, Y @ G:i"
139
  msgstr ""
140
 
141
+ #: ../admin/class-advanced-ads-admin.php:695
142
  msgid "Ad draft updated."
143
  msgstr ""
144
 
145
+ #: ../admin/class-advanced-ads-admin.php:714
146
  #, php-format
147
  msgid "%s ad updated."
148
  msgid_plural "%s ads updated."
149
  msgstr[0] ""
150
  msgstr[1] ""
151
 
152
+ #: ../admin/class-advanced-ads-admin.php:715
153
  #, php-format
154
  msgid "%s ad not updated, somebody is editing it."
155
  msgid_plural "%s ads not updated, somebody is editing them."
156
  msgstr[0] ""
157
  msgstr[1] ""
158
 
159
+ #: ../admin/class-advanced-ads-admin.php:716
160
  #, php-format
161
  msgid "%s ad permanently deleted."
162
  msgid_plural "%s ads permanently deleted."
163
  msgstr[0] ""
164
  msgstr[1] ""
165
 
166
+ #: ../admin/class-advanced-ads-admin.php:717
167
  #, php-format
168
  msgid "%s ad moved to the Trash."
169
  msgid_plural "%s ads moved to the Trash."
170
  msgstr[0] ""
171
  msgstr[1] ""
172
 
173
+ #: ../admin/class-advanced-ads-admin.php:718
174
  #, php-format
175
  msgid "%s ad restored from the Trash."
176
  msgid_plural "%s ads restored from the Trash."
177
  msgstr[0] ""
178
  msgstr[1] ""
179
 
180
+ #: ../admin/class-advanced-ads-admin.php:753 ../admin/views/settings.php:12
181
  msgid "General"
182
  msgstr ""
183
 
184
+ #: ../admin/class-advanced-ads-admin.php:765 ../admin/class-advanced-ads-admin.
185
+ #: php:853
186
  msgid "Licenses"
187
  msgstr ""
188
 
189
+ #: ../admin/class-advanced-ads-admin.php:776
190
  msgid "Disable ads"
191
  msgstr ""
192
 
193
+ #: ../admin/class-advanced-ads-admin.php:784
194
  msgid "Hide ads for logged in users"
195
  msgstr ""
196
 
197
+ #: ../admin/class-advanced-ads-admin.php:792
198
  msgid "Use advanced JavaScript"
199
  msgstr ""
200
 
201
+ #: ../admin/class-advanced-ads-admin.php:800
202
  msgid "Unlimited ad injection"
203
  msgstr ""
204
 
205
+ #: ../admin/class-advanced-ads-admin.php:808
206
  msgid "Priority of content injection filter"
207
  msgstr ""
208
 
209
+ #: ../admin/class-advanced-ads-admin.php:816
210
  msgid "Hide ads from bots"
211
  msgstr ""
212
 
213
+ #: ../admin/class-advanced-ads-admin.php:824
214
  msgid "Disable notices"
215
  msgstr ""
216
 
217
+ #: ../admin/class-advanced-ads-admin.php:832
218
+ msgid "ID prefix"
219
+ msgstr ""
220
+
221
+ #: ../admin/class-advanced-ads-admin.php:907
222
  msgid "(display to all)"
223
  msgstr ""
224
 
225
+ #: ../admin/class-advanced-ads-admin.php:908
226
  msgid "Subscriber"
227
  msgstr ""
228
 
229
+ #: ../admin/class-advanced-ads-admin.php:909
230
  msgid "Contributor"
231
  msgstr ""
232
 
233
+ #: ../admin/class-advanced-ads-admin.php:910
234
  msgid "Author"
235
  msgstr ""
236
 
237
+ #: ../admin/class-advanced-ads-admin.php:911
238
  msgid "Editor"
239
  msgstr ""
240
 
241
+ #: ../admin/class-advanced-ads-admin.php:912
242
  msgid "Admin"
243
  msgstr ""
244
 
245
+ #: ../admin/class-advanced-ads-admin.php:920
246
  msgid "Choose the lowest role a user must have in order to not see any ads."
247
  msgstr ""
248
 
249
+ #: ../admin/class-advanced-ads-admin.php:934
250
  msgid ""
251
  "<strong>notice: </strong>the file is currently enabled by an add-on that "
252
  "needs it."
253
  msgstr ""
254
 
255
+ #: ../admin/class-advanced-ads-admin.php:937
256
  #, php-format
257
  msgid ""
258
  "Enable advanced JavaScript functions (<a href=\"%s\" target=\"_blank\">here</a>)."
260
  "from this file."
261
  msgstr ""
262
 
263
+ #: ../admin/class-advanced-ads-admin.php:950
264
  msgid ""
265
  "Some plugins and themes trigger ad injection where it shouldn’t happen. "
266
  "Therefore, Advanced Ads ignores injected placements on non-singular pages "
269
  "on archive pages AT YOUR OWN RISK."
270
  msgstr ""
271
 
272
+ #: ../admin/class-advanced-ads-admin.php:964
273
  msgid ""
274
  "Play with this value in order to change the priority of the injected ads "
275
  "compared to other auto injected elements in the post content."
276
  msgstr ""
277
 
278
+ #: ../admin/class-advanced-ads-admin.php:977
279
  #, php-format
280
  msgid ""
281
  "Hide ads from crawlers, bots and empty user agents. Also prevents counting "
283
  "Add-On</a>."
284
  msgstr ""
285
 
286
+ #: ../admin/class-advanced-ads-admin.php:978
287
  msgid ""
288
  "Disabling this option only makes sense if your ads contain content you want "
289
  "to display to bots (like search engines) or your site is cached and bots "
290
  "could create a cached version without the ads."
291
  msgstr ""
292
 
293
+ #: ../admin/class-advanced-ads-admin.php:991
294
  msgid ""
295
  "Disable internal notices like tips, tutorials, email newsletters and update "
296
  "notices. Disabling notices is recommended if you run multiple blogs with "
297
  "Advanced Ads already."
298
  msgstr ""
299
 
300
+ #: ../admin/class-advanced-ads-admin.php:1004
301
+ msgid ""
302
+ "Please check your widgets after saving this page. The original id and class "
303
+ "prefix changed and custom css rules must be rewritten."
304
+ msgstr ""
305
+
306
+ #: ../admin/class-advanced-ads-admin.php:1008
307
+ msgid ""
308
+ "Prefix of class or id attributes in the frontend. Change it if you don’t "
309
+ "want <strong>ad blockers</strong> to mark these blocks as ads.<br/>You might "
310
+ "need to <strong>re-create your widgets and rewrite css rules "
311
+ "afterwards</strong>."
312
+ msgstr ""
313
+
314
+ #: ../admin/class-advanced-ads-admin.php:1061
315
  msgid "Ad Details"
316
  msgstr ""
317
 
318
+ #: ../admin/class-advanced-ads-admin.php:1135
319
  msgid "Ad Settings"
320
  msgstr ""
321
 
322
+ #: ../admin/class-advanced-ads-admin.php:1214 ../admin/views/overview.php:23
323
  msgid "Ads Dashboard"
324
  msgstr ""
325
 
326
+ #: ../admin/class-advanced-ads-admin.php:1226
327
  msgid "From the ad optimization universe"
328
  msgstr ""
329
 
330
+ #: ../admin/class-advanced-ads-admin.php:1235
331
  msgid "Advanced Ads Tutorials"
332
  msgstr ""
333
 
334
+ #: ../admin/class-advanced-ads-admin.php:1246
335
  #, php-format
336
  msgid "%d ads – <a href=\"%s\">manage</a> - <a href=\"%s\">new</a>"
337
  msgstr ""
338
 
339
+ #: ../admin/class-advanced-ads-admin.php:1257
340
  msgid "plugin manual and homepage"
341
  msgstr ""
342
 
343
+ #: ../admin/class-advanced-ads-admin.php:1264
344
  msgid "Get the tutorial via email"
345
  msgstr ""
346
 
347
+ #: ../admin/class-advanced-ads-admin.php:1271
348
  msgid "Get AdSense tips via email"
349
  msgstr ""
350
 
351
+ #: ../admin/class-advanced-ads-admin.php:1345
352
  msgid "Error while trying to register the license. Please contact support."
353
  msgstr ""
354
 
355
+ #: ../admin/class-advanced-ads-admin.php:1351
356
  msgid "Please enter and save a valid license key first."
357
  msgstr ""
358
 
359
+ #: ../admin/class-advanced-ads-admin.php:1371
360
  #, php-format
361
  msgid "License is invalid. Reason: %s"
362
  msgstr ""
408
  msgstr ""
409
 
410
  #: ../admin/includes/class-ad-groups-list.php:259 ../public/class-advanced-ads.
411
+ #: php:553
412
  msgid "Edit"
413
  msgstr ""
414
 
962
  msgstr ""
963
 
964
  #: ../admin/views/ad-group-list-form-row.php:7 ../admin/views/placements.php:23 ..
965
+ #: /modules/gadsense/admin/views/adsense-ad-parameters.php:48
966
  msgid "Type"
967
  msgstr ""
968
 
980
  msgstr ""
981
 
982
  #: ../admin/views/ad-group-list-form-row.php:30 ../public/class-advanced-ads.php:
983
+ #: 550
984
  msgid "Ad"
985
  msgstr ""
986
 
997
  msgstr ""
998
 
999
  #: ../admin/views/ad-group-list-row.php:8 ../admin/views/ad-group.php:63 ..
1000
+ #: /admin/views/ad-info.php:3 ../admin/views/placements.php:56
1001
  msgid "shortcode"
1002
  msgstr ""
1003
 
1004
  #: ../admin/views/ad-group-list-row.php:11 ../admin/views/ad-group.php:66 ..
1005
+ #: /admin/views/placements.php:59
1006
  msgid "template"
1007
  msgstr ""
1008
 
1356
  "if the responsible add-on is activated."
1357
  msgstr ""
1358
 
1359
+ #: ../admin/views/placements.php:55
1360
  msgid "show usage"
1361
  msgstr ""
1362
 
1363
+ #: ../admin/views/placements.php:67
1364
  msgid "Item"
1365
  msgstr ""
1366
 
1367
+ #: ../admin/views/placements.php:69 ../admin/views/placements.php:157
1368
  msgid "--not selected--"
1369
  msgstr ""
1370
 
1371
+ #: ../admin/views/placements.php:89
1372
  msgid "Inject"
1373
  msgstr ""
1374
 
1375
+ #: ../admin/views/placements.php:90
1376
  msgid "after"
1377
  msgstr ""
1378
 
1379
+ #: ../admin/views/placements.php:90
1380
  msgid "before"
1381
  msgstr ""
1382
 
1383
+ #: ../admin/views/placements.php:110
1384
  msgid "start counting from bottom"
1385
  msgstr ""
1386
 
1387
+ #: ../admin/views/placements.php:118
1388
  msgid "remove placement"
1389
  msgstr ""
1390
 
1391
+ #: ../admin/views/placements.php:124
1392
  msgid "Save Placements"
1393
  msgstr ""
1394
 
1395
+ #: ../admin/views/placements.php:126
1396
  msgid "Create a new placement"
1397
  msgstr ""
1398
 
1399
+ #: ../admin/views/placements.php:127
1400
  msgid "New Placement"
1401
  msgstr ""
1402
 
1403
+ #: ../admin/views/placements.php:133
1404
  msgid "Choose a placement type"
1405
  msgstr ""
1406
 
1407
+ #: ../admin/views/placements.php:134
1408
  #, php-format
1409
  msgid ""
1410
  "Placement types define where the ad is going to be displayed. Learn more "
1411
  "about the different types from the <a href=\"%s\">manual</a>"
1412
  msgstr ""
1413
 
1414
+ #: ../admin/views/placements.php:151
1415
  msgid "Choose a Name"
1416
  msgstr ""
1417
 
1418
+ #: ../admin/views/placements.php:152
1419
  msgid ""
1420
  "The name of the placement is only visible to you. Tip: choose a descriptive "
1421
  "one, e.g. <em>Below Post Headline</em>."
1422
  msgstr ""
1423
 
1424
+ #: ../admin/views/placements.php:153
1425
  msgid "Placement Name"
1426
  msgstr ""
1427
 
1428
+ #: ../admin/views/placements.php:154
1429
  msgid "Choose the Ad or Group"
1430
  msgstr ""
1431
 
1432
+ #: ../admin/views/placements.php:155
1433
  msgid "The ad or group that should be displayed."
1434
  msgstr ""
1435
 
1436
+ #: ../admin/views/placements.php:174
1437
  msgid "Save New Placement"
1438
  msgstr ""
1439
 
1532
  msgid "webgilde GmbH"
1533
  msgstr ""
1534
 
1535
+ #: ../admin/views/support.php:9
1536
+ msgid "Email was successfully sent."
1537
+ msgstr ""
1538
+
1539
+ #: ../admin/views/support.php:10
1540
+ msgid "Search"
1541
+ msgstr ""
1542
+
1543
+ #: ../admin/views/support.php:11
1544
+ msgid ""
1545
+ "Use the following form to search for solutions in the manual on "
1546
+ "wpadvancedads.com"
1547
+ msgstr ""
1548
+
1549
+ #: ../admin/views/support.php:14
1550
+ msgid "search"
1551
+ msgstr ""
1552
+
1553
+ #: ../admin/views/support.php:17
1554
+ msgid "Contact"
1555
+ msgstr ""
1556
+
1557
+ #: ../admin/views/support.php:18
1558
+ #, php-format
1559
+ msgid ""
1560
+ "Please search the manual for a solution and take a look at <a href=\"%s\" "
1561
+ "target=\"_blank\">Ads not showing up?</a> before contacting me for help."
1562
+ msgstr ""
1563
+
1564
+ #: ../admin/views/support.php:20
1565
+ msgid "your email"
1566
+ msgstr ""
1567
+
1568
+ #: ../admin/views/support.php:21
1569
+ msgid "your name"
1570
+ msgstr ""
1571
+
1572
+ #: ../admin/views/support.php:22
1573
+ msgid "your message"
1574
+ msgstr ""
1575
+
1576
+ #: ../admin/views/support.php:23
1577
+ msgid "send"
1578
+ msgstr ""
1579
+
1580
  #: ../admin/views/notices/error.php:1
1581
  msgid "OK"
1582
  msgstr ""
1583
 
1584
  #: ../admin/views/notices/inline.php:4 ../admin/views/notices/subscribe.php:4 ..
1585
+ #: /modules/gadsense/admin/views/adsense-ad-parameters.php:76
1586
  msgid "Close"
1587
  msgstr ""
1588
 
1792
  msgid "does not match regex"
1793
  msgstr ""
1794
 
1795
+ #: ../classes/widget.php:25
1796
  msgid "Display Ads and Ad Groups."
1797
  msgstr ""
1798
 
1799
+ #: ../classes/widget.php:68
1800
  msgid "Title:"
1801
  msgstr ""
1802
 
1803
+ #: ../classes/widget.php:74
1804
  msgid "--empty--"
1805
  msgstr ""
1806
 
1890
  msgid " at "
1891
  msgstr ""
1892
 
1893
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:26 ..
1894
+ #: /modules/gadsense/admin/views/adsense-ad-parameters.php:51
1895
  msgid "Responsive"
1896
  msgstr ""
1897
 
1898
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:44
1899
  msgid "The ad details couldn't be retrieved from the ad code"
1900
  msgstr ""
1901
 
1902
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:45
1903
  msgid ""
1904
  "Warning : The AdSense account from this code does not match the one set with "
1905
  "the Advanced Ads Plugin. This ad might cause troubles when used in the front "
1906
  "end."
1907
  msgstr ""
1908
 
1909
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:123 ..
1910
+ #: /modules/gadsense/admin/class-gadsense-admin.php:227
 
 
 
 
 
 
 
 
 
 
1911
  msgid "AdSense"
1912
  msgstr ""
1913
 
1914
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:131
1915
  msgid "AdSense ID"
1916
  msgstr ""
1917
 
1918
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:140
1919
  msgid "Limit to 3 ads"
1920
  msgstr ""
1921
 
1922
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:168
1923
  msgid "Your AdSense Publisher ID <em>(pub-xxxxxxxxxxxxxx)</em>"
1924
  msgstr ""
1925
 
1926
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:180
1927
  #, php-format
1928
  msgid "Limit to %d AdSense ads"
1929
  msgstr ""
1930
 
1931
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:184
1932
  #, php-format
1933
  msgid ""
1934
  "Currently, Google AdSense <a target=\"_blank\" href=\"%s\" title=\"Terms Of "
1936
  "this limitation at your own risks."
1937
  msgstr ""
1938
 
1939
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:187
1940
  msgid "Notice: Advanced Ads only considers the AdSense ad type for this limit."
1941
  msgstr ""
1942
 
1943
+ #: ../modules/gadsense/admin/class-gadsense-admin.php:205 ..
1944
+ #: /modules/gadsense/includes/class-ad-type-adsense.php:73
1945
+ msgid "The Publisher ID has an incorrect format. (must start with \"pub-\")"
1946
  msgstr ""
1947
 
1948
  #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:23
1949
+ msgid "Copy&Paste existing ad code"
1950
+ msgstr ""
1951
+
1952
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:29
1953
  msgid "Ad Slot ID"
1954
  msgstr ""
1955
 
1956
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:37
1957
  #, php-format
1958
  msgid "Publisher ID: %s"
1959
  msgstr ""
1960
 
1961
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:44
1962
  #, php-format
1963
  msgid "Please <a href=\"%s\" target=\"_blank\">change it here</a>."
1964
  msgstr ""
1965
 
1966
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:50
1967
  msgid "Normal"
1968
  msgstr ""
1969
 
1970
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:55
1971
  #, php-format
1972
  msgid ""
1973
  "Use the <a href=\"%s\" target=\"_blank\">Responsive add-on</a> in order to "
1974
  "define the exact creative for each browser width."
1975
  msgstr ""
1976
 
1977
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:60
1978
  msgid "Resizing"
1979
  msgstr ""
1980
 
1981
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:72
1982
  msgid "Copy the ad code from your AdSense account and paste it in the area below"
1983
  msgstr ""
1984
 
1985
+ #: ../modules/gadsense/admin/views/adsense-ad-parameters.php:75
1986
  msgid "Get details"
1987
  msgstr ""
1988
 
2053
  msgid "No Ad Group found"
2054
  msgstr ""
2055
 
2056
+ #: ../public/class-advanced-ads.php:551 ../public/class-advanced-ads.php:555
2057
  msgid "New Ad"
2058
  msgstr ""
2059
 
2060
+ #: ../public/class-advanced-ads.php:552
2061
  msgid "Add New Ad"
2062
  msgstr ""
2063
 
2064
+ #: ../public/class-advanced-ads.php:554
2065
  msgid "Edit Ad"
2066
  msgstr ""
2067
 
2068
+ #: ../public/class-advanced-ads.php:556
2069
  msgid "View"
2070
  msgstr ""
2071
 
2072
+ #: ../public/class-advanced-ads.php:557
2073
  msgid "View the Ad"
2074
  msgstr ""
2075
 
2076
+ #: ../public/class-advanced-ads.php:558
2077
  msgid "Search Ads"
2078
  msgstr ""
2079
 
2080
+ #: ../public/class-advanced-ads.php:559
2081
  msgid "No Ads found"
2082
  msgstr ""
2083
 
2084
+ #: ../public/class-advanced-ads.php:560
2085
  msgid "No Ads found in Trash"
2086
  msgstr ""
2087
 
2088
+ #: ../public/class-advanced-ads.php:561
2089
  msgid "Parent Ad"
2090
  msgstr ""
modules/gadsense/admin/assets/js/new-ad.js CHANGED
@@ -68,11 +68,11 @@
68
  if ('undefined' != typeof(adByGoogle.attr( 'data-ad-client' ))) {
69
  theAd.pubId = adByGoogle.attr( 'data-ad-client' ).substr( 3 );
70
  }
71
- if ('' != theAd.slotId && '' != theAd.pubId) {
72
  theAd.display = adByGoogle.css( 'display' );
73
  theAd.format = adByGoogle.attr( 'data-ad-format' );
74
  theAd.style = adByGoogle.attr( 'style' );
75
-
76
  if ('undefined' == typeof(theAd.format) && -1 != theAd.style.indexOf( 'width' )) {
77
  /* normal ad */
78
  theAd.type = 'normal';
68
  if ('undefined' != typeof(adByGoogle.attr( 'data-ad-client' ))) {
69
  theAd.pubId = adByGoogle.attr( 'data-ad-client' ).substr( 3 );
70
  }
71
+ if (undefined !== theAd.slotId && '' != theAd.pubId) {
72
  theAd.display = adByGoogle.css( 'display' );
73
  theAd.format = adByGoogle.attr( 'data-ad-format' );
74
  theAd.style = adByGoogle.attr( 'style' );
75
+
76
  if ('undefined' == typeof(theAd.format) && -1 != theAd.style.indexOf( 'width' )) {
77
  /* normal ad */
78
  theAd.type = 'normal';
modules/gadsense/admin/class-gadsense-admin.php CHANGED
@@ -16,7 +16,6 @@ class Gadsense_Admin {
16
 
17
  add_action( 'admin_enqueue_scripts', array($this, 'enqueue_scripts') );
18
  add_action( 'admin_print_scripts', array($this, 'print_scripts') );
19
- add_action( 'admin_init', array($this, 'init') );
20
  add_filter( 'advanced-ads-list-ad-size', array($this, 'ad_details_column'), 10, 2 );
21
  add_filter( 'advanced-ads-ad-settings-pre-save', array($this, 'sanitize_ad_settings') );
22
  }
@@ -51,56 +50,6 @@ class Gadsense_Admin {
51
  }
52
  }
53
 
54
- public function init() {
55
- if ( isset($_POST['gadsense-nonce']) ) {
56
- $this->form_treatment();
57
- }
58
- $this->nonce = wp_create_nonce( 'gadsense_nonce' );
59
-
60
- // admin notices
61
- if ( isset($_COOKIE['gadsense_admin_notice']) ) {
62
- // passing the actual message by cookie would enable an injection
63
- if ( $_COOKIE['gadsense_admin_notice'] > 0 ) {
64
- // error
65
- $msg = __( 'The Publisher ID has an incorrect format. (must start with "pub-")', ADVADS_SLUG );
66
- $css = 'error';
67
- } else {
68
- // success
69
- $msg = __( 'Data updated', ADVADS_SLUG );
70
- $css = 'updated';
71
- }
72
- $this->notice = array(
73
- 'msg' => $msg,
74
- 'class' => $css,
75
- );
76
- setcookie( 'gadsense_admin_notice', null, -1 );
77
- }
78
- }
79
-
80
- public function form_treatment() {
81
- if ( 1 === wp_verify_nonce( $_POST['gadsense-nonce'], 'gadsense_nonce' ) ) {
82
- switch ( $_POST['gadsense-form-name'] ) {
83
- case 'cred-form' :
84
- $id = strtolower( trim( wp_unslash( $_POST['adsense-id'] ) ) );
85
- $limit = (isset($_POST['limit-per-page']))? true : false;
86
- $isError = false;
87
- if ( 0 === strpos( $id, 'pub-' ) ) {
88
- $this->data->set_adsense_id( $id );
89
- $this->data->set_limit_per_page( $limit );
90
- } else {
91
- $isError = true;
92
- }
93
- setcookie( 'gadsense_admin_notice', (string) (int) $isError, time() + 900 ); // only display for 15 minutes
94
- break;
95
- default :
96
- }
97
- }
98
-
99
- // redirect
100
- wp_redirect( $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'] );
101
- die();
102
- }
103
-
104
  public function enqueue_scripts() {
105
  global $gadsense_globals, $pagenow, $post_type;
106
  $screen = get_current_screen();
16
 
17
  add_action( 'admin_enqueue_scripts', array($this, 'enqueue_scripts') );
18
  add_action( 'admin_print_scripts', array($this, 'print_scripts') );
 
19
  add_filter( 'advanced-ads-list-ad-size', array($this, 'ad_details_column'), 10, 2 );
20
  add_filter( 'advanced-ads-ad-settings-pre-save', array($this, 'sanitize_ad_settings') );
21
  }
50
  }
51
  }
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  public function enqueue_scripts() {
54
  global $gadsense_globals, $pagenow, $post_type;
55
  $screen = get_current_screen();
modules/gadsense/admin/views/adsense-ad-parameters.php CHANGED
@@ -5,61 +5,68 @@ if ( ! defined( 'WPINC' ) ) {
5
  $is_responsive = ('responsive' == $unit_type) ? true : false;
6
  $use_manual_css = ('manual' == $unit_resize) ? true : false;
7
  if ( $is_responsive ) {
8
- ?>
9
- <style type="text/css">
10
- #advanced-ads-ad-parameters-size {
11
- display: none;
12
- }
13
- </style>
14
- <?php
15
  }
 
 
 
 
 
 
 
16
  ?>
17
  <div id="adsense-new-add-div-default">
18
  <input type="hidden" id="advads-ad-content-adsense" name="advanced_ad[content]" value="<?php echo esc_attr( $json_content ); ?>" />
19
  <input type="hidden" name="unit_id" id="unit_id" value="<?php echo esc_attr( $unit_id ); ?>" />
20
- <?php printf( __( '<a class="button" href="#" id="%s">Copy&Paste existing ad code</a>', ADVADS_SLUG ), 'show-pastecode-div' ); ?>
21
- <p id="adsense-ad-param-error"></p>
22
- <label>
23
- <?php _e( 'Ad Slot ID', ADVADS_SLUG ); ?>&nbsp;:&nbsp;
24
- <input type="text" name="unit-code" id="unit-code" value="<?php echo $unit_code; ?>" />
25
- </label>
 
 
 
 
 
 
 
 
26
  <input type="hidden" name="advanced_ad[output][adsense-pub-id]" id="advads-adsense-pub-id" value="" />
27
  <?php if( $pub_id ) : ?>
28
  <p><?php printf(__( 'Publisher ID: %s', ADVADS_SLUG ), $pub_id ); ?></p>
29
- <?php endif; ?>
30
- <?php if( $pub_id_errors ) : ?>
31
- <p><span class="advads-error-message">
32
- <?php echo $pub_id_errors; ?>
33
- </span><?php
34
- printf(__( 'Please <a href="%s" target="_blank">change it here</a>.', ADVADS_SLUG ), admin_url( 'admin.php?page=advanced-ads-settings#top#adsense' ));
35
- ?></p>
36
- <?php endif; ?>
37
- <label>
 
38
  <?php _e( 'Type', ADVADS_SLUG ); ?>&nbsp;:&nbsp;
39
  <select name="unit-type" id="unit-type">
40
  <option value="normal" <?php selected( $unit_type, 'normal' ); ?>><?php _e( 'Normal', ADVADS_SLUG ); ?></option>
41
  <option value="responsive" <?php selected( $unit_type, 'responsive' ); ?>><?php _e( 'Responsive', ADVADS_SLUG ); ?></option>
42
  </select>
43
  </label>
44
- <?php if ( ! defined( 'AAR_SLUG' ) ) : ?>
45
- <p><?php printf( __( 'Use the <a href="%s" target="_blank">Responsive add-on</a> in order to define the exact creative for each browser width.', ADVADS_SLUG ), ADVADS_URL . 'add-ons/responsive-ads/' ); ?></p>
46
- <?php else : ?>
47
  <br />
48
- <?php endif; ?>
49
- <?php
50
- $db = Gadsense_Data::get_instance();
51
- $sizing_array = $db->get_responsive_sizing();
52
- ?>
53
- <label <?php if ( ! $is_responsive || 2 > count( $sizing_array ) ) { echo 'style="display: none;"'; } ?> id="resize-block"><br />
54
- <?php _e( 'Resizing', ADVADS_SLUG ); ?>&nbsp;:&nbsp;
55
- <select name="ad-resize-type" id="ad-resize-type">
56
- <?php foreach ( $sizing_array as $key => $desc ) : ?>
57
- <option value="<?php echo $key; ?>" <?php selected( $key, $unit_resize ); ?>><?php echo $desc; ?></option>
58
- <?php endforeach; ?>
59
- </select>
60
- </label>
61
  <?php do_action( 'advanced-ads-gadsense-extra-ad-param', $extra_params, $content ); ?>
62
  </div><!-- #adsense-new-add-div-default -->
 
63
  <div id="pastecode-div" style="display: none;">
64
  <div id="pastecode-container">
65
  <h3><?php _e( 'Copy the ad code from your AdSense account and paste it in the area below', ADVADS_SLUG ); ?></h3>
@@ -69,4 +76,5 @@ if ( $is_responsive ) {
69
  <button class="button button-secondary" id="hide-pastecode-div"><?php _e( 'Close', ADVADS_SLUG ); ?></button>
70
  <div id="pastecode-msg"></div>
71
  </div>
72
- </div><!-- #pastecode-div -->
 
5
  $is_responsive = ('responsive' == $unit_type) ? true : false;
6
  $use_manual_css = ('manual' == $unit_resize) ? true : false;
7
  if ( $is_responsive ) {
8
+ echo '<style type="text/css"> #advanced-ads-ad-parameters-size {display: none;} </style>';
 
 
 
 
 
 
9
  }
10
+
11
+ $use_paste_code = true;
12
+ $use_paste_code = apply_filters( 'advanced-ads-gadsense-use-pastecode', $use_paste_code );
13
+
14
+ $db = Gadsense_Data::get_instance();
15
+ $sizing_array = $db->get_responsive_sizing();
16
+
17
  ?>
18
  <div id="adsense-new-add-div-default">
19
  <input type="hidden" id="advads-ad-content-adsense" name="advanced_ad[content]" value="<?php echo esc_attr( $json_content ); ?>" />
20
  <input type="hidden" name="unit_id" id="unit_id" value="<?php echo esc_attr( $unit_id ); ?>" />
21
+ <?php
22
+ if ( $use_paste_code ) {
23
+ echo '<a class="button" href="#" id="show-pastecode-div">' . __( 'Copy&Paste existing ad code', ADVADS_SLUG ) . '</a>';
24
+ }
25
+ ?>
26
+ <p id="adsense-ad-param-error"></p>
27
+ <?php ob_start(); ?>
28
+ <label>
29
+ <?php _e( 'Ad Slot ID', ADVADS_SLUG ); ?>&nbsp;:&nbsp;<input type="text" name="unit-code" id="unit-code" value="<?php echo $unit_code; ?>" />
30
+ </label>
31
+ <?php
32
+ $unit_code_markup = ob_get_clean();
33
+ echo apply_filters( 'advanced-ads-gadsense-unit-code-markup', $unit_code_markup, $unit_code );
34
+ ?>
35
  <input type="hidden" name="advanced_ad[output][adsense-pub-id]" id="advads-adsense-pub-id" value="" />
36
  <?php if( $pub_id ) : ?>
37
  <p><?php printf(__( 'Publisher ID: %s', ADVADS_SLUG ), $pub_id ); ?></p>
38
+ <?php endif; ?>
39
+ <?php if( $pub_id_errors ) : ?>
40
+ <p>
41
+ <span class="advads-error-message">
42
+ <?php echo $pub_id_errors; ?>
43
+ </span>
44
+ <?php printf(__( 'Please <a href="%s" target="_blank">change it here</a>.', ADVADS_SLUG ), admin_url( 'admin.php?page=advanced-ads-settings#top#adsense' )); ?>
45
+ </p>
46
+ <?php endif; ?>
47
+ <label id="unit-type-block">
48
  <?php _e( 'Type', ADVADS_SLUG ); ?>&nbsp;:&nbsp;
49
  <select name="unit-type" id="unit-type">
50
  <option value="normal" <?php selected( $unit_type, 'normal' ); ?>><?php _e( 'Normal', ADVADS_SLUG ); ?></option>
51
  <option value="responsive" <?php selected( $unit_type, 'responsive' ); ?>><?php _e( 'Responsive', ADVADS_SLUG ); ?></option>
52
  </select>
53
  </label>
54
+ <?php if ( ! defined( 'AAR_SLUG' ) ) : ?>
55
+ <p><?php printf( __( 'Use the <a href="%s" target="_blank">Responsive add-on</a> in order to define the exact creative for each browser width.', ADVADS_SLUG ), ADVADS_URL . 'add-ons/responsive-ads/' ); ?></p>
56
+ <?php else : ?>
57
  <br />
58
+ <?php endif; ?>
59
+ <label <?php if ( ! $is_responsive || 2 > count( $sizing_array ) ) { echo 'style="display: none;"'; } ?> id="resize-block"><br />
60
+ <?php _e( 'Resizing', ADVADS_SLUG ); ?>&nbsp;:&nbsp;
61
+ <select name="ad-resize-type" id="ad-resize-type">
62
+ <?php foreach ( $sizing_array as $key => $desc ) : ?>
63
+ <option value="<?php echo $key; ?>" <?php selected( $key, $unit_resize ); ?>><?php echo $desc; ?></option>
64
+ <?php endforeach; ?>
65
+ </select>
66
+ </label>
 
 
 
 
67
  <?php do_action( 'advanced-ads-gadsense-extra-ad-param', $extra_params, $content ); ?>
68
  </div><!-- #adsense-new-add-div-default -->
69
+ <?php if ( $use_paste_code ) : ?>
70
  <div id="pastecode-div" style="display: none;">
71
  <div id="pastecode-container">
72
  <h3><?php _e( 'Copy the ad code from your AdSense account and paste it in the area below', ADVADS_SLUG ); ?></h3>
76
  <button class="button button-secondary" id="hide-pastecode-div"><?php _e( 'Close', ADVADS_SLUG ); ?></button>
77
  <div id="pastecode-msg"></div>
78
  </div>
79
+ </div><!-- #pastecode-div -->
80
+ <?php endif;
modules/gadsense/includes/class-gadsense-data.php CHANGED
@@ -10,30 +10,30 @@ class Gadsense_Data {
10
 
11
  private function __construct() {
12
 
13
- $options = get_option(GADSENSE_OPT_NAME, array());
14
 
15
  // AdSense publisher id
16
  if ( ! isset($options['adsense-id']) ) {
17
- // check if there is still an old setting
18
- // 'gadsense_options' was renamed
19
- $old_options = get_option( 'gadsense_options', array() );
20
- if ( isset($old_options['adsense_id']) ) {
21
- $options['adsense-id'] = $old_options['adsense_id'];
22
- $options['limit-per-page'] = $old_options['limit_ads_per_page'];
23
-
24
- // remove old options
25
- delete_option('gadsense_options');
26
- } else {
27
- $options['adsense-id'] = '';
28
- $options['limit-per-page'] = true;
29
- }
30
-
31
- update_option(GADSENSE_OPT_NAME, $options);
32
  }
33
 
34
- if ( !isset($options['limit-per-page']) ) {
35
- $options['limit-per-page'] = '';
36
- }
37
 
38
  $this->options = $options;
39
 
10
 
11
  private function __construct() {
12
 
13
+ $options = get_option(GADSENSE_OPT_NAME, array());
14
 
15
  // AdSense publisher id
16
  if ( ! isset($options['adsense-id']) ) {
17
+ // check if there is still an old setting
18
+ // 'gadsense_options' was renamed
19
+ $old_options = get_option( 'gadsense_options', array() );
20
+ if ( isset($old_options['adsense_id']) ) {
21
+ $options['adsense-id'] = $old_options['adsense_id'];
22
+ $options['limit-per-page'] = $old_options['limit_ads_per_page'];
23
+
24
+ // remove old options
25
+ delete_option('gadsense_options');
26
+ } else {
27
+ $options['adsense-id'] = '';
28
+ $options['limit-per-page'] = true;
29
+ }
30
+
31
+ update_option(GADSENSE_OPT_NAME, $options);
32
  }
33
 
34
+ if ( !isset($options['limit-per-page']) ) {
35
+ $options['limit-per-page'] = '';
36
+ }
37
 
38
  $this->options = $options;
39
 
public/class-advanced-ads.php CHANGED
@@ -524,6 +524,7 @@ class Advanced_Ads {
524
  );
525
 
526
  $args = array(
 
527
  'hierarchical' => true,
528
  'labels' => $labels,
529
  'show_ui' => true,
524
  );
525
 
526
  $args = array(
527
+ 'public' => false,
528
  'hierarchical' => true,
529
  'labels' => $labels,
530
  'show_ui' => true,
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 4.2, PHP 5.3
6
  Tested up to: 4.3
7
- Stable tag: 1.6.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -14,7 +14,7 @@ Manage and optimize your ads in WordPress as easy as creating posts. Including s
14
 
15
  Advanced Ads is a simple ad manager made by a publisher for publishers. Based on my experience delivering millions of ads per month I built this plugin as a powerful, but light weight solution to not only manage and serve ads in WordPress, but to test and optimize them as well.
16
 
17
- Learn more on the [plugin homepage](https://wpadvancedads.com).
18
 
19
  = create and manage ads =
20
 
@@ -182,6 +182,13 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
182
 
183
  == Changelog ==
184
 
 
 
 
 
 
 
 
185
  = 1.6.8 =
186
 
187
  * added option to change the prefix of ids and classes in the frontend to prevent widgets from being ad-blocked
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 4.2, PHP 5.3
6
  Tested up to: 4.3
7
+ Stable tag: 1.6.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
14
 
15
  Advanced Ads is a simple ad manager made by a publisher for publishers. Based on my experience delivering millions of ads per month I built this plugin as a powerful, but light weight solution to not only manage and serve ads in WordPress, but to test and optimize them as well.
16
 
17
+ [Full Feature List](https://wpadvancedads.com/features/).
18
 
19
  = create and manage ads =
20
 
182
 
183
  == Changelog ==
184
 
185
+ = 1.6.8.1 =
186
+
187
+ * added menu page to get support from within your dashboard
188
+ * stricter control of ad group archives not being public
189
+ * fix: content-injection requires more than one item per level for p-tags only
190
+ * updated German translation
191
+
192
  = 1.6.8 =
193
 
194
  * added option to change the prefix of ids and classes in the frontend to prevent widgets from being ad-blocked