Ad Inserter – WordPress Ads Management with AdSense Header Integration - Version 2.4.14

Version Description

  • Fix for ROTATE shortcodes with option name identical to block name
  • Fix for possible conflict with output buffering in other plugins
  • Few minor bug fixes, cosmetic changes and code improvements
Download this release

Release Info

Developer spacetime
Plugin Icon 128x128 Ad Inserter – WordPress Ads Management with AdSense Header Integration
Version 2.4.14
Comparing to
See all releases

Code changes from version 2.4.13 to 2.4.14

ad-inserter.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
- Version: 2.4.13
6
  Description: Ad management with many advanced advertising features to insert ads at optimal positions
7
  Author: Igor Funa
8
  Author URI: http://igorfuna.com/
@@ -15,12 +15,18 @@ Domain Path: /languages
15
 
16
  Change Log
17
 
 
 
 
 
 
18
  Ad Inserter 2.4.13 - 2019-04-12
19
  - Added shortcode to disable ad blocking detection code
20
  - Added options to disable ad blocking actions for administrators or logged in users
21
  - Added option to change PDF report footer (Pro only)
22
  - Added support for public ad impression and click reports (Pro only)
23
  - Few minor bug fixes, cosmetic changes and code improvements
 
24
  Ad Inserter 2.4.12 - 2019-03-21
25
  - Added ads.txt editor
26
  - Added option to prevent disabling caching for logged in administrators
@@ -743,9 +749,22 @@ function ai_process_head_codes ($head) {
743
  }
744
 
745
  $head = preg_replace ("#<script .+js/ai\-jquery\.js.+></script>\n#", '', $head);
 
746
  return ($head);
747
  }
748
 
 
 
 
 
 
 
 
 
 
 
 
 
749
  function ai_buffering_start () {
750
  global $ai_wp_data;
751
 
@@ -754,6 +773,7 @@ function ai_buffering_start () {
754
  }
755
 
756
  ob_start ();
 
757
  if (!defined ('AI_BUFFERING_START')) define ('AI_BUFFERING_START', true);
758
  }
759
 
@@ -1520,13 +1540,14 @@ function ai_init_hook () {
1520
  }
1521
 
1522
  add_filter ('pre_do_shortcode_tag', 'ai_pre_do_shortcode_tag', 10, 4);
1523
- if (defined ('AI_BUFFERING')) {
1524
- if (get_output_buffering ()) {
1525
- if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1526
- ai_buffering_start ();
1527
- }
1528
- }
1529
- }
 
1530
  }
1531
 
1532
  //function ai_upgrader_process_complete_hook ($upgrader_object, $options) {
@@ -2845,13 +2866,13 @@ function ai_amp_head_hook () {
2845
  $start_time = microtime (true);
2846
  }
2847
 
2848
- if (defined ('AI_BUFFERING')) {
2849
- if (get_output_buffering ()) {
2850
- if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX) {
2851
- ai_buffering_start ();
2852
- }
2853
- }
2854
- }
2855
 
2856
  $ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
2857
 
@@ -2871,10 +2892,12 @@ function ai_amp_head_hook () {
2871
  }
2872
 
2873
  // ai_log ("ai_amp_head_hook ");
 
2874
  if (strpos ($processed_code, AD_AMP_SEPARATOR) !== false) {
2875
  $codes = explode (AD_AMP_SEPARATOR, $processed_code);
2876
  $processed_code = ltrim ($codes [1]);
2877
  echo $processed_code;
 
2878
  // ai_log ("ai_amp_head_hook " . $processed_code);
2879
 
2880
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
@@ -4027,9 +4050,12 @@ function get_output_buffering(){
4027
 
4028
  function get_disable_caching (){
4029
  global $ai_db_options;
 
4030
  if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['DISABLE_CACHING'])) $ai_db_options [AI_OPTION_GLOBAL]['DISABLE_CACHING'] = DEFAULT_DISABLE_CACHING;
 
4031
  return ($ai_db_options [AI_OPTION_GLOBAL]['DISABLE_CACHING']);
4032
  }
 
4033
  function get_no_paragraph_counting_inside () {
4034
  global $ai_db_options;
4035
 
@@ -4306,6 +4332,7 @@ function get_adb_action ($saved_value = false) {
4306
 
4307
  if (!$saved_value) {
4308
  if ($ai_wp_data [AI_CODE_FOR_IFRAME]) return AI_ADB_ACTION_NONE;
 
4309
  switch (get_adb_no_action ()) {
4310
  case AI_ADB_NO_ACTION_LOGGED_IN:
4311
  if (($ai_wp_data [AI_WP_USER] & AI_USER_LOGGED_IN) != 0) return AI_ADB_ACTION_NONE;
@@ -4314,6 +4341,7 @@ function get_adb_action ($saved_value = false) {
4314
  if (($ai_wp_data [AI_WP_USER] & AI_USER_ADMINISTRATOR) != 0) return AI_ADB_ACTION_NONE;
4315
  break;
4316
  }
 
4317
  if (isset ($ai_wp_data [AI_ADB_SHORTCODE_ACTION])) return ($ai_wp_data [AI_ADB_SHORTCODE_ACTION]);
4318
  }
4319
 
@@ -4321,12 +4349,16 @@ function get_adb_action ($saved_value = false) {
4321
 
4322
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_ACTION']);
4323
  }
 
4324
  function get_adb_no_action ($saved_value = false) {
4325
  global $ai_db_options, $ai_wp_data;
 
4326
  if (!$saved_value) {
4327
  if ($ai_wp_data [AI_CODE_FOR_IFRAME]) return AI_ADB_NO_ACTION_NONE;
4328
  }
 
4329
  if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_ACTION'])) $ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_ACTION'] = AI_DEFAULT_ADB_NO_ACTION;
 
4330
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_ACTION']);
4331
  }
4332
 
@@ -4408,6 +4440,7 @@ function get_overlay_css () {
4408
 
4409
  function get_undismissible_message ($saved_value = false) {
4410
  global $ai_db_options, $ai_wp_data;
 
4411
  if (!$saved_value) {
4412
  switch (get_no_undismissible_message ()) {
4413
  case AI_ADB_NO_ACTION_LOGGED_IN:
@@ -4423,9 +4456,12 @@ function get_undismissible_message ($saved_value = false) {
4423
 
4424
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_UNDISMISSIBLE_MESSAGE']);
4425
  }
 
4426
  function get_no_undismissible_message () {
4427
  global $ai_db_options;
 
4428
  if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_UNDISMISSIBLE_MESSAGE'])) $ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_UNDISMISSIBLE_MESSAGE'] = AI_DEFAULT_ADB_NO_UNDISMISSIBLE_MESSAGE;
 
4429
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_UNDISMISSIBLE_MESSAGE']);
4430
  }
4431
 
@@ -4806,6 +4842,7 @@ function ai_ajax_backend () {
4806
  elseif (isset ($_GET ["ads-txt"])) {
4807
  ads_txt ($_GET ["ads-txt"]);
4808
  }
 
4809
  elseif (isset ($_GET ["settings"])) {
4810
  generate_settings_form ();
4811
  }
@@ -6838,7 +6875,7 @@ function ai_process_shortcode (&$block, $atts) {
6838
 
6839
  if (is_numeric ($parameters ['block'])) {
6840
  $block = intval ($parameters ['block']);
6841
- } elseif ($parameters ['name'] != '') {
6842
  $shortcode_name = strtolower ($parameters ['name']);
6843
  for ($counter = 1; $counter <= 96; $counter ++) {
6844
  $obj = $block_object [$counter];
@@ -7664,6 +7701,7 @@ function ai_get_unique_string ($start = 0, $length = 32, $seed = '') {
7664
  if (defined ('SECURE_AUTH_SALT')) $string .= SECURE_AUTH_SALT;
7665
  if (defined ('LOGGED_IN_SALT')) $string .= LOGGED_IN_SALT;
7666
  if (defined ('NONCE_SALT')) $string .= NONCE_SALT;
 
7667
  return (substr (md5 ($string), $start, $length));
7668
  }
7669
 
@@ -7878,8 +7916,13 @@ add_action ('wp_enqueue_scripts', 'ai_wp_enqueue_scripts_hook' );
7878
 
7879
  if (function_exists ('ai_system_output_check')) $ai_system_output = ai_system_output_check (); else $ai_system_output = false;
7880
 
7881
- if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0 || $ai_system_output)
7882
- add_action ('shutdown', 'ai_shutdown_hook');
 
 
 
 
 
7883
 
7884
  add_action ('widgets_init', 'ai_widgets_init_hook');
7885
  add_action ('add_meta_boxes', 'ai_add_meta_box_hook');
@@ -7901,6 +7944,8 @@ if (!get_option (AI_INSTALL_NAME)) {
7901
  update_option (AI_INSTALL_NAME, time ());
7902
  }
7903
 
 
 
7904
  if (defined ('AI_PLUGIN_TRACKING') && AI_PLUGIN_TRACKING) {
7905
 
7906
  add_action ('plugins_loaded', 'ai_plugins_loaded');
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
+ Version: 2.4.14
6
  Description: Ad management with many advanced advertising features to insert ads at optimal positions
7
  Author: Igor Funa
8
  Author URI: http://igorfuna.com/
15
 
16
  Change Log
17
 
18
+ Ad Inserter 2.4.14 - 2019-04-18
19
+ - Fix for ROTATE shortcodes with option name identical to block name
20
+ - Fix for possible conflict with output buffering in other plugins
21
+ - Few minor bug fixes, cosmetic changes and code improvements
22
+
23
  Ad Inserter 2.4.13 - 2019-04-12
24
  - Added shortcode to disable ad blocking detection code
25
  - Added options to disable ad blocking actions for administrators or logged in users
26
  - Added option to change PDF report footer (Pro only)
27
  - Added support for public ad impression and click reports (Pro only)
28
  - Few minor bug fixes, cosmetic changes and code improvements
29
+
30
  Ad Inserter 2.4.12 - 2019-03-21
31
  - Added ads.txt editor
32
  - Added option to prevent disabling caching for logged in administrators
749
  }
750
 
751
  $head = preg_replace ("#<script .+js/ai\-jquery\.js.+></script>\n#", '', $head);
752
+
753
  return ($head);
754
  }
755
 
756
+ function ai_buffering_start_hook () {
757
+ global $ai_wp_data;
758
+
759
+ if (defined ('AI_BUFFERING')) {
760
+ if (get_output_buffering ()) {
761
+ if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
762
+ ai_buffering_start ();
763
+ }
764
+ }
765
+ }
766
+ }
767
+
768
  function ai_buffering_start () {
769
  global $ai_wp_data;
770
 
773
  }
774
 
775
  ob_start ();
776
+
777
  if (!defined ('AI_BUFFERING_START')) define ('AI_BUFFERING_START', true);
778
  }
779
 
1540
  }
1541
 
1542
  add_filter ('pre_do_shortcode_tag', 'ai_pre_do_shortcode_tag', 10, 4);
1543
+
1544
+ // if (defined ('AI_BUFFERING')) {
1545
+ // if (get_output_buffering ()) {
1546
+ // if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
1547
+ // ai_buffering_start ();
1548
+ // }
1549
+ // }
1550
+ // }
1551
  }
1552
 
1553
  //function ai_upgrader_process_complete_hook ($upgrader_object, $options) {
2866
  $start_time = microtime (true);
2867
  }
2868
 
2869
+ // if (defined ('AI_BUFFERING')) {
2870
+ // if (get_output_buffering ()) {
2871
+ // if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX) {
2872
+ // ai_buffering_start ();
2873
+ // }
2874
+ // }
2875
+ // }
2876
 
2877
  $ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
2878
 
2892
  }
2893
 
2894
  // ai_log ("ai_amp_head_hook ");
2895
+
2896
  if (strpos ($processed_code, AD_AMP_SEPARATOR) !== false) {
2897
  $codes = explode (AD_AMP_SEPARATOR, $processed_code);
2898
  $processed_code = ltrim ($codes [1]);
2899
  echo $processed_code;
2900
+
2901
  // ai_log ("ai_amp_head_hook " . $processed_code);
2902
 
2903
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
4050
 
4051
  function get_disable_caching (){
4052
  global $ai_db_options;
4053
+
4054
  if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['DISABLE_CACHING'])) $ai_db_options [AI_OPTION_GLOBAL]['DISABLE_CACHING'] = DEFAULT_DISABLE_CACHING;
4055
+
4056
  return ($ai_db_options [AI_OPTION_GLOBAL]['DISABLE_CACHING']);
4057
  }
4058
+
4059
  function get_no_paragraph_counting_inside () {
4060
  global $ai_db_options;
4061
 
4332
 
4333
  if (!$saved_value) {
4334
  if ($ai_wp_data [AI_CODE_FOR_IFRAME]) return AI_ADB_ACTION_NONE;
4335
+
4336
  switch (get_adb_no_action ()) {
4337
  case AI_ADB_NO_ACTION_LOGGED_IN:
4338
  if (($ai_wp_data [AI_WP_USER] & AI_USER_LOGGED_IN) != 0) return AI_ADB_ACTION_NONE;
4341
  if (($ai_wp_data [AI_WP_USER] & AI_USER_ADMINISTRATOR) != 0) return AI_ADB_ACTION_NONE;
4342
  break;
4343
  }
4344
+
4345
  if (isset ($ai_wp_data [AI_ADB_SHORTCODE_ACTION])) return ($ai_wp_data [AI_ADB_SHORTCODE_ACTION]);
4346
  }
4347
 
4349
 
4350
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_ACTION']);
4351
  }
4352
+
4353
  function get_adb_no_action ($saved_value = false) {
4354
  global $ai_db_options, $ai_wp_data;
4355
+
4356
  if (!$saved_value) {
4357
  if ($ai_wp_data [AI_CODE_FOR_IFRAME]) return AI_ADB_NO_ACTION_NONE;
4358
  }
4359
+
4360
  if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_ACTION'])) $ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_ACTION'] = AI_DEFAULT_ADB_NO_ACTION;
4361
+
4362
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_ACTION']);
4363
  }
4364
 
4440
 
