Optimize Database after Deleting Revisions - Version 4.1.1

Version Description

[01/17/2016] = * CHANGE: Use can use the 'Delete revisions older than' AND 'Keep max number of revisions' options at the same time!

Download this release

Release Info

Developer cageehv
Plugin Icon 128x128 Optimize Database after Deleting Revisions
Version 4.1.1
Comparing to
See all releases

Code changes from version 4.1 to 4.1.1

classes/odb-cleaner.php CHANGED
@@ -62,15 +62,24 @@ class ODB_Cleaner
62
  /****************************************************************************************
63
  * DELETE REVISIONS
64
  ****************************************************************************************/
65
-
66
- // FIND REVISIONS
67
- $results = $this->odb_get_revisions();
68
-
69
- $total_deleted = 0;
70
- if(count($results)>0)
71
- { // WE HAVE REVISIONS TO DELETE!
72
- if(!$scheduler)
73
- {
 
 
 
 
 
 
 
 
 
74
  ?>
75
  <table border="0" cellspacing="8" cellpadding="2" class="odb-result-table">
76
  <tr>
@@ -85,37 +94,38 @@ class ODB_Cleaner
85
  <th align="left" class="odb-border-bottom"><?php _e('revision date', $odb_class->odb_txt_domain);?></th>
86
  <th align="right" class="odb-border-bottom"><?php _e('revisions deleted', $odb_class->odb_txt_domain);?></th>
87
  </tr>
88
- <?php
89
- } // if(!$scheduler)
90
-
91
- // LOOP THROUGH THE REVISIONS AND DELETE THEM
92
- $total_deleted = $this->odb_delete_revisions($results, $scheduler);
93
-
94
- if(!$scheduler)
95
- {
96
- ?>
97
  <tr>
98
  <td colspan="4" align="right" class="odb-border-top odb-bold"><?php _e('total number of revisions deleted', $odb_class->odb_txt_domain);?></td>
99
  <td align="right" class="odb-border-top odb-bold"><?php echo $total_deleted?></td>
100
  </tr>
101
  </table>
102
- <?php
103
- } // if(!$scheduler)
104
- }
105
- else
106
- { if(!$scheduler)
107
- {
108
- ?>
109
  <div class="odb-not-found">
110
  <?php _e('No REVISIONS found to delete', $odb_class->odb_txt_domain);?>
111
  </div>
112
- <?php
113
- } // if(!$scheduler)
114
- } // if(count($results)>0)
115
-
116
- // NUMBER OF DELETED REVISIONS FOR LOG FILE
117
- $odb_class->log_arr["revisions"] = $total_deleted;
118
-
 
119
 
120
  /****************************************************************************************
121
  * DELETE TRASHED ITEMS
@@ -523,86 +533,142 @@ class ODB_Cleaner
523
 
524
 
525
  /********************************************************************************************
526
- * GET REVISIONS
527
  ********************************************************************************************/
528
- function odb_get_revisions()
529
  {
530
- global $odb_class, $wpdb;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
531
 
532
- $res_arr = array();
533
 
534
- if($odb_class->odb_rvg_options['revision_mode'] == 1)
535
- { // MAX NUMBER OF REVISIONS TO KEEP
536
- $max_revisions = $odb_class->odb_rvg_options['nr_of_revisions'];
537
-
538
- $index = 0;
539
- for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
540
- { $sql = sprintf ("
541
- SELECT `post_parent`, `post_title`, COUNT(*) cnt
542
- FROM %sposts
543
- WHERE `post_type` = 'revision'
544
- GROUP BY `post_parent`
545
- HAVING COUNT(*) > %d
546
- ORDER BY UCASE(`post_title`)
547
- ", $odb_class->odb_ms_prefixes[$i], $max_revisions);
548
- $res = $wpdb->get_results($sql, ARRAY_A);
549
-
550
- for($j=0; $j<count($res); $j++)
551
- { if(isset($res[$j]))
552
- { $res_arr[$index] = $res[$j];
553
- $res_arr[$index]['site'] = $odb_class->odb_ms_prefixes[$i];
554
- $index++;
555
- }
556
- } // for($j=0; $j<count($res); $j++)
557
- } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
558
  }
559
- else
560
- { // DELETE REVISIONS OLDER THAN x DAYS
561
- $older_than = $odb_class->odb_rvg_options['older_than'];
562
 
563
- $index = 0;
564
- for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
565
- { $sql = sprintf("
566
- SELECT `ID`, `post_parent`, `post_title`, `post_modified`
567
- FROM %sposts
568
- WHERE `post_type` = 'revision'
569
- AND `post_modified` < date_sub(now(), INTERVAL %d DAY)
570
- ORDER BY UCASE(`post_title`)
571
- ", $odb_class->odb_ms_prefixes[$i], $older_than);
572
- $res = $wpdb->get_results($sql, ARRAY_A);
573
-
574
- for($j=0; $j<count($res); $j++)
575
- { if(isset($res[$j]))
576
- { $res_arr[$index] = $res[$j];
577
- $res_arr[$index]['site'] = $odb_class->odb_ms_prefixes[$i];
578
- $index++;
579
- }
580
- }
581
- }
582
- } // if($odb_class->odb_rvg_options['revision_mode'] == 1)
583
 
584
- return $res_arr;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
585
 
586
- } // odb_get_revisions()
 
 
 
 
 
 
 
 
 
 
 
 
587
 
588
 
589
  /********************************************************************************************
590
  * DELETE THE REVISIONS
591
  ********************************************************************************************/
592
- function odb_delete_revisions($results, $scheduler)
593
  {
594
  global $odb_class, $wpdb;
595
 
596
  $total_deleted = 0;
597
  $nr = 1;
598
-
599
- if($odb_class->odb_rvg_options['revision_mode'] == 1)
600
- {
601
- // KEEP A MAX NUMBER OF REVISIONS
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
602
  $max_revisions = $odb_class->odb_rvg_options['nr_of_revisions'];
603
-
604
  for($i=0; $i<count($results); $i++)
605
- { $nr_to_delete = $results[$i]['cnt'] - $max_revisions;
606
  $total_deleted += $nr_to_delete;
607
 
608
  if (!$scheduler)
@@ -618,10 +684,11 @@ class ODB_Cleaner
618
  $sql_get_posts = sprintf( "
619
  SELECT `ID`, `post_modified`
620
  FROM %sposts
621
- WHERE `post_parent`=%d
622
- AND `post_type`='revision'
623
  ORDER BY `post_modified` ASC
624
- ", $results[$i]['site'], $results[$i]['post_parent']);
 
625
  $results_get_posts = $wpdb->get_results($sql_get_posts);
626
 
627
  for($j=0; $j<$nr_to_delete; $j++)
@@ -632,6 +699,7 @@ class ODB_Cleaner
632
  DELETE FROM %sposts
633
  WHERE `ID` = %d
634
  ", $results[$i]['site'], $results_get_posts[$j]->ID);
 
635
  $wpdb->get_results($sql_delete);
636
 
637
  } // for($j=0; $j<$nr_to_delete; $j++)
@@ -640,48 +708,15 @@ class ODB_Cleaner
640
  if(!$scheduler)
641
  {
642
  ?></td>
643
- <td align="right" valign="top" class="odb-bold"><?php echo $nr_to_delete?></td>
644
  </tr>
645
  <?php
646
  } // if(!$scheduler)
647
  } // for($i=0; $i<count($results); $i++)
648
- }
649
- else
650
- { // DELETE REVISIONS OLDER THAN x DAYS
651
- $older_than = $odb_class->odb_rvg_options['older_than'];
652
- $total_deleted = count($results);
653
-
654
- for($i=0; $i<count($results); $i++)
655
- {
656
- if (!$scheduler)
657
- {
658
- ?>
659
- <tr>
660
- <td align="right" valign="top"><?php echo $nr?> <?php echo $results[$i]['ID']?>.</td>
661
- <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
662
- <td valign="top" class="odb-bold"><?php echo $results[$i]['post_title']?></td>
663
- <td valign="top" valign="top"><?php echo $results[$i]['post_modified']?></td><?php
664
- } // if (!$scheduler)
665
-
666
- $sql_delete = sprintf ("
667
- DELETE FROM %sposts
668
- WHERE `ID` = %d
669
- ", $results[$i]['site'], $results[$i]['ID']);
670
- $wpdb->get_results($sql_delete);
671
-
672
- $nr++;
673
- if(!$scheduler)
674
- {
675
- ?>
676
- <td align="right" valign="top" class="odb-bold">1</td>
677
- </tr>
678
- <?php
679
- } // if(!$scheduler)
680
- } // for($i=0; $i<count($results); $i++)
681
- } // if($odb_class->odb_rvg_options['revision_mode'] == 1)
682
-
683
- return $total_deleted;
684
- } // odb_delete_revisions()
685
 
686
 
687
  /********************************************************************************************
62
  /****************************************************************************************
63
  * DELETE REVISIONS
64
  ****************************************************************************************/
65
+ if($odb_class->odb_rvg_options['delete_older'] == 'Y' || $odb_class->odb_rvg_options['keep_revisions'] == 'Y')
66
+ {
67
+ // FIND REVISIONS
68
+ $results_older_than = array();
69
+ if($odb_class->odb_rvg_options['delete_older'] == 'Y')
70
+ { $results_older_than = $this->odb_get_revisions_older_than();
71
+ }
72
+
73
+ $results_keep_revisions = array();
74
+ if($odb_class->odb_rvg_options['keep_revisions'] == 'Y')
75
+ { $results_keep_revisions = $this->odb_get_revisions_keep_revisions();
76
+ }
77
+
78
+ $total_deleted = 0;
79
+ if(count($results_older_than) > 0 || count($results_keep_revisions) > 0)
80
+ { // WE HAVE REVISIONS TO DELETE!
81
+ if(!$scheduler)
82
+ {
83
  ?>
84
  <table border="0" cellspacing="8" cellpadding="2" class="odb-result-table">
85
  <tr>
94
  <th align="left" class="odb-border-bottom"><?php _e('revision date', $odb_class->odb_txt_domain);?></th>
95
  <th align="right" class="odb-border-bottom"><?php _e('revisions deleted', $odb_class->odb_txt_domain);?></th>
96
  </tr>
97
+ <?php
98
+ } // if(!$scheduler)
99
+
100
+ // LOOP THROUGH THE REVISIONS AND DELETE THEM
101
+ $total_deleted = $this->odb_delete_revisions($scheduler);
102
+
103
+ if(!$scheduler)
104
+ {
105
+ ?>
106
  <tr>
107
  <td colspan="4" align="right" class="odb-border-top odb-bold"><?php _e('total number of revisions deleted', $odb_class->odb_txt_domain);?></td>
108
  <td align="right" class="odb-border-top odb-bold"><?php echo $total_deleted?></td>
109
  </tr>
110
  </table>
111
+ <?php
112
+ } // if(!$scheduler)
113
+ }
114
+ else
115
+ { if(!$scheduler)
116
+ {
117
+ ?>
118
  <div class="odb-not-found">
119
  <?php _e('No REVISIONS found to delete', $odb_class->odb_txt_domain);?>
120
  </div>
121
+ <?php
122
+ } // if(!$scheduler)
123
+ } // if(count($results)>0)
124
+
125
+ // NUMBER OF DELETED REVISIONS FOR LOG FILE
126
+ $odb_class->log_arr["revisions"] = $total_deleted;
127
+ } // if($odb_class->odb_rvg_options['delete_older'] == 'Y' || $odb_class->odb_rvg_options['keep_revisions'] == 'Y')
128
+
129
 
130
  /****************************************************************************************
131
  * DELETE TRASHED ITEMS
533
 
534
 
535
  /********************************************************************************************
536
+ * GET REVISIONS (OLDER THAN x DAYS)
537
  ********************************************************************************************/
538
+ function odb_get_revisions_older_than()
539
  {
540
+ global $odb_class, $wpdb;
541
+
542
+ $res_arr = array();
543
+
544
+ $older_than = $odb_class->odb_rvg_options['older_than'];
545
+
546
+ $index = 0;
547
+
548
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
549
+ { $sql = sprintf("
550
+ SELECT `ID`, `post_parent`, `post_title`, `post_modified`
551
+ FROM %sposts
552
+ WHERE `post_type` = 'revision'
553
+ AND `post_modified` < date_sub(now(), INTERVAL %d DAY)
554
+ ORDER BY UCASE(`post_title`)
555
+ ", $odb_class->odb_ms_prefixes[$i], $older_than);
556
 
557
+ $res = $wpdb->get_results($sql, ARRAY_A);
558
 
559
+ for($j=0; $j<count($res); $j++)
560
+ { if(isset($res[$j]))
561
+ { $res_arr[$index] = $res[$j];
562
+ $res_arr[$index]['site'] = $odb_class->odb_ms_prefixes[$i];
563
+ $index++;
564
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
565
  }
566
+ } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
 
 
567
 
568
+ return $res_arr;
569
+ } // odb_get_revisions_older_than()
570
+
571
+
572
+ /********************************************************************************************
573
+ * GET REVISIONS (KEEP MAX NUMBER OF REVISIONS)
574
+ ********************************************************************************************/
575
+ function odb_get_revisions_keep_revisions()
576
+ {
577
+ global $odb_class, $wpdb;
 
 
 
 
 
 
 
 
 
 
578
 
579
+ $res_arr = array();
580
+
581
+ // MAX NUMBER OF REVISIONS TO KEEP
582
+ $max_revisions = $odb_class->odb_rvg_options['nr_of_revisions'];
583
+
584
+ $index = 0;
585
+
586
+ // SKIP REVISIONS THAT WILL BE DELETED BY THE 'OLDER THAN' OPTION
587
+ $where = '';
588
+ if($odb_class->odb_rvg_options['delete_older'] == 'Y')
589
+ { $older_than = $odb_class->odb_rvg_options['older_than'];
590
+ $where = 'AND `post_modified` >= date_sub(now(), INTERVAL '.$older_than.' DAY)';
591
+ }
592
+
593
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
594
+ { $sql = sprintf ("
595
+ SELECT `post_parent`, `post_title`, COUNT(*) cnt
596
+ FROM %sposts
597
+ WHERE `post_type` = 'revision'
598
+ %s
599
+ GROUP BY `post_parent`
600
+ HAVING COUNT(*) > %d
601
+ ORDER BY UCASE(`post_title`)
602
+ ", $odb_class->odb_ms_prefixes[$i], $where, $max_revisions);
603
 
604
+ $res = $wpdb->get_results($sql, ARRAY_A);
605
+
606
+ for($j=0; $j<count($res); $j++)
607
+ { if(isset($res[$j]))
608
+ { $res_arr[$index] = $res[$j];
609
+ $res_arr[$index]['site'] = $odb_class->odb_ms_prefixes[$i];
610
+ $index++;
611
+ }
612
+ } // for($j=0; $j<count($res); $j++)
613
+ } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
614
+
615
+ return $res_arr;
616
+ } // odb_get_revisions_keep_revisions()
617
 
618
 
619
  /********************************************************************************************
620
  * DELETE THE REVISIONS
621
  ********************************************************************************************/
622
+ function odb_delete_revisions($scheduler)
623
  {
624
  global $odb_class, $wpdb;
625
 
626
  $total_deleted = 0;
627
  $nr = 1;
628
+
629
+ if($odb_class->odb_rvg_options['delete_older'] == 'Y')
630
+ { // DELETE REVISIONS OLDER THAN x DAYS
631
+ $results = $this->odb_get_revisions_older_than();
632
+ $older_than = $odb_class->odb_rvg_options['older_than'];
633
+ $total_deleted += count($results);
634
+
635
+ for($i=0; $i<count($results); $i++)
636
+ {
637
+ if (!$scheduler)
638
+ {
639
+ ?>
640
+ <tr>
641
+ <td align="right" valign="top"><?php echo $nr?>.</td>
642
+ <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
643
+ <td valign="top" class="odb-bold"><?php echo $results[$i]['post_title']?></td>
644
+ <td valign="top" class="odb-bold"><?php echo $results[$i]['post_modified']?></td><?php
645
+ } // if (!$scheduler)
646
+
647
+ $sql_delete = sprintf ("
648
+ DELETE FROM %sposts
649
+ WHERE `ID` = %d
650
+ ", $results[$i]['site'], $results[$i]['ID']);
651
+
652
+ $wpdb->get_results($sql_delete);
653
+
654
+ $nr++;
655
+ if(!$scheduler)
656
+ {
657
+ ?>
658
+ <td align="right" valign="top" class="odb-bold">1</td>
659
+ </tr>
660
+ <?php
661
+ } // if(!$scheduler)
662
+ } // for($i=0; $i<count($results); $i++)
663
+ } // if($odb_class->odb_rvg_options['delete_older'] == 'Y')
664
+
665
+ if($odb_class->odb_rvg_options['keep_revisions'] == 'Y')
666
+ { // KEEP MAX NUMBER OF REVISIONS
667
+ $results = $this->odb_get_revisions_keep_revisions();
668
  $max_revisions = $odb_class->odb_rvg_options['nr_of_revisions'];
669
+
670
  for($i=0; $i<count($results); $i++)
671
+ { $nr_to_delete = $results[$i]['cnt'] - $max_revisions;
672
  $total_deleted += $nr_to_delete;
673
 
674
  if (!$scheduler)
684
  $sql_get_posts = sprintf( "
685
  SELECT `ID`, `post_modified`
686
  FROM %sposts
687
+ WHERE `post_parent` = %d
688
+ AND `post_type` = 'revision'
689
  ORDER BY `post_modified` ASC
690
+ ", $results[$i]['site'], $results[$i]['post_parent']);
691
+
692
  $results_get_posts = $wpdb->get_results($sql_get_posts);
693
 
694
  for($j=0; $j<$nr_to_delete; $j++)
699
  DELETE FROM %sposts
700
  WHERE `ID` = %d
701
  ", $results[$i]['site'], $results_get_posts[$j]->ID);
702
+
703
  $wpdb->get_results($sql_delete);
704
 
705
  } // for($j=0; $j<$nr_to_delete; $j++)
708
  if(!$scheduler)
709
  {
710
  ?></td>
711
+ <td align="right" valign="top" class="odb-bold"><?php echo $nr_to_delete?> <?php _e('of', $odb_class->odb_txt_domain)?> <?php echo $results[$i]['cnt'];?></td>
712
  </tr>
713
  <?php
714
  } // if(!$scheduler)
715
  } // for($i=0; $i<count($results); $i++)
716
+ } // if($odb_class->odb_rvg_options['keep_revisions'] == 'Y')
717
+
718
+ return $total_deleted;
719
+ } // function odb_delete_revisions()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
 
721
 
722
  /********************************************************************************************
classes/odb-displayer.php CHANGED
@@ -57,12 +57,12 @@ class ODB_Displayer
57
  <br><br>
58
  ';
59
 
60
- if($odb_class->odb_rvg_options['revision_mode'] == 1)
61
- { echo '<span class="odb-bold">'.__('Maximum number of - most recent - revisions to keep per post / page', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$odb_class->odb_rvg_options['nr_of_revisions'].'</span><br />';
62
- }
63
- else
64
  { echo '<span class="odb-bold">'.__('Delete revisions older than', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$odb_class->odb_rvg_options['older_than'].' '.__("days", $odb_class->odb_txt_domain).'</span><br />';
65
  }
 
 
 
66
 
67
  echo '
68
  <span class="odb-bold">'.__('Delete trashed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trash.'</span><br />
57
  <br><br>
58
  ';
59
 
60
+ if($odb_class->odb_rvg_options['delete_older'] == 'Y')
 
 
 
61
  { echo '<span class="odb-bold">'.__('Delete revisions older than', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$odb_class->odb_rvg_options['older_than'].' '.__("days", $odb_class->odb_txt_domain).'</span><br />';
62
  }
63
+ if($odb_class->odb_rvg_options['keep_revisions'] == 'Y')
64
+ { echo '<span class="odb-bold">'.__('Maximum number of - most recent - revisions to keep per post / page', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$odb_class->odb_rvg_options['nr_of_revisions'].'</span><br />';
65
+ }
66
 
67
  echo '
68
  <span class="odb-bold">'.__('Delete trashed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trash.'</span><br />
includes/settings-page.php CHANGED
@@ -19,18 +19,17 @@ if (isset($_POST['info_update']))
19
 
20
  // var_dump($_POST);
21
 
22
- $this->odb_rvg_options['revision_mode'] = sanitize_text_field($_POST['rvg_odb_revision_mode']);
 
23
 
24
- if($this->odb_rvg_options['revision_mode'] == 1)
25
- { // NUMBER OF POSTS TO KEEP
26
- $this->odb_rvg_options['nr_of_revisions'] = sanitize_text_field($_POST['rvg_odb_number']);
27
- $this->odb_rvg_options['older_than'] = '';
28
- }
29
- else
30
- { // OLDER THAN x DAYS
31
- $this->odb_rvg_options['nr_of_revisions'] = '';
32
- $this->odb_rvg_options['older_than'] = sanitize_text_field($_POST['rvg_odb_older_than']);
33
- }
34
 
35
  if(isset($_POST['rvg_clear_trash'])) $this->odb_rvg_options['clear_trash'] = sanitize_text_field($_POST['rvg_clear_trash']);
36
  else $this->odb_rvg_options['clear_trash'] = 'N';
@@ -86,8 +85,6 @@ if (isset($_POST['info_update']))
86
  else $this->odb_rvg_options['optimize_innodb'] = 'N';
87
 
88
  $this->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $this->odb_rvg_options);
89
-
90
- // var_dump($this->odb_rvg_options);
91
 
92
  // UPDATE EXCLUDED TABLES
93
  // EMPTY ARRAY
@@ -109,19 +106,24 @@ if (isset($_POST['info_update']))
109
  } // if (isset($_POST['info_update']))
110
  ?>
111
  <script type="text/javascript">
112
- function rvg_odb_revision_mode_changed()
113
- { var mode = jQuery('input[name=rvg_odb_revision_mode]:checked').val();
114
- if(mode == 1)
115
- { // NUMBER OF REVISIONS SELECTED
116
- jQuery("#rvg_odb_older_than").val("");
117
  jQuery("#rvg_odb_older_than").prop('disabled', true);
118
- jQuery("#rvg_odb_number").prop('disabled', false);
119
  }
120
  else
121
- { // NUMBER OF DAYS SELECTED
 
 
 
 
 
 
122
  jQuery("#rvg_odb_number").val("");
123
- jQuery("#rvg_odb_number").prop('disabled', true);
124
- jQuery("#rvg_odb_older_than").prop('disabled', false);
 
125
  }
126
  }
127
  function schedule_changed()
@@ -132,23 +134,8 @@ function schedule_changed()
132
  }
133
  function rvg_odb_check_form()
134
  {
135
- var mode = jQuery('input[name=rvg_odb_revision_mode]:checked').val();
136
- if(mode == 1)
137
- { // NUMBER OF REVISIONS SELECTED
138
- if(jQuery("#rvg_odb_number").val() == '')
139
- { jQuery("#rvg_odb_number").focus();
140
- alert('<?php _e("You have to enter the maximum number of revisions", $this->odb_txt_domain)?>');
141
- return false;
142
- }
143
- if(!jQuery.isNumeric(jQuery("#rvg_odb_number").val()))
144
- { jQuery("#rvg_odb_number").focus();
145
- alert('<?php _e("Maximum number of revisions should be a number", $this->odb_txt_domain)?>');
146
- return false;
147
- }
148
- }
149
- else
150
- { // NUMBER OF DAYS SELECTED
151
- if(jQuery("#rvg_odb_older_than").val() == '')
152
  { jQuery("#rvg_odb_older_than").focus();
153
  alert('<?php _e("You have to enter: ",$this->odb_txt_domain)?> <'+'<?php _e("Delete revisions older than",$this->odb_txt_domain)?>'+'>');
154
  return false;
@@ -157,6 +144,19 @@ function rvg_odb_check_form()
157
  { jQuery("#rvg_odb_older_than").focus();
158
  alert('<?php _e("<Delete revisions older than> should be a number", $this->odb_txt_domain)?>');
159
  return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  }
161
  }
162
 
@@ -164,12 +164,14 @@ function rvg_odb_check_form()
164
  }
165
  </script>
166
  <?php
167
- if(!isset($this->odb_rvg_options['revision_mode'])) $this->odb_rvg_options['revision_mode'] = "1";
168
  // CHECKBOXES
169
  $c = ' checked';
170
  $d = ' disabled';
171
- $cb_disabled1 = ($this->odb_rvg_options['revision_mode'] == "2") ? $d : '';
172
- $cb_disabled2 = ($this->odb_rvg_options['revision_mode'] == "1") ? $d : '';
 
 
 
173
  $cb_trash = ($this->odb_rvg_options['clear_trash'] == "Y") ? $c : '';
174
  $cb_spam = ($this->odb_rvg_options['clear_spam'] == "Y") ? $c : '';
175
  $cb_tags = ($this->odb_rvg_options['clear_tags'] == "Y") ? $c : '';
@@ -195,43 +197,33 @@ echo '
195
  <h2>'.__('Settings',$this->odb_txt_domain).'</h2>
196
  </div>
197
  <table border="0" cellspacing="2" cellpadding="5" class="editform" align="center">
198
- <tr>
199
- <td width="50%" align="right" valign="top"><span class="odb-bold">'.__('Maximum number of - most recent - revisions<br>to keep per post / page',$this->odb_txt_domain).'</span></td>
200
- <td width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="3">
201
- <tr>
202
- <td><span class="odb-bold">
203
- <input name="rvg_odb_revision_mode" type="radio" id="rvg_odb_revision_mode1" value="1" onchange="rvg_odb_revision_mode_changed();">
204
- </span></td>
205
- <td><input type="text" size="2" name="rvg_odb_number" id="rvg_odb_number" value="'.$this->odb_rvg_options['nr_of_revisions'].'" class="odb-bold odb-blue"'.$cb_disabled1.'>
206
- &nbsp; <em>'.__('(\'0\' means: delete <u>ALL</u> revisions)',$this->odb_txt_domain).'</em></td>
207
- </tr>
208
- </table></td>
209
- </tr>
210
- ';
211
- if($this->odb_rvg_options['revision_mode'] == 1) echo '<script type="text/javascript">jQuery("#rvg_odb_revision_mode1").prop("checked", true)</script>';
212
- echo '
213
- <tr>
214
- <td width="50%" align="right" valign="top"><span class="odb-bold">
215
- --- '. __('OR',$this->odb_txt_domain).' ---
216
- </span></td>
217
- <td width="50%" valign="top">&nbsp;</td>
218
- </tr>
219
  <tr>
220
  <td width="50%" align="right"><span class="odb-bold">'. __('Delete revisions older than',$this->odb_txt_domain).'</span></td>
221
  <td width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="3">
222
  <tr>
223
  <td><span class="odb-bold">
224
- <input type="radio" name="rvg_odb_revision_mode" id="rvg_odb_revision_mode2" value="2" onchange="rvg_odb_revision_mode_changed();"></span></td>
225
- <td><input type="text" size="2" name="rvg_odb_older_than" id="rvg_odb_older_than" value="'.$this->odb_rvg_options['older_than'].'" class="odb-bold odb-blue"'.$cb_disabled2.'>&nbsp;&nbsp;'.__("days", $this->odb_txt_domain).'
226
  <script type="text/javascript">
227
  ';
228
- if($this->odb_rvg_options['revision_mode'] == 2) echo 'jQuery("#rvg_odb_revision_mode2").prop("checked", true)';
229
  echo '
230
  jQuery("#rvg_odb_older_than").val("'.$this->odb_rvg_options['older_than'].'");
231
  </script>
232
  </td>
233
  </tr>
234
  </table></td>
 
 
 
 
 
 
 
 
 
 
 
235
  </tr>
236
  <tr>
237
  <td width="50%" align="right" valign="top" class="odb-bold">&nbsp;</td>
19
 
20
  // var_dump($_POST);
21
 
22
+ if(isset($_POST['rvg_odb_delete_older'])) $this->odb_rvg_options['delete_older'] = sanitize_text_field($_POST['rvg_odb_delete_older']);
23
+ else $this->odb_rvg_options['delete_older'] = 'N';
24
 
25
+ if(isset($_POST['rvg_odb_older_than'])) $this->odb_rvg_options['older_than'] = sanitize_text_field($_POST['rvg_odb_older_than']);
26
+ else $this->odb_rvg_options['older_than'] = '';
27
+
28
+ if(isset($_POST['rvg_odb_keep_revisions'])) $this->odb_rvg_options['keep_revisions'] = sanitize_text_field($_POST['rvg_odb_keep_revisions']);
29
+ else $this->odb_rvg_options['keep_revisions'] = 'N';
30
+
31
+ if(isset($_POST['rvg_odb_number'])) $this->odb_rvg_options['nr_of_revisions'] = sanitize_text_field($_POST['rvg_odb_number']);
32
+ else $this->odb_rvg_options['nr_of_revisions'] = '';
 
 
33
 
34
  if(isset($_POST['rvg_clear_trash'])) $this->odb_rvg_options['clear_trash'] = sanitize_text_field($_POST['rvg_clear_trash']);
35
  else $this->odb_rvg_options['clear_trash'] = 'N';
85
  else $this->odb_rvg_options['optimize_innodb'] = 'N';
86
 
87
  $this->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $this->odb_rvg_options);
 
 
88
 
89
  // UPDATE EXCLUDED TABLES
90
  // EMPTY ARRAY
106
  } // if (isset($_POST['info_update']))
107
  ?>
108
  <script type="text/javascript">
109
+ function rvg_odb_delete_older_changed()
110
+ { if(!jQuery('input[name=rvg_odb_delete_older]:checked').val())
111
+ {
 
 
112
  jQuery("#rvg_odb_older_than").prop('disabled', true);
113
+ jQuery("#rvg_odb_older_than").val("");
114
  }
115
  else
116
+ { jQuery("#rvg_odb_older_than").prop('disabled', false);
117
+ }
118
+ }
119
+ function rvg_odb_keep_revisions_changed()
120
+ { if(!jQuery('input[name=rvg_odb_keep_revisions]:checked').val())
121
+ {
122
+ jQuery("#rvg_odb_number").prop('disabled', true);
123
  jQuery("#rvg_odb_number").val("");
124
+ }
125
+ else
126
+ { jQuery("#rvg_odb_number").prop('disabled', false);
127
  }
128
  }
129
  function schedule_changed()
134
  }
135
  function rvg_odb_check_form()
136
  {
137
+ if(jQuery('input[name=rvg_odb_delete_older]:checked').val())
138
+ { if(jQuery("#rvg_odb_older_than").val() == '')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  { jQuery("#rvg_odb_older_than").focus();
140
  alert('<?php _e("You have to enter: ",$this->odb_txt_domain)?> <'+'<?php _e("Delete revisions older than",$this->odb_txt_domain)?>'+'>');
141
  return false;
144
  { jQuery("#rvg_odb_older_than").focus();
145
  alert('<?php _e("<Delete revisions older than> should be a number", $this->odb_txt_domain)?>');
146
  return false;
147
+ }
148
+ }
149
+
150
+ if(jQuery('input[name=rvg_odb_keep_revisions]:checked').val())
151
+ { if(jQuery("#rvg_odb_number").val() == '')
152
+ { jQuery("#rvg_odb_number").focus();
153
+ alert('<?php _e("You have to enter the <Maximum number of revisions>", $this->odb_txt_domain)?>');
154
+ return false;
155
+ }
156
+ if(!jQuery.isNumeric(jQuery("#rvg_odb_number").val()))
157
+ { jQuery("#rvg_odb_number").focus();
158
+ alert('<?php _e("<Maximum number of revisions> should be a number", $this->odb_txt_domain)?>');
159
+ return false;
160
  }
161
  }
162
 
164
  }
165
  </script>
166
  <?php
 
167
  // CHECKBOXES
168
  $c = ' checked';
169
  $d = ' disabled';
170
+
171
+ $cb_delete_older = ($this->odb_rvg_options['delete_older'] == "Y") ? $c : '';
172
+ $cb_keep_revisions = ($this->odb_rvg_options['nr_of_revisions'] != '') ? $c : '';
173
+ $cb_disabled1 = ($this->odb_rvg_options['delete_older'] != "Y") ? $d : '';
174
+ $cb_disabled2 = ($this->odb_rvg_options['keep_revisions'] != "Y") ? $d : '';
175
  $cb_trash = ($this->odb_rvg_options['clear_trash'] == "Y") ? $c : '';
176
  $cb_spam = ($this->odb_rvg_options['clear_spam'] == "Y") ? $c : '';
177
  $cb_tags = ($this->odb_rvg_options['clear_tags'] == "Y") ? $c : '';
197
  <h2>'.__('Settings',$this->odb_txt_domain).'</h2>
198
  </div>
199
  <table border="0" cellspacing="2" cellpadding="5" class="editform" align="center">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  <tr>
201
  <td width="50%" align="right"><span class="odb-bold">'. __('Delete revisions older than',$this->odb_txt_domain).'</span></td>
202
  <td width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="3">
203
  <tr>
204
  <td><span class="odb-bold">
205
+ <input name="rvg_odb_delete_older" id="rvg_odb_delete_older" type="checkbox" value="Y" '.$cb_delete_older.' onchange="rvg_odb_delete_older_changed();" /></span></td>
206
+ <td><input type="text" size="2" name="rvg_odb_older_than" id="rvg_odb_older_than" value="'.$this->odb_rvg_options['older_than'].'" class="odb-bold odb-blue"'.$cb_disabled1.'>&nbsp;&nbsp;'.__("day(s)", $this->odb_txt_domain).'
207
  <script type="text/javascript">
208
  ';
209
+ if($this->odb_rvg_options['older'] == 'Y') echo 'jQuery("#rvg_odb_older").prop("checked", true)';
210
  echo '
211
  jQuery("#rvg_odb_older_than").val("'.$this->odb_rvg_options['older_than'].'");
212
  </script>
213
  </td>
214
  </tr>
215
  </table></td>
216
+ </tr>
217
+ <tr>
218
+ <td width="50%" align="right" valign="top"><span class="odb-bold">'.__('Maximum number of - most recent - revisions<br>to keep per post / page',$this->odb_txt_domain).'</span></td>
219
+ <td width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="3">
220
+ <tr>
221
+ <td><span class="odb-bold">
222
+ <input name="rvg_odb_keep_revisions" id="rvg_odb_keep_revisions" type="checkbox" value="Y" '.$cb_keep_revisions.' onchange="rvg_odb_keep_revisions_changed();" /></span></td>
223
+ <td><input type="text" size="2" name="rvg_odb_number" id="rvg_odb_number" value="'.$this->odb_rvg_options['nr_of_revisions'].'" class="odb-bold odb-blue"'.$cb_disabled2.'>
224
+ &nbsp; <em>'.__('(\'0\' means: delete <u>ALL</u> revisions)',$this->odb_txt_domain).'</em></td>
225
+ </tr>
226
+ </table></td>
227
  </tr>
228
  <tr>
229
  <td width="50%" align="right" valign="top" class="odb-bold">&nbsp;</td>
language/rvg-optimize-database-nl_NL.mo CHANGED
Binary file
language/rvg-optimize-database-nl_NL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v2.8.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-01-12 10:06+0100\n"
6
- "PO-Revision-Date: 2016-01-12 10:06+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: CAGE <info@cagewebdev.com>\n"
9
  "Language: nl_NL\n"
@@ -23,192 +23,196 @@ msgstr ""
23
  msgid "Cleaning Database"
24
  msgstr "Opschonen Database"
25
 
26
- #: classes/odb-cleaner.php:78
27
  msgid "DELETED REVISIONS"
28
  msgstr "VERWIJDERDE REVISIES"
29
 
30
- #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
31
- #: classes/odb-cleaner.php:203
32
  msgid "prefix"
33
  msgstr "prefix"
34
 
35
- #: classes/odb-cleaner.php:84
36
  msgid "post / page"
37
  msgstr "bericht / pagina"
38
 
39
- #: classes/odb-cleaner.php:85
40
  msgid "revision date"
41
  msgstr "revisiedatum"
42
 
43
- #: classes/odb-cleaner.php:86
44
  msgid "revisions deleted"
45
  msgstr "revisies verwijderd"
46
 
47
- #: classes/odb-cleaner.php:98
48
  msgid "total number of revisions deleted"
49
  msgstr "totaal aantal verwijderde revisies"
50
 
51
- #: classes/odb-cleaner.php:110
52
  msgid "No REVISIONS found to delete"
53
  msgstr "Geen REVISIES gevonden om te verwijderen"
54
 
55
- #: classes/odb-cleaner.php:137
56
  msgid "DELETED TRASHED ITEMS"
57
  msgstr "VERWIJDERDE TRASHED ITEMS"
58
 
59
- #: classes/odb-cleaner.php:143
60
  msgid "type"
61
  msgstr "type"
62
 
63
- #: classes/odb-cleaner.php:144
64
  msgid "IP address / title"
65
  msgstr "IP adres / titel"
66
 
67
- #: classes/odb-cleaner.php:145
68
  msgid "date"
69
  msgstr "datum"
70
 
71
- #: classes/odb-cleaner.php:157
72
  msgid "total number of trashed items deleted"
73
  msgstr "totaal aantal verwijderede trashed items"
74
 
75
- #: classes/odb-cleaner.php:170
76
  msgid "No TRASHED ITEMS found to delete"
77
  msgstr "Geen PRULLENBAK ITEMS gevonden om te verwijderen"
78
 
79
- #: classes/odb-cleaner.php:198
80
  msgid "DELETEED SPAMMED ITEMS"
81
  msgstr "VERWIJDERDE SPAMMEND ITEMS"
82
 
83
- #: classes/odb-cleaner.php:204
84
  msgid "comment author"
85
  msgstr "plaatser van de reactie"
86
 
87
- #: classes/odb-cleaner.php:205
88
  msgid "comment author email"
89
  msgstr "email van de plaatser van de reactie"
90
 
91
- #: classes/odb-cleaner.php:206
92
  msgid "comment date"
93
  msgstr "datum van de reactie"
94
 
95
- #: classes/odb-cleaner.php:218
96
  msgid "total number of spammed items deleted"
97
  msgstr "totaal aantal verwijderde spammed items"
98
 
99
- #: classes/odb-cleaner.php:231
100
  msgid "No SPAMMED ITEMS found to delete"
101
  msgstr "Geen SPAM gevonden om te verwijderen"
102
 
103
- #: classes/odb-cleaner.php:256
104
  msgid "NUMBER OF UNUSED TAGS DELETED"
105
  msgstr "AANTAL VERWIJDERDE ONGEBRUIKTE TAGS"
106
 
107
- #: classes/odb-cleaner.php:266
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "Geen ONGEBRUIKTE TAGS gevonden om te verwijderen"
110
 
111
- #: classes/odb-cleaner.php:290
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
114
 
115
- #: classes/odb-cleaner.php:300
116
  msgid "No EXPIRED TRANSIENTS found to delete"
117
  msgstr "Geen VERLOPEN TRANSIËNTS gevonden om te verwijderen"
118
 
119
- #: classes/odb-cleaner.php:324
120
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
121
  msgstr "AANTAL VERWIJDERDE PINGBACKS EN TRACKBACKS"
122
 
123
- #: classes/odb-cleaner.php:334
124
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
125
  msgstr "Geen PINGBACKS en TRACKBACKS gevonden om te verwijderen"
126
 
127
- #: classes/odb-cleaner.php:355
128
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
129
  msgstr "AANTAL VERWIJDERDE POSTMETA WEZEN"
130
 
131
- #: classes/odb-cleaner.php:365
132
  msgid "No POSTMETA ORPHANS found to delete"
133
  msgstr "Geen POSTMETA WEZEN gevonden om te verwijderen"
134
 
135
- #: classes/odb-cleaner.php:393
136
  msgid "Optimizing Database Tables"
137
  msgstr "Optimaliseren van Databasetabellen"
138
 
139
- #: classes/odb-cleaner.php:400
140
  msgid "table name"
141
  msgstr "tabelnaam"
142
 
143
- #: classes/odb-cleaner.php:401
144
  msgid "optimization result"
145
  msgstr "resultaat optimalisatie"
146
 
147
- #: classes/odb-cleaner.php:402
148
  msgid "engine"
149
  msgstr "engine"
150
 
151
- #: classes/odb-cleaner.php:403
152
  msgid "table rows"
153
  msgstr "tabelrijen"
154
 
155
- #: classes/odb-cleaner.php:404
156
  msgid "table size"
157
  msgstr "tabelgrootte"
158
 
159
- #: classes/odb-cleaner.php:452
160
  msgid "Savings"
161
  msgstr "Besparingen"
162
 
163
- #: classes/odb-cleaner.php:459
164
  msgid "size of the database"
165
  msgstr "grootte van de database"
166
 
167
- #: classes/odb-cleaner.php:462
168
  msgid "BEFORE optimization"
169
  msgstr "VOOR de optimalisatie"
170
 
171
- #: classes/odb-cleaner.php:466
172
  msgid "AFTER optimization"
173
  msgstr "NA de optimalisatie"
174
 
175
- #: classes/odb-cleaner.php:470
176
  msgid "SAVINGS THIS TIME"
177
  msgstr "DIT KEER BESPAARD"
178
 
179
- #: classes/odb-cleaner.php:474
180
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
181
  msgstr "TOTALE BESPARING SINDS DE EERSTE UITVOERING"
182
 
183
- #: classes/odb-cleaner.php:501
184
  msgid "DONE!"
185
  msgstr "KLAAR!"
186
 
187
- #: classes/odb-cleaner.php:506
188
  msgid "Optimization took"
189
  msgstr "Optimalizatie duurde"
190
 
191
- #: classes/odb-cleaner.php:506
192
  msgid "seconds"
193
  msgstr "seconden"
194
 
195
- #: classes/odb-cleaner.php:514 classes/odb-displayer.php:142
196
  msgid "View Log File"
197
  msgstr "Bekijk Logbestand"
198
 
199
- #: classes/odb-cleaner.php:516 classes/odb-displayer.php:144
200
  msgid "Delete Log File"
201
  msgstr "Verwijder Logbestand"
202
 
203
- #: classes/odb-cleaner.php:1105
 
 
 
 
204
  msgid "InnoDB table: skipped..."
205
  msgstr "InnoDB tabel overgeslagen..."
206
 
207
- #: classes/odb-cleaner.php:1111 classes/odb-cleaner.php:1113
208
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
209
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
210
 
211
- #: classes/odb-cleaner.php:1112
212
  msgid "Table is already up to date"
213
  msgstr "Tabel is al optimaal"
214
 
@@ -240,7 +244,7 @@ msgstr "DAGELIJKS"
240
  msgid "ONCE WEEKLY"
241
  msgstr "WEKELIJKS"
242
 
243
- #: classes/odb-displayer.php:50 includes/settings-page.php:285
244
  msgid "NOT SCHEDULED"
245
  msgstr "NIET GEPLAND"
246
 
@@ -248,42 +252,42 @@ msgstr "NIET GEPLAND"
248
  msgid "Current settings"
249
  msgstr "Huidige instellingen"
250
 
251
- #: classes/odb-displayer.php:61
252
- msgid "Maximum number of - most recent - revisions to keep per post / page"
253
- msgstr ""
254
- "Maximaal aantal (meest recente) revisies die bewaard worden per bericht / "
255
- "pagina"
256
-
257
- #: classes/odb-displayer.php:64 includes/settings-page.php:150
258
- #: includes/settings-page.php:217
259
  msgid "Delete revisions older than"
260
  msgstr "Verwijder revisies ouder dan"
261
 
262
- #: classes/odb-displayer.php:64 includes/settings-page.php:222
263
  msgid "days"
264
  msgstr "dagen"
265
 
266
- #: classes/odb-displayer.php:68 includes/settings-page.php:239
 
 
 
 
 
 
267
  msgid "Delete trashed items"
268
  msgstr "Verwijder trashed items"
269
 
270
- #: classes/odb-displayer.php:69 includes/settings-page.php:245
271
  msgid "Delete spammed items"
272
  msgstr "Verwijder spammed items"
273
 
274
- #: classes/odb-displayer.php:70 includes/settings-page.php:251
275
  msgid "Delete unused tags"
276
  msgstr "Verwijder ongebruikte tags"
277
 
278
- #: classes/odb-displayer.php:71 includes/settings-page.php:257
279
  msgid "Delete expired transients"
280
  msgstr "Verwijder verlopen transiënts"
281
 
282
- #: classes/odb-displayer.php:72 includes/settings-page.php:263
283
  msgid "Delete pingbacks and trackbacks"
284
  msgstr "Verwijder pingback en trackbacks"
285
 
286
- #: classes/odb-displayer.php:73 includes/settings-page.php:275
287
  msgid "Keep a log"
288
  msgstr "Gebruik een logbestand"
289
 
@@ -296,7 +300,7 @@ msgid "Last run"
296
  msgstr "Laatste uitvoering"
297
 
298
  #: classes/odb-displayer.php:75 classes/odb-displayer.php:84
299
- #: includes/settings-page.php:316
300
  msgid "hrs"
301
  msgstr "uur"
302
 
@@ -304,7 +308,7 @@ msgstr "uur"
304
  msgid "Number of excluded tables"
305
  msgstr "Aantal uitgesloten tabellen"
306
 
307
- #: classes/odb-displayer.php:77 includes/settings-page.php:281
308
  msgid "Scheduler"
309
  msgstr "Planner"
310
 
@@ -359,7 +363,7 @@ msgstr "Donatiepagina"
359
  msgid "Change Settings"
360
  msgstr "Wijzig instellingen"
361
 
362
- #: classes/odb-displayer.php:150
363
  msgid "Start Optimization"
364
  msgstr "Start Optimalisatie"
365
 
@@ -441,76 +445,76 @@ msgstr ""
441
  "Klik <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
442
  "\">HIER</a> om de optimalisatie te starten"
443
 
444
- #: includes/settings-page.php:137
445
- msgid "You have to enter the maximum number of revisions"
446
- msgstr "Je moet een maximaal aantal revisies invullen"
447
-
448
- #: includes/settings-page.php:142
449
- msgid "Maximum number of revisions should be a number"
450
- msgstr "Maximaal aantal revisies moet een getal zijn"
451
-
452
- #: includes/settings-page.php:150
453
  msgid "You have to enter: "
454
  msgstr "Je moet invullen:"
455
 
456
- #: includes/settings-page.php:155
457
  msgid "<Delete revisions older than> should be a number"
458
  msgstr "<Verwijder revisites ouder dan> moet een getal zijn"
459
 
460
- #: includes/settings-page.php:192 rvg-optimize-database.php:379
 
 
 
 
 
 
 
 
461
  msgid "Settings"
462
  msgstr "Instellingen"
463
 
464
- #: includes/settings-page.php:196
 
 
 
 
465
  msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
466
  msgstr ""
467
  "Maximaal aantal - meest recente - revisies<br>om te bewaren per post/pagina"
468
 
469
- #: includes/settings-page.php:203
470
  msgid "('0' means: delete <u>ALL</u> revisions)"
471
  msgstr "('0' betekent: verwijder <u>ALLE</u> revisies)"
472
 
473
- #: includes/settings-page.php:212
474
- msgid "OR"
475
- msgstr "OF"
476
-
477
- #: includes/settings-page.php:269
478
  msgid "Optimize InnoDB tables too"
479
  msgstr "Optimiliseer ook InnoDB tabellen"
480
 
481
- #: includes/settings-page.php:288
482
  msgid "run optimization HOURLY"
483
  msgstr "voer de optimalisatie ELK UUR uit"
484
 
485
- #: includes/settings-page.php:291
486
  msgid "run optimization TWICE A DAY"
487
  msgstr "voer de optimalisatie TWEE KEER PER DAG uit"
488
 
489
- #: includes/settings-page.php:294
490
  msgid "run optimization DAILY"
491
  msgstr "voer de optimalisatie DAGELIJKS uit"
492
 
493
- #: includes/settings-page.php:297
494
  msgid "run optimization WEEKLY"
495
  msgstr "voer de optimalisatie WEKELIJKS uit"
496
 
497
- #: includes/settings-page.php:307
498
  msgid "Time"
499
  msgstr "Tijd"
500
 
501
- #: includes/settings-page.php:331
502
  msgid "Show '1-click' link in Admin Bar"
503
  msgstr "Toon de '1-klik' link in de Admin Balk"
504
 
505
- #: includes/settings-page.php:337
506
  msgid "Show an icon in the Admin Menu"
507
  msgstr "Toon een icon in het Admin Menu"
508
 
509
- #: includes/settings-page.php:342
510
  msgid "change will be visible after loading the next page"
511
  msgstr "wijziging wordt pas zichtbaar na het laden van de volgende pagina"
512
 
513
- #: includes/settings-page.php:346
514
  msgid ""
515
  "EXCLUDE DATABASE TABLES FROM OPTIMIZATION:<br><span class=\"odb-underline-red"
516
  "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
@@ -520,43 +524,52 @@ msgstr ""
520
  "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
521
  "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
522
 
523
- #: includes/settings-page.php:352
524
  msgid "check all tables"
525
  msgstr "vink alle tabellen aan"
526
 
527
- #: includes/settings-page.php:354
528
  msgid "uncheck all tables"
529
  msgstr "vink alle tabellen uit"
530
 
531
- #: includes/settings-page.php:356
532
  msgid "check all NON-WordPress tables"
533
  msgstr "vink alle NIET-WordPress tabellen aan"
534
 
535
- #: includes/settings-page.php:383
536
  msgid "Save Settings"
537
  msgstr "Bewaar instellingen"
538
 
539
- #: includes/settings-page.php:385
540
  msgid "Go To Optimizer"
541
  msgstr "Ga naar Optimalisatie"
542
 
543
  # @ rvg-optimize-database
544
- #: rvg-optimize-database.php:351 rvg-optimize-database.php:352
545
- #: rvg-optimize-database.php:366 rvg-optimize-database.php:367
546
- #: rvg-optimize-database.php:409 rvg-optimize-database.php:410
547
- #: rvg-optimize-database.php:428 rvg-optimize-database.php:429
548
  msgid "Optimize Database"
549
  msgstr "Optimaliseer Database"
550
 
551
  # @ optimize_db
552
- #: rvg-optimize-database.php:396
553
  msgid "Optimize DB (1 click)"
554
  msgstr "Optimaliseer DB (1 klik)"
555
 
556
- #: rvg-optimize-database.php:529
557
  msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
558
  msgstr "Optimize Database after Deleting Revisions LOGBESTAND VERWIJDERD"
559
 
 
 
 
 
 
 
 
 
 
560
  #~ msgid ""
561
  #~ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
562
  #~ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> "
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v2.8.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-01-16 15:55+0100\n"
6
+ "PO-Revision-Date: 2016-01-16 15:55+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: CAGE <info@cagewebdev.com>\n"
9
  "Language: nl_NL\n"
23
  msgid "Cleaning Database"
24
  msgstr "Opschonen Database"
25
 
26
+ #: classes/odb-cleaner.php:87
27
  msgid "DELETED REVISIONS"
28
  msgstr "VERWIJDERDE REVISIES"
29
 
30
+ #: classes/odb-cleaner.php:92 classes/odb-cleaner.php:152
31
+ #: classes/odb-cleaner.php:213
32
  msgid "prefix"
33
  msgstr "prefix"
34
 
35
+ #: classes/odb-cleaner.php:93
36
  msgid "post / page"
37
  msgstr "bericht / pagina"
38
 
39
+ #: classes/odb-cleaner.php:94
40
  msgid "revision date"
41
  msgstr "revisiedatum"
42
 
43
+ #: classes/odb-cleaner.php:95
44
  msgid "revisions deleted"
45
  msgstr "revisies verwijderd"
46
 
47
+ #: classes/odb-cleaner.php:107
48
  msgid "total number of revisions deleted"
49
  msgstr "totaal aantal verwijderde revisies"
50
 
51
+ #: classes/odb-cleaner.php:119
52
  msgid "No REVISIONS found to delete"
53
  msgstr "Geen REVISIES gevonden om te verwijderen"
54
 
55
+ #: classes/odb-cleaner.php:147
56
  msgid "DELETED TRASHED ITEMS"
57
  msgstr "VERWIJDERDE TRASHED ITEMS"
58
 
59
+ #: classes/odb-cleaner.php:153
60
  msgid "type"
61
  msgstr "type"
62
 
63
+ #: classes/odb-cleaner.php:154
64
  msgid "IP address / title"
65
  msgstr "IP adres / titel"
66
 
67
+ #: classes/odb-cleaner.php:155
68
  msgid "date"
69
  msgstr "datum"
70
 
71
+ #: classes/odb-cleaner.php:167
72
  msgid "total number of trashed items deleted"
73
  msgstr "totaal aantal verwijderede trashed items"
74
 
75
+ #: classes/odb-cleaner.php:180
76
  msgid "No TRASHED ITEMS found to delete"
77
  msgstr "Geen PRULLENBAK ITEMS gevonden om te verwijderen"
78
 
79
+ #: classes/odb-cleaner.php:208
80
  msgid "DELETEED SPAMMED ITEMS"
81
  msgstr "VERWIJDERDE SPAMMEND ITEMS"
82
 
83
+ #: classes/odb-cleaner.php:214
84
  msgid "comment author"
85
  msgstr "plaatser van de reactie"
86
 
87
+ #: classes/odb-cleaner.php:215
88
  msgid "comment author email"
89
  msgstr "email van de plaatser van de reactie"
90
 
91
+ #: classes/odb-cleaner.php:216
92
  msgid "comment date"
93
  msgstr "datum van de reactie"
94
 
95
+ #: classes/odb-cleaner.php:228
96
  msgid "total number of spammed items deleted"
97
  msgstr "totaal aantal verwijderde spammed items"
98
 
99
+ #: classes/odb-cleaner.php:241
100
  msgid "No SPAMMED ITEMS found to delete"
101
  msgstr "Geen SPAM gevonden om te verwijderen"
102
 
103
+ #: classes/odb-cleaner.php:266
104
  msgid "NUMBER OF UNUSED TAGS DELETED"
105
  msgstr "AANTAL VERWIJDERDE ONGEBRUIKTE TAGS"
106
 
107
+ #: classes/odb-cleaner.php:276
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "Geen ONGEBRUIKTE TAGS gevonden om te verwijderen"
110
 
111
+ #: classes/odb-cleaner.php:300
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
114
 
115
+ #: classes/odb-cleaner.php:310
116
  msgid "No EXPIRED TRANSIENTS found to delete"
117
  msgstr "Geen VERLOPEN TRANSIËNTS gevonden om te verwijderen"
118
 
119
+ #: classes/odb-cleaner.php:334
120
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
121
  msgstr "AANTAL VERWIJDERDE PINGBACKS EN TRACKBACKS"
122
 
123
+ #: classes/odb-cleaner.php:344
124
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
125
  msgstr "Geen PINGBACKS en TRACKBACKS gevonden om te verwijderen"
126
 
127
+ #: classes/odb-cleaner.php:365
128
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
129
  msgstr "AANTAL VERWIJDERDE POSTMETA WEZEN"
130
 
131
+ #: classes/odb-cleaner.php:375
132
  msgid "No POSTMETA ORPHANS found to delete"
133
  msgstr "Geen POSTMETA WEZEN gevonden om te verwijderen"
134
 
135
+ #: classes/odb-cleaner.php:403
136
  msgid "Optimizing Database Tables"
137
  msgstr "Optimaliseren van Databasetabellen"
138
 
139
+ #: classes/odb-cleaner.php:410
140
  msgid "table name"
141
  msgstr "tabelnaam"
142
 
143
+ #: classes/odb-cleaner.php:411
144
  msgid "optimization result"
145
  msgstr "resultaat optimalisatie"
146
 
147
+ #: classes/odb-cleaner.php:412
148
  msgid "engine"
149
  msgstr "engine"
150
 
151
+ #: classes/odb-cleaner.php:413
152
  msgid "table rows"
153
  msgstr "tabelrijen"
154
 
155
+ #: classes/odb-cleaner.php:414
156
  msgid "table size"
157
  msgstr "tabelgrootte"
158
 
159
+ #: classes/odb-cleaner.php:462
160
  msgid "Savings"
161
  msgstr "Besparingen"
162
 
163
+ #: classes/odb-cleaner.php:469
164
  msgid "size of the database"
165
  msgstr "grootte van de database"
166
 
167
+ #: classes/odb-cleaner.php:472
168
  msgid "BEFORE optimization"
169
  msgstr "VOOR de optimalisatie"
170
 
171
+ #: classes/odb-cleaner.php:476
172
  msgid "AFTER optimization"
173
  msgstr "NA de optimalisatie"
174
 
175
+ #: classes/odb-cleaner.php:480
176
  msgid "SAVINGS THIS TIME"
177
  msgstr "DIT KEER BESPAARD"
178
 
179
+ #: classes/odb-cleaner.php:484
180
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
181
  msgstr "TOTALE BESPARING SINDS DE EERSTE UITVOERING"
182
 
183
+ #: classes/odb-cleaner.php:511
184
  msgid "DONE!"
185
  msgstr "KLAAR!"
186
 
187
+ #: classes/odb-cleaner.php:516
188
  msgid "Optimization took"
189
  msgstr "Optimalizatie duurde"
190
 
191
+ #: classes/odb-cleaner.php:516
192
  msgid "seconds"
193
  msgstr "seconden"
194
 
195
+ #: classes/odb-cleaner.php:524 classes/odb-displayer.php:142
196
  msgid "View Log File"
197
  msgstr "Bekijk Logbestand"
198
 
199
+ #: classes/odb-cleaner.php:526 classes/odb-displayer.php:144
200
  msgid "Delete Log File"
201
  msgstr "Verwijder Logbestand"
202
 
203
+ #: classes/odb-cleaner.php:711
204
+ msgid "of"
205
+ msgstr "van"
206
+
207
+ #: classes/odb-cleaner.php:1139
208
  msgid "InnoDB table: skipped..."
209
  msgstr "InnoDB tabel overgeslagen..."
210
 
211
+ #: classes/odb-cleaner.php:1145 classes/odb-cleaner.php:1147
212
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
213
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
214
 
215
+ #: classes/odb-cleaner.php:1146
216
  msgid "Table is already up to date"
217
  msgstr "Tabel is al optimaal"
218
 
244
  msgid "ONCE WEEKLY"
245
  msgstr "WEKELIJKS"
246
 
247
+ #: classes/odb-displayer.php:50 includes/settings-page.php:280
248
  msgid "NOT SCHEDULED"
249
  msgstr "NIET GEPLAND"
250
 
252
  msgid "Current settings"
253
  msgstr "Huidige instellingen"
254
 
255
+ #: classes/odb-displayer.php:61 includes/settings-page.php:140
256
+ #: includes/settings-page.php:201
 
 
 
 
 
 
257
  msgid "Delete revisions older than"
258
  msgstr "Verwijder revisies ouder dan"
259
 
260
+ #: classes/odb-displayer.php:61
261
  msgid "days"
262
  msgstr "dagen"
263
 
264
+ #: classes/odb-displayer.php:64
265
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
266
+ msgstr ""
267
+ "Maximaal aantal (meest recente) revisies die bewaard worden per bericht / "
268
+ "pagina"
269
+
270
+ #: classes/odb-displayer.php:68 includes/settings-page.php:234
271
  msgid "Delete trashed items"
272
  msgstr "Verwijder trashed items"
273
 
274
+ #: classes/odb-displayer.php:69 includes/settings-page.php:240
275
  msgid "Delete spammed items"
276
  msgstr "Verwijder spammed items"
277
 
278
+ #: classes/odb-displayer.php:70 includes/settings-page.php:246
279
  msgid "Delete unused tags"
280
  msgstr "Verwijder ongebruikte tags"
281
 
282
+ #: classes/odb-displayer.php:71 includes/settings-page.php:252
283
  msgid "Delete expired transients"
284
  msgstr "Verwijder verlopen transiënts"
285
 
286
+ #: classes/odb-displayer.php:72 includes/settings-page.php:258
287
  msgid "Delete pingbacks and trackbacks"
288
  msgstr "Verwijder pingback en trackbacks"
289
 
290
+ #: classes/odb-displayer.php:73 includes/settings-page.php:270
291
  msgid "Keep a log"
292
  msgstr "Gebruik een logbestand"
293
 
300
  msgstr "Laatste uitvoering"
301
 
302
  #: classes/odb-displayer.php:75 classes/odb-displayer.php:84
303
+ #: includes/settings-page.php:311
304
  msgid "hrs"
305
  msgstr "uur"
306
 
308
  msgid "Number of excluded tables"
309
  msgstr "Aantal uitgesloten tabellen"
310
 
311
+ #: classes/odb-displayer.php:77 includes/settings-page.php:276
312
  msgid "Scheduler"
313
  msgstr "Planner"
314
 
363
  msgid "Change Settings"
364
  msgstr "Wijzig instellingen"
365
 
366
+ #: classes/odb-displayer.php:151
367
  msgid "Start Optimization"
368
  msgstr "Start Optimalisatie"
369
 
445
  "Klik <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
446
  "\">HIER</a> om de optimalisatie te starten"
447
 
448
+ #: includes/settings-page.php:140
 
 
 
 
 
 
 
 
449
  msgid "You have to enter: "
450
  msgstr "Je moet invullen:"
451
 
452
+ #: includes/settings-page.php:145
453
  msgid "<Delete revisions older than> should be a number"
454
  msgstr "<Verwijder revisites ouder dan> moet een getal zijn"
455
 
456
+ #: includes/settings-page.php:153
457
+ msgid "You have to enter the <Maximum number of revisions>"
458
+ msgstr "Je moet het <Maximaal aantal revisies> invullen"
459
+
460
+ #: includes/settings-page.php:158
461
+ msgid "<Maximum number of revisions> should be a number"
462
+ msgstr "<Maximaal aantal revisies> moet een getal zijn"
463
+
464
+ #: includes/settings-page.php:197 rvg-optimize-database.php:395
465
  msgid "Settings"
466
  msgstr "Instellingen"
467
 
468
+ #: includes/settings-page.php:206
469
+ msgid "day(s)"
470
+ msgstr "dag(en)"
471
+
472
+ #: includes/settings-page.php:218
473
  msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
474
  msgstr ""
475
  "Maximaal aantal - meest recente - revisies<br>om te bewaren per post/pagina"
476
 
477
+ #: includes/settings-page.php:224
478
  msgid "('0' means: delete <u>ALL</u> revisions)"
479
  msgstr "('0' betekent: verwijder <u>ALLE</u> revisies)"
480
 
481
+ #: includes/settings-page.php:264
 
 
 
 
482
  msgid "Optimize InnoDB tables too"
483
  msgstr "Optimiliseer ook InnoDB tabellen"
484
 
485
+ #: includes/settings-page.php:283
486
  msgid "run optimization HOURLY"
487
  msgstr "voer de optimalisatie ELK UUR uit"
488
 
489
+ #: includes/settings-page.php:286
490
  msgid "run optimization TWICE A DAY"
491
  msgstr "voer de optimalisatie TWEE KEER PER DAG uit"
492
 
493
+ #: includes/settings-page.php:289
494
  msgid "run optimization DAILY"
495
  msgstr "voer de optimalisatie DAGELIJKS uit"
496
 
497
+ #: includes/settings-page.php:292
498
  msgid "run optimization WEEKLY"
499
  msgstr "voer de optimalisatie WEKELIJKS uit"
500
 
501
+ #: includes/settings-page.php:302
502
  msgid "Time"
503
  msgstr "Tijd"
504
 
505
+ #: includes/settings-page.php:326
506
  msgid "Show '1-click' link in Admin Bar"
507
  msgstr "Toon de '1-klik' link in de Admin Balk"
508
 
509
+ #: includes/settings-page.php:332
510
  msgid "Show an icon in the Admin Menu"
511
  msgstr "Toon een icon in het Admin Menu"
512
 
513
+ #: includes/settings-page.php:337
514
  msgid "change will be visible after loading the next page"
515
  msgstr "wijziging wordt pas zichtbaar na het laden van de volgende pagina"
516
 
517
+ #: includes/settings-page.php:341
518
  msgid ""
519
  "EXCLUDE DATABASE TABLES FROM OPTIMIZATION:<br><span class=\"odb-underline-red"
520
  "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
524
  "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
525
  "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
526
 
527
+ #: includes/settings-page.php:347
528
  msgid "check all tables"
529
  msgstr "vink alle tabellen aan"
530
 
531
+ #: includes/settings-page.php:349
532
  msgid "uncheck all tables"
533
  msgstr "vink alle tabellen uit"
534
 
535
+ #: includes/settings-page.php:351
536
  msgid "check all NON-WordPress tables"
537
  msgstr "vink alle NIET-WordPress tabellen aan"
538
 
539
+ #: includes/settings-page.php:378
540
  msgid "Save Settings"
541
  msgstr "Bewaar instellingen"
542
 
543
+ #: includes/settings-page.php:380
544
  msgid "Go To Optimizer"
545
  msgstr "Ga naar Optimalisatie"
546
 
547
  # @ rvg-optimize-database
548
+ #: rvg-optimize-database.php:367 rvg-optimize-database.php:368
549
+ #: rvg-optimize-database.php:382 rvg-optimize-database.php:383
550
+ #: rvg-optimize-database.php:425 rvg-optimize-database.php:426
551
+ #: rvg-optimize-database.php:444 rvg-optimize-database.php:445
552
  msgid "Optimize Database"
553
  msgstr "Optimaliseer Database"
554
 
555
  # @ optimize_db
556
+ #: rvg-optimize-database.php:412
557
  msgid "Optimize DB (1 click)"
558
  msgstr "Optimaliseer DB (1 klik)"
559
 
560
+ #: rvg-optimize-database.php:545
561
  msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
562
  msgstr "Optimize Database after Deleting Revisions LOGBESTAND VERWIJDERD"
563
 
564
+ #~ msgid "You have to enter the maximum number of revisions"
565
+ #~ msgstr "Je moet een maximaal aantal revisies invullen"
566
+
567
+ #~ msgid "Maximum number of revisions should be a number"
568
+ #~ msgstr "Maximaal aantal revisies moet een getal zijn"
569
+
570
+ #~ msgid "OR"
571
+ #~ msgstr "OF"
572
+
573
  #~ msgid ""
574
  #~ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
575
  #~ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> "
language/rvg-optimize-database-ru_RU.mo CHANGED
Binary file
language/rvg-optimize-database-ru_RU.po CHANGED
@@ -1,211 +1,218 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Optimize Database after Deleting Revisions v3.4\n"
4
- "POT-Creation-Date: 2015-11-20 17:04+0100\n"
5
- "PO-Revision-Date: 2015-11-20 17:04+0100\n"
 
6
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
7
  "Language-Team: Vadim Sokhin <http://pluginzone.ru>\n"
8
  "Language: ru_RU\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
- "X-Poedit-Basepath: C:\\My Dropbox\\WordPress\\wp-plugins\\rvg-optimize-db\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
 
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
 
 
 
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
  #: classes/odb-cleaner.php:35
20
  msgid "Cleaning Database"
21
  msgstr "Очистка базы данных"
22
 
23
- #: classes/odb-cleaner.php:78
24
  msgid "DELETED REVISIONS"
25
  msgstr "УДАЛЕНИЕ РЕВИЗИЙ"
26
 
27
- #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
28
- #: classes/odb-cleaner.php:203
29
  msgid "prefix"
30
  msgstr "префикс"
31
 
32
- #: classes/odb-cleaner.php:84
33
  msgid "post / page"
34
  msgstr "пост / страница"
35
 
36
- #: classes/odb-cleaner.php:85
37
  msgid "revision date"
38
  msgstr "дата ревизии"
39
 
40
- #: classes/odb-cleaner.php:86
41
  msgid "revisions deleted"
42
  msgstr "удалено ревизий"
43
 
44
- #: classes/odb-cleaner.php:98
45
  msgid "total number of revisions deleted"
46
  msgstr "общее число удалённых ревизий"
47
 
48
- #: classes/odb-cleaner.php:110
49
  msgid "No REVISIONS found to delete"
50
  msgstr "РЕВИЗИЙ для удаления не найдено"
51
 
52
- #: classes/odb-cleaner.php:137
53
  msgid "DELETED TRASHED ITEMS"
54
  msgstr "УДАЛЕНИЕ СОДЕРЖИМОГО КОРЗИНЫ"
55
 
56
- #: classes/odb-cleaner.php:143
57
  msgid "type"
58
  msgstr "тип"
59
 
60
- #: classes/odb-cleaner.php:144
61
  msgid "IP address / title"
62
  msgstr "IP адрес / заголовок"
63
 
64
- #: classes/odb-cleaner.php:145
65
  msgid "date"
66
  msgstr "дата"
67
 
68
- #: classes/odb-cleaner.php:157
69
  msgid "total number of trashed items deleted"
70
  msgstr "общее число удалённых элементов из корзины"
71
 
72
- #: classes/odb-cleaner.php:170
73
  msgid "No TRASHED ITEMS found to delete"
74
  msgstr "В КОРЗИНЕ элементов для удаления не найдено"
75
 
76
- #: classes/odb-cleaner.php:198
77
  msgid "DELETEED SPAMMED ITEMS"
78
  msgstr "УДАЛЕНИЕ ЭЛЕМЕНТОВ СПАМА"
79
 
80
- #: classes/odb-cleaner.php:204
81
  msgid "comment author"
82
  msgstr "автор комментария"
83
 
84
- #: classes/odb-cleaner.php:205
85
  msgid "comment author email"
86
  msgstr "e-mail автора комментария"
87
 
88
- #: classes/odb-cleaner.php:206
89
  msgid "comment date"
90
  msgstr "дата комментария"
91
 
92
- #: classes/odb-cleaner.php:218
93
  msgid "total number of spammed items deleted"
94
  msgstr "общее число удалённых элементов спама"
95
 
96
- #: classes/odb-cleaner.php:231
97
  msgid "No SPAMMED ITEMS found to delete"
98
  msgstr "ЭЛЕМЕНТОВ СПАМА для удаления не найдено"
99
 
100
- #: classes/odb-cleaner.php:256
101
  msgid "NUMBER OF UNUSED TAGS DELETED"
102
  msgstr "ЧИСЛО УДАЛЁННЫХ НЕИСПОЛЬЗУЕМЫХ ТЕГОВ"
103
 
104
- #: classes/odb-cleaner.php:266
105
  msgid "No UNUSED TAGS found to delete"
106
  msgstr "НЕИСПОЛЬЗУЕМЫХ ТЕГОВ для удаления не найдено"
107
 
108
- #: classes/odb-cleaner.php:290
109
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
110
  msgstr "ЧИСЛО УДАЛЁННЫХ ВРЕМЕННЫХ ДАННЫХ"
111
 
112
- #: classes/odb-cleaner.php:300
113
  msgid "No EXPIRED TRANSIENTS found to delete"
114
  msgstr "ВРЕМЕННЫХ ДАННЫХ для удаления не найдено"
115
 
116
- #: classes/odb-cleaner.php:324
117
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
118
  msgstr "ЧИСЛО УДАЛЁННЫХ PINGBACKS И TRACKBACKS"
119
 
120
- #: classes/odb-cleaner.php:334
121
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
122
  msgstr "PINGBACKS и TRACKBACKS для удаления не найдено"
123
 
124
- #: classes/odb-cleaner.php:355
125
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
126
  msgstr "ЧИСЛО УДАЛЁННЫХ ОСИРОТЕВШИХ ПОЛЕЙ"
127
 
128
- #: classes/odb-cleaner.php:365
129
  msgid "No POSTMETA ORPHANS found to delete"
130
  msgstr "ОСИРОТЕВШИХ ПОЛЕЙ для удаления не найдено"
131
 
132
- #: classes/odb-cleaner.php:393
133
  msgid "Optimizing Database Tables"
134
  msgstr "Оптимизация таблиц базы данных"
135
 
136
- #: classes/odb-cleaner.php:400
137
  msgid "table name"
138
  msgstr "имя таблицы"
139
 
140
- #: classes/odb-cleaner.php:401
141
  msgid "optimization result"
142
  msgstr "результат оптимизации"
143
 
144
- #: classes/odb-cleaner.php:402
145
  msgid "engine"
146
  msgstr "система"
147
 
148
- #: classes/odb-cleaner.php:403
149
  msgid "table rows"
150
  msgstr "строк таблицы"
151
 
152
- #: classes/odb-cleaner.php:404
153
  msgid "table size"
154
  msgstr "размер таблицы"
155
 
156
- #: classes/odb-cleaner.php:452
157
  msgid "Savings"
158
  msgstr "Результат"
159
 
160
- #: classes/odb-cleaner.php:459
161
  msgid "size of the database"
162
  msgstr "размер базы данных"
163
 
164
- #: classes/odb-cleaner.php:462
165
  msgid "BEFORE optimization"
166
  msgstr "ДО оптимизации"
167
 
168
- #: classes/odb-cleaner.php:466
169
  msgid "AFTER optimization"
170
  msgstr "ПОСЛЕ оптимизации"
171
 
172
- #: classes/odb-cleaner.php:470
173
  msgid "SAVINGS THIS TIME"
174
  msgstr "СБЕРЕЖЕНО В ЭТОТ РАЗ"
175
 
176
- #: classes/odb-cleaner.php:474
177
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
178
  msgstr "СБЕРЕЖЕНО С МОМЕНТА ПЕРВОГО ЗАПУСКА"
179
 
180
- #: classes/odb-cleaner.php:501
181
  msgid "DONE!"
182
  msgstr "ГОТОВО!"
183
 
184
- #: classes/odb-cleaner.php:506
185
  msgid "Optimization took"
186
  msgstr "Оптимизировано за"
187
 
188
- #: classes/odb-cleaner.php:506
189
  msgid "seconds"
190
  msgstr "секунд"
191
 
192
- #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
193
  msgid "View Log File"
194
  msgstr "Просмотр журнала"
195
 
196
- #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
197
  msgid "Delete Log File"
198
  msgstr "Удалить журнал"
199
 
200
- #: classes/odb-cleaner.php:1043
 
 
 
 
201
  msgid "InnoDB table: skipped..."
202
  msgstr "InnoDB таблицы: пропущено..."
203
 
204
- #: classes/odb-cleaner.php:1049
205
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
206
  msgstr "<span class=\"odb-optimized\">ТАБЛИЦА ОПТИМИЗИРОВАНА</span>"
207
 
208
- #: classes/odb-cleaner.php:1050
209
  msgid "Table is already up to date"
210
  msgstr "Оптимизация не требуется"
211
 
@@ -217,131 +224,145 @@ msgstr "ДА"
217
  msgid "NO"
218
  msgstr "НЕТ"
219
 
220
- #: classes/odb-displayer.php:40
221
  msgid "EVERY FIVE MINUTES"
222
- msgstr ""
223
 
224
- #: classes/odb-displayer.php:42
225
  msgid "ONCE HOURLY"
226
  msgstr "ЕЖЕЧАСНО"
227
 
228
- #: classes/odb-displayer.php:44
229
  msgid "TWICE DAILY"
230
  msgstr "ДВАЖДЫ В ДЕНЬ"
231
 
232
- #: classes/odb-displayer.php:46
233
  msgid "ONCE DAILY"
234
  msgstr "РАЗ В ДЕНЬ"
235
 
236
- #: classes/odb-displayer.php:48
237
  msgid "ONCE WEEKLY"
238
  msgstr "РАЗ В НЕДЕЛЮ"
239
 
240
- #: classes/odb-displayer.php:49 includes/settings-page.php:174
241
  msgid "NOT SCHEDULED"
242
  msgstr "НЕ ЗАПЛАНИРОВАНО"
243
 
244
- #: classes/odb-displayer.php:54
245
  msgid "Current settings"
246
  msgstr "Текущие настройки"
247
 
248
- #: classes/odb-displayer.php:57
 
 
 
 
 
 
 
 
 
249
  msgid "Maximum number of - most recent - revisions to keep per post / page"
250
  msgstr ""
251
  "Максимальное число - последних - оставленных ревизий для каждого поста/ "
252
  "страницы"
253
 
254
- #: classes/odb-displayer.php:58 includes/settings-page.php:133
255
  msgid "Delete trashed items"
256
  msgstr "Удалить содержимое корзины"
257
 
258
- #: classes/odb-displayer.php:59 includes/settings-page.php:139
259
  msgid "Delete spammed items"
260
  msgstr "Удалить элементы спама"
261
 
262
- #: classes/odb-displayer.php:60 includes/settings-page.php:145
263
  msgid "Delete unused tags"
264
  msgstr "Удалить неиспользуемые теги"
265
 
266
- #: classes/odb-displayer.php:61 includes/settings-page.php:151
267
  msgid "Delete expired transients"
268
  msgstr "Удалить временные данные с истёкшим сроком"
269
 
270
- #: classes/odb-displayer.php:62 includes/settings-page.php:157
271
  msgid "Delete pingbacks and trackbacks"
272
  msgstr "Удалить Pingbacks и Trackbacks"
273
 
274
- #: classes/odb-displayer.php:63 includes/settings-page.php:163
275
  msgid "Keep a log"
276
  msgstr "Вести журнал событий"
277
 
278
- #: classes/odb-displayer.php:64
 
 
 
 
279
  msgid "Last run"
280
- msgstr ""
281
 
282
- #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
283
- #: includes/settings-page.php:208
284
  msgid "hrs"
285
  msgstr "часов"
286
 
287
- #: classes/odb-displayer.php:65
288
  msgid "Number of excluded tables"
289
  msgstr "Число исключённых таблиц"
290
 
291
- #: classes/odb-displayer.php:66 includes/settings-page.php:170
292
  msgid "Scheduler"
293
  msgstr "Планировщик"
294
 
295
- #: classes/odb-displayer.php:73
296
  msgid "Next scheduled run"
297
  msgstr "Следующий запланированный запуск"
298
 
299
- #: classes/odb-displayer.php:73
300
  msgid "current server time"
301
- msgstr ""
302
 
303
- #: classes/odb-displayer.php:78
304
  msgid "Total savings since the first run"
305
  msgstr "Сбережено с момента первого запуска"
306
 
307
- #: classes/odb-displayer.php:95
308
  msgid "Optimize Database after Deleting Revisions"
309
  msgstr "Оптимизация базы данных после удаления ревизий"
310
 
311
- #: classes/odb-displayer.php:98
312
  msgid ""
313
  "A popular 'one-click' plugin to clean and optimize your WordPress database."
314
  msgstr ""
 
315
 
316
- #: classes/odb-displayer.php:101
317
  msgid "Plugin version"
318
- msgstr ""
319
 
320
- #: classes/odb-displayer.php:102
321
  msgid "Plugin page"
322
- msgstr ""
323
 
324
- #: classes/odb-displayer.php:103
325
  msgid "Download page"
326
- msgstr ""
327
 
328
- #: classes/odb-displayer.php:104
329
  msgid "Author"
330
- msgstr ""
331
 
332
- #: classes/odb-displayer.php:105
333
  msgid "Company"
334
- msgstr ""
335
 
336
- #: classes/odb-displayer.php:106
337
  msgid "Donation page"
338
- msgstr ""
339
 
340
- #: classes/odb-displayer.php:124
341
  msgid "Change Settings"
342
  msgstr "Изменить настройки"
343
 
344
- #: classes/odb-displayer.php:139
345
  msgid "Start Optimization"
346
  msgstr "Начать оптимизацию"
347
 
@@ -385,6 +406,7 @@ msgstr "удалённые<br />pingbacks<br />trackbacks"
385
  msgid "deleted<br />orphans"
386
  msgstr "удалённые<br />осиротевшие поля"
387
 
 
388
  #: classes/odb-logger.php:67
389
  msgid "nr of optimized tables"
390
  msgstr "число оптимизированных таблиц"
@@ -401,139 +423,297 @@ msgstr "размер базы данных ПОСЛЕ"
401
  msgid "SAVINGS"
402
  msgstr "СБЕРЕЖЕНО"
403
 
404
- #: classes/odb-scheduler.php:34
 
405
  msgid "Once Weekly"
406
  msgstr "Раз в неделю"
407
 
408
- #: classes/odb-scheduler.php:39
409
  msgid "Every Five Minutes"
410
- msgstr ""
411
 
412
- #: includes/settings-page.php:82
413
  msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
414
  msgstr "НАСТРОЙКИ ОБНОВЛЕНЫ"
415
 
416
- #: includes/settings-page.php:84
417
  msgid ""
418
  "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
419
  "\">HERE</a> to run the optimization"
420
  msgstr ""
 
 
 
 
 
 
 
 
 
 
421
 
422
- #: includes/settings-page.php:120 rvg-optimize-db.php:257
 
 
 
 
 
 
 
 
423
  msgid "Settings"
424
  msgstr "Настройки"
425
 
426
- #: includes/settings-page.php:125
 
 
 
 
427
  msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
428
  msgstr ""
 
429
 
430
- #: includes/settings-page.php:129
431
  msgid "('0' means: delete <u>ALL</u> revisions)"
432
  msgstr "('0' означает: удалить <u>ВСЕ</u> ревизии)"
433
 
434
- #: includes/settings-page.php:184
 
 
 
 
435
  msgid "run optimization HOURLY"
436
  msgstr "Запуск оптимизации ЕЖЕЧАСНО"
437
 
438
- #: includes/settings-page.php:187
439
  msgid "run optimization TWICE A DAY"
440
  msgstr "Запуск оптимизации ДВАЖДЫ В ДЕНЬ"
441
 
442
- #: includes/settings-page.php:190
443
  msgid "run optimization DAILY"
444
  msgstr "Запуск оптимизации ЕЖЕДНЕВНО"
445
 
446
- #: includes/settings-page.php:193
447
  msgid "run optimization WEEKLY"
448
  msgstr "Запуск оптимизации ЕЖЕНЕДЕЛЬНО"
449
 
450
- #: includes/settings-page.php:200
451
  msgid "Time"
452
  msgstr "Время"
453
 
454
- #: includes/settings-page.php:223
455
  msgid "Show '1-click' link in Admin Bar"
456
  msgstr "Показать ссылку '1-клик' в верхней панели администратора"
457
 
458
- #: includes/settings-page.php:226 includes/settings-page.php:233
459
- msgid "(change will be visible after loading the next page)"
460
- msgstr "(Изменения будут видны после обновления страницы)"
461
-
462
- #: includes/settings-page.php:230
463
  msgid "Show an icon in the Admin Menu"
464
  msgstr "Показать иконку в меню администратора"
465
 
466
- #: includes/settings-page.php:239
 
 
 
 
467
  msgid ""
468
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
469
  "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
470
  "OPTIMIZED!</span>"
471
  msgstr ""
472
- "ИСКЛЮЧИТЬ ТАБЛИЦЫ БАЗЫ ДАННЫХ ИЗ ОПТИМИЗАЦИИ: <span class=\"odb-underline-red"
473
- "\">ОТМЕЧЕННЫЕ</span> ТАБЛИЦЫ <span class=\"odb-underline-red\">НЕ БУДУТ</"
474
  "span> ОПТИМИЗИРОВАНЫ!</span>"
475
 
476
- #: includes/settings-page.php:245
477
  msgid "check all tables"
478
  msgstr "Выбрать все таблицы"
479
 
480
- #: includes/settings-page.php:247
481
  msgid "uncheck all tables"
482
  msgstr "Снять выбор - для всех таблиц"
483
 
484
- #: includes/settings-page.php:249
485
  msgid "check all NON-WordPress tables"
486
  msgstr "Выбрать все НЕ-WordPress таблицы"
487
 
488
- #: includes/settings-page.php:276
489
  msgid "Save Settings"
490
  msgstr "Сохранить настройки"
491
 
492
- #: includes/settings-page.php:278
493
  msgid "Go To Optimizer"
494
  msgstr "Приступить к оптимизации"
495
 
496
- #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
497
- #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
498
- #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
 
 
499
  msgid "Optimize Database"
500
  msgstr "Оптимизация БД"
501
 
502
- #: rvg-optimize-db.php:273
 
503
  msgid "Optimize DB (1 click)"
504
  msgstr "Оптимизация БД (1-клик)"
505
 
506
- #: rvg-optimize-db.php:451
507
  msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
508
- msgstr ""
 
 
 
 
 
 
 
 
 
509
 
510
  #~ msgid ""
511
- #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
512
- #~ "\">HERE</a> to run the optimization"
 
513
  #~ msgstr ""
514
- #~ "Кликните <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
515
- #~ "\">ЗДЕСЬ</a> для перехода к запуску оптимизации"
 
516
 
517
- #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
518
- #~ msgstr "плагин для очистки и оптимизации базы данных WordPress в один клик"
 
 
 
 
 
 
519
 
520
  #~ msgid ""
521
  #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
522
  #~ msgstr ""
523
- #~ "Максимальное число - последних - ревизий<br />оставленных для поста/ "
524
- #~ "страницы"
 
 
 
 
 
 
 
525
 
 
 
 
 
 
 
526
  #~ msgid "Optimize your WordPress Database"
527
- #~ msgstr "Оптимизация базы данных WordPress"
528
 
529
  #~ msgid "Plugin version:"
530
- #~ msgstr "Версия плагина:"
531
 
532
  #~ msgid "Author:"
533
- #~ msgstr "Автор:"
534
 
535
  #~ msgid "Plugin URL:"
536
- #~ msgstr "URL плагина:"
537
 
538
  #~ msgid "Download URL:"
539
- #~ msgstr "URL загрузки:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Optimize Database after Deleting Revisions v4.1.1\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-01-24 14:15+0100\n"
6
+ "PO-Revision-Date: 2016-01-24 14:16+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: Vadim Sokhin <http://pluginzone.ru>\n"
9
  "Language: ru_RU\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
 
 
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 1.7.4\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ./..\n"
19
+ "X-Textdomain-Support: yes\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  #: classes/odb-cleaner.php:35
23
  msgid "Cleaning Database"
24
  msgstr "Очистка базы данных"
25
 
26
+ #: classes/odb-cleaner.php:87
27
  msgid "DELETED REVISIONS"
28
  msgstr "УДАЛЕНИЕ РЕВИЗИЙ"
29
 
30
+ #: classes/odb-cleaner.php:92 classes/odb-cleaner.php:152
31
+ #: classes/odb-cleaner.php:213
32
  msgid "prefix"
33
  msgstr "префикс"
34
 
35
+ #: classes/odb-cleaner.php:93
36
  msgid "post / page"
37
  msgstr "пост / страница"
38
 
39
+ #: classes/odb-cleaner.php:94
40
  msgid "revision date"
41
  msgstr "дата ревизии"
42
 
43
+ #: classes/odb-cleaner.php:95
44
  msgid "revisions deleted"
45
  msgstr "удалено ревизий"
46
 
47
+ #: classes/odb-cleaner.php:107
48
  msgid "total number of revisions deleted"
49
  msgstr "общее число удалённых ревизий"
50
 
51
+ #: classes/odb-cleaner.php:119
52
  msgid "No REVISIONS found to delete"
53
  msgstr "РЕВИЗИЙ для удаления не найдено"
54
 
55
+ #: classes/odb-cleaner.php:147
56
  msgid "DELETED TRASHED ITEMS"
57
  msgstr "УДАЛЕНИЕ СОДЕРЖИМОГО КОРЗИНЫ"
58
 
59
+ #: classes/odb-cleaner.php:153
60
  msgid "type"
61
  msgstr "тип"
62
 
63
+ #: classes/odb-cleaner.php:154
64
  msgid "IP address / title"
65
  msgstr "IP адрес / заголовок"
66
 
67
+ #: classes/odb-cleaner.php:155
68
  msgid "date"
69
  msgstr "дата"
70
 
71
+ #: classes/odb-cleaner.php:167
72
  msgid "total number of trashed items deleted"
73
  msgstr "общее число удалённых элементов из корзины"
74
 
75
+ #: classes/odb-cleaner.php:180
76
  msgid "No TRASHED ITEMS found to delete"
77
  msgstr "В КОРЗИНЕ элементов для удаления не найдено"
78
 
79
+ #: classes/odb-cleaner.php:208
80
  msgid "DELETEED SPAMMED ITEMS"
81
  msgstr "УДАЛЕНИЕ ЭЛЕМЕНТОВ СПАМА"
82
 
83
+ #: classes/odb-cleaner.php:214
84
  msgid "comment author"
85
  msgstr "автор комментария"
86
 
87
+ #: classes/odb-cleaner.php:215
88
  msgid "comment author email"
89
  msgstr "e-mail автора комментария"
90
 
91
+ #: classes/odb-cleaner.php:216
92
  msgid "comment date"
93
  msgstr "дата комментария"
94
 
95
+ #: classes/odb-cleaner.php:228
96
  msgid "total number of spammed items deleted"
97
  msgstr "общее число удалённых элементов спама"
98
 
99
+ #: classes/odb-cleaner.php:241
100
  msgid "No SPAMMED ITEMS found to delete"
101
  msgstr "ЭЛЕМЕНТОВ СПАМА для удаления не найдено"
102
 
103
+ #: classes/odb-cleaner.php:266
104
  msgid "NUMBER OF UNUSED TAGS DELETED"
105
  msgstr "ЧИСЛО УДАЛЁННЫХ НЕИСПОЛЬЗУЕМЫХ ТЕГОВ"
106
 
107
+ #: classes/odb-cleaner.php:276
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "НЕИСПОЛЬЗУЕМЫХ ТЕГОВ для удаления не найдено"
110
 
111
+ #: classes/odb-cleaner.php:300
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "ЧИСЛО УДАЛЁННЫХ ВРЕМЕННЫХ ДАННЫХ"
114
 
115
+ #: classes/odb-cleaner.php:310
116
  msgid "No EXPIRED TRANSIENTS found to delete"
117
  msgstr "ВРЕМЕННЫХ ДАННЫХ для удаления не найдено"
118
 
119
+ #: classes/odb-cleaner.php:334
120
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
121
  msgstr "ЧИСЛО УДАЛЁННЫХ PINGBACKS И TRACKBACKS"
122
 
123
+ #: classes/odb-cleaner.php:344
124
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
125
  msgstr "PINGBACKS и TRACKBACKS для удаления не найдено"
126
 
127
+ #: classes/odb-cleaner.php:365
128
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
129
  msgstr "ЧИСЛО УДАЛЁННЫХ ОСИРОТЕВШИХ ПОЛЕЙ"
130
 
131
+ #: classes/odb-cleaner.php:375
132
  msgid "No POSTMETA ORPHANS found to delete"
133
  msgstr "ОСИРОТЕВШИХ ПОЛЕЙ для удаления не найдено"
134
 
135
+ #: classes/odb-cleaner.php:403
136
  msgid "Optimizing Database Tables"
137
  msgstr "Оптимизация таблиц базы данных"
138
 
139
+ #: classes/odb-cleaner.php:410
140
  msgid "table name"
141
  msgstr "имя таблицы"
142
 
143
+ #: classes/odb-cleaner.php:411
144
  msgid "optimization result"
145
  msgstr "результат оптимизации"
146
 
147
+ #: classes/odb-cleaner.php:412
148
  msgid "engine"
149
  msgstr "система"
150
 
151
+ #: classes/odb-cleaner.php:413
152
  msgid "table rows"
153
  msgstr "строк таблицы"
154
 
155
+ #: classes/odb-cleaner.php:414
156
  msgid "table size"
157
  msgstr "размер таблицы"
158
 
159
+ #: classes/odb-cleaner.php:462
160
  msgid "Savings"
161
  msgstr "Результат"
162
 
163
+ #: classes/odb-cleaner.php:469
164
  msgid "size of the database"
165
  msgstr "размер базы данных"
166
 
167
+ #: classes/odb-cleaner.php:472
168
  msgid "BEFORE optimization"
169
  msgstr "ДО оптимизации"
170
 
171
+ #: classes/odb-cleaner.php:476
172
  msgid "AFTER optimization"
173
  msgstr "ПОСЛЕ оптимизации"
174
 
175
+ #: classes/odb-cleaner.php:480
176
  msgid "SAVINGS THIS TIME"
177
  msgstr "СБЕРЕЖЕНО В ЭТОТ РАЗ"
178
 
179
+ #: classes/odb-cleaner.php:484
180
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
181
  msgstr "СБЕРЕЖЕНО С МОМЕНТА ПЕРВОГО ЗАПУСКА"
182
 
183
+ #: classes/odb-cleaner.php:511
184
  msgid "DONE!"
185
  msgstr "ГОТОВО!"
186
 
187
+ #: classes/odb-cleaner.php:516
188
  msgid "Optimization took"
189
  msgstr "Оптимизировано за"
190
 
191
+ #: classes/odb-cleaner.php:516
192
  msgid "seconds"
193
  msgstr "секунд"
194
 
195
+ #: classes/odb-cleaner.php:524 classes/odb-displayer.php:142
196
  msgid "View Log File"
197
  msgstr "Просмотр журнала"
198
 
199
+ #: classes/odb-cleaner.php:526 classes/odb-displayer.php:144
200
  msgid "Delete Log File"
201
  msgstr "Удалить журнал"
202
 
203
+ #: classes/odb-cleaner.php:711
204
+ msgid "of"
205
+ msgstr "от"
206
+
207
+ #: classes/odb-cleaner.php:1139
208
  msgid "InnoDB table: skipped..."
209
  msgstr "InnoDB таблицы: пропущено..."
210
 
211
+ #: classes/odb-cleaner.php:1145 classes/odb-cleaner.php:1147
212
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
213
  msgstr "<span class=\"odb-optimized\">ТАБЛИЦА ОПТИМИЗИРОВАНА</span>"
214
 
215
+ #: classes/odb-cleaner.php:1146
216
  msgid "Table is already up to date"
217
  msgstr "Оптимизация не требуется"
218
 
224
  msgid "NO"
225
  msgstr "НЕТ"
226
 
227
+ #: classes/odb-displayer.php:41
228
  msgid "EVERY FIVE MINUTES"
229
+ msgstr "КАЖДЫЕ ПЯТЬ МИНУТ"
230
 
231
+ #: classes/odb-displayer.php:43
232
  msgid "ONCE HOURLY"
233
  msgstr "ЕЖЕЧАСНО"
234
 
235
+ #: classes/odb-displayer.php:45
236
  msgid "TWICE DAILY"
237
  msgstr "ДВАЖДЫ В ДЕНЬ"
238
 
239
+ #: classes/odb-displayer.php:47
240
  msgid "ONCE DAILY"
241
  msgstr "РАЗ В ДЕНЬ"
242
 
243
+ #: classes/odb-displayer.php:49
244
  msgid "ONCE WEEKLY"
245
  msgstr "РАЗ В НЕДЕЛЮ"
246
 
247
+ #: classes/odb-displayer.php:50 includes/settings-page.php:280
248
  msgid "NOT SCHEDULED"
249
  msgstr "НЕ ЗАПЛАНИРОВАНО"
250
 
251
+ #: classes/odb-displayer.php:55
252
  msgid "Current settings"
253
  msgstr "Текущие настройки"
254
 
255
+ #: classes/odb-displayer.php:61 includes/settings-page.php:140
256
+ #: includes/settings-page.php:201
257
+ msgid "Delete revisions older than"
258
+ msgstr "Удалить ревизии старше"
259
+
260
+ #: classes/odb-displayer.php:61
261
+ msgid "days"
262
+ msgstr "дней"
263
+
264
+ #: classes/odb-displayer.php:64
265
  msgid "Maximum number of - most recent - revisions to keep per post / page"
266
  msgstr ""
267
  "Максимальное число - последних - оставленных ревизий для каждого поста/ "
268
  "страницы"
269
 
270
+ #: classes/odb-displayer.php:68 includes/settings-page.php:234
271
  msgid "Delete trashed items"
272
  msgstr "Удалить содержимое корзины"
273
 
274
+ #: classes/odb-displayer.php:69 includes/settings-page.php:240
275
  msgid "Delete spammed items"
276
  msgstr "Удалить элементы спама"
277
 
278
+ #: classes/odb-displayer.php:70 includes/settings-page.php:246
279
  msgid "Delete unused tags"
280
  msgstr "Удалить неиспользуемые теги"
281
 
282
+ #: classes/odb-displayer.php:71 includes/settings-page.php:252
283
  msgid "Delete expired transients"
284
  msgstr "Удалить временные данные с истёкшим сроком"
285
 
286
+ #: classes/odb-displayer.php:72 includes/settings-page.php:258
287
  msgid "Delete pingbacks and trackbacks"
288
  msgstr "Удалить Pingbacks и Trackbacks"
289
 
290
+ #: classes/odb-displayer.php:73 includes/settings-page.php:270
291
  msgid "Keep a log"
292
  msgstr "Вести журнал событий"
293
 
294
+ #: classes/odb-displayer.php:74
295
+ msgid "Optimize InnoDB tables"
296
+ msgstr "Оптимизировать таблицы InnoDB"
297
+
298
+ #: classes/odb-displayer.php:75
299
  msgid "Last run"
300
+ msgstr "Последний запуск"
301
 
302
+ #: classes/odb-displayer.php:75 classes/odb-displayer.php:84
303
+ #: includes/settings-page.php:311
304
  msgid "hrs"
305
  msgstr "часов"
306
 
307
+ #: classes/odb-displayer.php:76
308
  msgid "Number of excluded tables"
309
  msgstr "Число исключённых таблиц"
310
 
311
+ #: classes/odb-displayer.php:77 includes/settings-page.php:276
312
  msgid "Scheduler"
313
  msgstr "Планировщик"
314
 
315
+ #: classes/odb-displayer.php:84
316
  msgid "Next scheduled run"
317
  msgstr "Следующий запланированный запуск"
318
 
319
+ #: classes/odb-displayer.php:84
320
  msgid "current server time"
321
+ msgstr "Текущее время сервера"
322
 
323
+ #: classes/odb-displayer.php:89
324
  msgid "Total savings since the first run"
325
  msgstr "Сбережено с момента первого запуска"
326
 
327
+ #: classes/odb-displayer.php:106
328
  msgid "Optimize Database after Deleting Revisions"
329
  msgstr "Оптимизация базы данных после удаления ревизий"
330
 
331
+ #: classes/odb-displayer.php:109
332
  msgid ""
333
  "A popular 'one-click' plugin to clean and optimize your WordPress database."
334
  msgstr ""
335
+ "Популярный плагин для очистки и оптимизации базы данных WordPress в '1-клик'."
336
 
337
+ #: classes/odb-displayer.php:112
338
  msgid "Plugin version"
339
+ msgstr "Версия плагина"
340
 
341
+ #: classes/odb-displayer.php:113
342
  msgid "Plugin page"
343
+ msgstr "Страница плагина"
344
 
345
+ #: classes/odb-displayer.php:114
346
  msgid "Download page"
347
+ msgstr "Страница загрузки"
348
 
349
+ #: classes/odb-displayer.php:115
350
  msgid "Author"
351
+ msgstr "Автор"
352
 
353
+ #: classes/odb-displayer.php:116
354
  msgid "Company"
355
+ msgstr "Компания"
356
 
357
+ #: classes/odb-displayer.php:117
358
  msgid "Donation page"
359
+ msgstr "Страница пожертвований"
360
 
361
+ #: classes/odb-displayer.php:135
362
  msgid "Change Settings"
363
  msgstr "Изменить настройки"
364
 
365
+ #: classes/odb-displayer.php:151
366
  msgid "Start Optimization"
367
  msgstr "Начать оптимизацию"
368
 
406
  msgid "deleted<br />orphans"
407
  msgstr "удалённые<br />осиротевшие поля"
408
 
409
+ # @ rvg-optimize-database
410
  #: classes/odb-logger.php:67
411
  msgid "nr of optimized tables"
412
  msgstr "число оптимизированных таблиц"
423
  msgid "SAVINGS"
424
  msgstr "СБЕРЕЖЕНО"
425
 
426
+ # @ default
427
+ #: classes/odb-scheduler.php:39
428
  msgid "Once Weekly"
429
  msgstr "Раз в неделю"
430
 
431
+ #: classes/odb-scheduler.php:44
432
  msgid "Every Five Minutes"
433
+ msgstr "Каждые пять минут"
434
 
435
+ #: includes/settings-page.php:102
436
  msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
437
  msgstr "НАСТРОЙКИ ОБНОВЛЕНЫ"
438
 
439
+ #: includes/settings-page.php:104
440
  msgid ""
441
  "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
442
  "\">HERE</a> to run the optimization"
443
  msgstr ""
444
+ "Кликните <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
445
+ "\">ЗДЕСЬ</a> для старта оптимизации"
446
+
447
+ #: includes/settings-page.php:140
448
+ msgid "You have to enter: "
449
+ msgstr "Необходимо ввести:"
450
+
451
+ #: includes/settings-page.php:145
452
+ msgid "<Delete revisions older than> should be a number"
453
+ msgstr "<Удалить ревизии старше> должно быть число"
454
 
455
+ #: includes/settings-page.php:153
456
+ msgid "You have to enter the <Maximum number of revisions>"
457
+ msgstr "Необходимо ввести <Максимальное число ревизий>"
458
+
459
+ #: includes/settings-page.php:158
460
+ msgid "<Maximum number of revisions> should be a number"
461
+ msgstr "<Максимальное число ревизий> должно быть число"
462
+
463
+ #: includes/settings-page.php:197 rvg-optimize-database.php:395
464
  msgid "Settings"
465
  msgstr "Настройки"
466
 
467
+ #: includes/settings-page.php:206
468
+ msgid "day(s)"
469
+ msgstr "дня (дней)"
470
+
471
+ #: includes/settings-page.php:218
472
  msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
473
  msgstr ""
474
+ "Максимальное число - последних - ревизий<br>оставленных для поста/ страницы"
475
 
476
+ #: includes/settings-page.php:224
477
  msgid "('0' means: delete <u>ALL</u> revisions)"
478
  msgstr "('0' означает: удалить <u>ВСЕ</u> ревизии)"
479
 
480
+ #: includes/settings-page.php:264
481
+ msgid "Optimize InnoDB tables too"
482
+ msgstr "Оптимизировать таблицы InnoDB"
483
+
484
+ #: includes/settings-page.php:283
485
  msgid "run optimization HOURLY"
486
  msgstr "Запуск оптимизации ЕЖЕЧАСНО"
487
 
488
+ #: includes/settings-page.php:286
489
  msgid "run optimization TWICE A DAY"
490
  msgstr "Запуск оптимизации ДВАЖДЫ В ДЕНЬ"
491
 
492
+ #: includes/settings-page.php:289
493
  msgid "run optimization DAILY"
494
  msgstr "Запуск оптимизации ЕЖЕДНЕВНО"
495
 
496
+ #: includes/settings-page.php:292
497
  msgid "run optimization WEEKLY"
498
  msgstr "Запуск оптимизации ЕЖЕНЕДЕЛЬНО"
499
 
500
+ #: includes/settings-page.php:302
501
  msgid "Time"
502
  msgstr "Время"
503
 
504
+ #: includes/settings-page.php:326
505
  msgid "Show '1-click' link in Admin Bar"
506
  msgstr "Показать ссылку '1-клик' в верхней панели администратора"
507
 
508
+ #: includes/settings-page.php:332
 
 
 
 
509
  msgid "Show an icon in the Admin Menu"
510
  msgstr "Показать иконку в меню администратора"
511
 
512
+ #: includes/settings-page.php:337
513
+ msgid "change will be visible after loading the next page"
514
+ msgstr "изменения будут видны после обновления страницы"
515
+
516
+ #: includes/settings-page.php:341
517
  msgid ""
518
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION:<br><span class=\"odb-underline-red"
519
  "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
520
  "OPTIMIZED!</span>"
521
  msgstr ""
522
+ "ИСКЛЮЧИТЬ ТАБЛИЦЫ БАЗЫ ДАННЫХ ИЗ ОПТИМИЗАЦИИ:<br><span class=\"odb-underline-"
523
+ "red\">ОТМЕЧЕННЫЕ</span> ТАБЛИЦЫ <span class=\"odb-underline-red\">НЕ БУДУТ</"
524
  "span> ОПТИМИЗИРОВАНЫ!</span>"
525
 
526
+ #: includes/settings-page.php:347
527
  msgid "check all tables"
528
  msgstr "Выбрать все таблицы"
529
 
530
+ #: includes/settings-page.php:349
531
  msgid "uncheck all tables"
532
  msgstr "Снять выбор - для всех таблиц"
533
 
534
+ #: includes/settings-page.php:351
535
  msgid "check all NON-WordPress tables"
536
  msgstr "Выбрать все НЕ-WordPress таблицы"
537
 
538
+ #: includes/settings-page.php:378
539
  msgid "Save Settings"
540
  msgstr "Сохранить настройки"
541
 
542
+ #: includes/settings-page.php:380
543
  msgid "Go To Optimizer"
544
  msgstr "Приступить к оптимизации"
545
 
546
+ # @ rvg-optimize-database
547
+ #: rvg-optimize-database.php:367 rvg-optimize-database.php:368
548
+ #: rvg-optimize-database.php:382 rvg-optimize-database.php:383
549
+ #: rvg-optimize-database.php:425 rvg-optimize-database.php:426
550
+ #: rvg-optimize-database.php:444 rvg-optimize-database.php:445
551
  msgid "Optimize Database"
552
  msgstr "Оптимизация БД"
553
 
554
+ # @ optimize_db
555
+ #: rvg-optimize-database.php:412
556
  msgid "Optimize DB (1 click)"
557
  msgstr "Оптимизация БД (1-клик)"
558
 
559
+ #: rvg-optimize-database.php:545
560
  msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
561
+ msgstr "ФАЙЛ ЖУРНАЛА БЫЛ УДАЛЁН"
562
+
563
+ #~ msgid "You have to enter the maximum number of revisions"
564
+ #~ msgstr "Je moet een maximaal aantal revisies invullen"
565
+
566
+ #~ msgid "Maximum number of revisions should be a number"
567
+ #~ msgstr "Maximaal aantal revisies moet een getal zijn"
568
+
569
+ #~ msgid "OR"
570
+ #~ msgstr "OF"
571
 
572
  #~ msgid ""
573
+ #~ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
574
+ #~ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> "
575
+ #~ "BE OPTIMIZED!</span>"
576
  #~ msgstr ""
577
+ #~ "SLUIT DE VOLGENDE TABELLEN UIT VAN OPTIMILIZATIE: <span class=\"odb-"
578
+ #~ "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
579
+ #~ "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
580
 
581
+ #~ msgid "(change will be visible after loading the next page)"
582
+ #~ msgstr "(wijziging wordt zichtbaar na het laden van de volgende pagina)"
583
+
584
+ #~ msgid ""
585
+ #~ "A popular one-click plugin to clean and optimize your WordPress database."
586
+ #~ msgstr ""
587
+ #~ "Een populaire 'one-click' plugin om de WordPress database op te schonen "
588
+ #~ "en te optimaliseren."
589
 
590
  #~ msgid ""
591
  #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
592
  #~ msgstr ""
593
+ #~ "Maximale aantal - meest recente - revisies<br />om te bewaren per "
594
+ #~ "bericht / pagina"
595
+
596
+ #~ msgid ""
597
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
598
+ #~ "\">HERE</a> to run the optimization"
599
+ #~ msgstr ""
600
+ #~ "Klik <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
601
+ #~ "\">HIER</a. om de optimalisatie te starten"
602
 
603
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
604
+ #~ msgstr ""
605
+ #~ "is een één-klik plugin om de WordPress database op te schonen en te "
606
+ #~ "optimaliseren"
607
+
608
+ # @ rvg-optimize-database
609
  #~ msgid "Optimize your WordPress Database"
610
+ #~ msgstr "Optimaliseer uw WordPress Database"
611
 
612
  #~ msgid "Plugin version:"
613
+ #~ msgstr "Plugin versie:"
614
 
615
  #~ msgid "Author:"
616
+ #~ msgstr "Auteur:"
617
 
618
  #~ msgid "Plugin URL:"
619
+ #~ msgstr "Plugin URL:"
620
 
621
  #~ msgid "Download URL:"
622
+ #~ msgstr "Download URL:"
623
+
624
+ #~ msgid "Delete all trashed items"
625
+ #~ msgstr "Maak de prullenbak leeg"
626
+
627
+ #~ msgid "Delete all spammed items"
628
+ #~ msgstr "Verwijder alle spam reacties"
629
+
630
+ #~ msgid "Using Optimize Database after Deleting Revisions"
631
+ #~ msgstr "Het gebruik van Optimize Database after Deleting Revisions"
632
+
633
+ #~ msgid "Optimize Database after Deleting Revisions - Settings"
634
+ #~ msgstr "Optimize Database after Deleting Revisions - Instellingen"
635
+
636
+ #~ msgid "Starting Optimization"
637
+ #~ msgstr "Aan het optimaliseren"
638
+
639
+ #~ msgid "DELETING REVISIONS"
640
+ #~ msgstr "REVISIES AAN HET VERWIJDEREN"
641
+
642
+ #~ msgid "DELETING TRASHED ITEMS"
643
+ #~ msgstr "PRULLENBAK AAN HET LEEGMAKEN"
644
+
645
+ #~ msgid "DELETING SPAMMED ITEMS"
646
+ #~ msgstr "SPAM ITEMS AAN HET VERWIJDEREN"
647
+
648
+ #~ msgid "OPTIMIZING DATABASE TABLES"
649
+ #~ msgstr "DATABASETABELLEN AAN HET OPTIMALISEREN"
650
+
651
+ #~ msgid "DONE"
652
+ #~ msgstr "KLAAR"
653
+
654
+ #~ msgid "<strong>TABLE OPTIMIZED</strong>"
655
+ #~ msgstr "<strong>TABEL GEOPTIMALISEERD</strong>"
656
+
657
+ #~ msgid "TABLE OPTIMIZED"
658
+ #~ msgstr "TABEL GEOPTIMALISEERD"
659
+
660
+ #~ msgid "TABLE OPTIMIZED!"
661
+ #~ msgstr "TABEL GEOPTIMALISEERD!"
662
+
663
+ # @ default
664
+ #~ msgid "Optimize DB Options"
665
+ #~ msgstr "Optimaliseer DB Opties"
666
+
667
+ #~ msgid "Optimize Database after Deleting Revisions OPTIONS UPDATED"
668
+ #~ msgstr "Optimize Database after Deleting Revisions OPTIES OPGESLAGEN"
669
+
670
+ #~ msgid ""
671
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" style=\"font-weight:"
672
+ #~ "bold\">HERE</a> to run the optimization"
673
+ #~ msgstr ""
674
+ #~ "Klik <a href=\"tools.php?page=rvg-optimize-db.php\" style=\"font-weight:"
675
+ #~ "bold\">HIER</a> om de optimalisatie te starten"
676
+
677
+ #~ msgid "To start the optimization:"
678
+ #~ msgstr "Om de optimalisatie te starten:"
679
+
680
+ #~ msgid ""
681
+ #~ "<strong>WP Admin Panel</strong> &raquo; <strong>Tools</strong> &raquo; "
682
+ #~ "<strong>Optimize Database</strong>. Then click the '<strong>Start "
683
+ #~ "Optimization</strong>'-button. Et voila!"
684
+ #~ msgstr ""
685
+ #~ "<strong>WP Admin Panel</strong> &raquo; <strong>Extra</strong> &raquo; "
686
+ #~ "<strong>Optimaliseren Database</strong>. Klik dan de '<strong>Start "
687
+ #~ "Optimalisatie</strong>'-knop. Et voila!"
688
+
689
+ #~ msgid ""
690
+ #~ "Note: if you use the Scheduler the Optimization will run automatically!"
691
+ #~ msgstr ""
692
+ #~ "Opmerking: als u gebruik maakt van de Planner zal de optimalisatie "
693
+ #~ "automatisch worden uitgevoerd"
694
+
695
+ #~ msgid "Optimize Database after Deleting Revisions - Options"
696
+ #~ msgstr "Optimize Database after Deleting Revisions - Opties"
697
+
698
+ #~ msgid ""
699
+ #~ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span style=\"text-decoration:"
700
+ #~ "underline;color:#F00;\">CHECKED</span> TABLES <span style=\"text-"
701
+ #~ "decoration:underline;color:#F00;\">WON'T</span> BE OPTIMIZED!</span>"
702
+ #~ msgstr ""
703
+ #~ "SLUIT DE VOLGENDE TABELLEN UIT VAN OPTIMALISATIE: <span style=\"text-"
704
+ #~ "decoration:underline;color:#F00;\">AANGEVINKTE</span> TABELLEN WORDEN "
705
+ #~ "<span style=\"text-decoration:underline;color:#F00;\">NIET</span> "
706
+ #~ "GEOPTIMALISEERD!</span>"
707
+
708
+ #~ msgid "Save Options"
709
+ #~ msgstr "Bewaar Opties"
710
+
711
+ #~ msgid "Current options"
712
+ #~ msgstr "Huidige opties"
713
+
714
+ #~ msgid "Change Options"
715
+ #~ msgstr "Wijzig Opties"
716
+
717
+ # @ rvg-optimize-database
718
+ #~ msgid "Hello world!"
719
+ #~ msgstr "HALLO WERELD!"
readme.txt CHANGED
@@ -8,8 +8,8 @@ Author URI: http://cagewebdev.com
8
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
9
  Requires at least: 2.8
10
  Tested up to: 4.4.1
11
- Stable tag: 4.1
12
- Version: 4.1
13
  License: GPLv2 or later
14
 
15
  == Description ==
@@ -86,10 +86,13 @@ http://cagewebdev.com/index.php/wordpress-plugins/
86
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
87
 
88
  == Changelog ==
 
 
 
89
  = 4.1 [01/14/2016] =
90
  * NEW: New option: delete revisions older than...
91
  * NEW: Persian translation (fa_IR) added
92
- * CHANGE: For muliti-site installations you only can use the plugin on the Main site, but all other sites will be cleaned too.
93
  * CHANGE: Some minor updates / changes
94
 
95
  = 4.0.3 [12/17/2015] =
8
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
9
  Requires at least: 2.8
10
  Tested up to: 4.4.1
11
+ Stable tag: 4.1.1
12
+ Version: 4.1.1
13
  License: GPLv2 or later
14
 
15
  == Description ==
86
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
87
 
88
  == Changelog ==
89
+ = 4.1.1 [01/17/2016] =
90
+ * CHANGE: Use can use the 'Delete revisions older than' AND 'Keep max number of revisions' options at the same time!
91
+
92
  = 4.1 [01/14/2016] =
93
  * NEW: New option: delete revisions older than...
94
  * NEW: Persian translation (fa_IR) added
95
+ * CHANGE: For multi-site installations you only can use the plugin on the Main site, but all other sites will be cleaned too.
96
  * CHANGE: Some minor updates / changes
97
 
98
  = 4.0.3 [12/17/2015] =
rvg-optimize-database.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
- * @version 4.1
5
  */
6
  /*
7
  Plugin Name: Optimize Database after Deleting Revisions
@@ -9,7 +9,7 @@ Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-rev
9
  Description: Optimizes the Wordpress Database after Cleaning it out
10
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
11
  Author URI: http://cagewebdev.com
12
- Version: 4.1
13
  */
14
 
15
  /********************************************************************************************
@@ -24,8 +24,8 @@ $odb_class = new OptimizeDatabase();
24
  class OptimizeDatabase
25
  {
26
  // VERSION
27
- var $odb_version = '4.1';
28
- var $odb_release_date = '01/14/2016';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();
@@ -180,20 +180,20 @@ class OptimizeDatabase
180
  $this->odb_rvg_options['clear_transients'] = 'N';
181
  if(!isset($this->odb_rvg_options['clear_trash']))
182
  $this->odb_rvg_options['clear_trash'] = 'N';
 
 
 
183
  if(!isset($this->odb_rvg_options['last_run']))
184
  $this->odb_rvg_options['last_run'] = '';
185
  if(!isset($this->odb_rvg_options['logging_on']))
186
  $this->odb_rvg_options['logging_on'] = 'N';
187
  if(!isset($this->odb_rvg_options['nr_of_revisions']))
188
- $this->odb_rvg_options['nr_of_revisions'] = (int)0;
189
  // v4.1
190
  if(!isset($this->odb_rvg_options['older_than']))
191
  $this->odb_rvg_options['older_than'] = '';
192
  if(!isset($this->odb_rvg_options['optimize_innodb']))
193
  $this->odb_rvg_options['optimize_innodb'] = 'N';
194
- // v4.1
195
- if(!isset($this->odb_rvg_options['revision_mode']))
196
- $this->odb_rvg_options['revision_mode'] = 1;
197
  if(!isset($this->odb_rvg_options['schedule_type']))
198
  $this->odb_rvg_options['schedule_type'] = '';
199
  if(!isset($this->odb_rvg_options['schedule_hour']))
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
+ * @version 4.1.1
5
  */
6
  /*
7
  Plugin Name: Optimize Database after Deleting Revisions
9
  Description: Optimizes the Wordpress Database after Cleaning it out
10
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
11
  Author URI: http://cagewebdev.com
12
+ Version: 4.1.1
13
  */
14
 
15
  /********************************************************************************************
24
  class OptimizeDatabase
25
  {
26
  // VERSION
27
+ var $odb_version = '4.1.1';
28
+ var $odb_release_date = '01/17/2016';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();
180
  $this->odb_rvg_options['clear_transients'] = 'N';
181
  if(!isset($this->odb_rvg_options['clear_trash']))
182
  $this->odb_rvg_options['clear_trash'] = 'N';
183
+ if(!isset($this->odb_rvg_options['delete_older']))
184
+ $this->odb_rvg_options['delete_older'] = 'N';
185
+
186
  if(!isset($this->odb_rvg_options['last_run']))
187
  $this->odb_rvg_options['last_run'] = '';
188
  if(!isset($this->odb_rvg_options['logging_on']))
189
  $this->odb_rvg_options['logging_on'] = 'N';
190
  if(!isset($this->odb_rvg_options['nr_of_revisions']))
191
+ $this->odb_rvg_options['nr_of_revisions'] = '';
192
  // v4.1
193
  if(!isset($this->odb_rvg_options['older_than']))
194
  $this->odb_rvg_options['older_than'] = '';
195
  if(!isset($this->odb_rvg_options['optimize_innodb']))
196
  $this->odb_rvg_options['optimize_innodb'] = 'N';
 
 
 
197
  if(!isset($this->odb_rvg_options['schedule_type']))
198
  $this->odb_rvg_options['schedule_type'] = '';
199
  if(!isset($this->odb_rvg_options['schedule_hour']))