4441
  function get_undismissible_message ($saved_value = false) {
4442
  global $ai_db_options, $ai_wp_data;
4443
+
4444
  if (!$saved_value) {
4445
  switch (get_no_undismissible_message ()) {
4446
  case AI_ADB_NO_ACTION_LOGGED_IN:
4456
 
4457
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_UNDISMISSIBLE_MESSAGE']);
4458
  }
4459
+
4460
  function get_no_undismissible_message () {
4461
  global $ai_db_options;
4462
+
4463
  if (!isset ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_UNDISMISSIBLE_MESSAGE'])) $ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_UNDISMISSIBLE_MESSAGE'] = AI_DEFAULT_ADB_NO_UNDISMISSIBLE_MESSAGE;
4464
+
4465
  return ($ai_db_options [AI_OPTION_GLOBAL]['ADB_NO_UNDISMISSIBLE_MESSAGE']);
4466
  }
4467
 
4842
  elseif (isset ($_GET ["ads-txt"])) {
4843
  ads_txt ($_GET ["ads-txt"]);
4844
  }
4845
+
4846
  elseif (isset ($_GET ["settings"])) {
4847
  generate_settings_form ();
4848
  }
6875
 
6876
  if (is_numeric ($parameters ['block'])) {
6877
  $block = intval ($parameters ['block']);
6878
+ } elseif ($parameters ['name'] != '' && !($parameters ['rotate'] != '' || in_array ('ROTATE', $atts) || in_array ('rotate', $atts))) {
6879
  $shortcode_name = strtolower ($parameters ['name']);
6880
  for ($counter = 1; $counter <= 96; $counter ++) {
6881
  $obj = $block_object [$counter];
7701
  if (defined ('SECURE_AUTH_SALT')) $string .= SECURE_AUTH_SALT;
7702
  if (defined ('LOGGED_IN_SALT')) $string .= LOGGED_IN_SALT;
7703
  if (defined ('NONCE_SALT')) $string .= NONCE_SALT;
7704
+
7705
  return (substr (md5 ($string), $start, $length));
7706
  }
7707
 
7916
 
7917
  if (function_exists ('ai_system_output_check')) $ai_system_output = ai_system_output_check (); else $ai_system_output = false;
7918
 
7919
+ if (defined ('AI_BUFFERING')) {
7920
+ add_action ('get_header', 'ai_buffering_start_hook', 99999);
7921
+ }
7922
+
7923
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0 || $ai_system_output) {
7924
+ add_action ('shutdown', 'ai_shutdown_hook');
7925
+ }
7926
 
7927
  add_action ('widgets_init', 'ai_widgets_init_hook');
7928
  add_action ('add_meta_boxes', 'ai_add_meta_box_hook');
7944
  update_option (AI_INSTALL_NAME, time ());
7945
  }
7946
 
7947
+
7948
+
7949
  if (defined ('AI_PLUGIN_TRACKING') && AI_PLUGIN_TRACKING) {
7950
 
7951
  add_action ('plugins_loaded', 'ai_plugins_loaded');
constants.php CHANGED
@@ -29,7 +29,7 @@ if (!defined( 'AD_INSERTER_NAME'))
29
  define ('AD_INSERTER_NAME', 'Ad Inserter');
30
 
31
  if (!defined( 'AD_INSERTER_VERSION'))
32
- define ('AD_INSERTER_VERSION', '2.4.13');
33
 
34
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
35
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
@@ -593,6 +593,7 @@ define ('AI_TEXT_ENG_REDIRECTION', 'Redirection');
593
  define ('AI_ADB_NO_ACTION_NONE', 0);
594
  define ('AI_ADB_NO_ACTION_LOGGED_IN', 1);
595
  define ('AI_ADB_NO_ACTION_ADMINISTRATORS',2);
 
596
  define ('AI_ADB_BLOCK_ACTION_DO_NOTHING', 0);
597
  define ('AI_ADB_BLOCK_ACTION_REPLACE', 1);
598
  define ('AI_ADB_BLOCK_ACTION_SHOW', 2);
@@ -618,6 +619,7 @@ define ('AI_OUTPUT_BUFFERING_ENABLED', 1);
618
  // Disable caching for administrators
619
  define ('AI_DISABLE_CACHING_DISABLED', 0);
620
  define ('AI_DISABLE_CACHING_ENABLED', 1);
 
621
  // Click detection
622
  define ('AI_CLICK_DETECTION_STANDARD', 0);
623
  define ('AI_CLICK_DETECTION_ADVANCED', 1);
29
  define ('AD_INSERTER_NAME', 'Ad Inserter');
30
 
31
  if (!defined( 'AD_INSERTER_VERSION'))
32
+ define ('AD_INSERTER_VERSION', '2.4.14');
33
 
34
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
35
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
593
  define ('AI_ADB_NO_ACTION_NONE', 0);
594
  define ('AI_ADB_NO_ACTION_LOGGED_IN', 1);
595
  define ('AI_ADB_NO_ACTION_ADMINISTRATORS',2);
596
+
597
  define ('AI_ADB_BLOCK_ACTION_DO_NOTHING', 0);
598
  define ('AI_ADB_BLOCK_ACTION_REPLACE', 1);
599
  define ('AI_ADB_BLOCK_ACTION_SHOW', 2);
619
  // Disable caching for administrators
620
  define ('AI_DISABLE_CACHING_DISABLED', 0);
621
  define ('AI_DISABLE_CACHING_ENABLED', 1);
622
+
623
  // Click detection
624
  define ('AI_CLICK_DETECTION_STANDARD', 0);
625
  define ('AI_CLICK_DETECTION_ADVANCED', 1);
css/ai-settings.css CHANGED
@@ -1,5 +1,5 @@
1
  #ai-data {
2
- font-family: "2.4.13"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
@@ -359,7 +359,16 @@ textarea.simple-editor.small {
359
  }
360
 
361
  div.custom-range-controls {
362
- width: 696px;
 
 
 
 
 
 
 
 
 
363
  }
364
 
365
  input.ai-date-input {
@@ -444,6 +453,7 @@ div.automatic-insertion img {
444
  .checkbox-button.dashicons.on {
445
  color: red;
446
  }
 
447
  .checkbox-button.light-blue.dashicons {
448
  color: #b0d2fd;
449
  }
@@ -451,6 +461,17 @@ div.automatic-insertion img {
451
  .checkbox-button.light-red.dashicons {
452
  color: #ff8585;
453
  }
 
 
 
 
 
 
 
 
 
 
 
454
  .ai-list-button {
455
  display: table-cell;
456
  margin-right: 2px;
@@ -538,6 +559,7 @@ span.checkbox-icon {
538
  width: 22px;
539
  height: 20px;
540
  }
 
541
  .checkbox-icon.size-16 {
542
  width: 16px;
543
  height: 16px;
@@ -1267,26 +1289,32 @@ table.check-pages a span.dashicons {
1267
  #ai-sidebar-right {
1268
  float: right;
1269
  }
 
1270
  .ai-image-left img, .ai-image-right img {
1271
  margin-top: 10px;
1272
  }
 
1273
  @media (max-width: 762px) {
1274
  #ai-sidebar-right {
1275
  float: none;
1276
  }
 
1277
  .ai-image-left {
1278
  float: left;
1279
  width: 49%;
1280
  }
 
1281
  .ai-image-right {
1282
  float: right;
1283
  width: 49%;
1284
  }
 
1285
  .ai-image-left img, .ai-image-right img {
1286
  width: 100%;
1287
  height: auto;
1288
  }
1289
  }
 
1290
  @media (max-width: 782px) {
1291
  #ai-settings {
1292
  margin-right: 4px;
@@ -1515,3 +1543,4 @@ table.ai-page-types td.ai-page-type.ai-unavailable label {
1515
  #ads-txt-table td {
1516
  font-family: monospace, Courier, 'Courier New';
1517
  }
 
1
  #ai-data {
2
+ font-family: "2.4.14"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
359
  }
360
 
361
  div.custom-range-controls {
362
+ width: fit-content;
363
+ width: -moz-fit-content;
364
+ }
365
+
366
+ div.custom-range-controls .ai-toolbar-button {
367
+ padding: 0 0 0 8px;
368
+ }
369
+
370
+ div.custom-range-controls .selected, .ai-date-input .selected {
371
+ color: #33d;
372
  }
373
 
374
  input.ai-date-input {
453
  .checkbox-button.dashicons.on {
454
  color: red;
455
  }
456
+
457
  .checkbox-button.light-blue.dashicons {
458
  color: #b0d2fd;
459
  }
461
  .checkbox-button.light-red.dashicons {
462
  color: #ff8585;
463
  }
464
+
465
+
466
+
467
+ .ai-public-controls {
468
+ color: #ddd;
469
+ }
470
+
471
+ .ai-public-controls.on {
472
+ color: #f33;
473
+ }
474
+
475
  .ai-list-button {
476
  display: table-cell;
477
  margin-right: 2px;
559
  width: 22px;
560
  height: 20px;
561
  }
562
+
563
  .checkbox-icon.size-16 {
564
  width: 16px;
565
  height: 16px;
1289
  #ai-sidebar-right {
1290
  float: right;
1291
  }
1292
+
1293
  .ai-image-left img, .ai-image-right img {
1294
  margin-top: 10px;
1295
  }
1296
+
1297
  @media (max-width: 762px) {
1298
  #ai-sidebar-right {
1299
  float: none;
1300
  }
1301
+
1302
  .ai-image-left {
1303
  float: left;
1304
  width: 49%;
1305
  }
1306
+
1307
  .ai-image-right {
1308
  float: right;
1309
  width: 49%;
1310
  }
1311
+
1312
  .ai-image-left img, .ai-image-right img {
1313
  width: 100%;
1314
  height: auto;
1315
  }
1316
  }
1317
+
1318
  @media (max-width: 782px) {
1319
  #ai-settings {
1320
  margin-right: 4px;
1543
  #ads-txt-table td {
1544
  font-family: monospace, Courier, 'Courier New';
1545
  }
1546
+
js/ad-inserter.js CHANGED
@@ -1,4 +1,4 @@
1
- var javascript_version = "2.4.13";
2
  var ignore_key = true;
3
  var start = 1;
4
  var end = 16;
@@ -18,7 +18,7 @@ var settings_page = "";
18
  var dateFormat = "yy-mm-dd";
19
 
20
  var list_search_reload = false;
21
- var ai_ctrl_pressed = false;
22
 
23
  var AI_DISABLED = 0;
24
  var AI_BEFORE_POST = 1;
@@ -88,6 +88,8 @@ var AI_STICK_VERTICAL_CENTER = 1;
88
  var AI_SCROLL_WITH_THE_CONTENT = 2;
89
  var AI_STICK_TO_THE_BOTTOM = 3;
90
 
 
 
91
  var before_update_selection_from_list = null;
92
 
93
  /*
@@ -395,10 +397,188 @@ function b64d (str) {
395
  }).join (''));
396
  }
397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398
  String.prototype.tabIndex = function () {
399
  return this.replace (/^\D+/g, '')
400
  };
401
 
 
 
 
 
 
402
  var ai_nonce = b64d (jQuery ("#ai-form").attr ('ai-value'));
403
 
404
  var shSettings = {
@@ -1628,11 +1808,12 @@ jQuery(document).ready(function($) {
1628
  $("span#export-statistics-button-" + block).show ();
1629
  var public_report_button = $("#ai-main-toolbar-" + block + ' .public-report-button');
1630
  public_report_button.show ();
 
1631
  var urls = container.find ('span.ai-statistics-export-data.ai-public-report');
1632
- public_report_button.attr ('href-ro', urls.data ('ro'));
1633
- public_report_button.attr ('href-rw', urls.data ('rw'));
1634
  urls.remove ();
1635
- // console.log (ai_admin, JSON.stringify (ai_admin));
1636
  $( "div#load-error-" + block).html ('');
1637
  if (debug) console.log ("Custom statistics loaded: " + block);
1638
  configure_charts (container);
@@ -1733,6 +1914,10 @@ jQuery(document).ready(function($) {
1733
  $("input#chart-end-date-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
1734
 
1735
  $("input#chart-start-date-"+tab).change (function() {
 
 
 
 
1736
  disable_auto_refresh_statistics ();
1737
  var block = $(this).attr('id').replace ("chart-start-date-", "");
1738
  $(this).css ('color', 'red');
@@ -1740,6 +1925,10 @@ jQuery(document).ready(function($) {
1740
  });
1741
 
1742
  $("input#chart-end-date-"+tab).change (function() {
 
 
 
 
1743
  disable_auto_refresh_statistics ();
1744
  var block = $(this).attr('id').replace ("chart-end-date-", "");
1745
  $(this).css ('color', 'red');
@@ -1747,6 +1936,11 @@ jQuery(document).ready(function($) {
1747
  });
1748
 
1749
  $("div#custom-range-controls-"+tab+" span.data-range").click (function () {
 
 
 
 
 
1750
  disable_auto_refresh_statistics ();
1751
  var id = $(this).closest (".custom-range-controls").attr ("id");
1752
  block = id.replace ("custom-range-controls-","");
@@ -2000,16 +2194,23 @@ jQuery(document).ready(function($) {
2000
 
2001
  $("#tab-0 .adsense-list").click (function () {
2002
  $(this).blur ();
 
2003
  var container = $("#adsense-list-container");
 
2004
  container.toggle ();
 
2005
  if (container.is(':visible')) {
2006
  reload_adsense_list (false);
2007
  }
2008
  });
 
2009
  $("#tab-0 #ai-ads-txt").click (function () {
2010
  $(this).blur ();
 
2011
  var container = $("#ads-txt-container");
 
2012
  container.toggle ();
 
2013
  if (container.is(':visible')) {
2014
  load_ads_txt ();
2015
  }
@@ -2503,6 +2704,17 @@ jQuery(document).ready(function($) {
2503
  open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
2504
  });
2505
 
 
 
 
 
 
 
 
 
 
 
 
2506
  $("#iframe-preview-button-"+tab).button ({
2507
  }).show ().click (function () {
2508
  var block = $(this).attr ("id");
@@ -4328,29 +4540,38 @@ jQuery(document).ready(function($) {
4328
  var view = $("#ads-txt-editor").hasClass ('on') ? 'text' : 'table';
4329
  var search = encodeURIComponent ($("#ads-txt-search").val());
4330
  var data_container = $("#ads-txt-data");
 
4331
  $("#ads-txt-reload").addClass ('on');
 
4332
  data_container.load (ajaxurl+"?action=ai_ajax_backend&ads-txt=" + view + "&search=" + search + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4333
  $("#ads-txt-reload").removeClass ('on');
 
4334
  if (status == "error") {
4335
  var message = "Error loading ads.txt file: " + xhr.status + " " + xhr.statusText;
4336
  data_container.html (message);
4337
  if (debug) console.log (message);
4338
  } else {
4339
  $('#ads-txt-controls').show ();
 
4340
  if ($('#ads-txt-missing').length != 0) {
4341
  $("#ads-txt-editor").addClass ('on');
4342
  $("#ads-txt-table").removeClass ('on');
4343
  $('#ads-txt-search').hide ();
4344
  $('#ads-txt-save').show ();
4345
  }
 
4346
  // data_container.disableSelection();
4347
  }
4348
  });
4349
  }
 
4350
  function save_ads_txt (reload) {
4351
  var data_container = $("#ads-txt-data");
 
4352
  var ads_txt_data = {'text': b64e (data_container.find ('textarea#ads-txt-text').val ())};
 
4353
  $('#ads-txt-error').text ('');
 
4354
  $.post (ajaxurl+"?action=ai_ajax_backend&ads-txt=save&ai_check=" + ai_nonce, ads_txt_data
4355
  ).done (function (code_data) {
4356
  }).fail (function (xhr, status, error) {
@@ -4364,6 +4585,7 @@ jQuery(document).ready(function($) {
4364
  }
4365
  });
4366
  }
 
4367
  function set_page_statuses (block) {
4368
  var automatic_insertion = parseInt ($("select#insertion-type-"+block+" option:selected").attr('value'));
4369
  var table = $('#page-types-' + block);
@@ -4853,7 +5075,6 @@ jQuery(document).ready(function($) {
4853
  if (!adsense_search_reload) {
4854
  adsense_search_reload = true;
4855
  setTimeout (function() {reload_adsense_list (false);}, 200);
4856
-
4857
  }
4858
  });
4859
 
@@ -4893,13 +5114,16 @@ jQuery(document).ready(function($) {
4893
  var current_time = new Date().getTime();
4894
  console.log ("main time: " + ((current_time - current_time_ready) / 1000).toFixed (3));
4895
  }
 
4896
  $("#ads-txt-reload").click (function () {
4897
  setTimeout (function() {load_ads_txt ();}, 200);
4898
  });
 
4899
  $("#ads-txt-save").click (function () {
4900
  $(this).addClass ('on');
4901
  setTimeout (function() {save_ads_txt (true);}, 200);
4902
  });
 
4903
  $("#ads-txt-editor").click (function () {
4904
  $(this).addClass ('on');
4905
  $("#ads-txt-table").removeClass ('on');
@@ -4907,6 +5131,7 @@ jQuery(document).ready(function($) {
4907
  $('#ads-txt-save').show ();
4908
  $("#ads-txt-reload").click ();
4909
  });
 
4910
  $("#ads-txt-table").click (function () {
4911
  $(this).addClass ('on');
4912
  $("#ads-txt-editor").removeClass ('on');
@@ -4914,49 +5139,65 @@ jQuery(document).ready(function($) {
4914
  $('#ads-txt-save').hide ();
4915
  $("#ads-txt-reload").click ();
4916
  });
 
4917
  $("#ads-txt-search").keyup (function (event) {
4918
  if (!ads_txt_reload) {
4919
  ads_txt_reload = true;
4920
  setTimeout (function() {load_ads_txt ();}, 200);
4921
  }
4922
  });
4923
- $(document).keydown (function (event) {
4924
- if (event.which == "17") {
4925
- ai_ctrl_pressed = true;
4926
- var public_report_button = $('.public-report-button');
4927
- public_report_button.addClass ('light-red');
4928
- public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-rw'))
4929
- .tooltip({
4930
- track: true,
4931
- delay: 700,
4932
- showURL: false,
4933
- showBody: " | ",
4934
- fade: 250
4935
- });
4936
- }
4937
- });
4938
- $(document).keyup (function() {
4939
- if (ai_ctrl_pressed) {
4940
- ai_ctrl_pressed = false;
4941
- var public_report_button = $('.public-report-button');
4942
- public_report_button.removeClass ('light-red');
4943
- public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-ro'))
4944
- .tooltip({
4945
- track: true,
4946
- delay: 700,
4947
- showURL: false,
4948
- showBody: " | ",
4949
- fade: 250
4950
- });
4951
- }
 
 
 
 
 
 
 
 
4952
  });
 
4953
  $(".public-report-button").click (function () {
4954
- if (ai_ctrl_pressed) {
4955
- window.open ($(this).attr ('href-rw'), 'ai-rw');
4956
- $(document).keyup ();
4957
- } else {
4958
- window.open ($(this).attr ('href-ro'), 'ai-ro');
4959
- }
 
 
 
 
 
 
4960
  });
4961
  });
4962
 
1
+ var javascript_version = "2.4.14";
2
  var ignore_key = true;
3
  var start = 1;
4
  var end = 16;
18
  var dateFormat = "yy-mm-dd";
19
 
20
  var list_search_reload = false;
21
+ //var ai_ctrl_pressed = false;
22
 
23
  var AI_DISABLED = 0;
24
  var AI_BEFORE_POST = 1;
88
  var AI_SCROLL_WITH_THE_CONTENT = 2;
89
  var AI_STICK_TO_THE_BOTTOM = 3;
90
 
91
+ var AI_ANIMATION_NONE = 0;
92
+
93
  var before_update_selection_from_list = null;
94
 
95
  /*
397
  }).join (''));
398
  }
399
 
400
+ // http://www.myersdaily.org/joseph/javascript/md5.js
401
+
402
+ function md5cycle (x, k) {
403
+ var a = x[0],
404
+ b = x[1],
405
+ c = x[2],
406
+ d = x[3];
407
+ a = ff(a, b, c, d, k[0], 7, -680876936);
408
+ d = ff(d, a, b, c, k[1], 12, -389564586);
409
+ c = ff(c, d, a, b, k[2], 17, 606105819);
410
+ b = ff(b, c, d, a, k[3], 22, -1044525330);
411
+ a = ff(a, b, c, d, k[4], 7, -176418897);
412
+ d = ff(d, a, b, c, k[5], 12, 1200080426);
413
+ c = ff(c, d, a, b, k[6], 17, -1473231341);
414
+ b = ff(b, c, d, a, k[7], 22, -45705983);
415
+ a = ff(a, b, c, d, k[8], 7, 1770035416);
416
+ d = ff(d, a, b, c, k[9], 12, -1958414417);
417
+ c = ff(c, d, a, b, k[10], 17, -42063);
418
+ b = ff(b, c, d, a, k[11], 22, -1990404162);
419
+ a = ff(a, b, c, d, k[12], 7, 1804603682);
420
+ d = ff(d, a, b, c, k[13], 12, -40341101);
421
+ c = ff(c, d, a, b, k[14], 17, -1502002290);
422
+ b = ff(b, c, d, a, k[15], 22, 1236535329);
423
+ a = gg(a, b, c, d, k[1], 5, -165796510);
424
+ d = gg(d, a, b, c, k[6], 9, -1069501632);
425
+ c = gg(c, d, a, b, k[11], 14, 643717713);
426
+ b = gg(b, c, d, a, k[0], 20, -373897302);
427
+ a = gg(a, b, c, d, k[5], 5, -701558691);
428
+ d = gg(d, a, b, c, k[10], 9, 38016083);
429
+ c = gg(c, d, a, b, k[15], 14, -660478335);
430
+ b = gg(b, c, d, a, k[4], 20, -405537848);
431
+ a = gg(a, b, c, d, k[9], 5, 568446438);
432
+ d = gg(d, a, b, c, k[14], 9, -1019803690);
433
+ c = gg(c, d, a, b, k[3], 14, -187363961);
434
+ b = gg(b, c, d, a, k[8], 20, 1163531501);
435
+ a = gg(a, b, c, d, k[13], 5, -1444681467);
436
+ d = gg(d, a, b, c, k[2], 9, -51403784);
437
+ c = gg(c, d, a, b, k[7], 14, 1735328473);
438
+ b = gg(b, c, d, a, k[12], 20, -1926607734);
439
+ a = hh(a, b, c, d, k[5], 4, -378558);
440
+ d = hh(d, a, b, c, k[8], 11, -2022574463);
441
+ c = hh(c, d, a, b, k[11], 16, 1839030562);
442
+ b = hh(b, c, d, a, k[14], 23, -35309556);
443
+ a = hh(a, b, c, d, k[1], 4, -1530992060);
444
+ d = hh(d, a, b, c, k[4], 11, 1272893353);
445
+ c = hh(c, d, a, b, k[7], 16, -155497632);
446
+ b = hh(b, c, d, a, k[10], 23, -1094730640);
447
+ a = hh(a, b, c, d, k[13], 4, 681279174);
448
+ d = hh(d, a, b, c, k[0], 11, -358537222);
449
+ c = hh(c, d, a, b, k[3], 16, -722521979);
450
+ b = hh(b, c, d, a, k[6], 23, 76029189);
451
+ a = hh(a, b, c, d, k[9], 4, -640364487);
452
+ d = hh(d, a, b, c, k[12], 11, -421815835);
453
+ c = hh(c, d, a, b, k[15], 16, 530742520);
454
+ b = hh(b, c, d, a, k[2], 23, -995338651);
455
+ a = ii(a, b, c, d, k[0], 6, -198630844);
456
+ d = ii(d, a, b, c, k[7], 10, 1126891415);
457
+ c = ii(c, d, a, b, k[14], 15, -1416354905);
458
+ b = ii(b, c, d, a, k[5], 21, -57434055);
459
+ a = ii(a, b, c, d, k[12], 6, 1700485571);
460
+ d = ii(d, a, b, c, k[3], 10, -1894986606);
461
+ c = ii(c, d, a, b, k[10], 15, -1051523);
462
+ b = ii(b, c, d, a, k[1], 21, -2054922799);
463
+ a = ii(a, b, c, d, k[8], 6, 1873313359);
464
+ d = ii(d, a, b, c, k[15], 10, -30611744);
465
+ c = ii(c, d, a, b, k[6], 15, -1560198380);
466
+ b = ii(b, c, d, a, k[13], 21, 1309151649);
467
+ a = ii(a, b, c, d, k[4], 6, -145523070);
468
+ d = ii(d, a, b, c, k[11], 10, -1120210379);
469
+ c = ii(c, d, a, b, k[2], 15, 718787259);
470
+ b = ii(b, c, d, a, k[9], 21, -343485551);
471
+ x[0] = add32(a, x[0]);
472
+ x[1] = add32(b, x[1]);
473
+ x[2] = add32(c, x[2]);
474
+ x[3] = add32(d, x[3]);
475
+ }
476
+ function cmn(q, a, b, x, s, t) {
477
+ a = add32(add32(a, q), add32(x, t));
478
+ return add32((a << s) | (a >>> (32 - s)), b);
479
+ }
480
+ function ff(a, b, c, d, x, s, t) {
481
+ return cmn((b & c) | ((~b) & d), a, b, x, s, t);
482
+ }
483
+ function gg(a, b, c, d, x, s, t) {
484
+ return cmn((b & d) | (c & (~d)), a, b, x, s, t);
485
+ }
486
+ function hh(a, b, c, d, x, s, t) {
487
+ return cmn(b ^ c ^ d, a, b, x, s, t);
488
+ }
489
+ function ii(a, b, c, d, x, s, t) {
490
+ return cmn(c ^ (b | (~d)), a, b, x, s, t);
491
+ }
492
+ function md51(s) {
493
+ txt = '';
494
+ var n = s.length,
495
+ state = [1732584193, -271733879, -1732584194, 271733878],
496
+ i;
497
+ for (i = 64; i <= s.length; i += 64) {
498
+ md5cycle(state, md5blk(s.substring(i - 64, i)));
499
+ }
500
+ s = s.substring(i - 64);
501
+ var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
502
+ for (i = 0; i < s.length; i++)
503
+ tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
504
+ tail[i >> 2] |= 0x80 << ((i % 4) << 3);
505
+ if (i > 55) {
506
+ md5cycle(state, tail);
507
+ for (i = 0; i < 16; i++) tail[i] = 0;
508
+ }
509
+ tail[14] = n * 8;
510
+ md5cycle(state, tail);
511
+ return state;
512
+ }
513
+ /* there needs to be support for Unicode here,
514
+ * unless we pretend that we can redefine the MD-5
515
+ * algorithm for multi-byte characters (perhaps
516
+ * by adding every four 16-bit characters and
517
+ * shortening the sum to 32 bits). Otherwise
518
+ * I suggest performing MD-5 as if every character
519
+ * was two bytes--e.g., 0040 0025 = @%--but then
520
+ * how will an ordinary MD-5 sum be matched?
521
+ * There is no way to standardize text to something
522
+ * like UTF-8 before transformation; speed cost is
523
+ * utterly prohibitive. The JavaScript standard
524
+ * itself needs to look at this: it should start
525
+ * providing access to strings as preformed UTF-8
526
+ * 8-bit unsigned value arrays.
527
+ */
528
+ function md5blk(s) { /* I figured global was faster. */
529
+ var md5blks = [],
530
+ i; /* Andy King said do it this way. */
531
+ for (i = 0; i < 64; i += 4) {
532
+ md5blks[i >> 2] = s.charCodeAt(i) +
533
+ (s.charCodeAt(i + 1) << 8) +
534
+ (s.charCodeAt(i + 2) << 16) +
535
+ (s.charCodeAt(i + 3) << 24);
536
+ }
537
+ return md5blks;
538
+ }
539
+ var hex_chr = '0123456789abcdef'.split('');
540
+ function rhex(n) {
541
+ var s = '',
542
+ j = 0;
543
+ for (; j < 4; j++)
544
+ s += hex_chr[(n >> (j * 8 + 4)) & 0x0F] +
545
+ hex_chr[(n >> (j * 8)) & 0x0F];
546
+ return s;
547
+ }
548
+ function hex(x) {
549
+ for (var i = 0; i < x.length; i++)
550
+ x[i] = rhex(x[i]);
551
+ return x.join('');
552
+ }
553
+ function md5(s) {
554
+ return hex(md51(s));
555
+ }
556
+ /* this function is much faster,
557
+ so if possible we use it. Some IEs
558
+ are the only ones I know of that
559
+ need the idiotic second function,
560
+ generated by an if clause. */
561
+ function add32(a, b) {
562
+ return (a + b) & 0xFFFFFFFF;
563
+ }
564
+ if (md5('hello') != '5d41402abc4b2a76b9719d911017c592') {
565
+ function add32(x, y) {
566
+ var lsw = (x & 0xFFFF) + (y & 0xFFFF),
567
+ msw = (x >> 16) + (y >> 16) + (lsw >> 16);
568
+ return (msw << 16) | (lsw & 0xFFFF);
569
+ }
570
+ }
571
+
572
+
573
  String.prototype.tabIndex = function () {
574
  return this.replace (/^\D+/g, '')
575
  };
576
 
577
+ String.prototype.replaceAll = function(search, replacement) {
578
+ var target = this;
579
+ return target.split(search).join(replacement);
580
+ };
581
+
582
  var ai_nonce = b64d (jQuery ("#ai-form").attr ('ai-value'));
583
 
584
  var shSettings = {
1808
  $("span#export-statistics-button-" + block).show ();
1809
  var public_report_button = $("#ai-main-toolbar-" + block + ' .public-report-button');
1810
  public_report_button.show ();
1811
+
1812
  var urls = container.find ('span.ai-statistics-export-data.ai-public-report');
1813
+ public_report_button.attr ('report-data', JSON.stringify (urls.data ('report')));
1814
+
1815
  urls.remove ();
1816
+
1817
  $( "div#load-error-" + block).html ('');
1818
  if (debug) console.log ("Custom statistics loaded: " + block);
1819
  configure_charts (container);
1914
  $("input#chart-end-date-"+tab).datepicker ({dateFormat: dateFormat, autoSize: true});
1915
 
1916
  $("input#chart-start-date-"+tab).change (function() {
1917
+ $(this).closest (".custom-range-controls").find ('.data-range').removeClass ('selected');
1918
+ var custom_range_controls = $(this).closest (".custom-range-controls");
1919
+ custom_range_controls.attr ('range-name', '----');
1920
+
1921
  disable_auto_refresh_statistics ();
1922
  var block = $(this).attr('id').replace ("chart-start-date-", "");
1923
  $(this).css ('color', 'red');
1925
  });
1926
 
1927
  $("input#chart-end-date-"+tab).change (function() {
1928
+ $(this).closest (".custom-range-controls").find ('.data-range').removeClass ('selected');
1929
+ var custom_range_controls = $(this).closest (".custom-range-controls");
1930
+ custom_range_controls.attr ('range-name', '----');
1931
+
1932
  disable_auto_refresh_statistics ();
1933
  var block = $(this).attr('id').replace ("chart-end-date-", "");
1934
  $(this).css ('color', 'red');
1936
  });
1937
 
1938
  $("div#custom-range-controls-"+tab+" span.data-range").click (function () {
1939
+ var custom_range_controls = $(this).closest (".custom-range-controls");
1940
+ custom_range_controls.find ('.data-range').removeClass ('selected');
1941
+ $(this).addClass ('selected');
1942
+ custom_range_controls.attr ('range-name', $(this).data ("range-name"));
1943
+
1944
  disable_auto_refresh_statistics ();
1945
  var id = $(this).closest (".custom-range-controls").attr ("id");
1946
  block = id.replace ("custom-range-controls-","");
2194
 
2195
  $("#tab-0 .adsense-list").click (function () {
2196
  $(this).blur ();
2197
+
2198
  var container = $("#adsense-list-container");
2199
+
2200
  container.toggle ();
2201
+
2202
  if (container.is(':visible')) {
2203
  reload_adsense_list (false);
2204
  }
2205
  });
2206
+
2207
  $("#tab-0 #ai-ads-txt").click (function () {
2208
  $(this).blur ();
2209
+
2210
  var container = $("#ads-txt-container");
2211
+
2212
  container.toggle ();
2213
+
2214
  if (container.is(':visible')) {
2215
  load_ads_txt ();
2216
  }
2704
  open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
2705
  });
2706
 
2707
+ $("select#animation-"+tab).change (function() {
2708
+ var block = $(this).attr('id').tabIndex ();
2709
+ var animation = $(this).find ("option:selected").attr('value');
2710
+ var animation_parameters = $(this).closest ('.sticky-animation').find ('.animation-parameters')
2711
+ if (animation == AI_ANIMATION_NONE) {
2712
+ animation_parameters.hide ();
2713
+ } else {
2714
+ animation_parameters.show ();
2715
+ }
2716
+ });
2717
+
2718
  $("#iframe-preview-button-"+tab).button ({
2719
  }).show ().click (function () {
2720
  var block = $(this).attr ("id");
4540
  var view = $("#ads-txt-editor").hasClass ('on') ? 'text' : 'table';
4541
  var search = encodeURIComponent ($("#ads-txt-search").val());
4542
  var data_container = $("#ads-txt-data");
4543
+
4544
  $("#ads-txt-reload").addClass ('on');
4545
+
4546
  data_container.load (ajaxurl+"?action=ai_ajax_backend&ads-txt=" + view + "&search=" + search + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4547
  $("#ads-txt-reload").removeClass ('on');
4548
+
4549
  if (status == "error") {
4550
  var message = "Error loading ads.txt file: " + xhr.status + " " + xhr.statusText;
4551
  data_container.html (message);
4552
  if (debug) console.log (message);
4553
  } else {
4554
  $('#ads-txt-controls').show ();
4555
+
4556
  if ($('#ads-txt-missing').length != 0) {
4557
  $("#ads-txt-editor").addClass ('on');
4558
  $("#ads-txt-table").removeClass ('on');
4559
  $('#ads-txt-search').hide ();
4560
  $('#ads-txt-save').show ();
4561
  }
4562
+
4563
  // data_container.disableSelection();
4564
  }
4565
  });
4566
  }
4567
+
4568
  function save_ads_txt (reload) {
4569
  var data_container = $("#ads-txt-data");
4570
+
4571
  var ads_txt_data = {'text': b64e (data_container.find ('textarea#ads-txt-text').val ())};
4572
+
4573
  $('#ads-txt-error').text ('');
4574
+
4575
  $.post (ajaxurl+"?action=ai_ajax_backend&ads-txt=save&ai_check=" + ai_nonce, ads_txt_data
4576
  ).done (function (code_data) {
4577
  }).fail (function (xhr, status, error) {
4585
  }
4586
  });
4587
  }
4588
+
4589
  function set_page_statuses (block) {
4590
  var automatic_insertion = parseInt ($("select#insertion-type-"+block+" option:selected").attr('value'));
4591
  var table = $('#page-types-' + block);
5075
  if (!adsense_search_reload) {
5076
  adsense_search_reload = true;
5077
  setTimeout (function() {reload_adsense_list (false);}, 200);
 
5078
  }
5079
  });
5080
 
5114
  var current_time = new Date().getTime();
5115
  console.log ("main time: " + ((current_time - current_time_ready) / 1000).toFixed (3));
5116
  }
5117
+
5118
  $("#ads-txt-reload").click (function () {
5119
  setTimeout (function() {load_ads_txt ();}, 200);
5120
  });
5121
+
5122
  $("#ads-txt-save").click (function () {
5123
  $(this).addClass ('on');
5124
  setTimeout (function() {save_ads_txt (true);}, 200);
5125
  });
5126
+
5127
  $("#ads-txt-editor").click (function () {
5128
  $(this).addClass ('on');
5129
  $("#ads-txt-table").removeClass ('on');
5131
  $('#ads-txt-save').show ();
5132
  $("#ads-txt-reload").click ();
5133
  });
5134
+
5135
  $("#ads-txt-table").click (function () {
5136
  $(this).addClass ('on');
5137
  $("#ads-txt-editor").removeClass ('on');
5139
  $('#ads-txt-save').hide ();
5140
  $("#ads-txt-reload").click ();
5141
  });
5142
+
5143
  $("#ads-txt-search").keyup (function (event) {
5144
  if (!ads_txt_reload) {
5145
  ads_txt_reload = true;
5146
  setTimeout (function() {load_ads_txt ();}, 200);
5147
  }
5148
  });
5149
+
5150
+ // $(document).keydown (function (event) {
5151
+ // if (event.which == "17") {
5152
+ // ai_ctrl_pressed = true;
5153
+
5154
+ // var public_report_button = $('.public-report-button');
5155
+ // public_report_button.addClass ('light-red');
5156
+ // public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-rw'))
5157
+ // .tooltip({
5158
+ // track: true,
5159
+ // delay: 700,
5160
+ // showURL: false,
5161
+ // showBody: " | ",
5162
+ // fade: 250
5163
+ // });
5164
+ // }
5165
+ // });
5166
+
5167
+ // $(document).keyup (function() {
5168
+ // if (ai_ctrl_pressed) {
5169
+ // ai_ctrl_pressed = false;
5170
+
5171
+ // var public_report_button = $('.public-report-button');
5172
+ // public_report_button.removeClass ('light-red');
5173
+ // public_report_button.attr ('title', $('.public-report-button').first ().attr ('title-ro'))
5174
+ // .tooltip({
5175
+ // track: true,
5176
+ // delay: 700,
5177
+ // showURL: false,
5178
+ // showBody: " | ",
5179
+ // fade: 250
5180
+ // });
5181
+ // }
5182
+ // });
5183
+
5184
+ $(".ai-public-controls").dblclick (function () {
5185
+ $(this).toggleClass ('on');
5186
  });
5187
+
5188
  $(".public-report-button").click (function () {
5189
+ var report_data_elements = JSON.parse ($(this).attr ('report-data'));
5190
+ var report_url_prefix = report_data_elements [0]
5191
+ var report_dates_block = report_data_elements [1];
5192
+ var report_controls = $(this).parent ().parent ().parent ().parent ().find ('.ai-public-controls').hasClass ('on') ? '1' : '0';
5193
+ var report_range_name = $(this).parent ().parent ().parent ().parent ().find ('.custom-range-controls').attr ('range-name');
5194
+ var report_adb = report_data_elements [2];
5195
+ var report_range = report_data_elements [2];
5196
+ var report = report_dates_block + report_controls + report_adb + report_range_name;
5197
+ var report_id = b64e (report).replaceAll ('+', '.').replaceAll ('/', '_').replaceAll ('=', '-');
5198
+ var url = report_url_prefix + md5 (report).substring (0, 2) + report_id;
5199
+
5200
+ window.open (url, 'ai-report');
5201
  });
5202
  });
5203
 
languages/ad-inserter-sl_SI.mo CHANGED
Binary file
languages/ad-inserter-sl_SI.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Ad Inserter 2.4.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
- "POT-Creation-Date: 2019-04-10 18:20:58+00:00\n"
8
- "PO-Revision-Date: 2019-04-10 20:23+0200\n"
9
  "Last-Translator: Igor Funa\n"
10
  "Language-Team: \n"
11
  "Language: sl_SI\n"
@@ -146,7 +146,7 @@ msgstr[1] "Hej, trenutno uporabljate %1$s %2$s bloka."
146
  msgstr[2] "Hej, trenutno uporabljate %1$s %2$s bloke."
147
  msgstr[3] "Hej, trenutno uporabljate %1$s %2$s blokov."
148
 
149
- #: ad-inserter.php:2242 includes/functions.php:1521
150
  msgid "No, thank you."
151
  msgstr "Ne, hvala."
152
 
@@ -156,7 +156,7 @@ msgid ""
156
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
157
  msgstr "Hej, %s uporabljate že kar nekaj časa. Upam, da ste zadovoljni z njim."
158
 
159
- #: ad-inserter.php:2246 includes/functions.php:1524
160
  msgid "Not now, maybe later."
161
  msgstr "Ne zdaj, mogoče kasneje."
162
 
@@ -254,7 +254,7 @@ msgid "Enabled"
254
  msgstr "Omogočeno"
255
 
256
  #. translators: Menu items
257
- #: ad-inserter.php:2429 ad-inserter.php:2442 includes/functions.php:2182
258
  #: strings.php:16
259
  msgid "Disabled"
260
  msgstr "Onemogočeno"
@@ -555,7 +555,7 @@ msgstr "GRADNIK ONEMOGOČEN"
555
  msgid "Unknown block"
556
  msgstr "Neznan blok"
557
 
558
- #: ad-inserter.php:8087 includes/functions.php:2711 settings.php:1038
559
  msgid "Title"
560
  msgstr "Naslov"
561
 
@@ -849,46 +849,42 @@ msgstr " - globalno sledenje onemogočeno"
849
  msgid "Generate PDF report"
850
  msgstr "Generiraj PDF poročilo"
851
 
852
- #: includes/functions.php:468 includes/functions.php:469
853
  msgid "Open public report"
854
  msgstr "Odpri javno poročilo"
855
 
856
- #: includes/functions.php:470
857
- msgid "Open public report with controls"
858
- msgstr "Odpri javno poročilo s kontrolami"
859
-
860
- #: includes/functions.php:484
861
  msgid "Toggle Ad Blocking Statistics"
862
  msgstr "Preklopi Statistiko Blokiranja Oglasov"
863
 
864
- #: includes/functions.php:492 includes/functions.php:2509
865
  msgid "Toggle Statistics"
866
  msgstr "Preklopi Statistiko"
867
 
868
  #. translators: %s: Ad Inserter Pro
869
- #: includes/functions.php:508
870
  msgid "%s license key is not set. Continue?"
871
  msgstr "%s licenčni ključ ni nastavljen. Nadaljujem?"
872
 
873
  #. translators: %s: Ad Inserter Pro
874
- #: includes/functions.php:512
875
  msgid "Invalid %s license key. Continue?"
876
  msgstr "Neveljaven %s licenčni ključ. Nadaljujem?"
877
 
878
  #. translators: %s: Ad Inserter Pro
879
- #: includes/functions.php:516
880
  msgid "%s license overused. Continue?"
881
  msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
882
 
883
- #: includes/functions.php:520 settings.php:1963
884
  msgid "Save Settings"
885
  msgstr "Sharani Nastavitve"
886
 
887
- #: includes/functions.php:580 includes/preview.php:2096
888
  msgid "Horizontal position"
889
  msgstr "Vodoravni položaj"
890
 
891
- #: includes/functions.php:603
892
  msgid ""
893
  "Horizontal margin from the content or screen edge, empty means default value "
894
  "from CSS"
@@ -896,11 +892,11 @@ msgstr ""
896
  "Vodoravni odmik od vsebine ali roba zaslona, prazno pomeni privzeta vrednost "
897
  "iz CSS"
898
 
899
- #: includes/functions.php:611 includes/preview.php:2151
900
  msgid "Vertical position"
901
  msgstr "Navpični položaj"
902
 
903
- #: includes/functions.php:626
904
  msgid ""
905
  "Vertical margin from the top or bottom screen edge, empty means default "
906
  "value from CSS"
@@ -908,15 +904,15 @@ msgstr ""
908
  "Navpični odmik od roba vrha ali dna zaslona, prazno pomeni privzeta vrednost "
909
  "iz CSS"
910
 
911
- #: includes/functions.php:651 includes/preview.php:2202
912
  msgid "Animation"
913
  msgstr "Animacija"
914
 
915
- #: includes/functions.php:669
916
  msgid "Trigger"
917
  msgstr "Sporžilec"
918
 
919
- #: includes/functions.php:678
920
  msgid ""
921
  "Trigger value: page scroll in %, page scroll in px or element with selector "
922
  "(#id or .class) becomes visible"
@@ -924,44 +920,48 @@ msgstr ""
924
  "Sprožilna vrednost: pomik strani v %, pomik strani v px ali element s "
925
  "selektorjem (#id ali .razred) postane viden"
926
 
927
- #: includes/functions.php:682
928
  msgid "Offset"
929
  msgstr "Zamik"
930
 
931
- #: includes/functions.php:682
932
  msgid "Offset of trigger element"
933
  msgstr "Zamik sprožilnega elementa"
934
 
935
- #: includes/functions.php:686
936
  msgid "Delay"
937
  msgstr "Zakasnitev"
938
 
939
- #: includes/functions.php:686
940
  msgid "Delay animation after trigger condition"
941
  msgstr "Zakasni animacijo po izpolnitvi pogoja sprožilca"
942
 
943
- #: includes/functions.php:690
944
  msgid "Trigger once"
945
  msgstr "Sproži enkrat"
946
 
947
- #: includes/functions.php:692
948
  msgid "Trigger animation only once"
949
  msgstr "Sproži animacijo samo enkrat"
950
 
951
- #: includes/functions.php:731
952
  msgid "Tracking is globally disabled"
953
  msgstr "Sledenje je globalno onemogočeno"
954
 
955
- #: includes/functions.php:735
956
  msgid "Tracking for this block is disabled"
957
  msgstr "Sledenje za ta blok je onemogočeno"
958
 
959
- #: includes/functions.php:745 settings.php:3169 settings.php:3205
 
 
 
 
960
  #: settings.php:3248 strings.php:211
961
  msgid "Loading..."
962
  msgstr "Nalagam..."
963
 
964
- #: includes/functions.php:761
965
  msgid ""
966
  "Clear statistics data for the selected range - clear both dates to delete "
967
  "all data for this block"
@@ -969,59 +969,59 @@ msgstr ""
969
  "Pobriši podatke o statistiki za izbrano obdobje - pobriši oba datuma za "
970
  "brisanje vseh podatkov za ta blok"
971
 
972
- #: includes/functions.php:765
973
  msgid "Auto refresh data for the selected range every 60 seconds"
974
  msgstr "Samodejna osvežitev podatkov za izbrano obdobje vsakih 60 sekund"
975
 
976
- #: includes/functions.php:768 includes/functions.php:4681
977
  msgid "Load data for last month"
978
  msgstr "Naloži podatke za zadnji mesec"
979
 
980
- #: includes/functions.php:768 includes/functions.php:4681
981
  msgid "Last Month"
982
  msgstr "Zadnji Mesec"
983
 
984
- #: includes/functions.php:771 includes/functions.php:4684
985
  msgid "Load data for this month"
986
  msgstr "Naloži podatke za ta mesec"
987
 
988
- #: includes/functions.php:771 includes/functions.php:4684
989
  msgid "This Month"
990
  msgstr "Ta Mesec"
991
 
992
- #: includes/functions.php:774 includes/functions.php:4687
993
  msgid "Load data for this year"
994
  msgstr "Naloži podatke za to leto"
995
 
996
- #: includes/functions.php:774 includes/functions.php:4687
997
  msgid "This Year"
998
  msgstr "To Leto"
999
 
1000
- #: includes/functions.php:777 includes/functions.php:4690
1001
  msgid "Load data for the last 15 days"
1002
  msgstr "Naloži podatke za zadnjih 15 dni"
1003
 
1004
- #: includes/functions.php:780 includes/functions.php:4693
1005
  msgid "Load data for the last 30 days"
1006
  msgstr "Naloži podatke za zadnjih 30 dni"
1007
 
1008
- #: includes/functions.php:783 includes/functions.php:4696
1009
  msgid "Load data for the last 90 days"
1010
  msgstr "Naloži podatke za zadnjih 90 dni"
1011
 
1012
- #: includes/functions.php:786 includes/functions.php:4699
1013
  msgid "Load data for the last 180 days"
1014
  msgstr "Naloži podatke za zadnjih 180 dni"
1015
 
1016
- #: includes/functions.php:789 includes/functions.php:4702
1017
  msgid "Load data for the last 365 days"
1018
  msgstr "Naloži podatke za zadnjih 365 dni"
1019
 
1020
- #: includes/functions.php:799 includes/functions.php:4712
1021
  msgid "Load data for the selected range"
1022
  msgstr "Naloži podatke za izbrano obdobje"
1023
 
1024
- #: includes/functions.php:815
1025
  msgid ""
1026
  "Import settings when saving - if checked, the encoded settings below will be "
1027
  "imported for this block"
@@ -1029,11 +1029,11 @@ msgstr ""
1029
  "Uvozi nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
1030
  "nastavitve spodaj uvozile za ta blok"
1031
 
1032
- #: includes/functions.php:815
1033
  msgid "Import settings for block"
1034
  msgstr "Uvozi nastavitve za blok"
1035
 
1036
- #: includes/functions.php:819
1037
  msgid ""
1038
  "Import block name when saving - if checked and 'Import settings for block' "
1039
  "is also checked, the name from encoded settings below will be imported for "
@@ -1043,41 +1043,41 @@ msgstr ""
1043
  "nastavitve za blok' odkljukano, se bo ime iz kodiranih nastavitev spodaj "
1044
  "uvozilo za ta blok"
1045
 
1046
- #: includes/functions.php:819
1047
  msgid "Import block name"
1048
  msgstr "Uvozi ime bloka"
1049
 
1050
- #: includes/functions.php:823
1051
  msgid "Saved settings for block"
1052
  msgstr "Shranjene nastavitve za blok"
1053
 
1054
- #: includes/functions.php:836
1055
  msgid "Export / Import Ad Inserter Pro Settings"
1056
  msgstr "Izvozi / Uvozi Ad Inserter Pro Nastavitve"
1057
 
1058
- #: includes/functions.php:846
1059
  msgid "Are you sure you want to clear all statistics data for all blocks?"
1060
  msgstr ""
1061
  "Ali ste prepričani, da želite pobrisati vse podatke o statistiki za vse "
1062
  "bloke?"
1063
 
1064
- #: includes/functions.php:848
1065
  msgid "Clear All Statistics Data"
1066
  msgstr "Pobriši Vse Podatke o Statistiki"
1067
 
1068
- #: includes/functions.php:875
1069
  msgid "Toggle country/city editor"
1070
  msgstr "Preklopi urejevalnik držav/mest"
1071
 
1072
- #: includes/functions.php:881
1073
  msgid "IP Addresses"
1074
  msgstr "IP Naslovi"
1075
 
1076
- #: includes/functions.php:884
1077
  msgid "Toggle IP address editor"
1078
  msgstr "Preklopi urejevalnik IP nslovov"
1079
 
1080
- #: includes/functions.php:887
1081
  msgid ""
1082
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1083
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
@@ -1085,48 +1085,48 @@ msgstr ""
1085
  "Z vejico ločeni IP naslovi, uporabite lahko tudi delne IP naslove z * (ip-"
1086
  "naslov-začetek*. *ip-naslov-vzorec*, *ip-naslov-konec)"
1087
 
1088
- #: includes/functions.php:891
1089
  msgid "Blacklist IP addresses"
1090
  msgstr "Črni seznam IP naslovov"
1091
 
1092
- #: includes/functions.php:895
1093
  msgid "Whitelist IP addresses"
1094
  msgstr "Beli seznam IP naslovov"
1095
 
1096
- #: includes/functions.php:906
1097
  msgid "Countries"
1098
  msgstr "Države"
1099
 
1100
- #: includes/functions.php:907
1101
  msgid "Cities"
1102
  msgstr "Mesta"
1103
 
1104
- #: includes/functions.php:911 includes/functions.php:2474
1105
  msgid "Toggle country editor"
1106
  msgstr "Preklopi urejevalnik držav"
1107
 
1108
- #: includes/functions.php:914
1109
  msgid "Toggle city editor"
1110
  msgstr "Preklopi urejevalnik mest"
1111
 
1112
- #: includes/functions.php:918 includes/functions.php:2477
1113
  msgid "Comma separated country ISO Alpha-2 codes"
1114
  msgstr "Z vejico ločene ISO Alpha-2 kode držav"
1115
 
1116
- #: includes/functions.php:922
1117
  msgid "Blacklist countries"
1118
  msgstr "Črni seznam držav"
1119
 
1120
- #: includes/functions.php:926
1121
  msgid "Whitelist countries"
1122
  msgstr "Beli seznam držav"
1123
 
1124
- #: includes/functions.php:1242 includes/functions.php:1477
1125
  msgid "Enter license key"
1126
  msgstr "Vnesite licenčni ključ"
1127
 
1128
  #. translators: %s: Ad Inserter Pro
1129
- #: includes/functions.php:1248
1130
  msgid ""
1131
  "%s license key is not set. Plugin functionality is limited and updates are "
1132
  "disabled."
@@ -1134,40 +1134,40 @@ msgstr ""
1134
  "%s licenčni ključ ni vnešen. Funkcionalnosti vtičnika so omejene in "
1135
  "posodobitve onemogočene."
1136
 
1137
- #: includes/functions.php:1260 includes/functions.php:1486
1138
  msgid "Check license key"
1139
  msgstr "Preverite licenčni ključ"
1140
 
1141
  #. translators: %s: Ad Inserter Pro
1142
- #: includes/functions.php:1266
1143
  msgid "Invalid %s license key."
1144
  msgstr "Neveljaven %s licenčni ključ."
1145
 
1146
  #. translators: %s: Ad Inserter Pro
1147
- #: includes/functions.php:1275
1148
  msgid "%s license expired. Plugin updates are disabled."
1149
  msgstr "%s licenca je potekla. Posodobitve vtičnika so onemogočene."
1150
 
1151
- #: includes/functions.php:1276
1152
  msgid "Renew license"
1153
  msgstr "Obnovite licenco"
1154
 
1155
  #. translators: %s: Ad Inserter Pro
1156
- #: includes/functions.php:1284
1157
  msgid "%s license overused. Plugin updates are disabled."
1158
  msgstr ""
1159
  "%s licenca je prekomerno uporabljena. Posodobitve vtičnika so onemogočene."
1160
 
1161
- #: includes/functions.php:1285
1162
  msgid "Manage licenses"
1163
  msgstr "Upravljajte z licencami"
1164
 
1165
- #: includes/functions.php:1285
1166
  msgid "Upgrade license"
1167
  msgstr "Nadgradite licenco"
1168
 
1169
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1170
- #: includes/functions.php:1479
1171
  msgid ""
1172
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1173
  "limited and updates are disabled."
@@ -1176,12 +1176,12 @@ msgstr ""
1176
  "so omejene in posodobitve onemogočene."
1177
 
1178
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1179
- #: includes/functions.php:1488
1180
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1181
  msgstr "%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ."
1182
 
1183
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1184
- #: includes/functions.php:1504
1185
  msgid ""
1186
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1187
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
@@ -1191,7 +1191,7 @@ msgstr ""
1191
  "pogrešate. %3$s"
1192
 
1193
  #. translators: 1, 3: HTML tags, 2: percentage
1194
- #: includes/functions.php:1511
1195
  msgid ""
1196
  "During the license period and 30 days after the license has expired we offer "
1197
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
@@ -1199,16 +1199,16 @@ msgstr ""
1199
  "V obdobju licence in 30 dni po tem, ko licenca poteče, vam ponujamo %1$s "
1200
  "%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
1201
 
1202
- #: includes/functions.php:1538
1203
  msgid "Renew the licence"
1204
  msgstr "Obnovi licenco"
1205
 
1206
- #: includes/functions.php:1540
1207
  msgid "Update license status"
1208
  msgstr "Posodobi status licence"
1209
 
1210
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1211
- #: includes/functions.php:1551
1212
  msgid ""
1213
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1214
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
@@ -1218,95 +1218,95 @@ msgstr ""
1218
  "Nadgradite licenco %7$s"
1219
 
1220
  #. Translators: %s: HTML tag
1221
- #: includes/functions.php:1573
1222
  msgid "Warning: %s MaxMind IP geolocation database not found."
1223
  msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
1224
 
1225
- #: includes/functions.php:2111
1226
  msgid "Geolocation"
1227
  msgstr "Geolokacija"
1228
 
1229
- #: includes/functions.php:2115
1230
  msgid "Exceptions"
1231
  msgstr "Izjeme"
1232
 
1233
- #: includes/functions.php:2120
1234
  msgid "Multisite"
1235
  msgstr "Multisite"
1236
 
1237
- #: includes/functions.php:2125
1238
  msgid "Tracking"
1239
  msgstr "Sledenje"
1240
 
1241
  #. translators: %d: days, hours, minutes
1242
- #: includes/functions.php:2156
1243
  msgid "Scheduled in %d days %d hours %d minutes"
1244
  msgstr "Planirano v %d dneh %d urah %d minutah"
1245
 
1246
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1247
  #. HTML code for long dash separator
1248
- #: includes/functions.php:2165
1249
  msgid "Active %s expires in %d days %d hours %d minutes"
1250
  msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
1251
 
1252
- #: includes/functions.php:2169
1253
  msgid "Expired"
1254
  msgstr "Poteklo"
1255
 
1256
- #: includes/functions.php:2177 settings.php:1277 settings.php:1292
1257
  #: settings.php:1879
1258
  msgid "and"
1259
  msgstr "in"
1260
 
1261
- #: includes/functions.php:2180
1262
  msgid "fallback"
1263
  msgstr "rezerva"
1264
 
1265
- #: includes/functions.php:2181
1266
  msgid "Block to be used when scheduling expires"
1267
  msgstr "Blok, ki se bo uporabil, ko urnik poteče"
1268
 
1269
- #: includes/functions.php:2206
1270
  msgid "Load in iframe"
1271
  msgstr "Naloži v iframe-u"
1272
 
1273
- #: includes/functions.php:2210 includes/placeholders.php:382
1274
  msgid "Width"
1275
  msgstr "Širina"
1276
 
1277
- #: includes/functions.php:2211
1278
  msgid "iframe width, empty means full width (100%)"
1279
  msgstr "širina iframe-a, prazno pomeni polna širina (100%)"
1280
 
1281
- #: includes/functions.php:2217 includes/placeholders.php:377
1282
  msgid "Height"
1283
  msgstr "Višina"
1284
 
1285
- #: includes/functions.php:2218
1286
  msgid "iframe height, empty means adjust it to iframe content height"
1287
  msgstr ""
1288
  "Višina iframe-a, prazno pomeni poravnavo glede na višino vsebine iframe-a"
1289
 
1290
- #: includes/functions.php:2225
1291
  msgid "Ad label in iframe"
1292
  msgstr "Oznaka oglasa v iframe-u"
1293
 
1294
- #: includes/functions.php:2230
1295
  msgid "Preview iframe code"
1296
  msgstr "Predpreglej kodo iframe"
1297
 
1298
- #: includes/functions.php:2230 includes/preview.php:1964 settings.php:954
1299
  #: settings.php:2551
1300
  msgid "Preview"
1301
  msgstr "Predogled"
1302
 
1303
- #: includes/functions.php:2244 includes/functions.php:3784
1304
- #: includes/functions.php:3847 settings.php:2016
1305
  msgid "Ad Blocking"
1306
  msgstr "Blokiranje Oglasov"
1307
 
1308
  #. translators: 1, 2 and 3, 4: HTML tags
1309
- #: includes/functions.php:2253
1310
  msgid ""
1311
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1312
  "for tracking!"
@@ -1316,7 +1316,7 @@ msgstr ""
1316
 
1317
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1318
  #. header
1319
- #: includes/functions.php:2262
1320
  msgid ""
1321
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1322
  "enabled and automatic insertion %6$s!"
@@ -1324,49 +1324,49 @@ msgstr ""
1324
  "%1$s OPOZORILO: %2$s vertikalni položaj %3$s potrebuje %4$s Predpomnjenje "
1325
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1326
 
1327
- #: includes/functions.php:2280
1328
  msgid "When ad blocking is detected"
1329
  msgstr "Ko je blokiranje oglasov zaznano"
1330
 
1331
- #: includes/functions.php:2289
1332
  msgid "replacement"
1333
  msgstr "nadomestek"
1334
 
1335
- #: includes/functions.php:2290
1336
  msgid "Block to be shown when ad blocking is detected"
1337
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1338
 
1339
- #: includes/functions.php:2291
1340
  msgctxt "replacement"
1341
  msgid "None"
1342
  msgstr "Noben"
1343
 
1344
- #: includes/functions.php:2308
1345
  msgid "Close button"
1346
  msgstr "Gumb Zapri"
1347
 
1348
- #: includes/functions.php:2355
1349
  msgid "Lazy loading"
1350
  msgstr "Leno nalaganje"
1351
 
1352
  #. Translators: %s MaxMind
1353
- #: includes/functions.php:2409
1354
  msgid "This product includes GeoLite2 data created by %s"
1355
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1356
 
1357
- #: includes/functions.php:2420
1358
  msgid "IP geolocation database"
1359
  msgstr "Podatkovna baza za IP geolokacijo"
1360
 
1361
- #: includes/functions.php:2423
1362
  msgid "Select IP geolocation database."
1363
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1364
 
1365
- #: includes/functions.php:2434
1366
  msgid "Automatic database updates"
1367
  msgstr "Samodejna posodobitev podatkovne baze"
1368
 
1369
- #: includes/functions.php:2437
1370
  msgid ""
1371
  "Automatically download and update free GeoLite2 IP geolocation database by "
1372
  "MaxMind"
@@ -1374,11 +1374,11 @@ msgstr ""
1374
  "Samodejno prenesi in posodobi prostodostopno GeoLite2 IP geolokacijsko "
1375
  "podatkovno bazo MaxMind"
1376
 
1377
- #: includes/functions.php:2445
1378
  msgid "Database"
1379
  msgstr "Podatkovna baza"
1380
 
1381
- #: includes/functions.php:2448
1382
  msgid ""
1383
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1384
  "file"
@@ -1387,39 +1387,39 @@ msgstr ""
1387
  "podatkovne baze"
1388
 
1389
  #. translators: %d: group number
1390
- #: includes/functions.php:2466
1391
  msgid "Group %d"
1392
  msgstr "Skupina %d"
1393
 
1394
- #: includes/functions.php:2472
1395
  msgid "countries"
1396
  msgstr "države"
1397
 
1398
- #: includes/functions.php:2517
1399
  msgid "Enable tracking"
1400
  msgstr "Omogoči sledenje"
1401
 
1402
- #: includes/functions.php:2524
1403
  msgid "Generate report"
1404
  msgstr "Generiraj poročilo"
1405
 
1406
- #: includes/functions.php:2532
1407
  msgid "Impression and Click Tracking"
1408
  msgstr "Sledenje Prikazov in Klikov"
1409
 
1410
- #: includes/functions.php:2548
1411
  msgid "Internal"
1412
  msgstr "Notranje"
1413
 
1414
- #: includes/functions.php:2552
1415
  msgid "Track impressions and clicks with internal tracking and statistics"
1416
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1417
 
1418
- #: includes/functions.php:2557
1419
  msgid "External"
1420
  msgstr "Zunanje"
1421
 
1422
- #: includes/functions.php:2561
1423
  msgid ""
1424
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1425
  "code installed)"
@@ -1427,27 +1427,27 @@ msgstr ""
1427
  "Sledi prikazom in klikom z Google Analytics ali Matomo (potrebuje nameščeno "
1428
  "kodo za sledenje)"
1429
 
1430
- #: includes/functions.php:2566
1431
  msgid "Track Pageviews"
1432
  msgstr "Sledi Ogledom Strani"
1433
 
1434
- #: includes/functions.php:2572
1435
  msgid "Track Pageviews by Device (as configured for viewports)"
1436
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1437
 
1438
- #: includes/functions.php:2582
1439
  msgid "Track for Logged in Users"
1440
  msgstr "Sledi za Prijavljene Upor."
1441
 
1442
- #: includes/functions.php:2588
1443
  msgid "Track impressions and clicks from logged in users"
1444
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1445
 
1446
- #: includes/functions.php:2598
1447
  msgid "Click Detection"
1448
  msgstr "Zaznavanje klikov"
1449
 
1450
- #: includes/functions.php:2604
1451
  msgid ""
1452
  "Standard method detects clicks only on banners with links, Advanced method "
1453
  "can detect clicks on any kind of ads, but it is slightly less accurate"
@@ -1455,11 +1455,11 @@ msgstr ""
1455
  "Standardni način zazna klike samo na pasicah s povezavami, Napredni način "
1456
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1457
 
1458
- #: includes/functions.php:2630
1459
  msgid "Report header image"
1460
  msgstr "Slika v glavi poročila"
1461
 
1462
- #: includes/functions.php:2633
1463
  msgid ""
1464
  "Image or logo to be displayed in the header of the statistins report. "
1465
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
@@ -1469,15 +1469,15 @@ msgstr ""
1469
  "ki se začne z '/' ali relativna pot do datoteke slike. Pobrišite za "
1470
  "ponastavitev na privzeto sliko."
1471
 
1472
- #: includes/functions.php:2634 strings.php:223
1473
  msgid "Select or upload header image"
1474
  msgstr "Izberi ali naloži sliko glave"
1475
 
1476
- #: includes/functions.php:2639
1477
  msgid "Report header title"
1478
  msgstr "Naslov v glavi poročila"
1479
 
1480
- #: includes/functions.php:2642
1481
  msgid ""
1482
  "Title to be displayed in the header of the statistics report. Text or HTML "
1483
  "code, clear to reset to default text."
@@ -1485,11 +1485,11 @@ msgstr ""
1485
  "Naslov, ki bo prikazan v glavi poročila statistike. Besedilo ali HTML koda, "
1486
  "pobrišite za ponastavitev na privzeto besedilo."
1487
 
1488
- #: includes/functions.php:2647
1489
  msgid "Report header description"
1490
  msgstr "Opis v glavi poročila"
1491
 
1492
- #: includes/functions.php:2650
1493
  msgid ""
1494
  "Description to be displayed in the header of the statistics report. Text or "
1495
  "HTML code, clear to reset to default text."
@@ -1497,11 +1497,11 @@ msgstr ""
1497
  "Opis, ki bo prikazan v glavi poročila statistike. Besedilo ali HTML koda, "
1498
  "pobrišite za ponastavitev na privzeto besedilo."
1499
 
1500
- #: includes/functions.php:2655
1501
  msgid "Report footer"
1502
  msgstr "Noga poročila"
1503
 
1504
- #: includes/functions.php:2658
1505
  msgid ""
1506
  "Text to be displayed in the footer of the statistics report. Clear to reset "
1507
  "to default text."
@@ -1509,112 +1509,112 @@ msgstr ""
1509
  "Besedilo, ki bo prikazano v nogi poročila statistike. Besedilo ali HTML "
1510
  "koda, pobrišite za ponastavitev na privzeto besedilo."
1511
 
1512
- #: includes/functions.php:2663
1513
  msgid "Public report key"
1514
  msgstr "Ključ za javno poročilo"
1515
 
1516
- #: includes/functions.php:2666
1517
  msgid "String to generate unique report IDs. Clear to reset to default value."
1518
  msgstr ""
1519
  "Niz za ustvaritev unikatnega IDja poročila. Pobrišite za ponastavitev na "
1520
  "privzeto vrednost."
1521
 
1522
- #: includes/functions.php:2698
1523
  msgid "Are you sure you want to clear all exceptions for block"
1524
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
1525
 
1526
- #: includes/functions.php:2699 settings.php:1041
1527
  msgid "Clear all exceptions for block"
1528
  msgstr "Pobriši vse izjeme za blok"
1529
 
1530
- #: includes/functions.php:2706
1531
  msgid "Are you sure you want to clear all exceptions?"
1532
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
1533
 
1534
- #: includes/functions.php:2706
1535
  msgid "Clear all exceptions for all blocks"
1536
  msgstr "Pobriši vse izjeme za vse bloke"
1537
 
1538
- #: includes/functions.php:2711 settings.php:3407 settings.php:3745
1539
  msgid "Type"
1540
  msgstr "Vrsta"
1541
 
1542
- #: includes/functions.php:2729
1543
  msgid "View"
1544
  msgstr "Poglej"
1545
 
1546
- #: includes/functions.php:2730 includes/placeholders.php:346
1547
  #: includes/preview.php:2271 settings.php:1180
1548
  msgid "Edit"
1549
  msgstr "Uredi"
1550
 
1551
- #: includes/functions.php:2760
1552
  msgid "Are you sure you want to clear all exceptions for"
1553
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
1554
 
1555
- #: includes/functions.php:2761
1556
  msgid "Clear all exceptions for"
1557
  msgstr "Pobriši vse izjeme za"
1558
 
1559
- #: includes/functions.php:2774
1560
  msgid "No exceptions"
1561
  msgstr "Brez izjem"
1562
 
1563
  #. translators: %s: Ad Inserter Pro
1564
- #: includes/functions.php:2785
1565
  msgid "%s options for network blogs"
1566
  msgstr "%s izbire za omrežne bloge"
1567
 
1568
  #. translators: %s: Ad Inserter Pro
1569
- #: includes/functions.php:2790
1570
  msgid "Enable %s widgets for sub-sites"
1571
  msgstr "Omogoči %s gradnik za pod-spletišča"
1572
 
1573
- #: includes/functions.php:2790
1574
  msgid "Widgets"
1575
  msgstr "Gradniki"
1576
 
1577
- #: includes/functions.php:2795
1578
  msgid "Enable PHP code processing for sub-sites"
1579
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
1580
 
1581
- #: includes/functions.php:2795
1582
  msgid "PHP Processing"
1583
  msgstr "PHP Procesiranje"
1584
 
1585
  #. translators: %s: Ad Inserter Pro
1586
- #: includes/functions.php:2800
1587
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1588
  msgstr ""
1589
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
1590
 
1591
- #: includes/functions.php:2800
1592
  msgid "Post/Page exceptions"
1593
  msgstr "Izjeme prispevkov/strani"
1594
 
1595
  #. translators: %s: Ad Inserter Pro
1596
- #: includes/functions.php:2805
1597
  msgid "Enable %s settings page for sub-sites"
1598
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
1599
 
1600
- #: includes/functions.php:2805
1601
  msgid "Settings page"
1602
  msgstr "Stran z nastavitvami"
1603
 
1604
  #. translators: %s: Ad Inserter Pro
1605
- #: includes/functions.php:2810
1606
  msgid "Enable %s settings of main site to be used for all blogs"
1607
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
1608
 
1609
- #: includes/functions.php:2810
1610
  msgid "Main site settings used for all blogs"
1611
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
1612
 
1613
- #: includes/functions.php:2821 settings.php:2438
1614
  msgid "Ad Blocking Detection"
1615
  msgstr "Zaznavanje Blokiranja Oglasov"
1616
 
1617
- #: includes/functions.php:2827
1618
  msgid ""
1619
  "Standard method is reliable but should be used only if Advanced method does "
1620
  "not work. Advanced method recreates files used for detection with random "
@@ -1626,71 +1626,71 @@ msgstr ""
1626
  "imeni in mogoče ne bo deloval s skriptami v upload mapi, če ta ni javno "
1627
  "dostopna"
1628
 
1629
- #: includes/functions.php:3447 includes/functions.php:3537
1630
- #: includes/functions.php:3557
1631
  msgid "AD BLOCKING"
1632
  msgstr "BLOKIRANJE OGLASOV"
1633
 
1634
- #: includes/functions.php:3448 includes/functions.php:3488
1635
- #: includes/functions.php:3531 includes/functions.php:3558
1636
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1637
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
1638
 
1639
- #: includes/functions.php:3451 includes/functions.php:3530
1640
- #: includes/functions.php:3564
1641
  msgid "NO AD BLOCKING"
1642
  msgstr "NI BLOKIRANJA OGLASOV"
1643
 
1644
- #: includes/functions.php:3487 includes/functions.php:3494
1645
  msgid "AD BLOCKING REPLACEMENT"
1646
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
1647
 
1648
- #: includes/functions.php:3637 includes/functions.php:3846
1649
  msgid "Pageviews"
1650
  msgstr "Ogledi strani"
1651
 
1652
- #: includes/functions.php:3783
1653
  msgctxt "Version"
1654
  msgid "Unknown"
1655
  msgstr "Neznana"
1656
 
1657
- #: includes/functions.php:3783
1658
  msgctxt "Times"
1659
  msgid "DISPLAYED"
1660
  msgstr "PRIKAZANO"
1661
 
1662
- #: includes/functions.php:3783
1663
  msgid "No version"
1664
  msgstr "Brez različice"
1665
 
1666
- #: includes/functions.php:3784
1667
  msgctxt "Times"
1668
  msgid "BLOCKED"
1669
  msgstr "BLOKIRANO"
1670
 
1671
- #: includes/functions.php:3846
1672
  msgid "Impressions"
1673
  msgstr "Prikazi"
1674
 
1675
- #: includes/functions.php:3847 includes/functions.php:3848
1676
- #: includes/functions.php:3909
1677
  msgid "Clicks"
1678
  msgstr "Kliki"
1679
 
1680
- #: includes/functions.php:3848
1681
  msgid "events"
1682
  msgstr "dogodki"
1683
 
1684
- #: includes/functions.php:3849
1685
  msgid "Ad Blocking Share"
1686
  msgstr "Delež blokiranja oglasov"
1687
 
1688
  #. translators: CTR as Click Through Rate
1689
- #: includes/functions.php:3849 includes/functions.php:3915
1690
  msgid "CTR"
1691
  msgstr "CTR"
1692
 
1693
- #: includes/functions.php:3997
1694
  msgid "pageviews"
1695
  msgid_plural "pageviews"
1696
  msgstr[0] "ogled strani"
@@ -1698,7 +1698,7 @@ msgstr[1] "ogleda strani"
1698
  msgstr[2] "ogledi strani"
1699
  msgstr[3] "ogledov strani"
1700
 
1701
- #: includes/functions.php:3997
1702
  msgid "impressions"
1703
  msgid_plural "impressions"
1704
  msgstr[0] "prikaz"
@@ -1706,7 +1706,7 @@ msgstr[1] "prikaza"
1706
  msgstr[2] "prikazi"
1707
  msgstr[3] "prikazov"
1708
 
1709
- #: includes/functions.php:4001
1710
  msgid "event"
1711
  msgid_plural "events"
1712
  msgstr[0] "dogodek"
@@ -1714,7 +1714,7 @@ msgstr[1] "dogodka"
1714
  msgstr[2] "dogodki"
1715
  msgstr[3] "dogodkov"
1716
 
1717
- #: includes/functions.php:4001
1718
  msgid "click"
1719
  msgid_plural "clicks"
1720
  msgstr[0] "klik"
@@ -1722,30 +1722,63 @@ msgstr[1] "klika"
1722
  msgstr[2] "kliki"
1723
  msgstr[3] "klikov"
1724
 
1725
- #: includes/functions.php:4096
1726
  msgctxt "Pageviews / Impressions"
1727
  msgid "Average"
1728
  msgstr "Povprečni"
1729
 
1730
- #: includes/functions.php:4117
1731
  msgctxt "Ad Blocking / Clicks"
1732
  msgid "Average"
1733
  msgstr "Povprečno"
1734
 
1735
- #: includes/functions.php:4141
1736
  msgctxt "Ad Blocking Share / CTR"
1737
  msgid "Average"
1738
  msgstr "Povprečni"
1739
 
1740
  #. Translators: %s: Ad Inserter Pro
1741
- #: includes/functions.php:4323
1742
  msgid "%s Report"
1743
  msgstr "%s Poročilo"
1744
 
1745
- #: includes/functions.php:4414 includes/functions.php:4626 strings.php:178
 
1746
  msgid "Ad Inserter Pro Report"
1747
  msgstr "Ad Inserter Pro Poročilo"
1748
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1749
  #: includes/placeholders.php:19
1750
  msgid "Custom"
1751
  msgstr "Po meri"
@@ -5407,6 +5440,9 @@ msgstr ""
5407
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
5408
  "na optimalna mesta"
5409
 
 
 
 
5410
  #~ msgctxt "code in header or footer"
5411
  #~ msgid "DISABLED"
5412
  #~ msgstr "ONEMOGOČENA"
4
  msgstr ""
5
  "Project-Id-Version: Ad Inserter 2.4.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
+ "POT-Creation-Date: 2019-04-13 09:21:04+00:00\n"
8
+ "PO-Revision-Date: 2019-04-13 11:24+0200\n"
9
  "Last-Translator: Igor Funa\n"
10
  "Language-Team: \n"
11
  "Language: sl_SI\n"
146
  msgstr[2] "Hej, trenutno uporabljate %1$s %2$s bloke."
147
  msgstr[3] "Hej, trenutno uporabljate %1$s %2$s blokov."
148
 
149
+ #: ad-inserter.php:2242 includes/functions.php:1526
150
  msgid "No, thank you."
151
  msgstr "Ne, hvala."
152
 
156
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
157
  msgstr "Hej, %s uporabljate že kar nekaj časa. Upam, da ste zadovoljni z njim."
158
 
159
+ #: ad-inserter.php:2246 includes/functions.php:1529
160
  msgid "Not now, maybe later."
161
  msgstr "Ne zdaj, mogoče kasneje."
162
 
254
  msgstr "Omogočeno"
255
 
256
  #. translators: Menu items
257
+ #: ad-inserter.php:2429 ad-inserter.php:2442 includes/functions.php:2187
258
  #: strings.php:16
259
  msgid "Disabled"
260
  msgstr "Onemogočeno"
555
  msgid "Unknown block"
556
  msgstr "Neznan blok"
557
 
558
+ #: ad-inserter.php:8087 includes/functions.php:2716 settings.php:1038
559
  msgid "Title"
560
  msgstr "Naslov"
561
 
849
  msgid "Generate PDF report"
850
  msgstr "Generiraj PDF poročilo"
851
 
852
+ #: includes/functions.php:468
853
  msgid "Open public report"
854
  msgstr "Odpri javno poročilo"
855
 
856
+ #: includes/functions.php:482
 
 
 
 
857
  msgid "Toggle Ad Blocking Statistics"
858
  msgstr "Preklopi Statistiko Blokiranja Oglasov"
859
 
860
+ #: includes/functions.php:490 includes/functions.php:2514
861
  msgid "Toggle Statistics"
862
  msgstr "Preklopi Statistiko"
863
 
864
  #. translators: %s: Ad Inserter Pro
865
+ #: includes/functions.php:506
866
  msgid "%s license key is not set. Continue?"
867
  msgstr "%s licenčni ključ ni nastavljen. Nadaljujem?"
868
 
869
  #. translators: %s: Ad Inserter Pro
870
+ #: includes/functions.php:510
871
  msgid "Invalid %s license key. Continue?"
872
  msgstr "Neveljaven %s licenčni ključ. Nadaljujem?"
873
 
874
  #. translators: %s: Ad Inserter Pro
875
+ #: includes/functions.php:514
876
  msgid "%s license overused. Continue?"
877
  msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
878
 
879
+ #: includes/functions.php:518 settings.php:1963
880
  msgid "Save Settings"
881
  msgstr "Sharani Nastavitve"
882
 
883
+ #: includes/functions.php:578 includes/preview.php:2096
884
  msgid "Horizontal position"
885
  msgstr "Vodoravni položaj"
886
 
887
+ #: includes/functions.php:601
888
  msgid ""
889
  "Horizontal margin from the content or screen edge, empty means default value "
890
  "from CSS"
892
  "Vodoravni odmik od vsebine ali roba zaslona, prazno pomeni privzeta vrednost "
893
  "iz CSS"
894
 
895
+ #: includes/functions.php:609 includes/preview.php:2151
896
  msgid "Vertical position"
897
  msgstr "Navpični položaj"
898
 
899
+ #: includes/functions.php:624
900
  msgid ""
901
  "Vertical margin from the top or bottom screen edge, empty means default "
902
  "value from CSS"
904
  "Navpični odmik od roba vrha ali dna zaslona, prazno pomeni privzeta vrednost "
905
  "iz CSS"
906
 
907
+ #: includes/functions.php:649 includes/preview.php:2202
908
  msgid "Animation"
909
  msgstr "Animacija"
910
 
911
+ #: includes/functions.php:667
912
  msgid "Trigger"
913
  msgstr "Sporžilec"
914
 
915
+ #: includes/functions.php:676
916
  msgid ""
917
  "Trigger value: page scroll in %, page scroll in px or element with selector "
918
  "(#id or .class) becomes visible"
920
  "Sprožilna vrednost: pomik strani v %, pomik strani v px ali element s "
921
  "selektorjem (#id ali .razred) postane viden"
922
 
923
+ #: includes/functions.php:680
924
  msgid "Offset"
925
  msgstr "Zamik"
926
 
927
+ #: includes/functions.php:680
928
  msgid "Offset of trigger element"
929
  msgstr "Zamik sprožilnega elementa"
930
 
931
+ #: includes/functions.php:684
932
  msgid "Delay"
933
  msgstr "Zakasnitev"
934
 
935
+ #: includes/functions.php:684
936
  msgid "Delay animation after trigger condition"
937
  msgstr "Zakasni animacijo po izpolnitvi pogoja sprožilca"
938
 
939
+ #: includes/functions.php:688
940
  msgid "Trigger once"
941
  msgstr "Sproži enkrat"
942
 
943
+ #: includes/functions.php:690
944
  msgid "Trigger animation only once"
945
  msgstr "Sproži animacijo samo enkrat"
946
 
947
+ #: includes/functions.php:732
948
  msgid "Tracking is globally disabled"
949
  msgstr "Sledenje je globalno onemogočeno"
950
 
951
+ #: includes/functions.php:736
952
  msgid "Tracking for this block is disabled"
953
  msgstr "Sledenje za ta blok je onemogočeno"
954
 
955
+ #: includes/functions.php:743
956
+ msgid "Double click to toggle controls in public reports"
957
+ msgstr "Dvojni klik za preklop kontrol v javnih poročilih"
958
+
959
+ #: includes/functions.php:749 settings.php:3169 settings.php:3205
960
  #: settings.php:3248 strings.php:211
961
  msgid "Loading..."
962
  msgstr "Nalagam..."
963
 
964
+ #: includes/functions.php:766
965
  msgid ""
966
  "Clear statistics data for the selected range - clear both dates to delete "
967
  "all data for this block"
969
  "Pobriši podatke o statistiki za izbrano obdobje - pobriši oba datuma za "
970
  "brisanje vseh podatkov za ta blok"
971
 
972
+ #: includes/functions.php:770
973
  msgid "Auto refresh data for the selected range every 60 seconds"
974
  msgstr "Samodejna osvežitev podatkov za izbrano obdobje vsakih 60 sekund"
975
 
976
+ #: includes/functions.php:773 includes/functions.php:4729
977
  msgid "Load data for last month"
978
  msgstr "Naloži podatke za zadnji mesec"
979
 
980
+ #: includes/functions.php:773 includes/functions.php:4729
981
  msgid "Last Month"
982
  msgstr "Zadnji Mesec"
983
 
984
+ #: includes/functions.php:776 includes/functions.php:4732
985
  msgid "Load data for this month"
986
  msgstr "Naloži podatke za ta mesec"
987
 
988
+ #: includes/functions.php:776 includes/functions.php:4732
989
  msgid "This Month"
990
  msgstr "Ta Mesec"
991
 
992
+ #: includes/functions.php:779 includes/functions.php:4735
993
  msgid "Load data for this year"
994
  msgstr "Naloži podatke za to leto"
995
 
996
+ #: includes/functions.php:779 includes/functions.php:4735
997
  msgid "This Year"
998
  msgstr "To Leto"
999
 
1000
+ #: includes/functions.php:782 includes/functions.php:4738
1001
  msgid "Load data for the last 15 days"
1002
  msgstr "Naloži podatke za zadnjih 15 dni"
1003
 
1004
+ #: includes/functions.php:785 includes/functions.php:4741
1005
  msgid "Load data for the last 30 days"
1006
  msgstr "Naloži podatke za zadnjih 30 dni"
1007
 
1008
+ #: includes/functions.php:788 includes/functions.php:4744
1009
  msgid "Load data for the last 90 days"
1010
  msgstr "Naloži podatke za zadnjih 90 dni"
1011
 
1012
+ #: includes/functions.php:791 includes/functions.php:4747
1013
  msgid "Load data for the last 180 days"
1014
  msgstr "Naloži podatke za zadnjih 180 dni"
1015
 
1016
+ #: includes/functions.php:794 includes/functions.php:4750
1017
  msgid "Load data for the last 365 days"
1018
  msgstr "Naloži podatke za zadnjih 365 dni"
1019
 
1020
+ #: includes/functions.php:804 includes/functions.php:4760
1021
  msgid "Load data for the selected range"
1022
  msgstr "Naloži podatke za izbrano obdobje"
1023
 
1024
+ #: includes/functions.php:820
1025
  msgid ""
1026
  "Import settings when saving - if checked, the encoded settings below will be "
1027
  "imported for this block"
1029
  "Uvozi nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
1030
  "nastavitve spodaj uvozile za ta blok"
1031
 
1032
+ #: includes/functions.php:820
1033
  msgid "Import settings for block"
1034
  msgstr "Uvozi nastavitve za blok"
1035
 
1036
+ #: includes/functions.php:824
1037
  msgid ""
1038
  "Import block name when saving - if checked and 'Import settings for block' "
1039
  "is also checked, the name from encoded settings below will be imported for "
1043
  "nastavitve za blok' odkljukano, se bo ime iz kodiranih nastavitev spodaj "
1044
  "uvozilo za ta blok"
1045
 
1046
+ #: includes/functions.php:824
1047
  msgid "Import block name"
1048
  msgstr "Uvozi ime bloka"
1049
 
1050
+ #: includes/functions.php:828
1051
  msgid "Saved settings for block"
1052
  msgstr "Shranjene nastavitve za blok"
1053
 
1054
+ #: includes/functions.php:841
1055
  msgid "Export / Import Ad Inserter Pro Settings"
1056
  msgstr "Izvozi / Uvozi Ad Inserter Pro Nastavitve"
1057
 
1058
+ #: includes/functions.php:851
1059
  msgid "Are you sure you want to clear all statistics data for all blocks?"
1060
  msgstr ""
1061
  "Ali ste prepričani, da želite pobrisati vse podatke o statistiki za vse "
1062
  "bloke?"
1063
 
1064
+ #: includes/functions.php:853
1065
  msgid "Clear All Statistics Data"
1066
  msgstr "Pobriši Vse Podatke o Statistiki"
1067
 
1068
+ #: includes/functions.php:880
1069
  msgid "Toggle country/city editor"
1070
  msgstr "Preklopi urejevalnik držav/mest"
1071
 
1072
+ #: includes/functions.php:886
1073
  msgid "IP Addresses"
1074
  msgstr "IP Naslovi"
1075
 
1076
+ #: includes/functions.php:889
1077
  msgid "Toggle IP address editor"
1078
  msgstr "Preklopi urejevalnik IP nslovov"
1079
 
1080
+ #: includes/functions.php:892
1081
  msgid ""
1082
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1083
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1085
  "Z vejico ločeni IP naslovi, uporabite lahko tudi delne IP naslove z * (ip-"
1086
  "naslov-začetek*. *ip-naslov-vzorec*, *ip-naslov-konec)"
1087
 
1088
+ #: includes/functions.php:896
1089
  msgid "Blacklist IP addresses"
1090
  msgstr "Črni seznam IP naslovov"
1091
 
1092
+ #: includes/functions.php:900
1093
  msgid "Whitelist IP addresses"
1094
  msgstr "Beli seznam IP naslovov"
1095
 
1096
+ #: includes/functions.php:911
1097
  msgid "Countries"
1098
  msgstr "Države"
1099
 
1100
+ #: includes/functions.php:912
1101
  msgid "Cities"
1102
  msgstr "Mesta"
1103
 
1104
+ #: includes/functions.php:916 includes/functions.php:2479
1105
  msgid "Toggle country editor"
1106
  msgstr "Preklopi urejevalnik držav"
1107
 
1108
+ #: includes/functions.php:919
1109
  msgid "Toggle city editor"
1110
  msgstr "Preklopi urejevalnik mest"
1111
 
1112
+ #: includes/functions.php:923 includes/functions.php:2482
1113
  msgid "Comma separated country ISO Alpha-2 codes"
1114
  msgstr "Z vejico ločene ISO Alpha-2 kode držav"
1115
 
1116
+ #: includes/functions.php:927
1117
  msgid "Blacklist countries"
1118
  msgstr "Črni seznam držav"
1119
 
1120
+ #: includes/functions.php:931
1121
  msgid "Whitelist countries"
1122
  msgstr "Beli seznam držav"
1123
 
1124
+ #: includes/functions.php:1247 includes/functions.php:1482
1125
  msgid "Enter license key"
1126
  msgstr "Vnesite licenčni ključ"
1127
 
1128
  #. translators: %s: Ad Inserter Pro
1129
+ #: includes/functions.php:1253
1130
  msgid ""
1131
  "%s license key is not set. Plugin functionality is limited and updates are "
1132
  "disabled."
1134
  "%s licenčni ključ ni vnešen. Funkcionalnosti vtičnika so omejene in "
1135
  "posodobitve onemogočene."
1136
 
1137
+ #: includes/functions.php:1265 includes/functions.php:1491
1138
  msgid "Check license key"
1139
  msgstr "Preverite licenčni ključ"
1140
 
1141
  #. translators: %s: Ad Inserter Pro
1142
+ #: includes/functions.php:1271
1143
  msgid "Invalid %s license key."
1144
  msgstr "Neveljaven %s licenčni ključ."
1145
 
1146
  #. translators: %s: Ad Inserter Pro
1147
+ #: includes/functions.php:1280
1148
  msgid "%s license expired. Plugin updates are disabled."
1149
  msgstr "%s licenca je potekla. Posodobitve vtičnika so onemogočene."
1150
 
1151
+ #: includes/functions.php:1281
1152
  msgid "Renew license"
1153
  msgstr "Obnovite licenco"
1154
 
1155
  #. translators: %s: Ad Inserter Pro
1156
+ #: includes/functions.php:1289
1157
  msgid "%s license overused. Plugin updates are disabled."
1158
  msgstr ""
1159
  "%s licenca je prekomerno uporabljena. Posodobitve vtičnika so onemogočene."
1160
 
1161
+ #: includes/functions.php:1290
1162
  msgid "Manage licenses"
1163
  msgstr "Upravljajte z licencami"
1164
 
1165
+ #: includes/functions.php:1290
1166
  msgid "Upgrade license"
1167
  msgstr "Nadgradite licenco"
1168
 
1169
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1170
+ #: includes/functions.php:1484
1171
  msgid ""
1172
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1173
  "limited and updates are disabled."
1176
  "so omejene in posodobitve onemogočene."
1177
 
1178
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1179
+ #: includes/functions.php:1493
1180
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1181
  msgstr "%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ."
1182
 
1183
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1184
+ #: includes/functions.php:1509
1185
  msgid ""
1186
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1187
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1191
  "pogrešate. %3$s"
1192
 
1193
  #. translators: 1, 3: HTML tags, 2: percentage
1194
+ #: includes/functions.php:1516
1195
  msgid ""
1196
  "During the license period and 30 days after the license has expired we offer "
1197
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1199
  "V obdobju licence in 30 dni po tem, ko licenca poteče, vam ponujamo %1$s "
1200
  "%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
1201
 
1202
+ #: includes/functions.php:1543
1203
  msgid "Renew the licence"
1204
  msgstr "Obnovi licenco"
1205
 
1206
+ #: includes/functions.php:1545
1207
  msgid "Update license status"
1208
  msgstr "Posodobi status licence"
1209
 
1210
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1211
+ #: includes/functions.php:1556
1212
  msgid ""
1213
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1214
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
1218
  "Nadgradite licenco %7$s"
1219
 
1220
  #. Translators: %s: HTML tag
1221
+ #: includes/functions.php:1578
1222
  msgid "Warning: %s MaxMind IP geolocation database not found."
1223
  msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
1224
 
1225
+ #: includes/functions.php:2116
1226
  msgid "Geolocation"
1227
  msgstr "Geolokacija"
1228
 
1229
+ #: includes/functions.php:2120
1230
  msgid "Exceptions"
1231
  msgstr "Izjeme"
1232
 
1233
+ #: includes/functions.php:2125
1234
  msgid "Multisite"
1235
  msgstr "Multisite"
1236
 
1237
+ #: includes/functions.php:2130
1238
  msgid "Tracking"
1239
  msgstr "Sledenje"
1240
 
1241
  #. translators: %d: days, hours, minutes
1242
+ #: includes/functions.php:2161
1243
  msgid "Scheduled in %d days %d hours %d minutes"
1244
  msgstr "Planirano v %d dneh %d urah %d minutah"
1245
 
1246
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1247
  #. HTML code for long dash separator
1248
+ #: includes/functions.php:2170
1249
  msgid "Active %s expires in %d days %d hours %d minutes"
1250
  msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
1251
 
1252
+ #: includes/functions.php:2174
1253
  msgid "Expired"
1254
  msgstr "Poteklo"
1255
 
1256
+ #: includes/functions.php:2182 settings.php:1277 settings.php:1292
1257
  #: settings.php:1879
1258
  msgid "and"
1259
  msgstr "in"
1260
 
1261
+ #: includes/functions.php:2185
1262
  msgid "fallback"
1263
  msgstr "rezerva"
1264
 
1265
+ #: includes/functions.php:2186
1266
  msgid "Block to be used when scheduling expires"
1267
  msgstr "Blok, ki se bo uporabil, ko urnik poteče"
1268
 
1269
+ #: includes/functions.php:2211
1270
  msgid "Load in iframe"
1271
  msgstr "Naloži v iframe-u"
1272
 
1273
+ #: includes/functions.php:2215 includes/placeholders.php:382
1274
  msgid "Width"
1275
  msgstr "Širina"
1276
 
1277
+ #: includes/functions.php:2216
1278
  msgid "iframe width, empty means full width (100%)"
1279
  msgstr "širina iframe-a, prazno pomeni polna širina (100%)"
1280
 
1281
+ #: includes/functions.php:2222 includes/placeholders.php:377
1282
  msgid "Height"
1283
  msgstr "Višina"
1284
 
1285
+ #: includes/functions.php:2223
1286
  msgid "iframe height, empty means adjust it to iframe content height"
1287
  msgstr ""
1288
  "Višina iframe-a, prazno pomeni poravnavo glede na višino vsebine iframe-a"
1289
 
1290
+ #: includes/functions.php:2230
1291
  msgid "Ad label in iframe"
1292
  msgstr "Oznaka oglasa v iframe-u"
1293
 
1294
+ #: includes/functions.php:2235
1295
  msgid "Preview iframe code"
1296
  msgstr "Predpreglej kodo iframe"
1297
 
1298
+ #: includes/functions.php:2235 includes/preview.php:1964 settings.php:954
1299
  #: settings.php:2551
1300
  msgid "Preview"
1301
  msgstr "Predogled"
1302
 
1303
+ #: includes/functions.php:2249 includes/functions.php:3789
1304
+ #: includes/functions.php:3852 settings.php:2016
1305
  msgid "Ad Blocking"
1306
  msgstr "Blokiranje Oglasov"
1307
 
1308
  #. translators: 1, 2 and 3, 4: HTML tags
1309
+ #: includes/functions.php:2258
1310
  msgid ""
1311
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1312
  "for tracking!"
1316
 
1317
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1318
  #. header
1319
+ #: includes/functions.php:2267
1320
  msgid ""
1321
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1322
  "enabled and automatic insertion %6$s!"
1324
  "%1$s OPOZORILO: %2$s vertikalni položaj %3$s potrebuje %4$s Predpomnjenje "
1325
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1326
 
1327
+ #: includes/functions.php:2285
1328
  msgid "When ad blocking is detected"
1329
  msgstr "Ko je blokiranje oglasov zaznano"
1330
 
1331
+ #: includes/functions.php:2294
1332
  msgid "replacement"
1333
  msgstr "nadomestek"
1334
 
1335
+ #: includes/functions.php:2295
1336
  msgid "Block to be shown when ad blocking is detected"
1337
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1338
 
1339
+ #: includes/functions.php:2296
1340
  msgctxt "replacement"
1341
  msgid "None"
1342
  msgstr "Noben"
1343
 
1344
+ #: includes/functions.php:2313
1345
  msgid "Close button"
1346
  msgstr "Gumb Zapri"
1347
 
1348
+ #: includes/functions.php:2360
1349
  msgid "Lazy loading"
1350
  msgstr "Leno nalaganje"
1351
 
1352
  #. Translators: %s MaxMind
1353
+ #: includes/functions.php:2414
1354
  msgid "This product includes GeoLite2 data created by %s"
1355
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1356
 
1357
+ #: includes/functions.php:2425
1358
  msgid "IP geolocation database"
1359
  msgstr "Podatkovna baza za IP geolokacijo"
1360
 
1361
+ #: includes/functions.php:2428
1362
  msgid "Select IP geolocation database."
1363
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1364
 
1365
+ #: includes/functions.php:2439
1366
  msgid "Automatic database updates"
1367
  msgstr "Samodejna posodobitev podatkovne baze"
1368
 
1369
+ #: includes/functions.php:2442
1370
  msgid ""
1371
  "Automatically download and update free GeoLite2 IP geolocation database by "
1372
  "MaxMind"
1374
  "Samodejno prenesi in posodobi prostodostopno GeoLite2 IP geolokacijsko "
1375
  "podatkovno bazo MaxMind"
1376
 
1377
+ #: includes/functions.php:2450
1378
  msgid "Database"
1379
  msgstr "Podatkovna baza"
1380
 
1381
+ #: includes/functions.php:2453
1382
  msgid ""
1383
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1384
  "file"
1387
  "podatkovne baze"
1388
 
1389
  #. translators: %d: group number
1390
+ #: includes/functions.php:2471
1391
  msgid "Group %d"
1392
  msgstr "Skupina %d"
1393
 
1394
+ #: includes/functions.php:2477
1395
  msgid "countries"
1396
  msgstr "države"
1397
 
1398
+ #: includes/functions.php:2522
1399
  msgid "Enable tracking"
1400
  msgstr "Omogoči sledenje"
1401
 
1402
+ #: includes/functions.php:2529
1403
  msgid "Generate report"
1404
  msgstr "Generiraj poročilo"
1405
 
1406
+ #: includes/functions.php:2537
1407
  msgid "Impression and Click Tracking"
1408
  msgstr "Sledenje Prikazov in Klikov"
1409
 
1410
+ #: includes/functions.php:2553
1411
  msgid "Internal"
1412
  msgstr "Notranje"
1413
 
1414
+ #: includes/functions.php:2557
1415
  msgid "Track impressions and clicks with internal tracking and statistics"
1416
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1417
 
1418
+ #: includes/functions.php:2562
1419
  msgid "External"
1420
  msgstr "Zunanje"
1421
 
1422
+ #: includes/functions.php:2566
1423
  msgid ""
1424
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1425
  "code installed)"
1427
  "Sledi prikazom in klikom z Google Analytics ali Matomo (potrebuje nameščeno "
1428
  "kodo za sledenje)"
1429
 
1430
+ #: includes/functions.php:2571
1431
  msgid "Track Pageviews"
1432
  msgstr "Sledi Ogledom Strani"
1433
 
1434
+ #: includes/functions.php:2577
1435
  msgid "Track Pageviews by Device (as configured for viewports)"
1436
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1437
 
1438
+ #: includes/functions.php:2587
1439
  msgid "Track for Logged in Users"
1440
  msgstr "Sledi za Prijavljene Upor."
1441
 
1442
+ #: includes/functions.php:2593
1443
  msgid "Track impressions and clicks from logged in users"
1444
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1445
 
1446
+ #: includes/functions.php:2603
1447
  msgid "Click Detection"
1448
  msgstr "Zaznavanje klikov"
1449
 
1450
+ #: includes/functions.php:2609
1451
  msgid ""
1452
  "Standard method detects clicks only on banners with links, Advanced method "
1453
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1455
  "Standardni način zazna klike samo na pasicah s povezavami, Napredni način "
1456
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1457
 
1458
+ #: includes/functions.php:2635
1459
  msgid "Report header image"
1460
  msgstr "Slika v glavi poročila"
1461
 
1462
+ #: includes/functions.php:2638
1463
  msgid ""
1464
  "Image or logo to be displayed in the header of the statistins report. "
1465
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
1469
  "ki se začne z '/' ali relativna pot do datoteke slike. Pobrišite za "
1470
  "ponastavitev na privzeto sliko."
1471
 
1472
+ #: includes/functions.php:2639 strings.php:223
1473
  msgid "Select or upload header image"
1474
  msgstr "Izberi ali naloži sliko glave"
1475
 
1476
+ #: includes/functions.php:2644
1477
  msgid "Report header title"
1478
  msgstr "Naslov v glavi poročila"
1479
 
1480
+ #: includes/functions.php:2647
1481
  msgid ""
1482
  "Title to be displayed in the header of the statistics report. Text or HTML "
1483
  "code, clear to reset to default text."
1485
  "Naslov, ki bo prikazan v glavi poročila statistike. Besedilo ali HTML koda, "
1486
  "pobrišite za ponastavitev na privzeto besedilo."
1487
 
1488
+ #: includes/functions.php:2652
1489
  msgid "Report header description"
1490
  msgstr "Opis v glavi poročila"
1491
 
1492
+ #: includes/functions.php:2655
1493
  msgid ""
1494
  "Description to be displayed in the header of the statistics report. Text or "
1495
  "HTML code, clear to reset to default text."
1497
  "Opis, ki bo prikazan v glavi poročila statistike. Besedilo ali HTML koda, "
1498
  "pobrišite za ponastavitev na privzeto besedilo."
1499
 
1500
+ #: includes/functions.php:2660
1501
  msgid "Report footer"
1502
  msgstr "Noga poročila"
1503
 
1504
+ #: includes/functions.php:2663
1505
  msgid ""
1506
  "Text to be displayed in the footer of the statistics report. Clear to reset "
1507
  "to default text."
1509
  "Besedilo, ki bo prikazano v nogi poročila statistike. Besedilo ali HTML "
1510
  "koda, pobrišite za ponastavitev na privzeto besedilo."
1511
 
1512
+ #: includes/functions.php:2668
1513
  msgid "Public report key"
1514
  msgstr "Ključ za javno poročilo"
1515
 
1516
+ #: includes/functions.php:2671
1517
  msgid "String to generate unique report IDs. Clear to reset to default value."
1518
  msgstr ""
1519
  "Niz za ustvaritev unikatnega IDja poročila. Pobrišite za ponastavitev na "
1520
  "privzeto vrednost."
1521
 
1522
+ #: includes/functions.php:2703
1523
  msgid "Are you sure you want to clear all exceptions for block"
1524
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
1525
 
1526
+ #: includes/functions.php:2704 settings.php:1041
1527
  msgid "Clear all exceptions for block"
1528
  msgstr "Pobriši vse izjeme za blok"
1529
 
1530
+ #: includes/functions.php:2711
1531
  msgid "Are you sure you want to clear all exceptions?"
1532
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
1533
 
1534
+ #: includes/functions.php:2711
1535
  msgid "Clear all exceptions for all blocks"
1536
  msgstr "Pobriši vse izjeme za vse bloke"
1537
 
1538
+ #: includes/functions.php:2716 settings.php:3407 settings.php:3745
1539
  msgid "Type"
1540
  msgstr "Vrsta"
1541
 
1542
+ #: includes/functions.php:2734
1543
  msgid "View"
1544
  msgstr "Poglej"
1545
 
1546
+ #: includes/functions.php:2735 includes/placeholders.php:346
1547
  #: includes/preview.php:2271 settings.php:1180
1548
  msgid "Edit"
1549
  msgstr "Uredi"
1550
 
1551
+ #: includes/functions.php:2765
1552
  msgid "Are you sure you want to clear all exceptions for"
1553
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
1554
 
1555
+ #: includes/functions.php:2766
1556
  msgid "Clear all exceptions for"
1557
  msgstr "Pobriši vse izjeme za"
1558
 
1559
+ #: includes/functions.php:2779
1560
  msgid "No exceptions"
1561
  msgstr "Brez izjem"
1562
 
1563
  #. translators: %s: Ad Inserter Pro
1564
+ #: includes/functions.php:2790
1565
  msgid "%s options for network blogs"
1566
  msgstr "%s izbire za omrežne bloge"
1567
 
1568
  #. translators: %s: Ad Inserter Pro
1569
+ #: includes/functions.php:2795
1570
  msgid "Enable %s widgets for sub-sites"
1571
  msgstr "Omogoči %s gradnik za pod-spletišča"
1572
 
1573
+ #: includes/functions.php:2795
1574
  msgid "Widgets"
1575
  msgstr "Gradniki"
1576
 
1577
+ #: includes/functions.php:2800
1578
  msgid "Enable PHP code processing for sub-sites"
1579
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
1580
 
1581
+ #: includes/functions.php:2800
1582
  msgid "PHP Processing"
1583
  msgstr "PHP Procesiranje"
1584
 
1585
  #. translators: %s: Ad Inserter Pro
1586
+ #: includes/functions.php:2805
1587
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1588
  msgstr ""
1589
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
1590
 
1591
+ #: includes/functions.php:2805
1592
  msgid "Post/Page exceptions"
1593
  msgstr "Izjeme prispevkov/strani"
1594
 
1595
  #. translators: %s: Ad Inserter Pro
1596
+ #: includes/functions.php:2810
1597
  msgid "Enable %s settings page for sub-sites"
1598
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
1599
 
1600
+ #: includes/functions.php:2810
1601
  msgid "Settings page"
1602
  msgstr "Stran z nastavitvami"
1603
 
1604
  #. translators: %s: Ad Inserter Pro
1605
+ #: includes/functions.php:2815
1606
  msgid "Enable %s settings of main site to be used for all blogs"
1607
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
1608
 
1609
+ #: includes/functions.php:2815
1610
  msgid "Main site settings used for all blogs"
1611
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
1612
 
1613
+ #: includes/functions.php:2826 settings.php:2438
1614
  msgid "Ad Blocking Detection"
1615
  msgstr "Zaznavanje Blokiranja Oglasov"
1616
 
1617
+ #: includes/functions.php:2832
1618
  msgid ""
1619
  "Standard method is reliable but should be used only if Advanced method does "
1620
  "not work. Advanced method recreates files used for detection with random "
1626
  "imeni in mogoče ne bo deloval s skriptami v upload mapi, če ta ni javno "
1627
  "dostopna"
1628
 
1629
+ #: includes/functions.php:3452 includes/functions.php:3542
1630
+ #: includes/functions.php:3562
1631
  msgid "AD BLOCKING"
1632
  msgstr "BLOKIRANJE OGLASOV"
1633
 
1634
+ #: includes/functions.php:3453 includes/functions.php:3493
1635
+ #: includes/functions.php:3536 includes/functions.php:3563
1636
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1637
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
1638
 
1639
+ #: includes/functions.php:3456 includes/functions.php:3535
1640
+ #: includes/functions.php:3569
1641
  msgid "NO AD BLOCKING"
1642
  msgstr "NI BLOKIRANJA OGLASOV"
1643
 
1644
+ #: includes/functions.php:3492 includes/functions.php:3499
1645
  msgid "AD BLOCKING REPLACEMENT"
1646
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
1647
 
1648
+ #: includes/functions.php:3642 includes/functions.php:3851
1649
  msgid "Pageviews"
1650
  msgstr "Ogledi strani"
1651
 
1652
+ #: includes/functions.php:3788
1653
  msgctxt "Version"
1654
  msgid "Unknown"
1655
  msgstr "Neznana"
1656
 
1657
+ #: includes/functions.php:3788
1658
  msgctxt "Times"
1659
  msgid "DISPLAYED"
1660
  msgstr "PRIKAZANO"
1661
 
1662
+ #: includes/functions.php:3788
1663
  msgid "No version"
1664
  msgstr "Brez različice"
1665
 
1666
+ #: includes/functions.php:3789
1667
  msgctxt "Times"
1668
  msgid "BLOCKED"
1669
  msgstr "BLOKIRANO"
1670
 
1671
+ #: includes/functions.php:3851
1672
  msgid "Impressions"
1673
  msgstr "Prikazi"
1674
 
1675
+ #: includes/functions.php:3852 includes/functions.php:3853
1676
+ #: includes/functions.php:3908
1677
  msgid "Clicks"
1678
  msgstr "Kliki"
1679
 
1680
+ #: includes/functions.php:3853
1681
  msgid "events"
1682
  msgstr "dogodki"
1683
 
1684
+ #: includes/functions.php:3854
1685
  msgid "Ad Blocking Share"
1686
  msgstr "Delež blokiranja oglasov"
1687
 
1688
  #. translators: CTR as Click Through Rate
1689
+ #: includes/functions.php:3854 includes/functions.php:3914
1690
  msgid "CTR"
1691
  msgstr "CTR"
1692
 
1693
+ #: includes/functions.php:3996
1694
  msgid "pageviews"
1695
  msgid_plural "pageviews"
1696
  msgstr[0] "ogled strani"
1698
  msgstr[2] "ogledi strani"
1699
  msgstr[3] "ogledov strani"
1700
 
1701
+ #: includes/functions.php:3996
1702
  msgid "impressions"
1703
  msgid_plural "impressions"
1704
  msgstr[0] "prikaz"
1706
  msgstr[2] "prikazi"
1707
  msgstr[3] "prikazov"
1708
 
1709
+ #: includes/functions.php:4000
1710
  msgid "event"
1711
  msgid_plural "events"
1712
  msgstr[0] "dogodek"
1714
  msgstr[2] "dogodki"
1715
  msgstr[3] "dogodkov"
1716
 
1717
+ #: includes/functions.php:4000
1718
  msgid "click"
1719
  msgid_plural "clicks"
1720
  msgstr[0] "klik"
1722
  msgstr[2] "kliki"
1723
  msgstr[3] "klikov"
1724
 
1725
+ #: includes/functions.php:4095
1726
  msgctxt "Pageviews / Impressions"
1727
  msgid "Average"
1728
  msgstr "Povprečni"
1729
 
1730
+ #: includes/functions.php:4116
1731
  msgctxt "Ad Blocking / Clicks"
1732
  msgid "Average"
1733
  msgstr "Povprečno"
1734
 
1735
+ #: includes/functions.php:4140
1736
  msgctxt "Ad Blocking Share / CTR"
1737
  msgid "Average"
1738
  msgstr "Povprečni"
1739
 
1740
  #. Translators: %s: Ad Inserter Pro
1741
+ #: includes/functions.php:4322
1742
  msgid "%s Report"
1743
  msgstr "%s Poročilo"
1744
 
1745
+ #. translators: for report range description
1746
+ #: includes/functions.php:4413 includes/functions.php:4674 strings.php:178
1747
  msgid "Ad Inserter Pro Report"
1748
  msgstr "Ad Inserter Pro Poročilo"
1749
 
1750
+ #: includes/functions.php:4580
1751
+ msgid "for last month"
1752
+ msgstr "za zadnji mesec"
1753
+
1754
+ #: includes/functions.php:4585
1755
+ msgid "for this month"
1756
+ msgstr "za ta mesec"
1757
+
1758
+ #: includes/functions.php:4590
1759
+ msgid "for this year"
1760
+ msgstr "za to leto"
1761
+
1762
+ #: includes/functions.php:4595
1763
+ msgid "for the last 15 days"
1764
+ msgstr "za zadnjih 15 dni"
1765
+
1766
+ #: includes/functions.php:4600
1767
+ msgid "for the last 30 days"
1768
+ msgstr "za zadnjih 30 dni"
1769
+
1770
+ #: includes/functions.php:4605
1771
+ msgid "for the last 90 days"
1772
+ msgstr "za zadnjih 90 dni"
1773
+
1774
+ #: includes/functions.php:4610
1775
+ msgid "for the last 180 days"
1776
+ msgstr "za zadnjih 180 dni"
1777
+
1778
+ #: includes/functions.php:4615
1779
+ msgid "for the last 365 days"
1780
+ msgstr "za zadnjih 365 dni"
1781
+
1782
  #: includes/placeholders.php:19
1783
  msgid "Custom"
1784
  msgstr "Po meri"
5440
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
5441
  "na optimalna mesta"
5442
 
5443
+ #~ msgid "Open public report with controls"
5444
+ #~ msgstr "Odpri javno poročilo s kontrolami"
5445
+
5446
  #~ msgctxt "code in header or footer"
5447
  #~ msgid "DISABLED"
5448
  #~ msgstr "ONEMOGOČENA"
languages/ad-inserter.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Ad Inserter package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Ad Inserter 2.4.12\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
- "POT-Creation-Date: 2019-04-10 18:20:58+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -140,7 +140,7 @@ msgid_plural "Hey, you are now using %1$s %2$s blocks."
140
  msgstr[0] ""
141
  msgstr[1] ""
142
 
143
- #: ad-inserter.php:2242 includes/functions.php:1521
144
  msgid "No, thank you."
145
  msgstr ""
146
 
@@ -150,7 +150,7 @@ msgid ""
150
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
151
  msgstr ""
152
 
153
- #: ad-inserter.php:2246 includes/functions.php:1524
154
  msgid "Not now, maybe later."
155
  msgstr ""
156
 
@@ -244,7 +244,7 @@ msgid "Enabled"
244
  msgstr ""
245
 
246
  #. translators: Menu items
247
- #: ad-inserter.php:2429 ad-inserter.php:2442 includes/functions.php:2182
248
  #: strings.php:16
249
  msgid "Disabled"
250
  msgstr ""
@@ -519,7 +519,7 @@ msgstr ""
519
  msgid "Unknown block"
520
  msgstr ""
521
 
522
- #: ad-inserter.php:8087 includes/functions.php:2711 settings.php:1038
523
  msgid "Title"
524
  msgstr ""
525
 
@@ -799,433 +799,433 @@ msgstr ""
799
  msgid "Generate PDF report"
800
  msgstr ""
801
 
802
- #: includes/functions.php:468 includes/functions.php:469
803
  msgid "Open public report"
804
  msgstr ""
805
 
806
- #: includes/functions.php:470
807
- msgid "Open public report with controls"
808
- msgstr ""
809
-
810
- #: includes/functions.php:484
811
  msgid "Toggle Ad Blocking Statistics"
812
  msgstr ""
813
 
814
- #: includes/functions.php:492 includes/functions.php:2509
815
  msgid "Toggle Statistics"
816
  msgstr ""
817
 
818
  #. translators: %s: Ad Inserter Pro
819
- #: includes/functions.php:508
820
  msgid "%s license key is not set. Continue?"
821
  msgstr ""
822
 
823
  #. translators: %s: Ad Inserter Pro
824
- #: includes/functions.php:512
825
  msgid "Invalid %s license key. Continue?"
826
  msgstr ""
827
 
828
  #. translators: %s: Ad Inserter Pro
829
- #: includes/functions.php:516
830
  msgid "%s license overused. Continue?"
831
  msgstr ""
832
 
833
- #: includes/functions.php:520 settings.php:1963
834
  msgid "Save Settings"
835
  msgstr ""
836
 
837
- #: includes/functions.php:580 includes/preview.php:2096
838
  msgid "Horizontal position"
839
  msgstr ""
840
 
841
- #: includes/functions.php:603
842
  msgid ""
843
  "Horizontal margin from the content or screen edge, empty means default value "
844
  "from CSS"
845
  msgstr ""
846
 
847
- #: includes/functions.php:611 includes/preview.php:2151
848
  msgid "Vertical position"
849
  msgstr ""
850
 
851
- #: includes/functions.php:626
852
  msgid ""
853
  "Vertical margin from the top or bottom screen edge, empty means default "
854
  "value from CSS"
855
  msgstr ""
856
 
857
- #: includes/functions.php:651 includes/preview.php:2202
858
  msgid "Animation"
859
  msgstr ""
860
 
861
- #: includes/functions.php:669
862
  msgid "Trigger"
863
  msgstr ""
864
 
865
- #: includes/functions.php:678
866
  msgid ""
867
  "Trigger value: page scroll in %, page scroll in px or element with selector "
868
  "(#id or .class) becomes visible"
869
  msgstr ""
870
 
871
- #: includes/functions.php:682
872
  msgid "Offset"
873
  msgstr ""
874
 
875
- #: includes/functions.php:682
876
  msgid "Offset of trigger element"
877
  msgstr ""
878
 
879
- #: includes/functions.php:686
880
  msgid "Delay"
881
  msgstr ""
882
 
883
- #: includes/functions.php:686
884
  msgid "Delay animation after trigger condition"
885
  msgstr ""
886
 
887
- #: includes/functions.php:690
888
  msgid "Trigger once"
889
  msgstr ""
890
 
891
- #: includes/functions.php:692
892
  msgid "Trigger animation only once"
893
  msgstr ""
894
 
895
- #: includes/functions.php:731
896
  msgid "Tracking is globally disabled"
897
  msgstr ""
898
 
899
- #: includes/functions.php:735
900
  msgid "Tracking for this block is disabled"
901
  msgstr ""
902
 
903
- #: includes/functions.php:745 settings.php:3169 settings.php:3205
 
 
 
 
904
  #: settings.php:3248 strings.php:211
905
  msgid "Loading..."
906
  msgstr ""
907
 
908
- #: includes/functions.php:761
909
  msgid ""
910
  "Clear statistics data for the selected range - clear both dates to delete "
911
  "all data for this block"
912
  msgstr ""
913
 
914
- #: includes/functions.php:765
915
  msgid "Auto refresh data for the selected range every 60 seconds"
916
  msgstr ""
917
 
918
- #: includes/functions.php:768 includes/functions.php:4681
919
  msgid "Load data for last month"
920
  msgstr ""
921
 
922
- #: includes/functions.php:768 includes/functions.php:4681
923
  msgid "Last Month"
924
  msgstr ""
925
 
926
- #: includes/functions.php:771 includes/functions.php:4684
927
  msgid "Load data for this month"
928
  msgstr ""
929
 
930
- #: includes/functions.php:771 includes/functions.php:4684
931
  msgid "This Month"
932
  msgstr ""
933
 
934
- #: includes/functions.php:774 includes/functions.php:4687
935
  msgid "Load data for this year"
936
  msgstr ""
937
 
938
- #: includes/functions.php:774 includes/functions.php:4687
939
  msgid "This Year"
940
  msgstr ""
941
 
942
- #: includes/functions.php:777 includes/functions.php:4690
943
  msgid "Load data for the last 15 days"
944
  msgstr ""
945
 
946
- #: includes/functions.php:780 includes/functions.php:4693
947
  msgid "Load data for the last 30 days"
948
  msgstr ""
949
 
950
- #: includes/functions.php:783 includes/functions.php:4696
951
  msgid "Load data for the last 90 days"
952
  msgstr ""
953
 
954
- #: includes/functions.php:786 includes/functions.php:4699
955
  msgid "Load data for the last 180 days"
956
  msgstr ""
957
 
958
- #: includes/functions.php:789 includes/functions.php:4702
959
  msgid "Load data for the last 365 days"
960
  msgstr ""
961
 
962
- #: includes/functions.php:799 includes/functions.php:4712
963
  msgid "Load data for the selected range"
964
  msgstr ""
965
 
966
- #: includes/functions.php:815
967
  msgid ""
968
  "Import settings when saving - if checked, the encoded settings below will be "
969
  "imported for this block"
970
  msgstr ""
971
 
972
- #: includes/functions.php:815
973
  msgid "Import settings for block"
974
  msgstr ""
975
 
976
- #: includes/functions.php:819
977
  msgid ""
978
  "Import block name when saving - if checked and 'Import settings for block' "
979
  "is also checked, the name from encoded settings below will be imported for "
980
  "this block"
981
  msgstr ""
982
 
983
- #: includes/functions.php:819
984
  msgid "Import block name"
985
  msgstr ""
986
 
987
- #: includes/functions.php:823
988
  msgid "Saved settings for block"
989
  msgstr ""
990
 
991
- #: includes/functions.php:836
992
  msgid "Export / Import Ad Inserter Pro Settings"
993
  msgstr ""
994
 
995
- #: includes/functions.php:846
996
  msgid "Are you sure you want to clear all statistics data for all blocks?"
997
  msgstr ""
998
 
999
- #: includes/functions.php:848
1000
  msgid "Clear All Statistics Data"
1001
  msgstr ""
1002
 
1003
- #: includes/functions.php:875
1004
  msgid "Toggle country/city editor"
1005
  msgstr ""
1006
 
1007
- #: includes/functions.php:881
1008
  msgid "IP Addresses"
1009
  msgstr ""
1010
 
1011
- #: includes/functions.php:884
1012
  msgid "Toggle IP address editor"
1013
  msgstr ""
1014
 
1015
- #: includes/functions.php:887
1016
  msgid ""
1017
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1018
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1019
  msgstr ""
1020
 
1021
- #: includes/functions.php:891
1022
  msgid "Blacklist IP addresses"
1023
  msgstr ""
1024
 
1025
- #: includes/functions.php:895
1026
  msgid "Whitelist IP addresses"
1027
  msgstr ""
1028
 
1029
- #: includes/functions.php:906
1030
  msgid "Countries"
1031
  msgstr ""
1032
 
1033
- #: includes/functions.php:907
1034
  msgid "Cities"
1035
  msgstr ""
1036
 
1037
- #: includes/functions.php:911 includes/functions.php:2474
1038
  msgid "Toggle country editor"
1039
  msgstr ""
1040
 
1041
- #: includes/functions.php:914
1042
  msgid "Toggle city editor"
1043
  msgstr ""
1044
 
1045
- #: includes/functions.php:918 includes/functions.php:2477
1046
  msgid "Comma separated country ISO Alpha-2 codes"
1047
  msgstr ""
1048
 
1049
- #: includes/functions.php:922
1050
  msgid "Blacklist countries"
1051
  msgstr ""
1052
 
1053
- #: includes/functions.php:926
1054
  msgid "Whitelist countries"
1055
  msgstr ""
1056
 
1057
- #: includes/functions.php:1242 includes/functions.php:1477
1058
  msgid "Enter license key"
1059
  msgstr ""
1060
 
1061
  #. translators: %s: Ad Inserter Pro
1062
- #: includes/functions.php:1248
1063
  msgid ""
1064
  "%s license key is not set. Plugin functionality is limited and updates are "
1065
  "disabled."
1066
  msgstr ""
1067
 
1068
- #: includes/functions.php:1260 includes/functions.php:1486
1069
  msgid "Check license key"
1070
  msgstr ""
1071
 
1072
  #. translators: %s: Ad Inserter Pro
1073
- #: includes/functions.php:1266
1074
  msgid "Invalid %s license key."
1075
  msgstr ""
1076
 
1077
  #. translators: %s: Ad Inserter Pro
1078
- #: includes/functions.php:1275
1079
  msgid "%s license expired. Plugin updates are disabled."
1080
  msgstr ""
1081
 
1082
- #: includes/functions.php:1276
1083
  msgid "Renew license"
1084
  msgstr ""
1085
 
1086
  #. translators: %s: Ad Inserter Pro
1087
- #: includes/functions.php:1284
1088
  msgid "%s license overused. Plugin updates are disabled."
1089
  msgstr ""
1090
 
1091
- #: includes/functions.php:1285
1092
  msgid "Manage licenses"
1093
  msgstr ""
1094
 
1095
- #: includes/functions.php:1285
1096
  msgid "Upgrade license"
1097
  msgstr ""
1098
 
1099
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1100
- #: includes/functions.php:1479
1101
  msgid ""
1102
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1103
  "limited and updates are disabled."
1104
  msgstr ""
1105
 
1106
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1107
- #: includes/functions.php:1488
1108
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1109
  msgstr ""
1110
 
1111
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1112
- #: includes/functions.php:1504
1113
  msgid ""
1114
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1115
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1116
  msgstr ""
1117
 
1118
  #. translators: 1, 3: HTML tags, 2: percentage
1119
- #: includes/functions.php:1511
1120
  msgid ""
1121
  "During the license period and 30 days after the license has expired we offer "
1122
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1123
  msgstr ""
1124
 
1125
- #: includes/functions.php:1538
1126
  msgid "Renew the licence"
1127
  msgstr ""
1128
 
1129
- #: includes/functions.php:1540
1130
  msgid "Update license status"
1131
  msgstr ""
1132
 
1133
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1134
- #: includes/functions.php:1551
1135
  msgid ""
1136
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1137
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
1138
  msgstr ""
1139
 
1140
  #. Translators: %s: HTML tag
1141
- #: includes/functions.php:1573
1142
  msgid "Warning: %s MaxMind IP geolocation database not found."
1143
  msgstr ""
1144
 
1145
- #: includes/functions.php:2111
1146
  msgid "Geolocation"
1147
  msgstr ""
1148
 
1149
- #: includes/functions.php:2115
1150
  msgid "Exceptions"
1151
  msgstr ""
1152
 
1153
- #: includes/functions.php:2120
1154
  msgid "Multisite"
1155
  msgstr ""
1156
 
1157
- #: includes/functions.php:2125
1158
  msgid "Tracking"
1159
  msgstr ""
1160
 
1161
  #. translators: %d: days, hours, minutes
1162
- #: includes/functions.php:2156
1163
  msgid "Scheduled in %d days %d hours %d minutes"
1164
  msgstr ""
1165
 
1166
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1167
  #. HTML code for long dash separator
1168
- #: includes/functions.php:2165
1169
  msgid "Active %s expires in %d days %d hours %d minutes"
1170
  msgstr ""
1171
 
1172
- #: includes/functions.php:2169
1173
  msgid "Expired"
1174
  msgstr ""
1175
 
1176
- #: includes/functions.php:2177 settings.php:1277 settings.php:1292
1177
  #: settings.php:1879
1178
  msgid "and"
1179
  msgstr ""
1180
 
1181
- #: includes/functions.php:2180
1182
  msgid "fallback"
1183
  msgstr ""
1184
 
1185
- #: includes/functions.php:2181
1186
  msgid "Block to be used when scheduling expires"
1187
  msgstr ""
1188
 
1189
- #: includes/functions.php:2206
1190
  msgid "Load in iframe"
1191
  msgstr ""
1192
 
1193
- #: includes/functions.php:2210 includes/placeholders.php:382
1194
  msgid "Width"
1195
  msgstr ""
1196
 
1197
- #: includes/functions.php:2211
1198
  msgid "iframe width, empty means full width (100%)"
1199
  msgstr ""
1200
 
1201
- #: includes/functions.php:2217 includes/placeholders.php:377
1202
  msgid "Height"
1203
  msgstr ""
1204
 
1205
- #: includes/functions.php:2218
1206
  msgid "iframe height, empty means adjust it to iframe content height"
1207
  msgstr ""
1208
 
1209
- #: includes/functions.php:2225
1210
  msgid "Ad label in iframe"
1211
  msgstr ""
1212
 
1213
- #: includes/functions.php:2230
1214
  msgid "Preview iframe code"
1215
  msgstr ""
1216
 
1217
- #: includes/functions.php:2230 includes/preview.php:1964 settings.php:954
1218
  #: settings.php:2551
1219
  msgid "Preview"
1220
  msgstr ""
1221
 
1222
- #: includes/functions.php:2244 includes/functions.php:3784
1223
- #: includes/functions.php:3847 settings.php:2016
1224
  msgid "Ad Blocking"
1225
  msgstr ""
1226
 
1227
  #. translators: 1, 2 and 3, 4: HTML tags
1228
- #: includes/functions.php:2253
1229
  msgid ""
1230
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1231
  "for tracking!"
@@ -1233,283 +1233,283 @@ msgstr ""
1233
 
1234
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1235
  #. header
1236
- #: includes/functions.php:2262
1237
  msgid ""
1238
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1239
  "enabled and automatic insertion %6$s!"
1240
  msgstr ""
1241
 
1242
- #: includes/functions.php:2280
1243
  msgid "When ad blocking is detected"
1244
  msgstr ""
1245
 
1246
- #: includes/functions.php:2289
1247
  msgid "replacement"
1248
  msgstr ""
1249
 
1250
- #: includes/functions.php:2290
1251
  msgid "Block to be shown when ad blocking is detected"
1252
  msgstr ""
1253
 
1254
- #: includes/functions.php:2291
1255
  msgctxt "replacement"
1256
  msgid "None"
1257
  msgstr ""
1258
 
1259
- #: includes/functions.php:2308
1260
  msgid "Close button"
1261
  msgstr ""
1262
 
1263
- #: includes/functions.php:2355
1264
  msgid "Lazy loading"
1265
  msgstr ""
1266
 
1267
  #. Translators: %s MaxMind
1268
- #: includes/functions.php:2409
1269
  msgid "This product includes GeoLite2 data created by %s"
1270
  msgstr ""
1271
 
1272
- #: includes/functions.php:2420
1273
  msgid "IP geolocation database"
1274
  msgstr ""
1275
 
1276
- #: includes/functions.php:2423
1277
  msgid "Select IP geolocation database."
1278
  msgstr ""
1279
 
1280
- #: includes/functions.php:2434
1281
  msgid "Automatic database updates"
1282
  msgstr ""
1283
 
1284
- #: includes/functions.php:2437
1285
  msgid ""
1286
  "Automatically download and update free GeoLite2 IP geolocation database by "
1287
  "MaxMind"
1288
  msgstr ""
1289
 
1290
- #: includes/functions.php:2445
1291
  msgid "Database"
1292
  msgstr ""
1293
 
1294
- #: includes/functions.php:2448
1295
  msgid ""
1296
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1297
  "file"
1298
  msgstr ""
1299
 
1300
  #. translators: %d: group number
1301
- #: includes/functions.php:2466
1302
  msgid "Group %d"
1303
  msgstr ""
1304
 
1305
- #: includes/functions.php:2472
1306
  msgid "countries"
1307
  msgstr ""
1308
 
1309
- #: includes/functions.php:2517
1310
  msgid "Enable tracking"
1311
  msgstr ""
1312
 
1313
- #: includes/functions.php:2524
1314
  msgid "Generate report"
1315
  msgstr ""
1316
 
1317
- #: includes/functions.php:2532
1318
  msgid "Impression and Click Tracking"
1319
  msgstr ""
1320
 
1321
- #: includes/functions.php:2548
1322
  msgid "Internal"
1323
  msgstr ""
1324
 
1325
- #: includes/functions.php:2552
1326
  msgid "Track impressions and clicks with internal tracking and statistics"
1327
  msgstr ""
1328
 
1329
- #: includes/functions.php:2557
1330
  msgid "External"
1331
  msgstr ""
1332
 
1333
- #: includes/functions.php:2561
1334
  msgid ""
1335
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1336
  "code installed)"
1337
  msgstr ""
1338
 
1339
- #: includes/functions.php:2566
1340
  msgid "Track Pageviews"
1341
  msgstr ""
1342
 
1343
- #: includes/functions.php:2572
1344
  msgid "Track Pageviews by Device (as configured for viewports)"
1345
  msgstr ""
1346
 
1347
- #: includes/functions.php:2582
1348
  msgid "Track for Logged in Users"
1349
  msgstr ""
1350
 
1351
- #: includes/functions.php:2588
1352
  msgid "Track impressions and clicks from logged in users"
1353
  msgstr ""
1354
 
1355
- #: includes/functions.php:2598
1356
  msgid "Click Detection"
1357
  msgstr ""
1358
 
1359
- #: includes/functions.php:2604
1360
  msgid ""
1361
  "Standard method detects clicks only on banners with links, Advanced method "
1362
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1363
  msgstr ""
1364
 
1365
- #: includes/functions.php:2630
1366
  msgid "Report header image"
1367
  msgstr ""
1368
 
1369
- #: includes/functions.php:2633
1370
  msgid ""
1371
  "Image or logo to be displayed in the header of the statistins report. "
1372
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
1373
  "to reset to default image."
1374
  msgstr ""
1375
 
1376
- #: includes/functions.php:2634 strings.php:223
1377
  msgid "Select or upload header image"
1378
  msgstr ""
1379
 
1380
- #: includes/functions.php:2639
1381
  msgid "Report header title"
1382
  msgstr ""
1383
 
1384
- #: includes/functions.php:2642
1385
  msgid ""
1386
  "Title to be displayed in the header of the statistics report. Text or HTML "
1387
  "code, clear to reset to default text."
1388
  msgstr ""
1389
 
1390
- #: includes/functions.php:2647
1391
  msgid "Report header description"
1392
  msgstr ""
1393
 
1394
- #: includes/functions.php:2650
1395
  msgid ""
1396
  "Description to be displayed in the header of the statistics report. Text or "
1397
  "HTML code, clear to reset to default text."
1398
  msgstr ""
1399
 
1400
- #: includes/functions.php:2655
1401
  msgid "Report footer"
1402
  msgstr ""
1403
 
1404
- #: includes/functions.php:2658
1405
  msgid ""
1406
  "Text to be displayed in the footer of the statistics report. Clear to reset "
1407
  "to default text."
1408
  msgstr ""
1409
 
1410
- #: includes/functions.php:2663
1411
  msgid "Public report key"
1412
  msgstr ""
1413
 
1414
- #: includes/functions.php:2666
1415
  msgid "String to generate unique report IDs. Clear to reset to default value."
1416
  msgstr ""
1417
 
1418
- #: includes/functions.php:2698
1419
  msgid "Are you sure you want to clear all exceptions for block"
1420
  msgstr ""
1421
 
1422
- #: includes/functions.php:2699 settings.php:1041
1423
  msgid "Clear all exceptions for block"
1424
  msgstr ""
1425
 
1426
- #: includes/functions.php:2706
1427
  msgid "Are you sure you want to clear all exceptions?"
1428
  msgstr ""
1429
 
1430
- #: includes/functions.php:2706
1431
  msgid "Clear all exceptions for all blocks"
1432
  msgstr ""
1433
 
1434
- #: includes/functions.php:2711 settings.php:3407 settings.php:3745
1435
  msgid "Type"
1436
  msgstr ""
1437
 
1438
- #: includes/functions.php:2729
1439
  msgid "View"
1440
  msgstr ""
1441
 
1442
- #: includes/functions.php:2730 includes/placeholders.php:346
1443
  #: includes/preview.php:2271 settings.php:1180
1444
  msgid "Edit"
1445
  msgstr ""
1446
 
1447
- #: includes/functions.php:2760
1448
  msgid "Are you sure you want to clear all exceptions for"
1449
  msgstr ""
1450
 
1451
- #: includes/functions.php:2761
1452
  msgid "Clear all exceptions for"
1453
  msgstr ""
1454
 
1455
- #: includes/functions.php:2774
1456
  msgid "No exceptions"
1457
  msgstr ""
1458
 
1459
  #. translators: %s: Ad Inserter Pro
1460
- #: includes/functions.php:2785
1461
  msgid "%s options for network blogs"
1462
  msgstr ""
1463
 
1464
  #. translators: %s: Ad Inserter Pro
1465
- #: includes/functions.php:2790
1466
  msgid "Enable %s widgets for sub-sites"
1467
  msgstr ""
1468
 
1469
- #: includes/functions.php:2790
1470
  msgid "Widgets"
1471
  msgstr ""
1472
 
1473
- #: includes/functions.php:2795
1474
  msgid "Enable PHP code processing for sub-sites"
1475
  msgstr ""
1476
 
1477
- #: includes/functions.php:2795
1478
  msgid "PHP Processing"
1479
  msgstr ""
1480
 
1481
  #. translators: %s: Ad Inserter Pro
1482
- #: includes/functions.php:2800
1483
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1484
  msgstr ""
1485
 
1486
- #: includes/functions.php:2800
1487
  msgid "Post/Page exceptions"
1488
  msgstr ""
1489
 
1490
  #. translators: %s: Ad Inserter Pro
1491
- #: includes/functions.php:2805
1492
  msgid "Enable %s settings page for sub-sites"
1493
  msgstr ""
1494
 
1495
- #: includes/functions.php:2805
1496
  msgid "Settings page"
1497
  msgstr ""
1498
 
1499
  #. translators: %s: Ad Inserter Pro
1500
- #: includes/functions.php:2810
1501
  msgid "Enable %s settings of main site to be used for all blogs"
1502
  msgstr ""
1503
 
1504
- #: includes/functions.php:2810
1505
  msgid "Main site settings used for all blogs"
1506
  msgstr ""
1507
 
1508
- #: includes/functions.php:2821 settings.php:2438
1509
  msgid "Ad Blocking Detection"
1510
  msgstr ""
1511
 
1512
- #: includes/functions.php:2827
1513
  msgid ""
1514
  "Standard method is reliable but should be used only if Advanced method does "
1515
  "not work. Advanced method recreates files used for detection with random "
@@ -1517,118 +1517,151 @@ msgid ""
1517
  "publicly accessible"
1518
  msgstr ""
1519
 
1520
- #: includes/functions.php:3447 includes/functions.php:3537
1521
- #: includes/functions.php:3557
1522
  msgid "AD BLOCKING"
1523
  msgstr ""
1524
 
1525
- #: includes/functions.php:3448 includes/functions.php:3488
1526
- #: includes/functions.php:3531 includes/functions.php:3558
1527
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1528
  msgstr ""
1529
 
1530
- #: includes/functions.php:3451 includes/functions.php:3530
1531
- #: includes/functions.php:3564
1532
  msgid "NO AD BLOCKING"
1533
  msgstr ""
1534
 
1535
- #: includes/functions.php:3487 includes/functions.php:3494
1536
  msgid "AD BLOCKING REPLACEMENT"
1537
  msgstr ""
1538
 
1539
- #: includes/functions.php:3637 includes/functions.php:3846
1540
  msgid "Pageviews"
1541
  msgstr ""
1542
 
1543
- #: includes/functions.php:3783
1544
  msgctxt "Version"
1545
  msgid "Unknown"
1546
  msgstr ""
1547
 
1548
- #: includes/functions.php:3783
1549
  msgctxt "Times"
1550
  msgid "DISPLAYED"
1551
  msgstr ""
1552
 
1553
- #: includes/functions.php:3783
1554
  msgid "No version"
1555
  msgstr ""
1556
 
1557
- #: includes/functions.php:3784
1558
  msgctxt "Times"
1559
  msgid "BLOCKED"
1560
  msgstr ""
1561
 
1562
- #: includes/functions.php:3846
1563
  msgid "Impressions"
1564
  msgstr ""
1565
 
1566
- #: includes/functions.php:3847 includes/functions.php:3848
1567
- #: includes/functions.php:3909
1568
  msgid "Clicks"
1569
  msgstr ""
1570
 
1571
- #: includes/functions.php:3848
1572
  msgid "events"
1573
  msgstr ""
1574
 
1575
- #: includes/functions.php:3849
1576
  msgid "Ad Blocking Share"
1577
  msgstr ""
1578
 
1579
  #. translators: CTR as Click Through Rate
1580
- #: includes/functions.php:3849 includes/functions.php:3915
1581
  msgid "CTR"
1582
  msgstr ""
1583
 
1584
- #: includes/functions.php:3997
1585
  msgid "pageviews"
1586
  msgid_plural "pageviews"
1587
  msgstr[0] ""
1588
  msgstr[1] ""
1589
 
1590
- #: includes/functions.php:3997
1591
  msgid "impressions"
1592
  msgid_plural "impressions"
1593
  msgstr[0] ""
1594
  msgstr[1] ""
1595
 
1596
- #: includes/functions.php:4001
1597
  msgid "event"
1598
  msgid_plural "events"
1599
  msgstr[0] ""
1600
  msgstr[1] ""
1601
 
1602
- #: includes/functions.php:4001
1603
  msgid "click"
1604
  msgid_plural "clicks"
1605
  msgstr[0] ""
1606
  msgstr[1] ""
1607
 
1608
- #: includes/functions.php:4096
1609
  msgctxt "Pageviews / Impressions"
1610
  msgid "Average"
1611
  msgstr ""
1612
 
1613
- #: includes/functions.php:4117
1614
  msgctxt "Ad Blocking / Clicks"
1615
  msgid "Average"
1616
  msgstr ""
1617
 
1618
- #: includes/functions.php:4141
1619
  msgctxt "Ad Blocking Share / CTR"
1620
  msgid "Average"
1621
  msgstr ""
1622
 
1623
  #. Translators: %s: Ad Inserter Pro
1624
- #: includes/functions.php:4323
1625
  msgid "%s Report"
1626
  msgstr ""
1627
 
1628
- #: includes/functions.php:4414 includes/functions.php:4626 strings.php:178
 
1629
  msgid "Ad Inserter Pro Report"
1630
  msgstr ""
1631
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1632
  #: includes/placeholders.php:19
1633
  msgid "Custom"
1634
  msgstr ""
2
  # This file is distributed under the same license as the Ad Inserter package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Ad Inserter 2.4.13\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
+ "POT-Creation-Date: 2019-04-13 09:21:04+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
140
  msgstr[0] ""
141
  msgstr[1] ""
142
 
143
+ #: ad-inserter.php:2242 includes/functions.php:1526
144
  msgid "No, thank you."
145
  msgstr ""
146
 
150
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
151
  msgstr ""
152
 
153
+ #: ad-inserter.php:2246 includes/functions.php:1529
154
  msgid "Not now, maybe later."
155
  msgstr ""
156
 
244
  msgstr ""
245
 
246
  #. translators: Menu items
247
+ #: ad-inserter.php:2429 ad-inserter.php:2442 includes/functions.php:2187
248
  #: strings.php:16
249
  msgid "Disabled"
250
  msgstr ""
519
  msgid "Unknown block"
520
  msgstr ""
521
 
522
+ #: ad-inserter.php:8087 includes/functions.php:2716 settings.php:1038
523
  msgid "Title"
524
  msgstr ""
525
 
799
  msgid "Generate PDF report"
800
  msgstr ""
801
 
802
+ #: includes/functions.php:468
803
  msgid "Open public report"
804
  msgstr ""
805
 
806
+ #: includes/functions.php:482
 
 
 
 
807
  msgid "Toggle Ad Blocking Statistics"
808
  msgstr ""
809
 
810
+ #: includes/functions.php:490 includes/functions.php:2514
811
  msgid "Toggle Statistics"
812
  msgstr ""
813
 
814
  #. translators: %s: Ad Inserter Pro
815
+ #: includes/functions.php:506
816
  msgid "%s license key is not set. Continue?"
817
  msgstr ""
818
 
819
  #. translators: %s: Ad Inserter Pro
820
+ #: includes/functions.php:510
821
  msgid "Invalid %s license key. Continue?"
822
  msgstr ""
823
 
824
  #. translators: %s: Ad Inserter Pro
825
+ #: includes/functions.php:514
826
  msgid "%s license overused. Continue?"
827
  msgstr ""
828
 
829
+ #: includes/functions.php:518 settings.php:1963
830
  msgid "Save Settings"
831
  msgstr ""
832
 
833
+ #: includes/functions.php:578 includes/preview.php:2096
834
  msgid "Horizontal position"
835
  msgstr ""
836
 
837
+ #: includes/functions.php:601
838
  msgid ""
839
  "Horizontal margin from the content or screen edge, empty means default value "
840
  "from CSS"
841
  msgstr ""
842
 
843
+ #: includes/functions.php:609 includes/preview.php:2151
844
  msgid "Vertical position"
845
  msgstr ""
846
 
847
+ #: includes/functions.php:624
848
  msgid ""
849
  "Vertical margin from the top or bottom screen edge, empty means default "
850
  "value from CSS"
851
  msgstr ""
852
 
853
+ #: includes/functions.php:649 includes/preview.php:2202
854
  msgid "Animation"
855
  msgstr ""
856
 
857
+ #: includes/functions.php:667
858
  msgid "Trigger"
859
  msgstr ""
860
 
861
+ #: includes/functions.php:676
862
  msgid ""
863
  "Trigger value: page scroll in %, page scroll in px or element with selector "
864
  "(#id or .class) becomes visible"
865
  msgstr ""
866
 
867
+ #: includes/functions.php:680
868
  msgid "Offset"
869
  msgstr ""
870
 
871
+ #: includes/functions.php:680
872
  msgid "Offset of trigger element"
873
  msgstr ""
874
 
875
+ #: includes/functions.php:684
876
  msgid "Delay"
877
  msgstr ""
878
 
879
+ #: includes/functions.php:684
880
  msgid "Delay animation after trigger condition"
881
  msgstr ""
882
 
883
+ #: includes/functions.php:688
884
  msgid "Trigger once"
885
  msgstr ""
886
 
887
+ #: includes/functions.php:690
888
  msgid "Trigger animation only once"
889
  msgstr ""
890
 
891
+ #: includes/functions.php:732
892
  msgid "Tracking is globally disabled"
893
  msgstr ""
894
 
895
+ #: includes/functions.php:736
896
  msgid "Tracking for this block is disabled"
897
  msgstr ""
898
 
899
+ #: includes/functions.php:743
900
+ msgid "Double click to toggle controls in public reports"
901
+ msgstr ""
902
+
903
+ #: includes/functions.php:749 settings.php:3169 settings.php:3205
904
  #: settings.php:3248 strings.php:211
905
  msgid "Loading..."
906
  msgstr ""
907
 
908
+ #: includes/functions.php:766
909
  msgid ""
910
  "Clear statistics data for the selected range - clear both dates to delete "
911
  "all data for this block"
912
  msgstr ""
913
 
914
+ #: includes/functions.php:770
915
  msgid "Auto refresh data for the selected range every 60 seconds"
916
  msgstr ""
917
 
918
+ #: includes/functions.php:773 includes/functions.php:4729
919
  msgid "Load data for last month"
920
  msgstr ""
921
 
922
+ #: includes/functions.php:773 includes/functions.php:4729
923
  msgid "Last Month"
924
  msgstr ""
925
 
926
+ #: includes/functions.php:776 includes/functions.php:4732
927
  msgid "Load data for this month"
928
  msgstr ""
929
 
930
+ #: includes/functions.php:776 includes/functions.php:4732
931
  msgid "This Month"
932
  msgstr ""
933
 
934
+ #: includes/functions.php:779 includes/functions.php:4735
935
  msgid "Load data for this year"
936
  msgstr ""
937
 
938
+ #: includes/functions.php:779 includes/functions.php:4735
939
  msgid "This Year"
940
  msgstr ""
941
 
942
+ #: includes/functions.php:782 includes/functions.php:4738
943
  msgid "Load data for the last 15 days"
944
  msgstr ""
945
 
946
+ #: includes/functions.php:785 includes/functions.php:4741
947
  msgid "Load data for the last 30 days"
948
  msgstr ""
949
 
950
+ #: includes/functions.php:788 includes/functions.php:4744
951
  msgid "Load data for the last 90 days"
952
  msgstr ""
953
 
954
+ #: includes/functions.php:791 includes/functions.php:4747
955
  msgid "Load data for the last 180 days"
956
  msgstr ""
957
 
958
+ #: includes/functions.php:794 includes/functions.php:4750
959
  msgid "Load data for the last 365 days"
960
  msgstr ""
961
 
962
+ #: includes/functions.php:804 includes/functions.php:4760
963
  msgid "Load data for the selected range"
964
  msgstr ""
965
 
966
+ #: includes/functions.php:820
967
  msgid ""
968
  "Import settings when saving - if checked, the encoded settings below will be "
969
  "imported for this block"
970
  msgstr ""
971
 
972
+ #: includes/functions.php:820
973
  msgid "Import settings for block"
974
  msgstr ""
975
 
976
+ #: includes/functions.php:824
977
  msgid ""
978
  "Import block name when saving - if checked and 'Import settings for block' "
979
  "is also checked, the name from encoded settings below will be imported for "
980
  "this block"
981
  msgstr ""
982
 
983
+ #: includes/functions.php:824
984
  msgid "Import block name"
985
  msgstr ""
986
 
987
+ #: includes/functions.php:828
988
  msgid "Saved settings for block"
989
  msgstr ""
990
 
991
+ #: includes/functions.php:841
992
  msgid "Export / Import Ad Inserter Pro Settings"
993
  msgstr ""
994
 
995
+ #: includes/functions.php:851
996
  msgid "Are you sure you want to clear all statistics data for all blocks?"
997
  msgstr ""
998
 
999
+ #: includes/functions.php:853
1000
  msgid "Clear All Statistics Data"
1001
  msgstr ""
1002
 
1003
+ #: includes/functions.php:880
1004
  msgid "Toggle country/city editor"
1005
  msgstr ""
1006
 
1007
+ #: includes/functions.php:886
1008
  msgid "IP Addresses"
1009
  msgstr ""
1010
 
1011
+ #: includes/functions.php:889
1012
  msgid "Toggle IP address editor"
1013
  msgstr ""
1014
 
1015
+ #: includes/functions.php:892
1016
  msgid ""
1017
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1018
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1019
  msgstr ""
1020
 
1021
+ #: includes/functions.php:896
1022
  msgid "Blacklist IP addresses"
1023
  msgstr ""
1024
 
1025
+ #: includes/functions.php:900
1026
  msgid "Whitelist IP addresses"
1027
  msgstr ""
1028
 
1029
+ #: includes/functions.php:911
1030
  msgid "Countries"
1031
  msgstr ""
1032
 
1033
+ #: includes/functions.php:912
1034
  msgid "Cities"
1035
  msgstr ""
1036
 
1037
+ #: includes/functions.php:916 includes/functions.php:2479
1038
  msgid "Toggle country editor"
1039
  msgstr ""
1040
 
1041
+ #: includes/functions.php:919
1042
  msgid "Toggle city editor"
1043
  msgstr ""
1044
 
1045
+ #: includes/functions.php:923 includes/functions.php:2482
1046
  msgid "Comma separated country ISO Alpha-2 codes"
1047
  msgstr ""
1048
 
1049
+ #: includes/functions.php:927
1050
  msgid "Blacklist countries"
1051
  msgstr ""
1052
 
1053
+ #: includes/functions.php:931
1054
  msgid "Whitelist countries"
1055
  msgstr ""
1056
 
1057
+ #: includes/functions.php:1247 includes/functions.php:1482
1058
  msgid "Enter license key"
1059
  msgstr ""
1060
 
1061
  #. translators: %s: Ad Inserter Pro
1062
+ #: includes/functions.php:1253
1063
  msgid ""
1064
  "%s license key is not set. Plugin functionality is limited and updates are "
1065
  "disabled."
1066
  msgstr ""
1067
 
1068
+ #: includes/functions.php:1265 includes/functions.php:1491
1069
  msgid "Check license key"
1070
  msgstr ""
1071
 
1072
  #. translators: %s: Ad Inserter Pro
1073
+ #: includes/functions.php:1271
1074
  msgid "Invalid %s license key."
1075
  msgstr ""
1076
 
1077
  #. translators: %s: Ad Inserter Pro
1078
+ #: includes/functions.php:1280
1079
  msgid "%s license expired. Plugin updates are disabled."
1080
  msgstr ""
1081
 
1082
+ #: includes/functions.php:1281
1083
  msgid "Renew license"
1084
  msgstr ""
1085
 
1086
  #. translators: %s: Ad Inserter Pro
1087
+ #: includes/functions.php:1289
1088
  msgid "%s license overused. Plugin updates are disabled."
1089
  msgstr ""
1090
 
1091
+ #: includes/functions.php:1290
1092
  msgid "Manage licenses"
1093
  msgstr ""
1094
 
1095
+ #: includes/functions.php:1290
1096
  msgid "Upgrade license"
1097
  msgstr ""
1098
 
1099
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1100
+ #: includes/functions.php:1484
1101
  msgid ""
1102
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1103
  "limited and updates are disabled."
1104
  msgstr ""
1105
 
1106
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1107
+ #: includes/functions.php:1493
1108
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1109
  msgstr ""
1110
 
1111
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1112
+ #: includes/functions.php:1509
1113
  msgid ""
1114
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1115
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1116
  msgstr ""
1117
 
1118
  #. translators: 1, 3: HTML tags, 2: percentage
1119
+ #: includes/functions.php:1516
1120
  msgid ""
1121
  "During the license period and 30 days after the license has expired we offer "
1122
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1123
  msgstr ""
1124
 
1125
+ #: includes/functions.php:1543
1126
  msgid "Renew the licence"
1127
  msgstr ""
1128
 
1129
+ #: includes/functions.php:1545
1130
  msgid "Update license status"
1131
  msgstr ""
1132
 
1133
  #. translators: 1, 2, 4, 5, 6, 7: HTML tags, 3: Ad Inserter Pro
1134
+ #: includes/functions.php:1556
1135
  msgid ""
1136
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1137
  "Manage licenses %5$s &mdash; %6$s Upgrade license %7$s"
1138
  msgstr ""
1139
 
1140
  #. Translators: %s: HTML tag
1141
+ #: includes/functions.php:1578
1142
  msgid "Warning: %s MaxMind IP geolocation database not found."
1143
  msgstr ""
1144
 
1145
+ #: includes/functions.php:2116
1146
  msgid "Geolocation"
1147
  msgstr ""
1148
 
1149
+ #: includes/functions.php:2120
1150
  msgid "Exceptions"
1151
  msgstr ""
1152
 
1153
+ #: includes/functions.php:2125
1154
  msgid "Multisite"
1155
  msgstr ""
1156
 
1157
+ #: includes/functions.php:2130
1158
  msgid "Tracking"
1159
  msgstr ""
1160
 
1161
  #. translators: %d: days, hours, minutes
1162
+ #: includes/functions.php:2161
1163
  msgid "Scheduled in %d days %d hours %d minutes"
1164
  msgstr ""
1165
 
1166
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1167
  #. HTML code for long dash separator
1168
+ #: includes/functions.php:2170
1169
  msgid "Active %s expires in %d days %d hours %d minutes"
1170
  msgstr ""
1171
 
1172
+ #: includes/functions.php:2174
1173
  msgid "Expired"
1174
  msgstr ""
1175
 
1176
+ #: includes/functions.php:2182 settings.php:1277 settings.php:1292
1177
  #: settings.php:1879
1178
  msgid "and"
1179
  msgstr ""
1180
 
1181
+ #: includes/functions.php:2185
1182
  msgid "fallback"
1183
  msgstr ""
1184
 
1185
+ #: includes/functions.php:2186
1186
  msgid "Block to be used when scheduling expires"
1187
  msgstr ""
1188
 
1189
+ #: includes/functions.php:2211
1190
  msgid "Load in iframe"
1191
  msgstr ""
1192
 
1193
+ #: includes/functions.php:2215 includes/placeholders.php:382
1194
  msgid "Width"
1195
  msgstr ""
1196
 
1197
+ #: includes/functions.php:2216
1198
  msgid "iframe width, empty means full width (100%)"
1199
  msgstr ""
1200
 
1201
+ #: includes/functions.php:2222 includes/placeholders.php:377
1202
  msgid "Height"
1203
  msgstr ""
1204
 
1205
+ #: includes/functions.php:2223
1206
  msgid "iframe height, empty means adjust it to iframe content height"
1207
  msgstr ""
1208
 
1209
+ #: includes/functions.php:2230
1210
  msgid "Ad label in iframe"
1211
  msgstr ""
1212
 
1213
+ #: includes/functions.php:2235
1214
  msgid "Preview iframe code"
1215
  msgstr ""
1216
 
1217
+ #: includes/functions.php:2235 includes/preview.php:1964 settings.php:954
1218
  #: settings.php:2551
1219
  msgid "Preview"
1220
  msgstr ""
1221
 
1222
+ #: includes/functions.php:2249 includes/functions.php:3789
1223
+ #: includes/functions.php:3852 settings.php:2016
1224
  msgid "Ad Blocking"
1225
  msgstr ""
1226
 
1227
  #. translators: 1, 2 and 3, 4: HTML tags
1228
+ #: includes/functions.php:2258
1229
  msgid ""
1230
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1231
  "for tracking!"
1233
 
1234
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1235
  #. header
1236
+ #: includes/functions.php:2267
1237
  msgid ""
1238
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1239
  "enabled and automatic insertion %6$s!"
1240
  msgstr ""
1241
 
1242
+ #: includes/functions.php:2285
1243
  msgid "When ad blocking is detected"
1244
  msgstr ""
1245
 
1246
+ #: includes/functions.php:2294
1247
  msgid "replacement"
1248
  msgstr ""
1249
 
1250
+ #: includes/functions.php:2295
1251
  msgid "Block to be shown when ad blocking is detected"
1252
  msgstr ""
1253
 
1254
+ #: includes/functions.php:2296
1255
  msgctxt "replacement"
1256
  msgid "None"
1257
  msgstr ""
1258
 
1259
+ #: includes/functions.php:2313
1260
  msgid "Close button"
1261
  msgstr ""
1262
 
1263
+ #: includes/functions.php:2360
1264
  msgid "Lazy loading"
1265
  msgstr ""
1266
 
1267
  #. Translators: %s MaxMind
1268
+ #: includes/functions.php:2414
1269
  msgid "This product includes GeoLite2 data created by %s"
1270
  msgstr ""
1271
 
1272
+ #: includes/functions.php:2425
1273
  msgid "IP geolocation database"
1274
  msgstr ""
1275
 
1276
+ #: includes/functions.php:2428
1277
  msgid "Select IP geolocation database."
1278
  msgstr ""
1279
 
1280
+ #: includes/functions.php:2439
1281
  msgid "Automatic database updates"
1282
  msgstr ""
1283
 
1284
+ #: includes/functions.php:2442
1285
  msgid ""
1286
  "Automatically download and update free GeoLite2 IP geolocation database by "
1287
  "MaxMind"
1288
  msgstr ""
1289
 
1290
+ #: includes/functions.php:2450
1291
  msgid "Database"
1292
  msgstr ""
1293
 
1294
+ #: includes/functions.php:2453
1295
  msgid ""
1296
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1297
  "file"
1298
  msgstr ""
1299
 
1300
  #. translators: %d: group number
1301
+ #: includes/functions.php:2471
1302
  msgid "Group %d"
1303
  msgstr ""
1304
 
1305
+ #: includes/functions.php:2477
1306
  msgid "countries"
1307
  msgstr ""
1308
 
1309
+ #: includes/functions.php:2522
1310
  msgid "Enable tracking"
1311
  msgstr ""
1312
 
1313
+ #: includes/functions.php:2529
1314
  msgid "Generate report"
1315
  msgstr ""
1316
 
1317
+ #: includes/functions.php:2537
1318
  msgid "Impression and Click Tracking"
1319
  msgstr ""
1320
 
1321
+ #: includes/functions.php:2553
1322
  msgid "Internal"
1323
  msgstr ""
1324
 
1325
+ #: includes/functions.php:2557
1326
  msgid "Track impressions and clicks with internal tracking and statistics"
1327
  msgstr ""
1328
 
1329
+ #: includes/functions.php:2562
1330
  msgid "External"
1331
  msgstr ""
1332
 
1333
+ #: includes/functions.php:2566
1334
  msgid ""
1335
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1336
  "code installed)"
1337
  msgstr ""
1338
 
1339
+ #: includes/functions.php:2571
1340
  msgid "Track Pageviews"
1341
  msgstr ""
1342
 
1343
+ #: includes/functions.php:2577
1344
  msgid "Track Pageviews by Device (as configured for viewports)"
1345
  msgstr ""
1346
 
1347
+ #: includes/functions.php:2587
1348
  msgid "Track for Logged in Users"
1349
  msgstr ""
1350
 
1351
+ #: includes/functions.php:2593
1352
  msgid "Track impressions and clicks from logged in users"
1353
  msgstr ""
1354
 
1355
+ #: includes/functions.php:2603
1356
  msgid "Click Detection"
1357
  msgstr ""
1358
 
1359
+ #: includes/functions.php:2609
1360
  msgid ""
1361
  "Standard method detects clicks only on banners with links, Advanced method "
1362
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1363
  msgstr ""
1364
 
1365
+ #: includes/functions.php:2635
1366
  msgid "Report header image"
1367
  msgstr ""
1368
 
1369
+ #: includes/functions.php:2638
1370
  msgid ""
1371
  "Image or logo to be displayed in the header of the statistins report. "
1372
  "Aabsolute path starting with '/' or relative path to the image file. Clear "
1373
  "to reset to default image."
1374
  msgstr ""
1375
 
1376
+ #: includes/functions.php:2639 strings.php:223
1377
  msgid "Select or upload header image"
1378
  msgstr ""
1379
 
1380
+ #: includes/functions.php:2644
1381
  msgid "Report header title"
1382
  msgstr ""
1383
 
1384
+ #: includes/functions.php:2647
1385
  msgid ""
1386
  "Title to be displayed in the header of the statistics report. Text or HTML "
1387
  "code, clear to reset to default text."
1388
  msgstr ""
1389
 
1390
+ #: includes/functions.php:2652
1391
  msgid "Report header description"
1392
  msgstr ""
1393
 
1394
+ #: includes/functions.php:2655
1395
  msgid ""
1396
  "Description to be displayed in the header of the statistics report. Text or "
1397
  "HTML code, clear to reset to default text."
1398
  msgstr ""
1399
 
1400
+ #: includes/functions.php:2660
1401
  msgid "Report footer"
1402
  msgstr ""
1403
 
1404
+ #: includes/functions.php:2663
1405
  msgid ""
1406
  "Text to be displayed in the footer of the statistics report. Clear to reset "
1407
  "to default text."
1408
  msgstr ""
1409
 
1410
+ #: includes/functions.php:2668
1411
  msgid "Public report key"
1412
  msgstr ""
1413
 
1414
+ #: includes/functions.php:2671
1415
  msgid "String to generate unique report IDs. Clear to reset to default value."
1416
  msgstr ""
1417
 
1418
+ #: includes/functions.php:2703
1419
  msgid "Are you sure you want to clear all exceptions for block"
1420
  msgstr ""
1421
 
1422
+ #: includes/functions.php:2704 settings.php:1041
1423
  msgid "Clear all exceptions for block"
1424
  msgstr ""
1425
 
1426
+ #: includes/functions.php:2711
1427
  msgid "Are you sure you want to clear all exceptions?"
1428
  msgstr ""
1429
 
1430
+ #: includes/functions.php:2711
1431
  msgid "Clear all exceptions for all blocks"
1432
  msgstr ""
1433
 
1434
+ #: includes/functions.php:2716 settings.php:3407 settings.php:3745
1435
  msgid "Type"
1436
  msgstr ""
1437
 
1438
+ #: includes/functions.php:2734
1439
  msgid "View"
1440
  msgstr ""
1441
 
1442
+ #: includes/functions.php:2735 includes/placeholders.php:346
1443
  #: includes/preview.php:2271 settings.php:1180
1444
  msgid "Edit"
1445
  msgstr ""
1446
 
1447
+ #: includes/functions.php:2765
1448
  msgid "Are you sure you want to clear all exceptions for"
1449
  msgstr ""
1450
 
1451
+ #: includes/functions.php:2766
1452
  msgid "Clear all exceptions for"
1453
  msgstr ""
1454
 
1455
+ #: includes/functions.php:2779
1456
  msgid "No exceptions"
1457
  msgstr ""
1458
 
1459
  #. translators: %s: Ad Inserter Pro
1460
+ #: includes/functions.php:2790
1461
  msgid "%s options for network blogs"
1462
  msgstr ""
1463
 
1464
  #. translators: %s: Ad Inserter Pro
1465
+ #: includes/functions.php:2795
1466
  msgid "Enable %s widgets for sub-sites"
1467
  msgstr ""
1468
 
1469
+ #: includes/functions.php:2795
1470
  msgid "Widgets"
1471
  msgstr ""
1472
 
1473
+ #: includes/functions.php:2800
1474
  msgid "Enable PHP code processing for sub-sites"
1475
  msgstr ""
1476
 
1477
+ #: includes/functions.php:2800
1478
  msgid "PHP Processing"
1479
  msgstr ""
1480
 
1481
  #. translators: %s: Ad Inserter Pro
1482
+ #: includes/functions.php:2805
1483
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1484
  msgstr ""
1485
 
1486
+ #: includes/functions.php:2805
1487
  msgid "Post/Page exceptions"
1488
  msgstr ""
1489
 
1490
  #. translators: %s: Ad Inserter Pro
1491
+ #: includes/functions.php:2810
1492
  msgid "Enable %s settings page for sub-sites"
1493
  msgstr ""
1494
 
1495
+ #: includes/functions.php:2810
1496
  msgid "Settings page"
1497
  msgstr ""
1498
 
1499
  #. translators: %s: Ad Inserter Pro
1500
+ #: includes/functions.php:2815
1501
  msgid "Enable %s settings of main site to be used for all blogs"
1502
  msgstr ""
1503
 
1504
+ #: includes/functions.php:2815
1505
  msgid "Main site settings used for all blogs"
1506
  msgstr ""
1507
 
1508
+ #: includes/functions.php:2826 settings.php:2438
1509
  msgid "Ad Blocking Detection"
1510
  msgstr ""
1511
 
1512
+ #: includes/functions.php:2832
1513
  msgid ""
1514
  "Standard method is reliable but should be used only if Advanced method does "
1515
  "not work. Advanced method recreates files used for detection with random "
1517
  "publicly accessible"
1518
  msgstr ""
1519
 
1520
+ #: includes/functions.php:3452 includes/functions.php:3542
1521
+ #: includes/functions.php:3562
1522
  msgid "AD BLOCKING"
1523
  msgstr ""
1524
 
1525
+ #: includes/functions.php:3453 includes/functions.php:3493
1526
+ #: includes/functions.php:3536 includes/functions.php:3563
1527
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1528
  msgstr ""
1529
 
1530
+ #: includes/functions.php:3456 includes/functions.php:3535
1531
+ #: includes/functions.php:3569
1532
  msgid "NO AD BLOCKING"
1533
  msgstr ""
1534
 
1535
+ #: includes/functions.php:3492 includes/functions.php:3499
1536
  msgid "AD BLOCKING REPLACEMENT"
1537
  msgstr ""
1538
 
1539
+ #: includes/functions.php:3642 includes/functions.php:3851
1540
  msgid "Pageviews"
1541
  msgstr ""
1542
 
1543
+ #: includes/functions.php:3788
1544
  msgctxt "Version"
1545
  msgid "Unknown"
1546
  msgstr ""
1547
 
1548
+ #: includes/functions.php:3788
1549
  msgctxt "Times"
1550
  msgid "DISPLAYED"
1551
  msgstr ""
1552
 
1553
+ #: includes/functions.php:3788
1554
  msgid "No version"
1555
  msgstr ""
1556
 
1557
+ #: includes/functions.php:3789
1558
  msgctxt "Times"
1559
  msgid "BLOCKED"
1560
  msgstr ""
1561
 
1562
+ #: includes/functions.php:3851
1563
  msgid "Impressions"
1564
  msgstr ""
1565
 
1566
+ #: includes/functions.php:3852 includes/functions.php:3853
1567
+ #: includes/functions.php:3908
1568
  msgid "Clicks"
1569
  msgstr ""
1570
 
1571
+ #: includes/functions.php:3853
1572
  msgid "events"
1573
  msgstr ""
1574
 
1575
+ #: includes/functions.php:3854
1576
  msgid "Ad Blocking Share"
1577
  msgstr ""
1578
 
1579
  #. translators: CTR as Click Through Rate
1580
+ #: includes/functions.php:3854 includes/functions.php:3914
1581
  msgid "CTR"
1582
  msgstr ""
1583
 
1584
+ #: includes/functions.php:3996
1585
  msgid "pageviews"
1586
  msgid_plural "pageviews"
1587
  msgstr[0] ""
1588
  msgstr[1] ""
1589
 
1590
+ #: includes/functions.php:3996
1591
  msgid "impressions"
1592
  msgid_plural "impressions"
1593
  msgstr[0] ""
1594
  msgstr[1] ""
1595
 
1596
+ #: includes/functions.php:4000
1597
  msgid "event"
1598
  msgid_plural "events"
1599
  msgstr[0] ""
1600
  msgstr[1] ""
1601
 
1602
+ #: includes/functions.php:4000
1603
  msgid "click"
1604
  msgid_plural "clicks"
1605
  msgstr[0] ""
1606
  msgstr[1] ""
1607
 
1608
+ #: includes/functions.php:4095
1609
  msgctxt "Pageviews / Impressions"
1610
  msgid "Average"
1611
  msgstr ""
1612
 
1613
+ #: includes/functions.php:4116
1614
  msgctxt "Ad Blocking / Clicks"
1615
  msgid "Average"
1616
  msgstr ""
1617
 
1618
+ #: includes/functions.php:4140
1619
  msgctxt "Ad Blocking Share / CTR"
1620
  msgid "Average"
1621
  msgstr ""
1622
 
1623
  #. Translators: %s: Ad Inserter Pro
1624
+ #: includes/functions.php:4322
1625
  msgid "%s Report"
1626
  msgstr ""
1627
 
1628
+ #. translators: for report range description
1629
+ #: includes/functions.php:4413 includes/functions.php:4674 strings.php:178
1630
  msgid "Ad Inserter Pro Report"
1631
  msgstr ""
1632
 
1633
+ #: includes/functions.php:4580
1634
+ msgid "for last month"
1635
+ msgstr ""
1636
+
1637
+ #: includes/functions.php:4585
1638
+ msgid "for this month"
1639
+ msgstr ""
1640
+
1641
+ #: includes/functions.php:4590
1642
+ msgid "for this year"
1643
+ msgstr ""
1644
+
1645
+ #: includes/functions.php:4595
1646
+ msgid "for the last 15 days"
1647
+ msgstr ""
1648
+
1649
+ #: includes/functions.php:4600
1650
+ msgid "for the last 30 days"
1651
+ msgstr ""
1652
+
1653
+ #: includes/functions.php:4605
1654
+ msgid "for the last 90 days"
1655
+ msgstr ""
1656
+
1657
+ #: includes/functions.php:4610
1658
+ msgid "for the last 180 days"
1659
+ msgstr ""
1660
+
1661
+ #: includes/functions.php:4615
1662
+ msgid "for the last 365 days"
1663
+ msgstr ""
1664
+
1665
  #: includes/placeholders.php:19
1666
  msgid "Custom"
1667
  msgstr ""
readme.txt CHANGED
@@ -6,20 +6,20 @@ Tags: ads, adsense, ad rotation, ad manager, amp, amazon, ad blocking detection,
6
  Requires at least: 4.0
7
  Tested up to: 5.1
8
  Requires PHP: 5.6
9
- Stable tag: 2.4.13
10
  License: GPLv3
11
 
12
- Manage ads: Google AdSense ads, Amazon banners, ad rotation, sticky widget ads, AMP ads, DFP ads, PHP, tracking, AdSense header and footer code
13
 
14
  == Description ==
15
 
16
  Ad management plugin with many advanced advertising features to insert ads at optimal positions.
17
 
18
- Supports all kinds of ads including **Google AdSense ads**, **Google Ad Manager** (DFP - DoubleClick for publishers) ads, contextual **Amazon Native Shopping Ads**, **Media.net ads** and **rotating banners.**
19
 
20
- This plugin is more than AdSense plugin or plugin for ads. It provides many advanced options to insert opt-in forms, header scripts, AMP ads, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page.
21
 
22
- **Ad Inserter can insert ads where other plugins fail**.
23
  It's all about the [settings](https://adinserter.pro/documentation).
24
 
25
  Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/">Ad Inserter reviews</a>
@@ -45,32 +45,32 @@ Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/
45
  > God bless these guys! [...](https://wordpress.org/support/topic/god-bless-these-guys-2/)
46
  > PRO for Free [...](https://wordpress.org/support/topic/pro-for-free/)
47
 
48
- Looking for AdSense plugin with simple setup for ads at best positions? A plugin for Amazon ads and Google Analytics code in the header?
49
 
50
  **Features** - check [documentation](https://adinserter.pro/documentation/features) for the complete list
51
 
52
- * Enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads) and get powerful AdSense plugin
53
- * Support for [Google Ad Manager](https://adinserter.pro/documentation/ad-manager-ads) (DoubleClick for publishers) ads
54
  * Syntax highlighting [editor](https://adinserter.pro/documentation/code-editing)
55
  * Code preview with visual CSS editor
56
  * Automatically inserts ads on posts and pages
57
- * Insert ads before or after post
58
- * Insert ads before or after content
59
- * Insert ads before or after paragraph
60
- * Insert ads before or after random paragraph
61
- * Insert ads before or after multiple paragraphs
62
- * Insert ads before or after image
63
- * Insert ads before or after comments
64
- * Insert ads before or after excerpt
65
- * Insert ads near any element on the page (using CSS selectors)
66
- * Insert ads above the header (after `<body>` tag)
67
- * Insert ads in the footer (before `</body>` tag)
68
- * Insert ads at relative positions in posts
69
- * Insert ads between posts on blog pages (in-feed AdSense ads)
70
- * Insert ads between excerpts on blog pages
71
- * Insert ads between comments
72
- * Insert ads at custom hook positions (`do_action ()` WP function)
73
- * Insert ads before or after any HTML element using CSS selectors
74
  * Visual HTML element selector (DOM explorer)
75
  * Avoid inserting ads near images or headers (AdSense TOS)
76
  * Disable ads on individual posts or pages
@@ -79,60 +79,50 @@ Looking for AdSense plugin with simple setup for ads at best positions? A plugin
79
  * Insert Google Analytics, Matomo (Piwik) or any other tracking code
80
  * Insert images, HTML, CSS, Javascript or PHP code
81
  * Code generator for banners and placeholders
82
- * Code generator for AdSense ads
83
- * Visual advert editor - create ads from scratch
84
  * Manual insertion: widgets, shortcodes, PHP function call
85
  * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled)
86
- * Custom alignments and styles for ads
87
- * Insert ads (different ad code) on AMP pages
88
  * Custom CSS class name for wrapping divs to avoid ad blockers
89
  * Use shortcodes from other plugins
90
  * Use custom fields as defined in posts
91
- * Use post title, tags or category names to create contextual ads
92
  * PHP code processing
93
- * Ad labels - show customized label above ads
94
  * ads.txt editor
95
  * Ad rotation (server-side and client-side - works with caching)
96
- * Timed ad rotation - define times to rotate ads in a single ad block
97
  * Create rich media ads with standard WordPress TinyMCE editor
98
  * Ad blocking detection - popup message, page redirection
99
  * Desktop/mobile device detection (server-side and client-side - works with caching)
100
  * [Blacklist/Whitelist](https://adinserter.pro/documentation/black-and-white-lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referrers
101
  * Easy copying and pasting ads or settings using internal clipboard
102
  * Simple troubleshooting with many debugging functions
103
- * Function to visualize inserted blocks and ads
104
  * Function to visualize AdSense ads with ad names and IDs
105
  * Function to visualize available insertion positions
106
  * Function to visualize HTML tags
107
  * You name it :)
108
 
109
- [Ad Inserter review](https://wpmayor.com/ad-inserter-review-the-best-wordpress-ad-management-plugin/) on WP Mayor
110
 
111
  > The Best WordPress Ad Management Plugin?
112
 
113
- [Ad Inserter review](https://www.shoutmeloud.com/ad-inserter-review.html) on ShoutMeLoud
114
 
115
  > Both Google and Amazon recommend this plugin for inserting ads, which is a testament to its quality
116
 
117
- **Endorsed by Google**
118
-
119
- Google lists Ad Inserter plugin as possible solution to place code for AdSense ads into your WordPress site.
120
-
121
- Ad Inserter is a perfect plugin to place code for Google AdSense ads at top positions for optimal monetization of your website: ordinary AdSense ads (ad units), AMP ads, Auto ads (page level ads), In-feed ads, in-article ads, responsive ads, AdSense ads that need page-specific header code, etc.
122
 
123
  > If you're new to AdSense, one of your first tasks is to connect your site to AdSense. This requires you to copy the code on your AdSense homepage and paste it into the HTML of your page, between the `<head>` and `</head>` tags.
124
 
125
- Check [How to insert ad code in your WordPress site](https://support.google.com/adsense/answer/7527509). Advanced users can enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads#integration): import AdSense ads from the plugin settings page - no need to copy codes for AdSense ads from the AdSense admin pages. List ad units, preview AdSense ads and get ad codes where you need them.
126
-
127
- **Endorsed by Amazon**
128
-
129
- Amazon suggests to use Ad Inserter to add Native Shopping Ads to Wordpress posts.
130
 
131
  > Native Shopping Ads provide highly relevant and dynamic product recommendations in a stylishly designed and responsive ad unit that can be placed at the end or within your content to create a more compelling visitor experience and shopping opportunity.
132
 
133
- Check <a href="https://affiliate-program.amazon.com/help/topic/t405" target="_blank">Wordpress Integration Guide for Native Shopping Ads</a>. Ad Inserter supports also advanced contextual ads: check settings for <a href="https://adinserter.pro/documentation/common-settings#amazon">contextual Native Shopping Ads</a> that show ads with items related to the post content (using post tags).
134
-
135
- If you need statistics for ads and metrics for impressions and clicks, A/B testing, lazy loading ads, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, functions to protect content from users using ad blockers, functions to serve different ads for users using ad blockers, multisite options to limit settings for ads, to block some IP addresses, to schedule ads, there is **Ad Inserter Pro** - all-in-one WordPress ad management plugin with many [advanced features](https://adinserter.pro/documentation/features):
136
 
137
  * Geolocation using Webnet77 or [MaxMind](http://www.maxmind.com/) databases (works also with caching)
138
  * Country, state, region and city level geotargeting
@@ -140,154 +130,52 @@ If you need statistics for ads and metrics for impressions and clicks, A/B testi
140
  * Ad impression and click statistics (works also with `<iframe>` Javascript ads like Google AdSense)
141
  * Statistics reports for clients in PDF format or public web pages
142
  * External tracking via Google Analytics or Matomo (Piwik)
143
- * A/B testing - discover ads and settings that perform best
144
- * Lazy loading ads (works with AdSense ads)
145
  * [Sticky ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with optional close button
146
  * Sticky sidebar ads (stick to the screen or to the content)
147
- * Floating slide-in banner ads
148
  * [Sticky (floating) ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with animations (fade, slide, turn, flip, zoom)
149
  * Animation trigger for sticky ads (page scroll in % or px, HTML element becomes visible)
150
  * Support for sticky ad bar
151
- * Support to schedule ads with fallback option
152
  * Support for ads in iframes
153
  * Ad blocking detection - replace ads, protect content
154
  * Ad blocking statistics
155
  * Multisite options to limit settings on the sites
156
  * Individual post/page exception management
157
  * Export and import of settings
158
- * No ads on the settings page
159
  * Support via email
160
 
161
- Run a WordPress related blog? Have experience with AdSense ads? Interested in reviewing Ad Inserter Pro or would like to become Ad Inserter Pro affiliate? [Introduce yourself](https://adinserter.pro/contact).
162
 
163
  Have experience with WordPress theme or plugin translation? We are looking for translators! [Contact us](https://adinserter.pro/contact).
164
 
165
- Ad Inserter WordPress plugin is an advanced advertising manager for all kinds of ads - it has many features and options to automate placing ads in order to optimally monetize your website on desktop, tablet and phone displays. It provides many simple ways to insert any kind of ads, Javascript, HTML, PHP or advert code anywhere on the page. For best placement of ads please read the user manual to get the most of the plugin.
166
 
167
- Check [Ad Inserter documentation pages](https://adinserter.pro/documentation) for detailed description of all the features and some [common settings](https://adinserter.pro/documentation/common-settings) for quick start.
168
-
169
- You can also use shortcodes from other plugins (for example, to insert ads from other ad plugins like AdRotate, Advanced Ads, Quick Adsense, AdSense Plugin WP QUADS, Insert Post Ads).
170
-
171
- Ads are not showing? Check [Blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed) and [troubleshooting guide](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed) to find out what to check.
172
 
173
  **Ad Inserter can insert ads where other plugins fail**.
174
  It's all about the settings.
175
 
176
- **Ad Inserter - WordPress Ad Manager**
177
-
178
- *One Plugin for All Ads*
179
-
180
- Ad Inserter is not just another plugin for WordPress ads. Do you enjoy finding the right plugin to solve a particular problem on your site? For example:
181
-
182
- * for ad management and ad injection
183
- * to insert Google AdSense ads or Media.net ads
184
- * for Google Ad Manager / DoubleClick for Publishers (DFP) ads
185
- * to insert Amazon Native Shopping ads
186
- * to insert affiliate ads (CJ Affiliate by Conversant, ClickBank, ShareASale, Rakuten LinkShare, etc.)
187
- * to insert ads form BuySellAds, Chitika, Ezoic, Booking.com, Tradedoubler, Awin, Getyourguide
188
- * to insert ads between paragraphs
189
- * to insert ads between posts
190
- * to insert ads between comments
191
- * to insert ads on custom posts
192
- * to insert AMP ads on AMP pages
193
- * to insert different ads for mobile devices
194
- * to insert ads at custom action hooks (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hook Guide</a>)
195
- * to edit ads.txt file
196
- * to hide ads on specific pages
197
- * for ad rotation - to rotate different ads in a single ad position
198
- * for PHP code widgets and PHP ads
199
- * for sticky (fixed) widgets
200
- * to detect ad blocking
201
- * to insert banners
202
- * to insert Google analytics code
203
- * to insert various opt-in forms (MailChimp, AWeber, GetResponse, etc.)
204
-
205
- Maintaining several plugins (often from different vendors) is not easy. And each plugin is slowing down the speed of your website.
206
-
207
- **Speed Up Your WordPress: Replace them all with free Ad Inserter!**
208
-
209
- **Quick Start**
210
-
211
- To become familiar with the plugin check [Quick Start](https://adinserter.pro/documentation/quick-start) to display ads on your website.
212
-
213
- To learn how to configure the most advanced WordPress AdSense plugin check documentation for [AdSense ads](https://adinserter.pro/documentation/adsense-ads): AdSense ad units, AdSense Auto ads, AdSense in-feed ads, AdSense in-article ads, AdSense AMP ads,...
214
-
215
- Please note that code for AdSense ads may in some cases display blank ad blocks - no ads. This has nothing to do with the plugin. After AdSense code is inserted, Google needs some time (hours) to check pages before it starts to serve ads. Blank AdSense ad block means that AdSense code is inserted properly and AdSense code is running, only it doesn't display anything (yet). Typical reasons for blank AdSense ads are the following:
216
-
217
- * Your AdSense account is not fully approved yet
218
- * Your website or page was not approved for AdSense ads
219
- * Google has not checked and approved to serve ads to your website (yet)
220
- * Your AdSense account is banned
221
- * No ads available for your website
222
- * Wrong AdSense publisher ID or slot ID - check or regenerate ad code
223
- * Errors in ad code - check browser console for error messages
224
-
225
- **Main AdSense Features**
226
-
227
- To show AdSense ads you need to place code for AdSense ads on your website - you need WordPress AdSense plugin. Ad Inserter is a perfect tool to automatically insert code for AdSense ads on any page. AdSense integration and clearance options to make sure that your page will comply with the AdSense program policies, are just two advanced features that will help you to monetize your website with AdSense ads.
228
-
229
- * Get code for AdSense ads directly from your [AdSense account](https://adinserter.pro/documentation/adsense-ads#integration)
230
- * Code generator for AdSense ads
231
- * Create code for AdSense AMP ads from normal AdSense ad code
232
- * Convert standard AdSense text & display ads to AdSense link ads or vice versa
233
- * Convert fixed size AdSense ads to responsive AdSense ads
234
- * Convert responsive AdSense ads to fixed size AdSense ads
235
- * Create responsive AdSense ads with [fixed ad sizes for differrent devices](https://adinserter.pro/documentation/adsense-ads#responsive)
236
- * Support for AdSense Auto ads
237
- * Support to exclude AdSense Auto ads [on specific pages](https://adinserter.pro/documentation/plugin-settings#page-specific-header-footer)
238
- * Optionally limit insertion to 3 AdSense ads per page
239
- * Disable insertion of AdSense ads on Error 404 pages
240
- * Insert AdSense In-feed ads or In-article ads between posts or comments
241
- * Simple troubleshooting when AdSense ads are not displayed
242
- * Debugging function to label AdSense ad blocks to mark [blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed)
243
-
244
- *AdSense dictionary*
245
-
246
- Ad Inserter is also a powerful AdSense plugin. However, AdSense ads require some knowledge of ad terminology in order to use the right code for ads and to place them properly. This is a short list of commonly used terms:
247
-
248
- * Google AdSense: a program run by Google that allows publishers in the Google Network of content sites to serve automatic text ads, image ads, video ads or interactive media ads. Google AdSense provides the right ads for any audience: ads are reviewed to ensure they're high quality and relevant to your content or audience, even when viewed on smartphones and tablets. Block ads you don't like, customize where ads appear, and choose which types of ads fit your site best
249
- * AdSense text ads: ad with a title that's also a clickable link to a webpage, one or two lines of text, and a website address
250
- * AdSense display ads: graphical ads offered in several formats
251
- * AdSense video ads: one type of ads that can appear on AdSense sites - they can show on your pages if you have chosen to display image ads and are using supported ad size
252
- * AdSense richer text ads: a form of text ads supplemented with advertiser images that are displayed as "display-like" ads
253
- * AdSense ad unit: a set of Google ads displayed as a result of one piece of AdSense ad code - for AdSense publishers who want full control over the placement of their ads
254
- * AdSense ad code: a snippet of HTML that when placed on any page of an approved site shows Google AdSense ads in a specific ad layout and format
255
- * AdSense ad format: the way AdSense ads are shown to the users on your site - different ad formats can support different ad types, such as text ads, display ads, video ads
256
- * Responsive AdSense ads: ads will resize to fill available width
257
- * Fixed size AdSense ads: you define width and height of ads
258
- * AdSense In-feed ads: ads between similar-looking content blocks that repeat one after the other
259
- * AdSense In-article ads: ads that fit seamlessly in between the paragraphs of your pages
260
- * AdSense Auto ads: a code that you insert on every page once and it will automatically display AdSense ads **on positions chosen by the Auto ads code** - a fast and easy way for AdSense publishers to get up and running with ads
261
- * AdSense ads on AMP pages: AMP pages need different code for AdSense ads. Each Ad Inserter code block can be configured to insert different codes on AMP pages - you can use use built-in AdSense code generator to generate code for AMP AdSense ads
262
- * Blank AdSense ads: blank (empty) ad blocks when Google for some reason does not display ads
263
- * AdSense integration: connection between plugin and your AdSense account
264
- * AdSense Program policies: all publishers using AdSense ads are required to adhere to AdSense Program policies - if you fail to comply with these policies, Google reserves the right to disable ad serving to your site (you get blank AdSense ads) and/or disable your AdSense account at any time
265
- * Personalized AdSense ads: Google considers AdSense ads to be personalized when they are based on previously collected or historical data to determine or influence ad selection, including a user's previous search queries, activity, visits to sites or apps, demographic information, or location
266
- * Non-personalized AdSense ads: ads that are not based on a user's past behavior. Non-Personalized AdSense ads allow publishers to present EEA users with a choice between personalized ads and non-personalized ads, or to choose to serve only non-personalized ads to all users in the EEA. Non-Personalized AdSense ads only use contextual information, including coarse general (city-level) location.
267
-
268
- **Insert Any Code Anywhere on the Page - Automate Insertion of Ads**
269
-
270
- * Automatic insertion of ads using standard (the_content, the_excerpt, loop_start, loop_end, the_post,...) or custom WP hooks
271
- * Server-side or client-side (javascript) insertion before, after or inside **any HTML element on page** (using CSS selectors #id, .class)
272
- * Manual insertion of ads with shortcodes
273
- * Insertion of ads with widgets or PHP function calls from child theme
274
 
275
  **Please support plugin development**
276
 
277
  Support the advancement of this plugin:
278
 
279
  * Write a short <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post">review</a> - positive reviews are a great way to show your appreciation for my work. Besides being an incredible boost to my morale, they are also a great incentive to fix any bug found in the software and to add new features for better monetization of your website.
280
- * <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4">Donate</a> if Ad Inserter helps you to make money with ads
281
  * Register for [Ad Inserter Pro Affiliate](https://affiliate.adinserter.pro/), promote the plugin on your website and earn commission for each purchase you refer
282
- * Buy license for [Ad Inserter Pro](https://adinserter.pro/) - Top WordPress plugin for ads
283
 
284
  == Installation ==
285
 
286
- [Ad Inserter installation](https://adinserter.pro/documentation/plugin-installation)
287
 
288
  **Online Documentation**
289
 
290
- * [Ad Inserter Documentation](https://adinserter.pro/documentation)
291
  * [Ads not displayed](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed)
292
  * [Troubleshooting](https://adinserter.pro/documentation/troubleshooting)
293
  * [Code Editing](https://adinserter.pro/documentation/code-editing)
@@ -303,47 +191,37 @@ Support the advancement of this plugin:
303
 
304
  == Frequently Asked Questions ==
305
 
306
- = Settings for ads ... =
307
 
308
- Check <a href="https://adinserter.pro/documentation/common-settings" target="_blank">common Ad Inserter settings</a>
309
 
310
  = Does Ad Inserter insert any internal ads? =
311
 
312
  No revenue sharing and no such thing as "internal ads" or "our ads" on your website. Period. What you configure is what will be inserted (+ some internal scripts for plugin features).
313
- Ad Inserter is free, open source plugin and inserts only the code or ads you configure (blocks, Header, Footer). The code you see is the code that will be inserted. Please check page source code before you make any conclusion.
314
- Of course, if you configure code block with some JavaScript ad code, then this code may insert some additional code or show ads. But please, don't blame the plugin for this.
315
- You can also use Ad Inserter to insert code for AdSense Auto ads on each page (usually in the header). However, **the exact placement of ads will be done by the ad code, not Ad Inserter!**
316
  [https://adinserter.pro/documentation/adsense-ads#auto-ads](https://adinserter.pro/documentation/adsense-ads#auto-ads)
317
 
318
- The easiest way to check Ad Inserter blocks is to use **Label blocks** debugging function:
319
  [https://adinserter.pro/documentation/debugging](https://adinserter.pro/documentation/debugging)
320
 
321
- Please note that when you disable Ad Inserter you also disable insertion of all codes and blocks you have configured.
322
  Therefore, if your issues go away when you disable the plugin THIS DOES NOT INDICATE any issue with the plugin! You need to try to [disable individual codes](https://adinserter.pro/documentation/debugging#back-end) to see which one is causing trouble.
323
 
324
- = I have installed code for AdSense ads and I see ads placed at random positions. =
325
 
326
  You are probably using code for [AdSense Auto ads](https://adinserter.pro/documentation/adsense-ads#auto-ads).
327
 
328
- AdSense Auto ads (known also as AdSense Page Level Ads) is a code that you insert on every page once and it will automatically display AdSense ads on positions chosen by the code.
329
- AdSense Auto ads use Google's machine learning to pick the best placements on your pages to show ads. You only need to add one piece of code to all your pages, and let Google take care of the rest.
330
-
331
- AdSense Auto ads may not be suitable for some WordPress themes or layouts. In such cases it is easier to place ads at wanted locations by using [normal AdSense code](https://adinserter.pro/documentation/adsense-ads#ad-unit) and specifying exact locations where the code should be inserted.
332
 
333
- = I have installed code for AdSense ads but the ad blocks are blank. =
334
 
335
- Blank AdSense ad block means that the code is inserted properly only the ad code doesn't display ads. Typical reasons for this are the following:
336
 
337
- * After the ad code is inserted Google needs some time (hours) to check the pages before it starts to serve ads.
338
- * AdSense account is not fully approved yet - if your account is new you need to wait until Google checks ad codes on your website and and confirms your account. Usually this takes few days.
339
- * Your website or page is not approved yet - you need to wait until Google web crawlers check your pages.
340
- * Your website or page was not approved for AdSense ads
341
- * Your AdSense account is banned
342
- * No ads available for your website
343
- * Errors in ad code - check or regenerate ad code
344
- * You are using ad blocker
345
-
346
- In such case you can try other ad networks for contextual ads. Check <a href="https://adinserter.pro/documentation/troubleshooting#ads-not-displayed">Ads Not Displayed</a> for more information.
347
 
348
  = What is GDPR? =
349
 
@@ -398,74 +276,6 @@ If you are not happy to reveal this information and you have opted in, simply di
398
  **Your decision will be respected.**
399
 
400
 
401
- = I wish to show ads side by side but not in the same block. How do I do this? =
402
-
403
- Configure block 1 and 2 with ads using:
404
-
405
- * Automatic Insertion: Disabled
406
- * Block Alignment and Style: No Wrapping
407
- * Enable shortcode: checked
408
-
409
- Configure block 3 with
410
-
411
- `[adinserter code="1" ignore="page-type"]
412
- [adinserter code="2" ignore="page-type"]`
413
-
414
- and use block 3 to insert ads.
415
-
416
-
417
- = I use After Content insertion position but the ads are inserted after the stuff provided by other plugins. How can I insert ads directly after post content?
418
-
419
- This happens because Ad Inserter processes posts last and therefore "sees" also content added by other plugins.
420
-
421
- Try to set Ad Inserter plugin priority to 10 (early processing, Ad Inserter settings - tab &#9881; / tab General).
422
-
423
-
424
- = How can I add some title or label (e.g. Advertisements) above AdSense ads? =
425
-
426
- If this is a sidebar widget then you can simply name the widget.
427
-
428
- For each code block you can also show a label above each ad. Default text (or HTML code) for ad labels can be set on the general plugin settings tab (tab &#9881; / tab General / **Ad label**.
429
- To enable ad label above the ad go to code block for this ad, click on the Misc button and then on the Display tab check **Ad label**.
430
-
431
- If you configured only text for ad label then the following code will be added above ad code: `<div class="code-block-label">AD_LABEL_TEXT</div>` (`code-block` is the block class name used, AD_LABEL_TEXT is the text for Ad Label).
432
- You can then style the label using CSS for class `.code-block-label` (the best place for this code is Header section). If HTML code is configured for ad label then this code will be used (instead of the div code above).
433
-
434
- In case you need a different label for some ad you can simply add label HTML code above the ad code. For example:
435
-
436
- `<h3>Advertisements</h3>
437
-
438
- AD_CODE`
439
-
440
- Ad lables can be inserted only above ads (blocks) inserted by Ad Inserter - AdSense Auto ads are automatically inseted by AdSense Auto ads code.
441
-
442
- = How can place ads below Read More tag? =
443
-
444
- Configure ad block with the following options:
445
-
446
- * Automatic Insertion: After Paragraph
447
- * Paragraph Number: 1
448
- * Count only paragraphs that CONTAIN: `<span id="more-`
449
-
450
- Check source code of your website for proper "read more" tag.
451
-
452
-
453
- = How can I rotate between different alignments so I can test an ad aligned to the right against an ad aligned to the left? =
454
-
455
- Set Block Alignment and Style to "No Wrapping" and create manual wrapping around both ads separated with [ADINSERTER ROTATE]:
456
-
457
- `<div style="float: left; margin: 0 8px 8px 0;">
458
- AD CODE LEFT
459
- </div>
460
-
461
- [ADINSERTER ROTATE]
462
-
463
- <div style="float: right; margin: 0 0 8px 8px;">
464
- AD CODE RIGHT
465
- </div>`
466
-
467
- Please note that responsive AdSense ads can not work with floating alignments (ad container width is not known) - either use AdSense code with fixed ad sizes or don't use floating alignment.
468
-
469
  == Screenshots ==
470
 
471
  1. Settings for one code block (Before content).
@@ -489,6 +299,11 @@ Please note that responsive AdSense ads can not work with floating alignments (a
489
 
490
  == Changelog ==
491
 
 
 
 
 
 
492
  = 2.4.13 =
493
  - Added shortcode to disable ad blocking detection code
494
  - Added options to disable ad blocking actions for administrators or logged in users
@@ -587,6 +402,11 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
587
 
588
  == Upgrade Notice ==
589
 
 
 
 
 
 
590
  = 2.4.13 =
591
  Added shortcode to disable ad blocking detection code;
592
  Added options to disable ad blocking actions for administrators or logged in users;
6
  Requires at least: 4.0
7
  Tested up to: 5.1
8
  Requires PHP: 5.6
9
+ Stable tag: 2.4.14
10
  License: GPLv3
11
 
12
+ Manage ads: Google AdSense, Media.net, Amazon banners, ad rotation, sticky widgets, AMP ads, DFP, PHP, tracking, AdSense header and footer code
13
 
14
  == Description ==
15
 
16
  Ad management plugin with many advanced advertising features to insert ads at optimal positions.
17
 
18
+ Supports all kinds of ads including **Google AdSense**, **Google Ad Manager** (DFP - DoubleClick for publishers), contextual **Amazon Native Shopping Ads**, **Media.net** and **rotating banners.**
19
 
20
+ This plugin is more than AdSense plugin or plugin for ads. It provides many advanced options to insert opt-in forms, header scripts, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page.
21
 
22
+ **Insert ads where other plugins fail**.
23
  It's all about the [settings](https://adinserter.pro/documentation).
24
 
25
  Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/">Ad Inserter reviews</a>
45
  > God bless these guys! [...](https://wordpress.org/support/topic/god-bless-these-guys-2/)
46
  > PRO for Free [...](https://wordpress.org/support/topic/pro-for-free/)
47
 
48
+ Looking for AdSense plugin with simple setup for ads at best positions? A plugin for Amazon and Google Analytics code in the header?
49
 
50
  **Features** - check [documentation](https://adinserter.pro/documentation/features) for the complete list
51
 
52
+ * [AdSense integration](https://adinserter.pro/documentation/adsense-ads)
53
+ * Support for [Google Ad Manager](https://adinserter.pro/documentation/ad-manager-ads) (DoubleClick for publishers)
54
  * Syntax highlighting [editor](https://adinserter.pro/documentation/code-editing)
55
  * Code preview with visual CSS editor
56
  * Automatically inserts ads on posts and pages
57
+ * Insert before or after post
58
+ * Insert before or after content
59
+ * Insert before or after paragraph
60
+ * Insert before or after random paragraph
61
+ * Insert before or after multiple paragraphs
62
+ * Insert before or after image
63
+ * Insert before or after comments
64
+ * Insert before or after excerpt
65
+ * Insert near any element on the page (using CSS selectors)
66
+ * Insert above the header (after `<body>` tag)
67
+ * Insert in the footer (before `</body>` tag)
68
+ * Insert at relative positions in posts
69
+ * Insert between posts on blog pages (in-feed AdSense)
70
+ * Insert between excerpts on blog pages
71
+ * Insert between comments
72
+ * Insert at custom hook positions (`do_action ()` WP function)
73
+ * Insert before or after any HTML element using CSS selectors
74
  * Visual HTML element selector (DOM explorer)
75
  * Avoid inserting ads near images or headers (AdSense TOS)
76
  * Disable ads on individual posts or pages
79
  * Insert Google Analytics, Matomo (Piwik) or any other tracking code
80
  * Insert images, HTML, CSS, Javascript or PHP code
81
  * Code generator for banners and placeholders
82
+ * AdSense code generator
83
+ * Visual advert editor - create adverts from scratch
84
  * Manual insertion: widgets, shortcodes, PHP function call
85
  * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled)
86
+ * Custom alignments and styles
87
+ * Insert different ad codes on AMP pages
88
  * Custom CSS class name for wrapping divs to avoid ad blockers
89
  * Use shortcodes from other plugins
90
  * Use custom fields as defined in posts
91
+ * Use post title, tags or category names to create contextual adverts
92
  * PHP code processing
93
+ * Ad labels - show customized label above adverts
94
  * ads.txt editor
95
  * Ad rotation (server-side and client-side - works with caching)
96
+ * Timed ad rotation - define times to rotate adverts in a single ad block
97
  * Create rich media ads with standard WordPress TinyMCE editor
98
  * Ad blocking detection - popup message, page redirection
99
  * Desktop/mobile device detection (server-side and client-side - works with caching)
100
  * [Blacklist/Whitelist](https://adinserter.pro/documentation/black-and-white-lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referrers
101
  * Easy copying and pasting ads or settings using internal clipboard
102
  * Simple troubleshooting with many debugging functions
103
+ * Function to visualize inserted blocks
104
  * Function to visualize AdSense ads with ad names and IDs
105
  * Function to visualize available insertion positions
106
  * Function to visualize HTML tags
107
  * You name it :)
108
 
109
+ [Review on WP Mayor](https://wpmayor.com/ad-inserter-review-the-best-wordpress-ad-management-plugin/)
110
 
111
  > The Best WordPress Ad Management Plugin?
112
 
113
+ [Review on ShoutMeLoud](https://www.shoutmeloud.com/ad-inserter-review.html)
114
 
115
  > Both Google and Amazon recommend this plugin for inserting ads, which is a testament to its quality
116
 
117
+ **Endorsed by Google** - [How to insert ad code in your WordPress site](https://support.google.com/adsense/answer/7527509)
 
 
 
 
118
 
119
  > If you're new to AdSense, one of your first tasks is to connect your site to AdSense. This requires you to copy the code on your AdSense homepage and paste it into the HTML of your page, between the `<head>` and `</head>` tags.
120
 
121
+ **Endorsed by Amazon** - <a href="https://affiliate-program.amazon.com/help/topic/t405" target="_blank">Wordpress Integration Guide for Native Shopping Ads</a>.
 
 
 
 
122
 
123
  > Native Shopping Ads provide highly relevant and dynamic product recommendations in a stylishly designed and responsive ad unit that can be placed at the end or within your content to create a more compelling visitor experience and shopping opportunity.
124
 
125
+ **Pro version** - supports additional [advanced features](https://adinserter.pro/documentation/features):
 
 
126
 
127
  * Geolocation using Webnet77 or [MaxMind](http://www.maxmind.com/) databases (works also with caching)
128
  * Country, state, region and city level geotargeting
130
  * Ad impression and click statistics (works also with `<iframe>` Javascript ads like Google AdSense)
131
  * Statistics reports for clients in PDF format or public web pages
132
  * External tracking via Google Analytics or Matomo (Piwik)
133
+ * A/B testing - discover adverts and settings that perform best
134
+ * Lazy loading
135
  * [Sticky ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with optional close button
136
  * Sticky sidebar ads (stick to the screen or to the content)
137
+ * Floating slide-in banner adverts
138
  * [Sticky (floating) ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with animations (fade, slide, turn, flip, zoom)
139
  * Animation trigger for sticky ads (page scroll in % or px, HTML element becomes visible)
140
  * Support for sticky ad bar
141
+ * Support for scheduling with fallback option
142
  * Support for ads in iframes
143
  * Ad blocking detection - replace ads, protect content
144
  * Ad blocking statistics
145
  * Multisite options to limit settings on the sites
146
  * Individual post/page exception management
147
  * Export and import of settings
 
148
  * Support via email
149
 
150
+ Run a WordPress related blog? Have experience with AdSense? Interested in reviewing the plugin or would like to become an affiliate? [Introduce yourself](https://adinserter.pro/contact).
151
 
152
  Have experience with WordPress theme or plugin translation? We are looking for translators! [Contact us](https://adinserter.pro/contact).
153
 
154
+ Check [documentation pages](https://adinserter.pro/documentation) for detailed description of all the features and some [common settings](https://adinserter.pro/documentation/common-settings) for quick start.
155
 
156
+ You can also use shortcodes from other plugins (for example, to insert content from other plugins).
 
 
 
 
157
 
158
  **Ad Inserter can insert ads where other plugins fail**.
159
  It's all about the settings.
160
 
161
+ To become familiar with the plugin check [Quick Start](https://adinserter.pro/documentation/quick-start).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
 
163
  **Please support plugin development**
164
 
165
  Support the advancement of this plugin:
166
 
167
  * Write a short <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post">review</a> - positive reviews are a great way to show your appreciation for my work. Besides being an incredible boost to my morale, they are also a great incentive to fix any bug found in the software and to add new features for better monetization of your website.
168
+ * <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4">Donate</a> if Ad Inserter helps you to make money with advertising
169
  * Register for [Ad Inserter Pro Affiliate](https://affiliate.adinserter.pro/), promote the plugin on your website and earn commission for each purchase you refer
170
+ * Buy license for [Ad Inserter Pro](https://adinserter.pro/)
171
 
172
  == Installation ==
173
 
174
+ [Plugin installation](https://adinserter.pro/documentation/plugin-installation)
175
 
176
  **Online Documentation**
177
 
178
+ * [Documentation](https://adinserter.pro/documentation)
179
  * [Ads not displayed](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed)
180
  * [Troubleshooting](https://adinserter.pro/documentation/troubleshooting)
181
  * [Code Editing](https://adinserter.pro/documentation/code-editing)
191
 
192
  == Frequently Asked Questions ==
193
 
194
+ = Settings for ... =
195
 
196
+ Check <a href="https://adinserter.pro/documentation/common-settings" target="_blank">common settings</a>
197
 
198
  = Does Ad Inserter insert any internal ads? =
199
 
200
  No revenue sharing and no such thing as "internal ads" or "our ads" on your website. Period. What you configure is what will be inserted (+ some internal scripts for plugin features).
201
+ Ad Inserter is free, open source plugin and inserts only the code you configure (blocks, Header, Footer). The code you see is the code that will be inserted. Please check page source code before you make any conclusion.
202
+ Of course, if you configure block with some JavaScript ad code, then this code may insert some additional code or show ads. But please, don't blame the plugin for this.
203
+ You can also use this plugin to insert code for AdSense Auto ads on each page (usually in the header). However, **the exact placement of ads will be done by the ad code, not Ad Inserter!**
204
  [https://adinserter.pro/documentation/adsense-ads#auto-ads](https://adinserter.pro/documentation/adsense-ads#auto-ads)
205
 
206
+ The easiest way to check inserted blocks is to use **Label blocks** debugging function:
207
  [https://adinserter.pro/documentation/debugging](https://adinserter.pro/documentation/debugging)
208
 
209
+ Please note that when you disable the plugin you also disable insertion of all codes and blocks you have configured.
210
  Therefore, if your issues go away when you disable the plugin THIS DOES NOT INDICATE any issue with the plugin! You need to try to [disable individual codes](https://adinserter.pro/documentation/debugging#back-end) to see which one is causing trouble.
211
 
212
+ = I have installed code for AdSense and I see ads placed at random positions. =
213
 
214
  You are probably using code for [AdSense Auto ads](https://adinserter.pro/documentation/adsense-ads#auto-ads).
215
 
216
+ Auto ads (known also as Page Level Ads) is a code that you insert on every page once and it will automatically display ads on positions chosen by the code.
217
+ The code uses Google's machine learning to pick the best placements on your pages to show adverts.
 
 
218
 
219
+ Auto ads may not be suitable for some WordPress themes or layouts. In such cases it is easier to place ads at wanted locations by using [normal AdSense code](https://adinserter.pro/documentation/adsense-ads#ad-unit) and specifying exact locations where the code should be inserted.
220
 
221
+ = I have installed code for AdSense but the ad blocks are blank. =
222
 
223
+ Blank ad block means that the code is inserted properly only the ad code doesn't display ads.
224
+ Please check <a href="https://adinserter.pro/documentation/troubleshooting#ads-not-displayed">Ads Not Displayed</a> for more information. You can also try other ad networks.
 
 
 
 
 
 
 
 
225
 
226
  = What is GDPR? =
227
 
276
  **Your decision will be respected.**
277
 
278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  == Screenshots ==
280
 
281
  1. Settings for one code block (Before content).
299
 
300
  == Changelog ==
301
 
302
+ = 2.4.14 =
303
+ - Fix for ROTATE shortcodes with option name identical to block name
304
+ - Fix for possible conflict with output buffering in other plugins
305
+ - Few minor bug fixes, cosmetic changes and code improvements
306
+
307
  = 2.4.13 =
308
  - Added shortcode to disable ad blocking detection code
309
  - Added options to disable ad blocking actions for administrators or logged in users
402
 
403
  == Upgrade Notice ==
404
 
405
+ = 2.4.14 =
406
+ Fix for ROTATE shortcodes with option name identical to block name;
407
+ Fix for possible conflict with output buffering in other plugins;
408
+ Few minor bug fixes, cosmetic changes and code improvements
409
+
410
  = 2.4.13 =
411
  Added shortcode to disable ad blocking detection code;
412
  Added options to disable ad blocking actions for administrators or logged in users;
settings.php CHANGED
@@ -1965,11 +1965,12 @@ function generate_settings_form (){
1965
 
1966
  <div style="float: left;">
1967
  <div style="min-width: 130px; display: inline-block;">
1968
- <input onclick="if (confirm('<?php _e ('Are you sure you want to reset all settings?', 'ad-inserter'); ?>')) return true; return false;" name="<?php echo AI_FORM_CLEAR; ?>" value="<?php _e ('Reset All Settings', 'ad-inserter'); ?>" type="submit" style="display: none; min-width:125px; font-weight: bold; color: #e44;" />
1969
  </div>
1970
  <?php if (function_exists ('ai_settings_global_actions')) ai_settings_global_actions (); ?>
1971
 
1972
  <?php if (function_exists ('ai_settings_global_buttons')) ai_settings_global_buttons (); ?>
 
1973
  <?php if (defined ('AI_ADSENSE_API')) : ?>
1974
  <?php if (defined ('AI_ADSENSE_AUTHORIZATION_CODE')) : ?>
1975
  <span style="vertical-align: top; margin-left: 5px;">
@@ -1977,6 +1978,7 @@ function generate_settings_form (){
1977
  </span>
1978
  <?php endif; ?>
1979
  <?php endif; ?>
 
1980
  <?php if (!is_multisite() || is_main_site () ) : ?>
1981
  <span style="vertical-align: top; margin-left: 5px;">
1982
  <label id="ai-ads-txt" class="checkbox-button iab-ads-txt" title="<?php _e ('Edit ads.txt file', 'ad-inserter'); ?>" ><span class="checkbox-icon icon-ads-txt"></span></label>
@@ -3215,33 +3217,46 @@ function ads_txt_container () {
3215
  <span style="vertical-align: middle; float: left;">
3216
  <input id="ads-txt-search" type="text" value="" size="40" maxlength="40" />
3217
  </span>
 
3218
  <span style="float: right;">
3219
  <span id="ads-txt-reload" class="checkbox-button dashicons dashicons-download" title="<?php _e ('Reload ads.txt file', 'ad-inserter'); ?>"></span>
3220
  </span>
 
3221
  <span style="margin-right: 10px; float: right;">
3222
  <label class="checkbox-button iab-ads-txt" title="<?php /* translators: %s: ads.txt */ echo sprintf (__('Open %s', 'ad-inserter'), home_url ('/') . 'ads.txt'); ?>" onclick="window.open('<?php echo home_url ('/'); ?>ads.txt')"><span class="checkbox-icon icon-ads-txt"></span></label>
3223
  </span>
 
3224
  <span style="margin-right: 10px; float: right;">
3225
  <span id="ads-txt-table" class="checkbox-button dashicons dashicons-editor-justify on" title="<?php _e ('Switch to table view', 'ad-inserter'); ?>"></span>
3226
  </span>
 
3227
  <span style="margin-right: 10px; float: right;">
3228
  <span id="ads-txt-editor" class="checkbox-button dashicons dashicons-edit" title="<?php _e ('Switch to editor', 'ad-inserter'); ?>"></span>
3229
  </span>
 
3230
  <span style="margin-right: 10px; float: right;">
3231
  <span id="ads-txt-save" class="checkbox-button dashicons dashicons-external" style="display: none;" title="<?php _e ('Save ads.txt file', 'ad-inserter'); ?>"></span>
3232
  </span>
 
 
3233
  <div style="clear: both;"></div>
3234
  </div>
 
3235
  <div id="ads-txt-error" style="margin: 0 0 8px; color: red;"></div>
 
3236
  <div id="ads-txt-data">
3237
  <?php _e ('Loading...', 'ad-inserter'); ?>
3238
  </div>
3239
  </div>
3240
  <?php
3241
  }
 
 
3242
  function ads_txt ($action) {
3243
  global $block_object;
 
3244
  $block_ads = array ();
 
3245
  for ($block = 1; $block <= 96 + 3; $block ++) {
3246
  switch ($block) {
3247
  case 96 + 1:
@@ -3258,6 +3273,7 @@ function ads_txt ($action) {
3258
  break;
3259
  }
3260
  $block_code = $obj->get_ad_data ();
 
3261
  // data-ad-client="ca-pub-3118622027477755"
3262
  if (preg_match_all ('#data-ad-client\s*=\s*"(.+?)"#', $block_code, $adsense_matches)) {
3263
  foreach ($adsense_matches [1] as $adsense_match) {
@@ -3275,6 +3291,7 @@ function ads_txt ($action) {
3275
  }
3276
  }
3277
  }
 
3278
  // google_ad_client = "ca-pub-3118622027477755";
3279
  if (preg_match_all ('#google_ad_client\s*=\s*"(.+?)"#', $block_code, $adsense_matches)) {
3280
  foreach ($adsense_matches [1] as $adsense_match) {
@@ -3293,7 +3310,9 @@ function ads_txt ($action) {
3293
  }
3294
  }
3295
  }
 
3296
  $ads_txt_file = ABSPATH . 'ads.txt';
 
3297
  if (file_exists ($ads_txt_file)) {
3298
  $ads = file_get_contents ($ads_txt_file);
3299
  } else {
@@ -3302,24 +3321,32 @@ function ads_txt ($action) {
3302
  $action = 'text';
3303
  }
3304
  }
 
3305
  $ads_lines = explode ("\n", $ads);
 
3306
  $rows = array ();
3307
  foreach ($ads_lines as $ads_line) {
3308
  if (trim ($ads_line) == '') continue;
 
3309
  $ads_data = explode ('#', str_replace (array ("\r", ' '), '', $ads_line));
3310
  $ads_elements = explode (',', $ads_data [0]);
 
3311
  if (count ($ads_elements) == 0) continue;
 
3312
  $found = false;
3313
  foreach ($block_ads as $index => $block_ad) {
3314
  if (!isset ($ads_elements [1])) continue;
 
3315
  if ($block_ad ['ads_data'][1] == $ads_elements [1]) {
3316
  $found = true;
3317
  $block_ads [$index]['found'] = true;
3318
  break;
3319
  }
3320
  }
 
3321
  $rows []= array ('ads_elements' => $ads_elements, 'status' => $found ? 'F' : '');
3322
  }
 
3323
  $missing_lines = array ();
3324
  foreach ($block_ads as $block_ad) {
3325
  if (!$block_ad ['found']) {
@@ -3327,6 +3354,7 @@ function ads_txt ($action) {
3327
  $missing_lines []= implode (', ', $block_ad ['ads_data']);
3328
  }
3329
  }
 
3330
  $search_text = isset ($_GET ["search"]) ? trim ($_GET ["search"]) : '';
3331
  if ($search_text != '') $search_array = explode (' ', $search_text); else $search_array = array ();
3332
  foreach ($rows as $index => $row) {
@@ -3338,6 +3366,7 @@ function ads_txt ($action) {
3338
  }
3339
  }
3340
  }
 
3341
  if (site_url ('', 'relative') != '') {
3342
  $right_ads_txt_url = str_replace (site_url ('', 'relative'), '', home_url ('/')) . 'ads.txt';
3343
  echo '<div class="rounded">';
@@ -3346,11 +3375,13 @@ function ads_txt ($action) {
3346
  echo '<div>', __('Showing file', 'ad-inserter'), ' ', $ads_txt_file, '</div>';
3347
  echo '</div>';
3348
  }
 
3349
  if (!file_exists ($ads_txt_file)) {
3350
  echo '<div id="ads-txt-missing" class="rounded">';
3351
  echo '<div><strong><span style="color: red;">', __('Warning', 'ad-inserter'), ':</span> ', sprintf (__('File %s not found', 'ad-inserter'), $ads_txt_file), '</div>';
3352
  echo '</div>';
3353
  }
 
3354
  switch ($action) {
3355
  case 'text':
3356
  if (count ($missing_lines)) {
@@ -3363,8 +3394,10 @@ function ads_txt ($action) {
3363
  echo '<textarea id="ads-txt-text" style="width: 100%; height: 700px; font-family: monospace, Courier, \'Courier New\'; font-size: 12px;">';
3364
  echo $ads;
3365
  echo '</textarea>';
 
3366
  break;
3367
  case 'table':
 
3368
  ?>
3369
  <table id="ads-txt-table" class="exceptions" cellspacing=0 cellpadding=0 style="width: 100%;">
3370
  <thead>
@@ -3377,10 +3410,13 @@ function ads_txt ($action) {
3377
  </thead>
3378
  <tbody>
3379
  <?php
 
3380
  $row_counter = 0;
3381
  foreach ($rows as $row) {
3382
  $row_counter ++;
 
3383
  $ads_elements = $row ['ads_elements'];
 
3384
  switch ($row ['status']) {
3385
  case 'F':
3386
  $row_color = $row_counter % 2 == 0 ? '#D4FFD8' : '#CDF7D1';
@@ -3395,12 +3431,15 @@ function ads_txt ($action) {
3395
  $title = '';
3396
  break;
3397
  }
 
3398
  $variable = count ($ads_elements) == 1 && strpos ($ads_elements [0], '=') !== false;
 
3399
  if (isset ($ads_elements [3])) {
3400
  if (strlen ($ads_elements [3]) == 16) {
3401
  $element3 = '<a href="https://tag-members-prod.herokuapp.com/registry/lookup?q='.$ads_elements [3].'" class="simple-link" style="color: #021b79;" target="_blank">'.$ads_elements [3] .'</a>';
3402
  } else $element3 = $ads_elements [3];
3403
  } else $element3 = '';
 
3404
  ?>
3405
  <tr style="background: <?php echo $row_color; ?>" title="<?php echo $title; ?>">
3406
  <td style="padding-right: 10px;<?php echo $variable ? ' color: #3959ff;' : ''; ?>" <?php echo $variable ? ' colspan="4"' : ''; ?>>
@@ -3433,10 +3472,12 @@ function ads_txt ($action) {
3433
  if (isset ($_POST ['text'])) {
3434
  @file_put_contents ($ads_txt_file, @base64_decode ($_POST ['text']));
3435
  }
 
3436
  break;
3437
  }
3438
  }
3439
 
 
3440
  function code_block_list () {
3441
  global $block_object, $wpdb, $ai_db_options_extract;
3442
 
1965
 
1966
  <div style="float: left;">
1967
  <div style="min-width: 130px; display: inline-block;">
1968
+ <input onclick="if (confirm('<?php _e ('Are you sure you want to reset all settings?', 'ad-inserter'); ?>')) return true; return false;" name="<?php echo AI_FORM_CLEAR; ?>" value="<?php _e ('Reset All Settings', 'ad-inserter'); ?>" type="submit" style="display: none; min-width:125px; font-weight: bold; color: #e44;" />
1969
  </div>
1970
  <?php if (function_exists ('ai_settings_global_actions')) ai_settings_global_actions (); ?>
1971
 
1972
  <?php if (function_exists ('ai_settings_global_buttons')) ai_settings_global_buttons (); ?>
1973
+
1974
  <?php if (defined ('AI_ADSENSE_API')) : ?>
1975
  <?php if (defined ('AI_ADSENSE_AUTHORIZATION_CODE')) : ?>
1976
  <span style="vertical-align: top; margin-left: 5px;">
1978
  </span>
1979
  <?php endif; ?>
1980
  <?php endif; ?>
1981
+
1982
  <?php if (!is_multisite() || is_main_site () ) : ?>
1983
  <span style="vertical-align: top; margin-left: 5px;">
1984
  <label id="ai-ads-txt" class="checkbox-button iab-ads-txt" title="<?php _e ('Edit ads.txt file', 'ad-inserter'); ?>" ><span class="checkbox-icon icon-ads-txt"></span></label>
3217
  <span style="vertical-align: middle; float: left;">
3218
  <input id="ads-txt-search" type="text" value="" size="40" maxlength="40" />
3219
  </span>
3220
+
3221
  <span style="float: right;">
3222
  <span id="ads-txt-reload" class="checkbox-button dashicons dashicons-download" title="<?php _e ('Reload ads.txt file', 'ad-inserter'); ?>"></span>
3223
  </span>
3224
+
3225
  <span style="margin-right: 10px; float: right;">
3226
  <label class="checkbox-button iab-ads-txt" title="<?php /* translators: %s: ads.txt */ echo sprintf (__('Open %s', 'ad-inserter'), home_url ('/') . 'ads.txt'); ?>" onclick="window.open('<?php echo home_url ('/'); ?>ads.txt')"><span class="checkbox-icon icon-ads-txt"></span></label>
3227
  </span>
3228
+
3229
  <span style="margin-right: 10px; float: right;">
3230
  <span id="ads-txt-table" class="checkbox-button dashicons dashicons-editor-justify on" title="<?php _e ('Switch to table view', 'ad-inserter'); ?>"></span>
3231
  </span>
3232
+
3233
  <span style="margin-right: 10px; float: right;">
3234
  <span id="ads-txt-editor" class="checkbox-button dashicons dashicons-edit" title="<?php _e ('Switch to editor', 'ad-inserter'); ?>"></span>
3235
  </span>
3236
+
3237
  <span style="margin-right: 10px; float: right;">
3238
  <span id="ads-txt-save" class="checkbox-button dashicons dashicons-external" style="display: none;" title="<?php _e ('Save ads.txt file', 'ad-inserter'); ?>"></span>
3239
  </span>
3240
+
3241
+
3242
  <div style="clear: both;"></div>
3243
  </div>
3244
+
3245
  <div id="ads-txt-error" style="margin: 0 0 8px; color: red;"></div>
3246
+
3247
  <div id="ads-txt-data">
3248
  <?php _e ('Loading...', 'ad-inserter'); ?>
3249
  </div>
3250
  </div>
3251
  <?php
3252
  }
3253
+
3254
+
3255
  function ads_txt ($action) {
3256
  global $block_object;
3257
+
3258
  $block_ads = array ();
3259
+
3260
  for ($block = 1; $block <= 96 + 3; $block ++) {
3261
  switch ($block) {
3262
  case 96 + 1:
3273
  break;
3274
  }
3275
  $block_code = $obj->get_ad_data ();
3276
+
3277
  // data-ad-client="ca-pub-3118622027477755"
3278
  if (preg_match_all ('#data-ad-client\s*=\s*"(.+?)"#', $block_code, $adsense_matches)) {
3279
  foreach ($adsense_matches [1] as $adsense_match) {
3291
  }
3292
  }
3293
  }
3294
+
3295
  // google_ad_client = "ca-pub-3118622027477755";
3296
  if (preg_match_all ('#google_ad_client\s*=\s*"(.+?)"#', $block_code, $adsense_matches)) {
3297
  foreach ($adsense_matches [1] as $adsense_match) {
3310
  }
3311
  }
3312
  }
3313
+
3314
  $ads_txt_file = ABSPATH . 'ads.txt';
3315
+
3316
  if (file_exists ($ads_txt_file)) {
3317
  $ads = file_get_contents ($ads_txt_file);
3318
  } else {
3321
  $action = 'text';
3322
  }
3323
  }
3324
+
3325
  $ads_lines = explode ("\n", $ads);
3326
+
3327
  $rows = array ();
3328
  foreach ($ads_lines as $ads_line) {
3329
  if (trim ($ads_line) == '') continue;
3330
+
3331
  $ads_data = explode ('#', str_replace (array ("\r", ' '), '', $ads_line));
3332
  $ads_elements = explode (',', $ads_data [0]);
3333
+
3334
  if (count ($ads_elements) == 0) continue;
3335
+
3336
  $found = false;
3337
  foreach ($block_ads as $index => $block_ad) {
3338
  if (!isset ($ads_elements [1])) continue;
3339
+
3340
  if ($block_ad ['ads_data'][1] == $ads_elements [1]) {
3341
  $found = true;
3342
  $block_ads [$index]['found'] = true;
3343
  break;
3344
  }
3345
  }
3346
+
3347
  $rows []= array ('ads_elements' => $ads_elements, 'status' => $found ? 'F' : '');
3348
  }
3349
+
3350
  $missing_lines = array ();
3351
  foreach ($block_ads as $block_ad) {
3352
  if (!$block_ad ['found']) {
3354
  $missing_lines []= implode (', ', $block_ad ['ads_data']);
3355
  }
3356
  }
3357
+
3358
  $search_text = isset ($_GET ["search"]) ? trim ($_GET ["search"]) : '';
3359
  if ($search_text != '') $search_array = explode (' ', $search_text); else $search_array = array ();
3360
  foreach ($rows as $index => $row) {
3366
  }
3367
  }
3368
  }
3369
+
3370
  if (site_url ('', 'relative') != '') {
3371
  $right_ads_txt_url = str_replace (site_url ('', 'relative'), '', home_url ('/')) . 'ads.txt';
3372
  echo '<div class="rounded">';
3375
  echo '<div>', __('Showing file', 'ad-inserter'), ' ', $ads_txt_file, '</div>';
3376
  echo '</div>';
3377
  }
3378
+
3379
  if (!file_exists ($ads_txt_file)) {
3380
  echo '<div id="ads-txt-missing" class="rounded">';
3381
  echo '<div><strong><span style="color: red;">', __('Warning', 'ad-inserter'), ':</span> ', sprintf (__('File %s not found', 'ad-inserter'), $ads_txt_file), '</div>';
3382
  echo '</div>';
3383
  }
3384
+
3385
  switch ($action) {
3386
  case 'text':
3387
  if (count ($missing_lines)) {
3394
  echo '<textarea id="ads-txt-text" style="width: 100%; height: 700px; font-family: monospace, Courier, \'Courier New\'; font-size: 12px;">';
3395
  echo $ads;
3396
  echo '</textarea>';
3397
+
3398
  break;
3399
  case 'table':
3400
+
3401
  ?>
3402
  <table id="ads-txt-table" class="exceptions" cellspacing=0 cellpadding=0 style="width: 100%;">
3403
  <thead>
3410
  </thead>
3411
  <tbody>
3412
  <?php
3413
+
3414
  $row_counter = 0;
3415
  foreach ($rows as $row) {
3416
  $row_counter ++;
3417
+
3418
  $ads_elements = $row ['ads_elements'];
3419
+
3420
  switch ($row ['status']) {
3421
  case 'F':
3422
  $row_color = $row_counter % 2 == 0 ? '#D4FFD8' : '#CDF7D1';
3431
  $title = '';
3432
  break;
3433
  }
3434
+
3435
  $variable = count ($ads_elements) == 1 && strpos ($ads_elements [0], '=') !== false;
3436
+
3437
  if (isset ($ads_elements [3])) {
3438
  if (strlen ($ads_elements [3]) == 16) {
3439
  $element3 = '<a href="https://tag-members-prod.herokuapp.com/registry/lookup?q='.$ads_elements [3].'" class="simple-link" style="color: #021b79;" target="_blank">'.$ads_elements [3] .'</a>';
3440
  } else $element3 = $ads_elements [3];
3441
  } else $element3 = '';
3442
+
3443
  ?>
3444
  <tr style="background: <?php echo $row_color; ?>" title="<?php echo $title; ?>">
3445
  <td style="padding-right: 10px;<?php echo $variable ? ' color: #3959ff;' : ''; ?>" <?php echo $variable ? ' colspan="4"' : ''; ?>>
3472
  if (isset ($_POST ['text'])) {
3473
  @file_put_contents ($ads_txt_file, @base64_decode ($_POST ['text']));
3474
  }
3475
+
3476
  break;
3477
  }
3478
  }
3479
 
3480
+
3481
  function code_block_list () {
3482
  global $block_object, $wpdb, $ai_db_options_extract;
3483
 
strings.php CHANGED
@@ -179,6 +179,7 @@ define ('DEFAULT_REPORT_HEADER_TITLE', __('Ad Inserter Pro Report', 'ad
179
  define ('DEFAULT_REPORT_HEADER_DESCRIPTION', __('Impressions and clicks', 'ad-inserter'));
180
  define ('DEFAULT_REPORT_FOOTER', AD_INSERTER_NAME . ' '. __('Advanced WordPress Ad Management Plugin', 'ad-inserter') . ' https://adinserter.pro/');
181
 
 
182
  global $ai_admin_translations, $ai_front_translations, $wp_version;
183
 
184
  $ai_admin_translations = array (
179
  define ('DEFAULT_REPORT_HEADER_DESCRIPTION', __('Impressions and clicks', 'ad-inserter'));
180
  define ('DEFAULT_REPORT_FOOTER', AD_INSERTER_NAME . ' '. __('Advanced WordPress Ad Management Plugin', 'ad-inserter') . ' https://adinserter.pro/');
181
 
182
+
183
  global $ai_admin_translations, $ai_front_translations, $wp_version;
184
 
185
  $ai_admin_translations = array (