Optimize Database after Deleting Revisions - Version 4.0

Version Description

[11/22/2015] = * NEW: Total rewrite of the code (OO code) * CHANGE: Many changes and bug fixes

Download this release

Release Info

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

Code changes from version 3.5.1 to 4.0

classes/odb-cleaner.php ADDED
@@ -0,0 +1,1071 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /************************************************************************************************
3
+ *
4
+ * CLEANER CLASS: DOING THE REAL CLEANING / OPTIMIZATION
5
+ *
6
+ ************************************************************************************************/
7
+ ?>
8
+ <?php
9
+ class ODB_Cleaner
10
+ {
11
+ var $start_size;
12
+ var $nr_of_optimized_tables;
13
+
14
+
15
+ /********************************************************************************************
16
+ * CONSTRUCTOR
17
+ ********************************************************************************************/
18
+ function __construct()
19
+ {
20
+ } // __construct()
21
+
22
+
23
+ /********************************************************************************************
24
+ * RUN CLEANER
25
+ ********************************************************************************************/
26
+ function odb_run_cleaner($scheduler)
27
+ {
28
+ global $odb_class;
29
+
30
+ if(!$scheduler)
31
+ {
32
+ echo '
33
+ <div id="odb-cleaner" class="odb-padding-left">
34
+ <div class="odb-title-bar">
35
+ <h2>'.__('Cleaning Database', $odb_class->odb_txt_domain).'</h2>
36
+ </div>
37
+ <br>
38
+ <br>
39
+ ';
40
+ }
41
+
42
+ // GET THE SIZE OF THE DATABASE BEFORE OPTIMIZATION
43
+ $this->start_size = $odb_class->odb_utilities_obj->odb_get_db_size();
44
+
45
+ // TIMESTAMP FOR LOG FILE
46
+ $ct = ($scheduler) ? ' (cron)' : '';
47
+ $current_datetime = Date('m/d/YH:i:s');
48
+ $odb_class->log_arr = array("time" => substr($current_datetime, 0, 10).'<br>'.substr($current_datetime,10).$ct);
49
+
50
+ $odb_class->log_arr["after"] = 0;
51
+ $odb_class->log_arr["before"] = 0;
52
+ $odb_class->log_arr["orphans"] = 0;
53
+ $odb_class->log_arr["pingbacks"] = 0;
54
+ $odb_class->log_arr["revisions"] = 0;
55
+ $odb_class->log_arr["savings"] = 0;
56
+ $odb_class->log_arr["spam"] = 0;
57
+ $odb_class->log_arr["tables"] = 0;
58
+ $odb_class->log_arr["tags"] = 0;
59
+ $odb_class->log_arr["transients"] = 0;
60
+ $odb_class->log_arr["trash"] = 0;
61
+
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>
77
+ <td colspan="4"><div class="odb-found">
78
+ <?php _e('DELETED REVISIONS','rvg-optimize-database');?>
79
+ </div></td>
80
+ </tr>
81
+ <tr>
82
+ <th align="right" class="odb-border-bottom">#</th>
83
+ <th align="left" class="odb-border-bottom"><?php _e('prefix', $odb_class->odb_txt_domain);?></th>
84
+ <th align="left" class="odb-border-bottom"><?php _e('post / page', $odb_class->odb_txt_domain);?></th>
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
122
+ ****************************************************************************************/
123
+ if($odb_class->odb_rvg_options['clear_trash'] == 'Y')
124
+ {
125
+ // GET TRASHED POSTS / PAGES AND COMMENTS
126
+ $results = $this->odb_get_trash();
127
+
128
+ $total_deleted = 0;
129
+ if(count($results)>0)
130
+ { // WE HAVE TRASH TO DELETE!
131
+ if(!$scheduler)
132
+ {
133
+ ?>
134
+ <table border="0" cellspacing="8" cellpadding="2" class="odb-result-table">
135
+ <tr>
136
+ <td colspan="4"><div class="odb-found">
137
+ <?php _e('DELETED TRASHED ITEMS', $odb_class->odb_txt_domain);?>
138
+ </div></td>
139
+ </tr>
140
+ <tr>
141
+ <th align="right" class="odb-border-bottom">#</th>
142
+ <th align="left" class="odb-border-bottom"><?php _e('prefix', $odb_class->odb_txt_domain);?></th>
143
+ <th align="left" class="odb-border-bottom"><?php _e('type', $odb_class->odb_txt_domain);?></th>
144
+ <th align="left" class="odb-border-bottom"><?php _e('IP address / title', $odb_class->odb_txt_domain);?></th>
145
+ <th align="left" nowrap="nowrap" class="odb-border-bottom"><?php _e('date', $odb_class->odb_txt_domain);?></th>
146
+ </tr>
147
+ <?php
148
+ } // if(!$scheduler)
149
+
150
+ // LOOP THROUGH THE TRASHED ITEMS AND DELETE THEM
151
+ $total_deleted = $this->odb_delete_trash($results, $scheduler);
152
+
153
+ if(!$scheduler)
154
+ {
155
+ ?>
156
+ <tr>
157
+ <td colspan="4" align="right" class="odb-border-top odb-bold"><?php _e('total number of trashed items deleted', $odb_class->odb_txt_domain);?></td>
158
+ <td align="right" class="odb-border-top odb-bold"><?php echo $total_deleted?></td>
159
+ </tr>
160
+ </table>
161
+ <?php
162
+ } // if(!$scheduler)
163
+ }
164
+ else
165
+ {
166
+ if(!$scheduler)
167
+ {
168
+ ?>
169
+ <div class="odb-not-found">
170
+ <?php _e('No TRASHED ITEMS found to delete', $odb_class->odb_txt_domain);?>
171
+ </div>
172
+ <?php
173
+ } // if(!$scheduler)
174
+ } // if(count($results)>0)
175
+
176
+ // NUMBER OF DELETED TRASH FOR LOG FILE
177
+ $odb_class->log_arr["trash"] = $total_deleted;
178
+ } // if($odb_class->odb_rvg_options['clear_trash'] == 'Y')
179
+
180
+
181
+ /****************************************************************************************
182
+ * DELETE SPAMMED ITEMS
183
+ ****************************************************************************************/
184
+ if($odb_class->odb_rvg_options['clear_spam'] == 'Y')
185
+ {
186
+ // GET SPAMMED COMMENTS
187
+ $results = $this->odb_get_spam();
188
+
189
+ $total_deleted = 0;
190
+ if(count($results)>0)
191
+ { // WE HAVE SPAM TO DELETE!
192
+ if (!$scheduler)
193
+ {
194
+ ?>
195
+ <table border="0" cellspacing="8" cellpadding="2" class="odb-result-table">
196
+ <tr>
197
+ <td colspan="4"><div class="odb-found">
198
+ <?php _e('DELETEED SPAMMED ITEMS', $odb_class->odb_txt_domain);?>
199
+ </div></td>
200
+ </tr>
201
+ <tr>
202
+ <th align="right" class="odb-border-bottom">#</th>
203
+ <th align="left" class="odb-border-bottom"><?php _e('prefix', $odb_class->odb_txt_domain);?></th>
204
+ <th align="left" class="odb-border-bottom"><?php _e('comment author', $odb_class->odb_txt_domain);?></th>
205
+ <th align="left" class="odb-border-bottom"><?php _e('comment author email', $odb_class->odb_txt_domain);?></th>
206
+ <th align="left" nowrap="nowrap" class="odb-border-bottom"><?php _e('comment date', $odb_class->odb_txt_domain);?></th>
207
+ </tr>
208
+ <?php
209
+ } // if (!$scheduler)
210
+
211
+ // LOOP THROUGH SPAMMED ITEMS AND DELETE THEM
212
+ $total_deleted = $this->odb_delete_spam($results, $scheduler);
213
+
214
+ if (!$scheduler)
215
+ {
216
+ ?>
217
+ <tr>
218
+ <td colspan="4" align="right" class="odb-border-top odb-bold"><?php _e('total number of spammed items deleted', $odb_class->odb_txt_domain);?></td>
219
+ <td align="right" class="odb-border-top odb-bold"><?php echo $total_deleted?></td>
220
+ </tr>
221
+ </table>
222
+ <?php
223
+ } // if (!$scheduler)
224
+ }
225
+ else
226
+ {
227
+ if (!$scheduler)
228
+ {
229
+ ?>
230
+ <div class="odb-not-found">
231
+ <?php _e('No SPAMMED ITEMS found to delete', $odb_class->odb_txt_domain);?>
232
+ </div>
233
+ <?php
234
+ } // if (!$scheduler)
235
+ } // if(count($results)>0)
236
+
237
+ } // if($odb_class->odb_rvg_options['clear_spam'] == 'Y')
238
+
239
+ // NUMBER OF SPAM DELETED FOR LOG FILE
240
+ $odb_class->log_arr["spam"] = $total_deleted;
241
+
242
+
243
+ /****************************************************************************************
244
+ * DELETE UNUSED TAGS
245
+ ****************************************************************************************/
246
+ if($odb_class->odb_rvg_options['clear_tags'] == 'Y')
247
+ {
248
+ // DELETE UNUSED TAGS
249
+ $total_deleted = $this->odb_delete_tags();
250
+ if($total_deleted>0)
251
+ { // TAGS DELETED
252
+ if (!$scheduler)
253
+ {
254
+ ?>
255
+ <div class="odb-found-number">
256
+ <?php _e('NUMBER OF UNUSED TAGS DELETED', $odb_class->odb_txt_domain);?>: <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
257
+ <?php
258
+ } // if (!$scheduler)
259
+ }
260
+ else
261
+ {
262
+ if (!$scheduler)
263
+ {
264
+ ?>
265
+ <div class="odb-not-found">
266
+ <?php _e('No UNUSED TAGS found to delete', $odb_class->odb_txt_domain);?>
267
+ </div>
268
+ <?php
269
+ } // if (!$scheduler)
270
+ } // if(count($results)>0)
271
+ } // if($odb_class->odb_rvg_options['clear_tags'] == 'Y')
272
+
273
+ // NUMBER OF tags DELETED FOR LOG FILE
274
+ $odb_class->log_arr["tags"] = $total_deleted;
275
+
276
+
277
+ /****************************************************************************************
278
+ * DELETE EXPIRED TRANSIENTS
279
+ ****************************************************************************************/
280
+ if($odb_class->odb_rvg_options['clear_transients'] == 'Y')
281
+ {
282
+ // DELETE UNUSED TAGS
283
+ $total_deleted = $this->odb_delete_transients();
284
+ if($total_deleted>0)
285
+ { // TRANSIENTS DELETED
286
+ if (!$scheduler)
287
+ {
288
+ ?>
289
+ <div class="odb-found-number">
290
+ <?php _e('NUMBER OF EXPIRED TRANSIENTS DELETED', $odb_class->odb_txt_domain);?>: <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
291
+ <?php
292
+ } // if (!$scheduler)
293
+ }
294
+ else
295
+ {
296
+ if (!$scheduler)
297
+ {
298
+ ?>
299
+ <div class="odb-not-found">
300
+ <?php _e('No EXPIRED TRANSIENTS found to delete', $odb_class->odb_txt_domain);?>
301
+ </div>
302
+ <?php
303
+ } // if (!$scheduler)
304
+ } // if(count($results)>0)
305
+ } // if($odb_class->odb_rvg_options['clear_transients'] == 'Y')
306
+
307
+ // NUMBER OF transients DELETED FOR LOG FILE
308
+ $odb_class->log_arr["transients"] = $total_deleted;
309
+
310
+
311
+ /****************************************************************************************
312
+ * DELETE PINGBACKS AND TRACKBACKS
313
+ ****************************************************************************************/
314
+ if($odb_class->odb_rvg_options['clear_pingbacks'] == 'Y')
315
+ {
316
+ // DELETE UNUSED TAGS
317
+ $total_deleted = $this->odb_delete_pingbacks();
318
+ if($total_deleted>0)
319
+ { // PINGBACKS / TRACKBACKS DELETED\
320
+ if (!$scheduler)
321
+ {
322
+ ?>
323
+ <div class="odb-found-number">
324
+ <?php _e('NUMBER OF PINGBACKS AND TRACKBACKS DELETED', $odb_class->odb_txt_domain);?>: <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
325
+ <?php
326
+ } // if (!$scheduler)
327
+ }
328
+ else
329
+ {
330
+ if (!$scheduler)
331
+ {
332
+ ?>
333
+ <div class="odb-not-found">
334
+ <?php _e('No PINGBACKS nor TRACKBACKS found to delete', $odb_class->odb_txt_domain);?>
335
+ </div>
336
+ <?php
337
+ } // if (!$scheduler)
338
+ } // if(count($results)>0)
339
+ } // if($odb_class->odb_rvg_options['clear_pingbacks'] == 'Y')
340
+
341
+ // NUMBER OF pingbacks / trackbacks DELETED (FOR LOG FILE)
342
+ $odb_class->log_arr["pingbacks"] = $total_deleted;
343
+
344
+
345
+ /****************************************************************************************
346
+ * DELETE ORPHANS
347
+ ****************************************************************************************/
348
+ $total_deleted = $this->odb_delete_orphans();
349
+ if($total_deleted > 0)
350
+ {
351
+ if (!$scheduler)
352
+ {
353
+ ?>
354
+ <div class="odb-found-number">
355
+ <?php _e('NUMBER OF POSTMETA ORPHANS DELETED', $odb_class->odb_txt_domain);?>: <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
356
+ <?php
357
+ } // if (!$scheduler)
358
+ }
359
+ else
360
+ {
361
+ if (!$scheduler)
362
+ {
363
+ ?>
364
+ <div class="odb-not-found">
365
+ <?php _e('No POSTMETA ORPHANS found to delete', $odb_class->odb_txt_domain);?>
366
+ </div>
367
+ <?php
368
+ } // if (!$scheduler)
369
+ } // if($total_deleted > 0)
370
+ // FOR LOG FILE
371
+ $odb_class->log_arr["orphans"] = $total_deleted;
372
+
373
+ if (!$scheduler)
374
+ {
375
+ ?>
376
+ </div><!-- /odb-cleaner -->
377
+ <?php
378
+ }
379
+ } // odb_run_cleaner()
380
+
381
+
382
+ /********************************************************************************************
383
+ * RUN OPTIMIZER
384
+ ********************************************************************************************/
385
+ function odb_run_optimizer($scheduler)
386
+ { global $odb_class;
387
+
388
+ if(!$scheduler)
389
+ {
390
+ ?>
391
+ <div class="odb-optimizing-table" class="odb-padding-left">
392
+ <div class="odb-title-bar">
393
+ <h2><?php _e('Optimizing Database Tables', $odb_class->odb_txt_domain);?></h2>
394
+ </div>
395
+ <br>
396
+ <br>
397
+ <table border="0" cellspacing="8" cellpadding="2">
398
+ <tr>
399
+ <th class="odb-border-bottom" align="right">#</th>
400
+ <th class="odb-border-bottom" align="left"><?php _e('table name', $odb_class->odb_txt_domain);?></th>
401
+ <th class="odb-border-bottom" align="left"><?php _e('optimization result', $odb_class->odb_txt_domain);?></th>
402
+ <th class="odb-border-bottom" align="left"><?php _e('engine', $odb_class->odb_txt_domain);?></th>
403
+ <th class="odb-border-bottom" align="right"><?php _e('table rows', $odb_class->odb_txt_domain);?></th>
404
+ <th class="odb-border-bottom" align="right"><?php _e('table size', $odb_class->odb_txt_domain);?></th>
405
+ </tr>
406
+ <?php
407
+ } // if(!$scheduler)
408
+
409
+ # OPTIMIZE THE DATABASE TABLES
410
+ $this->nr_of_optimized_tables = $this->odb_optimize_tables($scheduler);
411
+
412
+ if(!$scheduler)
413
+ {
414
+ ?>
415
+ </table>
416
+ </div><!-- /odb-optimizing-table -->
417
+ <?php
418
+ } // if(!$scheduler)
419
+ } // odb_run_optimizer()
420
+
421
+
422
+ /********************************************************************************************
423
+ * CALCULATE AND DISPLAY SAVINGS
424
+ ********************************************************************************************/
425
+ function odb_savings($scheduler)
426
+ { global $odb_class;
427
+ global $odb_logger_obj;
428
+
429
+ // NUMBER OF TABLES
430
+ $odb_class->log_arr["tables"] = $this->nr_of_optimized_tables;
431
+ // DATABASE SIZE BEFORE OPTIMIZATION
432
+ $odb_class->log_arr["before"] = $odb_class->odb_utilities_obj->odb_format_size($this->start_size,3);
433
+ // DATABASE SIZE AFTER OPTIMIZATION
434
+ $end_size = $odb_class->odb_utilities_obj->odb_get_db_size();
435
+ $odb_class->log_arr["after"] = $odb_class->odb_utilities_obj->odb_format_size($end_size,3);
436
+ // TOTAL SAVING
437
+ $odb_class->log_arr["savings"] = $odb_class->odb_utilities_obj->odb_format_size(($this->start_size - $end_size),3);
438
+ // WRITE RESULTS TO LOG FILE
439
+ $odb_class->odb_logger_obj->write_log($odb_class->log_arr);
440
+
441
+ $total_savings = $odb_class->odb_rvg_options['total_savings'];
442
+ $total_savings += ($this->start_size - $end_size);
443
+ $odb_class->odb_rvg_options['total_savings'] = $total_savings;
444
+
445
+ $odb_class->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $odb_class->odb_rvg_options);
446
+
447
+ if(!$scheduler)
448
+ {
449
+ ?>
450
+ <div id="odb-savings" class="odb-padding-left">
451
+ <div class="odb-title-bar">
452
+ <h2><?php _e('Savings', $odb_class->odb_txt_domain);?></h2>
453
+ </div>
454
+ <br>
455
+ <br>
456
+ <table border="0" cellspacing="8" cellpadding="2">
457
+ <tr>
458
+ <th>&nbsp;</th>
459
+ <th class="odb-border-bottom"><?php _e('size of the database', $odb_class->odb_txt_domain);?></th>
460
+ </tr>
461
+ <tr>
462
+ <td align="right"><?php _e('BEFORE optimization', $odb_class->odb_txt_domain);?></td>
463
+ <td align="right" class="odb-bold"><?php echo $odb_class->odb_utilities_obj->odb_format_size($this->start_size,3); ?></td>
464
+ </tr>
465
+ <tr>
466
+ <td align="right"><?php _e('AFTER optimization', $odb_class->odb_txt_domain);?></td>
467
+ <td align="right" class="odb-bold"><?php echo $odb_class->odb_utilities_obj->odb_format_size($end_size,3); ?></td>
468
+ </tr>
469
+ <tr>
470
+ <td align="right" class="odb-bold"><?php _e('SAVINGS THIS TIME', $odb_class->odb_txt_domain);?></td>
471
+ <td align="right" class="odb-border-top odb-bold"><?php echo $odb_class->odb_utilities_obj->odb_format_size(($this->start_size - $end_size),3); ?></td>
472
+ </tr>
473
+ <tr>
474
+ <td align="right" class="odb-bold"><?php _e('TOTAL SAVINGS SINCE THE FIRST RUN', $odb_class->odb_txt_domain);?></td>
475
+ <td align="right" class="odb-border-top odb-bold"><?php echo $odb_class->odb_utilities_obj->odb_format_size($total_savings,3); ?></td>
476
+ </tr>
477
+ </table>
478
+ </div><!-- /odb-savings -->
479
+ <?php
480
+ } // if(!$scheduler)
481
+ } // odb_savings()
482
+
483
+
484
+ /********************************************************************************************
485
+ * SHOW LOADING TIME
486
+ ********************************************************************************************/
487
+ function odb_done()
488
+ {
489
+ global $odb_class;
490
+
491
+ $time = microtime();
492
+ $time = explode(' ', $time);
493
+ $time = $time[1] + $time[0];
494
+ $finish = $time;
495
+
496
+ $total_time = round(($finish - $odb_class->odb_start_time), 4);
497
+ ?>
498
+ <div id="odb-done" class="odb-padding-left">
499
+ <div class="odb-title-bar">
500
+ <h2>
501
+ <?php _e('DONE!', $odb_class->odb_txt_domain);?>
502
+ </h2>
503
+ </div>
504
+ <br />
505
+ <br />
506
+ <span class="odb-padding-left"><?php _e('Optimization took', $odb_class->odb_txt_domain)?>&nbsp;<strong><?php echo $total_time;?></strong>&nbsp;<?php _e('seconds', $odb_class->odb_txt_domain)?>.</span>
507
+ <?php
508
+ if(file_exists($odb_class->odb_plugin_path.'logs/rvg-optimize-db-log.html'))
509
+ {
510
+ ?>
511
+ <br />
512
+ <br />
513
+ &nbsp;
514
+ <input class="button odb-normal" type="button" name="view_log" value="<?php _e('View Log File', $odb_class->odb_txt_domain);?>" onclick="window.open('<?php echo $odb_class->odb_logfile_url?>')" />
515
+ &nbsp;
516
+ <input class="button odb-normal" type="button" name="delete_log" value="<?php _e('Delete Log File', $odb_class->odb_txt_domain);?>" onclick="self.location='tools.php?page=rvg-optimize-database&action=delete_log'" />
517
+ <?php
518
+ }
519
+ ?>
520
+ </div><!-- /odb-done -->
521
+ <?php
522
+ } // odb_done()
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
+ $max_revisions = $odb_class->odb_rvg_options['nr_of_revisions'];
535
+
536
+ $index = 0;
537
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
538
+ { $sql = "
539
+ SELECT `post_parent`, `post_title`, COUNT(*) cnt
540
+ FROM ".$odb_class->odb_ms_prefixes[$i]."posts
541
+ WHERE `post_type` = 'revision'
542
+ GROUP BY `post_parent`
543
+ HAVING COUNT(*) > ".$max_revisions."
544
+ ORDER BY UCASE(`post_title`)
545
+ ";
546
+ $res = $wpdb->get_results($sql, ARRAY_A);
547
+
548
+ for($j=0; $j<count($res); $j++)
549
+ { if(isset($res[$j]))
550
+ { $res_arr[$index] = $res[$j];
551
+ $res_arr[$index]['site'] = $odb_class->odb_ms_prefixes[$i];
552
+ $index++;
553
+ }
554
+ }
555
+ }
556
+
557
+ return $res_arr;
558
+
559
+ } // odb_get_revisions()
560
+
561
+
562
+ /********************************************************************************************
563
+ * DELETE THE REVISIONS
564
+ ********************************************************************************************/
565
+ function odb_delete_revisions($results, $scheduler)
566
+ {
567
+ global $odb_class, $wpdb;
568
+
569
+ $max_revisions = $odb_class->odb_rvg_options['nr_of_revisions'];
570
+
571
+ $nr = 1;
572
+ $total_deleted = 0;
573
+
574
+ for($i=0; $i<count($results); $i++)
575
+ { $nr_to_delete = $results[$i]['cnt'] - $max_revisions;
576
+ $total_deleted += $nr_to_delete;
577
+
578
+ if (!$scheduler)
579
+ {
580
+ ?>
581
+ <tr>
582
+ <td align="right" valign="top"><?php echo $nr?>.</td>
583
+ <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
584
+ <td valign="top" class="odb-bold"><?php echo $results[$i]['post_title']?></td>
585
+ <td valign="top"><?php
586
+ } // if (!$scheduler)
587
+
588
+ $sql_get_posts = "
589
+ SELECT `ID`, `post_modified`
590
+ FROM ".$results[$i]['site']."posts
591
+ WHERE `post_parent`=".$results[$i]['post_parent']."
592
+ AND `post_type`='revision'
593
+ ORDER BY `post_modified` ASC
594
+ ";
595
+
596
+ $results_get_posts = $wpdb->get_results($sql_get_posts);
597
+
598
+ for($j=0; $j<$nr_to_delete; $j++)
599
+ {
600
+ if(!$scheduler) echo $results_get_posts[$j]->post_modified.'<br />';
601
+
602
+ $sql_delete = "
603
+ DELETE FROM ".$results[$i]['site']."posts
604
+ WHERE `ID` = ".$results_get_posts[$j]->ID."
605
+ ";
606
+ $wpdb->get_results($sql_delete);
607
+
608
+ } // for($j=0; $j<$nr_to_delete; $j++)
609
+
610
+ $nr++;
611
+ if(!$scheduler)
612
+ {
613
+ ?></td>
614
+ <td align="right" valign="top" class="odb-bold"><?php echo $nr_to_delete?></td>
615
+ </tr>
616
+ <?php
617
+ } // if(!$scheduler)
618
+ } // for($i=0; $i<count($results); $i++)
619
+
620
+ return $total_deleted;
621
+ } // odb_delete_revisions()
622
+
623
+
624
+ /********************************************************************************************
625
+ * GET TRASHED POSTS / PAGES AND COMMENTS
626
+ ********************************************************************************************/
627
+ function odb_get_trash()
628
+ {
629
+ global $wpdb, $odb_class;
630
+
631
+ $res_arr = array();
632
+
633
+ $index = 0;
634
+ // LOOP TROUGH SITES
635
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
636
+ {
637
+ $sql = "
638
+ SELECT `ID` AS id, 'post' AS post_type, `post_title` AS title, `post_modified` AS modified
639
+ FROM ".$odb_class->odb_ms_prefixes[$i]."posts
640
+ WHERE `post_status` = 'trash'
641
+ UNION ALL
642
+ SELECT `comment_ID` AS id, 'comment' AS post_type, `comment_author_IP` AS title, `comment_date` AS modified
643
+ FROM ".$odb_class->odb_ms_prefixes[$i]."comments
644
+ WHERE `comment_approved` = 'trash'
645
+ ORDER BY post_type, UCASE(title)
646
+ ";
647
+ $res = $wpdb->get_results($sql, ARRAY_A);
648
+
649
+ if($res != null)
650
+ { $res_arr[$index] = $res[0];
651
+ $res_arr[$index]['site'] = $odb_class->odb_ms_prefixes[$i];
652
+ $index++;
653
+ }
654
+ }
655
+
656
+ return $res_arr;
657
+ } // odb_get_trash()
658
+
659
+
660
+ /********************************************************************************************
661
+ * DELETE TRASHED POSTS AND PAGES
662
+ ********************************************************************************************/
663
+ function odb_delete_trash($results, $scheduler)
664
+ {
665
+ global $wpdb;
666
+
667
+ $nr = 1;
668
+ $total_deleted = count($results);
669
+
670
+ for($i=0; $i<$total_deleted; $i++)
671
+ { if(!$scheduler)
672
+ {
673
+ ?>
674
+ <tr>
675
+ <td align="right" valign="top"><?php echo $nr; ?></td>
676
+ <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
677
+ <td valign="top"><?php echo $results[$i]['post_type']; ?></td>
678
+ <td valign="top"><?php echo $results[$i]['title']; ?></td>
679
+ <td valign="top" nowrap="nowrap"><?php echo $results[$i]['modified']; ?></td>
680
+ </tr>
681
+ <?php
682
+ } // if(!$scheduler)
683
+
684
+ if($results[$i]['post_type'] == 'comment')
685
+ { // DELETE META DATA (IF ANY...)
686
+ $sql_delete = "
687
+ DELETE FROM ".$results[$i]['site']."commentmeta
688
+ WHERE `comment_id` = ".$results[$i]['id']."
689
+ ";
690
+ $wpdb->get_results($sql_delete);
691
+ }
692
+
693
+ // DELETE TRASHED POSTS / PAGES
694
+ $sql_delete = "
695
+ DELETE FROM ".$results[$i]['site']."posts
696
+ WHERE `post_status` = 'trash'
697
+ ";
698
+ $wpdb->get_results($sql_delete);
699
+
700
+ // DELETE TRASHED COMMENTS
701
+ $sql_delete = "
702
+ DELETE FROM ".$results[$i]['site']."comments
703
+ WHERE `comment_approved` = 'trash'
704
+ ";
705
+ $wpdb->get_results($sql_delete);
706
+
707
+ $nr++;
708
+ } // for($i=0; $i<count($results); $i++)
709
+
710
+ return $total_deleted;
711
+ } // odb_delete_trash()
712
+
713
+
714
+ /********************************************************************************************
715
+ * GET SPAMMED COMMENTS
716
+ ********************************************************************************************/
717
+ function odb_get_spam()
718
+ {
719
+ global $wpdb, $odb_class;
720
+
721
+ $res_arr = array();
722
+
723
+ $index = 0;
724
+ // LOOP THROUGH SITES
725
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
726
+ {
727
+ $sql = "
728
+ SELECT `comment_ID`, `comment_author`, `comment_author_email`, `comment_date`
729
+ FROM ".$odb_class->odb_ms_prefixes[$i]."comments
730
+ WHERE `comment_approved` = 'spam'
731
+ ORDER BY UCASE(`comment_author`)
732
+ ";
733
+ $res = $wpdb->get_results($sql, ARRAY_A);
734
+
735
+ if($res != null)
736
+ { $res_arr[$index] = $res[0];
737
+ $res_arr[$index]['site'] = $odb_class->odb_ms_prefixes[$i];
738
+ $index++;
739
+ }
740
+ }
741
+
742
+ return $res_arr;
743
+
744
+ } // odb_get_spam()
745
+
746
+
747
+ /********************************************************************************************
748
+ * DELETE SPAMMED ITEMS
749
+ ********************************************************************************************/
750
+ function odb_delete_spam($results, $scheduler)
751
+ {
752
+ global $wpdb;
753
+
754
+ $nr = 1;
755
+ $total_deleted = count($results);
756
+ for($i=0; $i<count($results); $i++)
757
+ { if (!$scheduler)
758
+ {
759
+ ?>
760
+ <tr>
761
+ <td align="right" valign="top"><?php echo $nr; ?></td>
762
+ <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
763
+ <td valign="top"><?php echo $results[$i]['comment_author']; ?></td>
764
+ <td valign="top"><?php echo $results[$i]['comment_author_email']; ?></td>
765
+ <td valign="top" nowrap="nowrap"><?php echo $results[$i]['comment_date']; ?></td>
766
+ </tr>
767
+ <?php
768
+ } // if (!$scheduler)
769
+
770
+ $sql_delete = "
771
+ DELETE FROM ".$results[$i]['site']."commentmeta
772
+ WHERE `comment_id` = ".$results[$i]['comment_ID']."
773
+ ";
774
+ $wpdb->get_results($sql_delete);
775
+
776
+ $sql_delete = "
777
+ DELETE FROM ".$results[$i]['site']."comments
778
+ WHERE `comment_approved` = 'spam'
779
+ ";
780
+ $wpdb->get_results($sql_delete);
781
+
782
+ $nr++;
783
+ } // for($i=0; $i<count($results); $i++)
784
+
785
+ return $total_deleted;
786
+
787
+ } // odb_delete_spam()
788
+
789
+
790
+ /********************************************************************************************
791
+ * DELETE UNUSED TAGS
792
+ ********************************************************************************************/
793
+ function odb_delete_tags()
794
+ {
795
+ global $wpdb, $odb_class;
796
+
797
+ $total_deleted = 0;
798
+
799
+ // LOOP THROUGH THE NETWORK
800
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
801
+ {
802
+ $sql = "
803
+ SELECT a.term_id AS term_id, a.name AS name
804
+ FROM `".$odb_class->odb_ms_prefixes[$i]."terms` a, `".$odb_class->odb_ms_prefixes[$i]."term_taxonomy` b
805
+ WHERE a.term_id = b.term_id
806
+ AND b.taxonomy = 'post_tag'
807
+ AND b.term_taxonomy_id NOT IN (
808
+ SELECT term_taxonomy_id
809
+ FROM ".$odb_class->odb_ms_prefixes[$i]."term_relationships
810
+ )
811
+ ";
812
+
813
+ $res = $wpdb->get_results($sql);
814
+ for($j=0; $j<count($res); $j++)
815
+ { if(!$this->odb_delete_tags_is_scheduled($res[$j]->term_id, $odb_class->odb_ms_prefixes[$i]))
816
+ { // TAG NOT USED IN SCHEDULED POSTS: CAN BE DELETED
817
+ $total_deleted++;
818
+
819
+ $sql_del = "
820
+ DELETE FROM ".$odb_class->odb_ms_prefixes[$i]."term_taxonomy
821
+ WHERE term_id = ".$res[$j]->term_id."
822
+ ";
823
+ $wpdb->get_results($sql_del);
824
+
825
+ $sql_del = "
826
+ DELETE FROM ".$odb_class->odb_ms_prefixes[$i]."terms
827
+ WHERE term_id = ".$res[$j]->term_id."
828
+ ";
829
+ $wpdb->get_results($sql_del);
830
+ }
831
+ } // for($j=0; $j<count($res); $j++)
832
+ } // for($i=0; $i<count($odb_class->odb_ms_blogids); $i++)
833
+
834
+ return $total_deleted;
835
+ } // odb_delete_tags()
836
+
837
+
838
+ /********************************************************************************************
839
+ * IS THE UNUSED TAG USED IN ONE OR MORE SCHEDULED POSTS?
840
+ ********************************************************************************************/
841
+ function odb_delete_tags_is_scheduled($term_id, $odb_prefix)
842
+ {
843
+ global $wpdb;
844
+
845
+ $sql_get_posts = "
846
+ SELECT p.post_status
847
+ FROM ".$odb_prefix."term_relationships t, ".$odb_prefix."posts p
848
+ WHERE t.term_taxonomy_id = '".$term_id."'
849
+ AND t.object_id = p.ID
850
+ ";
851
+
852
+ $results_get_posts = $wpdb->get_results($sql_get_posts);
853
+ for($i=0; $i<count($results_get_posts); $i++)
854
+ if($results_get_posts[$i]->post_status == 'future') return true;
855
+
856
+ return false;
857
+
858
+ } // odb_delete_tags_is_scheduled()
859
+
860
+
861
+ /********************************************************************************************
862
+ * DELETE EXPIRED TRANSIENTS
863
+ ********************************************************************************************/
864
+ function odb_delete_transients()
865
+ {
866
+ global $wpdb, $odb_class;
867
+
868
+ $delay = time() - 60; // ONE MINUTE DELAY
869
+
870
+ $total_deleted = 0;
871
+
872
+ // LOOP THROUGH THE NETWORK
873
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
874
+ {
875
+ // FIND EXPIRED TRANSIENTS
876
+ $sql = "
877
+ SELECT `option_name`
878
+ FROM ".$odb_class->odb_ms_prefixes[$i]."options
879
+ WHERE (
880
+ option_name LIKE '_transient_timeout_%'
881
+ OR option_name LIKE '_site_transient_timeout_%'
882
+ )
883
+ AND option_value < '$delay'
884
+ ";
885
+
886
+ $results = $wpdb->get_results($sql);
887
+ $total_deleted += count($results);
888
+
889
+ // LOOP THROUGH THE RESULTS
890
+ for($j=0; $j<count($results); $j++)
891
+ {
892
+ if(substr($results[$j]->option_name, 0, 19) == '_transient_timeout_')
893
+ { // _transient_timeout_%
894
+ $transient = substr($results[$j]->option_name, 19);
895
+ // DELETE THE TRANSIENT
896
+ delete_transient($transient);
897
+ }
898
+ else
899
+ { // _site_transient_timeout_%
900
+ $transient = substr($results[$j]->option_name, 24);
901
+ // DELETE THE TRANSIENT
902
+ delete_site_transient($transient);
903
+ }
904
+ } // for($j=0; $j<count($results); $j++)
905
+
906
+ } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
907
+ return $total_deleted;
908
+ } // odb_delete_transients()
909
+
910
+
911
+ /********************************************************************************************
912
+ * DELETE PINGBACKS AND TRACKBACKS
913
+ ********************************************************************************************/
914
+ function odb_delete_pingbacks()
915
+ {
916
+ global $wpdb, $odb_class;
917
+
918
+ $total_deleted = 0;
919
+
920
+ // LOOP THROUGH THE NETWORK
921
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
922
+ {
923
+ $sql = "
924
+ SELECT `comment_ID`
925
+ FROM ".$odb_class->odb_ms_prefixes[$i]."comments
926
+ WHERE (
927
+ `comment_type` = 'pingback'
928
+ OR `comment_type` = 'trackback'
929
+ )
930
+ ";
931
+
932
+ $results = $wpdb->get_results($sql);
933
+ $total_deleted = count($results);
934
+
935
+ for($j=0; $j<count($results); $j++)
936
+ { // DELETE METADATA FOR THIS COMMENT (IF ANY)
937
+ $sql_delete_meta = "
938
+ DELETE FROM ".$odb_class->odb_ms_prefixes[$i]."commentmeta
939
+ WHERE `comment_id` = ".$results[$j]->comment_ID."
940
+ ";
941
+ $wpdb->get_results($sql_delete_meta);
942
+ }
943
+
944
+ // DELETE COMMENTS
945
+ $sql_delete_comments = "
946
+ DELETE FROM ".$odb_class->odb_ms_prefixes[$i]."comments
947
+ WHERE (
948
+ `comment_type` = 'pingback'
949
+ OR `comment_type` = 'trackback'
950
+ )
951
+ ";
952
+ $wpdb->get_results($sql_delete_comments);
953
+ } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
954
+
955
+ return $total_deleted;
956
+ } // odb_delete_pingbacks()
957
+
958
+
959
+ /********************************************************************************************
960
+ * DELETE ORPHAN POSTMETA RECORDS
961
+ ********************************************************************************************/
962
+ function odb_delete_orphans()
963
+ {
964
+ global $wpdb, $odb_class;
965
+
966
+ $meta_orphans = 0;
967
+ $post_orphans = 0;
968
+
969
+ // LOOP THROUGH THE NETWORK
970
+ for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
971
+ {
972
+ // DELETE POST ORPHANS (AUTO DRAFTS)
973
+ $sql_delete = "
974
+ SELECT COUNT(*) cnt
975
+ FROM ".$odb_class->odb_ms_prefixes[$i]."posts
976
+ WHERE ID NOT IN (SELECT post_id FROM ".$odb_class->odb_ms_prefixes[$i]."postmeta)
977
+ AND post_status = 'auto-draft'
978
+ ";
979
+
980
+ $results = $wpdb->get_results($sql_delete);
981
+
982
+ $post_orphans = $results[0]->cnt;
983
+
984
+ if($post_orphans > 0)
985
+ { $sql_delete = "
986
+ DELETE FROM ".$odb_class->odb_ms_prefixes[$i]."posts
987
+ WHERE ID NOT IN (SELECT post_id FROM ".$odb_class->odb_ms_prefixes[$i]."postmeta)
988
+ AND post_status = 'auto-draft'
989
+ ";
990
+ $wpdb->get_results($sql_delete);
991
+ }
992
+
993
+ // DELETE POSTMETA ORPHANS
994
+ $sql_delete = "
995
+ SELECT COUNT(*) cnt
996
+ FROM ".$odb_class->odb_ms_prefixes[$i]."postmeta
997
+ WHERE post_id NOT IN (SELECT ID FROM ".$odb_class->odb_ms_prefixes[$i]."posts)
998
+ ";
999
+
1000
+ $results = $wpdb->get_results($sql_delete);
1001
+
1002
+ $meta_orphans = $results[0]->cnt;
1003
+
1004
+ if($meta_orphans > 0)
1005
+ { $sql_delete = "
1006
+ DELETE FROM ".$odb_class->odb_ms_prefixes[$i]."postmeta
1007
+ WHERE post_id NOT IN (SELECT ID FROM ".$odb_class->odb_ms_prefixes[$i]."posts)
1008
+ ";
1009
+ $wpdb->get_results($sql_delete);
1010
+ }
1011
+ }
1012
+
1013
+ return ($meta_orphans + $post_orphans);
1014
+ } // odb_delete_orphans()
1015
+
1016
+
1017
+ /********************************************************************************************
1018
+ * OPTIMIZE DATABASE TABLES
1019
+ ********************************************************************************************/
1020
+ function odb_optimize_tables($scheduler)
1021
+ {
1022
+ global $odb_class, $wpdb;
1023
+
1024
+ $cnt = 0;
1025
+ for ($i=0; $i<count($odb_class->odb_tables); $i++)
1026
+ {
1027
+ if(!isset($odb_class->odb_rvg_excluded_tabs[$odb_class->odb_tables[$i][0]]))
1028
+ { # TABLE NOT EXCLUDED
1029
+ $cnt++;
1030
+
1031
+ $sql = "
1032
+ SELECT engine, (data_length + index_length) AS size, table_rows
1033
+ FROM information_schema.TABLES
1034
+ WHERE table_schema = '".DB_NAME."'
1035
+ AND table_name = '".$odb_class->odb_tables[$i][0]."'
1036
+ ";
1037
+ $table_info = $wpdb->get_results($sql);
1038
+
1039
+ if(strtolower($table_info[0]->engine) == 'innodb')
1040
+ { // SKIP InnoDB tables
1041
+ $msg = __('InnoDB table: skipped...', 'rvg-optimize-database');
1042
+ }
1043
+ else
1044
+ { $query = "OPTIMIZE TABLE ".$odb_class->odb_tables[$i][0];
1045
+ $result = $wpdb->get_results($query);
1046
+ $msg = $result[0]->Msg_text;
1047
+ $msg = str_replace('OK', __('<span class="odb-optimized">TABLE OPTIMIZED</span>', 'rvg-optimize-database'), $msg);
1048
+ $msg = str_replace('Table is already up to date', __('Table is already up to date', 'rvg-optimize-database'), $msg);
1049
+ }
1050
+
1051
+ if (!$scheduler)
1052
+ { // NOT FROM THE SCEDULER
1053
+ ?>
1054
+ <tr>
1055
+ <td align="right" valign="top"><?php echo $cnt?>.</td>
1056
+ <td valign="top" class="odb-bold"><?php echo $odb_class->odb_tables[$i][0] ?></td>
1057
+ <td valign="top"><?php echo $msg ?></td>
1058
+ <td valign="top"><?php echo $table_info[0]->engine ?></td>
1059
+ <td align="right" valign="top"><?php echo $table_info[0]->table_rows ?></td>
1060
+ <td align="right" valign="top"><?php echo $odb_class->odb_utilities_obj->odb_format_size($table_info[0]->size) ?></td>
1061
+ </tr>
1062
+ <?php
1063
+ } // if (!$scheduler)
1064
+ } // if(!$excluded)
1065
+ } // for ($i=0; $i<count($tables); $i++)
1066
+ return $cnt;
1067
+
1068
+ } // odb_optimize_tables()
1069
+
1070
+ } // ODB_Cleaner
1071
+ ?>
classes/odb-displayer.php ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /************************************************************************************************
3
+ *
4
+ * DISPLAYER CLASS: DISPLAY CURRENT SETTINGS, BUTTONS, HEADERS
5
+ *
6
+ ************************************************************************************************/
7
+ ?>
8
+ <?php
9
+ class ODB_Displayer
10
+ {
11
+ /********************************************************************************************
12
+ * CONSTRUCTOR
13
+ ********************************************************************************************/
14
+ function __construct()
15
+ {
16
+ } // __construct()
17
+
18
+
19
+ /********************************************************************************************
20
+ * DISPLAY THE CURRENT SETTINGS
21
+ ********************************************************************************************/
22
+ function display_current_settings()
23
+ {
24
+ global $odb_class;
25
+
26
+ $current_hour = Date('H:i');
27
+
28
+ $y = __('YES', $odb_class->odb_txt_domain);
29
+ $n = __('NO', $odb_class->odb_txt_domain);
30
+
31
+ // CURRENT SETTINGS
32
+ $trash = ($odb_class->odb_rvg_options['clear_trash'] == 'Y') ? $y : $n;
33
+ $spam = ($odb_class->odb_rvg_options['clear_spam'] == 'Y') ? $y : $n;
34
+ $tag = ($odb_class->odb_rvg_options['clear_tags'] == 'Y') ? $y : $n;
35
+ $trans = ($odb_class->odb_rvg_options['clear_transients'] == 'Y') ? $y : $n;
36
+ $ping = ($odb_class->odb_rvg_options['clear_pingbacks'] == 'Y') ? $y : $n;
37
+ $log = ($odb_class->odb_rvg_options['logging_on'] == 'Y') ? $y : $n;
38
+
39
+ if($odb_class->odb_rvg_options['schedule_type'] == 'fiveminutes')
40
+ $schedule = __('EVERY FIVE MINUTES',$odb_class->odb_txt_domain);
41
+ else if($odb_class->odb_rvg_options['schedule_type'] == 'hourly')
42
+ $schedule = __('ONCE HOURLY',$odb_class->odb_txt_domain);
43
+ else if($odb_class->odb_rvg_options['schedule_type'] == 'twicedaily')
44
+ $schedule = __('TWICE DAILY',$odb_class->odb_txt_domain);
45
+ else if($odb_class->odb_rvg_options['schedule_type'] == 'daily')
46
+ $schedule = __('ONCE DAILY',$odb_class->odb_txt_domain);
47
+ else if($odb_class->odb_rvg_options['schedule_type'] == 'weekly')
48
+ $schedule = __('ONCE WEEKLY',$odb_class->odb_txt_domain);
49
+ else $schedule = __('NOT SCHEDULED',$odb_class->odb_txt_domain);
50
+
51
+ echo '
52
+ <div id="odb-current-settings" class="odb-padding-left">
53
+ <div class="odb-title-bar">
54
+ <h2>'.__('Current settings',$odb_class->odb_txt_domain).'</h2>
55
+ </div>
56
+ <br><br>
57
+ <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 />
58
+ <span class="odb-bold">'.__('Delete trashed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trash.'</span><br />
59
+ <span class="odb-bold">'.__('Delete spammed items', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$spam.'</span><br />
60
+ <span class="odb-bold">'.__('Delete unused tags', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$tag.'</span><br />
61
+ <span class="odb-bold">'.__('Delete expired transients', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$trans.'</span><br />
62
+ <span class="odb-bold">'.__('Delete pingbacks and trackbacks', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$ping.'</span><br />
63
+ <span class="odb-bold">'.__('Keep a log', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$log.'</span><br />
64
+ <span class="odb-bold">'.__('Last run', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$odb_class->odb_rvg_options['last_run'].' '.__('hrs', $odb_class->odb_txt_domain).'</span><br />
65
+ <span class="odb-bold">'.__('Number of excluded tables', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.count($odb_class->odb_rvg_excluded_tabs).'</span><br />
66
+ <span class="odb-bold">'.__('Scheduler', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$schedule.'</span><br />
67
+ ';
68
+
69
+ if($odb_class->odb_rvg_options['schedule_type'] != '')
70
+ { $timestamp = wp_next_scheduled('odb_scheduler');
71
+ $nextrun = Date('M j, Y @ H:i', $timestamp);
72
+ echo '
73
+ <span class="odb-bold">'.__('Next scheduled run',$odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$nextrun.' '.__('hrs', $odb_class->odb_txt_domain).' ('.__('current server time', $odb_class->odb_txt_domain).': '.$current_hour.' '.__('hrs', $odb_class->odb_txt_domain).')</span><br>
74
+ ';
75
+ } // if($odb_class->odb_rvg_options['schedule_type'] != '')
76
+
77
+ echo '
78
+ <span class="odb-bold">'.__('Total savings since the first run', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.$odb_class->odb_utilities_obj->odb_format_size($odb_class->odb_rvg_options['total_savings']).'</span>
79
+ </div><!-- /odb-current-settings -->
80
+ ';
81
+ } // display_current_settings()
82
+
83
+
84
+ /********************************************************************************************
85
+ * DISPLAY THE PAGE HEADER
86
+ ********************************************************************************************/
87
+ function display_header()
88
+ {
89
+ global $odb_class;
90
+
91
+ echo '
92
+ <div id="odb-header" class="odb-padding-left">
93
+ <div id="odb-options-opening">
94
+ <div class="odb-title-bar">
95
+ <h2>'.__('Optimize Database after Deleting Revisions',$odb_class->odb_txt_domain).'</h2>
96
+ </div>
97
+ <p class="odb-bold">
98
+ <em>'.__('A popular \'one-click\' plugin to clean and optimize your WordPress database.', $odb_class->odb_txt_domain).'</em>
99
+ </p>
100
+ <span class="odb-bold">
101
+ '.__('Plugin version', $odb_class->odb_txt_domain).': v'.$odb_class->odb_version.' ['.$odb_class->odb_release_date.'] -
102
+ <a href="http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/" target="_blank">'.__('Plugin page', $odb_class->odb_txt_domain).'</a> -
103
+ <a href="http://wordpress.org/plugins/rvg-optimize-database/" target="_blank">'.__('Download page', $odb_class->odb_txt_domain).'</a> -
104
+ <a href="http://rvg.cage.nl/" target="_blank">'.__('Author', $odb_class->odb_txt_domain).'</a> -
105
+ <a href="http://cagewebdev.com/" target="_blank">'.__('Company', $odb_class->odb_txt_domain).'</a> -
106
+ <a href="http://cagewebdev.com/index.php/donations-odb/" target="_blank">'.__('Donation page', $odb_class->odb_txt_domain).'</a>
107
+ </span>
108
+ </div><!-- odb-options-opening -->
109
+ </div><!-- /odb-header -->
110
+ ';
111
+ } // display_header
112
+
113
+
114
+ /********************************************************************************************
115
+ * DISPLAY THE START BUTTONS
116
+ ********************************************************************************************/
117
+ function display_start_buttons()
118
+ {
119
+ global $odb_class;
120
+
121
+ echo '
122
+ <div id="odb-start-buttons" class="odb-padding-left">
123
+ <p>
124
+ <input class="button odb-normal" type="button" name="change_options" value="'.__('Change Settings', $odb_class->odb_txt_domain).'" onclick="self.location=\'options-general.php?page=odb_settings_page\'">
125
+ ';
126
+
127
+ if(file_exists($odb_class->odb_plugin_path.'logs/rvg-optimize-db-log.html'))
128
+ { // THERE IS A LOG FILE
129
+ echo '
130
+ &nbsp;
131
+ <input class="button odb-normal" type="button" name="view_log" value="'.__('View Log File', $odb_class->odb_txt_domain).'" onclick="window.open(\''.$odb_class->odb_logfile_url.'\')">
132
+ &nbsp;
133
+ <input class="button odb-normal" type="button" name="delete_log" value="'.__('Delete Log File', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=delete_log\'">
134
+ ';
135
+ } // if(file_exists($this->odb_plugin_path.'logs/rvg-optimize-db-log.html'))
136
+
137
+ echo '
138
+ &nbsp;
139
+ <input class="button-primary button-large" type="button" name="start_optimization" value="'.__('Start Optimization', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=run\'" class="odb-bold" />
140
+ </p>
141
+ </div><!-- /odb-start-buttons -->
142
+ ';
143
+ } // display_start_buttons()
144
+ } // ODB_Displayer
145
+ ?>
classes/odb-logger.php ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class ODB_Logger
3
+ {
4
+ /********************************************************************************************
5
+ * CONSTRUCTOR
6
+ ********************************************************************************************/
7
+ function __construct()
8
+ {
9
+ } // __construct()
10
+
11
+
12
+ /********************************************************************************************
13
+ * WRITE RESULTS TO LOG FILE
14
+ ********************************************************************************************/
15
+ function write_log()
16
+ {
17
+ global $odb_class;
18
+
19
+ if($odb_class->odb_rvg_options['logging_on'] == "Y")
20
+ { $file = $odb_class->odb_logfile_path;
21
+ if(!file_exists($file))
22
+ { // NEW LOG FILE
23
+ $html = '
24
+ <!doctype html>
25
+ <html>
26
+ <head>
27
+ <meta charset="utf-8">
28
+ <title>Optimize Database after Deleting Revisions v'.$odb_class->odb_version.' - LOG</title>
29
+ <style type="text/css">
30
+ body, td, th {
31
+ font-family: Arial, Helvetica, sans-serif;
32
+ font-size: 12px;
33
+ }
34
+ th {
35
+ border-top:solid 1px #000;
36
+ border-bottom:solid 1px #000;
37
+ }
38
+ td {
39
+ padding-bottom:4px;
40
+ border-bottom:dotted 1px #CCC;
41
+ }
42
+ #header {
43
+ margin-left:6px;
44
+ margin-bottom:8px;
45
+ }
46
+ #header a {
47
+ text-decoration:none;
48
+ font-weight:bold;
49
+ }
50
+ </style>
51
+ </head>
52
+ <body>
53
+ <div id="header">
54
+ <h2><a href="https://wordpress.org/plugins/rvg-optimize-database/" target="_blank">Optimize Database after Deleting Revisions v'.$odb_class->odb_version.'</a></h2>
55
+ '.__('A WordPress Plugin by','rvg-optimize-database').' <a href="http://cagewebdev.com" target="_blank"><span class="odb-bold">CAGE Web Design</span></a> | <a href="http://rvg.cage.nl" target="_blank"><span class="odb-bold">Rolf van Gelder</span></a>, Eindhoven, '.__('The Netherlands','rvg-optimize-database').'</span>
56
+ </div>
57
+ <table width="100%" border="0" cellspacing="6" cellpadding="1">
58
+ <tr>
59
+ <th width="8%" align="left" valign="top">'.__('time','rvg-optimize-database').'</th>
60
+ <th width="8%" align="right" valign="top">'.__('deleted<br />revisions','rvg-optimize-database').'</th>
61
+ <th width="8%" align="right" valign="top">'.__('deleted<br />trash','rvg-optimize-database').'</th>
62
+ <th width="8%" align="right" valign="top">'.__('deleted<br />spam','rvg-optimize-database').'</th>
63
+ <th width="8%" align="right" valign="top">'.__('deleted<br />tags','rvg-optimize-database').'</th>
64
+ <th width="8%" align="right" valign="top">'.__('deleted<br />transients','rvg-optimize-database').'</th>
65
+ <th width="8%" align="right" valign="top">'.__('deleted<br />pingbacks<br />trackbacks','rvg-optimize-database').'</th>
66
+ <th width="8%" align="right" valign="top">'.__('deleted<br />orphans','rvg-optimize-database').'</th>
67
+ <th width="8%" align="right" valign="top">'.__('nr of optimized tables','rvg-optimize-database').'</th>
68
+ <th width="8%" align="right" valign="top">'.__('database size BEFORE','rvg-optimize-database').'</th>
69
+ <th width="8%" align="right" valign="top">'.__('database size AFTER','rvg-optimize-database').'</th>
70
+ <th width="8%" align="right" valign="top">'.__('SAVINGS','rvg-optimize-database').'</th>
71
+ </tr>
72
+ </table>
73
+ ';
74
+ file_put_contents($file, $html, FILE_APPEND);
75
+ }
76
+
77
+ $html = '
78
+ <table width="100%" border="0" cellspacing="6" cellpadding="0">
79
+ <tr>
80
+ <td width="8%" valign="top"><span class="odb-bold">'.$odb_class->log_arr["time"].'</span></td>
81
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["revisions"].'</td>
82
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["trash"].'</td>
83
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["spam"].'</td>
84
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["tags"].'</td>
85
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["transients"].'</td>
86
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["pingbacks"].'</td>
87
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["orphans"].'</td>
88
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["tables"].'</td>
89
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["before"].'</td>
90
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["after"].'</td>
91
+ <td width="8%" align="right" valign="top">'.$odb_class->log_arr["savings"].'</td>
92
+ </tr>
93
+ </table>
94
+ ';
95
+ file_put_contents($file, $html, FILE_APPEND);
96
+ } // if($odb_class->odb_rvg_options['logging_on'] == "Y")
97
+ } // write_log()
98
+
99
+
100
+ /********************************************************************************************
101
+ * ADD A MESSAGE TO THE DEBUG LOG FILE
102
+ ********************************************************************************************/
103
+ function write_debug_log($msg)
104
+ {
105
+ global $odb_class;
106
+
107
+ if (defined('WP_DEBUG') && WP_DEBUG)
108
+ { // ONLY USE THIS LOG IN DEBUG MODE
109
+ $file = $odb_class->odb_logfile_debug_path;
110
+ $txt = Date('Y/m/d H:i:s').' '.$msg."\n";
111
+ file_put_contents($file, $txt, FILE_APPEND);
112
+ }
113
+ } // write_debug_log()
114
+
115
+ } // ODB_Logger
classes/odb-multisite.php ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /************************************************************************************************
3
+ *
4
+ * MULTISITE CLASS
5
+ *
6
+ ************************************************************************************************/
7
+ ?>
8
+ <?php
9
+ class ODB_MultiSite
10
+ {
11
+ /********************************************************************************************
12
+ * CONSTRUCTOR
13
+ ********************************************************************************************/
14
+ function __construct()
15
+ {
16
+ } // __construct()
17
+
18
+
19
+ /********************************************************************************************
20
+ * GET MULTI-SITE NETWORK INFORMATION
21
+ ********************************************************************************************/
22
+ function odb_ms_network_info()
23
+ {
24
+ global $wpdb, $odb_class;
25
+
26
+ $odb_class->odb_ms_prefixes [0] = $wpdb->base_prefix;
27
+ $odb_class->odb_ms_blogids [0] = 1;
28
+ if (function_exists('is_multisite') && is_multisite())
29
+ { $odb_class->odb_blogids = $wpdb->get_col("SELECT blog_id FROM ".$wpdb->base_prefix."blogs");
30
+ // FOR INSTANCE: mywp_2_, mywp_3_ etc.
31
+ for($i=1; $i<count($odb_class->odb_blogids); $i++)
32
+ { $odb_class->odb_ms_prefixes [$i] = $wpdb->base_prefix.$odb_class->odb_blogids[$i].'_';
33
+ $odb_class->odb_ms_blogids [$i] = $odb_class->odb_blogids[$i];
34
+ }
35
+ } // if (function_exists('is_multisite') && is_multisite())
36
+ } // odb_ms_network_info()
37
+
38
+
39
+ /********************************************************************************************
40
+ * GET AN OPTION FROM THE ROOT SITE OPTION TABLE
41
+ ********************************************************************************************/
42
+ function odb_ms_get_option($option, $default = false)
43
+ {
44
+ if(is_multisite() &&
45
+ function_exists('is_plugin_active_for_network') &&
46
+ is_plugin_active_for_network('rvg-optimize-database/rvg-optimize-database.php'))
47
+ return get_site_option($option, $default);
48
+ else
49
+ return get_option($option, $default);
50
+ } // odb_ms_get_option()
51
+
52
+
53
+ /********************************************************************************************
54
+ * SAVE AN OPTION TO THE ROOT SITE OPTION TABLE
55
+ ********************************************************************************************/
56
+ function odb_ms_update_option($option, $value)
57
+ {
58
+ if(is_multisite() &&
59
+ function_exists('is_plugin_active_for_network') &&
60
+ is_plugin_active_for_network('rvg-optimize-database/rvg-optimize-database.php'))
61
+ return update_site_option( $option, $value);
62
+ else
63
+ return update_option( $option, $value);
64
+ } // odb_ms_update_option()
65
+
66
+
67
+ /********************************************************************************************
68
+ * DELETE AN OPTION TO THE ROOT SITE OPTION TABLE
69
+ ********************************************************************************************/
70
+ function odb_ms_delete_option($option)
71
+ {
72
+ if(is_multisite() &&
73
+ function_exists('is_plugin_active_for_network') &&
74
+ is_plugin_active_for_network('rvg-optimize-database/rvg-optimize-database.php'))
75
+ return delete_site_option($option);
76
+ else
77
+ return delete_option($option);
78
+ } // odb_ms_delete_option()
79
+
80
+ } // ODB_MultiSite
classes/odb-scheduler.php ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /************************************************************************************************
3
+ *
4
+ * SCHEDULER CLASS
5
+ *
6
+ ************************************************************************************************/
7
+ ?>
8
+ <?php
9
+ class ODB_Scheduler
10
+ {
11
+ /********************************************************************************************
12
+ * CONSTRUCTOR
13
+ ********************************************************************************************/
14
+ function __construct()
15
+ {
16
+ global $odb_class;
17
+
18
+ // ADD EXTRA CRON SCHEDULES
19
+ add_filter('cron_schedules', array(&$this, 'odb_extra_cron_schedules'));
20
+
21
+ // ADD SCHEDULER
22
+ add_action('odb_scheduler', array(&$odb_class, 'odb_start_scheduler'));
23
+ } // __construct()
24
+
25
+
26
+ /*******************************************************************************
27
+ * ADD EXTRA SCHEDULE FOR THE CRONTAB
28
+ * http://codex.wordpress.org/Plugin_API/Filter_Reference/cron_schedules
29
+ *******************************************************************************/
30
+ function odb_extra_cron_schedules()
31
+ {
32
+ $schedules['weekly'] = array(
33
+ 'interval' => 604800,
34
+ 'display' => __('Once Weekly')
35
+ );
36
+ // FOR DEBUGGING
37
+ $schedules['fiveminutes'] = array(
38
+ 'interval' => 300,
39
+ 'display' => __('Every Five Minutes')
40
+ );
41
+ return $schedules;
42
+ } // odb_extra_cron_schedules()
43
+
44
+
45
+ /*******************************************************************************
46
+ * UPDATE SCHEDULER (IF NEEDED)
47
+ *******************************************************************************/
48
+ function odb_update_scheduler()
49
+ {
50
+ global $odb_class;
51
+
52
+ if($odb_class->odb_rvg_options['schedule_type'] == '')
53
+ { // SHOULDN'T BE SCHEDULED
54
+ wp_clear_scheduled_hook('odb_scheduler');
55
+ $odb_class->odb_rvg_options['schedule_hour'] = '';
56
+ $odb_class->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $odb_class->odb_rvg_options);
57
+ }
58
+ else
59
+ { // JOB SHOULD BE SCHEDULED: SCHEDULE IT
60
+ if($odb_class->odb_rvg_options['schedule_type'] != 'daily' &&
61
+ $odb_class->odb_rvg_options['schedule_type'] != 'weekly')
62
+ {
63
+ $odb_class->odb_rvg_options['schedule_hour'] = '';
64
+ $odb_class->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $odb_class->odb_rvg_options);
65
+ }
66
+
67
+ if (!wp_next_scheduled('odb_scheduler'))
68
+ wp_schedule_event($this->odb_calculate_time(), $odb_class->odb_rvg_options['schedule_type'], 'odb_scheduler');
69
+ } // if($odb_class->odb_rvg_options['schedule_type'] == '')
70
+ } // odb_update_scheduler()
71
+
72
+
73
+ /*******************************************************************************
74
+ * SCHEDULE CHANGED ON SETTINGS PAGE: RESCHEDULE
75
+ *******************************************************************************/
76
+ function odb_reschedule()
77
+ {
78
+ global $odb_class;
79
+
80
+ wp_clear_scheduled_hook('odb_scheduler');
81
+ wp_schedule_event($this->odb_calculate_time(), $odb_class->odb_rvg_options['schedule_type'], 'odb_scheduler');
82
+ } // odb_reschedule()
83
+
84
+
85
+ /*******************************************************************************
86
+ * CALCULATE SCHEDULE TIME
87
+ *******************************************************************************/
88
+ function odb_calculate_time()
89
+ {
90
+ global $odb_class;
91
+
92
+ if ($odb_class->odb_rvg_options['schedule_type'] == 'daily' ||
93
+ $odb_class->odb_rvg_options['schedule_type'] == 'weekly')
94
+ {
95
+ // 'daily' OR 'weekly'
96
+ $current_datetime = Date('YmdHis');
97
+ $current_date = substr($current_datetime, 0, 8);
98
+ $current_hour = substr($current_datetime, 8, 2);
99
+
100
+ if($odb_class->odb_rvg_options['schedule_hour'] <= $current_hour)
101
+ // NEXT RUN WILL BE TOMORROW
102
+ $date = date('YmdHis', strtotime($current_date.$odb_class->odb_rvg_options['schedule_hour'].'0000'.' + 1 day'));
103
+ else
104
+ // NEXT RUN WILL BE TODAY
105
+ $date = $current_date.$odb_class->odb_rvg_options['schedule_hour'].'0000';
106
+ $time = strtotime($date);
107
+ }
108
+ else
109
+ // 'hourly' OR 'twicedaily': ONE MINUTE DELAY FOR THE FIRST RUN
110
+ $time = time();
111
+
112
+ return $time;
113
+ } // odb_calculate_time()
114
+ } // ODB_Scheduler
115
+ ?>
classes/odb-utilities.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /************************************************************************************************
3
+ *
4
+ * UTILITIES
5
+ *
6
+ ************************************************************************************************/
7
+ ?>
8
+ <?php
9
+ class ODB_Utilities
10
+ {
11
+ /********************************************************************************************
12
+ * CONSTRUCTOR
13
+ ********************************************************************************************/
14
+ function __construct()
15
+ {
16
+ } // __construct()
17
+
18
+
19
+ /********************************************************************************************
20
+ * FORMAT SIZES FROM BYTES TO KB OR MB
21
+ ********************************************************************************************/
22
+ function odb_format_size($size, $precision=1)
23
+ {
24
+ if($size>1024*1024)
25
+ $table_size = (round($size/(1024*1024),$precision)).' MB';
26
+ else
27
+ $table_size = (round($size/1024,$precision)).' KB';
28
+
29
+ return $table_size;
30
+ } // odb_format_size()
31
+
32
+
33
+ /********************************************************************************************
34
+ * CALCULATE THE SIZE OF THE WORDPRESS DATABASE (IN BYTES)
35
+ ********************************************************************************************/
36
+ function odb_get_db_size()
37
+ {
38
+ global $wpdb;
39
+
40
+ $sql = "
41
+ SELECT SUM(data_length + index_length) AS size
42
+ FROM information_schema.TABLES
43
+ WHERE table_schema = '".DB_NAME."'
44
+ GROUP BY table_schema
45
+ ";
46
+
47
+ $res = $wpdb->get_results($sql);
48
+
49
+ return $res[0]->size;
50
+ } // odb_get_db_size()
51
+
52
+
53
+ /********************************************************************************************
54
+ * GET DATABASE TABLES
55
+ ********************************************************************************************/
56
+ function odb_get_tables()
57
+ {
58
+ global $wpdb;
59
+
60
+ $sql = "
61
+ SHOW FULL TABLES
62
+ FROM `".DB_NAME."`
63
+ WHERE table_type = 'BASE TABLE'
64
+ ";
65
+
66
+ // GET THE DATABASE BASE TABLES
67
+ // $odb_class->odb_tables = $wpdb->get_results($sql, ARRAY_N);
68
+ // var_dump($wpdb->get_results($sql, ARRAY_N));
69
+ return $wpdb->get_results($sql, ARRAY_N);
70
+ } // odb_get_tables()
71
+ } // ODB_Utilities
css/style.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "utf-8";.odb-title-bar{width:96%;background-color:#0074a2;color:#FFF!important;display:inline-block;padding-left:16px;margin-top:30px}.odb-title-bar h2{color:#FFF}.odb-bold{font-weight:900}.odb-normal{font-weight:400}.odb-italic{font-style:italic}.odb-blue{color:#0074a2}.odb-action{font-size:13px;font-weight:700;color:#000}.odb-wp-table{font-weight:700;color:#0074a2}.odb-padding-left{padding-left:8px}.odb-border-bottom{border-bottom:solid 1px #999}.odb-border-top{border-top:solid 1px #999}.odb-optimizing-table{margin-top:16px}.odb-optimized{color:#0074a2;font-weight:700}.odb-underline-red{text-decoration:underline;color:red}.odb-updated{position:relative;left:-15px}.odb-found{font-size:13px;font-weight:700;color:#000}.odb-found-number{margin-left:8px;margin-bottom:18px;font-size:13px;font-weight:700;color:#000}.odb-result-table{background-color:#E8E8E8;margin-bottom:20px}.odb-not-found{margin-left:8px;margin-bottom:16px;color:#999}.odb-schedule-select{font-size:inherit;padding:0;margin:0}.odb-schedulehour{display:none}.odb-schedulehour-select{font-size:inherit}.odb-table-excludes{margin-top:10px;border:solid 1px #CCC;padding:10px}.odb-table-excludes td{padding:3px}#odb-options-tables-container{text-align:center}#odb-options-tables-wrapper{width:97%;display:inline-block;margin-top:16px;margin-left:-16px;padding:8px 0}.odb-options-table{background-color:#f0f0f0;display:inline-block;height:17px;margin:3px;border:solid 1px #E0E0E0;overflow:hidden;padding:2px;text-align:left;white-space:nowrap;width:200px}
includes/settings-page.php ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /********************************************************************************************
3
+ *
4
+ * SETTINGS ('OPTIONS') PAGE
5
+ *
6
+ ********************************************************************************************/
7
+ ?>
8
+ <?php
9
+ if(isset($_REQUEST['delete_log']))
10
+ if($_REQUEST['delete_log'] == "Y") @unlink(dirname(__FILE__).'/rvg-optimize-db-log.html');
11
+
12
+ if (isset($_POST['info_update']))
13
+ { // SAVE SETTINGS
14
+ check_admin_referer('odb_action', 'odb_nonce');
15
+
16
+ $current_datetime = Date('YmdHis');
17
+ $current_date = substr($current_datetime, 0, 8);
18
+ $current_hour = substr($current_datetime, 8, 2);
19
+
20
+ if(isset($_POST['rvg_odb_number']))
21
+ { if(!$_POST['rvg_odb_number']) $this->odb_rvg_options['nr_of_revisions'] = '0';
22
+ else $this->odb_rvg_options['nr_of_revisions'] = trim($_POST['rvg_odb_number']);
23
+ }
24
+
25
+ if(isset($_POST['rvg_clear_trash'])) $this->odb_rvg_options['clear_trash'] = $_POST['rvg_clear_trash'];
26
+ else $this->odb_rvg_options['clear_trash'] = 'N';
27
+
28
+ if(isset($_POST['rvg_clear_spam'])) $this->odb_rvg_options['clear_spam'] = $_POST['rvg_clear_spam'];
29
+ else $this->odb_rvg_options['clear_spam'] = 'N';
30
+
31
+ if(isset($_POST['rvg_clear_tags'])) $this->odb_rvg_options['clear_tags'] = $_POST['rvg_clear_tags'];
32
+ else $this->odb_rvg_options['clear_tags'] = 'N';
33
+
34
+ if(isset($_POST['rvg_clear_transients'])) $this->odb_rvg_options['clear_transients'] = $_POST['rvg_clear_transients'];
35
+ else $this->odb_rvg_options['clear_transients'] = 'N';
36
+
37
+ if(isset($_POST['rvg_clear_pingbacks'])) $this->odb_rvg_options['clear_pingbacks'] = $_POST['rvg_clear_pingbacks'];
38
+ else $this->odb_rvg_options['clear_pingbacks'] = 'N';
39
+
40
+ if(isset($_POST['rvg_odb_logging_on'])) $this->odb_rvg_options['logging_on'] = $_POST['rvg_odb_logging_on'];
41
+ else $this->odb_rvg_options['logging_on'] = 'N';
42
+
43
+ if(isset($_POST['rvg_odb_schedule']))
44
+ {
45
+ $type_old = $this->odb_rvg_options['schedule_type'];
46
+ $hour_old = $this->odb_rvg_options['schedule_hour'];
47
+
48
+ if($_POST['rvg_odb_schedule'] == '' || ($_POST['rvg_odb_schedule'] != 'daily' && $_POST['rvg_odb_schedule'] != 'weekly' ))
49
+ $_POST['rvg_odb_schedulehour'] = '';
50
+
51
+ $hour = '';
52
+ if(isset($_POST['rvg_odb_schedulehour'])) $hour = $_POST['rvg_odb_schedulehour'];
53
+
54
+ if($type_old != $_POST['rvg_odb_schedule'] || $hour_old != $hour)
55
+ { // SCHEDULE CHANGED
56
+ $this->odb_rvg_options['schedule_type'] = $_POST['rvg_odb_schedule'];
57
+ $this->odb_rvg_options['schedule_hour'] = $hour;
58
+ if($this->odb_rvg_options['schedule_type'] == '')
59
+ // UN-SCHEDULED
60
+ wp_clear_scheduled_hook('odb_scheduler');
61
+ else
62
+ // RE-SCHEDULE
63
+ $this->odb_scheduler_obj->odb_reschedule();
64
+ }
65
+ } // if(isset($_POST['rvg_odb_schedule']))
66
+
67
+ if(isset($_POST['rvg_odb_adminbar'])) $this->odb_rvg_options['adminbar'] = $_POST['rvg_odb_adminbar'];
68
+ else $this->odb_rvg_options['adminbar'] = 'N';
69
+
70
+ if(isset($_POST['rvg_odb_adminmenu'])) $this->odb_rvg_options['adminmenu'] = $_POST['rvg_odb_adminmenu'];
71
+ else $this->odb_rvg_options['adminmenu'] = 'N';
72
+
73
+ $this->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $this->odb_rvg_options);
74
+
75
+ // UPDATE EXCLUDED TABLES
76
+ // EMPTY ARRAY
77
+ $this->odb_rvg_excluded_tabs = array();
78
+
79
+ // ADD CHECKED TABLES
80
+ foreach ($_POST as $key => $value)
81
+ if(substr($key,0,3) == 'cb_')
82
+ $this->odb_rvg_excluded_tabs[substr($key,3)] = 'Y';
83
+ // SAVE TO DB
84
+ $this->odb_multisite_obj->odb_ms_update_option('odb_rvg_excluded_tabs', $this->odb_rvg_excluded_tabs);
85
+
86
+ // UPDATED MESSAGE
87
+ echo "<div class='updated odb-bold'><p>".
88
+ __('Optimize Database after Deleting Revisions SETTINGS UPDATED',$this->odb_txt_domain).
89
+ " - ";
90
+ _e('Click <a href="tools.php?page=rvg-optimize-database" class="odb-bold">HERE</a> to run the optimization',$this->odb_txt_domain);
91
+ echo "</p></div>";
92
+ } // if (isset($_POST['info_update']))
93
+ ?>
94
+ <script type="text/javascript">
95
+ function schedule_changed()
96
+ { if(jQuery("#rvg_odb_schedule").val() == "daily" || jQuery("#rvg_odb_schedule").val() == "weekly")
97
+ jQuery("#schedulehour").show();
98
+ else
99
+ jQuery("#schedulehour").hide();
100
+ }
101
+ </script>
102
+ <?php
103
+ // CHECKBOXES
104
+ $c = ' checked';
105
+ $cb_trash = ($this->odb_rvg_options['clear_trash'] == "Y") ? $c : '';
106
+ $cb_spam = ($this->odb_rvg_options['clear_spam'] == "Y") ? $c : '';
107
+ $cb_tags = ($this->odb_rvg_options['clear_tags'] == "Y") ? $c : '';
108
+ $cb_trans = ($this->odb_rvg_options['clear_transients'] == "Y") ? $c : '';
109
+ $cb_ping = ($this->odb_rvg_options['clear_pingbacks'] == "Y") ? $c : '';
110
+ $cb_logging = ($this->odb_rvg_options['logging_on'] == "Y") ? $c : '';
111
+ $cb_adminbar = ($this->odb_rvg_options['adminbar'] == "Y") ? $c : '';
112
+ $cb_adminmenu = ($this->odb_rvg_options['adminmenu'] == "Y") ? $c : '';
113
+
114
+ // DISPLAY HEADER
115
+ $this->odb_displayer_obj->display_header();
116
+
117
+ // DISPLAY FORM
118
+ echo '
119
+ <div class="odb-padding-left">
120
+ <div id="odb-options-form">
121
+ <form name="options" method="post" action="">
122
+ '.wp_nonce_field('odb_action','odb_nonce').'
123
+ <div id="odb-options-wrap">
124
+ <div id="odb-options-settings">
125
+ <div class="odb-title-bar">
126
+ <h2>'.__('Settings',$this->odb_txt_domain).'</h2>
127
+ </div>
128
+ <table border="0" cellspacing="2" cellpadding="5" class="editform" align="center">
129
+ <tr>
130
+ <td width="50%" align="right" valign="top"><span class="odb-bold">
131
+ '.__('Maximum number of - most recent - revisions<br>to keep per post / page',$this->odb_txt_domain).'
132
+ </span></td>
133
+ <td width="50%" valign="top"><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">
134
+ &nbsp;
135
+ '.__('(\'0\' means: delete <u>ALL</u> revisions)',$this->odb_txt_domain).'
136
+ </tr>
137
+ <tr>
138
+ <td width="50%" align="right" valign="top"><span class="odb-bold">
139
+ '. __('Delete trashed items',$this->odb_txt_domain).'
140
+ </span></td>
141
+ <td width="50%" valign="top"><input name="rvg_clear_trash" type="checkbox" value="Y" '.$cb_trash.'></td>
142
+ </tr>
143
+ <tr>
144
+ <td width="50%" align="right" valign="top"><span class="odb-bold">
145
+ '. __('Delete spammed items',$this->odb_txt_domain).'
146
+ </span></td>
147
+ <td width="50%" valign="top"><input name="rvg_clear_spam" type="checkbox" value="Y" '.$cb_spam.'></td>
148
+ </tr>
149
+ <tr>
150
+ <td width="50%" align="right" valign="top"><span class="odb-bold">
151
+ '.__('Delete unused tags',$this->odb_txt_domain).'
152
+ </span></td>
153
+ <td width="50%" valign="top"><input name="rvg_clear_tags" type="checkbox" value="Y" '.$cb_tags.'></td>
154
+ </tr>
155
+ <tr>
156
+ <td width="50%" align="right" valign="top"><span class="odb-bold">
157
+ '.__('Delete expired transients',$this->odb_txt_domain).'
158
+ </span></td>
159
+ <td width="50%" valign="top"><input name="rvg_clear_transients" type="checkbox" value="Y" '.$cb_trans.'></td>
160
+ </tr>
161
+ <tr>
162
+ <td width="50%" align="right" valign="top"><span class="odb-bold">
163
+ '.__('Delete pingbacks and trackbacks',$this->odb_txt_domain).'
164
+ </span></td>
165
+ <td width="50%" valign="top"><input name="rvg_clear_pingbacks" type="checkbox" value="Y" '.$cb_ping.'></td>
166
+ </tr>
167
+ <tr>
168
+ <td width="50%" align="right" valign="top"><span class="odb-bold">
169
+ '.__('Keep a log',$this->odb_txt_domain).'
170
+ </span></td>
171
+ <td width="50%" valign="top"><input name="rvg_odb_logging_on" type="checkbox" value="Y" '.$cb_logging.'></td>
172
+ </tr>
173
+
174
+ <tr>
175
+ <td width="50%" align="right"><span class="odb-bold">
176
+ '.__('Scheduler',$this->odb_txt_domain).'
177
+ </span></td>
178
+ <td width="50%"><select name="rvg_odb_schedule" id="rvg_odb_schedule" class="odb-schedule-select" onchange="schedule_changed();">
179
+ <option selected="selected" value="">
180
+ '.__('NOT SCHEDULED',$this->odb_txt_domain).'
181
+ </option>
182
+ <option value="hourly">
183
+ '.__('run optimization HOURLY',$this->odb_txt_domain).'
184
+ </option>
185
+ <option value="twicedaily">
186
+ '.__('run optimization TWICE A DAY',$this->odb_txt_domain).'
187
+ </option>
188
+ <option value="daily">
189
+ '.__('run optimization DAILY',$this->odb_txt_domain).'
190
+ </option>
191
+ <option value="weekly">
192
+ '.__('run optimization WEEKLY',$this->odb_txt_domain).'
193
+ </option>
194
+ </select>
195
+ <script type="text/javascript">
196
+ jQuery("#rvg_odb_schedule").val("'.$this->odb_rvg_options['schedule_type'].'");
197
+ </script>
198
+ </tr>
199
+ <tr id="schedulehour">
200
+ <td width="50%" align="right"><span class="odb-bold">
201
+ '.__('Time',$this->odb_txt_domain).'
202
+ </span></td>
203
+ <td>
204
+ <select name="rvg_odb_schedulehour" id="rvg_odb_schedulehour" class="odb-schedulehour-select">
205
+ ';
206
+
207
+ for($i=0; $i<=23; $i++)
208
+ { if($i<10) $i = '0'.$i;
209
+ ?>
210
+ <option value="<?php echo $i?>"><?php echo $i.':00 '.__('hrs',$this->odb_txt_domain)?></option>
211
+ <?php
212
+ } // for($i=0; $i<=23; $i++)
213
+
214
+ echo '
215
+ </select>
216
+ <script type="text/javascript">
217
+ jQuery("#rvg_odb_schedulehour").val("'.$this->odb_rvg_options['schedule_hour'].'");
218
+ </script>
219
+ </span>
220
+ </div>
221
+ </td>
222
+ </tr>
223
+ <script type="text/javascript">schedule_changed();</script>
224
+ <tr>
225
+ <td align="right" valign="top"><span class="odb-bold">
226
+ '.__('Show \'1-click\' link in Admin Bar',$this->odb_txt_domain).'*
227
+ </span></td>
228
+ <td valign="top"><input name="rvg_odb_adminbar" type="checkbox" value="Y" '.$cb_adminbar.'></td>
229
+ </tr>
230
+ <tr>
231
+ <td align="right" valign="top"><span class="odb-bold">
232
+ '. __('Show an icon in the Admin Menu',$this->odb_txt_domain).'*
233
+ </span></td>
234
+ <td valign="top"><input name="rvg_odb_adminmenu" type="checkbox" value="Y" '.$cb_adminmenu.'></td>
235
+ </tr>
236
+ </table>
237
+ <div align="center"><em>* '.__('change will be visible after loading the next page', $this->odb_txt_domain).'</em></div>
238
+ <br>
239
+ <div align="center">
240
+ <span class="odb-bold">
241
+ '.__('EXCLUDE DATABASE TABLES FROM OPTIMIZATION:<br><span class="odb-underline-red">CHECKED</span> TABLES <span class="odb-underline-red">WON\'T</span> BE OPTIMIZED!</span>',$this->odb_txt_domain).'
242
+ <br><br>
243
+ ';
244
+ ?>
245
+
246
+ <a href="javascript:;" onclick="jQuery('[id^=cb_]').attr('checked',true);">
247
+ <?php _e('check all tables', $this->odb_txt_domain);?>
248
+ </a> | <a href="javascript:;" onclick="jQuery('[id^=cb_]').attr('checked',false);">
249
+ <?php _e('uncheck all tables', $this->odb_txt_domain);?>
250
+ </a> | <a href="javascript:;" onclick="jQuery(':not([id^=cb_<?php echo $this->odb_ms_prefixes[0]; ?>])').filter('[id^=cb_]').attr('checked',true);">
251
+ <?php _e('check all NON-WordPress tables', $this->odb_txt_domain);?>
252
+ </a>
253
+
254
+ <?php
255
+ echo '
256
+ </span>
257
+ <div id="odb-options-tables-container">
258
+ <div id="odb-options-tables-wrapper">
259
+ ';
260
+
261
+ for ($i=0; $i<count($this->odb_tables); $i++)
262
+ { $class = '';
263
+ for($j=0; $j<count($this->odb_ms_prefixes); $j++)
264
+ if(substr($this->odb_tables[$i][0], 0, strlen($this->odb_ms_prefixes[$j])) == $this->odb_ms_prefixes[$j]) $class = ' odb-wp-table';
265
+ $cb_checked = '';
266
+ if(isset($this->odb_rvg_excluded_tabs[$this->odb_tables[$i][0]])) $cb_checked = ' checked';
267
+ ?>
268
+ <div class="odb-options-table<?php echo $class;?>" title="<?php echo $this->odb_tables[$i][0];?>">
269
+ <input id="cb_<?php echo $this->odb_tables[$i][0];?>" name="cb_<?php echo $this->odb_tables[$i][0];?>" type="checkbox" value="1"<?php echo $cb_checked; ?>>
270
+ <?php echo $this->odb_tables[$i][0];?></div>
271
+ <?php
272
+ }
273
+
274
+ echo '
275
+ </div><!-- /odb-options-tables-wrapper -->
276
+ <div id="odb-options-buttons" align="center">
277
+ <p>
278
+ <input class="button-primary button-large" type="submit" name="info_update" value="'.__('Save Settings',$this->odb_txt_domain).'" class="odb-bold">
279
+ &nbsp;
280
+ <input class="button odb-normal" type="button" name="optimizer" value="'.__('Go To Optimizer',$this->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database\'">
281
+ </p>
282
+ </div>
283
+ <!-- odb-options-buttons -->
284
+ </div><!-- /odb-options-tables-container -->
285
+ </div><!-- /center -->
286
+ </div><!-- /odb-options-settings -->
287
+ </div><!-- /odb-options-wrap -->
288
+ </form>
289
+ </div><!-- /odb-options-form -->
290
+ </div><!-- /odb-padding-left -->
291
+ ';
292
+ ?>
language/rvg-optimize-database-da_DK.mo CHANGED
Binary file
language/rvg-optimize-database-da_DK.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v3.4.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-07-21 22:08+0100\n"
6
- "PO-Revision-Date: 2015-07-21 22:09+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: \n"
9
  "Language: da_DK\n"
@@ -15,486 +15,536 @@ msgstr ""
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: C:\\Users\\rvgelder.KC15435\\Documents\\My Dropbox"
19
- "\\WordPress\\wp-plugins\\rvg-optimize-db\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
- # @ rvg-optimize-database
24
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
25
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
26
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
27
- msgid "Optimize Database"
28
- msgstr "Optimer Database"
29
-
30
- # @ optimize_db
31
- #: rvg-optimize-db.php:149
32
- msgid "Optimize DB (1 click)"
33
- msgstr "Optimer DB (1 klik)"
34
-
35
- # @ default
36
- #: rvg-optimize-db.php:178
37
- msgid "Once Weekly"
38
- msgstr "En gang om ugen"
39
-
40
- #: rvg-optimize-db.php:449
41
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
42
- msgstr "Optimer Database efter sletning af revisioner INDSTILLINGER OPDATERET"
43
-
44
- #: rvg-optimize-db.php:451
45
- msgid ""
46
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
47
- "\">HERE</a> to run the optimization"
48
- msgstr ""
49
- "Klik <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold\">HER</"
50
- "a> for at starte processen"
51
-
52
- #: rvg-optimize-db.php:517
53
- msgid "Optimize Database after Deleting Revisions"
54
- msgstr "Optimer Database efter sletning af revisioner"
55
-
56
- #: rvg-optimize-db.php:521
57
- msgid "is an one-click plugin to clean and optimize your WordPress database"
58
- msgstr "er et plugin til at rense og optimere din WordPress database"
59
-
60
- #: rvg-optimize-db.php:524
61
- msgid "Plugin version:"
62
- msgstr "Plugin version:"
63
-
64
- #: rvg-optimize-db.php:528
65
- msgid "Author:"
66
- msgstr "Forfatter:"
67
-
68
- #: rvg-optimize-db.php:531 rvg-optimize-db.php:841 rvg-optimize-db.php:2007
69
- msgid "The Netherlands"
70
- msgstr "Holland"
71
-
72
- #: rvg-optimize-db.php:534
73
- msgid "Plugin URL:"
74
- msgstr "Plugin URL:"
75
-
76
- #: rvg-optimize-db.php:538
77
- msgid "Download URL:"
78
- msgstr "Download URL:"
79
-
80
- #: rvg-optimize-db.php:545
81
- msgid "Settings"
82
- msgstr "Indstillinger"
83
-
84
- #: rvg-optimize-db.php:553
85
- msgid ""
86
- "Maximum number of - most recent - revisions<br />to keep per post / page"
87
- msgstr ""
88
- "Max antal af - seneste - revisioner<br />for at beholde pr. post / side"
89
-
90
- #: rvg-optimize-db.php:557
91
- msgid "('0' means: delete <u>ALL</u> revisions)"
92
- msgstr "('0' betyder: slet <u>ALT</u> revisioner)"
93
-
94
- #: rvg-optimize-db.php:561 rvg-optimize-db.php:850
95
- msgid "Delete trashed items"
96
- msgstr "Slet indhold i papirkurven"
97
-
98
- #: rvg-optimize-db.php:567 rvg-optimize-db.php:853
99
- msgid "Delete spammed items"
100
- msgstr "Slet indhold i spam"
101
-
102
- #: rvg-optimize-db.php:573 rvg-optimize-db.php:856
103
- msgid "Delete unused tags"
104
- msgstr "Slet ikke brugte tags"
105
-
106
- #: rvg-optimize-db.php:579 rvg-optimize-db.php:859
107
- msgid "Delete expired transients"
108
- msgstr "Slet udløbne transienter"
109
-
110
- #: rvg-optimize-db.php:585 rvg-optimize-db.php:862
111
- msgid "Delete pingbacks and trackbacks"
112
- msgstr "Slet pingbacks og trackbacks"
113
-
114
- #: rvg-optimize-db.php:591 rvg-optimize-db.php:865
115
- msgid "Keep a log"
116
- msgstr "Opbevar en log"
117
-
118
- #: rvg-optimize-db.php:597 rvg-optimize-db.php:871
119
- msgid "Scheduler"
120
- msgstr "Planlæg"
121
-
122
- #: rvg-optimize-db.php:601 rvg-optimize-db.php:808
123
- msgid "NOT SCHEDULED"
124
- msgstr "Ikke planlagt"
125
-
126
- #: rvg-optimize-db.php:604
127
- msgid "run optimization HOURLY"
128
- msgstr "kør optimering hver time"
129
-
130
- #: rvg-optimize-db.php:607
131
- msgid "run optimization TWICE A DAY"
132
- msgstr "kør optimering to gange om dagen"
133
-
134
- #: rvg-optimize-db.php:610
135
- msgid "run optimization DAILY"
136
- msgstr "kør optimering hver dag"
137
-
138
- #: rvg-optimize-db.php:613
139
- msgid "run optimization WEEKLY"
140
- msgstr "kør optimering hver uge"
141
-
142
- #: rvg-optimize-db.php:621
143
- msgid "Time"
144
- msgstr "Tid"
145
-
146
- #: rvg-optimize-db.php:628
147
- msgid "hrs"
148
- msgstr "timer"
149
-
150
- #: rvg-optimize-db.php:641
151
- msgid "Show '1-click' link in Admin Bar"
152
- msgstr "Vis ‘1-klik’ link i Admin Baren"
153
-
154
- #: rvg-optimize-db.php:644 rvg-optimize-db.php:651
155
- msgid "(change will be visible after loading the next page)"
156
- msgstr "(ændringer vil være synlige efter indlæsning af næste side)"
157
-
158
- #: rvg-optimize-db.php:648
159
- msgid "Show an icon in the Admin Menu"
160
- msgstr "Vis et ikon i Admin Menuen"
161
-
162
- #: rvg-optimize-db.php:656
163
- msgid ""
164
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
165
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
166
- "OPTIMIZED!</span>"
167
- msgstr ""
168
- "EKSKLUDER DATABASE TABELLER FRA OPTIMERINGEN: <span class=\"odb-underline-red"
169
- "\">KONTROLLERET</span> TABELLER <span class=\"odb-underline-red\">KAN IKKE</"
170
- "span> OPTIMER!</span>"
171
-
172
- #: rvg-optimize-db.php:659
173
- msgid "check all tables"
174
- msgstr "marker alle tabeller"
175
-
176
- #: rvg-optimize-db.php:661
177
- msgid "uncheck all tables"
178
- msgstr "marker ikke alle tabeller"
179
-
180
- #: rvg-optimize-db.php:663
181
- msgid "check all NON-WordPress tables"
182
- msgstr "marker alle IKKE-WordPres tabeller"
183
-
184
- #: rvg-optimize-db.php:687
185
- msgid "Save Settings"
186
- msgstr "Gem indstillinger"
187
-
188
- #: rvg-optimize-db.php:689
189
- msgid "Go To Optimizer"
190
- msgstr "Gå til optimeringen"
191
-
192
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
193
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
194
- msgid "NO"
195
- msgstr "NEJ"
196
-
197
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
198
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
199
- msgid "YES"
200
- msgstr "JA"
201
-
202
- #: rvg-optimize-db.php:796
203
- msgid "ONCE HOURLY"
204
- msgstr "Hver time"
205
-
206
- #: rvg-optimize-db.php:798
207
- msgid "TWICE DAILY"
208
- msgstr "To gange om dagen"
209
-
210
- #: rvg-optimize-db.php:800
211
- msgid "ONCE DAILY"
212
- msgstr "En gang om dagen"
213
-
214
- #: rvg-optimize-db.php:802
215
- msgid "ONCE WEEKLY"
216
- msgstr "En gang om ugen"
217
-
218
- # @ rvg-optimize-database
219
- #: rvg-optimize-db.php:830
220
- msgid "Optimize your WordPress Database"
221
- msgstr "Optimer din WordPress Database"
222
-
223
- #: rvg-optimize-db.php:839 rvg-optimize-db.php:2007
224
- msgid "A WordPress Plugin by"
225
- msgstr "Et Wordpress Plugin af"
226
-
227
- #: rvg-optimize-db.php:844
228
- msgid "Current settings"
229
- msgstr "Nuværende indstillinger"
230
-
231
- #: rvg-optimize-db.php:847
232
- msgid "Maximum number of - most recent - revisions to keep per post / page"
233
- msgstr "Max antal af - seneste - revisioner for at beholde pr. post / side"
234
-
235
- #: rvg-optimize-db.php:868
236
- msgid "Number of excluded tables"
237
- msgstr "Antal af ekskluderede tabeller"
238
-
239
- #: rvg-optimize-db.php:879
240
- msgid "Next scheduled run"
241
- msgstr "Næste planlagte optimering"
242
-
243
- #: rvg-optimize-db.php:888
244
- msgid "Total savings since the first run"
245
- msgstr "Samlet oprydning siden første optimering"
246
-
247
- #: rvg-optimize-db.php:895
248
- msgid "Change Settings"
249
- msgstr "Ændre indstillinger"
250
-
251
- #: rvg-optimize-db.php:901 rvg-optimize-db.php:1311
252
- msgid "View Log File"
253
- msgstr "Vis Log Fil"
254
-
255
- #: rvg-optimize-db.php:903 rvg-optimize-db.php:1313
256
- msgid "Delete Log File"
257
- msgstr "Slet Log Fil"
258
-
259
- #: rvg-optimize-db.php:912
260
- msgid "Start Optimization"
261
- msgstr "Start optimering"
262
-
263
- #: rvg-optimize-db.php:925
264
  msgid "Cleaning Database"
265
  msgstr "Optimerer Database"
266
 
267
- #: rvg-optimize-db.php:948
268
  msgid "DELETED REVISIONS"
269
  msgstr "SLETTEDE REVISIONER"
270
 
271
- #: rvg-optimize-db.php:953 rvg-optimize-db.php:1004 rvg-optimize-db.php:1056
 
272
  msgid "prefix"
273
  msgstr "prefix"
274
 
275
- #: rvg-optimize-db.php:954
276
  msgid "post / page"
277
  msgstr "post / side"
278
 
279
- #: rvg-optimize-db.php:955
280
  msgid "revision date"
281
  msgstr "revision dato"
282
 
283
- #: rvg-optimize-db.php:956
284
  msgid "revisions deleted"
285
  msgstr "revisioner slettet"
286
 
287
- #: rvg-optimize-db.php:963
288
  msgid "total number of revisions deleted"
289
  msgstr "totale antal revisioner slettet"
290
 
291
- #: rvg-optimize-db.php:973
292
  msgid "No REVISIONS found to delete"
293
  msgstr "Ingen REVISIONER blev fundet"
294
 
295
- #: rvg-optimize-db.php:999
296
  msgid "DELETED TRASHED ITEMS"
297
  msgstr "SLETTET TING I PAPIRKURVEN"
298
 
299
- #: rvg-optimize-db.php:1005
300
  msgid "type"
301
  msgstr "type"
302
 
303
- #: rvg-optimize-db.php:1006
304
  msgid "IP address / title"
305
  msgstr "IP adresse / titel"
306
 
307
- #: rvg-optimize-db.php:1007
308
  msgid "date"
309
  msgstr "dato"
310
 
311
- #: rvg-optimize-db.php:1014
312
  msgid "total number of trashed items deleted"
313
  msgstr "totale antal ting fra papirkurven slettet"
314
 
315
- #: rvg-optimize-db.php:1024
316
  msgid "No TRASHED ITEMS found to delete"
317
  msgstr "Ingen TING FRA PAPIRKURVEN blev slettet"
318
 
319
- #: rvg-optimize-db.php:1051
320
  msgid "DELETEED SPAMMED ITEMS"
321
  msgstr "SLETTEDE TING FRA SPAM"
322
 
323
- #: rvg-optimize-db.php:1057
324
  msgid "comment author"
325
  msgstr "kommentar forfatter"
326
 
327
- #: rvg-optimize-db.php:1058
328
  msgid "comment author email"
329
  msgstr "kommentar forfatter email"
330
 
331
- #: rvg-optimize-db.php:1059
332
  msgid "comment date"
333
  msgstr "kommentar dato"
334
 
335
- #: rvg-optimize-db.php:1066
336
  msgid "total number of spammed items deleted"
337
  msgstr "totale antal ting i spam blev slettet"
338
 
339
- #: rvg-optimize-db.php:1076
340
  msgid "No SPAMMED ITEMS found to delete"
341
  msgstr "Ingen TING FRA SPAM blev slettet"
342
 
343
- #: rvg-optimize-db.php:1100
344
  msgid "NUMBER OF UNUSED TAGS DELETED"
345
  msgstr "ANTAL AF UBENYTTEDE TAGS DER BLEV SLETTET"
346
 
347
- #: rvg-optimize-db.php:1108
348
  msgid "No UNUSED TAGS found to delete"
349
  msgstr "Ingen UBENYTTEDE TAGS blev slettet"
350
 
351
- #: rvg-optimize-db.php:1132
352
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
353
  msgstr "ANTALLET AF UDLØBNE TRANSIENTER DER BLEV SLETTET"
354
 
355
- #: rvg-optimize-db.php:1140
356
  msgid "No EXPIRED TRANSIENTS found to delete"
357
  msgstr "Ingen UDLØBNE TRANSIENTER blev slettet"
358
 
359
- #: rvg-optimize-db.php:1164
360
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
361
  msgstr "ANTAL AF PINBACKS OG TRACKBACK DER BLEV SLETTET"
362
 
363
- #: rvg-optimize-db.php:1172
364
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
365
  msgstr "Ingen PINGBACKS eller TRACKBACKS blev slettet"
366
 
367
- #: rvg-optimize-db.php:1193
368
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
369
  msgstr "ANTAL AF POSTMETA FORÆLDRELØSE SLETTET"
370
 
371
- #: rvg-optimize-db.php:1201
372
  msgid "No POSTMETA ORPHANS found to delete"
373
  msgstr "Ingen POSTMETA FORÆLDRELÆSE blev fundet"
374
 
375
- #: rvg-optimize-db.php:1218
376
  msgid "Optimizing Database Tables"
377
  msgstr "Optimering Database Tabeller"
378
 
379
- #: rvg-optimize-db.php:1226
380
  msgid "table name"
381
  msgstr "tabel navn"
382
 
383
- #: rvg-optimize-db.php:1227
384
  msgid "optimization result"
385
  msgstr "optimering resultat"
386
 
387
- #: rvg-optimize-db.php:1228
388
  msgid "engine"
389
  msgstr "motor"
390
 
391
- #: rvg-optimize-db.php:1229
392
  msgid "table rows"
393
  msgstr "tabel rækker"
394
 
395
- #: rvg-optimize-db.php:1230
396
  msgid "table size"
397
  msgstr "tabel størrelse"
398
 
399
- #: rvg-optimize-db.php:1256
400
  msgid "Savings"
401
  msgstr "Besparelse"
402
 
403
- #: rvg-optimize-db.php:1264
404
  msgid "size of the database"
405
  msgstr "størrelse på database"
406
 
407
- #: rvg-optimize-db.php:1267
408
  msgid "BEFORE optimization"
409
  msgstr "FØR optimering"
410
 
411
- #: rvg-optimize-db.php:1271
412
  msgid "AFTER optimization"
413
  msgstr "EFTER optimering"
414
 
415
- #: rvg-optimize-db.php:1275
416
  msgid "SAVINGS THIS TIME"
417
  msgstr "OPRYDNING DENNE GANG"
418
 
419
- #: rvg-optimize-db.php:1279
420
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
421
  msgstr "SAMLET OPRYDNING SIDEN FØRSTE OPTIMERING"
422
 
423
- #: rvg-optimize-db.php:1294
424
  msgid "DONE!"
425
  msgstr "FÆRDIG!"
426
 
427
  # Optimization took xxx seconds
428
- #: rvg-optimize-db.php:1300
429
  msgid "Optimization took"
430
  msgstr "Optimering varede"
431
 
432
  # Optimization took xxx seconds
433
- #: rvg-optimize-db.php:1302
434
  msgid "seconds"
435
  msgstr "sekunder"
436
 
437
- #: rvg-optimize-db.php:1925
 
 
 
 
 
 
 
 
438
  msgid "InnoDB table: skipped..."
439
  msgstr "InnoDB tabel: skippet…"
440
 
441
- #: rvg-optimize-db.php:1931
442
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
443
  msgstr "<span class=\"odb-optimized\">TABEL OPTIMERET</span>"
444
 
445
- #: rvg-optimize-db.php:1932
446
  msgid "Table is already up to date"
447
  msgstr "Tabel er allerede optimeret"
448
 
449
- #: rvg-optimize-db.php:2011
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
450
  msgid "time"
451
  msgstr "tid"
452
 
453
- #: rvg-optimize-db.php:2012
454
  msgid "deleted<br />revisions"
455
  msgstr "slettede<br />revisioner"
456
 
457
- #: rvg-optimize-db.php:2013
458
  msgid "deleted<br />trash"
459
  msgstr "slettet<br />papirkurv"
460
 
461
- #: rvg-optimize-db.php:2014
462
  msgid "deleted<br />spam"
463
  msgstr "slettet<br />spam"
464
 
465
- #: rvg-optimize-db.php:2015
466
  msgid "deleted<br />tags"
467
  msgstr "slettede<br />tags"
468
 
469
- #: rvg-optimize-db.php:2016
470
  msgid "deleted<br />transients"
471
  msgstr "slettede<br />trasienter"
472
 
473
- #: rvg-optimize-db.php:2017
474
  msgid "deleted<br />pingbacks<br />trackbacks"
475
  msgstr "slettede<br />pingbacks<br />trackbacks"
476
 
477
- #: rvg-optimize-db.php:2018
478
  msgid "deleted<br />orphans"
479
  msgstr "slettede<br />forældreløse"
480
 
481
  # @ rvg-optimize-database
482
- #: rvg-optimize-db.php:2019
483
  msgid "nr of optimized tables"
484
  msgstr "nr af optimerede tabeller"
485
 
486
- #: rvg-optimize-db.php:2020
487
  msgid "database size BEFORE"
488
  msgstr "database størrelse FØR"
489
 
490
- #: rvg-optimize-db.php:2021
491
  msgid "database size AFTER"
492
  msgstr "database størrelse EFTER"
493
 
494
- #: rvg-optimize-db.php:2022
495
  msgid "SAVINGS"
496
  msgstr "OPRYDNING"
497
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
498
  #~ msgid "<strong>TABLE OPTIMIZED</strong>"
499
  #~ msgstr "<strong>TABEL GEOPTIMALISEERD</strong>"
500
 
@@ -510,9 +560,6 @@ msgstr "OPRYDNING"
510
  #~ msgid "Using Optimize Database after Deleting Revisions"
511
  #~ msgstr "Med hjälp av Optimize Database after Deleting Revisions"
512
 
513
- #~ msgid "Author"
514
- #~ msgstr "Skapare"
515
-
516
  #~ msgid "Optimize Database after Deleting Revisions - Settings"
517
  #~ msgstr "Optimize Database after Deleting Revisions - Inställningar"
518
 
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v3.4.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-20 17:03+0100\n"
6
+ "PO-Revision-Date: 2015-11-20 17:03+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: \n"
9
  "Language: da_DK\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: C:\\My Dropbox\\WordPress\\wp-plugins\\rvg-optimize-db\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 "Optimerer Database"
25
 
26
+ #: classes/odb-cleaner.php:78
27
  msgid "DELETED REVISIONS"
28
  msgstr "SLETTEDE REVISIONER"
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 "post / side"
38
 
39
+ #: classes/odb-cleaner.php:85
40
  msgid "revision date"
41
  msgstr "revision dato"
42
 
43
+ #: classes/odb-cleaner.php:86
44
  msgid "revisions deleted"
45
  msgstr "revisioner slettet"
46
 
47
+ #: classes/odb-cleaner.php:98
48
  msgid "total number of revisions deleted"
49
  msgstr "totale antal revisioner slettet"
50
 
51
+ #: classes/odb-cleaner.php:110
52
  msgid "No REVISIONS found to delete"
53
  msgstr "Ingen REVISIONER blev fundet"
54
 
55
+ #: classes/odb-cleaner.php:137
56
  msgid "DELETED TRASHED ITEMS"
57
  msgstr "SLETTET TING I PAPIRKURVEN"
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 adresse / titel"
66
 
67
+ #: classes/odb-cleaner.php:145
68
  msgid "date"
69
  msgstr "dato"
70
 
71
+ #: classes/odb-cleaner.php:157
72
  msgid "total number of trashed items deleted"
73
  msgstr "totale antal ting fra papirkurven slettet"
74
 
75
+ #: classes/odb-cleaner.php:170
76
  msgid "No TRASHED ITEMS found to delete"
77
  msgstr "Ingen TING FRA PAPIRKURVEN blev slettet"
78
 
79
+ #: classes/odb-cleaner.php:198
80
  msgid "DELETEED SPAMMED ITEMS"
81
  msgstr "SLETTEDE TING FRA SPAM"
82
 
83
+ #: classes/odb-cleaner.php:204
84
  msgid "comment author"
85
  msgstr "kommentar forfatter"
86
 
87
+ #: classes/odb-cleaner.php:205
88
  msgid "comment author email"
89
  msgstr "kommentar forfatter email"
90
 
91
+ #: classes/odb-cleaner.php:206
92
  msgid "comment date"
93
  msgstr "kommentar dato"
94
 
95
+ #: classes/odb-cleaner.php:218
96
  msgid "total number of spammed items deleted"
97
  msgstr "totale antal ting i spam blev slettet"
98
 
99
+ #: classes/odb-cleaner.php:231
100
  msgid "No SPAMMED ITEMS found to delete"
101
  msgstr "Ingen TING FRA SPAM blev slettet"
102
 
103
+ #: classes/odb-cleaner.php:256
104
  msgid "NUMBER OF UNUSED TAGS DELETED"
105
  msgstr "ANTAL AF UBENYTTEDE TAGS DER BLEV SLETTET"
106
 
107
+ #: classes/odb-cleaner.php:266
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "Ingen UBENYTTEDE TAGS blev slettet"
110
 
111
+ #: classes/odb-cleaner.php:290
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "ANTALLET AF UDLØBNE TRANSIENTER DER BLEV SLETTET"
114
 
115
+ #: classes/odb-cleaner.php:300
116
  msgid "No EXPIRED TRANSIENTS found to delete"
117
  msgstr "Ingen UDLØBNE TRANSIENTER blev slettet"
118
 
119
+ #: classes/odb-cleaner.php:324
120
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
121
  msgstr "ANTAL AF PINBACKS OG TRACKBACK DER BLEV SLETTET"
122
 
123
+ #: classes/odb-cleaner.php:334
124
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
125
  msgstr "Ingen PINGBACKS eller TRACKBACKS blev slettet"
126
 
127
+ #: classes/odb-cleaner.php:355
128
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
129
  msgstr "ANTAL AF POSTMETA FORÆLDRELØSE SLETTET"
130
 
131
+ #: classes/odb-cleaner.php:365
132
  msgid "No POSTMETA ORPHANS found to delete"
133
  msgstr "Ingen POSTMETA FORÆLDRELÆSE blev fundet"
134
 
135
+ #: classes/odb-cleaner.php:393
136
  msgid "Optimizing Database Tables"
137
  msgstr "Optimering Database Tabeller"
138
 
139
+ #: classes/odb-cleaner.php:400
140
  msgid "table name"
141
  msgstr "tabel navn"
142
 
143
+ #: classes/odb-cleaner.php:401
144
  msgid "optimization result"
145
  msgstr "optimering resultat"
146
 
147
+ #: classes/odb-cleaner.php:402
148
  msgid "engine"
149
  msgstr "motor"
150
 
151
+ #: classes/odb-cleaner.php:403
152
  msgid "table rows"
153
  msgstr "tabel rækker"
154
 
155
+ #: classes/odb-cleaner.php:404
156
  msgid "table size"
157
  msgstr "tabel størrelse"
158
 
159
+ #: classes/odb-cleaner.php:452
160
  msgid "Savings"
161
  msgstr "Besparelse"
162
 
163
+ #: classes/odb-cleaner.php:459
164
  msgid "size of the database"
165
  msgstr "størrelse på database"
166
 
167
+ #: classes/odb-cleaner.php:462
168
  msgid "BEFORE optimization"
169
  msgstr "FØR optimering"
170
 
171
+ #: classes/odb-cleaner.php:466
172
  msgid "AFTER optimization"
173
  msgstr "EFTER optimering"
174
 
175
+ #: classes/odb-cleaner.php:470
176
  msgid "SAVINGS THIS TIME"
177
  msgstr "OPRYDNING DENNE GANG"
178
 
179
+ #: classes/odb-cleaner.php:474
180
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
181
  msgstr "SAMLET OPRYDNING SIDEN FØRSTE OPTIMERING"
182
 
183
+ #: classes/odb-cleaner.php:501
184
  msgid "DONE!"
185
  msgstr "FÆRDIG!"
186
 
187
  # Optimization took xxx seconds
188
+ #: classes/odb-cleaner.php:506
189
  msgid "Optimization took"
190
  msgstr "Optimering varede"
191
 
192
  # Optimization took xxx seconds
193
+ #: classes/odb-cleaner.php:506
194
  msgid "seconds"
195
  msgstr "sekunder"
196
 
197
+ #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
198
+ msgid "View Log File"
199
+ msgstr "Vis Log Fil"
200
+
201
+ #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
202
+ msgid "Delete Log File"
203
+ msgstr "Slet Log Fil"
204
+
205
+ #: classes/odb-cleaner.php:1043
206
  msgid "InnoDB table: skipped..."
207
  msgstr "InnoDB tabel: skippet…"
208
 
209
+ #: classes/odb-cleaner.php:1049
210
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
211
  msgstr "<span class=\"odb-optimized\">TABEL OPTIMERET</span>"
212
 
213
+ #: classes/odb-cleaner.php:1050
214
  msgid "Table is already up to date"
215
  msgstr "Tabel er allerede optimeret"
216
 
217
+ #: classes/odb-displayer.php:28
218
+ msgid "YES"
219
+ msgstr "JA"
220
+
221
+ #: classes/odb-displayer.php:29
222
+ msgid "NO"
223
+ msgstr "NEJ"
224
+
225
+ #: classes/odb-displayer.php:40
226
+ msgid "EVERY FIVE MINUTES"
227
+ msgstr ""
228
+
229
+ #: classes/odb-displayer.php:42
230
+ msgid "ONCE HOURLY"
231
+ msgstr "Hver time"
232
+
233
+ #: classes/odb-displayer.php:44
234
+ msgid "TWICE DAILY"
235
+ msgstr "To gange om dagen"
236
+
237
+ #: classes/odb-displayer.php:46
238
+ msgid "ONCE DAILY"
239
+ msgstr "En gang om dagen"
240
+
241
+ #: classes/odb-displayer.php:48
242
+ msgid "ONCE WEEKLY"
243
+ msgstr "En gang om ugen"
244
+
245
+ #: classes/odb-displayer.php:49 includes/settings-page.php:174
246
+ msgid "NOT SCHEDULED"
247
+ msgstr "Ikke planlagt"
248
+
249
+ #: classes/odb-displayer.php:54
250
+ msgid "Current settings"
251
+ msgstr "Nuværende indstillinger"
252
+
253
+ #: classes/odb-displayer.php:57
254
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
255
+ msgstr "Max antal af - seneste - revisioner for at beholde pr. post / side"
256
+
257
+ #: classes/odb-displayer.php:58 includes/settings-page.php:133
258
+ msgid "Delete trashed items"
259
+ msgstr "Slet indhold i papirkurven"
260
+
261
+ #: classes/odb-displayer.php:59 includes/settings-page.php:139
262
+ msgid "Delete spammed items"
263
+ msgstr "Slet indhold i spam"
264
+
265
+ #: classes/odb-displayer.php:60 includes/settings-page.php:145
266
+ msgid "Delete unused tags"
267
+ msgstr "Slet ikke brugte tags"
268
+
269
+ #: classes/odb-displayer.php:61 includes/settings-page.php:151
270
+ msgid "Delete expired transients"
271
+ msgstr "Slet udløbne transienter"
272
+
273
+ #: classes/odb-displayer.php:62 includes/settings-page.php:157
274
+ msgid "Delete pingbacks and trackbacks"
275
+ msgstr "Slet pingbacks og trackbacks"
276
+
277
+ #: classes/odb-displayer.php:63 includes/settings-page.php:163
278
+ msgid "Keep a log"
279
+ msgstr "Opbevar en log"
280
+
281
+ #: classes/odb-displayer.php:64
282
+ msgid "Last run"
283
+ msgstr ""
284
+
285
+ #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
286
+ #: includes/settings-page.php:208
287
+ msgid "hrs"
288
+ msgstr "timer"
289
+
290
+ #: classes/odb-displayer.php:65
291
+ msgid "Number of excluded tables"
292
+ msgstr "Antal af ekskluderede tabeller"
293
+
294
+ #: classes/odb-displayer.php:66 includes/settings-page.php:170
295
+ msgid "Scheduler"
296
+ msgstr "Planlæg"
297
+
298
+ #: classes/odb-displayer.php:73
299
+ msgid "Next scheduled run"
300
+ msgstr "Næste planlagte optimering"
301
+
302
+ #: classes/odb-displayer.php:73
303
+ msgid "current server time"
304
+ msgstr ""
305
+
306
+ #: classes/odb-displayer.php:78
307
+ msgid "Total savings since the first run"
308
+ msgstr "Samlet oprydning siden første optimering"
309
+
310
+ #: classes/odb-displayer.php:95
311
+ msgid "Optimize Database after Deleting Revisions"
312
+ msgstr "Optimer Database efter sletning af revisioner"
313
+
314
+ #: classes/odb-displayer.php:98
315
+ msgid ""
316
+ "A popular 'one-click' plugin to clean and optimize your WordPress database."
317
+ msgstr ""
318
+
319
+ #: classes/odb-displayer.php:101
320
+ msgid "Plugin version"
321
+ msgstr ""
322
+
323
+ #: classes/odb-displayer.php:102
324
+ msgid "Plugin page"
325
+ msgstr ""
326
+
327
+ #: classes/odb-displayer.php:103
328
+ msgid "Download page"
329
+ msgstr ""
330
+
331
+ #: classes/odb-displayer.php:104
332
+ msgid "Author"
333
+ msgstr "Skapare"
334
+
335
+ #: classes/odb-displayer.php:105
336
+ msgid "Company"
337
+ msgstr ""
338
+
339
+ #: classes/odb-displayer.php:106
340
+ msgid "Donation page"
341
+ msgstr ""
342
+
343
+ #: classes/odb-displayer.php:124
344
+ msgid "Change Settings"
345
+ msgstr "Ændre indstillinger"
346
+
347
+ #: classes/odb-displayer.php:139
348
+ msgid "Start Optimization"
349
+ msgstr "Start optimering"
350
+
351
+ #: classes/odb-logger.php:55
352
+ msgid "A WordPress Plugin by"
353
+ msgstr "Et Wordpress Plugin af"
354
+
355
+ #: classes/odb-logger.php:55
356
+ msgid "The Netherlands"
357
+ msgstr "Holland"
358
+
359
+ #: classes/odb-logger.php:59
360
  msgid "time"
361
  msgstr "tid"
362
 
363
+ #: classes/odb-logger.php:60
364
  msgid "deleted<br />revisions"
365
  msgstr "slettede<br />revisioner"
366
 
367
+ #: classes/odb-logger.php:61
368
  msgid "deleted<br />trash"
369
  msgstr "slettet<br />papirkurv"
370
 
371
+ #: classes/odb-logger.php:62
372
  msgid "deleted<br />spam"
373
  msgstr "slettet<br />spam"
374
 
375
+ #: classes/odb-logger.php:63
376
  msgid "deleted<br />tags"
377
  msgstr "slettede<br />tags"
378
 
379
+ #: classes/odb-logger.php:64
380
  msgid "deleted<br />transients"
381
  msgstr "slettede<br />trasienter"
382
 
383
+ #: classes/odb-logger.php:65
384
  msgid "deleted<br />pingbacks<br />trackbacks"
385
  msgstr "slettede<br />pingbacks<br />trackbacks"
386
 
387
+ #: classes/odb-logger.php:66
388
  msgid "deleted<br />orphans"
389
  msgstr "slettede<br />forældreløse"
390
 
391
  # @ rvg-optimize-database
392
+ #: classes/odb-logger.php:67
393
  msgid "nr of optimized tables"
394
  msgstr "nr af optimerede tabeller"
395
 
396
+ #: classes/odb-logger.php:68
397
  msgid "database size BEFORE"
398
  msgstr "database størrelse FØR"
399
 
400
+ #: classes/odb-logger.php:69
401
  msgid "database size AFTER"
402
  msgstr "database størrelse EFTER"
403
 
404
+ #: classes/odb-logger.php:70
405
  msgid "SAVINGS"
406
  msgstr "OPRYDNING"
407
 
408
+ # @ default
409
+ #: classes/odb-scheduler.php:34
410
+ msgid "Once Weekly"
411
+ msgstr "En gang om ugen"
412
+
413
+ #: classes/odb-scheduler.php:39
414
+ msgid "Every Five Minutes"
415
+ msgstr ""
416
+
417
+ #: includes/settings-page.php:82
418
+ msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
419
+ msgstr "Optimer Database efter sletning af revisioner INDSTILLINGER OPDATERET"
420
+
421
+ #: includes/settings-page.php:84
422
+ msgid ""
423
+ "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
424
+ "\">HERE</a> to run the optimization"
425
+ msgstr ""
426
+
427
+ #: includes/settings-page.php:120 rvg-optimize-db.php:257
428
+ msgid "Settings"
429
+ msgstr "Indstillinger"
430
+
431
+ #: includes/settings-page.php:125
432
+ msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
433
+ msgstr ""
434
+
435
+ #: includes/settings-page.php:129
436
+ msgid "('0' means: delete <u>ALL</u> revisions)"
437
+ msgstr "('0' betyder: slet <u>ALT</u> revisioner)"
438
+
439
+ #: includes/settings-page.php:184
440
+ msgid "run optimization HOURLY"
441
+ msgstr "kør optimering hver time"
442
+
443
+ #: includes/settings-page.php:187
444
+ msgid "run optimization TWICE A DAY"
445
+ msgstr "kør optimering to gange om dagen"
446
+
447
+ #: includes/settings-page.php:190
448
+ msgid "run optimization DAILY"
449
+ msgstr "kør optimering hver dag"
450
+
451
+ #: includes/settings-page.php:193
452
+ msgid "run optimization WEEKLY"
453
+ msgstr "kør optimering hver uge"
454
+
455
+ #: includes/settings-page.php:200
456
+ msgid "Time"
457
+ msgstr "Tid"
458
+
459
+ #: includes/settings-page.php:223
460
+ msgid "Show '1-click' link in Admin Bar"
461
+ msgstr "Vis ‘1-klik’ link i Admin Baren"
462
+
463
+ #: includes/settings-page.php:226 includes/settings-page.php:233
464
+ msgid "(change will be visible after loading the next page)"
465
+ msgstr "(ændringer vil være synlige efter indlæsning af næste side)"
466
+
467
+ #: includes/settings-page.php:230
468
+ msgid "Show an icon in the Admin Menu"
469
+ msgstr "Vis et ikon i Admin Menuen"
470
+
471
+ #: includes/settings-page.php:239
472
+ msgid ""
473
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
474
+ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
475
+ "OPTIMIZED!</span>"
476
+ msgstr ""
477
+ "EKSKLUDER DATABASE TABELLER FRA OPTIMERINGEN: <span class=\"odb-underline-red"
478
+ "\">KONTROLLERET</span> TABELLER <span class=\"odb-underline-red\">KAN IKKE</"
479
+ "span> OPTIMER!</span>"
480
+
481
+ #: includes/settings-page.php:245
482
+ msgid "check all tables"
483
+ msgstr "marker alle tabeller"
484
+
485
+ #: includes/settings-page.php:247
486
+ msgid "uncheck all tables"
487
+ msgstr "marker ikke alle tabeller"
488
+
489
+ #: includes/settings-page.php:249
490
+ msgid "check all NON-WordPress tables"
491
+ msgstr "marker alle IKKE-WordPres tabeller"
492
+
493
+ #: includes/settings-page.php:276
494
+ msgid "Save Settings"
495
+ msgstr "Gem indstillinger"
496
+
497
+ #: includes/settings-page.php:278
498
+ msgid "Go To Optimizer"
499
+ msgstr "Gå til optimeringen"
500
+
501
+ # @ rvg-optimize-database
502
+ #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
503
+ #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
504
+ #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
505
+ msgid "Optimize Database"
506
+ msgstr "Optimer Database"
507
+
508
+ # @ optimize_db
509
+ #: rvg-optimize-db.php:273
510
+ msgid "Optimize DB (1 click)"
511
+ msgstr "Optimer DB (1 klik)"
512
+
513
+ #: rvg-optimize-db.php:451
514
+ msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
515
+ msgstr ""
516
+
517
+ #~ msgid ""
518
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
519
+ #~ "\">HERE</a> to run the optimization"
520
+ #~ msgstr ""
521
+ #~ "Klik <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
522
+ #~ "\">HER</a> for at starte processen"
523
+
524
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
525
+ #~ msgstr "er et plugin til at rense og optimere din WordPress database"
526
+
527
+ #~ msgid ""
528
+ #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
529
+ #~ msgstr ""
530
+ #~ "Max antal af - seneste - revisioner<br />for at beholde pr. post / side"
531
+
532
+ # @ rvg-optimize-database
533
+ #~ msgid "Optimize your WordPress Database"
534
+ #~ msgstr "Optimer din WordPress Database"
535
+
536
+ #~ msgid "Plugin version:"
537
+ #~ msgstr "Plugin version:"
538
+
539
+ #~ msgid "Author:"
540
+ #~ msgstr "Forfatter:"
541
+
542
+ #~ msgid "Plugin URL:"
543
+ #~ msgstr "Plugin URL:"
544
+
545
+ #~ msgid "Download URL:"
546
+ #~ msgstr "Download URL:"
547
+
548
  #~ msgid "<strong>TABLE OPTIMIZED</strong>"
549
  #~ msgstr "<strong>TABEL GEOPTIMALISEERD</strong>"
550
 
560
  #~ msgid "Using Optimize Database after Deleting Revisions"
561
  #~ msgstr "Med hjälp av Optimize Database after Deleting Revisions"
562
 
 
 
 
563
  #~ msgid "Optimize Database after Deleting Revisions - Settings"
564
  #~ msgstr "Optimize Database after Deleting Revisions - Inställningar"
565
 
language/rvg-optimize-database-de_DE.mo CHANGED
Binary file
language/rvg-optimize-database-de_DE.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-06-03 13:57+0100\n"
6
- "PO-Revision-Date: 2015-06-03 13:57+0100\n"
7
- "Last-Translator: Rolf van Gelder <info@cagewebdevc.com>\n"
8
  "Language-Team: \n"
9
  "Language: de\n"
10
  "MIME-Version: 1.0\n"
@@ -12,481 +12,532 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-Basepath: ..\\Dropbox\\cagewebdev\\wp-content\\plugins\\rvg-"
16
- "optimize-db\\\n"
17
  "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
18
  "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
19
  "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
  "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
  "X-Loco-Target-Locale: de_DE\n"
23
- "X-Generator: Poedit 1.8.1\n"
24
  "X-Poedit-SearchPath-0: .\n"
25
 
26
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
27
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
28
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
29
- msgid "Optimize Database"
30
- msgstr "Datenbank optimieren"
31
-
32
- #: rvg-optimize-db.php:149
33
- msgid "Optimize DB (1 click)"
34
- msgstr "DB optimieren (1 Klick)"
35
-
36
- #: rvg-optimize-db.php:178
37
- msgid "Once Weekly"
38
- msgstr "einmal wöchentlich"
39
-
40
- #: rvg-optimize-db.php:449
41
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
42
- msgstr "Einstellungen aktualisiert"
43
-
44
- #: rvg-optimize-db.php:451
45
- msgid ""
46
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
47
- "\">HERE</a> to run the optimization"
48
- msgstr ""
49
- "<a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold\">HIER</a> "
50
- "klicken, um die Optimierung zu starten"
51
-
52
- #: rvg-optimize-db.php:517
53
- msgid "Optimize Database after Deleting Revisions"
54
- msgstr "Datenbank bereinigen und optimieren"
55
-
56
- #: rvg-optimize-db.php:521
57
- msgid "is an one-click plugin to clean and optimize your WordPress database"
58
- msgstr ""
59
- "ist ein 1-Klick Plugin zum Bereinigen und Optimieren der WordPress Datenbank"
60
-
61
- #: rvg-optimize-db.php:524
62
- msgid "Plugin version:"
63
- msgstr "Plugin Version:"
64
-
65
- #: rvg-optimize-db.php:528
66
- msgid "Author:"
67
- msgstr "Autor:"
68
-
69
- #: rvg-optimize-db.php:531 rvg-optimize-db.php:841 rvg-optimize-db.php:2007
70
- msgid "The Netherlands"
71
- msgstr "Niederlande"
72
-
73
- #: rvg-optimize-db.php:534
74
- msgid "Plugin URL:"
75
- msgstr "Plugin URL:"
76
-
77
- #: rvg-optimize-db.php:538
78
- msgid "Download URL:"
79
- msgstr "Download URL:"
80
-
81
- #: rvg-optimize-db.php:545
82
- msgid "Settings"
83
- msgstr "Einstellungen"
84
-
85
- #: rvg-optimize-db.php:553
86
- msgid ""
87
- "Maximum number of - most recent - revisions<br />to keep per post / page"
88
- msgstr "Maximal gespeicherte Anzahl<br />Revisionen pro Beitrag / Seite"
89
-
90
- #: rvg-optimize-db.php:557
91
- msgid "('0' means: delete <u>ALL</u> revisions)"
92
- msgstr "('0' bedeutet: <u>ALLE</u> Revisionen löschen)"
93
-
94
- #: rvg-optimize-db.php:561 rvg-optimize-db.php:850
95
- msgid "Delete trashed items"
96
- msgstr "Papierkorb leeren"
97
-
98
- #: rvg-optimize-db.php:567 rvg-optimize-db.php:853
99
- msgid "Delete spammed items"
100
- msgstr "Spam löschen"
101
-
102
- #: rvg-optimize-db.php:573 rvg-optimize-db.php:856
103
- msgid "Delete unused tags"
104
- msgstr "Unbenutzte Tags löschen"
105
-
106
- #: rvg-optimize-db.php:579 rvg-optimize-db.php:859
107
- msgid "Delete expired transients"
108
- msgstr "Abgelaufene Zwischenversionen löschen"
109
-
110
- #: rvg-optimize-db.php:585 rvg-optimize-db.php:862
111
- msgid "Delete pingbacks and trackbacks"
112
- msgstr "Pingbacks und Trackbacks löschen"
113
-
114
- #: rvg-optimize-db.php:591 rvg-optimize-db.php:865
115
- msgid "Keep a log"
116
- msgstr "Log mitschreiben"
117
-
118
- #: rvg-optimize-db.php:597 rvg-optimize-db.php:871
119
- msgid "Scheduler"
120
- msgstr "Zeitplan"
121
-
122
- #: rvg-optimize-db.php:601 rvg-optimize-db.php:808
123
- msgid "NOT SCHEDULED"
124
- msgstr "NICHTS GEPLANT"
125
-
126
- #: rvg-optimize-db.php:604
127
- msgid "run optimization HOURLY"
128
- msgstr "STÜNDLICH optimieren"
129
-
130
- #: rvg-optimize-db.php:607
131
- msgid "run optimization TWICE A DAY"
132
- msgstr "ZWEIMAL TÄGLICH optimieren"
133
-
134
- #: rvg-optimize-db.php:610
135
- msgid "run optimization DAILY"
136
- msgstr "TÄGLICH optimieren"
137
-
138
- #: rvg-optimize-db.php:613
139
- msgid "run optimization WEEKLY"
140
- msgstr "WÖCHENTLICH optimieren"
141
-
142
- #: rvg-optimize-db.php:621
143
- msgid "Time"
144
- msgstr "Zeit"
145
-
146
- #: rvg-optimize-db.php:628
147
- msgid "hrs"
148
- msgstr "h"
149
-
150
- #: rvg-optimize-db.php:641
151
- msgid "Show '1-click' link in Admin Bar"
152
- msgstr "Zeige '1-Klick' Link in Admin Bar"
153
-
154
- #: rvg-optimize-db.php:644 rvg-optimize-db.php:651
155
- msgid "(change will be visible after loading the next page)"
156
- msgstr "(Änderungen werden sichtbar, nachdem die nächste Seite geladen wurde)"
157
-
158
- #: rvg-optimize-db.php:648
159
- msgid "Show an icon in the Admin Menu"
160
- msgstr "Zeige Icon im Admin-Menü"
161
-
162
- #: rvg-optimize-db.php:656
163
- msgid ""
164
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
165
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
166
- "OPTIMIZED!</span>"
167
- msgstr ""
168
- "TABELLEN VON DER OPTIMIERUNG AUSSCHLIESSEN: <span class=\"odb-underline-red"
169
- "\">MARKIERTE</span> TABELLEN WERDEN <span class=\"odb-underline-red\">NICHT</"
170
- "span> OPTIMIERT!</span>"
171
-
172
- #: rvg-optimize-db.php:659
173
- msgid "check all tables"
174
- msgstr "alle Tabellen markieren"
175
-
176
- #: rvg-optimize-db.php:661
177
- msgid "uncheck all tables"
178
- msgstr "alle Markierungen entfernen"
179
-
180
- #: rvg-optimize-db.php:663
181
- msgid "check all NON-WordPress tables"
182
- msgstr "alle NICHT-WordPress-Tabellen markieren"
183
-
184
- #: rvg-optimize-db.php:687
185
- msgid "Save Settings"
186
- msgstr "Einstellungen speichern"
187
-
188
- #: rvg-optimize-db.php:689
189
- msgid "Go To Optimizer"
190
- msgstr "Zur Optimierung"
191
-
192
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
193
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
194
- msgid "NO"
195
- msgstr "NEIN"
196
-
197
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
198
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
199
- msgid "YES"
200
- msgstr "JA"
201
-
202
- #: rvg-optimize-db.php:796
203
- msgid "ONCE HOURLY"
204
- msgstr "STÜNDLICH"
205
-
206
- #: rvg-optimize-db.php:798
207
- msgid "TWICE DAILY"
208
- msgstr "ZWEIMAL TÄGLICH"
209
-
210
- #: rvg-optimize-db.php:800
211
- msgid "ONCE DAILY"
212
- msgstr "EINMAL TÄGLICH"
213
-
214
- #: rvg-optimize-db.php:802
215
- msgid "ONCE WEEKLY"
216
- msgstr "WÖCHENTLICH"
217
-
218
- #: rvg-optimize-db.php:830
219
- msgid "Optimize your WordPress Database"
220
- msgstr "WordPress Datenbank optimieren"
221
-
222
- #: rvg-optimize-db.php:839 rvg-optimize-db.php:2007
223
- msgid "A WordPress Plugin by"
224
- msgstr "Ein WordPress Plugin von"
225
-
226
- #: rvg-optimize-db.php:844
227
- msgid "Current settings"
228
- msgstr "aktuelle Einstellungen"
229
-
230
- #: rvg-optimize-db.php:847
231
- msgid "Maximum number of - most recent - revisions to keep per post / page"
232
- msgstr "Maximal gespeicherte Anzahl Revisionen pro Beitrag / Seite"
233
-
234
- #: rvg-optimize-db.php:868
235
- msgid "Number of excluded tables"
236
- msgstr "Anzahl ausgeschlossener Tabellen"
237
-
238
- #: rvg-optimize-db.php:879
239
- msgid "Next scheduled run"
240
- msgstr "Nächste geplante Optimierung"
241
-
242
- #: rvg-optimize-db.php:888
243
- msgid "Total savings since the first run"
244
- msgstr "Einsparungen insgesamt seit erstem Lauf"
245
-
246
- #: rvg-optimize-db.php:895
247
- msgid "Change Settings"
248
- msgstr "Einstellungen ändern"
249
-
250
- #: rvg-optimize-db.php:901 rvg-optimize-db.php:1311
251
- msgid "View Log File"
252
- msgstr "Log anzeigen"
253
-
254
- #: rvg-optimize-db.php:903 rvg-optimize-db.php:1313
255
- msgid "Delete Log File"
256
- msgstr "Log löschen"
257
-
258
- #: rvg-optimize-db.php:912
259
- msgid "Start Optimization"
260
- msgstr "Optimierung starten"
261
-
262
- #: rvg-optimize-db.php:925
263
  msgid "Cleaning Database"
264
  msgstr "Datenbank bereiningen"
265
 
266
- #: rvg-optimize-db.php:948
267
  msgid "DELETED REVISIONS"
268
  msgstr "GELÖSCHTE REVISIONEN"
269
 
270
- #: rvg-optimize-db.php:953 rvg-optimize-db.php:1004 rvg-optimize-db.php:1056
 
271
  msgid "prefix"
272
  msgstr "Präfix"
273
 
274
- #: rvg-optimize-db.php:954
275
  msgid "post / page"
276
  msgstr "Beitrag / Seite"
277
 
278
- #: rvg-optimize-db.php:955
279
  msgid "revision date"
280
  msgstr "Datum"
281
 
282
- #: rvg-optimize-db.php:956
283
  msgid "revisions deleted"
284
  msgstr "Revisionen gelöscht"
285
 
286
- #: rvg-optimize-db.php:963
287
  msgid "total number of revisions deleted"
288
  msgstr "insgesamt gelöschte Revisionen"
289
 
290
- #: rvg-optimize-db.php:973
291
  msgid "No REVISIONS found to delete"
292
  msgstr "Keine Revisionen zum Löschen gefunden"
293
 
294
- #: rvg-optimize-db.php:999
295
  msgid "DELETED TRASHED ITEMS"
296
  msgstr "Aus dem Papierkorb gelöscht"
297
 
298
- #: rvg-optimize-db.php:1005
299
  msgid "type"
300
  msgstr "Typ"
301
 
302
- #: rvg-optimize-db.php:1006
303
  msgid "IP address / title"
304
  msgstr "IP Adresse / Titel"
305
 
306
- #: rvg-optimize-db.php:1007
307
  msgid "date"
308
  msgstr "Datum"
309
 
310
- #: rvg-optimize-db.php:1014
311
  msgid "total number of trashed items deleted"
312
  msgstr "gesamt gelöscht"
313
 
314
- #: rvg-optimize-db.php:1024
315
  msgid "No TRASHED ITEMS found to delete"
316
  msgstr "Nichts zum Löschen im Papierkorb gefunden"
317
 
318
- #: rvg-optimize-db.php:1051
319
  msgid "DELETEED SPAMMED ITEMS"
320
  msgstr "Gelöschte Spambeiträge"
321
 
322
- #: rvg-optimize-db.php:1057
323
  msgid "comment author"
324
  msgstr "Autor"
325
 
326
- #: rvg-optimize-db.php:1058
327
  msgid "comment author email"
328
  msgstr "Email"
329
 
330
- #: rvg-optimize-db.php:1059
331
  msgid "comment date"
332
  msgstr "Datum"
333
 
334
- #: rvg-optimize-db.php:1066
335
  msgid "total number of spammed items deleted"
336
  msgstr "gesamt Spam gelöscht"
337
 
338
- #: rvg-optimize-db.php:1076
339
  msgid "No SPAMMED ITEMS found to delete"
340
  msgstr "kein Spam zum Löschen gefunden"
341
 
342
- #: rvg-optimize-db.php:1100
343
  msgid "NUMBER OF UNUSED TAGS DELETED"
344
  msgstr "gelöschte unbenutzte Tags"
345
 
346
- #: rvg-optimize-db.php:1108
347
  msgid "No UNUSED TAGS found to delete"
348
  msgstr "keine unbenutzten Tags zum Löschen gefunden"
349
 
350
- #: rvg-optimize-db.php:1132
351
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
352
  msgstr "gelöschte abgelaufene Zwischenversionen"
353
 
354
- #: rvg-optimize-db.php:1140
355
  msgid "No EXPIRED TRANSIENTS found to delete"
356
  msgstr "keine abgelaufenen Zwischenversionen zum Löschen gefunden"
357
 
358
- #: rvg-optimize-db.php:1164
359
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
360
  msgstr "gelöschte Pingbacks und Trackbacks"
361
 
362
- #: rvg-optimize-db.php:1172
363
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
364
  msgstr "keine Pingbacks und Trackbacks zum Löschen gefunden"
365
 
366
- #: rvg-optimize-db.php:1193
367
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
368
  msgstr "Anzahl gelöschter verwaister Einträge in postmeta"
369
 
370
- #: rvg-optimize-db.php:1201
371
  msgid "No POSTMETA ORPHANS found to delete"
372
  msgstr "keine verwaisten Einträge zum Löschen gefunden"
373
 
374
- #: rvg-optimize-db.php:1218
375
  msgid "Optimizing Database Tables"
376
  msgstr "Tabellen optimieren"
377
 
378
- #: rvg-optimize-db.php:1226
379
  msgid "table name"
380
  msgstr "Tabelle"
381
 
382
- #: rvg-optimize-db.php:1227
383
  msgid "optimization result"
384
  msgstr "Ergebnis"
385
 
386
- #: rvg-optimize-db.php:1228
387
  msgid "engine"
388
  msgstr "Typ"
389
 
390
- #: rvg-optimize-db.php:1229
391
  msgid "table rows"
392
  msgstr "Zeilen"
393
 
394
- #: rvg-optimize-db.php:1230
395
  msgid "table size"
396
  msgstr "Größe"
397
 
398
- #: rvg-optimize-db.php:1256
399
  msgid "Savings"
400
  msgstr "Einsparungen"
401
 
402
- #: rvg-optimize-db.php:1264
403
  msgid "size of the database"
404
  msgstr "Datenbank-Größe"
405
 
406
- #: rvg-optimize-db.php:1267
407
  msgid "BEFORE optimization"
408
  msgstr "VORHER"
409
 
410
- #: rvg-optimize-db.php:1271
411
  msgid "AFTER optimization"
412
  msgstr "NACHHER"
413
 
414
- #: rvg-optimize-db.php:1275
415
  msgid "SAVINGS THIS TIME"
416
  msgstr "Einsparungen bei diesem Lauf"
417
 
418
- #: rvg-optimize-db.php:1279
419
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
420
  msgstr "Einsparungen insgesamt seit dem ersten Lauf"
421
 
422
- #: rvg-optimize-db.php:1294
423
  msgid "DONE!"
424
  msgstr "FERTIG!"
425
 
426
- #: rvg-optimize-db.php:1300
427
  msgid "Optimization took"
428
  msgstr "Optimierung dauerte"
429
 
430
- #: rvg-optimize-db.php:1302
431
  msgid "seconds"
432
  msgstr "Sekunden"
433
 
434
- #: rvg-optimize-db.php:1925
 
 
 
 
 
 
 
 
435
  msgid "InnoDB table: skipped..."
436
  msgstr "InnoDB table: ignoriert..."
437
 
438
- #: rvg-optimize-db.php:1931
439
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
440
  msgstr "<span class=\"odb-optimized\">TABELLE OPTIMIERT</span>"
441
 
442
- #: rvg-optimize-db.php:1932
443
  msgid "Table is already up to date"
444
  msgstr "Tabelle ist aktuell"
445
 
446
- #: rvg-optimize-db.php:2011
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
447
  msgid "time"
448
  msgstr "Zeit"
449
 
450
- #: rvg-optimize-db.php:2012
451
  msgid "deleted<br />revisions"
452
  msgstr "gelöschte<br />Revisionen"
453
 
454
- #: rvg-optimize-db.php:2013
455
  msgid "deleted<br />trash"
456
  msgstr "gelöschter<br />Papierkorb"
457
 
458
- #: rvg-optimize-db.php:2014
459
  msgid "deleted<br />spam"
460
  msgstr "gelöschter<br />Spam"
461
 
462
- #: rvg-optimize-db.php:2015
463
  msgid "deleted<br />tags"
464
  msgstr "gelöschte<br />Tags"
465
 
466
- #: rvg-optimize-db.php:2016
467
  msgid "deleted<br />transients"
468
  msgstr "gelöschte<br />Zwischenversionen"
469
 
470
- #: rvg-optimize-db.php:2017
471
  msgid "deleted<br />pingbacks<br />trackbacks"
472
  msgstr "gelöschte<br />Pingbacks<br />Trackbacks"
473
 
474
- #: rvg-optimize-db.php:2018
475
  msgid "deleted<br />orphans"
476
  msgstr "gelöschte<br />Waisen"
477
 
478
- #: rvg-optimize-db.php:2019
479
  msgid "nr of optimized tables"
480
  msgstr "optimierte Tabellen"
481
 
482
- #: rvg-optimize-db.php:2020
483
  msgid "database size BEFORE"
484
  msgstr "Datenbankgröße VORHER"
485
 
486
- #: rvg-optimize-db.php:2021
487
  msgid "database size AFTER"
488
  msgstr "Datenbankgröße NACHHER"
489
 
490
- #: rvg-optimize-db.php:2022
491
  msgid "SAVINGS"
492
  msgstr "Einsparungen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-20 17:03+0100\n"
6
+ "PO-Revision-Date: 2015-11-20 17:03+0100\n"
7
+ "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: \n"
9
  "Language: de\n"
10
  "MIME-Version: 1.0\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-Basepath: C:\\My Dropbox\\WordPress\\wp-plugins\\rvg-optimize-db\n"
 
16
  "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
17
  "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
18
  "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
19
  "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
20
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
21
  "X-Loco-Target-Locale: de_DE\n"
22
+ "X-Generator: Poedit 1.7.4\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
+ #: classes/odb-cleaner.php:35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  msgid "Cleaning Database"
27
  msgstr "Datenbank bereiningen"
28
 
29
+ #: classes/odb-cleaner.php:78
30
  msgid "DELETED REVISIONS"
31
  msgstr "GELÖSCHTE REVISIONEN"
32
 
33
+ #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
34
+ #: classes/odb-cleaner.php:203
35
  msgid "prefix"
36
  msgstr "Präfix"
37
 
38
+ #: classes/odb-cleaner.php:84
39
  msgid "post / page"
40
  msgstr "Beitrag / Seite"
41
 
42
+ #: classes/odb-cleaner.php:85
43
  msgid "revision date"
44
  msgstr "Datum"
45
 
46
+ #: classes/odb-cleaner.php:86
47
  msgid "revisions deleted"
48
  msgstr "Revisionen gelöscht"
49
 
50
+ #: classes/odb-cleaner.php:98
51
  msgid "total number of revisions deleted"
52
  msgstr "insgesamt gelöschte Revisionen"
53
 
54
+ #: classes/odb-cleaner.php:110
55
  msgid "No REVISIONS found to delete"
56
  msgstr "Keine Revisionen zum Löschen gefunden"
57
 
58
+ #: classes/odb-cleaner.php:137
59
  msgid "DELETED TRASHED ITEMS"
60
  msgstr "Aus dem Papierkorb gelöscht"
61
 
62
+ #: classes/odb-cleaner.php:143
63
  msgid "type"
64
  msgstr "Typ"
65
 
66
+ #: classes/odb-cleaner.php:144
67
  msgid "IP address / title"
68
  msgstr "IP Adresse / Titel"
69
 
70
+ #: classes/odb-cleaner.php:145
71
  msgid "date"
72
  msgstr "Datum"
73
 
74
+ #: classes/odb-cleaner.php:157
75
  msgid "total number of trashed items deleted"
76
  msgstr "gesamt gelöscht"
77
 
78
+ #: classes/odb-cleaner.php:170
79
  msgid "No TRASHED ITEMS found to delete"
80
  msgstr "Nichts zum Löschen im Papierkorb gefunden"
81
 
82
+ #: classes/odb-cleaner.php:198
83
  msgid "DELETEED SPAMMED ITEMS"
84
  msgstr "Gelöschte Spambeiträge"
85
 
86
+ #: classes/odb-cleaner.php:204
87
  msgid "comment author"
88
  msgstr "Autor"
89
 
90
+ #: classes/odb-cleaner.php:205
91
  msgid "comment author email"
92
  msgstr "Email"
93
 
94
+ #: classes/odb-cleaner.php:206
95
  msgid "comment date"
96
  msgstr "Datum"
97
 
98
+ #: classes/odb-cleaner.php:218
99
  msgid "total number of spammed items deleted"
100
  msgstr "gesamt Spam gelöscht"
101
 
102
+ #: classes/odb-cleaner.php:231
103
  msgid "No SPAMMED ITEMS found to delete"
104
  msgstr "kein Spam zum Löschen gefunden"
105
 
106
+ #: classes/odb-cleaner.php:256
107
  msgid "NUMBER OF UNUSED TAGS DELETED"
108
  msgstr "gelöschte unbenutzte Tags"
109
 
110
+ #: classes/odb-cleaner.php:266
111
  msgid "No UNUSED TAGS found to delete"
112
  msgstr "keine unbenutzten Tags zum Löschen gefunden"
113
 
114
+ #: classes/odb-cleaner.php:290
115
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
116
  msgstr "gelöschte abgelaufene Zwischenversionen"
117
 
118
+ #: classes/odb-cleaner.php:300
119
  msgid "No EXPIRED TRANSIENTS found to delete"
120
  msgstr "keine abgelaufenen Zwischenversionen zum Löschen gefunden"
121
 
122
+ #: classes/odb-cleaner.php:324
123
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
124
  msgstr "gelöschte Pingbacks und Trackbacks"
125
 
126
+ #: classes/odb-cleaner.php:334
127
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
128
  msgstr "keine Pingbacks und Trackbacks zum Löschen gefunden"
129
 
130
+ #: classes/odb-cleaner.php:355
131
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
132
  msgstr "Anzahl gelöschter verwaister Einträge in postmeta"
133
 
134
+ #: classes/odb-cleaner.php:365
135
  msgid "No POSTMETA ORPHANS found to delete"
136
  msgstr "keine verwaisten Einträge zum Löschen gefunden"
137
 
138
+ #: classes/odb-cleaner.php:393
139
  msgid "Optimizing Database Tables"
140
  msgstr "Tabellen optimieren"
141
 
142
+ #: classes/odb-cleaner.php:400
143
  msgid "table name"
144
  msgstr "Tabelle"
145
 
146
+ #: classes/odb-cleaner.php:401
147
  msgid "optimization result"
148
  msgstr "Ergebnis"
149
 
150
+ #: classes/odb-cleaner.php:402
151
  msgid "engine"
152
  msgstr "Typ"
153
 
154
+ #: classes/odb-cleaner.php:403
155
  msgid "table rows"
156
  msgstr "Zeilen"
157
 
158
+ #: classes/odb-cleaner.php:404
159
  msgid "table size"
160
  msgstr "Größe"
161
 
162
+ #: classes/odb-cleaner.php:452
163
  msgid "Savings"
164
  msgstr "Einsparungen"
165
 
166
+ #: classes/odb-cleaner.php:459
167
  msgid "size of the database"
168
  msgstr "Datenbank-Größe"
169
 
170
+ #: classes/odb-cleaner.php:462
171
  msgid "BEFORE optimization"
172
  msgstr "VORHER"
173
 
174
+ #: classes/odb-cleaner.php:466
175
  msgid "AFTER optimization"
176
  msgstr "NACHHER"
177
 
178
+ #: classes/odb-cleaner.php:470
179
  msgid "SAVINGS THIS TIME"
180
  msgstr "Einsparungen bei diesem Lauf"
181
 
182
+ #: classes/odb-cleaner.php:474
183
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
184
  msgstr "Einsparungen insgesamt seit dem ersten Lauf"
185
 
186
+ #: classes/odb-cleaner.php:501
187
  msgid "DONE!"
188
  msgstr "FERTIG!"
189
 
190
+ #: classes/odb-cleaner.php:506
191
  msgid "Optimization took"
192
  msgstr "Optimierung dauerte"
193
 
194
+ #: classes/odb-cleaner.php:506
195
  msgid "seconds"
196
  msgstr "Sekunden"
197
 
198
+ #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
199
+ msgid "View Log File"
200
+ msgstr "Log anzeigen"
201
+
202
+ #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
203
+ msgid "Delete Log File"
204
+ msgstr "Log löschen"
205
+
206
+ #: classes/odb-cleaner.php:1043
207
  msgid "InnoDB table: skipped..."
208
  msgstr "InnoDB table: ignoriert..."
209
 
210
+ #: classes/odb-cleaner.php:1049
211
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
212
  msgstr "<span class=\"odb-optimized\">TABELLE OPTIMIERT</span>"
213
 
214
+ #: classes/odb-cleaner.php:1050
215
  msgid "Table is already up to date"
216
  msgstr "Tabelle ist aktuell"
217
 
218
+ #: classes/odb-displayer.php:28
219
+ msgid "YES"
220
+ msgstr "JA"
221
+
222
+ #: classes/odb-displayer.php:29
223
+ msgid "NO"
224
+ msgstr "NEIN"
225
+
226
+ #: classes/odb-displayer.php:40
227
+ msgid "EVERY FIVE MINUTES"
228
+ msgstr ""
229
+
230
+ #: classes/odb-displayer.php:42
231
+ msgid "ONCE HOURLY"
232
+ msgstr "STÜNDLICH"
233
+
234
+ #: classes/odb-displayer.php:44
235
+ msgid "TWICE DAILY"
236
+ msgstr "ZWEIMAL TÄGLICH"
237
+
238
+ #: classes/odb-displayer.php:46
239
+ msgid "ONCE DAILY"
240
+ msgstr "EINMAL TÄGLICH"
241
+
242
+ #: classes/odb-displayer.php:48
243
+ msgid "ONCE WEEKLY"
244
+ msgstr "WÖCHENTLICH"
245
+
246
+ #: classes/odb-displayer.php:49 includes/settings-page.php:174
247
+ msgid "NOT SCHEDULED"
248
+ msgstr "NICHTS GEPLANT"
249
+
250
+ #: classes/odb-displayer.php:54
251
+ msgid "Current settings"
252
+ msgstr "aktuelle Einstellungen"
253
+
254
+ #: classes/odb-displayer.php:57
255
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
256
+ msgstr "Maximal gespeicherte Anzahl Revisionen pro Beitrag / Seite"
257
+
258
+ #: classes/odb-displayer.php:58 includes/settings-page.php:133
259
+ msgid "Delete trashed items"
260
+ msgstr "Papierkorb leeren"
261
+
262
+ #: classes/odb-displayer.php:59 includes/settings-page.php:139
263
+ msgid "Delete spammed items"
264
+ msgstr "Spam löschen"
265
+
266
+ #: classes/odb-displayer.php:60 includes/settings-page.php:145
267
+ msgid "Delete unused tags"
268
+ msgstr "Unbenutzte Tags löschen"
269
+
270
+ #: classes/odb-displayer.php:61 includes/settings-page.php:151
271
+ msgid "Delete expired transients"
272
+ msgstr "Abgelaufene Zwischenversionen löschen"
273
+
274
+ #: classes/odb-displayer.php:62 includes/settings-page.php:157
275
+ msgid "Delete pingbacks and trackbacks"
276
+ msgstr "Pingbacks und Trackbacks löschen"
277
+
278
+ #: classes/odb-displayer.php:63 includes/settings-page.php:163
279
+ msgid "Keep a log"
280
+ msgstr "Log mitschreiben"
281
+
282
+ #: classes/odb-displayer.php:64
283
+ msgid "Last run"
284
+ msgstr ""
285
+
286
+ #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
287
+ #: includes/settings-page.php:208
288
+ msgid "hrs"
289
+ msgstr "h"
290
+
291
+ #: classes/odb-displayer.php:65
292
+ msgid "Number of excluded tables"
293
+ msgstr "Anzahl ausgeschlossener Tabellen"
294
+
295
+ #: classes/odb-displayer.php:66 includes/settings-page.php:170
296
+ msgid "Scheduler"
297
+ msgstr "Zeitplan"
298
+
299
+ #: classes/odb-displayer.php:73
300
+ msgid "Next scheduled run"
301
+ msgstr "Nächste geplante Optimierung"
302
+
303
+ #: classes/odb-displayer.php:73
304
+ msgid "current server time"
305
+ msgstr ""
306
+
307
+ #: classes/odb-displayer.php:78
308
+ msgid "Total savings since the first run"
309
+ msgstr "Einsparungen insgesamt seit erstem Lauf"
310
+
311
+ #: classes/odb-displayer.php:95
312
+ msgid "Optimize Database after Deleting Revisions"
313
+ msgstr "Datenbank bereinigen und optimieren"
314
+
315
+ #: classes/odb-displayer.php:98
316
+ msgid ""
317
+ "A popular 'one-click' plugin to clean and optimize your WordPress database."
318
+ msgstr ""
319
+
320
+ #: classes/odb-displayer.php:101
321
+ msgid "Plugin version"
322
+ msgstr ""
323
+
324
+ #: classes/odb-displayer.php:102
325
+ msgid "Plugin page"
326
+ msgstr ""
327
+
328
+ #: classes/odb-displayer.php:103
329
+ msgid "Download page"
330
+ msgstr ""
331
+
332
+ #: classes/odb-displayer.php:104
333
+ msgid "Author"
334
+ msgstr ""
335
+
336
+ #: classes/odb-displayer.php:105
337
+ msgid "Company"
338
+ msgstr ""
339
+
340
+ #: classes/odb-displayer.php:106
341
+ msgid "Donation page"
342
+ msgstr ""
343
+
344
+ #: classes/odb-displayer.php:124
345
+ msgid "Change Settings"
346
+ msgstr "Einstellungen ändern"
347
+
348
+ #: classes/odb-displayer.php:139
349
+ msgid "Start Optimization"
350
+ msgstr "Optimierung starten"
351
+
352
+ #: classes/odb-logger.php:55
353
+ msgid "A WordPress Plugin by"
354
+ msgstr "Ein WordPress Plugin von"
355
+
356
+ #: classes/odb-logger.php:55
357
+ msgid "The Netherlands"
358
+ msgstr "Niederlande"
359
+
360
+ #: classes/odb-logger.php:59
361
  msgid "time"
362
  msgstr "Zeit"
363
 
364
+ #: classes/odb-logger.php:60
365
  msgid "deleted<br />revisions"
366
  msgstr "gelöschte<br />Revisionen"
367
 
368
+ #: classes/odb-logger.php:61
369
  msgid "deleted<br />trash"
370
  msgstr "gelöschter<br />Papierkorb"
371
 
372
+ #: classes/odb-logger.php:62
373
  msgid "deleted<br />spam"
374
  msgstr "gelöschter<br />Spam"
375
 
376
+ #: classes/odb-logger.php:63
377
  msgid "deleted<br />tags"
378
  msgstr "gelöschte<br />Tags"
379
 
380
+ #: classes/odb-logger.php:64
381
  msgid "deleted<br />transients"
382
  msgstr "gelöschte<br />Zwischenversionen"
383
 
384
+ #: classes/odb-logger.php:65
385
  msgid "deleted<br />pingbacks<br />trackbacks"
386
  msgstr "gelöschte<br />Pingbacks<br />Trackbacks"
387
 
388
+ #: classes/odb-logger.php:66
389
  msgid "deleted<br />orphans"
390
  msgstr "gelöschte<br />Waisen"
391
 
392
+ #: classes/odb-logger.php:67
393
  msgid "nr of optimized tables"
394
  msgstr "optimierte Tabellen"
395
 
396
+ #: classes/odb-logger.php:68
397
  msgid "database size BEFORE"
398
  msgstr "Datenbankgröße VORHER"
399
 
400
+ #: classes/odb-logger.php:69
401
  msgid "database size AFTER"
402
  msgstr "Datenbankgröße NACHHER"
403
 
404
+ #: classes/odb-logger.php:70
405
  msgid "SAVINGS"
406
  msgstr "Einsparungen"
407
+
408
+ #: classes/odb-scheduler.php:34
409
+ msgid "Once Weekly"
410
+ msgstr "einmal wöchentlich"
411
+
412
+ #: classes/odb-scheduler.php:39
413
+ msgid "Every Five Minutes"
414
+ msgstr ""
415
+
416
+ #: includes/settings-page.php:82
417
+ msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
418
+ msgstr "Einstellungen aktualisiert"
419
+
420
+ #: includes/settings-page.php:84
421
+ msgid ""
422
+ "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
423
+ "\">HERE</a> to run the optimization"
424
+ msgstr ""
425
+
426
+ #: includes/settings-page.php:120 rvg-optimize-db.php:257
427
+ msgid "Settings"
428
+ msgstr "Einstellungen"
429
+
430
+ #: includes/settings-page.php:125
431
+ msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
432
+ msgstr ""
433
+
434
+ #: includes/settings-page.php:129
435
+ msgid "('0' means: delete <u>ALL</u> revisions)"
436
+ msgstr "('0' bedeutet: <u>ALLE</u> Revisionen löschen)"
437
+
438
+ #: includes/settings-page.php:184
439
+ msgid "run optimization HOURLY"
440
+ msgstr "STÜNDLICH optimieren"
441
+
442
+ #: includes/settings-page.php:187
443
+ msgid "run optimization TWICE A DAY"
444
+ msgstr "ZWEIMAL TÄGLICH optimieren"
445
+
446
+ #: includes/settings-page.php:190
447
+ msgid "run optimization DAILY"
448
+ msgstr "TÄGLICH optimieren"
449
+
450
+ #: includes/settings-page.php:193
451
+ msgid "run optimization WEEKLY"
452
+ msgstr "WÖCHENTLICH optimieren"
453
+
454
+ #: includes/settings-page.php:200
455
+ msgid "Time"
456
+ msgstr "Zeit"
457
+
458
+ #: includes/settings-page.php:223
459
+ msgid "Show '1-click' link in Admin Bar"
460
+ msgstr "Zeige '1-Klick' Link in Admin Bar"
461
+
462
+ #: includes/settings-page.php:226 includes/settings-page.php:233
463
+ msgid "(change will be visible after loading the next page)"
464
+ msgstr "(Änderungen werden sichtbar, nachdem die nächste Seite geladen wurde)"
465
+
466
+ #: includes/settings-page.php:230
467
+ msgid "Show an icon in the Admin Menu"
468
+ msgstr "Zeige Icon im Admin-Menü"
469
+
470
+ #: includes/settings-page.php:239
471
+ msgid ""
472
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
473
+ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
474
+ "OPTIMIZED!</span>"
475
+ msgstr ""
476
+ "TABELLEN VON DER OPTIMIERUNG AUSSCHLIESSEN: <span class=\"odb-underline-red"
477
+ "\">MARKIERTE</span> TABELLEN WERDEN <span class=\"odb-underline-red\">NICHT</"
478
+ "span> OPTIMIERT!</span>"
479
+
480
+ #: includes/settings-page.php:245
481
+ msgid "check all tables"
482
+ msgstr "alle Tabellen markieren"
483
+
484
+ #: includes/settings-page.php:247
485
+ msgid "uncheck all tables"
486
+ msgstr "alle Markierungen entfernen"
487
+
488
+ #: includes/settings-page.php:249
489
+ msgid "check all NON-WordPress tables"
490
+ msgstr "alle NICHT-WordPress-Tabellen markieren"
491
+
492
+ #: includes/settings-page.php:276
493
+ msgid "Save Settings"
494
+ msgstr "Einstellungen speichern"
495
+
496
+ #: includes/settings-page.php:278
497
+ msgid "Go To Optimizer"
498
+ msgstr "Zur Optimierung"
499
+
500
+ #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
501
+ #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
502
+ #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
503
+ msgid "Optimize Database"
504
+ msgstr "Datenbank optimieren"
505
+
506
+ #: rvg-optimize-db.php:273
507
+ msgid "Optimize DB (1 click)"
508
+ msgstr "DB optimieren (1 Klick)"
509
+
510
+ #: rvg-optimize-db.php:451
511
+ msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
512
+ msgstr ""
513
+
514
+ #~ msgid ""
515
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
516
+ #~ "\">HERE</a> to run the optimization"
517
+ #~ msgstr ""
518
+ #~ "<a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold\">HIER</"
519
+ #~ "a> klicken, um die Optimierung zu starten"
520
+
521
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
522
+ #~ msgstr ""
523
+ #~ "ist ein 1-Klick Plugin zum Bereinigen und Optimieren der WordPress "
524
+ #~ "Datenbank"
525
+
526
+ #~ msgid ""
527
+ #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
528
+ #~ msgstr "Maximal gespeicherte Anzahl<br />Revisionen pro Beitrag / Seite"
529
+
530
+ #~ msgid "Optimize your WordPress Database"
531
+ #~ msgstr "WordPress Datenbank optimieren"
532
+
533
+ #~ msgid "Plugin version:"
534
+ #~ msgstr "Plugin Version:"
535
+
536
+ #~ msgid "Author:"
537
+ #~ msgstr "Autor:"
538
+
539
+ #~ msgid "Plugin URL:"
540
+ #~ msgstr "Plugin URL:"
541
+
542
+ #~ msgid "Download URL:"
543
+ #~ msgstr "Download URL:"
language/rvg-optimize-database-it_IT.mo CHANGED
Binary file
language/rvg-optimize-database-it_IT.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: 2015-04-20 18:38+0100\n"
6
- "PO-Revision-Date: 2015-04-20 18:38+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: Fabio Marzocca <marzoccafabio@gmail.com>\n"
9
  "Language: it_IT\n"
@@ -15,490 +15,540 @@ msgstr ""
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: C:/Users/rvgelder.KC15435/Documents/My Dropbox/cagewebdev/"
19
- "wp-content/plugins/rvg-optimize-database\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
- # @ rvg-optimize-database
24
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
25
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
26
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
27
- msgid "Optimize Database"
28
- msgstr "Ottimizza il Database"
29
-
30
- # @ optimize_db
31
- #: rvg-optimize-db.php:149
32
- msgid "Optimize DB (1 click)"
33
- msgstr "Ottimizza il DB (con 1 click)"
34
-
35
- # @ default
36
- #: rvg-optimize-db.php:178
37
- msgid "Once Weekly"
38
- msgstr "Una volta a settimana"
39
-
40
- #: rvg-optimize-db.php:425
41
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
42
- msgstr "Optimize Database after Deleting Revisions IMPOSTAZIONI AGGIORNATE"
43
-
44
- #: rvg-optimize-db.php:427
45
- msgid ""
46
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
47
- "\">HERE</a> to run the optimization"
48
- msgstr ""
49
- "Clicca <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
50
- "\">QUI</a> per eseguire l'ottimizzazione"
51
-
52
- #: rvg-optimize-db.php:494
53
- msgid "Optimize Database after Deleting Revisions"
54
- msgstr "Optimize Database after Deleting Revisions"
55
-
56
- #: rvg-optimize-db.php:498
57
- msgid "is an one-click plugin to clean and optimize your WordPress database"
58
- msgstr ""
59
- "è un plugin per pulire e ottimizzare il vostro database Wordpress con un "
60
- "click"
61
-
62
- #: rvg-optimize-db.php:501
63
- msgid "Plugin version:"
64
- msgstr "Versione Plugin:"
65
-
66
- #: rvg-optimize-db.php:505
67
- msgid "Author:"
68
- msgstr "Autore:"
69
-
70
- #: rvg-optimize-db.php:508 rvg-optimize-db.php:820 rvg-optimize-db.php:1991
71
- msgid "The Netherlands"
72
- msgstr "Paesi Bassi"
73
-
74
- #: rvg-optimize-db.php:511
75
- msgid "Plugin URL:"
76
- msgstr "URL del plugin:"
77
-
78
- #: rvg-optimize-db.php:515
79
- msgid "Download URL:"
80
- msgstr "URL per scaricare:"
81
-
82
- #: rvg-optimize-db.php:523
83
- msgid "Settings"
84
- msgstr "Impostazioni"
85
-
86
- #: rvg-optimize-db.php:531
87
- msgid ""
88
- "Maximum number of - most recent - revisions<br />to keep per post / page"
89
- msgstr ""
90
- "Numero massimo di revisioni - più recenti -<br />da mantenere per ogni "
91
- "articolo/pagina"
92
-
93
- #: rvg-optimize-db.php:535
94
- msgid "('0' means: delete <u>ALL</u> revisions)"
95
- msgstr "('0' significa: cancella <u>TUTTE</u> le revisioni)"
96
-
97
- #: rvg-optimize-db.php:539 rvg-optimize-db.php:829
98
- msgid "Delete trashed items"
99
- msgstr "Elementi cestinati eliminati"
100
-
101
- #: rvg-optimize-db.php:545 rvg-optimize-db.php:832
102
- msgid "Delete spammed items"
103
- msgstr "Elementi di spam cancellati"
104
-
105
- #: rvg-optimize-db.php:551 rvg-optimize-db.php:835
106
- msgid "Delete unused tags"
107
- msgstr "Cancella tags non usati"
108
-
109
- #: rvg-optimize-db.php:557 rvg-optimize-db.php:838
110
- msgid "Delete expired transients"
111
- msgstr "Cancella transienti scaduti"
112
-
113
- #: rvg-optimize-db.php:563 rvg-optimize-db.php:841
114
- msgid "Delete pingbacks and trackbacks"
115
- msgstr "Cancella pingbacks e trackbacks"
116
-
117
- #: rvg-optimize-db.php:569 rvg-optimize-db.php:844
118
- msgid "Keep a log"
119
- msgstr "Mantieni un log"
120
-
121
- #: rvg-optimize-db.php:575 rvg-optimize-db.php:850
122
- msgid "Scheduler"
123
- msgstr "Pianificatore"
124
-
125
- #: rvg-optimize-db.php:579 rvg-optimize-db.php:787
126
- msgid "NOT SCHEDULED"
127
- msgstr "NON PIANIFICATO"
128
-
129
- #: rvg-optimize-db.php:582
130
- msgid "run optimization HOURLY"
131
- msgstr "esegui l'ottimizzazione OGNI ORA"
132
-
133
- #: rvg-optimize-db.php:585
134
- msgid "run optimization TWICE A DAY"
135
- msgstr "esegui l'ottimizzazione DUE VOLTE AL GIORNO"
136
-
137
- #: rvg-optimize-db.php:588
138
- msgid "run optimization DAILY"
139
- msgstr "esegui l'ottimizzazione UNA VOLTA AL GIORNO"
140
-
141
- #: rvg-optimize-db.php:591
142
- msgid "run optimization WEEKLY"
143
- msgstr "esegui l'ottimizzazione UNA VOLTA A SETTIMANA"
144
-
145
- #: rvg-optimize-db.php:599
146
- msgid "Time"
147
- msgstr "Ora"
148
-
149
- #: rvg-optimize-db.php:606
150
- msgid "hrs"
151
- msgstr "ore"
152
-
153
- #: rvg-optimize-db.php:619
154
- msgid "Show '1-click' link in Admin Bar"
155
- msgstr "Mostra il link '1-click' nella Barra di amministrazione"
156
-
157
- #: rvg-optimize-db.php:622 rvg-optimize-db.php:629
158
- msgid "(change will be visible after loading the next page)"
159
- msgstr "(la modifica sarà visibile dopo il caricamento della prossima pagina)"
160
-
161
- #: rvg-optimize-db.php:626
162
- msgid "Show an icon in the Admin Menu"
163
- msgstr "Mostra un'icona nel Menu Amministratore"
164
-
165
- #: rvg-optimize-db.php:634
166
- msgid ""
167
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
168
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
169
- "OPTIMIZED!</span>"
170
- msgstr ""
171
- "ESCLUDI TABELLE DALL'OTTIMIZZAZIONE: <span class=\"odb-underline-red\">LE "
172
- "TABELLE SELEZIONATE </span><span class=\"odb-underline-red\">NON</span> "
173
- "SARANNO OTTIMIZZATE!</span>"
174
-
175
- #: rvg-optimize-db.php:637
176
- msgid "check all tables"
177
- msgstr "seleziona tutte le tabelle"
178
-
179
- #: rvg-optimize-db.php:639
180
- msgid "uncheck all tables"
181
- msgstr "deseleziona tutte le tabelle"
182
-
183
- #: rvg-optimize-db.php:641
184
- msgid "check all NON-WordPress tables"
185
- msgstr "seleziona tutte le tabelle NON-WordPress"
186
-
187
- #: rvg-optimize-db.php:666
188
- msgid "Save Settings"
189
- msgstr "Salva le impostazioni"
190
-
191
- #: rvg-optimize-db.php:668
192
- msgid "Go To Optimizer"
193
- msgstr "Vai all'ottimizzatore"
194
-
195
- #: rvg-optimize-db.php:730 rvg-optimize-db.php:737 rvg-optimize-db.php:744
196
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:759 rvg-optimize-db.php:766
197
- msgid "NO"
198
- msgstr "NO"
199
-
200
- #: rvg-optimize-db.php:730 rvg-optimize-db.php:737 rvg-optimize-db.php:744
201
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:759 rvg-optimize-db.php:766
202
- msgid "YES"
203
- msgstr "SI"
204
-
205
- #: rvg-optimize-db.php:775
206
- msgid "ONCE HOURLY"
207
- msgstr "UNA VOLTA L'ORA"
208
-
209
- #: rvg-optimize-db.php:777
210
- msgid "TWICE DAILY"
211
- msgstr "DUE VOLTE AL GIORNO"
212
-
213
- #: rvg-optimize-db.php:779
214
- msgid "ONCE DAILY"
215
- msgstr "UNA VOLTA AL GIORNO"
216
-
217
- #: rvg-optimize-db.php:781
218
- msgid "ONCE WEEKLY"
219
- msgstr "UNA VOLTA A SETTIMANA"
220
-
221
- # @ rvg-optimize-database
222
- #: rvg-optimize-db.php:809
223
- msgid "Optimize your WordPress Database"
224
- msgstr "Ottimizza il tuo Database WordPress"
225
-
226
- #: rvg-optimize-db.php:818 rvg-optimize-db.php:1991
227
- msgid "A WordPress Plugin by"
228
- msgstr "Un Plugin Wordpress di"
229
-
230
- #: rvg-optimize-db.php:823
231
- msgid "Current settings"
232
- msgstr "Attuali impostazioni"
233
-
234
- #: rvg-optimize-db.php:826
235
- msgid "Maximum number of - most recent - revisions to keep per post / page"
236
- msgstr ""
237
- "Massimo numero di revisioni recenti da mantenere per ogni articolo / pagina"
238
-
239
- #: rvg-optimize-db.php:847
240
- msgid "Number of excluded tables"
241
- msgstr "Numero di tabelle escluse"
242
-
243
- #: rvg-optimize-db.php:858
244
- msgid "Next scheduled run"
245
- msgstr "Prossima esecuzione pianficata"
246
-
247
- #: rvg-optimize-db.php:867
248
- msgid "Total savings since the first run"
249
- msgstr "Risparmio totale dalla prima esecuzione"
250
-
251
- #: rvg-optimize-db.php:874
252
- msgid "Change Settings"
253
- msgstr "Modifica le impostazioni"
254
-
255
- #: rvg-optimize-db.php:880 rvg-optimize-db.php:1290
256
- msgid "View Log File"
257
- msgstr "Vedi il file di blog"
258
-
259
- #: rvg-optimize-db.php:882 rvg-optimize-db.php:1292
260
- msgid "Delete Log File"
261
- msgstr "Cancella il log"
262
-
263
- #: rvg-optimize-db.php:891
264
- msgid "Start Optimization"
265
- msgstr "Inizia l'ottimizzazione"
266
-
267
- #: rvg-optimize-db.php:904
268
  msgid "Cleaning Database"
269
  msgstr "Pulizia Database"
270
 
271
- #: rvg-optimize-db.php:927
272
  msgid "DELETED REVISIONS"
273
  msgstr "REVISIONI CANCELLATE"
274
 
275
- #: rvg-optimize-db.php:932 rvg-optimize-db.php:983 rvg-optimize-db.php:1035
 
276
  msgid "prefix"
277
  msgstr "prefisso"
278
 
279
- #: rvg-optimize-db.php:933
280
  msgid "post / page"
281
  msgstr "articolo / pagina"
282
 
283
- #: rvg-optimize-db.php:934
284
  msgid "revision date"
285
  msgstr "data di revisione"
286
 
287
- #: rvg-optimize-db.php:935
288
  msgid "revisions deleted"
289
  msgstr "revisioni cancellate"
290
 
291
- #: rvg-optimize-db.php:942
292
  msgid "total number of revisions deleted"
293
  msgstr "numero totale di revisioni cancellate"
294
 
295
- #: rvg-optimize-db.php:952
296
  msgid "No REVISIONS found to delete"
297
  msgstr "Nessuna REVISIONE trovata da cancellare"
298
 
299
- #: rvg-optimize-db.php:978
300
  msgid "DELETED TRASHED ITEMS"
301
  msgstr "ELEMENTI RIMOSSI DAL CESTINO"
302
 
303
- #: rvg-optimize-db.php:984
304
  msgid "type"
305
  msgstr "tipo"
306
 
307
- #: rvg-optimize-db.php:985
308
  msgid "IP address / title"
309
  msgstr "indirizzo IP / titolo"
310
 
311
- #: rvg-optimize-db.php:986
312
  msgid "date"
313
  msgstr "data"
314
 
315
- #: rvg-optimize-db.php:993
316
  msgid "total number of trashed items deleted"
317
  msgstr "numero totale di elementi rimossi dal cestino"
318
 
319
- #: rvg-optimize-db.php:1003
320
  msgid "No TRASHED ITEMS found to delete"
321
  msgstr "Nessun elemento trovato nel CESTINO"
322
 
323
- #: rvg-optimize-db.php:1030
324
  msgid "DELETEED SPAMMED ITEMS"
325
  msgstr "ELEMENTI DI SPAM CANCELLATI"
326
 
327
- #: rvg-optimize-db.php:1036
328
  msgid "comment author"
329
  msgstr "autore del commenti"
330
 
331
- #: rvg-optimize-db.php:1037
332
  msgid "comment author email"
333
  msgstr "email dell'autore del commento"
334
 
335
- #: rvg-optimize-db.php:1038
336
  msgid "comment date"
337
  msgstr "data del commento"
338
 
339
- #: rvg-optimize-db.php:1045
340
  msgid "total number of spammed items deleted"
341
  msgstr "numero totale di elementi di spam cancellati"
342
 
343
- #: rvg-optimize-db.php:1055
344
  msgid "No SPAMMED ITEMS found to delete"
345
  msgstr "Nessun elemento trovato nello SPAM"
346
 
347
- #: rvg-optimize-db.php:1079
348
  msgid "NUMBER OF UNUSED TAGS DELETED"
349
  msgstr "NUMERO DI TAG NON USATI CANCELLATI"
350
 
351
- #: rvg-optimize-db.php:1087
352
  msgid "No UNUSED TAGS found to delete"
353
  msgstr "Nessun TAG NON USATO trovato da cancellare"
354
 
355
- #: rvg-optimize-db.php:1111
356
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
357
  msgstr "NUMERO DI TRANSIENTI SCADUTI CANCELLATI"
358
 
359
- #: rvg-optimize-db.php:1119
360
  msgid "No EXPIRED TRANSIENTS found to delete"
361
  msgstr "Nessun TRANSIENTE SCADUTO trovato da cancellare"
362
 
363
- #: rvg-optimize-db.php:1143
364
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
365
  msgstr "NUMERO DI PINGBACKS e TRACKBACKS CANCELLATI"
366
 
367
- #: rvg-optimize-db.php:1151
368
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
369
  msgstr "Nessun PINGBACK o TRACKBACK da cancellare"
370
 
371
- #: rvg-optimize-db.php:1172
372
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
373
  msgstr "NUMERO DI POSTMETA ORFANI CANCELLATI"
374
 
375
- #: rvg-optimize-db.php:1180
376
  msgid "No POSTMETA ORPHANS found to delete"
377
  msgstr "Nessun POSTMETA ORFANO trovato da cancellare"
378
 
379
- #: rvg-optimize-db.php:1197
380
  msgid "Optimizing Database Tables"
381
  msgstr "Ottimizzazione tabelle database"
382
 
383
- #: rvg-optimize-db.php:1205
384
  msgid "table name"
385
  msgstr "nome tabella"
386
 
387
- #: rvg-optimize-db.php:1206
388
  msgid "optimization result"
389
  msgstr "risultato ottimizzazione"
390
 
391
- #: rvg-optimize-db.php:1207
392
  msgid "engine"
393
  msgstr "motore"
394
 
395
- #: rvg-optimize-db.php:1208
396
  msgid "table rows"
397
  msgstr "righe tabella"
398
 
399
- #: rvg-optimize-db.php:1209
400
  msgid "table size"
401
  msgstr "dimensione tabella"
402
 
403
- #: rvg-optimize-db.php:1235
404
  msgid "Savings"
405
  msgstr "Risparmi"
406
 
407
- #: rvg-optimize-db.php:1243
408
  msgid "size of the database"
409
  msgstr "dimensione del database"
410
 
411
- #: rvg-optimize-db.php:1246
412
  msgid "BEFORE optimization"
413
  msgstr "PRIMA dell'ottimizzazione"
414
 
415
- #: rvg-optimize-db.php:1250
416
  msgid "AFTER optimization"
417
  msgstr "DOPO l'ottimizzazione"
418
 
419
- #: rvg-optimize-db.php:1254
420
  msgid "SAVINGS THIS TIME"
421
  msgstr "RISPARMI DI QUESTA ESECUZIONE"
422
 
423
- #: rvg-optimize-db.php:1258
424
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
425
  msgstr "RISPARMI TOTALI DALLA PRIMA ESECUZIONE"
426
 
427
- #: rvg-optimize-db.php:1273
428
  msgid "DONE!"
429
  msgstr "FATTO!"
430
 
431
  # Optimization took xxx seconds
432
- #: rvg-optimize-db.php:1279
433
  msgid "Optimization took"
434
  msgstr "L'ottimizzazione ha impiegato"
435
 
436
  # Optimization took xxx seconds
437
- #: rvg-optimize-db.php:1281
438
  msgid "seconds"
439
  msgstr "secondi"
440
 
441
- #: rvg-optimize-db.php:1909
 
 
 
 
 
 
 
 
442
  msgid "InnoDB table: skipped..."
443
  msgstr "Tabella InnoDB: saltata"
444
 
445
- #: rvg-optimize-db.php:1915
446
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
447
  msgstr "<span class=\"odb-optimized\">TABELLA OTTIMIZZATA</span>"
448
 
449
- #: rvg-optimize-db.php:1916
450
  msgid "Table is already up to date"
451
  msgstr "La tabella è già aggiornata"
452
 
453
- #: rvg-optimize-db.php:1995
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  msgid "time"
455
  msgstr "tempo"
456
 
457
- #: rvg-optimize-db.php:1996
458
  msgid "deleted<br />revisions"
459
  msgstr "revisioni<br />cancellate"
460
 
461
- #: rvg-optimize-db.php:1997
462
  msgid "deleted<br />trash"
463
  msgstr "cestino<br/>cancellato"
464
 
465
- #: rvg-optimize-db.php:1998
466
  msgid "deleted<br />spam"
467
  msgstr "spam<br />cancellato"
468
 
469
- #: rvg-optimize-db.php:1999
470
  msgid "deleted<br />tags"
471
  msgstr "tags<br />cancellati"
472
 
473
- #: rvg-optimize-db.php:2000
474
  msgid "deleted<br />transients"
475
  msgstr "transienti<br />cancellati"
476
 
477
- #: rvg-optimize-db.php:2001
478
  msgid "deleted<br />pingbacks<br />trackbacks"
479
  msgstr "pingback<br />trackbacks<br />cancellati"
480
 
481
- #: rvg-optimize-db.php:2002
482
  msgid "deleted<br />orphans"
483
  msgstr "orfani<br />cancellati"
484
 
485
  # @ rvg-optimize-database
486
- #: rvg-optimize-db.php:2003
487
  msgid "nr of optimized tables"
488
  msgstr "numero di tabelle ottimizzate"
489
 
490
- #: rvg-optimize-db.php:2004
491
  msgid "database size BEFORE"
492
  msgstr "dimensione del database PRIMA"
493
 
494
- #: rvg-optimize-db.php:2005
495
  msgid "database size AFTER"
496
  msgstr "dimensione del database DOPO"
497
 
498
- #: rvg-optimize-db.php:2006
499
  msgid "SAVINGS"
500
  msgstr "RISPARMI"
501
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
502
  # @ default
503
  #~ msgctxt "timezone date format"
504
  #~ msgid "YmdGis"
@@ -507,9 +557,6 @@ msgstr "RISPARMI"
507
  #~ msgid "Using Optimize Database after Deleting Revisions"
508
  #~ msgstr "Utilizzando Ottimizza il database dopo l'eliminazione Revisioni"
509
 
510
- #~ msgid "Author"
511
- #~ msgstr "Autore"
512
-
513
  #~ msgid "Optimize Database after Deleting Revisions - Settings"
514
  #~ msgstr "Optimize Database after Deleting Revisions - Impostazioni"
515
 
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: 2015-11-20 17:04+0100\n"
6
+ "PO-Revision-Date: 2015-11-20 17:04+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: Fabio Marzocca <marzoccafabio@gmail.com>\n"
9
  "Language: it_IT\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: C:\\My Dropbox\\WordPress\\wp-plugins\\rvg-optimize-db\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 "Pulizia Database"
25
 
26
+ #: classes/odb-cleaner.php:78
27
  msgid "DELETED REVISIONS"
28
  msgstr "REVISIONI CANCELLATE"
29
 
30
+ #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
31
+ #: classes/odb-cleaner.php:203
32
  msgid "prefix"
33
  msgstr "prefisso"
34
 
35
+ #: classes/odb-cleaner.php:84
36
  msgid "post / page"
37
  msgstr "articolo / pagina"
38
 
39
+ #: classes/odb-cleaner.php:85
40
  msgid "revision date"
41
  msgstr "data di revisione"
42
 
43
+ #: classes/odb-cleaner.php:86
44
  msgid "revisions deleted"
45
  msgstr "revisioni cancellate"
46
 
47
+ #: classes/odb-cleaner.php:98
48
  msgid "total number of revisions deleted"
49
  msgstr "numero totale di revisioni cancellate"
50
 
51
+ #: classes/odb-cleaner.php:110
52
  msgid "No REVISIONS found to delete"
53
  msgstr "Nessuna REVISIONE trovata da cancellare"
54
 
55
+ #: classes/odb-cleaner.php:137
56
  msgid "DELETED TRASHED ITEMS"
57
  msgstr "ELEMENTI RIMOSSI DAL CESTINO"
58
 
59
+ #: classes/odb-cleaner.php:143
60
  msgid "type"
61
  msgstr "tipo"
62
 
63
+ #: classes/odb-cleaner.php:144
64
  msgid "IP address / title"
65
  msgstr "indirizzo IP / titolo"
66
 
67
+ #: classes/odb-cleaner.php:145
68
  msgid "date"
69
  msgstr "data"
70
 
71
+ #: classes/odb-cleaner.php:157
72
  msgid "total number of trashed items deleted"
73
  msgstr "numero totale di elementi rimossi dal cestino"
74
 
75
+ #: classes/odb-cleaner.php:170
76
  msgid "No TRASHED ITEMS found to delete"
77
  msgstr "Nessun elemento trovato nel CESTINO"
78
 
79
+ #: classes/odb-cleaner.php:198
80
  msgid "DELETEED SPAMMED ITEMS"
81
  msgstr "ELEMENTI DI SPAM CANCELLATI"
82
 
83
+ #: classes/odb-cleaner.php:204
84
  msgid "comment author"
85
  msgstr "autore del commenti"
86
 
87
+ #: classes/odb-cleaner.php:205
88
  msgid "comment author email"
89
  msgstr "email dell'autore del commento"
90
 
91
+ #: classes/odb-cleaner.php:206
92
  msgid "comment date"
93
  msgstr "data del commento"
94
 
95
+ #: classes/odb-cleaner.php:218
96
  msgid "total number of spammed items deleted"
97
  msgstr "numero totale di elementi di spam cancellati"
98
 
99
+ #: classes/odb-cleaner.php:231
100
  msgid "No SPAMMED ITEMS found to delete"
101
  msgstr "Nessun elemento trovato nello SPAM"
102
 
103
+ #: classes/odb-cleaner.php:256
104
  msgid "NUMBER OF UNUSED TAGS DELETED"
105
  msgstr "NUMERO DI TAG NON USATI CANCELLATI"
106
 
107
+ #: classes/odb-cleaner.php:266
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "Nessun TAG NON USATO trovato da cancellare"
110
 
111
+ #: classes/odb-cleaner.php:290
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "NUMERO DI TRANSIENTI SCADUTI CANCELLATI"
114
 
115
+ #: classes/odb-cleaner.php:300
116
  msgid "No EXPIRED TRANSIENTS found to delete"
117
  msgstr "Nessun TRANSIENTE SCADUTO trovato da cancellare"
118
 
119
+ #: classes/odb-cleaner.php:324
120
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
121
  msgstr "NUMERO DI PINGBACKS e TRACKBACKS CANCELLATI"
122
 
123
+ #: classes/odb-cleaner.php:334
124
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
125
  msgstr "Nessun PINGBACK o TRACKBACK da cancellare"
126
 
127
+ #: classes/odb-cleaner.php:355
128
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
129
  msgstr "NUMERO DI POSTMETA ORFANI CANCELLATI"
130
 
131
+ #: classes/odb-cleaner.php:365
132
  msgid "No POSTMETA ORPHANS found to delete"
133
  msgstr "Nessun POSTMETA ORFANO trovato da cancellare"
134
 
135
+ #: classes/odb-cleaner.php:393
136
  msgid "Optimizing Database Tables"
137
  msgstr "Ottimizzazione tabelle database"
138
 
139
+ #: classes/odb-cleaner.php:400
140
  msgid "table name"
141
  msgstr "nome tabella"
142
 
143
+ #: classes/odb-cleaner.php:401
144
  msgid "optimization result"
145
  msgstr "risultato ottimizzazione"
146
 
147
+ #: classes/odb-cleaner.php:402
148
  msgid "engine"
149
  msgstr "motore"
150
 
151
+ #: classes/odb-cleaner.php:403
152
  msgid "table rows"
153
  msgstr "righe tabella"
154
 
155
+ #: classes/odb-cleaner.php:404
156
  msgid "table size"
157
  msgstr "dimensione tabella"
158
 
159
+ #: classes/odb-cleaner.php:452
160
  msgid "Savings"
161
  msgstr "Risparmi"
162
 
163
+ #: classes/odb-cleaner.php:459
164
  msgid "size of the database"
165
  msgstr "dimensione del database"
166
 
167
+ #: classes/odb-cleaner.php:462
168
  msgid "BEFORE optimization"
169
  msgstr "PRIMA dell'ottimizzazione"
170
 
171
+ #: classes/odb-cleaner.php:466
172
  msgid "AFTER optimization"
173
  msgstr "DOPO l'ottimizzazione"
174
 
175
+ #: classes/odb-cleaner.php:470
176
  msgid "SAVINGS THIS TIME"
177
  msgstr "RISPARMI DI QUESTA ESECUZIONE"
178
 
179
+ #: classes/odb-cleaner.php:474
180
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
181
  msgstr "RISPARMI TOTALI DALLA PRIMA ESECUZIONE"
182
 
183
+ #: classes/odb-cleaner.php:501
184
  msgid "DONE!"
185
  msgstr "FATTO!"
186
 
187
  # Optimization took xxx seconds
188
+ #: classes/odb-cleaner.php:506
189
  msgid "Optimization took"
190
  msgstr "L'ottimizzazione ha impiegato"
191
 
192
  # Optimization took xxx seconds
193
+ #: classes/odb-cleaner.php:506
194
  msgid "seconds"
195
  msgstr "secondi"
196
 
197
+ #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
198
+ msgid "View Log File"
199
+ msgstr "Vedi il file di blog"
200
+
201
+ #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
202
+ msgid "Delete Log File"
203
+ msgstr "Cancella il log"
204
+
205
+ #: classes/odb-cleaner.php:1043
206
  msgid "InnoDB table: skipped..."
207
  msgstr "Tabella InnoDB: saltata"
208
 
209
+ #: classes/odb-cleaner.php:1049
210
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
211
  msgstr "<span class=\"odb-optimized\">TABELLA OTTIMIZZATA</span>"
212
 
213
+ #: classes/odb-cleaner.php:1050
214
  msgid "Table is already up to date"
215
  msgstr "La tabella è già aggiornata"
216
 
217
+ #: classes/odb-displayer.php:28
218
+ msgid "YES"
219
+ msgstr "SI"
220
+
221
+ #: classes/odb-displayer.php:29
222
+ msgid "NO"
223
+ msgstr "NO"
224
+
225
+ #: classes/odb-displayer.php:40
226
+ msgid "EVERY FIVE MINUTES"
227
+ msgstr ""
228
+
229
+ #: classes/odb-displayer.php:42
230
+ msgid "ONCE HOURLY"
231
+ msgstr "UNA VOLTA L'ORA"
232
+
233
+ #: classes/odb-displayer.php:44
234
+ msgid "TWICE DAILY"
235
+ msgstr "DUE VOLTE AL GIORNO"
236
+
237
+ #: classes/odb-displayer.php:46
238
+ msgid "ONCE DAILY"
239
+ msgstr "UNA VOLTA AL GIORNO"
240
+
241
+ #: classes/odb-displayer.php:48
242
+ msgid "ONCE WEEKLY"
243
+ msgstr "UNA VOLTA A SETTIMANA"
244
+
245
+ #: classes/odb-displayer.php:49 includes/settings-page.php:174
246
+ msgid "NOT SCHEDULED"
247
+ msgstr "NON PIANIFICATO"
248
+
249
+ #: classes/odb-displayer.php:54
250
+ msgid "Current settings"
251
+ msgstr "Attuali impostazioni"
252
+
253
+ #: classes/odb-displayer.php:57
254
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
255
+ msgstr ""
256
+ "Massimo numero di revisioni recenti da mantenere per ogni articolo / pagina"
257
+
258
+ #: classes/odb-displayer.php:58 includes/settings-page.php:133
259
+ msgid "Delete trashed items"
260
+ msgstr "Elementi cestinati eliminati"
261
+
262
+ #: classes/odb-displayer.php:59 includes/settings-page.php:139
263
+ msgid "Delete spammed items"
264
+ msgstr "Elementi di spam cancellati"
265
+
266
+ #: classes/odb-displayer.php:60 includes/settings-page.php:145
267
+ msgid "Delete unused tags"
268
+ msgstr "Cancella tags non usati"
269
+
270
+ #: classes/odb-displayer.php:61 includes/settings-page.php:151
271
+ msgid "Delete expired transients"
272
+ msgstr "Cancella transienti scaduti"
273
+
274
+ #: classes/odb-displayer.php:62 includes/settings-page.php:157
275
+ msgid "Delete pingbacks and trackbacks"
276
+ msgstr "Cancella pingbacks e trackbacks"
277
+
278
+ #: classes/odb-displayer.php:63 includes/settings-page.php:163
279
+ msgid "Keep a log"
280
+ msgstr "Mantieni un log"
281
+
282
+ #: classes/odb-displayer.php:64
283
+ msgid "Last run"
284
+ msgstr ""
285
+
286
+ #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
287
+ #: includes/settings-page.php:208
288
+ msgid "hrs"
289
+ msgstr "ore"
290
+
291
+ #: classes/odb-displayer.php:65
292
+ msgid "Number of excluded tables"
293
+ msgstr "Numero di tabelle escluse"
294
+
295
+ #: classes/odb-displayer.php:66 includes/settings-page.php:170
296
+ msgid "Scheduler"
297
+ msgstr "Pianificatore"
298
+
299
+ #: classes/odb-displayer.php:73
300
+ msgid "Next scheduled run"
301
+ msgstr "Prossima esecuzione pianficata"
302
+
303
+ #: classes/odb-displayer.php:73
304
+ msgid "current server time"
305
+ msgstr ""
306
+
307
+ #: classes/odb-displayer.php:78
308
+ msgid "Total savings since the first run"
309
+ msgstr "Risparmio totale dalla prima esecuzione"
310
+
311
+ #: classes/odb-displayer.php:95
312
+ msgid "Optimize Database after Deleting Revisions"
313
+ msgstr "Optimize Database after Deleting Revisions"
314
+
315
+ #: classes/odb-displayer.php:98
316
+ msgid ""
317
+ "A popular 'one-click' plugin to clean and optimize your WordPress database."
318
+ msgstr ""
319
+
320
+ #: classes/odb-displayer.php:101
321
+ msgid "Plugin version"
322
+ msgstr ""
323
+
324
+ #: classes/odb-displayer.php:102
325
+ msgid "Plugin page"
326
+ msgstr ""
327
+
328
+ #: classes/odb-displayer.php:103
329
+ msgid "Download page"
330
+ msgstr ""
331
+
332
+ #: classes/odb-displayer.php:104
333
+ msgid "Author"
334
+ msgstr "Autore"
335
+
336
+ #: classes/odb-displayer.php:105
337
+ msgid "Company"
338
+ msgstr ""
339
+
340
+ #: classes/odb-displayer.php:106
341
+ msgid "Donation page"
342
+ msgstr ""
343
+
344
+ #: classes/odb-displayer.php:124
345
+ msgid "Change Settings"
346
+ msgstr "Modifica le impostazioni"
347
+
348
+ #: classes/odb-displayer.php:139
349
+ msgid "Start Optimization"
350
+ msgstr "Inizia l'ottimizzazione"
351
+
352
+ #: classes/odb-logger.php:55
353
+ msgid "A WordPress Plugin by"
354
+ msgstr "Un Plugin Wordpress di"
355
+
356
+ #: classes/odb-logger.php:55
357
+ msgid "The Netherlands"
358
+ msgstr "Paesi Bassi"
359
+
360
+ #: classes/odb-logger.php:59
361
  msgid "time"
362
  msgstr "tempo"
363
 
364
+ #: classes/odb-logger.php:60
365
  msgid "deleted<br />revisions"
366
  msgstr "revisioni<br />cancellate"
367
 
368
+ #: classes/odb-logger.php:61
369
  msgid "deleted<br />trash"
370
  msgstr "cestino<br/>cancellato"
371
 
372
+ #: classes/odb-logger.php:62
373
  msgid "deleted<br />spam"
374
  msgstr "spam<br />cancellato"
375
 
376
+ #: classes/odb-logger.php:63
377
  msgid "deleted<br />tags"
378
  msgstr "tags<br />cancellati"
379
 
380
+ #: classes/odb-logger.php:64
381
  msgid "deleted<br />transients"
382
  msgstr "transienti<br />cancellati"
383
 
384
+ #: classes/odb-logger.php:65
385
  msgid "deleted<br />pingbacks<br />trackbacks"
386
  msgstr "pingback<br />trackbacks<br />cancellati"
387
 
388
+ #: classes/odb-logger.php:66
389
  msgid "deleted<br />orphans"
390
  msgstr "orfani<br />cancellati"
391
 
392
  # @ rvg-optimize-database
393
+ #: classes/odb-logger.php:67
394
  msgid "nr of optimized tables"
395
  msgstr "numero di tabelle ottimizzate"
396
 
397
+ #: classes/odb-logger.php:68
398
  msgid "database size BEFORE"
399
  msgstr "dimensione del database PRIMA"
400
 
401
+ #: classes/odb-logger.php:69
402
  msgid "database size AFTER"
403
  msgstr "dimensione del database DOPO"
404
 
405
+ #: classes/odb-logger.php:70
406
  msgid "SAVINGS"
407
  msgstr "RISPARMI"
408
 
409
+ # @ default
410
+ #: classes/odb-scheduler.php:34
411
+ msgid "Once Weekly"
412
+ msgstr "Una volta a settimana"
413
+
414
+ #: classes/odb-scheduler.php:39
415
+ msgid "Every Five Minutes"
416
+ msgstr ""
417
+
418
+ #: includes/settings-page.php:82
419
+ msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
420
+ msgstr "Optimize Database after Deleting Revisions IMPOSTAZIONI AGGIORNATE"
421
+
422
+ #: includes/settings-page.php:84
423
+ msgid ""
424
+ "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
425
+ "\">HERE</a> to run the optimization"
426
+ msgstr ""
427
+
428
+ #: includes/settings-page.php:120 rvg-optimize-db.php:257
429
+ msgid "Settings"
430
+ msgstr "Impostazioni"
431
+
432
+ #: includes/settings-page.php:125
433
+ msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
434
+ msgstr ""
435
+
436
+ #: includes/settings-page.php:129
437
+ msgid "('0' means: delete <u>ALL</u> revisions)"
438
+ msgstr "('0' significa: cancella <u>TUTTE</u> le revisioni)"
439
+
440
+ #: includes/settings-page.php:184
441
+ msgid "run optimization HOURLY"
442
+ msgstr "esegui l'ottimizzazione OGNI ORA"
443
+
444
+ #: includes/settings-page.php:187
445
+ msgid "run optimization TWICE A DAY"
446
+ msgstr "esegui l'ottimizzazione DUE VOLTE AL GIORNO"
447
+
448
+ #: includes/settings-page.php:190
449
+ msgid "run optimization DAILY"
450
+ msgstr "esegui l'ottimizzazione UNA VOLTA AL GIORNO"
451
+
452
+ #: includes/settings-page.php:193
453
+ msgid "run optimization WEEKLY"
454
+ msgstr "esegui l'ottimizzazione UNA VOLTA A SETTIMANA"
455
+
456
+ #: includes/settings-page.php:200
457
+ msgid "Time"
458
+ msgstr "Ora"
459
+
460
+ #: includes/settings-page.php:223
461
+ msgid "Show '1-click' link in Admin Bar"
462
+ msgstr "Mostra il link '1-click' nella Barra di amministrazione"
463
+
464
+ #: includes/settings-page.php:226 includes/settings-page.php:233
465
+ msgid "(change will be visible after loading the next page)"
466
+ msgstr "(la modifica sarà visibile dopo il caricamento della prossima pagina)"
467
+
468
+ #: includes/settings-page.php:230
469
+ msgid "Show an icon in the Admin Menu"
470
+ msgstr "Mostra un'icona nel Menu Amministratore"
471
+
472
+ #: includes/settings-page.php:239
473
+ msgid ""
474
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
475
+ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
476
+ "OPTIMIZED!</span>"
477
+ msgstr ""
478
+ "ESCLUDI TABELLE DALL'OTTIMIZZAZIONE: <span class=\"odb-underline-red\">LE "
479
+ "TABELLE SELEZIONATE </span><span class=\"odb-underline-red\">NON</span> "
480
+ "SARANNO OTTIMIZZATE!</span>"
481
+
482
+ #: includes/settings-page.php:245
483
+ msgid "check all tables"
484
+ msgstr "seleziona tutte le tabelle"
485
+
486
+ #: includes/settings-page.php:247
487
+ msgid "uncheck all tables"
488
+ msgstr "deseleziona tutte le tabelle"
489
+
490
+ #: includes/settings-page.php:249
491
+ msgid "check all NON-WordPress tables"
492
+ msgstr "seleziona tutte le tabelle NON-WordPress"
493
+
494
+ #: includes/settings-page.php:276
495
+ msgid "Save Settings"
496
+ msgstr "Salva le impostazioni"
497
+
498
+ #: includes/settings-page.php:278
499
+ msgid "Go To Optimizer"
500
+ msgstr "Vai all'ottimizzatore"
501
+
502
+ # @ rvg-optimize-database
503
+ #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
504
+ #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
505
+ #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
506
+ msgid "Optimize Database"
507
+ msgstr "Ottimizza il Database"
508
+
509
+ # @ optimize_db
510
+ #: rvg-optimize-db.php:273
511
+ msgid "Optimize DB (1 click)"
512
+ msgstr "Ottimizza il DB (con 1 click)"
513
+
514
+ #: rvg-optimize-db.php:451
515
+ msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
516
+ msgstr ""
517
+
518
+ #~ msgid ""
519
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
520
+ #~ "\">HERE</a> to run the optimization"
521
+ #~ msgstr ""
522
+ #~ "Clicca <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
523
+ #~ "\">QUI</a> per eseguire l'ottimizzazione"
524
+
525
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
526
+ #~ msgstr ""
527
+ #~ "è un plugin per pulire e ottimizzare il vostro database Wordpress con un "
528
+ #~ "click"
529
+
530
+ #~ msgid ""
531
+ #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
532
+ #~ msgstr ""
533
+ #~ "Numero massimo di revisioni - più recenti -<br />da mantenere per ogni "
534
+ #~ "articolo/pagina"
535
+
536
+ # @ rvg-optimize-database
537
+ #~ msgid "Optimize your WordPress Database"
538
+ #~ msgstr "Ottimizza il tuo Database WordPress"
539
+
540
+ #~ msgid "Plugin version:"
541
+ #~ msgstr "Versione Plugin:"
542
+
543
+ #~ msgid "Author:"
544
+ #~ msgstr "Autore:"
545
+
546
+ #~ msgid "Plugin URL:"
547
+ #~ msgstr "URL del plugin:"
548
+
549
+ #~ msgid "Download URL:"
550
+ #~ msgstr "URL per scaricare:"
551
+
552
  # @ default
553
  #~ msgctxt "timezone date format"
554
  #~ msgid "YmdGis"
557
  #~ msgid "Using Optimize Database after Deleting Revisions"
558
  #~ msgstr "Utilizzando Ottimizza il database dopo l'eliminazione Revisioni"
559
 
 
 
 
560
  #~ msgid "Optimize Database after Deleting Revisions - Settings"
561
  #~ msgstr "Optimize Database after Deleting Revisions - Impostazioni"
562
 
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: 2015-08-30 14:32+0100\n"
6
- "PO-Revision-Date: 2015-08-30 14:32+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"
@@ -20,492 +20,546 @@ msgstr ""
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
- # @ rvg-optimize-database
24
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
25
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
26
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
27
- msgid "Optimize Database"
28
- msgstr "Optimaliseer Database"
29
-
30
- # @ optimize_db
31
- #: rvg-optimize-db.php:149
32
- msgid "Optimize DB (1 click)"
33
- msgstr "Optimaliseer DB (1 klik)"
34
-
35
- # @ default
36
- #: rvg-optimize-db.php:178
37
- msgid "Once Weekly"
38
- msgstr "Eenmaal per week"
39
-
40
- #: rvg-optimize-db.php:449
41
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
42
- msgstr "Optimize Database after Deleting Revisions INSTELLINGEN AANGEPAST"
43
-
44
- #: rvg-optimize-db.php:451
45
- msgid ""
46
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
47
- "\">HERE</a> to run the optimization"
48
- msgstr ""
49
- "Klik <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold\">HIER</"
50
- "a. om de optimalisatie te starten"
51
-
52
- #: rvg-optimize-db.php:517
53
- msgid "Optimize Database after Deleting Revisions"
54
- msgstr "Optimize Database after Deleting Revisions"
55
-
56
- #: rvg-optimize-db.php:521
57
- msgid "is an one-click plugin to clean and optimize your WordPress database"
58
- msgstr ""
59
- "is een één-klik plugin om de WordPress database op te schonen en te "
60
- "optimaliseren"
61
-
62
- #: rvg-optimize-db.php:524
63
- msgid "Plugin version"
64
- msgstr "Plugin versie"
65
-
66
- #: rvg-optimize-db.php:525
67
- msgid "Plugin page"
68
- msgstr "Pluginpagina"
69
-
70
- #: rvg-optimize-db.php:526
71
- msgid "Download page"
72
- msgstr "Downloadpagina"
73
-
74
- #: rvg-optimize-db.php:527
75
- msgid "Author"
76
- msgstr "Auteur"
77
-
78
- #: rvg-optimize-db.php:528
79
- msgid "Company"
80
- msgstr "Bedrijf"
81
-
82
- #: rvg-optimize-db.php:529
83
- msgid "Donation page"
84
- msgstr "Donatiepagina"
85
-
86
- #: rvg-optimize-db.php:535
87
- msgid "Settings"
88
- msgstr "Instellingen"
89
-
90
- #: rvg-optimize-db.php:543
91
- msgid ""
92
- "Maximum number of - most recent - revisions<br />to keep per post / page"
93
- msgstr ""
94
- "Maximale aantal - meest recente - revisies<br />om te bewaren per "
95
- "bericht / pagina"
96
-
97
- #: rvg-optimize-db.php:547
98
- msgid "('0' means: delete <u>ALL</u> revisions)"
99
- msgstr "('0' betekent: verwijder <u>ALLE</u> revisies)"
100
-
101
- #: rvg-optimize-db.php:551 rvg-optimize-db.php:840
102
- msgid "Delete trashed items"
103
- msgstr "Verwijder trashed items"
104
-
105
- #: rvg-optimize-db.php:557 rvg-optimize-db.php:843
106
- msgid "Delete spammed items"
107
- msgstr "Verwijder spammed items"
108
-
109
- #: rvg-optimize-db.php:563 rvg-optimize-db.php:846
110
- msgid "Delete unused tags"
111
- msgstr "Verwijder ongebruikte tags"
112
-
113
- #: rvg-optimize-db.php:569 rvg-optimize-db.php:849
114
- msgid "Delete expired transients"
115
- msgstr "Verwijder verlopen transiënts"
116
-
117
- #: rvg-optimize-db.php:575 rvg-optimize-db.php:852
118
- msgid "Delete pingbacks and trackbacks"
119
- msgstr "Verwijder pingback en trackbacks"
120
-
121
- #: rvg-optimize-db.php:581 rvg-optimize-db.php:855
122
- msgid "Keep a log"
123
- msgstr "Gebruik een logbestand"
124
-
125
- #: rvg-optimize-db.php:587 rvg-optimize-db.php:861
126
- msgid "Scheduler"
127
- msgstr "Planner"
128
-
129
- #: rvg-optimize-db.php:591 rvg-optimize-db.php:798
130
- msgid "NOT SCHEDULED"
131
- msgstr "NIET GEPLAND"
132
-
133
- #: rvg-optimize-db.php:594
134
- msgid "run optimization HOURLY"
135
- msgstr "voer de optimalisatie ELK UUR uit"
136
-
137
- #: rvg-optimize-db.php:597
138
- msgid "run optimization TWICE A DAY"
139
- msgstr "voer de optimalisatie TWEE KEER PER DAG uit"
140
-
141
- #: rvg-optimize-db.php:600
142
- msgid "run optimization DAILY"
143
- msgstr "voer de optimalisatie DAGELIJKS uit"
144
-
145
- #: rvg-optimize-db.php:603
146
- msgid "run optimization WEEKLY"
147
- msgstr "voer de optimalisatie WEKELIJKS uit"
148
-
149
- #: rvg-optimize-db.php:611
150
- msgid "Time"
151
- msgstr "Tijd"
152
-
153
- #: rvg-optimize-db.php:618
154
- msgid "hrs"
155
- msgstr "uur"
156
-
157
- #: rvg-optimize-db.php:631
158
- msgid "Show '1-click' link in Admin Bar"
159
- msgstr "Toon de '1-klik' link in de Admin Balk"
160
-
161
- #: rvg-optimize-db.php:634 rvg-optimize-db.php:641
162
- msgid "(change will be visible after loading the next page)"
163
- msgstr "(wijziging wordt zichtbaar na het laden van de volgende pagina)"
164
-
165
- #: rvg-optimize-db.php:638
166
- msgid "Show an icon in the Admin Menu"
167
- msgstr "Toon een icon in het Admin Menu"
168
-
169
- #: rvg-optimize-db.php:646
170
- msgid ""
171
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
172
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
173
- "OPTIMIZED!</span>"
174
- msgstr ""
175
- "SLUIT DE VOLGENDE TABELLEN UIT VAN OPTIMILIZATIE: <span class=\"odb-"
176
- "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
177
- "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
178
-
179
- #: rvg-optimize-db.php:649
180
- msgid "check all tables"
181
- msgstr "vink alle tabellen aan"
182
-
183
- #: rvg-optimize-db.php:651
184
- msgid "uncheck all tables"
185
- msgstr "vink alle tabellen uit"
186
-
187
- #: rvg-optimize-db.php:653
188
- msgid "check all NON-WordPress tables"
189
- msgstr "vink alle NIET-WordPress tabellen aan"
190
-
191
- #: rvg-optimize-db.php:677
192
- msgid "Save Settings"
193
- msgstr "Bewaar instellingen"
194
-
195
- #: rvg-optimize-db.php:679
196
- msgid "Go To Optimizer"
197
- msgstr "Ga naar Optimalisatie"
198
-
199
- #: rvg-optimize-db.php:741 rvg-optimize-db.php:748 rvg-optimize-db.php:755
200
- #: rvg-optimize-db.php:762 rvg-optimize-db.php:770 rvg-optimize-db.php:777
201
- msgid "NO"
202
- msgstr "NEE"
203
-
204
- #: rvg-optimize-db.php:741 rvg-optimize-db.php:748 rvg-optimize-db.php:755
205
- #: rvg-optimize-db.php:762 rvg-optimize-db.php:770 rvg-optimize-db.php:777
206
- msgid "YES"
207
- msgstr "JA"
208
-
209
- #: rvg-optimize-db.php:786
210
- msgid "ONCE HOURLY"
211
- msgstr "ELK UUR"
212
-
213
- #: rvg-optimize-db.php:788
214
- msgid "TWICE DAILY"
215
- msgstr "TWEEMAAL DAAGS"
216
-
217
- #: rvg-optimize-db.php:790
218
- msgid "ONCE DAILY"
219
- msgstr "DAGELIJKS"
220
-
221
- #: rvg-optimize-db.php:792
222
- msgid "ONCE WEEKLY"
223
- msgstr "WEKELIJKS"
224
-
225
- # @ rvg-optimize-database
226
- #: rvg-optimize-db.php:820
227
- msgid "Optimize your WordPress Database"
228
- msgstr "Optimaliseer uw WordPress Database"
229
-
230
- #: rvg-optimize-db.php:829 rvg-optimize-db.php:1976
231
- msgid "A WordPress Plugin by"
232
- msgstr "Een WordPress Plugin door"
233
-
234
- #: rvg-optimize-db.php:831 rvg-optimize-db.php:1976
235
- msgid "The Netherlands"
236
- msgstr "Nederland"
237
-
238
- #: rvg-optimize-db.php:834
239
- msgid "Current settings"
240
- msgstr "Huidige instellingen"
241
-
242
- #: rvg-optimize-db.php:837
243
- msgid "Maximum number of - most recent - revisions to keep per post / page"
244
- msgstr ""
245
- "Maximaal aantal (meest recente) revisies die bewaard worden per bericht / "
246
- "pagina"
247
-
248
- #: rvg-optimize-db.php:858
249
- msgid "Number of excluded tables"
250
- msgstr "Aantal uitgesloten tabellen"
251
-
252
- #: rvg-optimize-db.php:869
253
- msgid "Next scheduled run"
254
- msgstr "Volgende geplande uitvoering"
255
-
256
- #: rvg-optimize-db.php:878
257
- msgid "Total savings since the first run"
258
- msgstr "Totale besparing sinds de eerste uitvoering"
259
-
260
- #: rvg-optimize-db.php:885
261
- msgid "Change Settings"
262
- msgstr "Wijzig instellingen"
263
-
264
- #: rvg-optimize-db.php:891 rvg-optimize-db.php:1301
265
- msgid "View Log File"
266
- msgstr "Bekijk Logbestand"
267
-
268
- #: rvg-optimize-db.php:893 rvg-optimize-db.php:1303
269
- msgid "Delete Log File"
270
- msgstr "Verwijder Logbestand"
271
-
272
- #: rvg-optimize-db.php:902
273
- msgid "Start Optimization"
274
- msgstr "Start Optimalisatie"
275
-
276
- #: rvg-optimize-db.php:915
277
  msgid "Cleaning Database"
278
  msgstr "Opschonen Database"
279
 
280
- #: rvg-optimize-db.php:938
281
  msgid "DELETED REVISIONS"
282
  msgstr "VERWIJDERDE REVISIES"
283
 
284
- #: rvg-optimize-db.php:943 rvg-optimize-db.php:994 rvg-optimize-db.php:1046
 
285
  msgid "prefix"
286
  msgstr "prefix"
287
 
288
- #: rvg-optimize-db.php:944
289
  msgid "post / page"
290
  msgstr "bericht / pagina"
291
 
292
- #: rvg-optimize-db.php:945
293
  msgid "revision date"
294
  msgstr "revisiedatum"
295
 
296
- #: rvg-optimize-db.php:946
297
  msgid "revisions deleted"
298
  msgstr "revisies verwijderd"
299
 
300
- #: rvg-optimize-db.php:953
301
  msgid "total number of revisions deleted"
302
  msgstr "totaal aantal verwijderde revisies"
303
 
304
- #: rvg-optimize-db.php:963
305
  msgid "No REVISIONS found to delete"
306
  msgstr "Geen REVISIES gevonden om te verwijderen"
307
 
308
- #: rvg-optimize-db.php:989
309
  msgid "DELETED TRASHED ITEMS"
310
  msgstr "VERWIJDERDE TRASHED ITEMS"
311
 
312
- #: rvg-optimize-db.php:995
313
  msgid "type"
314
  msgstr "type"
315
 
316
- #: rvg-optimize-db.php:996
317
  msgid "IP address / title"
318
  msgstr "IP adres / titel"
319
 
320
- #: rvg-optimize-db.php:997
321
  msgid "date"
322
  msgstr "datum"
323
 
324
- #: rvg-optimize-db.php:1004
325
  msgid "total number of trashed items deleted"
326
  msgstr "totaal aantal verwijderede trashed items"
327
 
328
- #: rvg-optimize-db.php:1014
329
  msgid "No TRASHED ITEMS found to delete"
330
  msgstr "Geen PRULLENBAK ITEMS gevonden om te verwijderen"
331
 
332
- #: rvg-optimize-db.php:1041
333
  msgid "DELETEED SPAMMED ITEMS"
334
  msgstr "VERWIJDERDE SPAMMEND ITEMS"
335
 
336
- #: rvg-optimize-db.php:1047
337
  msgid "comment author"
338
  msgstr "plaatser van de reactie"
339
 
340
- #: rvg-optimize-db.php:1048
341
  msgid "comment author email"
342
  msgstr "email van de plaatser van de reactie"
343
 
344
- #: rvg-optimize-db.php:1049
345
  msgid "comment date"
346
  msgstr "datum van de reactie"
347
 
348
- #: rvg-optimize-db.php:1056
349
  msgid "total number of spammed items deleted"
350
  msgstr "totaal aantal verwijderde spammed items"
351
 
352
- #: rvg-optimize-db.php:1066
353
  msgid "No SPAMMED ITEMS found to delete"
354
  msgstr "Geen SPAM gevonden om te verwijderen"
355
 
356
- #: rvg-optimize-db.php:1090
357
  msgid "NUMBER OF UNUSED TAGS DELETED"
358
  msgstr "AANTAL VERWIJDERDE ONGEBRUIKTE TAGS"
359
 
360
- #: rvg-optimize-db.php:1098
361
  msgid "No UNUSED TAGS found to delete"
362
  msgstr "Geen ONGEBRUIKTE TAGS gevonden om te verwijderen"
363
 
364
- #: rvg-optimize-db.php:1122
365
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
366
  msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
367
 
368
- #: rvg-optimize-db.php:1130
369
  msgid "No EXPIRED TRANSIENTS found to delete"
370
  msgstr "Geen VERLOPEN TRANSIËNTS gevonden om te verwijderen"
371
 
372
- #: rvg-optimize-db.php:1154
373
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
374
  msgstr "AANTAL VERWIJDERDE PINGBACKS EN TRACKBACKS"
375
 
376
- #: rvg-optimize-db.php:1162
377
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
378
  msgstr "Geen PINGBACKS en TRACKBACKS gevonden om te verwijderen"
379
 
380
- #: rvg-optimize-db.php:1183
381
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
382
  msgstr "AANTAL VERWIJDERDE POSTMETA WEZEN"
383
 
384
- #: rvg-optimize-db.php:1191
385
  msgid "No POSTMETA ORPHANS found to delete"
386
  msgstr "Geen POSTMETA WEZEN gevonden om te verwijderen"
387
 
388
- #: rvg-optimize-db.php:1208
389
  msgid "Optimizing Database Tables"
390
  msgstr "Optimaliseren van Databasetabellen"
391
 
392
- #: rvg-optimize-db.php:1216
393
  msgid "table name"
394
  msgstr "tabelnaam"
395
 
396
- #: rvg-optimize-db.php:1217
397
  msgid "optimization result"
398
  msgstr "resultaat optimalisatie"
399
 
400
- #: rvg-optimize-db.php:1218
401
  msgid "engine"
402
  msgstr "engine"
403
 
404
- #: rvg-optimize-db.php:1219
405
  msgid "table rows"
406
  msgstr "tabelrijen"
407
 
408
- #: rvg-optimize-db.php:1220
409
  msgid "table size"
410
  msgstr "tabelgrootte"
411
 
412
- #: rvg-optimize-db.php:1246
413
  msgid "Savings"
414
  msgstr "Besparingen"
415
 
416
- #: rvg-optimize-db.php:1254
417
  msgid "size of the database"
418
  msgstr "grootte van de database"
419
 
420
- #: rvg-optimize-db.php:1257
421
  msgid "BEFORE optimization"
422
  msgstr "VOOR de optimalisatie"
423
 
424
- #: rvg-optimize-db.php:1261
425
  msgid "AFTER optimization"
426
  msgstr "NA de optimalisatie"
427
 
428
- #: rvg-optimize-db.php:1265
429
  msgid "SAVINGS THIS TIME"
430
  msgstr "DIT KEER BESPAARD"
431
 
432
- #: rvg-optimize-db.php:1269
433
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
434
  msgstr "TOTALE BESPARING SINDS DE EERSTE UITVOERING"
435
 
436
- #: rvg-optimize-db.php:1284
437
  msgid "DONE!"
438
  msgstr "KLAAR!"
439
 
440
- #: rvg-optimize-db.php:1290
441
  msgid "Optimization took"
442
  msgstr "Optimalizatie duurde"
443
 
444
- #: rvg-optimize-db.php:1292
445
  msgid "seconds"
446
  msgstr "seconden"
447
 
448
- #: rvg-optimize-db.php:1894
 
 
 
 
 
 
 
 
449
  msgid "InnoDB table: skipped..."
450
  msgstr "InnoDB tabel overgeslagen..."
451
 
452
- #: rvg-optimize-db.php:1900
453
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
454
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
455
 
456
- #: rvg-optimize-db.php:1901
457
  msgid "Table is already up to date"
458
  msgstr "Tabel is al optimaal"
459
 
460
- #: rvg-optimize-db.php:1980
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
461
  msgid "time"
462
  msgstr "tijd"
463
 
464
- #: rvg-optimize-db.php:1981
465
  msgid "deleted<br />revisions"
466
  msgstr "verw.<br />revisies"
467
 
468
- #: rvg-optimize-db.php:1982
469
  msgid "deleted<br />trash"
470
  msgstr "verw.<br />prullenbak items"
471
 
472
- #: rvg-optimize-db.php:1983
473
  msgid "deleted<br />spam"
474
  msgstr "verw.<br />spamitems"
475
 
476
- #: rvg-optimize-db.php:1984
477
  msgid "deleted<br />tags"
478
  msgstr "verw.<br /> tags"
479
 
480
- #: rvg-optimize-db.php:1985
481
  msgid "deleted<br />transients"
482
  msgstr "verw.<br />transiënts"
483
 
484
- #: rvg-optimize-db.php:1986
485
  msgid "deleted<br />pingbacks<br />trackbacks"
486
  msgstr "verwijderde<br />pingbacks<br />trackbacks"
487
 
488
- #: rvg-optimize-db.php:1987
489
  msgid "deleted<br />orphans"
490
  msgstr "verw.<br />wezen"
491
 
492
  # @ rvg-optimize-database
493
- #: rvg-optimize-db.php:1988
494
  msgid "nr of optimized tables"
495
  msgstr "aantal geoptima-<br />liseerde tabellen"
496
 
497
- #: rvg-optimize-db.php:1989
498
  msgid "database size BEFORE"
499
  msgstr "database<br />grootte<br />VOOR"
500
 
501
- #: rvg-optimize-db.php:1990
502
  msgid "database size AFTER"
503
  msgstr "database<br />grootte<br />NA"
504
 
505
- #: rvg-optimize-db.php:1991
506
  msgid "SAVINGS"
507
  msgstr "BESPARINGEN"
508
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  #~ msgid "Plugin version:"
510
  #~ msgstr "Plugin versie:"
511
 
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: 2015-11-20 17:04+0100\n"
6
+ "PO-Revision-Date: 2015-11-20 17:04+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"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
+ #: classes/odb-cleaner.php:35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid "Cleaning Database"
25
  msgstr "Opschonen Database"
26
 
27
+ #: classes/odb-cleaner.php:78
28
  msgid "DELETED REVISIONS"
29
  msgstr "VERWIJDERDE REVISIES"
30
 
31
+ #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
32
+ #: classes/odb-cleaner.php:203
33
  msgid "prefix"
34
  msgstr "prefix"
35
 
36
+ #: classes/odb-cleaner.php:84
37
  msgid "post / page"
38
  msgstr "bericht / pagina"
39
 
40
+ #: classes/odb-cleaner.php:85
41
  msgid "revision date"
42
  msgstr "revisiedatum"
43
 
44
+ #: classes/odb-cleaner.php:86
45
  msgid "revisions deleted"
46
  msgstr "revisies verwijderd"
47
 
48
+ #: classes/odb-cleaner.php:98
49
  msgid "total number of revisions deleted"
50
  msgstr "totaal aantal verwijderde revisies"
51
 
52
+ #: classes/odb-cleaner.php:110
53
  msgid "No REVISIONS found to delete"
54
  msgstr "Geen REVISIES gevonden om te verwijderen"
55
 
56
+ #: classes/odb-cleaner.php:137
57
  msgid "DELETED TRASHED ITEMS"
58
  msgstr "VERWIJDERDE TRASHED ITEMS"
59
 
60
+ #: classes/odb-cleaner.php:143
61
  msgid "type"
62
  msgstr "type"
63
 
64
+ #: classes/odb-cleaner.php:144
65
  msgid "IP address / title"
66
  msgstr "IP adres / titel"
67
 
68
+ #: classes/odb-cleaner.php:145
69
  msgid "date"
70
  msgstr "datum"
71
 
72
+ #: classes/odb-cleaner.php:157
73
  msgid "total number of trashed items deleted"
74
  msgstr "totaal aantal verwijderede trashed items"
75
 
76
+ #: classes/odb-cleaner.php:170
77
  msgid "No TRASHED ITEMS found to delete"
78
  msgstr "Geen PRULLENBAK ITEMS gevonden om te verwijderen"
79
 
80
+ #: classes/odb-cleaner.php:198
81
  msgid "DELETEED SPAMMED ITEMS"
82
  msgstr "VERWIJDERDE SPAMMEND ITEMS"
83
 
84
+ #: classes/odb-cleaner.php:204
85
  msgid "comment author"
86
  msgstr "plaatser van de reactie"
87
 
88
+ #: classes/odb-cleaner.php:205
89
  msgid "comment author email"
90
  msgstr "email van de plaatser van de reactie"
91
 
92
+ #: classes/odb-cleaner.php:206
93
  msgid "comment date"
94
  msgstr "datum van de reactie"
95
 
96
+ #: classes/odb-cleaner.php:218
97
  msgid "total number of spammed items deleted"
98
  msgstr "totaal aantal verwijderde spammed items"
99
 
100
+ #: classes/odb-cleaner.php:231
101
  msgid "No SPAMMED ITEMS found to delete"
102
  msgstr "Geen SPAM gevonden om te verwijderen"
103
 
104
+ #: classes/odb-cleaner.php:256
105
  msgid "NUMBER OF UNUSED TAGS DELETED"
106
  msgstr "AANTAL VERWIJDERDE ONGEBRUIKTE TAGS"
107
 
108
+ #: classes/odb-cleaner.php:266
109
  msgid "No UNUSED TAGS found to delete"
110
  msgstr "Geen ONGEBRUIKTE TAGS gevonden om te verwijderen"
111
 
112
+ #: classes/odb-cleaner.php:290
113
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
114
  msgstr "AANTAL VERWIJDERDE VERLOPEN TRANSIËNTS"
115
 
116
+ #: classes/odb-cleaner.php:300
117
  msgid "No EXPIRED TRANSIENTS found to delete"
118
  msgstr "Geen VERLOPEN TRANSIËNTS gevonden om te verwijderen"
119
 
120
+ #: classes/odb-cleaner.php:324
121
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
122
  msgstr "AANTAL VERWIJDERDE PINGBACKS EN TRACKBACKS"
123
 
124
+ #: classes/odb-cleaner.php:334
125
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
126
  msgstr "Geen PINGBACKS en TRACKBACKS gevonden om te verwijderen"
127
 
128
+ #: classes/odb-cleaner.php:355
129
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
130
  msgstr "AANTAL VERWIJDERDE POSTMETA WEZEN"
131
 
132
+ #: classes/odb-cleaner.php:365
133
  msgid "No POSTMETA ORPHANS found to delete"
134
  msgstr "Geen POSTMETA WEZEN gevonden om te verwijderen"
135
 
136
+ #: classes/odb-cleaner.php:393
137
  msgid "Optimizing Database Tables"
138
  msgstr "Optimaliseren van Databasetabellen"
139
 
140
+ #: classes/odb-cleaner.php:400
141
  msgid "table name"
142
  msgstr "tabelnaam"
143
 
144
+ #: classes/odb-cleaner.php:401
145
  msgid "optimization result"
146
  msgstr "resultaat optimalisatie"
147
 
148
+ #: classes/odb-cleaner.php:402
149
  msgid "engine"
150
  msgstr "engine"
151
 
152
+ #: classes/odb-cleaner.php:403
153
  msgid "table rows"
154
  msgstr "tabelrijen"
155
 
156
+ #: classes/odb-cleaner.php:404
157
  msgid "table size"
158
  msgstr "tabelgrootte"
159
 
160
+ #: classes/odb-cleaner.php:452
161
  msgid "Savings"
162
  msgstr "Besparingen"
163
 
164
+ #: classes/odb-cleaner.php:459
165
  msgid "size of the database"
166
  msgstr "grootte van de database"
167
 
168
+ #: classes/odb-cleaner.php:462
169
  msgid "BEFORE optimization"
170
  msgstr "VOOR de optimalisatie"
171
 
172
+ #: classes/odb-cleaner.php:466
173
  msgid "AFTER optimization"
174
  msgstr "NA de optimalisatie"
175
 
176
+ #: classes/odb-cleaner.php:470
177
  msgid "SAVINGS THIS TIME"
178
  msgstr "DIT KEER BESPAARD"
179
 
180
+ #: classes/odb-cleaner.php:474
181
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
182
  msgstr "TOTALE BESPARING SINDS DE EERSTE UITVOERING"
183
 
184
+ #: classes/odb-cleaner.php:501
185
  msgid "DONE!"
186
  msgstr "KLAAR!"
187
 
188
+ #: classes/odb-cleaner.php:506
189
  msgid "Optimization took"
190
  msgstr "Optimalizatie duurde"
191
 
192
+ #: classes/odb-cleaner.php:506
193
  msgid "seconds"
194
  msgstr "seconden"
195
 
196
+ #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
197
+ msgid "View Log File"
198
+ msgstr "Bekijk Logbestand"
199
+
200
+ #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
201
+ msgid "Delete Log File"
202
+ msgstr "Verwijder Logbestand"
203
+
204
+ #: classes/odb-cleaner.php:1041
205
  msgid "InnoDB table: skipped..."
206
  msgstr "InnoDB tabel overgeslagen..."
207
 
208
+ #: classes/odb-cleaner.php:1047
209
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
210
  msgstr "<span class=\"odb-optimized\">TABEL GEOPTIMALISEERD</span>"
211
 
212
+ #: classes/odb-cleaner.php:1048
213
  msgid "Table is already up to date"
214
  msgstr "Tabel is al optimaal"
215
 
216
+ #: classes/odb-displayer.php:28
217
+ msgid "YES"
218
+ msgstr "JA"
219
+
220
+ #: classes/odb-displayer.php:29
221
+ msgid "NO"
222
+ msgstr "NEE"
223
+
224
+ #: classes/odb-displayer.php:40
225
+ msgid "EVERY FIVE MINUTES"
226
+ msgstr "IEDERE VIJF MINUTEN"
227
+
228
+ #: classes/odb-displayer.php:42
229
+ msgid "ONCE HOURLY"
230
+ msgstr "ELK UUR"
231
+
232
+ #: classes/odb-displayer.php:44
233
+ msgid "TWICE DAILY"
234
+ msgstr "TWEEMAAL DAAGS"
235
+
236
+ #: classes/odb-displayer.php:46
237
+ msgid "ONCE DAILY"
238
+ msgstr "DAGELIJKS"
239
+
240
+ #: classes/odb-displayer.php:48
241
+ msgid "ONCE WEEKLY"
242
+ msgstr "WEKELIJKS"
243
+
244
+ #: classes/odb-displayer.php:49 includes/settings-page.php:174
245
+ msgid "NOT SCHEDULED"
246
+ msgstr "NIET GEPLAND"
247
+
248
+ #: classes/odb-displayer.php:54
249
+ msgid "Current settings"
250
+ msgstr "Huidige instellingen"
251
+
252
+ #: classes/odb-displayer.php:57
253
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
254
+ msgstr ""
255
+ "Maximaal aantal (meest recente) revisies die bewaard worden per bericht / "
256
+ "pagina"
257
+
258
+ #: classes/odb-displayer.php:58 includes/settings-page.php:133
259
+ msgid "Delete trashed items"
260
+ msgstr "Verwijder trashed items"
261
+
262
+ #: classes/odb-displayer.php:59 includes/settings-page.php:139
263
+ msgid "Delete spammed items"
264
+ msgstr "Verwijder spammed items"
265
+
266
+ #: classes/odb-displayer.php:60 includes/settings-page.php:145
267
+ msgid "Delete unused tags"
268
+ msgstr "Verwijder ongebruikte tags"
269
+
270
+ #: classes/odb-displayer.php:61 includes/settings-page.php:151
271
+ msgid "Delete expired transients"
272
+ msgstr "Verwijder verlopen transiënts"
273
+
274
+ #: classes/odb-displayer.php:62 includes/settings-page.php:157
275
+ msgid "Delete pingbacks and trackbacks"
276
+ msgstr "Verwijder pingback en trackbacks"
277
+
278
+ #: classes/odb-displayer.php:63 includes/settings-page.php:163
279
+ msgid "Keep a log"
280
+ msgstr "Gebruik een logbestand"
281
+
282
+ #: classes/odb-displayer.php:64
283
+ msgid "Last run"
284
+ msgstr "Laatste uitvoering"
285
+
286
+ #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
287
+ #: includes/settings-page.php:204
288
+ msgid "hrs"
289
+ msgstr "uur"
290
+
291
+ #: classes/odb-displayer.php:65
292
+ msgid "Number of excluded tables"
293
+ msgstr "Aantal uitgesloten tabellen"
294
+
295
+ #: classes/odb-displayer.php:66 includes/settings-page.php:170
296
+ msgid "Scheduler"
297
+ msgstr "Planner"
298
+
299
+ #: classes/odb-displayer.php:73
300
+ msgid "Next scheduled run"
301
+ msgstr "Volgende geplande uitvoering"
302
+
303
+ #: classes/odb-displayer.php:73
304
+ msgid "current server time"
305
+ msgstr "huidige systeemtijd"
306
+
307
+ #: classes/odb-displayer.php:78
308
+ msgid "Total savings since the first run"
309
+ msgstr "Totale besparing sinds de eerste uitvoering"
310
+
311
+ #: classes/odb-displayer.php:95
312
+ msgid "Optimize Database after Deleting Revisions"
313
+ msgstr "Optimize Database after Deleting Revisions"
314
+
315
+ #: classes/odb-displayer.php:98
316
+ msgid ""
317
+ "A popular 'one-click' plugin to clean and optimize your WordPress database."
318
+ msgstr ""
319
+ "Een populaire 'one-click' plugin om de WordPress database op te schonen en "
320
+ "te optimaliseren."
321
+
322
+ #: classes/odb-displayer.php:101
323
+ msgid "Plugin version"
324
+ msgstr "Plugin versie"
325
+
326
+ #: classes/odb-displayer.php:102
327
+ msgid "Plugin page"
328
+ msgstr "Pluginpagina"
329
+
330
+ #: classes/odb-displayer.php:103
331
+ msgid "Download page"
332
+ msgstr "Downloadpagina"
333
+
334
+ #: classes/odb-displayer.php:104
335
+ msgid "Author"
336
+ msgstr "Auteur"
337
+
338
+ #: classes/odb-displayer.php:105
339
+ msgid "Company"
340
+ msgstr "Bedrijf"
341
+
342
+ #: classes/odb-displayer.php:106
343
+ msgid "Donation page"
344
+ msgstr "Donatiepagina"
345
+
346
+ #: classes/odb-displayer.php:124
347
+ msgid "Change Settings"
348
+ msgstr "Wijzig instellingen"
349
+
350
+ #: classes/odb-displayer.php:139
351
+ msgid "Start Optimization"
352
+ msgstr "Start Optimalisatie"
353
+
354
+ #: classes/odb-logger.php:55
355
+ msgid "A WordPress Plugin by"
356
+ msgstr "Een WordPress Plugin door"
357
+
358
+ #: classes/odb-logger.php:55
359
+ msgid "The Netherlands"
360
+ msgstr "Nederland"
361
+
362
+ #: classes/odb-logger.php:59
363
  msgid "time"
364
  msgstr "tijd"
365
 
366
+ #: classes/odb-logger.php:60
367
  msgid "deleted<br />revisions"
368
  msgstr "verw.<br />revisies"
369
 
370
+ #: classes/odb-logger.php:61
371
  msgid "deleted<br />trash"
372
  msgstr "verw.<br />prullenbak items"
373
 
374
+ #: classes/odb-logger.php:62
375
  msgid "deleted<br />spam"
376
  msgstr "verw.<br />spamitems"
377
 
378
+ #: classes/odb-logger.php:63
379
  msgid "deleted<br />tags"
380
  msgstr "verw.<br /> tags"
381
 
382
+ #: classes/odb-logger.php:64
383
  msgid "deleted<br />transients"
384
  msgstr "verw.<br />transiënts"
385
 
386
+ #: classes/odb-logger.php:65
387
  msgid "deleted<br />pingbacks<br />trackbacks"
388
  msgstr "verwijderde<br />pingbacks<br />trackbacks"
389
 
390
+ #: classes/odb-logger.php:66
391
  msgid "deleted<br />orphans"
392
  msgstr "verw.<br />wezen"
393
 
394
  # @ rvg-optimize-database
395
+ #: classes/odb-logger.php:67
396
  msgid "nr of optimized tables"
397
  msgstr "aantal geoptima-<br />liseerde tabellen"
398
 
399
+ #: classes/odb-logger.php:68
400
  msgid "database size BEFORE"
401
  msgstr "database<br />grootte<br />VOOR"
402
 
403
+ #: classes/odb-logger.php:69
404
  msgid "database size AFTER"
405
  msgstr "database<br />grootte<br />NA"
406
 
407
+ #: classes/odb-logger.php:70
408
  msgid "SAVINGS"
409
  msgstr "BESPARINGEN"
410
 
411
+ # @ default
412
+ #: classes/odb-scheduler.php:34
413
+ msgid "Once Weekly"
414
+ msgstr "Eenmaal per week"
415
+
416
+ #: classes/odb-scheduler.php:39
417
+ msgid "Every Five Minutes"
418
+ msgstr "Iedere Vijf Minuten"
419
+
420
+ #: includes/settings-page.php:82
421
+ msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
422
+ msgstr "Optimize Database after Deleting Revisions INSTELLINGEN AANGEPAST"
423
+
424
+ #: includes/settings-page.php:84
425
+ msgid ""
426
+ "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
427
+ "\">HERE</a> to run the optimization"
428
+ msgstr ""
429
+ "Klik <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
430
+ "\">HIER</a> om de optimalisatie te starten"
431
+
432
+ #: includes/settings-page.php:120 rvg-optimize-db.php:257
433
+ msgid "Settings"
434
+ msgstr "Instellingen"
435
+
436
+ #: includes/settings-page.php:125
437
+ msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
438
+ msgstr ""
439
+ "Maximaal aantal - meest recente - revisies<br>om te bewaren per post/pagina"
440
+
441
+ #: includes/settings-page.php:129
442
+ msgid "('0' means: delete <u>ALL</u> revisions)"
443
+ msgstr "('0' betekent: verwijder <u>ALLE</u> revisies)"
444
+
445
+ #: includes/settings-page.php:177
446
+ msgid "run optimization HOURLY"
447
+ msgstr "voer de optimalisatie ELK UUR uit"
448
+
449
+ #: includes/settings-page.php:180
450
+ msgid "run optimization TWICE A DAY"
451
+ msgstr "voer de optimalisatie TWEE KEER PER DAG uit"
452
+
453
+ #: includes/settings-page.php:183
454
+ msgid "run optimization DAILY"
455
+ msgstr "voer de optimalisatie DAGELIJKS uit"
456
+
457
+ #: includes/settings-page.php:186
458
+ msgid "run optimization WEEKLY"
459
+ msgstr "voer de optimalisatie WEKELIJKS uit"
460
+
461
+ #: includes/settings-page.php:195
462
+ msgid "Time"
463
+ msgstr "Tijd"
464
+
465
+ #: includes/settings-page.php:220
466
+ msgid "Show '1-click' link in Admin Bar"
467
+ msgstr "Toon de '1-klik' link in de Admin Balk"
468
+
469
+ #: includes/settings-page.php:226
470
+ msgid "Show an icon in the Admin Menu"
471
+ msgstr "Toon een icon in het Admin Menu"
472
+
473
+ #: includes/settings-page.php:231
474
+ msgid "change will be visible after loading the next page"
475
+ msgstr "wijziging wordt pas zichtbaar na het laden van de volgende pagina"
476
+
477
+ #: includes/settings-page.php:235
478
+ msgid ""
479
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION:<br><span class=\"odb-underline-red"
480
+ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
481
+ "OPTIMIZED!</span>"
482
+ msgstr ""
483
+ "SLUIT DE VOLGENDE TABELLEN UIT VAN OPTIMILIZATIE:<br><span class=\"odb-"
484
+ "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
485
+ "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
486
+
487
+ #: includes/settings-page.php:241
488
+ msgid "check all tables"
489
+ msgstr "vink alle tabellen aan"
490
+
491
+ #: includes/settings-page.php:243
492
+ msgid "uncheck all tables"
493
+ msgstr "vink alle tabellen uit"
494
+
495
+ #: includes/settings-page.php:245
496
+ msgid "check all NON-WordPress tables"
497
+ msgstr "vink alle NIET-WordPress tabellen aan"
498
+
499
+ #: includes/settings-page.php:272
500
+ msgid "Save Settings"
501
+ msgstr "Bewaar instellingen"
502
+
503
+ #: includes/settings-page.php:274
504
+ msgid "Go To Optimizer"
505
+ msgstr "Ga naar Optimalisatie"
506
+
507
+ # @ rvg-optimize-database
508
+ #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
509
+ #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
510
+ #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
511
+ msgid "Optimize Database"
512
+ msgstr "Optimaliseer Database"
513
+
514
+ # @ optimize_db
515
+ #: rvg-optimize-db.php:273
516
+ msgid "Optimize DB (1 click)"
517
+ msgstr "Optimaliseer DB (1 klik)"
518
+
519
+ #: rvg-optimize-db.php:451
520
+ msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
521
+ msgstr "Optimize Database after Deleting Revisions LOGBESTAND VERWIJDERD"
522
+
523
+ #~ msgid ""
524
+ #~ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
525
+ #~ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> "
526
+ #~ "BE OPTIMIZED!</span>"
527
+ #~ msgstr ""
528
+ #~ "SLUIT DE VOLGENDE TABELLEN UIT VAN OPTIMILIZATIE: <span class=\"odb-"
529
+ #~ "underline-red\">AANGEVINKTE</span> TABELLEN ZULLEN <span class=\"odb-"
530
+ #~ "underline-red\">NIET</span> GEOPTIMALISEERD WORDEN!</span>"
531
+
532
+ #~ msgid "(change will be visible after loading the next page)"
533
+ #~ msgstr "(wijziging wordt zichtbaar na het laden van de volgende pagina)"
534
+
535
+ #~ msgid ""
536
+ #~ "A popular one-click plugin to clean and optimize your WordPress database."
537
+ #~ msgstr ""
538
+ #~ "Een populaire 'one-click' plugin om de WordPress database op te schonen "
539
+ #~ "en te optimaliseren."
540
+
541
+ #~ msgid ""
542
+ #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
543
+ #~ msgstr ""
544
+ #~ "Maximale aantal - meest recente - revisies<br />om te bewaren per "
545
+ #~ "bericht / pagina"
546
+
547
+ #~ msgid ""
548
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
549
+ #~ "\">HERE</a> to run the optimization"
550
+ #~ msgstr ""
551
+ #~ "Klik <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
552
+ #~ "\">HIER</a. om de optimalisatie te starten"
553
+
554
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
555
+ #~ msgstr ""
556
+ #~ "is een één-klik plugin om de WordPress database op te schonen en te "
557
+ #~ "optimaliseren"
558
+
559
+ # @ rvg-optimize-database
560
+ #~ msgid "Optimize your WordPress Database"
561
+ #~ msgstr "Optimaliseer uw WordPress Database"
562
+
563
  #~ msgid "Plugin version:"
564
  #~ msgstr "Plugin versie:"
565
 
language/rvg-optimize-database-ru_RU.mo CHANGED
Binary file
language/rvg-optimize-database-ru_RU.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v3.4\n"
4
- "POT-Creation-Date: 2015-06-07 18:23+0100\n"
5
- "PO-Revision-Date: 2015-06-07 18:23+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"
@@ -10,479 +10,530 @@ msgstr ""
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:\\Users\\rvgelder.KC15435\\Documents\\My Dropbox"
14
- "\\cagewebdev\\wp-content\\plugins\\rvg-optimize-database\\\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
21
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
22
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
23
- msgid "Optimize Database"
24
- msgstr "Оптимизация БД"
25
-
26
- #: rvg-optimize-db.php:149
27
- msgid "Optimize DB (1 click)"
28
- msgstr "Оптимизация БД (1-клик)"
29
-
30
- #: rvg-optimize-db.php:178
31
- msgid "Once Weekly"
32
- msgstr "Раз в неделю"
33
-
34
- #: rvg-optimize-db.php:449
35
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
36
- msgstr "НАСТРОЙКИ ОБНОВЛЕНЫ"
37
-
38
- #: rvg-optimize-db.php:451
39
- msgid ""
40
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
41
- "\">HERE</a> to run the optimization"
42
- msgstr ""
43
- "Кликните <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
44
- "\">ЗДЕСЬ</a> для перехода к запуску оптимизации"
45
-
46
- #: rvg-optimize-db.php:517
47
- msgid "Optimize Database after Deleting Revisions"
48
- msgstr "Оптимизация базы данных после удаления ревизий"
49
-
50
- #: rvg-optimize-db.php:521
51
- msgid "is an one-click plugin to clean and optimize your WordPress database"
52
- msgstr "плагин для очистки и оптимизации базы данных WordPress в один клик"
53
-
54
- #: rvg-optimize-db.php:524
55
- msgid "Plugin version:"
56
- msgstr "Версия плагина:"
57
-
58
- #: rvg-optimize-db.php:528
59
- msgid "Author:"
60
- msgstr "Автор:"
61
-
62
- #: rvg-optimize-db.php:531 rvg-optimize-db.php:841 rvg-optimize-db.php:2007
63
- msgid "The Netherlands"
64
- msgstr "Нидерланды"
65
-
66
- #: rvg-optimize-db.php:534
67
- msgid "Plugin URL:"
68
- msgstr "URL плагина:"
69
-
70
- #: rvg-optimize-db.php:538
71
- msgid "Download URL:"
72
- msgstr "URL загрузки:"
73
-
74
- #: rvg-optimize-db.php:545
75
- msgid "Settings"
76
- msgstr "Настройки"
77
-
78
- #: rvg-optimize-db.php:553
79
- msgid ""
80
- "Maximum number of - most recent - revisions<br />to keep per post / page"
81
- msgstr ""
82
- "Максимальное число - последних - ревизий<br />оставленных для поста/ страницы"
83
-
84
- #: rvg-optimize-db.php:557
85
- msgid "('0' means: delete <u>ALL</u> revisions)"
86
- msgstr "('0' означает: удалить <u>ВСЕ</u> ревизии)"
87
-
88
- #: rvg-optimize-db.php:561 rvg-optimize-db.php:850
89
- msgid "Delete trashed items"
90
- msgstr "Удалить содержимое корзины"
91
-
92
- #: rvg-optimize-db.php:567 rvg-optimize-db.php:853
93
- msgid "Delete spammed items"
94
- msgstr "Удалить элементы спама"
95
-
96
- #: rvg-optimize-db.php:573 rvg-optimize-db.php:856
97
- msgid "Delete unused tags"
98
- msgstr "Удалить неиспользуемые теги"
99
-
100
- #: rvg-optimize-db.php:579 rvg-optimize-db.php:859
101
- msgid "Delete expired transients"
102
- msgstr "Удалить временные данные с истёкшим сроком"
103
-
104
- #: rvg-optimize-db.php:585 rvg-optimize-db.php:862
105
- msgid "Delete pingbacks and trackbacks"
106
- msgstr "Удалить Pingbacks и Trackbacks"
107
-
108
- #: rvg-optimize-db.php:591 rvg-optimize-db.php:865
109
- msgid "Keep a log"
110
- msgstr "Вести журнал событий"
111
-
112
- #: rvg-optimize-db.php:597 rvg-optimize-db.php:871
113
- msgid "Scheduler"
114
- msgstr "Планировщик"
115
-
116
- #: rvg-optimize-db.php:601 rvg-optimize-db.php:808
117
- msgid "NOT SCHEDULED"
118
- msgstr "НЕ ЗАПЛАНИРОВАНО"
119
-
120
- #: rvg-optimize-db.php:604
121
- msgid "run optimization HOURLY"
122
- msgstr "Запуск оптимизации ЕЖЕЧАСНО"
123
-
124
- #: rvg-optimize-db.php:607
125
- msgid "run optimization TWICE A DAY"
126
- msgstr "Запуск оптимизации ДВАЖДЫ В ДЕНЬ"
127
-
128
- #: rvg-optimize-db.php:610
129
- msgid "run optimization DAILY"
130
- msgstr "Запуск оптимизации ЕЖЕДНЕВНО"
131
-
132
- #: rvg-optimize-db.php:613
133
- msgid "run optimization WEEKLY"
134
- msgstr "Запуск оптимизации ЕЖЕНЕДЕЛЬНО"
135
-
136
- #: rvg-optimize-db.php:621
137
- msgid "Time"
138
- msgstr "Время"
139
-
140
- #: rvg-optimize-db.php:628
141
- msgid "hrs"
142
- msgstr "часов"
143
-
144
- #: rvg-optimize-db.php:641
145
- msgid "Show '1-click' link in Admin Bar"
146
- msgstr "Показать ссылку '1-клик' в верхней панели администратора"
147
-
148
- #: rvg-optimize-db.php:644 rvg-optimize-db.php:651
149
- msgid "(change will be visible after loading the next page)"
150
- msgstr "(Изменения будут видны после обновления страницы)"
151
-
152
- #: rvg-optimize-db.php:648
153
- msgid "Show an icon in the Admin Menu"
154
- msgstr "Показать иконку в меню администратора"
155
-
156
- #: rvg-optimize-db.php:656
157
- msgid ""
158
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
159
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
160
- "OPTIMIZED!</span>"
161
- msgstr ""
162
- "ИСКЛЮЧИТЬ ТАБЛИЦЫ БАЗЫ ДАННЫХ ИЗ ОПТИМИЗАЦИИ: <span class=\"odb-underline-red"
163
- "\">ОТМЕЧЕННЫЕ</span> ТАБЛИЦЫ <span class=\"odb-underline-red\">НЕ БУДУТ</"
164
- "span> ОПТИМИЗИРОВАНЫ!</span>"
165
-
166
- #: rvg-optimize-db.php:659
167
- msgid "check all tables"
168
- msgstr "Выбрать все таблицы"
169
-
170
- #: rvg-optimize-db.php:661
171
- msgid "uncheck all tables"
172
- msgstr "Снять выбор - для всех таблиц"
173
-
174
- #: rvg-optimize-db.php:663
175
- msgid "check all NON-WordPress tables"
176
- msgstr "Выбрать все НЕ-WordPress таблицы"
177
-
178
- #: rvg-optimize-db.php:687
179
- msgid "Save Settings"
180
- msgstr "Сохранить настройки"
181
-
182
- #: rvg-optimize-db.php:689
183
- msgid "Go To Optimizer"
184
- msgstr "Приступить к оптимизации"
185
-
186
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
187
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
188
- msgid "NO"
189
- msgstr "НЕТ"
190
-
191
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
192
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
193
- msgid "YES"
194
- msgstr "ДА"
195
-
196
- #: rvg-optimize-db.php:796
197
- msgid "ONCE HOURLY"
198
- msgstr "ЕЖЕЧАСНО"
199
-
200
- #: rvg-optimize-db.php:798
201
- msgid "TWICE DAILY"
202
- msgstr "ДВАЖДЫ В ДЕНЬ"
203
-
204
- #: rvg-optimize-db.php:800
205
- msgid "ONCE DAILY"
206
- msgstr "РАЗ В ДЕНЬ"
207
-
208
- #: rvg-optimize-db.php:802
209
- msgid "ONCE WEEKLY"
210
- msgstr "РАЗ В НЕДЕЛЮ"
211
-
212
- #: rvg-optimize-db.php:830
213
- msgid "Optimize your WordPress Database"
214
- msgstr "Оптимизация базы данных WordPress"
215
-
216
- #: rvg-optimize-db.php:839 rvg-optimize-db.php:2007
217
- msgid "A WordPress Plugin by"
218
- msgstr "WordPress плагин от"
219
-
220
- #: rvg-optimize-db.php:844
221
- msgid "Current settings"
222
- msgstr "Текущие настройки"
223
-
224
- #: rvg-optimize-db.php:847
225
- msgid "Maximum number of - most recent - revisions to keep per post / page"
226
- msgstr ""
227
- "Максимальное число - последних - оставленных ревизий для каждого поста/ "
228
- "страницы"
229
-
230
- #: rvg-optimize-db.php:868
231
- msgid "Number of excluded tables"
232
- msgstr "Число исключённых таблиц"
233
-
234
- #: rvg-optimize-db.php:879
235
- msgid "Next scheduled run"
236
- msgstr "Следующий запланированный запуск"
237
-
238
- #: rvg-optimize-db.php:888
239
- msgid "Total savings since the first run"
240
- msgstr "Сбережено с момента первого запуска"
241
-
242
- #: rvg-optimize-db.php:895
243
- msgid "Change Settings"
244
- msgstr "Изменить настройки"
245
-
246
- #: rvg-optimize-db.php:901 rvg-optimize-db.php:1311
247
- msgid "View Log File"
248
- msgstr "Просмотр журнала"
249
-
250
- #: rvg-optimize-db.php:903 rvg-optimize-db.php:1313
251
- msgid "Delete Log File"
252
- msgstr "Удалить журнал"
253
-
254
- #: rvg-optimize-db.php:912
255
- msgid "Start Optimization"
256
- msgstr "Начать оптимизацию"
257
-
258
- #: rvg-optimize-db.php:925
259
  msgid "Cleaning Database"
260
  msgstr "Очистка базы данных"
261
 
262
- #: rvg-optimize-db.php:948
263
  msgid "DELETED REVISIONS"
264
  msgstr "УДАЛЕНИЕ РЕВИЗИЙ"
265
 
266
- #: rvg-optimize-db.php:953 rvg-optimize-db.php:1004 rvg-optimize-db.php:1056
 
267
  msgid "prefix"
268
  msgstr "префикс"
269
 
270
- #: rvg-optimize-db.php:954
271
  msgid "post / page"
272
  msgstr "пост / страница"
273
 
274
- #: rvg-optimize-db.php:955
275
  msgid "revision date"
276
  msgstr "дата ревизии"
277
 
278
- #: rvg-optimize-db.php:956
279
  msgid "revisions deleted"
280
  msgstr "удалено ревизий"
281
 
282
- #: rvg-optimize-db.php:963
283
  msgid "total number of revisions deleted"
284
  msgstr "общее число удалённых ревизий"
285
 
286
- #: rvg-optimize-db.php:973
287
  msgid "No REVISIONS found to delete"
288
  msgstr "РЕВИЗИЙ для удаления не найдено"
289
 
290
- #: rvg-optimize-db.php:999
291
  msgid "DELETED TRASHED ITEMS"
292
  msgstr "УДАЛЕНИЕ СОДЕРЖИМОГО КОРЗИНЫ"
293
 
294
- #: rvg-optimize-db.php:1005
295
  msgid "type"
296
  msgstr "тип"
297
 
298
- #: rvg-optimize-db.php:1006
299
  msgid "IP address / title"
300
  msgstr "IP адрес / заголовок"
301
 
302
- #: rvg-optimize-db.php:1007
303
  msgid "date"
304
  msgstr "дата"
305
 
306
- #: rvg-optimize-db.php:1014
307
  msgid "total number of trashed items deleted"
308
  msgstr "общее число удалённых элементов из корзины"
309
 
310
- #: rvg-optimize-db.php:1024
311
  msgid "No TRASHED ITEMS found to delete"
312
  msgstr "В КОРЗИНЕ элементов для удаления не найдено"
313
 
314
- #: rvg-optimize-db.php:1051
315
  msgid "DELETEED SPAMMED ITEMS"
316
  msgstr "УДАЛЕНИЕ ЭЛЕМЕНТОВ СПАМА"
317
 
318
- #: rvg-optimize-db.php:1057
319
  msgid "comment author"
320
  msgstr "автор комментария"
321
 
322
- #: rvg-optimize-db.php:1058
323
  msgid "comment author email"
324
  msgstr "e-mail автора комментария"
325
 
326
- #: rvg-optimize-db.php:1059
327
  msgid "comment date"
328
  msgstr "дата комментария"
329
 
330
- #: rvg-optimize-db.php:1066
331
  msgid "total number of spammed items deleted"
332
  msgstr "общее число удалённых элементов спама"
333
 
334
- #: rvg-optimize-db.php:1076
335
  msgid "No SPAMMED ITEMS found to delete"
336
  msgstr "ЭЛЕМЕНТОВ СПАМА для удаления не найдено"
337
 
338
- #: rvg-optimize-db.php:1100
339
  msgid "NUMBER OF UNUSED TAGS DELETED"
340
  msgstr "ЧИСЛО УДАЛЁННЫХ НЕИСПОЛЬЗУЕМЫХ ТЕГОВ"
341
 
342
- #: rvg-optimize-db.php:1108
343
  msgid "No UNUSED TAGS found to delete"
344
  msgstr "НЕИСПОЛЬЗУЕМЫХ ТЕГОВ для удаления не найдено"
345
 
346
- #: rvg-optimize-db.php:1132
347
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
348
  msgstr "ЧИСЛО УДАЛЁННЫХ ВРЕМЕННЫХ ДАННЫХ"
349
 
350
- #: rvg-optimize-db.php:1140
351
  msgid "No EXPIRED TRANSIENTS found to delete"
352
  msgstr "ВРЕМЕННЫХ ДАННЫХ для удаления не найдено"
353
 
354
- #: rvg-optimize-db.php:1164
355
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
356
  msgstr "ЧИСЛО УДАЛЁННЫХ PINGBACKS И TRACKBACKS"
357
 
358
- #: rvg-optimize-db.php:1172
359
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
360
  msgstr "PINGBACKS и TRACKBACKS для удаления не найдено"
361
 
362
- #: rvg-optimize-db.php:1193
363
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
364
  msgstr "ЧИСЛО УДАЛЁННЫХ ОСИРОТЕВШИХ ПОЛЕЙ"
365
 
366
- #: rvg-optimize-db.php:1201
367
  msgid "No POSTMETA ORPHANS found to delete"
368
  msgstr "ОСИРОТЕВШИХ ПОЛЕЙ для удаления не найдено"
369
 
370
- #: rvg-optimize-db.php:1218
371
  msgid "Optimizing Database Tables"
372
  msgstr "Оптимизация таблиц базы данных"
373
 
374
- #: rvg-optimize-db.php:1226
375
  msgid "table name"
376
  msgstr "имя таблицы"
377
 
378
- #: rvg-optimize-db.php:1227
379
  msgid "optimization result"
380
  msgstr "результат оптимизации"
381
 
382
- #: rvg-optimize-db.php:1228
383
  msgid "engine"
384
  msgstr "система"
385
 
386
- #: rvg-optimize-db.php:1229
387
  msgid "table rows"
388
  msgstr "строк таблицы"
389
 
390
- #: rvg-optimize-db.php:1230
391
  msgid "table size"
392
  msgstr "размер таблицы"
393
 
394
- #: rvg-optimize-db.php:1256
395
  msgid "Savings"
396
  msgstr "Результат"
397
 
398
- #: rvg-optimize-db.php:1264
399
  msgid "size of the database"
400
  msgstr "размер базы данных"
401
 
402
- #: rvg-optimize-db.php:1267
403
  msgid "BEFORE optimization"
404
  msgstr "ДО оптимизации"
405
 
406
- #: rvg-optimize-db.php:1271
407
  msgid "AFTER optimization"
408
  msgstr "ПОСЛЕ оптимизации"
409
 
410
- #: rvg-optimize-db.php:1275
411
  msgid "SAVINGS THIS TIME"
412
  msgstr "СБЕРЕЖЕНО В ЭТОТ РАЗ"
413
 
414
- #: rvg-optimize-db.php:1279
415
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
416
  msgstr "СБЕРЕЖЕНО С МОМЕНТА ПЕРВОГО ЗАПУСКА"
417
 
418
- #: rvg-optimize-db.php:1294
419
  msgid "DONE!"
420
  msgstr "ГОТОВО!"
421
 
422
- #: rvg-optimize-db.php:1300
423
  msgid "Optimization took"
424
  msgstr "Оптимизировано за"
425
 
426
- #: rvg-optimize-db.php:1302
427
  msgid "seconds"
428
  msgstr "секунд"
429
 
430
- #: rvg-optimize-db.php:1925
 
 
 
 
 
 
 
 
431
  msgid "InnoDB table: skipped..."
432
  msgstr "InnoDB таблицы: пропущено..."
433
 
434
- #: rvg-optimize-db.php:1931
435
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
436
  msgstr "<span class=\"odb-optimized\">ТАБЛИЦА ОПТИМИЗИРОВАНА</span>"
437
 
438
- #: rvg-optimize-db.php:1932
439
  msgid "Table is already up to date"
440
  msgstr "Оптимизация не требуется"
441
 
442
- #: rvg-optimize-db.php:2011
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
443
  msgid "time"
444
  msgstr "событие"
445
 
446
- #: rvg-optimize-db.php:2012
447
  msgid "deleted<br />revisions"
448
  msgstr "удалённые<br />ревизии"
449
 
450
- #: rvg-optimize-db.php:2013
451
  msgid "deleted<br />trash"
452
  msgstr "удалённый<br />мусор"
453
 
454
- #: rvg-optimize-db.php:2014
455
  msgid "deleted<br />spam"
456
  msgstr "удалённый<br />спам"
457
 
458
- #: rvg-optimize-db.php:2015
459
  msgid "deleted<br />tags"
460
  msgstr "удалённые<br />теги"
461
 
462
- #: rvg-optimize-db.php:2016
463
  msgid "deleted<br />transients"
464
  msgstr "удалённые<br />временные данные"
465
 
466
- #: rvg-optimize-db.php:2017
467
  msgid "deleted<br />pingbacks<br />trackbacks"
468
  msgstr "удалённые<br />pingbacks<br />trackbacks"
469
 
470
- #: rvg-optimize-db.php:2018
471
  msgid "deleted<br />orphans"
472
  msgstr "удалённые<br />осиротевшие поля"
473
 
474
- #: rvg-optimize-db.php:2019
475
  msgid "nr of optimized tables"
476
  msgstr "число оптимизированных таблиц"
477
 
478
- #: rvg-optimize-db.php:2020
479
  msgid "database size BEFORE"
480
  msgstr "размер базы данных ДО"
481
 
482
- #: rvg-optimize-db.php:2021
483
  msgid "database size AFTER"
484
  msgstr "размер базы данных ПОСЛЕ"
485
 
486
- #: rvg-optimize-db.php:2022
487
  msgid "SAVINGS"
488
  msgstr "СБЕРЕЖЕНО"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
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
 
212
+ #: classes/odb-displayer.php:28
213
+ msgid "YES"
214
+ msgstr "ДА"
215
+
216
+ #: classes/odb-displayer.php:29
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
+
348
+ #: classes/odb-logger.php:55
349
+ msgid "A WordPress Plugin by"
350
+ msgstr "WordPress плагин от"
351
+
352
+ #: classes/odb-logger.php:55
353
+ msgid "The Netherlands"
354
+ msgstr "Нидерланды"
355
+
356
+ #: classes/odb-logger.php:59
357
  msgid "time"
358
  msgstr "событие"
359
 
360
+ #: classes/odb-logger.php:60
361
  msgid "deleted<br />revisions"
362
  msgstr "удалённые<br />ревизии"
363
 
364
+ #: classes/odb-logger.php:61
365
  msgid "deleted<br />trash"
366
  msgstr "удалённый<br />мусор"
367
 
368
+ #: classes/odb-logger.php:62
369
  msgid "deleted<br />spam"
370
  msgstr "удалённый<br />спам"
371
 
372
+ #: classes/odb-logger.php:63
373
  msgid "deleted<br />tags"
374
  msgstr "удалённые<br />теги"
375
 
376
+ #: classes/odb-logger.php:64
377
  msgid "deleted<br />transients"
378
  msgstr "удалённые<br />временные данные"
379
 
380
+ #: classes/odb-logger.php:65
381
  msgid "deleted<br />pingbacks<br />trackbacks"
382
  msgstr "удалённые<br />pingbacks<br />trackbacks"
383
 
384
+ #: classes/odb-logger.php:66
385
  msgid "deleted<br />orphans"
386
  msgstr "удалённые<br />осиротевшие поля"
387
 
388
+ #: classes/odb-logger.php:67
389
  msgid "nr of optimized tables"
390
  msgstr "число оптимизированных таблиц"
391
 
392
+ #: classes/odb-logger.php:68
393
  msgid "database size BEFORE"
394
  msgstr "размер базы данных ДО"
395
 
396
+ #: classes/odb-logger.php:69
397
  msgid "database size AFTER"
398
  msgstr "размер базы данных ПОСЛЕ"
399
 
400
+ #: classes/odb-logger.php:70
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 загрузки:"
language/rvg-optimize-database-sr_RS.mo CHANGED
Binary file
language/rvg-optimize-database-sr_RS.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: 2015-04-19 20:36+0100\n"
6
- "PO-Revision-Date: 2015-04-19 20:36+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: CAGE <info@cagewebdev.com>\n"
9
  "Language: sr_RS\n"
@@ -12,484 +12,522 @@ msgstr ""
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: C:/Users/rvgelder.KC15435/Documents/My Dropbox/cagewebdev/"
19
- "wp-content/plugins/rvg-optimize-database\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
- # @ rvg-optimize-database
24
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
25
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
26
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
27
- msgid "Optimize Database"
28
- msgstr "Optimize Database"
29
-
30
- # @ optimize_db
31
- #: rvg-optimize-db.php:149
32
- msgid "Optimize DB (1 click)"
33
- msgstr "Optimizuj bazu podataka (1 klik)"
34
-
35
- # @ default
36
- #: rvg-optimize-db.php:178
37
- msgid "Once Weekly"
38
- msgstr "Jednom nedeljno"
39
-
40
- #: rvg-optimize-db.php:425
41
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
42
- msgstr ""
43
-
44
- #: rvg-optimize-db.php:427
45
- msgid ""
46
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
47
- "\">HERE</a> to run the optimization"
48
- msgstr ""
49
-
50
- #: rvg-optimize-db.php:494
51
- msgid "Optimize Database after Deleting Revisions"
52
- msgstr ""
53
-
54
- #: rvg-optimize-db.php:498
55
- msgid "is an one-click plugin to clean and optimize your WordPress database"
56
- msgstr ""
57
- "je plugin na 1 klik koji čisti i unapređuje vašu WordPress bazu podataka"
58
-
59
- #: rvg-optimize-db.php:501
60
- msgid "Plugin version:"
61
- msgstr "Plugin verzija:"
62
-
63
- #: rvg-optimize-db.php:505
64
- msgid "Author:"
65
- msgstr ""
66
-
67
- #: rvg-optimize-db.php:508 rvg-optimize-db.php:820 rvg-optimize-db.php:1994
68
- msgid "The Netherlands"
69
- msgstr "Holandija"
70
-
71
- #: rvg-optimize-db.php:511
72
- msgid "Plugin URL:"
73
- msgstr "URL Plugin-a:"
74
-
75
- #: rvg-optimize-db.php:515
76
- msgid "Download URL:"
77
- msgstr "Download URL:"
78
-
79
- #: rvg-optimize-db.php:523
80
- msgid "Settings"
81
- msgstr ""
82
-
83
- #: rvg-optimize-db.php:531
84
- msgid ""
85
- "Maximum number of - most recent - revisions<br />to keep per post / page"
86
- msgstr ""
87
-
88
- #: rvg-optimize-db.php:535
89
- msgid "('0' means: delete <u>ALL</u> revisions)"
90
- msgstr "('0' znači: obriši <u>SVE</u> revizije)"
91
-
92
- #: rvg-optimize-db.php:539 rvg-optimize-db.php:829
93
- msgid "Delete trashed items"
94
- msgstr ""
95
-
96
- #: rvg-optimize-db.php:545 rvg-optimize-db.php:832
97
- msgid "Delete spammed items"
98
- msgstr ""
99
-
100
- #: rvg-optimize-db.php:551 rvg-optimize-db.php:835
101
- msgid "Delete unused tags"
102
- msgstr "Obriši neiskorišćene oznake"
103
-
104
- #: rvg-optimize-db.php:557 rvg-optimize-db.php:838
105
- msgid "Delete expired transients"
106
- msgstr "Obriši sve prolazne stavke koje su istekle"
107
-
108
- #: rvg-optimize-db.php:563 rvg-optimize-db.php:841
109
- msgid "Delete pingbacks and trackbacks"
110
- msgstr ""
111
-
112
- #: rvg-optimize-db.php:569 rvg-optimize-db.php:844
113
- msgid "Keep a log"
114
- msgstr "Vodi dnevnik"
115
-
116
- #: rvg-optimize-db.php:575 rvg-optimize-db.php:850
117
- msgid "Scheduler"
118
- msgstr "Planer"
119
-
120
- #: rvg-optimize-db.php:579 rvg-optimize-db.php:787
121
- msgid "NOT SCHEDULED"
122
- msgstr "NIJE PLANIRANO"
123
-
124
- #: rvg-optimize-db.php:582
125
- msgid "run optimization HOURLY"
126
- msgstr "pokreni optimizaciju NA SVAKI SAT"
127
-
128
- #: rvg-optimize-db.php:585
129
- msgid "run optimization TWICE A DAY"
130
- msgstr "pokreni optimizaciju DVA PUTA DNEVNO"
131
-
132
- #: rvg-optimize-db.php:588
133
- msgid "run optimization DAILY"
134
- msgstr "pokreni optimizaciju JEDNOM DNEVNO"
135
-
136
- #: rvg-optimize-db.php:591
137
- msgid "run optimization WEEKLY"
138
- msgstr "pokreni optimizaciju JEDNOM NEDELJNO"
139
-
140
- #: rvg-optimize-db.php:599
141
- msgid "Time"
142
- msgstr "Vreme"
143
-
144
- #: rvg-optimize-db.php:606
145
- msgid "hrs"
146
- msgstr "Sat"
147
-
148
- #: rvg-optimize-db.php:619
149
- msgid "Show '1-click' link in Admin Bar"
150
- msgstr "Prikaži ‘1-klik’ link u traci za meni administratora"
151
-
152
- #: rvg-optimize-db.php:622 rvg-optimize-db.php:629
153
- msgid "(change will be visible after loading the next page)"
154
- msgstr "(promena će biti vidljiva nakon učitavanja sledeće stranice)"
155
-
156
- #: rvg-optimize-db.php:626
157
- msgid "Show an icon in the Admin Menu"
158
- msgstr ""
159
-
160
- #: rvg-optimize-db.php:634
161
- msgid ""
162
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
163
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
164
- "OPTIMIZED!</span>"
165
- msgstr ""
166
-
167
- #: rvg-optimize-db.php:637
168
- msgid "check all tables"
169
- msgstr "štikliraj sve tabele"
170
-
171
- #: rvg-optimize-db.php:639
172
- msgid "uncheck all tables"
173
- msgstr "poništi štikliranje svih tabela"
174
-
175
- #: rvg-optimize-db.php:641
176
- msgid "check all NON-WordPress tables"
177
- msgstr "štikliraj sve tabele koje NISU WordPress "
178
-
179
- #: rvg-optimize-db.php:666
180
- msgid "Save Settings"
181
- msgstr ""
182
-
183
- #: rvg-optimize-db.php:668
184
- msgid "Go To Optimizer"
185
- msgstr "Pokreni optimizator"
186
-
187
- #: rvg-optimize-db.php:730 rvg-optimize-db.php:737 rvg-optimize-db.php:744
188
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:759 rvg-optimize-db.php:766
189
- msgid "NO"
190
- msgstr "NE"
191
-
192
- #: rvg-optimize-db.php:730 rvg-optimize-db.php:737 rvg-optimize-db.php:744
193
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:759 rvg-optimize-db.php:766
194
- msgid "YES"
195
- msgstr "DA"
196
-
197
- #: rvg-optimize-db.php:775
198
- msgid "ONCE HOURLY"
199
- msgstr "SVAKOG SATA"
200
-
201
- #: rvg-optimize-db.php:777
202
- msgid "TWICE DAILY"
203
- msgstr "DVA PUTA DNEVNO"
204
-
205
- #: rvg-optimize-db.php:779
206
- msgid "ONCE DAILY"
207
- msgstr "JEDNOM DNEVNO"
208
-
209
- #: rvg-optimize-db.php:781
210
- msgid "ONCE WEEKLY"
211
- msgstr "JEDNOM NEDELJNO"
212
-
213
- # @ rvg-optimize-database
214
- #: rvg-optimize-db.php:809
215
- msgid "Optimize your WordPress Database"
216
- msgstr "Optimizujte svoju WordPress bazu podataka"
217
-
218
- #: rvg-optimize-db.php:818 rvg-optimize-db.php:1994
219
- msgid "A WordPress Plugin by"
220
- msgstr "WordPress Plugin kreirao:"
221
-
222
- #: rvg-optimize-db.php:823
223
- msgid "Current settings"
224
- msgstr ""
225
-
226
- #: rvg-optimize-db.php:826
227
- msgid "Maximum number of - most recent - revisions to keep per post / page"
228
- msgstr ""
229
- "Najveći broj - najskorijih - revizija koje treba održavati za svaki post/"
230
- "stranicu"
231
-
232
- #: rvg-optimize-db.php:847
233
- msgid "Number of excluded tables"
234
- msgstr "Broj isključenih tabela"
235
-
236
- #: rvg-optimize-db.php:858
237
- msgid "Next scheduled run"
238
- msgstr "Sledeća planirana optimizacija"
239
-
240
- #: rvg-optimize-db.php:867
241
- msgid "Total savings since the first run"
242
- msgstr "Ukupno sačuvanih od prvog pokretanja "
243
-
244
- #: rvg-optimize-db.php:874
245
- msgid "Change Settings"
246
- msgstr ""
247
-
248
- #: rvg-optimize-db.php:880 rvg-optimize-db.php:1293
249
- msgid "View Log File"
250
- msgstr "Pregledaj datoteku dnevnika"
251
-
252
- #: rvg-optimize-db.php:882 rvg-optimize-db.php:1295
253
- msgid "Delete Log File"
254
- msgstr "Obriši datoteku dnevnika"
255
-
256
- #: rvg-optimize-db.php:891
257
- msgid "Start Optimization"
258
- msgstr "Pokreni optimizaciju"
259
-
260
- #: rvg-optimize-db.php:905
261
  msgid "Cleaning Database"
262
  msgstr ""
263
 
264
- #: rvg-optimize-db.php:928
265
  msgid "DELETED REVISIONS"
266
  msgstr ""
267
 
268
- #: rvg-optimize-db.php:933 rvg-optimize-db.php:984 rvg-optimize-db.php:1036
 
269
  msgid "prefix"
270
  msgstr ""
271
 
272
- #: rvg-optimize-db.php:934
273
  msgid "post / page"
274
  msgstr "post/stranica"
275
 
276
- #: rvg-optimize-db.php:935
277
  msgid "revision date"
278
  msgstr "datum revizije"
279
 
280
- #: rvg-optimize-db.php:936
281
  msgid "revisions deleted"
282
  msgstr "revizija obrisana"
283
 
284
- #: rvg-optimize-db.php:943
285
  msgid "total number of revisions deleted"
286
  msgstr "ukupan broj obrisanih revizija"
287
 
288
- #: rvg-optimize-db.php:953
289
  msgid "No REVISIONS found to delete"
290
  msgstr "NISU PRONAĐENE REVIZIJE za brisanje"
291
 
292
- #: rvg-optimize-db.php:979
293
  msgid "DELETED TRASHED ITEMS"
294
  msgstr ""
295
 
296
- #: rvg-optimize-db.php:985
297
  msgid "type"
298
  msgstr "tip"
299
 
300
- #: rvg-optimize-db.php:986
301
  msgid "IP address / title"
302
  msgstr "IP adresa/naslov"
303
 
304
- #: rvg-optimize-db.php:987
305
  msgid "date"
306
  msgstr "datum"
307
 
308
- #: rvg-optimize-db.php:994
309
  msgid "total number of trashed items deleted"
310
  msgstr ""
311
 
312
- #: rvg-optimize-db.php:1004
313
  msgid "No TRASHED ITEMS found to delete"
314
  msgstr "NISU PRONAĐENE STAVKE za brisanje u korpi za otpatke "
315
 
316
- #: rvg-optimize-db.php:1031
317
  msgid "DELETEED SPAMMED ITEMS"
318
  msgstr ""
319
 
320
- #: rvg-optimize-db.php:1037
321
  msgid "comment author"
322
  msgstr "komentarišite autora"
323
 
324
- #: rvg-optimize-db.php:1038
325
  msgid "comment author email"
326
  msgstr "komentarišite email autora"
327
 
328
- #: rvg-optimize-db.php:1039
329
  msgid "comment date"
330
  msgstr "komentarišite datum"
331
 
332
- #: rvg-optimize-db.php:1046
333
  msgid "total number of spammed items deleted"
334
  msgstr ""
335
 
336
- #: rvg-optimize-db.php:1056
337
  msgid "No SPAMMED ITEMS found to delete"
338
  msgstr "NISU PRONAĐENE SPAM STAVKE za brisanje"
339
 
340
- #: rvg-optimize-db.php:1080
341
  msgid "NUMBER OF UNUSED TAGS DELETED"
342
  msgstr "BROJ NEUPOTREBLJENIH OBRISANIH OZNAKA"
343
 
344
- #: rvg-optimize-db.php:1088
345
  msgid "No UNUSED TAGS found to delete"
346
  msgstr "NISU PRONAĐENE NEUPOTREBLJENE OZNAKE za brisanje"
347
 
348
- #: rvg-optimize-db.php:1112
349
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
350
  msgstr "BROJ OBRISANIH, ISTEKLIH PROLAZNIH STAVKI "
351
 
352
- #: rvg-optimize-db.php:1120
353
  msgid "No EXPIRED TRANSIENTS found to delete"
354
  msgstr "Nisu pronađene istekle, prolazne stavke za brisanje "
355
 
356
- #: rvg-optimize-db.php:1143
357
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
358
  msgstr ""
359
 
360
- #: rvg-optimize-db.php:1151
361
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
362
  msgstr ""
363
 
364
- #: rvg-optimize-db.php:1172
365
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
366
  msgstr "BROJ OBRISANIH POSTMETA SIROČIĆA "
367
 
368
- #: rvg-optimize-db.php:1180
369
  msgid "No POSTMETA ORPHANS found to delete"
370
  msgstr "Nisu pronađeni postmeta siročići za brisanje"
371
 
372
- #: rvg-optimize-db.php:1198
373
  msgid "Optimizing Database Tables"
374
  msgstr ""
375
 
376
- #: rvg-optimize-db.php:1206
377
  msgid "table name"
378
  msgstr "naziv tabele"
379
 
380
- #: rvg-optimize-db.php:1207
381
  msgid "optimization result"
382
  msgstr "rezultat optimizacije"
383
 
384
- #: rvg-optimize-db.php:1208
385
  msgid "engine"
386
  msgstr "sredstvo"
387
 
388
- #: rvg-optimize-db.php:1209
389
  msgid "table rows"
390
  msgstr "redovi tabele"
391
 
392
- #: rvg-optimize-db.php:1210
393
  msgid "table size"
394
  msgstr "veličina tabele"
395
 
396
- #: rvg-optimize-db.php:1237
397
  msgid "Savings"
398
  msgstr ""
399
 
400
- #: rvg-optimize-db.php:1245
401
  msgid "size of the database"
402
  msgstr "veličina baze podataka"
403
 
404
- #: rvg-optimize-db.php:1248
405
  msgid "BEFORE optimization"
406
  msgstr "PRE optimizacije"
407
 
408
- #: rvg-optimize-db.php:1252
409
  msgid "AFTER optimization"
410
  msgstr "POSLE optimizacije"
411
 
412
- #: rvg-optimize-db.php:1256
413
  msgid "SAVINGS THIS TIME"
414
  msgstr "KOLIKO JE SAČUVANO STAVKI OVOG PUTA"
415
 
416
- #: rvg-optimize-db.php:1260
417
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
418
  msgstr "UKUPNO SAČUVANIH STAVKI OD PRVOG POKRETANJA"
419
 
420
- #: rvg-optimize-db.php:1276
421
  msgid "DONE!"
422
  msgstr ""
423
 
424
- #: rvg-optimize-db.php:1282
425
  msgid "Optimization took"
426
  msgstr ""
427
 
428
- #: rvg-optimize-db.php:1284
429
  msgid "seconds"
430
  msgstr ""
431
 
432
- #: rvg-optimize-db.php:1912
 
 
 
 
 
 
 
 
433
  msgid "InnoDB table: skipped..."
434
  msgstr ""
435
 
436
- #: rvg-optimize-db.php:1918
437
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
438
  msgstr ""
439
 
440
- #: rvg-optimize-db.php:1919
441
  msgid "Table is already up to date"
442
  msgstr ""
443
 
444
- #: rvg-optimize-db.php:1998
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  msgid "time"
446
  msgstr "vreme"
447
 
448
- #: rvg-optimize-db.php:1999
449
  msgid "deleted<br />revisions"
450
  msgstr "obrisane <br />revizije"
451
 
452
- #: rvg-optimize-db.php:2000
453
  msgid "deleted<br />trash"
454
  msgstr "obrisano <br /> iz korpe za otpatke "
455
 
456
- #: rvg-optimize-db.php:2001
457
  msgid "deleted<br />spam"
458
  msgstr "obrisani <br />spam"
459
 
460
- #: rvg-optimize-db.php:2002
461
  msgid "deleted<br />tags"
462
  msgstr "obrisane <br /> oznake"
463
 
464
- #: rvg-optimize-db.php:2003
465
  msgid "deleted<br />transients"
466
  msgstr "obrisane <br /> prolazne stavke"
467
 
468
- #: rvg-optimize-db.php:2004
469
  msgid "deleted<br />pingbacks<br />trackbacks"
470
  msgstr ""
471
 
472
- #: rvg-optimize-db.php:2005
473
  msgid "deleted<br />orphans"
474
  msgstr "obrisani <br /> siročići"
475
 
476
  # @ rvg-optimize-database
477
- #: rvg-optimize-db.php:2006
478
  msgid "nr of optimized tables"
479
  msgstr "broj optimizovanih tabela"
480
 
481
- #: rvg-optimize-db.php:2007
482
  msgid "database size BEFORE"
483
  msgstr "baza podataka PRE"
484
 
485
- #: rvg-optimize-db.php:2008
486
  msgid "database size AFTER"
487
  msgstr "baza podataka POSLE"
488
 
489
- #: rvg-optimize-db.php:2009
490
  msgid "SAVINGS"
491
  msgstr "SAČUVANO"
492
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
493
  # @ default
494
  #~ msgctxt "timezone date format"
495
  #~ msgid "YmdGis"
@@ -498,9 +536,6 @@ msgstr "SAČUVANO"
498
  #~ msgid "Using Optimize Database after Deleting Revisions"
499
  #~ msgstr "Upotreba Optimize Database after Deleting Revisions"
500
 
501
- #~ msgid "Author"
502
- #~ msgstr "Autor"
503
-
504
  #~ msgid "Delete all trashed items"
505
  #~ msgstr "Obriši sve stavke u korpi za otpatke"
506
 
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: 2015-11-20 17:04+0100\n"
6
+ "PO-Revision-Date: 2015-11-20 17:04+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: CAGE <info@cagewebdev.com>\n"
9
  "Language: sr_RS\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: C:\\My Dropbox\\WordPress\\wp-plugins\\rvg-optimize-db\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:78
27
  msgid "DELETED REVISIONS"
28
  msgstr ""
29
 
30
+ #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
31
+ #: classes/odb-cleaner.php:203
32
  msgid "prefix"
33
  msgstr ""
34
 
35
+ #: classes/odb-cleaner.php:84
36
  msgid "post / page"
37
  msgstr "post/stranica"
38
 
39
+ #: classes/odb-cleaner.php:85
40
  msgid "revision date"
41
  msgstr "datum revizije"
42
 
43
+ #: classes/odb-cleaner.php:86
44
  msgid "revisions deleted"
45
  msgstr "revizija obrisana"
46
 
47
+ #: classes/odb-cleaner.php:98
48
  msgid "total number of revisions deleted"
49
  msgstr "ukupan broj obrisanih revizija"
50
 
51
+ #: classes/odb-cleaner.php:110
52
  msgid "No REVISIONS found to delete"
53
  msgstr "NISU PRONAĐENE REVIZIJE za brisanje"
54
 
55
+ #: classes/odb-cleaner.php:137
56
  msgid "DELETED TRASHED ITEMS"
57
  msgstr ""
58
 
59
+ #: classes/odb-cleaner.php:143
60
  msgid "type"
61
  msgstr "tip"
62
 
63
+ #: classes/odb-cleaner.php:144
64
  msgid "IP address / title"
65
  msgstr "IP adresa/naslov"
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 ""
74
 
75
+ #: classes/odb-cleaner.php:170
76
  msgid "No TRASHED ITEMS found to delete"
77
  msgstr "NISU PRONAĐENE STAVKE za brisanje u korpi za otpatke "
78
 
79
+ #: classes/odb-cleaner.php:198
80
  msgid "DELETEED SPAMMED ITEMS"
81
  msgstr ""
82
 
83
+ #: classes/odb-cleaner.php:204
84
  msgid "comment author"
85
  msgstr "komentarišite autora"
86
 
87
+ #: classes/odb-cleaner.php:205
88
  msgid "comment author email"
89
  msgstr "komentarišite email autora"
90
 
91
+ #: classes/odb-cleaner.php:206
92
  msgid "comment date"
93
  msgstr "komentarišite datum"
94
 
95
+ #: classes/odb-cleaner.php:218
96
  msgid "total number of spammed items deleted"
97
  msgstr ""
98
 
99
+ #: classes/odb-cleaner.php:231
100
  msgid "No SPAMMED ITEMS found to delete"
101
  msgstr "NISU PRONAĐENE SPAM STAVKE za brisanje"
102
 
103
+ #: classes/odb-cleaner.php:256
104
  msgid "NUMBER OF UNUSED TAGS DELETED"
105
  msgstr "BROJ NEUPOTREBLJENIH OBRISANIH OZNAKA"
106
 
107
+ #: classes/odb-cleaner.php:266
108
  msgid "No UNUSED TAGS found to delete"
109
  msgstr "NISU PRONAĐENE NEUPOTREBLJENE OZNAKE za brisanje"
110
 
111
+ #: classes/odb-cleaner.php:290
112
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
113
  msgstr "BROJ OBRISANIH, ISTEKLIH PROLAZNIH STAVKI "
114
 
115
+ #: classes/odb-cleaner.php:300
116
  msgid "No EXPIRED TRANSIENTS found to delete"
117
  msgstr "Nisu pronađene istekle, prolazne stavke za brisanje "
118
 
119
+ #: classes/odb-cleaner.php:324
120
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
121
  msgstr ""
122
 
123
+ #: classes/odb-cleaner.php:334
124
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
125
  msgstr ""
126
 
127
+ #: classes/odb-cleaner.php:355
128
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
129
  msgstr "BROJ OBRISANIH POSTMETA SIROČIĆA "
130
 
131
+ #: classes/odb-cleaner.php:365
132
  msgid "No POSTMETA ORPHANS found to delete"
133
  msgstr "Nisu pronađeni postmeta siročići za brisanje"
134
 
135
+ #: classes/odb-cleaner.php:393
136
  msgid "Optimizing Database Tables"
137
  msgstr ""
138
 
139
+ #: classes/odb-cleaner.php:400
140
  msgid "table name"
141
  msgstr "naziv tabele"
142
 
143
+ #: classes/odb-cleaner.php:401
144
  msgid "optimization result"
145
  msgstr "rezultat optimizacije"
146
 
147
+ #: classes/odb-cleaner.php:402
148
  msgid "engine"
149
  msgstr "sredstvo"
150
 
151
+ #: classes/odb-cleaner.php:403
152
  msgid "table rows"
153
  msgstr "redovi tabele"
154
 
155
+ #: classes/odb-cleaner.php:404
156
  msgid "table size"
157
  msgstr "veličina tabele"
158
 
159
+ #: classes/odb-cleaner.php:452
160
  msgid "Savings"
161
  msgstr ""
162
 
163
+ #: classes/odb-cleaner.php:459
164
  msgid "size of the database"
165
  msgstr "veličina baze podataka"
166
 
167
+ #: classes/odb-cleaner.php:462
168
  msgid "BEFORE optimization"
169
  msgstr "PRE optimizacije"
170
 
171
+ #: classes/odb-cleaner.php:466
172
  msgid "AFTER optimization"
173
  msgstr "POSLE optimizacije"
174
 
175
+ #: classes/odb-cleaner.php:470
176
  msgid "SAVINGS THIS TIME"
177
  msgstr "KOLIKO JE SAČUVANO STAVKI OVOG PUTA"
178
 
179
+ #: classes/odb-cleaner.php:474
180
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
181
  msgstr "UKUPNO SAČUVANIH STAVKI OD PRVOG POKRETANJA"
182
 
183
+ #: classes/odb-cleaner.php:501
184
  msgid "DONE!"
185
  msgstr ""
186
 
187
+ #: classes/odb-cleaner.php:506
188
  msgid "Optimization took"
189
  msgstr ""
190
 
191
+ #: classes/odb-cleaner.php:506
192
  msgid "seconds"
193
  msgstr ""
194
 
195
+ #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
196
+ msgid "View Log File"
197
+ msgstr "Pregledaj datoteku dnevnika"
198
+
199
+ #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
200
+ msgid "Delete Log File"
201
+ msgstr "Obriši datoteku dnevnika"
202
+
203
+ #: classes/odb-cleaner.php:1043
204
  msgid "InnoDB table: skipped..."
205
  msgstr ""
206
 
207
+ #: classes/odb-cleaner.php:1049
208
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
209
  msgstr ""
210
 
211
+ #: classes/odb-cleaner.php:1050
212
  msgid "Table is already up to date"
213
  msgstr ""
214
 
215
+ #: classes/odb-displayer.php:28
216
+ msgid "YES"
217
+ msgstr "DA"
218
+
219
+ #: classes/odb-displayer.php:29
220
+ msgid "NO"
221
+ msgstr "NE"
222
+
223
+ #: classes/odb-displayer.php:40
224
+ msgid "EVERY FIVE MINUTES"
225
+ msgstr ""
226
+
227
+ #: classes/odb-displayer.php:42
228
+ msgid "ONCE HOURLY"
229
+ msgstr "SVAKOG SATA"
230
+
231
+ #: classes/odb-displayer.php:44
232
+ msgid "TWICE DAILY"
233
+ msgstr "DVA PUTA DNEVNO"
234
+
235
+ #: classes/odb-displayer.php:46
236
+ msgid "ONCE DAILY"
237
+ msgstr "JEDNOM DNEVNO"
238
+
239
+ #: classes/odb-displayer.php:48
240
+ msgid "ONCE WEEKLY"
241
+ msgstr "JEDNOM NEDELJNO"
242
+
243
+ #: classes/odb-displayer.php:49 includes/settings-page.php:174
244
+ msgid "NOT SCHEDULED"
245
+ msgstr "NIJE PLANIRANO"
246
+
247
+ #: classes/odb-displayer.php:54
248
+ msgid "Current settings"
249
+ msgstr ""
250
+
251
+ #: classes/odb-displayer.php:57
252
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
253
+ msgstr ""
254
+ "Najveći broj - najskorijih - revizija koje treba održavati za svaki post/"
255
+ "stranicu"
256
+
257
+ #: classes/odb-displayer.php:58 includes/settings-page.php:133
258
+ msgid "Delete trashed items"
259
+ msgstr ""
260
+
261
+ #: classes/odb-displayer.php:59 includes/settings-page.php:139
262
+ msgid "Delete spammed items"
263
+ msgstr ""
264
+
265
+ #: classes/odb-displayer.php:60 includes/settings-page.php:145
266
+ msgid "Delete unused tags"
267
+ msgstr "Obriši neiskorišćene oznake"
268
+
269
+ #: classes/odb-displayer.php:61 includes/settings-page.php:151
270
+ msgid "Delete expired transients"
271
+ msgstr "Obriši sve prolazne stavke koje su istekle"
272
+
273
+ #: classes/odb-displayer.php:62 includes/settings-page.php:157
274
+ msgid "Delete pingbacks and trackbacks"
275
+ msgstr ""
276
+
277
+ #: classes/odb-displayer.php:63 includes/settings-page.php:163
278
+ msgid "Keep a log"
279
+ msgstr "Vodi dnevnik"
280
+
281
+ #: classes/odb-displayer.php:64
282
+ msgid "Last run"
283
+ msgstr ""
284
+
285
+ #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
286
+ #: includes/settings-page.php:208
287
+ msgid "hrs"
288
+ msgstr "Sat"
289
+
290
+ #: classes/odb-displayer.php:65
291
+ msgid "Number of excluded tables"
292
+ msgstr "Broj isključenih tabela"
293
+
294
+ #: classes/odb-displayer.php:66 includes/settings-page.php:170
295
+ msgid "Scheduler"
296
+ msgstr "Planer"
297
+
298
+ #: classes/odb-displayer.php:73
299
+ msgid "Next scheduled run"
300
+ msgstr "Sledeća planirana optimizacija"
301
+
302
+ #: classes/odb-displayer.php:73
303
+ msgid "current server time"
304
+ msgstr ""
305
+
306
+ #: classes/odb-displayer.php:78
307
+ msgid "Total savings since the first run"
308
+ msgstr "Ukupno sačuvanih od prvog pokretanja "
309
+
310
+ #: classes/odb-displayer.php:95
311
+ msgid "Optimize Database after Deleting Revisions"
312
+ msgstr ""
313
+
314
+ #: classes/odb-displayer.php:98
315
+ msgid ""
316
+ "A popular 'one-click' plugin to clean and optimize your WordPress database."
317
+ msgstr ""
318
+
319
+ #: classes/odb-displayer.php:101
320
+ msgid "Plugin version"
321
+ msgstr ""
322
+
323
+ #: classes/odb-displayer.php:102
324
+ msgid "Plugin page"
325
+ msgstr ""
326
+
327
+ #: classes/odb-displayer.php:103
328
+ msgid "Download page"
329
+ msgstr ""
330
+
331
+ #: classes/odb-displayer.php:104
332
+ msgid "Author"
333
+ msgstr "Autor"
334
+
335
+ #: classes/odb-displayer.php:105
336
+ msgid "Company"
337
+ msgstr ""
338
+
339
+ #: classes/odb-displayer.php:106
340
+ msgid "Donation page"
341
+ msgstr ""
342
+
343
+ #: classes/odb-displayer.php:124
344
+ msgid "Change Settings"
345
+ msgstr ""
346
+
347
+ #: classes/odb-displayer.php:139
348
+ msgid "Start Optimization"
349
+ msgstr "Pokreni optimizaciju"
350
+
351
+ #: classes/odb-logger.php:55
352
+ msgid "A WordPress Plugin by"
353
+ msgstr "WordPress Plugin kreirao:"
354
+
355
+ #: classes/odb-logger.php:55
356
+ msgid "The Netherlands"
357
+ msgstr "Holandija"
358
+
359
+ #: classes/odb-logger.php:59
360
  msgid "time"
361
  msgstr "vreme"
362
 
363
+ #: classes/odb-logger.php:60
364
  msgid "deleted<br />revisions"
365
  msgstr "obrisane <br />revizije"
366
 
367
+ #: classes/odb-logger.php:61
368
  msgid "deleted<br />trash"
369
  msgstr "obrisano <br /> iz korpe za otpatke "
370
 
371
+ #: classes/odb-logger.php:62
372
  msgid "deleted<br />spam"
373
  msgstr "obrisani <br />spam"
374
 
375
+ #: classes/odb-logger.php:63
376
  msgid "deleted<br />tags"
377
  msgstr "obrisane <br /> oznake"
378
 
379
+ #: classes/odb-logger.php:64
380
  msgid "deleted<br />transients"
381
  msgstr "obrisane <br /> prolazne stavke"
382
 
383
+ #: classes/odb-logger.php:65
384
  msgid "deleted<br />pingbacks<br />trackbacks"
385
  msgstr ""
386
 
387
+ #: classes/odb-logger.php:66
388
  msgid "deleted<br />orphans"
389
  msgstr "obrisani <br /> siročići"
390
 
391
  # @ rvg-optimize-database
392
+ #: classes/odb-logger.php:67
393
  msgid "nr of optimized tables"
394
  msgstr "broj optimizovanih tabela"
395
 
396
+ #: classes/odb-logger.php:68
397
  msgid "database size BEFORE"
398
  msgstr "baza podataka PRE"
399
 
400
+ #: classes/odb-logger.php:69
401
  msgid "database size AFTER"
402
  msgstr "baza podataka POSLE"
403
 
404
+ #: classes/odb-logger.php:70
405
  msgid "SAVINGS"
406
  msgstr "SAČUVANO"
407
 
408
+ # @ default
409
+ #: classes/odb-scheduler.php:34
410
+ msgid "Once Weekly"
411
+ msgstr "Jednom nedeljno"
412
+
413
+ #: classes/odb-scheduler.php:39
414
+ msgid "Every Five Minutes"
415
+ msgstr ""
416
+
417
+ #: includes/settings-page.php:82
418
+ msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
419
+ msgstr ""
420
+
421
+ #: includes/settings-page.php:84
422
+ msgid ""
423
+ "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
424
+ "\">HERE</a> to run the optimization"
425
+ msgstr ""
426
+
427
+ #: includes/settings-page.php:120 rvg-optimize-db.php:257
428
+ msgid "Settings"
429
+ msgstr ""
430
+
431
+ #: includes/settings-page.php:125
432
+ msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
433
+ msgstr ""
434
+
435
+ #: includes/settings-page.php:129
436
+ msgid "('0' means: delete <u>ALL</u> revisions)"
437
+ msgstr "('0' znači: obriši <u>SVE</u> revizije)"
438
+
439
+ #: includes/settings-page.php:184
440
+ msgid "run optimization HOURLY"
441
+ msgstr "pokreni optimizaciju NA SVAKI SAT"
442
+
443
+ #: includes/settings-page.php:187
444
+ msgid "run optimization TWICE A DAY"
445
+ msgstr "pokreni optimizaciju DVA PUTA DNEVNO"
446
+
447
+ #: includes/settings-page.php:190
448
+ msgid "run optimization DAILY"
449
+ msgstr "pokreni optimizaciju JEDNOM DNEVNO"
450
+
451
+ #: includes/settings-page.php:193
452
+ msgid "run optimization WEEKLY"
453
+ msgstr "pokreni optimizaciju JEDNOM NEDELJNO"
454
+
455
+ #: includes/settings-page.php:200
456
+ msgid "Time"
457
+ msgstr "Vreme"
458
+
459
+ #: includes/settings-page.php:223
460
+ msgid "Show '1-click' link in Admin Bar"
461
+ msgstr "Prikaži ‘1-klik’ link u traci za meni administratora"
462
+
463
+ #: includes/settings-page.php:226 includes/settings-page.php:233
464
+ msgid "(change will be visible after loading the next page)"
465
+ msgstr "(promena će biti vidljiva nakon učitavanja sledeće stranice)"
466
+
467
+ #: includes/settings-page.php:230
468
+ msgid "Show an icon in the Admin Menu"
469
+ msgstr ""
470
+
471
+ #: includes/settings-page.php:239
472
+ msgid ""
473
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
474
+ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
475
+ "OPTIMIZED!</span>"
476
+ msgstr ""
477
+
478
+ #: includes/settings-page.php:245
479
+ msgid "check all tables"
480
+ msgstr "štikliraj sve tabele"
481
+
482
+ #: includes/settings-page.php:247
483
+ msgid "uncheck all tables"
484
+ msgstr "poništi štikliranje svih tabela"
485
+
486
+ #: includes/settings-page.php:249
487
+ msgid "check all NON-WordPress tables"
488
+ msgstr "štikliraj sve tabele koje NISU WordPress "
489
+
490
+ #: includes/settings-page.php:276
491
+ msgid "Save Settings"
492
+ msgstr ""
493
+
494
+ #: includes/settings-page.php:278
495
+ msgid "Go To Optimizer"
496
+ msgstr "Pokreni optimizator"
497
+
498
+ # @ rvg-optimize-database
499
+ #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
500
+ #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
501
+ #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
502
+ msgid "Optimize Database"
503
+ msgstr "Optimize Database"
504
+
505
+ # @ optimize_db
506
+ #: rvg-optimize-db.php:273
507
+ msgid "Optimize DB (1 click)"
508
+ msgstr "Optimizuj bazu podataka (1 klik)"
509
+
510
+ #: rvg-optimize-db.php:451
511
+ msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
512
+ msgstr ""
513
+
514
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
515
+ #~ msgstr ""
516
+ #~ "je plugin na 1 klik koji čisti i unapređuje vašu WordPress bazu podataka"
517
+
518
+ # @ rvg-optimize-database
519
+ #~ msgid "Optimize your WordPress Database"
520
+ #~ msgstr "Optimizujte svoju WordPress bazu podataka"
521
+
522
+ #~ msgid "Plugin version:"
523
+ #~ msgstr "Plugin verzija:"
524
+
525
+ #~ msgid "Plugin URL:"
526
+ #~ msgstr "URL Plugin-a:"
527
+
528
+ #~ msgid "Download URL:"
529
+ #~ msgstr "Download URL:"
530
+
531
  # @ default
532
  #~ msgctxt "timezone date format"
533
  #~ msgid "YmdGis"
536
  #~ msgid "Using Optimize Database after Deleting Revisions"
537
  #~ msgstr "Upotreba Optimize Database after Deleting Revisions"
538
 
 
 
 
539
  #~ msgid "Delete all trashed items"
540
  #~ msgstr "Obriši sve stavke u korpi za otpatke"
541
 
language/rvg-optimize-database-sv_SE.mo CHANGED
Binary file
language/rvg-optimize-database-sv_SE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v3.4.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-06-01 17:56+0100\n"
6
- "PO-Revision-Date: 2015-06-01 17:56+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: P. E.\n"
9
  "Language: sv_SE\n"
@@ -15,490 +15,543 @@ msgstr ""
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: C:\\Users\\rvgelder.KC15435\\Documents\\My Dropbox"
19
- "\\cagewebdev\\wp-content\\plugins\\rvg-optimize-db\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
 
 
22
 
23
- # @ rvg-optimize-database
24
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
25
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
26
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
27
- msgid "Optimize Database"
28
- msgstr "Optimera databas"
29
-
30
- # @ optimize_db
31
- #: rvg-optimize-db.php:149
32
- msgid "Optimize DB (1 click)"
33
- msgstr "Optimera DB (1 klick)"
34
-
35
- # @ default
36
- #: rvg-optimize-db.php:178
37
- msgid "Once Weekly"
38
- msgstr "En Gång i Veckan"
39
-
40
- #: rvg-optimize-db.php:449
41
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
42
- msgstr "Optimize Database after Deleting Revisions INSTÄLLNINGAR UPPDATERADE"
43
-
44
- #: rvg-optimize-db.php:451
45
- msgid ""
46
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
47
- "\">HERE</a> to run the optimization"
48
- msgstr ""
49
- "Klicka <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
50
- "\">QUI</a> för att köra optimeringen"
51
-
52
- #: rvg-optimize-db.php:517
53
- msgid "Optimize Database after Deleting Revisions"
54
- msgstr "Optimize Database after Deleting Revisions"
55
-
56
- #: rvg-optimize-db.php:521
57
- msgid "is an one-click plugin to clean and optimize your WordPress database"
58
- msgstr ""
59
- "är ett enklickstillägg för att städa upp och optimera din WordPress-databas"
60
-
61
- #: rvg-optimize-db.php:524
62
- msgid "Plugin version:"
63
- msgstr "Tilläggsversion:"
64
-
65
- #: rvg-optimize-db.php:528
66
- msgid "Author:"
67
- msgstr "Skapare:"
68
-
69
- #: rvg-optimize-db.php:531 rvg-optimize-db.php:841 rvg-optimize-db.php:2007
70
- msgid "The Netherlands"
71
- msgstr "Nederländerna"
72
-
73
- #: rvg-optimize-db.php:534
74
- msgid "Plugin URL:"
75
- msgstr "Tilläggets URL:"
76
-
77
- #: rvg-optimize-db.php:538
78
- msgid "Download URL:"
79
- msgstr "Nedladdnings-URL:"
80
-
81
- #: rvg-optimize-db.php:545
82
- msgid "Settings"
83
- msgstr "Inställningar"
84
-
85
- #: rvg-optimize-db.php:553
86
- msgid ""
87
- "Maximum number of - most recent - revisions<br />to keep per post / page"
88
- msgstr ""
89
- "Maximalt antal av - de senaste - revisionerna<br />som skall behållas per "
90
- "inlägg / sida"
91
-
92
- #: rvg-optimize-db.php:557
93
- msgid "('0' means: delete <u>ALL</u> revisions)"
94
- msgstr "('0' betyder: ta bort <u>ALLA</u> revisioner)"
95
-
96
- #: rvg-optimize-db.php:561 rvg-optimize-db.php:850
97
- msgid "Delete trashed items"
98
- msgstr "Töm papperskorgen"
99
-
100
- #: rvg-optimize-db.php:567 rvg-optimize-db.php:853
101
- msgid "Delete spammed items"
102
- msgstr "Ta bort all spam"
103
-
104
- #: rvg-optimize-db.php:573 rvg-optimize-db.php:856
105
- msgid "Delete unused tags"
106
- msgstr "Ta bort oanvända etiketter"
107
-
108
- #: rvg-optimize-db.php:579 rvg-optimize-db.php:859
109
- msgid "Delete expired transients"
110
- msgstr "Ta bort utgångna temporära objekt"
111
-
112
- #: rvg-optimize-db.php:585 rvg-optimize-db.php:862
113
- msgid "Delete pingbacks and trackbacks"
114
- msgstr "Ta bort pingbacks och trackbacks"
115
-
116
- #: rvg-optimize-db.php:591 rvg-optimize-db.php:865
117
- msgid "Keep a log"
118
- msgstr "Logga händelser"
119
-
120
- #: rvg-optimize-db.php:597 rvg-optimize-db.php:871
121
- msgid "Scheduler"
122
- msgstr "Schemaläggare"
123
-
124
- #: rvg-optimize-db.php:601 rvg-optimize-db.php:808
125
- msgid "NOT SCHEDULED"
126
- msgstr "EJ SCHEMALAGT"
127
-
128
- #: rvg-optimize-db.php:604
129
- msgid "run optimization HOURLY"
130
- msgstr "kör optimering EN GÅNG I TIMMEN"
131
-
132
- #: rvg-optimize-db.php:607
133
- msgid "run optimization TWICE A DAY"
134
- msgstr "kör optimering TVÅ GÅNGER OM DAN"
135
-
136
- #: rvg-optimize-db.php:610
137
- msgid "run optimization DAILY"
138
- msgstr "kör optimering DAGLIGEN"
139
-
140
- #: rvg-optimize-db.php:613
141
- msgid "run optimization WEEKLY"
142
- msgstr "kör optimering EN GÅNG I VECKAN"
143
-
144
- #: rvg-optimize-db.php:621
145
- msgid "Time"
146
- msgstr "Tid"
147
-
148
- #: rvg-optimize-db.php:628
149
- msgid "hrs"
150
- msgstr "tim"
151
-
152
- #: rvg-optimize-db.php:641
153
- msgid "Show '1-click' link in Admin Bar"
154
- msgstr "Visa '1 klick' länken i Adminmenyraden"
155
-
156
- #: rvg-optimize-db.php:644 rvg-optimize-db.php:651
157
- msgid "(change will be visible after loading the next page)"
158
- msgstr "(ändringen kommer att synas efter nästa sidladdning)"
159
-
160
- #: rvg-optimize-db.php:648
161
- msgid "Show an icon in the Admin Menu"
162
- msgstr "Visa en ikon i Adminmenyraden"
163
-
164
- #: rvg-optimize-db.php:656
165
- msgid ""
166
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
167
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
168
- "OPTIMIZED!</span>"
169
- msgstr ""
170
- "EXKLUDERA DATABASTABELLER FRÅN OPTIMERING: <span class=\"odb-underline-red"
171
- "\">MARKERADE</span> TABELLER <span class=\"odb-underline-red\">KOMMER EJ</"
172
- "span> ATT OPTIMERAS!</span>"
173
-
174
- #: rvg-optimize-db.php:659
175
- msgid "check all tables"
176
- msgstr "markera alla tabeller"
177
-
178
- #: rvg-optimize-db.php:661
179
- msgid "uncheck all tables"
180
- msgstr "avmarkera alla tabeller"
181
-
182
- #: rvg-optimize-db.php:663
183
- msgid "check all NON-WordPress tables"
184
- msgstr "markera alla ICKE-WordPresstabeller"
185
-
186
- #: rvg-optimize-db.php:687
187
- msgid "Save Settings"
188
- msgstr "Spara Inställningar"
189
-
190
- #: rvg-optimize-db.php:689
191
- msgid "Go To Optimizer"
192
- msgstr "Gå Till Optimeraren"
193
-
194
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
195
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
196
- msgid "NO"
197
- msgstr "NEJ"
198
-
199
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:758 rvg-optimize-db.php:765
200
- #: rvg-optimize-db.php:772 rvg-optimize-db.php:780 rvg-optimize-db.php:787
201
- msgid "YES"
202
- msgstr "JA"
203
-
204
- #: rvg-optimize-db.php:796
205
- msgid "ONCE HOURLY"
206
- msgstr "EN GÅNG I TIMMEN"
207
-
208
- #: rvg-optimize-db.php:798
209
- msgid "TWICE DAILY"
210
- msgstr "TVÅ GÅNGER OM DAN"
211
-
212
- #: rvg-optimize-db.php:800
213
- msgid "ONCE DAILY"
214
- msgstr "EN GÅNG OM DAN"
215
-
216
- #: rvg-optimize-db.php:802
217
- msgid "ONCE WEEKLY"
218
- msgstr "EN GÅNG I VECKAN"
219
-
220
- # @ rvg-optimize-database
221
- #: rvg-optimize-db.php:830
222
- msgid "Optimize your WordPress Database"
223
- msgstr "Optimera din WordPress-databas"
224
-
225
- #: rvg-optimize-db.php:839 rvg-optimize-db.php:2007
226
- msgid "A WordPress Plugin by"
227
- msgstr "Ett WordPress-tillägg av"
228
-
229
- #: rvg-optimize-db.php:844
230
- msgid "Current settings"
231
- msgstr "Nuvarande inställningar"
232
-
233
- #: rvg-optimize-db.php:847
234
- msgid "Maximum number of - most recent - revisions to keep per post / page"
235
- msgstr ""
236
- "Maximalt antal av - de senaste - revisionerna som skall behållas per "
237
- "inlägg / sida"
238
-
239
- #: rvg-optimize-db.php:868
240
- msgid "Number of excluded tables"
241
- msgstr "Antal exkluderade tabeller"
242
-
243
- #: rvg-optimize-db.php:879
244
- msgid "Next scheduled run"
245
- msgstr "Nästa schemalagda körning"
246
-
247
- #: rvg-optimize-db.php:888
248
- msgid "Total savings since the first run"
249
- msgstr "Total besparing sedan första körning"
250
-
251
- #: rvg-optimize-db.php:895
252
- msgid "Change Settings"
253
- msgstr "Ändra Inställningar"
254
-
255
- #: rvg-optimize-db.php:901 rvg-optimize-db.php:1311
256
- msgid "View Log File"
257
- msgstr "Visa Loggfil"
258
-
259
- #: rvg-optimize-db.php:903 rvg-optimize-db.php:1313
260
- msgid "Delete Log File"
261
- msgstr "Ta Bort Loggfil"
262
-
263
- #: rvg-optimize-db.php:912
264
- msgid "Start Optimization"
265
- msgstr "Starta Optimering"
266
-
267
- #: rvg-optimize-db.php:925
268
  msgid "Cleaning Database"
269
  msgstr "Städar Databas"
270
 
271
- #: rvg-optimize-db.php:948
272
  msgid "DELETED REVISIONS"
273
  msgstr "BORTTAGNA REVISIONER"
274
 
275
- #: rvg-optimize-db.php:953 rvg-optimize-db.php:1004 rvg-optimize-db.php:1056
 
276
  msgid "prefix"
277
  msgstr "prefix"
278
 
279
- #: rvg-optimize-db.php:954
280
  msgid "post / page"
281
  msgstr "inlägg / sida"
282
 
283
- #: rvg-optimize-db.php:955
284
  msgid "revision date"
285
  msgstr "revisionsdatum"
286
 
287
- #: rvg-optimize-db.php:956
288
  msgid "revisions deleted"
289
  msgstr "revisioner borttagna"
290
 
291
- #: rvg-optimize-db.php:963
292
  msgid "total number of revisions deleted"
293
  msgstr "totalt antal revisioner borttagna"
294
 
295
- #: rvg-optimize-db.php:973
296
  msgid "No REVISIONS found to delete"
297
  msgstr "Inga REVISIONER funna att ta bort"
298
 
299
- #: rvg-optimize-db.php:999
300
  msgid "DELETED TRASHED ITEMS"
301
  msgstr "TÖMDE PAPPERSKORGEN"
302
 
303
- #: rvg-optimize-db.php:1005
304
  msgid "type"
305
  msgstr "typ"
306
 
307
- #: rvg-optimize-db.php:1006
308
  msgid "IP address / title"
309
  msgstr "IP-adress / titel"
310
 
311
- #: rvg-optimize-db.php:1007
312
  msgid "date"
313
  msgstr "datum"
314
 
315
- #: rvg-optimize-db.php:1014
316
  msgid "total number of trashed items deleted"
317
  msgstr "Totalt antal objekt som tagits bort från papperskorgen"
318
 
319
- #: rvg-optimize-db.php:1024
320
  msgid "No TRASHED ITEMS found to delete"
321
  msgstr "Inget SKRÄP funnet i papperskorgen att ta bort"
322
 
323
- #: rvg-optimize-db.php:1051
324
  msgid "DELETEED SPAMMED ITEMS"
325
  msgstr "TOG BORT ALL SPAM"
326
 
327
- #: rvg-optimize-db.php:1057
328
  msgid "comment author"
329
  msgstr "kommentarsförfattare"
330
 
331
- #: rvg-optimize-db.php:1058
332
  msgid "comment author email"
333
  msgstr "kommentarsförfattarens e-post"
334
 
335
- #: rvg-optimize-db.php:1059
336
  msgid "comment date"
337
  msgstr "kommentarsdatum"
338
 
339
- #: rvg-optimize-db.php:1066
340
  msgid "total number of spammed items deleted"
341
  msgstr "totalt antal spam-objekt som togs bort"
342
 
343
- #: rvg-optimize-db.php:1076
344
  msgid "No SPAMMED ITEMS found to delete"
345
  msgstr "Ingen SPAM funnen att ta bort"
346
 
347
- #: rvg-optimize-db.php:1100
348
  msgid "NUMBER OF UNUSED TAGS DELETED"
349
  msgstr "ANTAL OANVÄNDA ETIKETTER BORTTAGNA"
350
 
351
- #: rvg-optimize-db.php:1108
352
  msgid "No UNUSED TAGS found to delete"
353
  msgstr "Inga OANVÄNDA ETIKETTER funna att ta bort"
354
 
355
- #: rvg-optimize-db.php:1132
356
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
357
  msgstr "ANTAL UTGÅNGNA TEMPORÄRA OBJEKT BORTTAGNA"
358
 
359
- #: rvg-optimize-db.php:1140
360
  msgid "No EXPIRED TRANSIENTS found to delete"
361
  msgstr "Inga UTGÅNGNA TEMPORÄRA OBJEKT funna att ta bort"
362
 
363
- #: rvg-optimize-db.php:1164
364
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
365
  msgstr "ANTAL PINGBACKS OCH TRACKBACKS BORTTAGNA"
366
 
367
- #: rvg-optimize-db.php:1172
368
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
369
  msgstr "Inga PINGBACKS eller TRACKBACKS funna att ta bort"
370
 
371
- #: rvg-optimize-db.php:1193
372
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
373
  msgstr "ANTAL FÖRÄLDRALÖSA POSTMETAOBJEKT BORTTAGNA"
374
 
375
- #: rvg-optimize-db.php:1201
376
  msgid "No POSTMETA ORPHANS found to delete"
377
  msgstr "Inga FÖRÄLDRALÖSA POSTMETAOBJEKT funna att ta bort"
378
 
379
- #: rvg-optimize-db.php:1218
380
  msgid "Optimizing Database Tables"
381
  msgstr "Optimerar Databastabeller"
382
 
383
- #: rvg-optimize-db.php:1226
384
  msgid "table name"
385
  msgstr "tabellnamn"
386
 
387
- #: rvg-optimize-db.php:1227
388
  msgid "optimization result"
389
  msgstr "optimeringsresultat"
390
 
391
- #: rvg-optimize-db.php:1228
392
  msgid "engine"
393
  msgstr "motor"
394
 
395
- #: rvg-optimize-db.php:1229
396
  msgid "table rows"
397
  msgstr "tabellrader"
398
 
399
- #: rvg-optimize-db.php:1230
400
  msgid "table size"
401
  msgstr "tabellstorlek"
402
 
403
- #: rvg-optimize-db.php:1256
404
  msgid "Savings"
405
  msgstr "Besparingar"
406
 
407
- #: rvg-optimize-db.php:1264
408
  msgid "size of the database"
409
  msgstr "storlek på databasen"
410
 
411
- #: rvg-optimize-db.php:1267
412
  msgid "BEFORE optimization"
413
  msgstr "FÖRE optimering"
414
 
415
- #: rvg-optimize-db.php:1271
416
  msgid "AFTER optimization"
417
  msgstr "EFTER optimering"
418
 
419
- #: rvg-optimize-db.php:1275
420
  msgid "SAVINGS THIS TIME"
421
  msgstr "BESPARING DENNA GÅNG"
422
 
423
- #: rvg-optimize-db.php:1279
424
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
425
  msgstr "TOTAL BESPARING SEDAN FÖRSTA KÖRNING"
426
 
427
- #: rvg-optimize-db.php:1294
428
  msgid "DONE!"
429
  msgstr "KLAR!"
430
 
431
  # Optimization took xxx seconds
432
- #: rvg-optimize-db.php:1300
433
  msgid "Optimization took"
434
  msgstr "Optimering tog"
435
 
436
  # Optimization took xxx seconds
437
- #: rvg-optimize-db.php:1302
438
  msgid "seconds"
439
  msgstr "sekunder"
440
 
441
- #: rvg-optimize-db.php:1925
 
 
 
 
 
 
 
 
442
  msgid "InnoDB table: skipped..."
443
  msgstr "InnoDB-tabell: överhoppad..."
444
 
445
- #: rvg-optimize-db.php:1931
446
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
447
  msgstr "<span class=\"odb-optimized\">TABELL OPTIMERAD</span>"
448
 
449
- #: rvg-optimize-db.php:1932
450
  msgid "Table is already up to date"
451
  msgstr "Tabellen är redan uppdaterad"
452
 
453
- #: rvg-optimize-db.php:2011
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  msgid "time"
455
  msgstr "tid"
456
 
457
- #: rvg-optimize-db.php:2012
458
  msgid "deleted<br />revisions"
459
  msgstr "revisioni<br />cancellate"
460
 
461
- #: rvg-optimize-db.php:2013
462
  msgid "deleted<br />trash"
463
  msgstr "deleted<br />trash"
464
 
465
- #: rvg-optimize-db.php:2014
466
  msgid "deleted<br />spam"
467
  msgstr "bortagen<br />spam"
468
 
469
- #: rvg-optimize-db.php:2015
470
  msgid "deleted<br />tags"
471
  msgstr "borttagna<br />etiketter"
472
 
473
- #: rvg-optimize-db.php:2016
474
  msgid "deleted<br />transients"
475
  msgstr "borttagna<br />temporära objekt"
476
 
477
- #: rvg-optimize-db.php:2017
478
  msgid "deleted<br />pingbacks<br />trackbacks"
479
  msgstr "borttagna<br />pingbacks<br />trackbacks"
480
 
481
- #: rvg-optimize-db.php:2018
482
  msgid "deleted<br />orphans"
483
  msgstr "borttagna<br />föräldralösa objekt"
484
 
485
  # @ rvg-optimize-database
486
- #: rvg-optimize-db.php:2019
487
  msgid "nr of optimized tables"
488
  msgstr "antal optimerade tabeller"
489
 
490
- #: rvg-optimize-db.php:2020
491
  msgid "database size BEFORE"
492
  msgstr "databasstorlek FÖRE"
493
 
494
- #: rvg-optimize-db.php:2021
495
  msgid "database size AFTER"
496
  msgstr "databasstorlek EFTER"
497
 
498
- #: rvg-optimize-db.php:2022
499
  msgid "SAVINGS"
500
  msgstr "BESPARINGAR"
501
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
502
  #~ msgid "<strong>TABLE OPTIMIZED</strong>"
503
  #~ msgstr "<strong>TABEL GEOPTIMALISEERD</strong>"
504
 
@@ -514,9 +567,6 @@ msgstr "BESPARINGAR"
514
  #~ msgid "Using Optimize Database after Deleting Revisions"
515
  #~ msgstr "Med hjälp av Optimize Database after Deleting Revisions"
516
 
517
- #~ msgid "Author"
518
- #~ msgstr "Skapare"
519
-
520
  #~ msgid "Optimize Database after Deleting Revisions - Settings"
521
  #~ msgstr "Optimize Database after Deleting Revisions - Inställningar"
522
 
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v3.4.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-20 17:05+0100\n"
6
+ "PO-Revision-Date: 2015-11-20 17:05+0100\n"
7
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
8
  "Language-Team: P. E.\n"
9
  "Language: sv_SE\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: C:\\My Dropbox\\WordPress\\wp-plugins\\rvg-optimize-db\n"
 
19
  "X-Textdomain-Support: yes\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPath-1: classes\n"
22
+ "X-Poedit-SearchPath-2: includes\n"
23
 
24
+ #: classes/odb-cleaner.php:35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  msgid "Cleaning Database"
26
  msgstr "Städar Databas"
27
 
28
+ #: classes/odb-cleaner.php:78
29
  msgid "DELETED REVISIONS"
30
  msgstr "BORTTAGNA REVISIONER"
31
 
32
+ #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
33
+ #: classes/odb-cleaner.php:203
34
  msgid "prefix"
35
  msgstr "prefix"
36
 
37
+ #: classes/odb-cleaner.php:84
38
  msgid "post / page"
39
  msgstr "inlägg / sida"
40
 
41
+ #: classes/odb-cleaner.php:85
42
  msgid "revision date"
43
  msgstr "revisionsdatum"
44
 
45
+ #: classes/odb-cleaner.php:86
46
  msgid "revisions deleted"
47
  msgstr "revisioner borttagna"
48
 
49
+ #: classes/odb-cleaner.php:98
50
  msgid "total number of revisions deleted"
51
  msgstr "totalt antal revisioner borttagna"
52
 
53
+ #: classes/odb-cleaner.php:110
54
  msgid "No REVISIONS found to delete"
55
  msgstr "Inga REVISIONER funna att ta bort"
56
 
57
+ #: classes/odb-cleaner.php:137
58
  msgid "DELETED TRASHED ITEMS"
59
  msgstr "TÖMDE PAPPERSKORGEN"
60
 
61
+ #: classes/odb-cleaner.php:143
62
  msgid "type"
63
  msgstr "typ"
64
 
65
+ #: classes/odb-cleaner.php:144
66
  msgid "IP address / title"
67
  msgstr "IP-adress / titel"
68
 
69
+ #: classes/odb-cleaner.php:145
70
  msgid "date"
71
  msgstr "datum"
72
 
73
+ #: classes/odb-cleaner.php:157
74
  msgid "total number of trashed items deleted"
75
  msgstr "Totalt antal objekt som tagits bort från papperskorgen"
76
 
77
+ #: classes/odb-cleaner.php:170
78
  msgid "No TRASHED ITEMS found to delete"
79
  msgstr "Inget SKRÄP funnet i papperskorgen att ta bort"
80
 
81
+ #: classes/odb-cleaner.php:198
82
  msgid "DELETEED SPAMMED ITEMS"
83
  msgstr "TOG BORT ALL SPAM"
84
 
85
+ #: classes/odb-cleaner.php:204
86
  msgid "comment author"
87
  msgstr "kommentarsförfattare"
88
 
89
+ #: classes/odb-cleaner.php:205
90
  msgid "comment author email"
91
  msgstr "kommentarsförfattarens e-post"
92
 
93
+ #: classes/odb-cleaner.php:206
94
  msgid "comment date"
95
  msgstr "kommentarsdatum"
96
 
97
+ #: classes/odb-cleaner.php:218
98
  msgid "total number of spammed items deleted"
99
  msgstr "totalt antal spam-objekt som togs bort"
100
 
101
+ #: classes/odb-cleaner.php:231
102
  msgid "No SPAMMED ITEMS found to delete"
103
  msgstr "Ingen SPAM funnen att ta bort"
104
 
105
+ #: classes/odb-cleaner.php:256
106
  msgid "NUMBER OF UNUSED TAGS DELETED"
107
  msgstr "ANTAL OANVÄNDA ETIKETTER BORTTAGNA"
108
 
109
+ #: classes/odb-cleaner.php:266
110
  msgid "No UNUSED TAGS found to delete"
111
  msgstr "Inga OANVÄNDA ETIKETTER funna att ta bort"
112
 
113
+ #: classes/odb-cleaner.php:290
114
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
115
  msgstr "ANTAL UTGÅNGNA TEMPORÄRA OBJEKT BORTTAGNA"
116
 
117
+ #: classes/odb-cleaner.php:300
118
  msgid "No EXPIRED TRANSIENTS found to delete"
119
  msgstr "Inga UTGÅNGNA TEMPORÄRA OBJEKT funna att ta bort"
120
 
121
+ #: classes/odb-cleaner.php:324
122
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
123
  msgstr "ANTAL PINGBACKS OCH TRACKBACKS BORTTAGNA"
124
 
125
+ #: classes/odb-cleaner.php:334
126
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
127
  msgstr "Inga PINGBACKS eller TRACKBACKS funna att ta bort"
128
 
129
+ #: classes/odb-cleaner.php:355
130
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
131
  msgstr "ANTAL FÖRÄLDRALÖSA POSTMETAOBJEKT BORTTAGNA"
132
 
133
+ #: classes/odb-cleaner.php:365
134
  msgid "No POSTMETA ORPHANS found to delete"
135
  msgstr "Inga FÖRÄLDRALÖSA POSTMETAOBJEKT funna att ta bort"
136
 
137
+ #: classes/odb-cleaner.php:393
138
  msgid "Optimizing Database Tables"
139
  msgstr "Optimerar Databastabeller"
140
 
141
+ #: classes/odb-cleaner.php:400
142
  msgid "table name"
143
  msgstr "tabellnamn"
144
 
145
+ #: classes/odb-cleaner.php:401
146
  msgid "optimization result"
147
  msgstr "optimeringsresultat"
148
 
149
+ #: classes/odb-cleaner.php:402
150
  msgid "engine"
151
  msgstr "motor"
152
 
153
+ #: classes/odb-cleaner.php:403
154
  msgid "table rows"
155
  msgstr "tabellrader"
156
 
157
+ #: classes/odb-cleaner.php:404
158
  msgid "table size"
159
  msgstr "tabellstorlek"
160
 
161
+ #: classes/odb-cleaner.php:452
162
  msgid "Savings"
163
  msgstr "Besparingar"
164
 
165
+ #: classes/odb-cleaner.php:459
166
  msgid "size of the database"
167
  msgstr "storlek på databasen"
168
 
169
+ #: classes/odb-cleaner.php:462
170
  msgid "BEFORE optimization"
171
  msgstr "FÖRE optimering"
172
 
173
+ #: classes/odb-cleaner.php:466
174
  msgid "AFTER optimization"
175
  msgstr "EFTER optimering"
176
 
177
+ #: classes/odb-cleaner.php:470
178
  msgid "SAVINGS THIS TIME"
179
  msgstr "BESPARING DENNA GÅNG"
180
 
181
+ #: classes/odb-cleaner.php:474
182
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
183
  msgstr "TOTAL BESPARING SEDAN FÖRSTA KÖRNING"
184
 
185
+ #: classes/odb-cleaner.php:501
186
  msgid "DONE!"
187
  msgstr "KLAR!"
188
 
189
  # Optimization took xxx seconds
190
+ #: classes/odb-cleaner.php:506
191
  msgid "Optimization took"
192
  msgstr "Optimering tog"
193
 
194
  # Optimization took xxx seconds
195
+ #: classes/odb-cleaner.php:506
196
  msgid "seconds"
197
  msgstr "sekunder"
198
 
199
+ #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
200
+ msgid "View Log File"
201
+ msgstr "Visa Loggfil"
202
+
203
+ #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
204
+ msgid "Delete Log File"
205
+ msgstr "Ta Bort Loggfil"
206
+
207
+ #: classes/odb-cleaner.php:1043
208
  msgid "InnoDB table: skipped..."
209
  msgstr "InnoDB-tabell: överhoppad..."
210
 
211
+ #: classes/odb-cleaner.php:1049
212
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
213
  msgstr "<span class=\"odb-optimized\">TABELL OPTIMERAD</span>"
214
 
215
+ #: classes/odb-cleaner.php:1050
216
  msgid "Table is already up to date"
217
  msgstr "Tabellen är redan uppdaterad"
218
 
219
+ #: classes/odb-displayer.php:28
220
+ msgid "YES"
221
+ msgstr "JA"
222
+
223
+ #: classes/odb-displayer.php:29
224
+ msgid "NO"
225
+ msgstr "NEJ"
226
+
227
+ #: classes/odb-displayer.php:40
228
+ msgid "EVERY FIVE MINUTES"
229
+ msgstr ""
230
+
231
+ #: classes/odb-displayer.php:42
232
+ msgid "ONCE HOURLY"
233
+ msgstr "EN GÅNG I TIMMEN"
234
+
235
+ #: classes/odb-displayer.php:44
236
+ msgid "TWICE DAILY"
237
+ msgstr "TVÅ GÅNGER OM DAN"
238
+
239
+ #: classes/odb-displayer.php:46
240
+ msgid "ONCE DAILY"
241
+ msgstr "EN GÅNG OM DAN"
242
+
243
+ #: classes/odb-displayer.php:48
244
+ msgid "ONCE WEEKLY"
245
+ msgstr "EN GÅNG I VECKAN"
246
+
247
+ #: classes/odb-displayer.php:49 includes/settings-page.php:174
248
+ msgid "NOT SCHEDULED"
249
+ msgstr "EJ SCHEMALAGT"
250
+
251
+ #: classes/odb-displayer.php:54
252
+ msgid "Current settings"
253
+ msgstr "Nuvarande inställningar"
254
+
255
+ #: classes/odb-displayer.php:57
256
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
257
+ msgstr ""
258
+ "Maximalt antal av - de senaste - revisionerna som skall behållas per "
259
+ "inlägg / sida"
260
+
261
+ #: classes/odb-displayer.php:58 includes/settings-page.php:133
262
+ msgid "Delete trashed items"
263
+ msgstr "Töm papperskorgen"
264
+
265
+ #: classes/odb-displayer.php:59 includes/settings-page.php:139
266
+ msgid "Delete spammed items"
267
+ msgstr "Ta bort all spam"
268
+
269
+ #: classes/odb-displayer.php:60 includes/settings-page.php:145
270
+ msgid "Delete unused tags"
271
+ msgstr "Ta bort oanvända etiketter"
272
+
273
+ #: classes/odb-displayer.php:61 includes/settings-page.php:151
274
+ msgid "Delete expired transients"
275
+ msgstr "Ta bort utgångna temporära objekt"
276
+
277
+ #: classes/odb-displayer.php:62 includes/settings-page.php:157
278
+ msgid "Delete pingbacks and trackbacks"
279
+ msgstr "Ta bort pingbacks och trackbacks"
280
+
281
+ #: classes/odb-displayer.php:63 includes/settings-page.php:163
282
+ msgid "Keep a log"
283
+ msgstr "Logga händelser"
284
+
285
+ #: classes/odb-displayer.php:64
286
+ msgid "Last run"
287
+ msgstr ""
288
+
289
+ #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
290
+ #: includes/settings-page.php:208
291
+ msgid "hrs"
292
+ msgstr "tim"
293
+
294
+ #: classes/odb-displayer.php:65
295
+ msgid "Number of excluded tables"
296
+ msgstr "Antal exkluderade tabeller"
297
+
298
+ #: classes/odb-displayer.php:66 includes/settings-page.php:170
299
+ msgid "Scheduler"
300
+ msgstr "Schemaläggare"
301
+
302
+ #: classes/odb-displayer.php:73
303
+ msgid "Next scheduled run"
304
+ msgstr "Nästa schemalagda körning"
305
+
306
+ #: classes/odb-displayer.php:73
307
+ msgid "current server time"
308
+ msgstr ""
309
+
310
+ #: classes/odb-displayer.php:78
311
+ msgid "Total savings since the first run"
312
+ msgstr "Total besparing sedan första körning"
313
+
314
+ #: classes/odb-displayer.php:95
315
+ msgid "Optimize Database after Deleting Revisions"
316
+ msgstr "Optimize Database after Deleting Revisions"
317
+
318
+ #: classes/odb-displayer.php:98
319
+ msgid ""
320
+ "A popular 'one-click' plugin to clean and optimize your WordPress database."
321
+ msgstr ""
322
+
323
+ #: classes/odb-displayer.php:101
324
+ msgid "Plugin version"
325
+ msgstr ""
326
+
327
+ #: classes/odb-displayer.php:102
328
+ msgid "Plugin page"
329
+ msgstr ""
330
+
331
+ #: classes/odb-displayer.php:103
332
+ msgid "Download page"
333
+ msgstr ""
334
+
335
+ #: classes/odb-displayer.php:104
336
+ msgid "Author"
337
+ msgstr "Skapare"
338
+
339
+ #: classes/odb-displayer.php:105
340
+ msgid "Company"
341
+ msgstr ""
342
+
343
+ #: classes/odb-displayer.php:106
344
+ msgid "Donation page"
345
+ msgstr ""
346
+
347
+ #: classes/odb-displayer.php:124
348
+ msgid "Change Settings"
349
+ msgstr "Ändra Inställningar"
350
+
351
+ #: classes/odb-displayer.php:139
352
+ msgid "Start Optimization"
353
+ msgstr "Starta Optimering"
354
+
355
+ #: classes/odb-logger.php:55
356
+ msgid "A WordPress Plugin by"
357
+ msgstr "Ett WordPress-tillägg av"
358
+
359
+ #: classes/odb-logger.php:55
360
+ msgid "The Netherlands"
361
+ msgstr "Nederländerna"
362
+
363
+ #: classes/odb-logger.php:59
364
  msgid "time"
365
  msgstr "tid"
366
 
367
+ #: classes/odb-logger.php:60
368
  msgid "deleted<br />revisions"
369
  msgstr "revisioni<br />cancellate"
370
 
371
+ #: classes/odb-logger.php:61
372
  msgid "deleted<br />trash"
373
  msgstr "deleted<br />trash"
374
 
375
+ #: classes/odb-logger.php:62
376
  msgid "deleted<br />spam"
377
  msgstr "bortagen<br />spam"
378
 
379
+ #: classes/odb-logger.php:63
380
  msgid "deleted<br />tags"
381
  msgstr "borttagna<br />etiketter"
382
 
383
+ #: classes/odb-logger.php:64
384
  msgid "deleted<br />transients"
385
  msgstr "borttagna<br />temporära objekt"
386
 
387
+ #: classes/odb-logger.php:65
388
  msgid "deleted<br />pingbacks<br />trackbacks"
389
  msgstr "borttagna<br />pingbacks<br />trackbacks"
390
 
391
+ #: classes/odb-logger.php:66
392
  msgid "deleted<br />orphans"
393
  msgstr "borttagna<br />föräldralösa objekt"
394
 
395
  # @ rvg-optimize-database
396
+ #: classes/odb-logger.php:67
397
  msgid "nr of optimized tables"
398
  msgstr "antal optimerade tabeller"
399
 
400
+ #: classes/odb-logger.php:68
401
  msgid "database size BEFORE"
402
  msgstr "databasstorlek FÖRE"
403
 
404
+ #: classes/odb-logger.php:69
405
  msgid "database size AFTER"
406
  msgstr "databasstorlek EFTER"
407
 
408
+ #: classes/odb-logger.php:70
409
  msgid "SAVINGS"
410
  msgstr "BESPARINGAR"
411
 
412
+ # @ default
413
+ #: classes/odb-scheduler.php:34
414
+ msgid "Once Weekly"
415
+ msgstr "En Gång i Veckan"
416
+
417
+ #: classes/odb-scheduler.php:39
418
+ msgid "Every Five Minutes"
419
+ msgstr ""
420
+
421
+ #: includes/settings-page.php:82
422
+ msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
423
+ msgstr "Optimize Database after Deleting Revisions INSTÄLLNINGAR UPPDATERADE"
424
+
425
+ #: includes/settings-page.php:84
426
+ msgid ""
427
+ "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
428
+ "\">HERE</a> to run the optimization"
429
+ msgstr ""
430
+
431
+ #: includes/settings-page.php:120 rvg-optimize-db.php:257
432
+ msgid "Settings"
433
+ msgstr "Inställningar"
434
+
435
+ #: includes/settings-page.php:125
436
+ msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
437
+ msgstr ""
438
+
439
+ #: includes/settings-page.php:129
440
+ msgid "('0' means: delete <u>ALL</u> revisions)"
441
+ msgstr "('0' betyder: ta bort <u>ALLA</u> revisioner)"
442
+
443
+ #: includes/settings-page.php:184
444
+ msgid "run optimization HOURLY"
445
+ msgstr "kör optimering EN GÅNG I TIMMEN"
446
+
447
+ #: includes/settings-page.php:187
448
+ msgid "run optimization TWICE A DAY"
449
+ msgstr "kör optimering TVÅ GÅNGER OM DAN"
450
+
451
+ #: includes/settings-page.php:190
452
+ msgid "run optimization DAILY"
453
+ msgstr "kör optimering DAGLIGEN"
454
+
455
+ #: includes/settings-page.php:193
456
+ msgid "run optimization WEEKLY"
457
+ msgstr "kör optimering EN GÅNG I VECKAN"
458
+
459
+ #: includes/settings-page.php:200
460
+ msgid "Time"
461
+ msgstr "Tid"
462
+
463
+ #: includes/settings-page.php:223
464
+ msgid "Show '1-click' link in Admin Bar"
465
+ msgstr "Visa '1 klick' länken i Adminmenyraden"
466
+
467
+ #: includes/settings-page.php:226 includes/settings-page.php:233
468
+ msgid "(change will be visible after loading the next page)"
469
+ msgstr "(ändringen kommer att synas efter nästa sidladdning)"
470
+
471
+ #: includes/settings-page.php:230
472
+ msgid "Show an icon in the Admin Menu"
473
+ msgstr "Visa en ikon i Adminmenyraden"
474
+
475
+ #: includes/settings-page.php:239
476
+ msgid ""
477
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
478
+ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
479
+ "OPTIMIZED!</span>"
480
+ msgstr ""
481
+ "EXKLUDERA DATABASTABELLER FRÅN OPTIMERING: <span class=\"odb-underline-red"
482
+ "\">MARKERADE</span> TABELLER <span class=\"odb-underline-red\">KOMMER EJ</"
483
+ "span> ATT OPTIMERAS!</span>"
484
+
485
+ #: includes/settings-page.php:245
486
+ msgid "check all tables"
487
+ msgstr "markera alla tabeller"
488
+
489
+ #: includes/settings-page.php:247
490
+ msgid "uncheck all tables"
491
+ msgstr "avmarkera alla tabeller"
492
+
493
+ #: includes/settings-page.php:249
494
+ msgid "check all NON-WordPress tables"
495
+ msgstr "markera alla ICKE-WordPresstabeller"
496
+
497
+ #: includes/settings-page.php:276
498
+ msgid "Save Settings"
499
+ msgstr "Spara Inställningar"
500
+
501
+ #: includes/settings-page.php:278
502
+ msgid "Go To Optimizer"
503
+ msgstr "Gå Till Optimeraren"
504
+
505
+ # @ rvg-optimize-database
506
+ #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
507
+ #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
508
+ #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
509
+ msgid "Optimize Database"
510
+ msgstr "Optimera databas"
511
+
512
+ # @ optimize_db
513
+ #: rvg-optimize-db.php:273
514
+ msgid "Optimize DB (1 click)"
515
+ msgstr "Optimera DB (1 klick)"
516
+
517
+ #: rvg-optimize-db.php:451
518
+ msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
519
+ msgstr ""
520
+
521
+ #~ msgid ""
522
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
523
+ #~ "\">HERE</a> to run the optimization"
524
+ #~ msgstr ""
525
+ #~ "Klicka <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
526
+ #~ "\">QUI</a> för att köra optimeringen"
527
+
528
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
529
+ #~ msgstr ""
530
+ #~ "är ett enklickstillägg för att städa upp och optimera din WordPress-"
531
+ #~ "databas"
532
+
533
+ #~ msgid ""
534
+ #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
535
+ #~ msgstr ""
536
+ #~ "Maximalt antal av - de senaste - revisionerna<br />som skall behållas per "
537
+ #~ "inlägg / sida"
538
+
539
+ # @ rvg-optimize-database
540
+ #~ msgid "Optimize your WordPress Database"
541
+ #~ msgstr "Optimera din WordPress-databas"
542
+
543
+ #~ msgid "Plugin version:"
544
+ #~ msgstr "Tilläggsversion:"
545
+
546
+ #~ msgid "Author:"
547
+ #~ msgstr "Skapare:"
548
+
549
+ #~ msgid "Plugin URL:"
550
+ #~ msgstr "Tilläggets URL:"
551
+
552
+ #~ msgid "Download URL:"
553
+ #~ msgstr "Nedladdnings-URL:"
554
+
555
  #~ msgid "<strong>TABLE OPTIMIZED</strong>"
556
  #~ msgstr "<strong>TABEL GEOPTIMALISEERD</strong>"
557
 
567
  #~ msgid "Using Optimize Database after Deleting Revisions"
568
  #~ msgstr "Med hjälp av Optimize Database after Deleting Revisions"
569
 
 
 
 
570
  #~ msgid "Optimize Database after Deleting Revisions - Settings"
571
  #~ msgstr "Optimize Database after Deleting Revisions - Inställningar"
572
 
language/rvg-optimize-database-uk_UA.mo CHANGED
Binary file
language/rvg-optimize-database-uk_UA.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v3.4\n"
4
- "POT-Creation-Date: 2015-04-20 18:31+0100\n"
5
- "PO-Revision-Date: 2015-04-20 18:32+0100\n"
6
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
7
  "Language-Team: Anna Goriacha <http://www.coupofy.com >\n"
8
  "Language: uk_UA\n"
@@ -10,482 +10,534 @@ msgstr ""
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:\\Users\\rvgelder.KC15435\\Documents\\My Dropbox"
14
- "\\cagewebdev\\wp-content\\plugins\\rvg-optimize-database\\\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e\n"
18
  "X-Poedit-SearchPath-0: .\n"
 
 
19
 
20
- #: rvg-optimize-db.php:47 rvg-optimize-db.php:48 rvg-optimize-db.php:69
21
- #: rvg-optimize-db.php:70 rvg-optimize-db.php:90 rvg-optimize-db.php:91
22
- #: rvg-optimize-db.php:110 rvg-optimize-db.php:111
23
- msgid "Optimize Database"
24
- msgstr "Оптимізувати базу даних"
25
-
26
- #: rvg-optimize-db.php:149
27
- msgid "Optimize DB (1 click)"
28
- msgstr "Оптимізувати DB (1 клік)"
29
-
30
- #: rvg-optimize-db.php:178
31
- msgid "Once Weekly"
32
- msgstr "Один раз на тиждень"
33
-
34
- #: rvg-optimize-db.php:425
35
- msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
36
- msgstr ""
37
- "Оптимізувати базу даних після видалення попередніх версій НАЛАШТУВАННЯ "
38
- "ВІДНОВЛЕНО"
39
-
40
- #: rvg-optimize-db.php:427
41
- msgid ""
42
- "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
43
- "\">HERE</a> to run the optimization"
44
- msgstr ""
45
- "Натисність <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
46
- "\">ТУТ</a> для запуска оптимізації"
47
-
48
- #: rvg-optimize-db.php:494
49
- msgid "Optimize Database after Deleting Revisions"
50
- msgstr "Оптимізувати базу даних після Видалення версій"
51
-
52
- #: rvg-optimize-db.php:498
53
- msgid "is an one-click plugin to clean and optimize your WordPress database"
54
- msgstr ""
55
- "це плагін в один клік для чистки та оптимізації вашої бази даних WordPress"
56
-
57
- #: rvg-optimize-db.php:501
58
- msgid "Plugin version:"
59
- msgstr "Версія плагіна:"
60
-
61
- #: rvg-optimize-db.php:505
62
- msgid "Author:"
63
- msgstr "Автор:"
64
-
65
- #: rvg-optimize-db.php:508 rvg-optimize-db.php:820 rvg-optimize-db.php:1991
66
- msgid "The Netherlands"
67
- msgstr "Нідерланди"
68
-
69
- #: rvg-optimize-db.php:511
70
- msgid "Plugin URL:"
71
- msgstr "Плагін URL:"
72
-
73
- #: rvg-optimize-db.php:515
74
- msgid "Download URL:"
75
- msgstr "Завантажити URL:"
76
-
77
- #: rvg-optimize-db.php:523
78
- msgid "Settings"
79
- msgstr "Налаштування"
80
-
81
- #: rvg-optimize-db.php:531
82
- msgid ""
83
- "Maximum number of - most recent - revisions<br />to keep per post / page"
84
- msgstr ""
85
- "Максимальна кількість - найнедавніших - версій<br />залишених на один пост/ "
86
- "сторінку"
87
-
88
- #: rvg-optimize-db.php:535
89
- msgid "('0' means: delete <u>ALL</u> revisions)"
90
- msgstr "('0' означає: видалити <u>ВСІ</u> версії)"
91
-
92
- #: rvg-optimize-db.php:539 rvg-optimize-db.php:829
93
- msgid "Delete trashed items"
94
- msgstr "Видалити файли зі сміття"
95
-
96
- #: rvg-optimize-db.php:545 rvg-optimize-db.php:832
97
- msgid "Delete spammed items"
98
- msgstr "Видалити файли спаму"
99
-
100
- #: rvg-optimize-db.php:551 rvg-optimize-db.php:835
101
- msgid "Delete unused tags"
102
- msgstr "Видалити невикористані теги"
103
-
104
- #: rvg-optimize-db.php:557 rvg-optimize-db.php:838
105
- msgid "Delete expired transients"
106
- msgstr "Видалити недійсні перехідні transient"
107
-
108
- #: rvg-optimize-db.php:563 rvg-optimize-db.php:841
109
- msgid "Delete pingbacks and trackbacks"
110
- msgstr "Видалити пінгбеки та трекбеки"
111
-
112
- #: rvg-optimize-db.php:569 rvg-optimize-db.php:844
113
- msgid "Keep a log"
114
- msgstr "вести записи"
115
-
116
- #: rvg-optimize-db.php:575 rvg-optimize-db.php:850
117
- msgid "Scheduler"
118
- msgstr "Планувальник"
119
-
120
- #: rvg-optimize-db.php:579 rvg-optimize-db.php:787
121
- msgid "NOT SCHEDULED"
122
- msgstr "НЕ ЗАПЛАНОВАНО"
123
-
124
- #: rvg-optimize-db.php:582
125
- msgid "run optimization HOURLY"
126
- msgstr "запустити оптимізацію ПОГОДИННО"
127
-
128
- #: rvg-optimize-db.php:585
129
- msgid "run optimization TWICE A DAY"
130
- msgstr "Запустити оптимізацію ДВІЧІ НА ДЕНЬ"
131
-
132
- #: rvg-optimize-db.php:588
133
- msgid "run optimization DAILY"
134
- msgstr "запустити оптимізацію ЩОДНЯ"
135
-
136
- #: rvg-optimize-db.php:591
137
- msgid "run optimization WEEKLY"
138
- msgstr "запустити оптимізацію ЩОТИЖДНЯ"
139
-
140
- #: rvg-optimize-db.php:599
141
- msgid "Time"
142
- msgstr "Час"
143
-
144
- #: rvg-optimize-db.php:606
145
- msgid "hrs"
146
- msgstr "години"
147
-
148
- #: rvg-optimize-db.php:619
149
- msgid "Show '1-click' link in Admin Bar"
150
- msgstr "Показати посилання '1-клік' в Панелі Адміністратора"
151
-
152
- #: rvg-optimize-db.php:622 rvg-optimize-db.php:629
153
- msgid "(change will be visible after loading the next page)"
154
- msgstr "(зміна буде видима після завантаження наступної сторінки)"
155
-
156
- #: rvg-optimize-db.php:626
157
- msgid "Show an icon in the Admin Menu"
158
- msgstr "Показати значок в Меню Адміністратора"
159
-
160
- #: rvg-optimize-db.php:634
161
- msgid ""
162
- "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
163
- "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
164
- "OPTIMIZED!</span>"
165
- msgstr ""
166
- "ВИКЛЮЧИТИ ТАБЛИЦІ БАЗИ ДАНИХ З ОПТИМІЗАЦІЇ: <span class=\"odb-underline-red"
167
- "\">ВИДІЛЕНІ</span> ТАБЛИЦІ <span class=\"odb-underline-red\">НЕ БУДУТЬ</"
168
- "span> ОПТИМІЗОВАНІ!</span>"
169
-
170
- #: rvg-optimize-db.php:637
171
- msgid "check all tables"
172
- msgstr "ПЕРЕВІРИТИ ВСІ ТАБЛИЦІ"
173
-
174
- #: rvg-optimize-db.php:639
175
- msgid "uncheck all tables"
176
- msgstr "скасувати виділення всіх таблиць"
177
-
178
- #: rvg-optimize-db.php:641
179
- msgid "check all NON-WordPress tables"
180
- msgstr "виділити всі НЕ-WordPress таблиці"
181
-
182
- #: rvg-optimize-db.php:666
183
- msgid "Save Settings"
184
- msgstr "Зберегти налаштування"
185
-
186
- #: rvg-optimize-db.php:668
187
- msgid "Go To Optimizer"
188
- msgstr "Перейти до Оптимізатора"
189
-
190
- #: rvg-optimize-db.php:730 rvg-optimize-db.php:737 rvg-optimize-db.php:744
191
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:759 rvg-optimize-db.php:766
192
- msgid "NO"
193
- msgstr "НІ"
194
-
195
- #: rvg-optimize-db.php:730 rvg-optimize-db.php:737 rvg-optimize-db.php:744
196
- #: rvg-optimize-db.php:751 rvg-optimize-db.php:759 rvg-optimize-db.php:766
197
- msgid "YES"
198
- msgstr "ТАК"
199
-
200
- #: rvg-optimize-db.php:775
201
- msgid "ONCE HOURLY"
202
- msgstr "ОДИН РАЗ ЩОГОДИНИ"
203
-
204
- #: rvg-optimize-db.php:777
205
- msgid "TWICE DAILY"
206
- msgstr "ДВА РАЗИ ЩОДНЯ"
207
-
208
- #: rvg-optimize-db.php:779
209
- msgid "ONCE DAILY"
210
- msgstr "ОДИН РАЗ ЩОДНЯ"
211
-
212
- #: rvg-optimize-db.php:781
213
- msgid "ONCE WEEKLY"
214
- msgstr "ОДИН РАЗ ЩОТИЖДНЯ"
215
-
216
- #: rvg-optimize-db.php:809
217
- msgid "Optimize your WordPress Database"
218
- msgstr "Оптимізувати вашу базу даних WordPress"
219
-
220
- #: rvg-optimize-db.php:818 rvg-optimize-db.php:1991
221
- msgid "A WordPress Plugin by"
222
- msgstr "A WordPress плагін"
223
-
224
- #: rvg-optimize-db.php:823
225
- msgid "Current settings"
226
- msgstr "Поточні налаштування"
227
-
228
- #: rvg-optimize-db.php:826
229
- msgid "Maximum number of - most recent - revisions to keep per post / page"
230
- msgstr ""
231
- "Максимальна кількість - найнедавніших - версій залишених на пост/ сторінку"
232
-
233
- #: rvg-optimize-db.php:847
234
- msgid "Number of excluded tables"
235
- msgstr "Кількість вилучених таблиць"
236
-
237
- #: rvg-optimize-db.php:858
238
- msgid "Next scheduled run"
239
- msgstr "Наступний запланований запуск"
240
-
241
- #: rvg-optimize-db.php:867
242
- msgid "Total savings since the first run"
243
- msgstr "Повне збереження, починаючи з першого запуску"
244
-
245
- #: rvg-optimize-db.php:874
246
- msgid "Change Settings"
247
- msgstr "Змінити налаштування"
248
-
249
- #: rvg-optimize-db.php:880 rvg-optimize-db.php:1290
250
- msgid "View Log File"
251
- msgstr "Переглянути лог-файл"
252
-
253
- #: rvg-optimize-db.php:882 rvg-optimize-db.php:1292
254
- msgid "Delete Log File"
255
- msgstr "Видалити лог-файл"
256
-
257
- #: rvg-optimize-db.php:891
258
- msgid "Start Optimization"
259
- msgstr "Почати оптимізацію"
260
-
261
- #: rvg-optimize-db.php:904
262
  msgid "Cleaning Database"
263
  msgstr "Чистка бази даних"
264
 
265
- #: rvg-optimize-db.php:927
266
  msgid "DELETED REVISIONS"
267
  msgstr "ВИДАЛИТИ ВЕРСІЇ"
268
 
269
- #: rvg-optimize-db.php:932 rvg-optimize-db.php:983 rvg-optimize-db.php:1035
 
270
  msgid "prefix"
271
  msgstr "префікс"
272
 
273
- #: rvg-optimize-db.php:933
274
  msgid "post / page"
275
  msgstr "пост / сторінка"
276
 
277
- #: rvg-optimize-db.php:934
278
  msgid "revision date"
279
  msgstr "Дата версії"
280
 
281
- #: rvg-optimize-db.php:935
282
  msgid "revisions deleted"
283
  msgstr "видалені версії"
284
 
285
- #: rvg-optimize-db.php:942
286
  msgid "total number of revisions deleted"
287
  msgstr "загальна кількість видалених версій"
288
 
289
- #: rvg-optimize-db.php:952
290
  msgid "No REVISIONS found to delete"
291
  msgstr "Не знайдено ЖОДНОЇ ВЕРСІЇ для видалення"
292
 
293
- #: rvg-optimize-db.php:978
294
  msgid "DELETED TRASHED ITEMS"
295
  msgstr "ВИДАЛИТИ ЕЛЕМЕНТИ ЗІ СМІТТЯ"
296
 
297
- #: rvg-optimize-db.php:984
298
  msgid "type"
299
  msgstr "друкувати"
300
 
301
- #: rvg-optimize-db.php:985
302
  msgid "IP address / title"
303
  msgstr "IP адрес / назва"
304
 
305
- #: rvg-optimize-db.php:986
306
  msgid "date"
307
  msgstr "дата"
308
 
309
- #: rvg-optimize-db.php:993
310
  msgid "total number of trashed items deleted"
311
  msgstr "загальна кількість елементів, видалених зі сміття"
312
 
313
- #: rvg-optimize-db.php:1003
314
  msgid "No TRASHED ITEMS found to delete"
315
  msgstr "Не знайдено ЖОДНОГО ЕЛЕМЕНТА ЗІ СМІТТЯ для видалення"
316
 
317
- #: rvg-optimize-db.php:1030
318
  msgid "DELETEED SPAMMED ITEMS"
319
  msgstr "ВИДАЛЕНИЙ СПАМ"
320
 
321
- #: rvg-optimize-db.php:1036
322
  msgid "comment author"
323
  msgstr "коментар автора"
324
 
325
- #: rvg-optimize-db.php:1037
326
  msgid "comment author email"
327
  msgstr "email автора коментаря"
328
 
329
- #: rvg-optimize-db.php:1038
330
  msgid "comment date"
331
  msgstr "дата коментаря"
332
 
333
- #: rvg-optimize-db.php:1045
334
  msgid "total number of spammed items deleted"
335
  msgstr "загальна кількість видаленого спаму"
336
 
337
- #: rvg-optimize-db.php:1055
338
  msgid "No SPAMMED ITEMS found to delete"
339
  msgstr "Не знайдено ЖОДНОГО СПАМУ для видалення"
340
 
341
- #: rvg-optimize-db.php:1079
342
  msgid "NUMBER OF UNUSED TAGS DELETED"
343
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ НЕВИКОРИСТАНИХ ТЕГІВ"
344
 
345
- #: rvg-optimize-db.php:1087
346
  msgid "No UNUSED TAGS found to delete"
347
  msgstr "Не знайдено ЖОДНОГО НЕВИКОРИСТАНОГО ТЕГУ для видалення"
348
 
349
- #: rvg-optimize-db.php:1111
350
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
351
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ НЕДІЙСНИХ ПЕРЕХІДНИХ TRANSIENT"
352
 
353
- #: rvg-optimize-db.php:1119
354
  msgid "No EXPIRED TRANSIENTS found to delete"
355
  msgstr "Не знайдено ЖОДНОГО НЕДЙСНОГО ПЕРЕХІДНОГО TRANSIENT для видалення"
356
 
357
- #: rvg-optimize-db.php:1143
358
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
359
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ ПІНГБЕКІВ ТА ТРЕКБЕКІВ"
360
 
361
- #: rvg-optimize-db.php:1151
362
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
363
  msgstr "Не знайдено ЖОДНОГО ПІНГБЕКА та ТРЕКБЕКА для видалення"
364
 
365
- #: rvg-optimize-db.php:1172
366
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
367
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ ЗАГУБЛЕНИХ МЕТА-ОПИСІВ ПОСТІВ"
368
 
369
- #: rvg-optimize-db.php:1180
370
  msgid "No POSTMETA ORPHANS found to delete"
371
  msgstr "Не знайдено ЖОДНОГО ЗАГУБЛЕНОГО МЕТАОПИСУ ПОСТУ для видалення"
372
 
373
- #: rvg-optimize-db.php:1197
374
  msgid "Optimizing Database Tables"
375
  msgstr "Оптимізація таблиць бази даних"
376
 
377
- #: rvg-optimize-db.php:1205
378
  msgid "table name"
379
  msgstr "ім'я таблиці"
380
 
381
- #: rvg-optimize-db.php:1206
382
  msgid "optimization result"
383
  msgstr "результат оптимізації"
384
 
385
- #: rvg-optimize-db.php:1207
386
  msgid "engine"
387
  msgstr "двигун"
388
 
389
- #: rvg-optimize-db.php:1208
390
  msgid "table rows"
391
  msgstr "рядки таблиць"
392
 
393
- #: rvg-optimize-db.php:1209
394
  msgid "table size"
395
  msgstr "розмір таблиці"
396
 
397
- #: rvg-optimize-db.php:1235
398
  msgid "Savings"
399
  msgstr "Збереження"
400
 
401
- #: rvg-optimize-db.php:1243
402
  msgid "size of the database"
403
  msgstr "розмір бази даних"
404
 
405
- #: rvg-optimize-db.php:1246
406
  msgid "BEFORE optimization"
407
  msgstr "ПЕРЕД оптимізацією"
408
 
409
- #: rvg-optimize-db.php:1250
410
  msgid "AFTER optimization"
411
  msgstr "ПІСЛЯ оптимізації"
412
 
413
- #: rvg-optimize-db.php:1254
414
  msgid "SAVINGS THIS TIME"
415
  msgstr "ЗБЕРЕГТИ НА ЦЕЙ РАЗ"
416
 
417
- #: rvg-optimize-db.php:1258
418
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
419
  msgstr "ПОВНЕ ЗБЕРЕЖЕННЯ ПІСЛЯ ПЕРШОГО ЗАПУСКУ"
420
 
421
- #: rvg-optimize-db.php:1273
422
  msgid "DONE!"
423
  msgstr "ЗАВЕРШЕНО"
424
 
425
- #: rvg-optimize-db.php:1279
426
  msgid "Optimization took"
427
  msgstr "Установка оптимізації"
428
 
429
- #: rvg-optimize-db.php:1281
430
  msgid "seconds"
431
  msgstr "секунди"
432
 
433
- #: rvg-optimize-db.php:1909
 
 
 
 
 
 
 
 
434
  msgid "InnoDB table: skipped..."
435
  msgstr "Таблиця InnoDB: вийти..."
436
 
437
- #: rvg-optimize-db.php:1915
438
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
439
  msgstr "<span class=\"odb-optimized\">ТАБЛИЦЯ ОПТИМІЗОВАНА</span>"
440
 
441
- #: rvg-optimize-db.php:1916
442
  msgid "Table is already up to date"
443
  msgstr "Таблиця вже відновлена"
444
 
445
- #: rvg-optimize-db.php:1995
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
446
  msgid "time"
447
  msgstr "Час"
448
 
449
- #: rvg-optimize-db.php:1996
450
  msgid "deleted<br />revisions"
451
  msgstr "видалені<br />версії"
452
 
453
- #: rvg-optimize-db.php:1997
454
  msgid "deleted<br />trash"
455
  msgstr "видалене<br />сміття"
456
 
457
- #: rvg-optimize-db.php:1998
458
  msgid "deleted<br />spam"
459
  msgstr "видалений<br />спам"
460
 
461
- #: rvg-optimize-db.php:1999
462
  msgid "deleted<br />tags"
463
  msgstr "видалені<br />теги"
464
 
465
- #: rvg-optimize-db.php:2000
466
  msgid "deleted<br />transients"
467
  msgstr "видалені<br />перехідні transient"
468
 
469
- #: rvg-optimize-db.php:2001
470
  msgid "deleted<br />pingbacks<br />trackbacks"
471
  msgstr "видалені<br />пінгбеки<br />трекбеки"
472
 
473
- #: rvg-optimize-db.php:2002
474
  msgid "deleted<br />orphans"
475
  msgstr "видалені<br />загублені файли"
476
 
477
- #: rvg-optimize-db.php:2003
478
  msgid "nr of optimized tables"
479
  msgstr "кількість оптимізованих таблиць"
480
 
481
- #: rvg-optimize-db.php:2004
482
  msgid "database size BEFORE"
483
  msgstr "розмір бази даних ДО"
484
 
485
- #: rvg-optimize-db.php:2005
486
  msgid "database size AFTER"
487
  msgstr "розмір бази даних ПІСЛЯ"
488
 
489
- #: rvg-optimize-db.php:2006
490
  msgid "SAVINGS"
491
  msgstr "ЗБЕРЕЖЕННЯ"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Optimize Database after Deleting Revisions v3.4\n"
4
+ "POT-Creation-Date: 2015-11-20 17:05+0100\n"
5
+ "PO-Revision-Date: 2015-11-20 17:05+0100\n"
6
  "Last-Translator: Rolf van Gelder <info@cagewebdev.com>\n"
7
  "Language-Team: Anna Goriacha <http://www.coupofy.com >\n"
8
  "Language: uk_UA\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
+ "X-Poedit-SearchPath-1: classes\n"
19
+ "X-Poedit-SearchPath-2: includes\n"
20
 
21
+ #: classes/odb-cleaner.php:35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgid "Cleaning Database"
23
  msgstr "Чистка бази даних"
24
 
25
+ #: classes/odb-cleaner.php:78
26
  msgid "DELETED REVISIONS"
27
  msgstr "ВИДАЛИТИ ВЕРСІЇ"
28
 
29
+ #: classes/odb-cleaner.php:83 classes/odb-cleaner.php:142
30
+ #: classes/odb-cleaner.php:203
31
  msgid "prefix"
32
  msgstr "префікс"
33
 
34
+ #: classes/odb-cleaner.php:84
35
  msgid "post / page"
36
  msgstr "пост / сторінка"
37
 
38
+ #: classes/odb-cleaner.php:85
39
  msgid "revision date"
40
  msgstr "Дата версії"
41
 
42
+ #: classes/odb-cleaner.php:86
43
  msgid "revisions deleted"
44
  msgstr "видалені версії"
45
 
46
+ #: classes/odb-cleaner.php:98
47
  msgid "total number of revisions deleted"
48
  msgstr "загальна кількість видалених версій"
49
 
50
+ #: classes/odb-cleaner.php:110
51
  msgid "No REVISIONS found to delete"
52
  msgstr "Не знайдено ЖОДНОЇ ВЕРСІЇ для видалення"
53
 
54
+ #: classes/odb-cleaner.php:137
55
  msgid "DELETED TRASHED ITEMS"
56
  msgstr "ВИДАЛИТИ ЕЛЕМЕНТИ ЗІ СМІТТЯ"
57
 
58
+ #: classes/odb-cleaner.php:143
59
  msgid "type"
60
  msgstr "друкувати"
61
 
62
+ #: classes/odb-cleaner.php:144
63
  msgid "IP address / title"
64
  msgstr "IP адрес / назва"
65
 
66
+ #: classes/odb-cleaner.php:145
67
  msgid "date"
68
  msgstr "дата"
69
 
70
+ #: classes/odb-cleaner.php:157
71
  msgid "total number of trashed items deleted"
72
  msgstr "загальна кількість елементів, видалених зі сміття"
73
 
74
+ #: classes/odb-cleaner.php:170
75
  msgid "No TRASHED ITEMS found to delete"
76
  msgstr "Не знайдено ЖОДНОГО ЕЛЕМЕНТА ЗІ СМІТТЯ для видалення"
77
 
78
+ #: classes/odb-cleaner.php:198
79
  msgid "DELETEED SPAMMED ITEMS"
80
  msgstr "ВИДАЛЕНИЙ СПАМ"
81
 
82
+ #: classes/odb-cleaner.php:204
83
  msgid "comment author"
84
  msgstr "коментар автора"
85
 
86
+ #: classes/odb-cleaner.php:205
87
  msgid "comment author email"
88
  msgstr "email автора коментаря"
89
 
90
+ #: classes/odb-cleaner.php:206
91
  msgid "comment date"
92
  msgstr "дата коментаря"
93
 
94
+ #: classes/odb-cleaner.php:218
95
  msgid "total number of spammed items deleted"
96
  msgstr "загальна кількість видаленого спаму"
97
 
98
+ #: classes/odb-cleaner.php:231
99
  msgid "No SPAMMED ITEMS found to delete"
100
  msgstr "Не знайдено ЖОДНОГО СПАМУ для видалення"
101
 
102
+ #: classes/odb-cleaner.php:256
103
  msgid "NUMBER OF UNUSED TAGS DELETED"
104
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ НЕВИКОРИСТАНИХ ТЕГІВ"
105
 
106
+ #: classes/odb-cleaner.php:266
107
  msgid "No UNUSED TAGS found to delete"
108
  msgstr "Не знайдено ЖОДНОГО НЕВИКОРИСТАНОГО ТЕГУ для видалення"
109
 
110
+ #: classes/odb-cleaner.php:290
111
  msgid "NUMBER OF EXPIRED TRANSIENTS DELETED"
112
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ НЕДІЙСНИХ ПЕРЕХІДНИХ TRANSIENT"
113
 
114
+ #: classes/odb-cleaner.php:300
115
  msgid "No EXPIRED TRANSIENTS found to delete"
116
  msgstr "Не знайдено ЖОДНОГО НЕДЙСНОГО ПЕРЕХІДНОГО TRANSIENT для видалення"
117
 
118
+ #: classes/odb-cleaner.php:324
119
  msgid "NUMBER OF PINGBACKS AND TRACKBACKS DELETED"
120
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ ПІНГБЕКІВ ТА ТРЕКБЕКІВ"
121
 
122
+ #: classes/odb-cleaner.php:334
123
  msgid "No PINGBACKS nor TRACKBACKS found to delete"
124
  msgstr "Не знайдено ЖОДНОГО ПІНГБЕКА та ТРЕКБЕКА для видалення"
125
 
126
+ #: classes/odb-cleaner.php:355
127
  msgid "NUMBER OF POSTMETA ORPHANS DELETED"
128
  msgstr "КІЛЬКІСТЬ ВИДАЛЕНИХ ЗАГУБЛЕНИХ МЕТА-ОПИСІВ ПОСТІВ"
129
 
130
+ #: classes/odb-cleaner.php:365
131
  msgid "No POSTMETA ORPHANS found to delete"
132
  msgstr "Не знайдено ЖОДНОГО ЗАГУБЛЕНОГО МЕТАОПИСУ ПОСТУ для видалення"
133
 
134
+ #: classes/odb-cleaner.php:393
135
  msgid "Optimizing Database Tables"
136
  msgstr "Оптимізація таблиць бази даних"
137
 
138
+ #: classes/odb-cleaner.php:400
139
  msgid "table name"
140
  msgstr "ім'я таблиці"
141
 
142
+ #: classes/odb-cleaner.php:401
143
  msgid "optimization result"
144
  msgstr "результат оптимізації"
145
 
146
+ #: classes/odb-cleaner.php:402
147
  msgid "engine"
148
  msgstr "двигун"
149
 
150
+ #: classes/odb-cleaner.php:403
151
  msgid "table rows"
152
  msgstr "рядки таблиць"
153
 
154
+ #: classes/odb-cleaner.php:404
155
  msgid "table size"
156
  msgstr "розмір таблиці"
157
 
158
+ #: classes/odb-cleaner.php:452
159
  msgid "Savings"
160
  msgstr "Збереження"
161
 
162
+ #: classes/odb-cleaner.php:459
163
  msgid "size of the database"
164
  msgstr "розмір бази даних"
165
 
166
+ #: classes/odb-cleaner.php:462
167
  msgid "BEFORE optimization"
168
  msgstr "ПЕРЕД оптимізацією"
169
 
170
+ #: classes/odb-cleaner.php:466
171
  msgid "AFTER optimization"
172
  msgstr "ПІСЛЯ оптимізації"
173
 
174
+ #: classes/odb-cleaner.php:470
175
  msgid "SAVINGS THIS TIME"
176
  msgstr "ЗБЕРЕГТИ НА ЦЕЙ РАЗ"
177
 
178
+ #: classes/odb-cleaner.php:474
179
  msgid "TOTAL SAVINGS SINCE THE FIRST RUN"
180
  msgstr "ПОВНЕ ЗБЕРЕЖЕННЯ ПІСЛЯ ПЕРШОГО ЗАПУСКУ"
181
 
182
+ #: classes/odb-cleaner.php:501
183
  msgid "DONE!"
184
  msgstr "ЗАВЕРШЕНО"
185
 
186
+ #: classes/odb-cleaner.php:506
187
  msgid "Optimization took"
188
  msgstr "Установка оптимізації"
189
 
190
+ #: classes/odb-cleaner.php:506
191
  msgid "seconds"
192
  msgstr "секунди"
193
 
194
+ #: classes/odb-cleaner.php:514 classes/odb-displayer.php:131
195
+ msgid "View Log File"
196
+ msgstr "Переглянути лог-файл"
197
+
198
+ #: classes/odb-cleaner.php:516 classes/odb-displayer.php:133
199
+ msgid "Delete Log File"
200
+ msgstr "Видалити лог-файл"
201
+
202
+ #: classes/odb-cleaner.php:1043
203
  msgid "InnoDB table: skipped..."
204
  msgstr "Таблиця InnoDB: вийти..."
205
 
206
+ #: classes/odb-cleaner.php:1049
207
  msgid "<span class=\"odb-optimized\">TABLE OPTIMIZED</span>"
208
  msgstr "<span class=\"odb-optimized\">ТАБЛИЦЯ ОПТИМІЗОВАНА</span>"
209
 
210
+ #: classes/odb-cleaner.php:1050
211
  msgid "Table is already up to date"
212
  msgstr "Таблиця вже відновлена"
213
 
214
+ #: classes/odb-displayer.php:28
215
+ msgid "YES"
216
+ msgstr "ТАК"
217
+
218
+ #: classes/odb-displayer.php:29
219
+ msgid "NO"
220
+ msgstr "НІ"
221
+
222
+ #: classes/odb-displayer.php:40
223
+ msgid "EVERY FIVE MINUTES"
224
+ msgstr ""
225
+
226
+ #: classes/odb-displayer.php:42
227
+ msgid "ONCE HOURLY"
228
+ msgstr "ОДИН РАЗ ЩОГОДИНИ"
229
+
230
+ #: classes/odb-displayer.php:44
231
+ msgid "TWICE DAILY"
232
+ msgstr "ДВА РАЗИ ЩОДНЯ"
233
+
234
+ #: classes/odb-displayer.php:46
235
+ msgid "ONCE DAILY"
236
+ msgstr "ОДИН РАЗ ЩОДНЯ"
237
+
238
+ #: classes/odb-displayer.php:48
239
+ msgid "ONCE WEEKLY"
240
+ msgstr "ОДИН РАЗ ЩОТИЖДНЯ"
241
+
242
+ #: classes/odb-displayer.php:49 includes/settings-page.php:174
243
+ msgid "NOT SCHEDULED"
244
+ msgstr "НЕ ЗАПЛАНОВАНО"
245
+
246
+ #: classes/odb-displayer.php:54
247
+ msgid "Current settings"
248
+ msgstr "Поточні налаштування"
249
+
250
+ #: classes/odb-displayer.php:57
251
+ msgid "Maximum number of - most recent - revisions to keep per post / page"
252
+ msgstr ""
253
+ "Максимальна кількість - найнедавніших - версій залишених на пост/ сторінку"
254
+
255
+ #: classes/odb-displayer.php:58 includes/settings-page.php:133
256
+ msgid "Delete trashed items"
257
+ msgstr "Видалити файли зі сміття"
258
+
259
+ #: classes/odb-displayer.php:59 includes/settings-page.php:139
260
+ msgid "Delete spammed items"
261
+ msgstr "Видалити файли спаму"
262
+
263
+ #: classes/odb-displayer.php:60 includes/settings-page.php:145
264
+ msgid "Delete unused tags"
265
+ msgstr "Видалити невикористані теги"
266
+
267
+ #: classes/odb-displayer.php:61 includes/settings-page.php:151
268
+ msgid "Delete expired transients"
269
+ msgstr "Видалити недійсні перехідні transient"
270
+
271
+ #: classes/odb-displayer.php:62 includes/settings-page.php:157
272
+ msgid "Delete pingbacks and trackbacks"
273
+ msgstr "Видалити пінгбеки та трекбеки"
274
+
275
+ #: classes/odb-displayer.php:63 includes/settings-page.php:163
276
+ msgid "Keep a log"
277
+ msgstr "вести записи"
278
+
279
+ #: classes/odb-displayer.php:64
280
+ msgid "Last run"
281
+ msgstr ""
282
+
283
+ #: classes/odb-displayer.php:64 classes/odb-displayer.php:73
284
+ #: includes/settings-page.php:208
285
+ msgid "hrs"
286
+ msgstr "години"
287
+
288
+ #: classes/odb-displayer.php:65
289
+ msgid "Number of excluded tables"
290
+ msgstr "Кількість вилучених таблиць"
291
+
292
+ #: classes/odb-displayer.php:66 includes/settings-page.php:170
293
+ msgid "Scheduler"
294
+ msgstr "Планувальник"
295
+
296
+ #: classes/odb-displayer.php:73
297
+ msgid "Next scheduled run"
298
+ msgstr "Наступний запланований запуск"
299
+
300
+ #: classes/odb-displayer.php:73
301
+ msgid "current server time"
302
+ msgstr ""
303
+
304
+ #: classes/odb-displayer.php:78
305
+ msgid "Total savings since the first run"
306
+ msgstr "Повне збереження, починаючи з першого запуску"
307
+
308
+ #: classes/odb-displayer.php:95
309
+ msgid "Optimize Database after Deleting Revisions"
310
+ msgstr "Оптимізувати базу даних після Видалення версій"
311
+
312
+ #: classes/odb-displayer.php:98
313
+ msgid ""
314
+ "A popular 'one-click' plugin to clean and optimize your WordPress database."
315
+ msgstr ""
316
+
317
+ #: classes/odb-displayer.php:101
318
+ msgid "Plugin version"
319
+ msgstr ""
320
+
321
+ #: classes/odb-displayer.php:102
322
+ msgid "Plugin page"
323
+ msgstr ""
324
+
325
+ #: classes/odb-displayer.php:103
326
+ msgid "Download page"
327
+ msgstr ""
328
+
329
+ #: classes/odb-displayer.php:104
330
+ msgid "Author"
331
+ msgstr ""
332
+
333
+ #: classes/odb-displayer.php:105
334
+ msgid "Company"
335
+ msgstr ""
336
+
337
+ #: classes/odb-displayer.php:106
338
+ msgid "Donation page"
339
+ msgstr ""
340
+
341
+ #: classes/odb-displayer.php:124
342
+ msgid "Change Settings"
343
+ msgstr "Змінити налаштування"
344
+
345
+ #: classes/odb-displayer.php:139
346
+ msgid "Start Optimization"
347
+ msgstr "Почати оптимізацію"
348
+
349
+ #: classes/odb-logger.php:55
350
+ msgid "A WordPress Plugin by"
351
+ msgstr "A WordPress плагін"
352
+
353
+ #: classes/odb-logger.php:55
354
+ msgid "The Netherlands"
355
+ msgstr "Нідерланди"
356
+
357
+ #: classes/odb-logger.php:59
358
  msgid "time"
359
  msgstr "Час"
360
 
361
+ #: classes/odb-logger.php:60
362
  msgid "deleted<br />revisions"
363
  msgstr "видалені<br />версії"
364
 
365
+ #: classes/odb-logger.php:61
366
  msgid "deleted<br />trash"
367
  msgstr "видалене<br />сміття"
368
 
369
+ #: classes/odb-logger.php:62
370
  msgid "deleted<br />spam"
371
  msgstr "видалений<br />спам"
372
 
373
+ #: classes/odb-logger.php:63
374
  msgid "deleted<br />tags"
375
  msgstr "видалені<br />теги"
376
 
377
+ #: classes/odb-logger.php:64
378
  msgid "deleted<br />transients"
379
  msgstr "видалені<br />перехідні transient"
380
 
381
+ #: classes/odb-logger.php:65
382
  msgid "deleted<br />pingbacks<br />trackbacks"
383
  msgstr "видалені<br />пінгбеки<br />трекбеки"
384
 
385
+ #: classes/odb-logger.php:66
386
  msgid "deleted<br />orphans"
387
  msgstr "видалені<br />загублені файли"
388
 
389
+ #: classes/odb-logger.php:67
390
  msgid "nr of optimized tables"
391
  msgstr "кількість оптимізованих таблиць"
392
 
393
+ #: classes/odb-logger.php:68
394
  msgid "database size BEFORE"
395
  msgstr "розмір бази даних ДО"
396
 
397
+ #: classes/odb-logger.php:69
398
  msgid "database size AFTER"
399
  msgstr "розмір бази даних ПІСЛЯ"
400
 
401
+ #: classes/odb-logger.php:70
402
  msgid "SAVINGS"
403
  msgstr "ЗБЕРЕЖЕННЯ"
404
+
405
+ #: classes/odb-scheduler.php:34
406
+ msgid "Once Weekly"
407
+ msgstr "Один раз на тиждень"
408
+
409
+ #: classes/odb-scheduler.php:39
410
+ msgid "Every Five Minutes"
411
+ msgstr ""
412
+
413
+ #: includes/settings-page.php:82
414
+ msgid "Optimize Database after Deleting Revisions SETTINGS UPDATED"
415
+ msgstr ""
416
+ "Оптимізувати базу даних після видалення попередніх версій НАЛАШТУВАННЯ "
417
+ "ВІДНОВЛЕНО"
418
+
419
+ #: includes/settings-page.php:84
420
+ msgid ""
421
+ "Click <a href=\"tools.php?page=rvg-optimize-database\" class=\"odb-bold"
422
+ "\">HERE</a> to run the optimization"
423
+ msgstr ""
424
+
425
+ #: includes/settings-page.php:120 rvg-optimize-db.php:257
426
+ msgid "Settings"
427
+ msgstr "Налаштування"
428
+
429
+ #: includes/settings-page.php:125
430
+ msgid "Maximum number of - most recent - revisions<br>to keep per post / page"
431
+ msgstr ""
432
+
433
+ #: includes/settings-page.php:129
434
+ msgid "('0' means: delete <u>ALL</u> revisions)"
435
+ msgstr "('0' означає: видалити <u>ВСІ</u> версії)"
436
+
437
+ #: includes/settings-page.php:184
438
+ msgid "run optimization HOURLY"
439
+ msgstr "запустити оптимізацію ПОГОДИННО"
440
+
441
+ #: includes/settings-page.php:187
442
+ msgid "run optimization TWICE A DAY"
443
+ msgstr "Запустити оптимізацію ДВІЧІ НА ДЕНЬ"
444
+
445
+ #: includes/settings-page.php:190
446
+ msgid "run optimization DAILY"
447
+ msgstr "запустити оптимізацію ЩОДНЯ"
448
+
449
+ #: includes/settings-page.php:193
450
+ msgid "run optimization WEEKLY"
451
+ msgstr "запустити оптимізацію ЩОТИЖДНЯ"
452
+
453
+ #: includes/settings-page.php:200
454
+ msgid "Time"
455
+ msgstr "Час"
456
+
457
+ #: includes/settings-page.php:223
458
+ msgid "Show '1-click' link in Admin Bar"
459
+ msgstr "Показати посилання '1-клік' в Панелі Адміністратора"
460
+
461
+ #: includes/settings-page.php:226 includes/settings-page.php:233
462
+ msgid "(change will be visible after loading the next page)"
463
+ msgstr "(зміна буде видима після завантаження наступної сторінки)"
464
+
465
+ #: includes/settings-page.php:230
466
+ msgid "Show an icon in the Admin Menu"
467
+ msgstr "Показати значок в Меню Адміністратора"
468
+
469
+ #: includes/settings-page.php:239
470
+ msgid ""
471
+ "EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class=\"odb-underline-red"
472
+ "\">CHECKED</span> TABLES <span class=\"odb-underline-red\">WON'T</span> BE "
473
+ "OPTIMIZED!</span>"
474
+ msgstr ""
475
+ "ВИКЛЮЧИТИ ТАБЛИЦІ БАЗИ ДАНИХ З ОПТИМІЗАЦІЇ: <span class=\"odb-underline-red"
476
+ "\">ВИДІЛЕНІ</span> ТАБЛИЦІ <span class=\"odb-underline-red\">НЕ БУДУТЬ</"
477
+ "span> ОПТИМІЗОВАНІ!</span>"
478
+
479
+ #: includes/settings-page.php:245
480
+ msgid "check all tables"
481
+ msgstr "ПЕРЕВІРИТИ ВСІ ТАБЛИЦІ"
482
+
483
+ #: includes/settings-page.php:247
484
+ msgid "uncheck all tables"
485
+ msgstr "скасувати виділення всіх таблиць"
486
+
487
+ #: includes/settings-page.php:249
488
+ msgid "check all NON-WordPress tables"
489
+ msgstr "виділити всі НЕ-WordPress таблиці"
490
+
491
+ #: includes/settings-page.php:276
492
+ msgid "Save Settings"
493
+ msgstr "Зберегти налаштування"
494
+
495
+ #: includes/settings-page.php:278
496
+ msgid "Go To Optimizer"
497
+ msgstr "Перейти до Оптимізатора"
498
+
499
+ #: rvg-optimize-db.php:229 rvg-optimize-db.php:230 rvg-optimize-db.php:244
500
+ #: rvg-optimize-db.php:245 rvg-optimize-db.php:286 rvg-optimize-db.php:287
501
+ #: rvg-optimize-db.php:305 rvg-optimize-db.php:306
502
+ msgid "Optimize Database"
503
+ msgstr "Оптимізувати базу даних"
504
+
505
+ #: rvg-optimize-db.php:273
506
+ msgid "Optimize DB (1 click)"
507
+ msgstr "Оптимізувати DB (1 клік)"
508
+
509
+ #: rvg-optimize-db.php:451
510
+ msgid "Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED"
511
+ msgstr ""
512
+
513
+ #~ msgid ""
514
+ #~ "Click <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
515
+ #~ "\">HERE</a> to run the optimization"
516
+ #~ msgstr ""
517
+ #~ "Натисність <a href=\"tools.php?page=rvg-optimize-db.php\" class=\"odb-bold"
518
+ #~ "\">ТУТ</a> для запуска оптимізації"
519
+
520
+ #~ msgid "is an one-click plugin to clean and optimize your WordPress database"
521
+ #~ msgstr ""
522
+ #~ "це плагін в один клік для чистки та оптимізації вашої бази даних WordPress"
523
+
524
+ #~ msgid ""
525
+ #~ "Maximum number of - most recent - revisions<br />to keep per post / page"
526
+ #~ msgstr ""
527
+ #~ "Максимальна кількість - найнедавніших - версій<br />залишених на один "
528
+ #~ "пост/ сторінку"
529
+
530
+ #~ msgid "Optimize your WordPress Database"
531
+ #~ msgstr "Оптимізувати вашу базу даних WordPress"
532
+
533
+ #~ msgid "Plugin version:"
534
+ #~ msgstr "Версія плагіна:"
535
+
536
+ #~ msgid "Author:"
537
+ #~ msgstr "Автор:"
538
+
539
+ #~ msgid "Plugin URL:"
540
+ #~ msgstr "Плагін URL:"
541
+
542
+ #~ msgid "Download URL:"
543
+ #~ msgstr "Завантажити URL:"
readme.txt CHANGED
@@ -7,9 +7,9 @@ Tags: database, delete, revisions, optimize, post, posts, page, pages, clean, cl
7
  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.3.1
11
- Stable tag: 3.5.1
12
- Version: 3.5.1
13
  License: GPLv2 or later
14
 
15
  == Description ==
@@ -86,6 +86,10 @@ 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
  = 3.5.1 [11/01/2015] =
90
  * BUG FIX: Views are skipped from the optimization
91
 
7
  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
11
+ Stable tag: 4.0
12
+ Version: 4.0
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.0 [11/22/2015] =
90
+ * NEW: Total rewrite of the code (OO code)
91
+ * CHANGE: Many changes and bug fixes
92
+
93
  = 3.5.1 [11/01/2015] =
94
  * BUG FIX: Views are skipped from the optimization
95
 
rvg-optimize-database.php ADDED
@@ -0,0 +1,551 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Optimize Database after Deleting Revisions
4
+ * @version 4.0
5
+ */
6
+ /*
7
+ Plugin Name: Optimize Database after Deleting Revisions
8
+ Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/
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.0
13
+ */
14
+
15
+ /********************************************************************************************
16
+ *
17
+ * MAIN CLASS
18
+ *
19
+ ********************************************************************************************/
20
+ // CREATE INSTANCE
21
+ global $odb_class;
22
+ $odb_class = new OptimizeDatabase();
23
+
24
+ class OptimizeDatabase
25
+ {
26
+ // VERSION
27
+ var $odb_version = '4.0';
28
+ var $odb_release_date = '11/22/2015';
29
+
30
+ // PLUGIN OPTIONS
31
+ var $odb_rvg_options = array();
32
+
33
+ // EXCLUDED TABELS
34
+ var $odb_rvg_excluded_tabs = array();
35
+
36
+ // MULTISITE STRUCTURE
37
+ var $odb_ms_prefixes = array();
38
+ var $odb_ms_blogids = array();
39
+
40
+ // DATABASE TABLES
41
+ var $odb_tables = array();
42
+
43
+ // MINIFYING?
44
+ var $odb_minify;
45
+
46
+ // LOCALIZATION
47
+ var $odb_txt_domain = 'rvg-optimize-database';
48
+
49
+ // PLUGIN
50
+ var $odb_plugin_url;
51
+ var $odb_plugin_path;
52
+
53
+ // LOGGING
54
+ var $odb_logfile_url;
55
+ var $odb_logfile_path;
56
+ var $odb_log_arr = array();
57
+
58
+ // OBJECTS
59
+ var $odb_cleaner_obj;
60
+ var $odb_displayer_obj;
61
+ var $odb_logger_obj;
62
+ var $odb_multisite_obj;
63
+ var $odb_scheduler_obj;
64
+ var $odb_utilities_obj;
65
+
66
+ // PAGE TIMER
67
+ var $odb_start_time;
68
+
69
+
70
+ /*******************************************************************************
71
+ * CONSTRUCTOR
72
+ *******************************************************************************/
73
+ function __construct()
74
+ {
75
+ // INITIALIZE PLUGIN
76
+ add_action('init', array(&$this, 'odb_init'));
77
+ } // __construct()
78
+
79
+
80
+ /*******************************************************************************
81
+ * INITIALIZE PLUGIN
82
+ *******************************************************************************/
83
+ function odb_init()
84
+ {
85
+ // LOAD CLASSES
86
+ $this->odb_classes();
87
+
88
+ // URLS AND DIRECTORIES
89
+ $this->odb_urls_dirs();
90
+
91
+ // GET (MULTI-SITE) NETWORK INFORMATION
92
+ $this->odb_multisite_obj->odb_ms_network_info();
93
+
94
+ // LOAD OPTIONS
95
+ $this->odb_load_options();
96
+
97
+ // INITIALIZE WORDPRESS HOOKS
98
+ $this->odb_init_hooks();
99
+
100
+ // GET THE DATABASE TABLES
101
+ $this->odb_tables = $this->odb_utilities_obj->odb_get_tables();
102
+
103
+ // GET EXCLUDED TABLES FROM SETTINGS
104
+ $this->odb_rvg_excluded_tabs = $this->odb_multisite_obj->odb_ms_get_option('odb_rvg_excluded_tabs');
105
+
106
+ // USE THE NON-MINIFIED VERSION OF SCRIPTS AND STYLE SHEETS WHILE DEBUGGING
107
+ $this->odb_minify = (defined('WP_DEBUG') && WP_DEBUG) ? '' : '.min';
108
+
109
+ // LOAD STYLE SHEET (ONLY ON RELEVANT PAGES)
110
+ $this_page = '';
111
+ if(isset($_GET['page'])) $this_page = $_GET['page'];
112
+ if($this_page == 'odb_settings_page' || $this_page == 'rvg-optimize-database')
113
+ { wp_register_style('odb-style'.$this->odb_version, plugins_url('css/style'.$this->odb_minify.'.css', __FILE__));
114
+ wp_enqueue_style('odb-style'.$this->odb_version);
115
+ }
116
+ } // odb_init()
117
+
118
+
119
+ /*******************************************************************************
120
+ * LOAD AND INITIALIZE CLASSES
121
+ *******************************************************************************/
122
+ function odb_classes()
123
+ {
124
+ // LOAD CLASSES
125
+ include_once('classes/odb-cleaner.php');
126
+ include_once('classes/odb-displayer.php');
127
+ include_once('classes/odb-logger.php');
128
+ include_once('classes/odb-multisite.php');
129
+ include_once('classes/odb-scheduler.php');
130
+ include_once('classes/odb-utilities.php');
131
+
132
+ // CREATE INSTANCES
133
+ $this->odb_cleaner_obj = new ODB_Cleaner();
134
+ $this->odb_displayer_obj = new ODB_Displayer();
135
+ $this->odb_logger_obj = new ODB_Logger();
136
+ $this->odb_multisite_obj = new ODB_MultiSite();
137
+ $this->odb_scheduler_obj = new ODB_Scheduler();
138
+ $this->odb_utilities_obj = new ODB_Utilities();
139
+ } // odb_classes()
140
+
141
+
142
+ /*******************************************************************************
143
+ * INITIALIZE URLS AND DIRECTORIES
144
+ *******************************************************************************/
145
+ function odb_urls_dirs()
146
+ {
147
+ $this->odb_plugin_url = plugins_url( '/', __FILE__ );
148
+ $this->odb_plugin_path = plugin_dir_path(__FILE__);
149
+ $this->odb_logfile_url = $this->odb_plugin_url.'logs/rvg-optimize-db-log.html';
150
+ $this->odb_logfile_path = $this->odb_plugin_path.'logs/rvg-optimize-db-log.html';
151
+ $this->odb_logfile_debug_path = $this->odb_plugin_path.'logs/rvg-optimize-db-log.txt';
152
+ } // odb_urls_dirs()
153
+
154
+
155
+ /*******************************************************************************
156
+ * LOAD OPTIONS
157
+ *******************************************************************************/
158
+ function odb_load_options()
159
+ {
160
+ // GET OPTIONS
161
+ $this->odb_rvg_options = $this->odb_multisite_obj->odb_ms_get_option('odb_rvg_options');
162
+
163
+ if(!isset($this->odb_rvg_options['version']))
164
+ // THIS VERSION IS FROM BEFORE 4.0: CONVERT OPTIONS
165
+ $this->odb_convert_options();
166
+
167
+ if(!isset($this->odb_rvg_options['adminbar']))
168
+ $this->odb_rvg_options['adminbar'] = 'N';
169
+ if(!isset($this->odb_rvg_options['adminmenu']))
170
+ $this->odb_rvg_options['adminmenu'] = 'N';
171
+ if(!isset($this->odb_rvg_options['clear_pingbacks']))
172
+ $this->odb_rvg_options['clear_pingbacks'] = 'N';
173
+ if(!isset($this->odb_rvg_options['clear_spam']))
174
+ $this->odb_rvg_options['clear_spam'] = 'N';
175
+ if(!isset($this->odb_rvg_options['clear_tags']))
176
+ $this->odb_rvg_options['clear_tags'] = 'N';
177
+ if(!isset($this->odb_rvg_options['clear_transients']))
178
+ $this->odb_rvg_options['clear_transients'] = 'N';
179
+ if(!isset($this->odb_rvg_options['clear_trash']))
180
+ $this->odb_rvg_options['clear_trash'] = 'N';
181
+ if(!isset($this->odb_rvg_options['last_run']))
182
+ $this->odb_rvg_options['last_run'] = '';
183
+ if(!isset($this->odb_rvg_options['logging_on']))
184
+ $this->odb_rvg_options['logging_on'] = 'N';
185
+ if(!isset($this->odb_rvg_options['nr_of_revisions']))
186
+ $this->odb_rvg_options['nr_of_revisions'] = (int)0;
187
+ if(!isset($this->odb_rvg_options['schedule_type']))
188
+ $this->odb_rvg_options['schedule_type'] = '';
189
+ if(!isset($this->odb_rvg_options['schedule_hour']))
190
+ $this->odb_rvg_options['schedule_hour'] = '';
191
+ if(!isset($this->odb_rvg_options['total_savings']))
192
+ $this->odb_rvg_options['total_savings'] = (int)0;
193
+ if(!isset($this->odb_rvg_options['version']))
194
+ $this->odb_rvg_options['version'] = $this->odb_version;
195
+
196
+ // UPDATE OPTIONS
197
+ $this->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $this->odb_rvg_options);
198
+
199
+ // UPDATE SCHEDULER (IF NEEDED)
200
+ $this->odb_scheduler_obj->odb_update_scheduler();
201
+ } // odb_load_options()
202
+
203
+
204
+ /*******************************************************************************
205
+ * COPY AND DELETE OPTIONS FROM PREVIOUS VERSIONS (BEFORE 4.0)
206
+ *******************************************************************************/
207
+ function odb_convert_options()
208
+ {
209
+ global $wpdb;
210
+
211
+ // STOP OLD SCHEDULER
212
+ wp_clear_scheduled_hook('rvg_optimize_database');
213
+
214
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_total_savings');
215
+ if($setting)
216
+ { $this->odb_rvg_options['total_savings'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_total_savings');
217
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_odb_total_savings');
218
+ }
219
+
220
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_pingbacks');
221
+ if($setting)
222
+ { $this->odb_rvg_options['clear_pingbacks'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_pingbacks');
223
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_clear_pingbacks');
224
+ }
225
+
226
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_spam');
227
+ if($setting)
228
+ { $this->odb_rvg_options['clear_spam'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_spam');
229
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_clear_spam');
230
+ }
231
+
232
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_tags');
233
+ if($setting)
234
+ { $this->odb_rvg_options['clear_tags'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_tags');
235
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_clear_tags');
236
+ }
237
+
238
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_transients');
239
+ if($setting)
240
+ { $this->odb_rvg_options['clear_transients'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_transients');
241
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_clear_transients');
242
+ }
243
+
244
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_trash');
245
+ if($setting)
246
+ { $this->odb_rvg_options['clear_trash'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_clear_trash');
247
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_clear_trash');
248
+ }
249
+
250
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_adminbar');
251
+ if($setting)
252
+ { $this->odb_rvg_options['adminbar'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_adminbar');
253
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_odb_adminbar');
254
+ }
255
+
256
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_adminmenu');
257
+ if($setting)
258
+ { $this->odb_rvg_options['adminmenu'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_adminmenu');
259
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_odb_adminmenu');
260
+ }
261
+
262
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_logging_on');
263
+ if($setting)
264
+ { $this->odb_rvg_options['logging_on'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_logging_on');
265
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_odb_logging_on');
266
+ }
267
+
268
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_number');
269
+ if($setting)
270
+ $this->odb_rvg_options['nr_of_revisions'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_number');
271
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_odb_number');
272
+
273
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_schedule');
274
+ if($setting)
275
+ $this->odb_rvg_options['schedule_type'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_schedule');
276
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_odb_schedule');
277
+
278
+ $setting = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_schedulehour');
279
+ if($setting)
280
+ $this->odb_rvg_options['schedule_hour'] = $this->odb_multisite_obj->odb_ms_get_option('rvg_odb_schedulehour');
281
+ $this->odb_multisite_obj->odb_ms_delete_option('rvg_odb_schedulehour');
282
+
283
+ // COPY EXCLUDED TABLES
284
+ for($i=0; $i<count($this->odb_ms_prefixes); $i++)
285
+ {
286
+ $sql = "
287
+ SELECT `option_name`
288
+ FROM ".$this->odb_ms_prefixes[$i]."options
289
+ WHERE `option_name` LIKE 'rvg_ex_%'
290
+ ";
291
+
292
+ $res = $wpdb->get_results($sql, ARRAY_A);
293
+ for($j=0; $j<count($res); $j++)
294
+ { $option_name = $res[$j]['option_name'];
295
+ $option_name_new = substr($option_name, 7);
296
+ $this->odb_rvg_excluded_tabs[$option_name_new] = 'Y';
297
+ $this->odb_multisite_obj->odb_ms_delete_option($option_name);
298
+ }
299
+ }
300
+
301
+ // UPDATE EXCLUDED TABLES
302
+ $this->odb_multisite_obj->odb_ms_update_option('odb_rvg_excluded_tabs', $this->odb_rvg_excluded_tabs);
303
+ } // odb_convert_options()
304
+
305
+
306
+ /*******************************************************************************
307
+ * INITIALIZE WORDPRESS HOOKS
308
+ *******************************************************************************/
309
+ function odb_init_hooks()
310
+ {
311
+ // ON DE-ACTIVATION
312
+ register_deactivation_hook(__FILE__, array('OptimizeDatabase', 'odb_deactivation_handler'));
313
+
314
+ // ON UN-INSTALLATION
315
+ register_uninstall_hook(__FILE__, array('OptimizeDatabase', 'odb_uninstallation_handler'));
316
+
317
+ // ADD ENTRY TO ADMIN TOOLS MENU
318
+ add_action('admin_menu', array(&$this, 'odb_admin_tools'));
319
+ add_action('admin_menu', array(&$this, 'odb_admin_settings'));
320
+
321
+ // ICON MODE: ADD ICON TO ADMIN MENU
322
+ if ($this->odb_rvg_options['adminmenu'] == "Y")
323
+ { add_action('admin_menu', array(&$this, 'odb_admin_icon'));
324
+ add_action('admin_menu', array(&$this, 'odb_register_options'));
325
+ }
326
+
327
+ // ADD 'SETTINGS' LINK TO THE MAIN PLUGIN PAGE
328
+ add_filter('plugin_action_links_'.plugin_basename(__FILE__), array(&$this, 'odb_settings_link'));
329
+
330
+ // ADD THE '1 CLICK OPTIMIZE DATABASE' ITEM TO THE ADMIN BAR (IF ACTIVATED)
331
+ if($this->odb_rvg_options['adminbar'] == 'Y')
332
+ add_action('wp_before_admin_bar_render', array(&$this, 'odb_admin_bar'));
333
+
334
+ // INITIALIZE LOCALIZATION
335
+ add_action('admin_menu', array(&$this, 'odb_i18n'));
336
+ } // odb_init_hooks()
337
+
338
+
339
+ /*******************************************************************************
340
+ * ADD ENTRY TO THE ADMIN TOOLS MENU
341
+ *******************************************************************************/
342
+ function odb_admin_tools()
343
+ { if (function_exists('add_management_page'))
344
+ { add_management_page(
345
+ __('Optimize Database',$this->odb_txt_domain), // page title
346
+ __('Optimize Database',$this->odb_txt_domain), // menu title
347
+ 'manage_options', // capability
348
+ 'rvg-optimize-database', // menu slug
349
+ array(&$this, 'odb_start_manually')); // function
350
+ } // if (function_exists('add_management_page'))
351
+ } // odb_admin_tools()
352
+
353
+
354
+ /*******************************************************************************
355
+ * ADD ENTRY TO THE ADMIN SETTINGS MENU
356
+ *******************************************************************************/
357
+ function odb_admin_settings()
358
+ { if (function_exists('add_options_page'))
359
+ add_options_page(
360
+ __('Optimize Database', $this->odb_txt_domain), // page title
361
+ __('Optimize Database', $this->odb_txt_domain), // menu title
362
+ 'manage_options', // capability
363
+ 'odb_settings_page', // menu slug
364
+ array(&$this, 'odb_settings_page') // function
365
+ );
366
+ } // odb_admin_settings()
367
+
368
+
369
+ /*******************************************************************************
370
+ * ADD 'SETTINGS' LINK TO THE MAIN PLUGIN PAGE
371
+ *******************************************************************************/
372
+ function odb_settings_link($links)
373
+ { array_unshift($links, '<a href="options-general.php?page=odb_settings_page">'.__('Settings', $this->odb_txt_domain).'</a>');
374
+ return $links;
375
+ } // odb_settings_link()
376
+
377
+
378
+ /********************************************************************************************
379
+ * ADD THE '1 CLICK OPTIMIZE DATABASE' ITEM TO THE ADMIN BAR (IF ACTIVATED)
380
+ ********************************************************************************************/
381
+ function odb_admin_bar()
382
+ { global $wp_admin_bar;
383
+
384
+ if (!is_super_admin() || !is_admin_bar_showing()) return;
385
+
386
+ $siteurl = site_url('/');
387
+ $wp_admin_bar->add_menu(
388
+ array(
389
+ 'id' => 'optimize',
390
+ 'title' => __('Optimize DB (1 click)', $this->odb_txt_domain),
391
+ 'href' => $siteurl.'wp-admin/tools.php?page=rvg-optimize-database&action=run' ));
392
+ } // odb_admin_bar()
393
+
394
+
395
+ /********************************************************************************************
396
+ * 'ICON MODE': ADD A LINK TO THE ADMIN MENU
397
+ ********************************************************************************************/
398
+ function odb_admin_icon()
399
+ {
400
+ if (function_exists('add_menu_page'))
401
+ {
402
+ add_menu_page(
403
+ __('Optimize Database', $this->odb_txt_domain), // page title
404
+ __('Optimize Database', $this->odb_txt_domain), // menu title
405
+ 'administrator', // capability
406
+ 'rvg-optimize-database', // menu slug
407
+ array(&$this, 'odb_start_manually'), // function
408
+ $this->odb_plugin_url.'images/icon.png' // icon url
409
+ );
410
+ }
411
+ } // odb_admin_icon()
412
+
413
+
414
+ /********************************************************************************************
415
+ * 'ICON MODE': REGISTER OPTION PAGE BUT HIDE IT FROM THE ADMIN MENU
416
+ ********************************************************************************************/
417
+ function odb_register_options()
418
+ {
419
+ if (function_exists('add_submenu_page'))
420
+ { add_submenu_page(
421
+ null, // parent slug (NULL is hide from menu)
422
+ __('Optimize Database', $this->odb_txt_domain), // page title
423
+ __('Optimize Database', $this->odb_txt_domain), // menu title
424
+ 'manage_options', // capability
425
+ 'rvg_odb_admin', // menu slug
426
+ array(&$this, 'odb_settings_page') // function
427
+ );
428
+ }
429
+ } // odb_register_options()
430
+
431
+
432
+ /*******************************************************************************
433
+ * LOAD TEXT DOMAIN
434
+ *******************************************************************************/
435
+ function odb_i18n()
436
+ {
437
+ load_plugin_textdomain(
438
+ $this->odb_txt_domain, // domain
439
+ false, // abs rel path
440
+ dirname(plugin_basename( __FILE__ )).'/language/' // plugin rel path
441
+ );
442
+ } // odb_i18n()
443
+
444
+
445
+ /*******************************************************************************
446
+ * PLUGIN DE-ACTIVATION
447
+ *******************************************************************************/
448
+ public static function odb_deactivation_handler()
449
+ { // STOP SCHEDULER
450
+ wp_clear_scheduled_hook('odb_scheduler');
451
+ } // odb_deactivation_handler()
452
+
453
+
454
+ /*******************************************************************************
455
+ * PLUGIN UN-INSTALLATION
456
+ *******************************************************************************/
457
+ public static function odb_uninstallation_handler()
458
+ { // STOP SCHEDULER
459
+ wp_clear_scheduled_hook('odb_scheduler');
460
+
461
+ // DELETE OPTIONS FROM DATABASE
462
+ $this->odb_multisite_obj->odb_ms_delete_option('odb_rvg_excluded_tabs');
463
+ $this->odb_multisite_obj->odb_ms_delete_option('odb_rvg_options');
464
+ } // odb_uninstallation_handler()
465
+
466
+
467
+ /*******************************************************************************
468
+ * LOAD SETTINGS (OPTIONS) PAGE
469
+ *******************************************************************************/
470
+ function odb_settings_page()
471
+ { global $wpdb, $odb_rvg_excluded_tabs, $odb_ms_prefixes;
472
+
473
+ include_once(trailingslashit(dirname(__FILE__)).'/includes/settings-page.php');
474
+ } // odb_settings_page()
475
+
476
+
477
+ /*******************************************************************************
478
+ * START CLEANING / OPTIMIZATION (INITIATED BY THE USER, NOT FROM WP-CRON)
479
+ *******************************************************************************/
480
+ function odb_start_manually()
481
+ {
482
+ $this->odb_start(false);
483
+ } // odb_start_manually()
484
+
485
+
486
+ /*******************************************************************************
487
+ * START CLEANING / OPTIMIZATION (FROM WP-CRON)
488
+ *******************************************************************************/
489
+ function odb_start_scheduler()
490
+ {
491
+ $this->odb_start(true);
492
+ } // odb_start_scheduler()
493
+
494
+
495
+ /*******************************************************************************
496
+ * MAIN METHOD FOR CLEANING / OPTIMIZING
497
+ *******************************************************************************/
498
+ function odb_start($scheduler)
499
+ {
500
+ // PAGE LOAD TIMER
501
+ $time = microtime();
502
+ $time = explode(' ', $time);
503
+ $time = $time[1] + $time[0];
504
+ $this->odb_start_time = $time;
505
+
506
+ $action = '';
507
+ if(isset($_REQUEST['action']))
508
+ { $action = $_REQUEST['action'];
509
+ if($action == "delete_log")
510
+ { // DELETE LOG FILE
511
+ @unlink($this->odb_plugin_path.'logs/rvg-optimize-db-log.html');
512
+
513
+ // UPDATED MESSAGE
514
+ echo "<div class='updated odb-bold'><p>".
515
+ __('Optimize Database after Deleting Revisions LOG FILE HAS BEEN DELETED', $this->odb_txt_domain);
516
+ echo "</p></div>";
517
+ }
518
+ } // if(isset($_REQUEST['action']))
519
+
520
+ if(!$scheduler)
521
+ { // SHOW PAGE HEADER
522
+ $this->odb_displayer_obj->display_header();
523
+ // SHOW CURRENT SETTINGS
524
+ $this->odb_displayer_obj->display_current_settings();
525
+ } // if(!$scheduler)
526
+
527
+ if ($action != 'run' && !$scheduler)
528
+ { /****************************************************************************************
529
+ * START SCREEN (SHOW SETTINGS + BUTTONS)
530
+ ****************************************************************************************/
531
+ $this->odb_displayer_obj->display_start_buttons();
532
+ }
533
+ else
534
+ { /****************************************************************************************
535
+ * RUN CLEANING AND OPTIMIZATION
536
+ ****************************************************************************************/
537
+ // REGISTER THE LAST RUN
538
+ $this->odb_rvg_options['last_run'] = Date('M j, Y @ H:i');
539
+ $this->odb_multisite_obj->odb_ms_update_option('odb_rvg_options', $this->odb_rvg_options);
540
+ // DELETE REDUNDANT DATA
541
+ $this->odb_cleaner_obj->odb_run_cleaner($scheduler);
542
+ // OPTIMIZE DATABASE TABLES
543
+ $this->odb_cleaner_obj->odb_run_optimizer($scheduler);
544
+ // SHOW RESULTS
545
+ $this->odb_cleaner_obj->odb_savings($scheduler);
546
+ // SHOW 'DONE' PARAGRAPH
547
+ if(!$scheduler) $this->odb_cleaner_obj->odb_done();
548
+ } // if($action != 'run')
549
+ } // odb_start()
550
+ } // OptimizeDatabase
551
+ ?>
rvg-optimize-db.php DELETED
@@ -1,2172 +0,0 @@
1
- <?php
2
- /**
3
- * @package Optimize Database after Deleting Revisions
4
- * @version 3.5.1
5
- */
6
- /*
7
- Plugin Name: Optimize Database after Deleting Revisions
8
- Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/
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: 3.5.1
13
- */
14
-
15
- $odb_version = '3.5.1';
16
- $odb_release_date = '11/01/2015';
17
-
18
- // v3.3 - MULTISITE
19
- $odb_ms_prefixes = array();
20
- $odb_ms_blogids = array();
21
-
22
-
23
- /********************************************************************************************
24
- *
25
- * ADD THE LANGUAGE SUPPORT (LOCALIZATION)
26
- *
27
- * Since: v2.9
28
- *
29
- ********************************************************************************************/
30
- function rvg_odb_action_init()
31
- {
32
- // TEXT DOMAIN v3.1.1: language files moved to the '/language' directory
33
- load_plugin_textdomain('rvg-optimize-database', false, dirname(plugin_basename(__FILE__)).'/language');
34
- }
35
- // INIT HOOK
36
- add_action('init', 'rvg_odb_action_init');
37
-
38
-
39
- /********************************************************************************************
40
- *
41
- * ADD THE 'OPTIMIZE DATABASE' ITEM TO THE TOOLS MENU
42
- *
43
- ********************************************************************************************/
44
- function optimize_db_main()
45
- { if (function_exists('add_management_page'))
46
- { add_management_page(
47
- __('Optimize Database','rvg-optimize-database'),
48
- __('Optimize Database','rvg-optimize-database'),
49
- 'administrator',
50
- 'rvg-optimize-db.php',
51
- 'rvg_optimize_db');
52
- }
53
- }
54
- if(rvg_odb_get_option('rvg_odb_adminmenu') != "Y") add_action('admin_menu', 'optimize_db_main');
55
-
56
-
57
- /********************************************************************************************
58
- *
59
- * 'ICON MODE': ADD A LINK TO THE ADMIN MENU
60
- *
61
- * Since: v3.1.1
62
- *
63
- ********************************************************************************************/
64
- function rvg_add_menu_page()
65
- {
66
- if (function_exists('add_menu_page'))
67
- {
68
- add_menu_page(
69
- __('Optimize Database','rvg-optimize-database'),
70
- __('Optimize Database','rvg-optimize-database'),
71
- 'administrator',
72
- 'rvg-optimize-db.php',
73
- 'rvg_optimize_db',
74
- plugins_url('rvg-optimize-database/images/icon.png')
75
- );
76
- }
77
- } // rvg_add_menu_page()
78
- if(rvg_odb_get_option('rvg_odb_adminmenu') == "Y") add_action('admin_menu', 'rvg_add_menu_page');
79
-
80
-
81
- /********************************************************************************************
82
- *
83
- * ADD THE 'OPTIMIZE DB SETTINGS' ITEM TO THE SETTINGS MENU (v3.1.3)
84
- *
85
- ********************************************************************************************/
86
- function rvg_odb_admin_menu()
87
- {
88
- if (function_exists('add_options_page'))
89
- { add_options_page(
90
- __('Optimize Database', 'rvg-optimize-database'),
91
- __('Optimize Database', 'rvg-optimize-database'),
92
- 'manage_options',
93
- 'rvg_odb_admin',
94
- 'rvg_odb_settings_page');
95
- }
96
- } // rvg_odb_admin_menu()
97
- if(rvg_odb_get_option('rvg_odb_adminmenu') != "Y") add_action('admin_menu', 'rvg_odb_admin_menu');
98
-
99
-
100
- /********************************************************************************************
101
- *
102
- * 'ICON MODE': REGISTER OPTION PAGE BUT HIDE IT FROM THE ADMIN MENU (v3.1.3)
103
- *
104
- ********************************************************************************************/
105
- function register_odb_options()
106
- {
107
- if (function_exists('add_submenu_page'))
108
- { add_submenu_page(
109
- null, // HIDE FROM MENU!
110
- __('Optimize Database', 'rvg-optimize-database'),
111
- __('Optimize Database', 'rvg-optimize-database'),
112
- 'manage_options',
113
- 'rvg_odb_admin',
114
- 'rvg_odb_settings_page'
115
- );
116
- }
117
- } // register_odb_options()
118
- if(rvg_odb_get_option('rvg_odb_adminmenu') == "Y") add_action('admin_menu', 'register_odb_options');
119
-
120
-
121
- /********************************************************************************************
122
- *
123
- * SHOW A LINK TO THE PLUGIN SETTINGS ON THE MAIN PLUGINS PAGE
124
- *
125
- * Since: v3.1
126
- *
127
- ********************************************************************************************/
128
- function odb_settings_link($links)
129
- {
130
- array_unshift($links, '<a href="options-general.php?page=rvg_odb_admin">Settings</a>');
131
- return $links;
132
- } // odb_settings_link()
133
- add_filter('plugin_action_links_'.plugin_basename(__FILE__), 'odb_settings_link');
134
-
135
-
136
- /********************************************************************************************
137
- *
138
- * ADD THE '1 CLICK OPTIMIZE DATABASE' ITEM TO THE ADMIN BAR (IF ACTIVATED)
139
- *
140
- ********************************************************************************************/
141
- function rvg_odb_admin_bar()
142
- { global $wp_admin_bar;
143
- if (!is_super_admin() || !is_admin_bar_showing()) return;
144
-
145
- $siteurl = site_url('/');
146
- $wp_admin_bar->add_menu(
147
- array(
148
- 'id' => 'optimize',
149
- 'title' => __('Optimize DB (1 click)','rvg-optimize-database'),
150
- 'href' => $siteurl.'wp-admin/tools.php?page=rvg-optimize-db.php&action=run' ));
151
- } // rvg_odb_admin_bar()
152
- $rvg_odb_adminbar = rvg_odb_get_option('rvg_odb_adminbar');
153
- if($rvg_odb_adminbar == "Y") add_action('wp_before_admin_bar_render', 'rvg_odb_admin_bar');
154
-
155
-
156
- /********************************************************************************************
157
- *
158
- * ACTIONS FOR THE SCHEDULER
159
- *
160
- * http://codex.wordpress.org/Plugin_API/Filter_Reference/cron_schedules
161
- *
162
- ********************************************************************************************/
163
- function rvg_extra_schedules($schedules)
164
- { // ADD A WEEKLY SCHEDULE
165
- $schedules['weekly'] = array(
166
- 'interval' => 604800,
167
- 'display' => __('Once Weekly')
168
- );
169
- return $schedules;
170
- } // rvg_extra_schedules()
171
- add_filter( 'cron_schedules', 'rvg_extra_schedules' );
172
-
173
- add_action( 'rvg_optimize_database', 'rvg_optimize_db_cron' );
174
-
175
- // REMOVE SCHEDULED TASK WHEN DEACTIVATED
176
- register_deactivation_hook( __FILE__, 'rvg_deactivate_plugin' );
177
- function rvg_deactivate_plugin()
178
- { // CLEAR CURRENT SCHEDULE (IF ANY)
179
- wp_clear_scheduled_hook('rvg_optimize_database');
180
- wp_clear_scheduled_hook('rvg_scheduled_run');
181
- } // rvg_deactivate_plugin()
182
-
183
- // RE-SCHEDULE TASK WHEN RE-ACTIVATED (OR AFTER UPDATE)
184
- register_activation_hook( __FILE__, 'rvg_activate_plugin' );
185
- function rvg_activate_plugin()
186
- { $rvg_odb_schedule = rvg_odb_get_option('rvg_odb_schedule');
187
- if($rvg_odb_schedule)
188
- { // PLUGIN RE-ACTIVATED: START SCHEDULER
189
- if( !wp_next_scheduled( 'rvg_optimize_database' ))
190
- wp_schedule_event( time(), $rvg_odb_schedule, 'rvg_optimize_database' );
191
- }
192
- } // rvg_activate_plugin()
193
-
194
- register_uninstall_hook( __FILE__, 'rvg_odb_uninstall');
195
- function rvg_odb_uninstall()
196
- {
197
- global $wpdb, $odb_ms_prefixes;
198
-
199
- $tables = $wpdb->get_results("SHOW FULL TABLES FROM `".DB_NAME."` WHERE table_type = 'BASE TABLE'", ARRAY_N);
200
-
201
- // DELETE ALL POSSIBLY EXCLUDED TABLES FROM THE OPTIONS
202
- for ($i=0; $i<count($tables); $i++) rvg_odb_delete_option('rvg_ex_'.$tables[$i][0].'');
203
-
204
- // DELETE THE OTHER OPTIONS
205
- rvg_odb_delete_option('rvg_clear_pingbacks');
206
- rvg_odb_delete_option('rvg_clear_spam');
207
- rvg_odb_delete_option('rvg_clear_tags');
208
- rvg_odb_delete_option('rvg_clear_transients');
209
- rvg_odb_delete_option('rvg_clear_trash');
210
- rvg_odb_delete_option('rvg_odb_adminbar');
211
- rvg_odb_delete_option('rvg_odb_adminmenu');
212
- rvg_odb_delete_option('rvg_odb_logging_on');
213
- rvg_odb_delete_option('rvg_odb_number');
214
- rvg_odb_delete_option('rvg_odb_schedule');
215
- rvg_odb_delete_option('rvg_odb_schedulehour');
216
- rvg_odb_delete_option('rvg_odb_total_savings');
217
- } // rvg_odb_uninstall()
218
-
219
-
220
- /********************************************************************************************
221
- *
222
- * GET NETWORK INFORMATION (MULTISITE)
223
- *
224
- * Since: v3.3
225
- *
226
- ********************************************************************************************/
227
- function rvg_odb_network_info()
228
- {
229
- global $wpdb, $odb_ms_prefixes, $odb_ms_blogids;
230
-
231
- // v3.2 - GET MULTISITE INFORMATION
232
- $odb_ms_prefixes[0] = $wpdb->base_prefix;
233
- $odb_ms_blogids[0] = 1;
234
- if (function_exists('is_multisite') && is_multisite())
235
- { $odb_blogids = $wpdb->get_col("SELECT blog_id FROM ".$wpdb->base_prefix."blogs");
236
- // FOR INSTANCE: mywp_2_, mywp_3_ etc.
237
- for($i=1; $i<count($odb_blogids); $i++)
238
- { $odb_ms_prefixes[$i] = $wpdb->base_prefix.$odb_blogids[$i].'_';
239
- $odb_ms_blogids[$i] = $odb_blogids[$i];
240
- }
241
- } // if (function_exists('is_multisite') && is_multisite())
242
- } // rvg_odb_network_info()
243
-
244
-
245
- /********************************************************************************************
246
- *
247
- * GET AN OPTION FROM THE ROOT SITE OPTION TABLE
248
- *
249
- * Revision: v3.4.2
250
- *
251
- ********************************************************************************************/
252
- function rvg_odb_get_option($option, $default = false)
253
- {
254
- if(is_multisite() &&
255
- function_exists('is_plugin_active_for_network') &&
256
- is_plugin_active_for_network('rvg-optimize-db/rvg-optimize-db.php'))
257
- {
258
- return get_site_option($option, $default);
259
- } else
260
- {
261
- return get_option($option, $default);
262
- }
263
- } // rvg_odb_get_option()
264
-
265
-
266
- /********************************************************************************************
267
- *
268
- * SAVE AN OPTION TO THE ROOT SITE OPTION TABLE
269
- *
270
- * Revision: v3.4.2
271
- *
272
- ********************************************************************************************/
273
- function rvg_odb_update_option($option, $value)
274
- {
275
- if(is_multisite() &&
276
- function_exists('is_plugin_active_for_network') &&
277
- is_plugin_active_for_network('rvg-optimize-db/rvg-optimize-db.php'))
278
- {
279
- return update_site_option( $option, $value);
280
- } else
281
- {
282
- return update_option( $option, $value);
283
- }
284
- } // rvg_odb_update_option()
285
-
286
-
287
- /********************************************************************************************
288
- *
289
- * DELETE AN OPTION TO THE ROOT SITE OPTION TABLE
290
- *
291
- * Since: v3.4.2
292
- *
293
- ********************************************************************************************/
294
- function rvg_odb_delete_option($option)
295
- {
296
- if(is_multisite() && function_exists('is_plugin_active_for_network') &&
297
- is_plugin_active_for_network('rvg-optimize-db/rvg-optimize-db.php'))
298
- {
299
- return delete_site_option($option);
300
- } else
301
- {
302
- return delete_option($option);
303
- }
304
- } // rvg_odb_delete_option()
305
-
306
-
307
- /********************************************************************************************
308
- *
309
- * CREATE THE SETTINGS PAGE
310
- *
311
- ********************************************************************************************/
312
- function rvg_odb_settings_page()
313
- {
314
- global $odb_version, $odb_release_date, $wpdb, $table_prefix, $odb_ms_prefixes;
315
-
316
- // v3.5.1 - SKIP VIEWS
317
- $tables = $wpdb->get_results("SHOW FULL TABLES FROM `".DB_NAME."` WHERE table_type = 'BASE TABLE'", ARRAY_N);
318
-
319
- // v3.3 - GET NETWORK INFORMATION (MULTISITE)
320
- rvg_odb_network_info();
321
-
322
- // v3.3 - GET THE OPTIONS FROM THE TABLES OF THE MAIN SITE (IN CASE OF MULTISITE)
323
- $current_datetime = Date('YmdHis');
324
- $current_date = substr($current_datetime, 0, 8);
325
- $current_hour = substr($current_datetime, 8, 2);
326
-
327
- if(isset($_REQUEST['delete_log']))
328
- if($_REQUEST['delete_log'] == "Y") @unlink(dirname(__FILE__).'/rvg-optimize-db-log.html');
329
-
330
- // SAVE THE SETTINGS
331
- if (isset($_POST['info_update']))
332
- {
333
- // v2.8.3
334
- check_admin_referer('odb_action', 'odb_nonce');
335
-
336
- // DELETE ALL EXCLUDED TABLES
337
- for ($i=0; $i<count($tables); $i++)
338
- rvg_odb_delete_option('rvg_ex_'.$tables[$i][0].'');
339
-
340
- // ADD EXCLUDED TABLES
341
- foreach ($_POST as $key => $value)
342
- { if(substr($key,0,3) == 'cb_')
343
- rvg_odb_update_option('rvg_ex_'.substr($key,3).'', 'excluded');
344
- }
345
-
346
- if(isset($_POST['rvg_odb_number']))
347
- { $rvg_odb_number = trim($_POST['rvg_odb_number']);
348
- rvg_odb_update_option('rvg_odb_number', $rvg_odb_number);
349
- }
350
-
351
- $rvg_clear_trash = 'N';
352
- if(isset($_POST['rvg_clear_trash']))
353
- $rvg_clear_trash = $_POST['rvg_clear_trash'];
354
- rvg_odb_update_option('rvg_clear_trash', $rvg_clear_trash);
355
-
356
- $rvg_clear_spam = 'N';
357
- if(isset($_POST['rvg_clear_spam']))
358
- $rvg_clear_spam = $_POST['rvg_clear_spam'];
359
- rvg_odb_update_option('rvg_clear_spam', $rvg_clear_spam);
360
-
361
- $rvg_clear_tags = 'N';
362
- if(isset($_POST['rvg_clear_tags']))
363
- $rvg_clear_tags = $_POST['rvg_clear_tags'];
364
- rvg_odb_update_option('rvg_clear_tags', $rvg_clear_tags);
365
-
366
- $rvg_clear_transients = 'N';
367
- if(isset($_POST['rvg_clear_transients']))
368
- $rvg_clear_transients = $_POST['rvg_clear_transients'];
369
- rvg_odb_update_option('rvg_clear_transients', $rvg_clear_transients);
370
-
371
- // v3.1
372
- $rvg_clear_pingbacks = 'N';
373
- if(isset($_POST['rvg_clear_pingbacks']))
374
- $rvg_clear_pingbacks = $_POST['rvg_clear_pingbacks'];
375
- rvg_odb_update_option('rvg_clear_pingbacks', $rvg_clear_pingbacks);
376
-
377
- $rvg_odb_adminbar = 'N';
378
- if(isset($_POST['rvg_odb_adminbar']))
379
- $rvg_odb_adminbar = $_POST['rvg_odb_adminbar'];
380
- rvg_odb_update_option('rvg_odb_adminbar', $rvg_odb_adminbar);
381
-
382
- // v3.1.3
383
- $rvg_odb_adminmenu = 'N';
384
- if(isset($_POST['rvg_odb_adminmenu']))
385
- $rvg_odb_adminmenu = $_POST['rvg_odb_adminmenu'];
386
- rvg_odb_update_option('rvg_odb_adminmenu', $rvg_odb_adminmenu);
387
-
388
- $rvg_odb_logging_on = 'N';
389
- if(isset($_POST['rvg_odb_logging_on']))
390
- $rvg_odb_logging_on = $_POST['rvg_odb_logging_on'];
391
- rvg_odb_update_option('rvg_odb_logging_on', $rvg_odb_logging_on);
392
-
393
- $rvg_odb_schedule = '';
394
- if(isset($_POST['rvg_odb_schedule']))
395
- $rvg_odb_schedule = $_POST['rvg_odb_schedule'];
396
- rvg_odb_update_option('rvg_odb_schedule', $rvg_odb_schedule);
397
-
398
- $rvg_odb_schedulehour = '';
399
- // v3.3.1
400
- if($rvg_odb_schedule == 'daily' || $rvg_odb_schedule == 'weekly')
401
- {
402
- if(isset($_POST['rvg_odb_schedulehour']))
403
- $rvg_odb_schedulehour = $_POST['rvg_odb_schedulehour'];
404
- rvg_odb_update_option('rvg_odb_schedulehour', $rvg_odb_schedulehour);
405
- }
406
- else
407
- // WIPE THE HOUR
408
- rvg_odb_update_option('rvg_odb_schedulehour', '');
409
-
410
- // CLEAR CURRENT SCHEDULE (IF ANY)
411
- wp_clear_scheduled_hook('rvg_optimize_database');
412
-
413
- // HAS TO BE SCHEDULED
414
- if($rvg_odb_schedule != '')
415
- if( !wp_next_scheduled( 'rvg_optimize_database' ))
416
- {
417
- $time = 0;
418
- if($rvg_odb_schedulehour == '')
419
- // 'hourly', 'twicedaily'
420
- $time = time();
421
- else
422
- {
423
- // 'daily', 'weekly'
424
- if($rvg_odb_schedulehour <= $current_hour)
425
- // NEXT RUN TOMORROW
426
- $newdatetime = date('YmdHis', strtotime($current_date.$rvg_odb_schedulehour.'0000'.' + 1 day'));
427
- else
428
- // NEXT RUN TODAY
429
- $newdatetime = $current_date.$rvg_odb_schedulehour.'0000';
430
- // DATE TO UNIX TIMESTAMP (EPOCH)
431
- $time = strtotime($newdatetime);
432
- }
433
- // SCHEDULE THE EVENT
434
- wp_schedule_event( $time, $rvg_odb_schedule, 'rvg_optimize_database' );
435
- }
436
-
437
- // UPDATED MESSAGE
438
- echo "<div class='updated odb-bold'><p>".
439
- __('Optimize Database after Deleting Revisions SETTINGS UPDATED','rvg-optimize-database').
440
- " - ";
441
- _e('Click <a href="tools.php?page=rvg-optimize-db.php" class="odb-bold">HERE</a> to run the optimization','rvg-optimize-database');
442
- echo "</p></div>";
443
- } // if (isset($_POST['info_update']))
444
-
445
- $rvg_odb_number = rvg_odb_get_option('rvg_odb_number');
446
- if(!$rvg_odb_number) $rvg_odb_number = '0';
447
-
448
- $rvg_clear_trash = rvg_odb_get_option('rvg_clear_trash');
449
- if(!$rvg_clear_trash) $rvg_clear_trash = 'N';
450
-
451
- $rvg_clear_spam = rvg_odb_get_option('rvg_clear_spam');
452
- if(!$rvg_clear_spam) $rvg_clear_spam = 'N';
453
-
454
- $rvg_clear_tags = rvg_odb_get_option('rvg_clear_tags');
455
- if(!$rvg_clear_tags) $rvg_clear_tags = 'N';
456
-
457
- $rvg_clear_transients = rvg_odb_get_option('rvg_clear_transients');
458
- if(!$rvg_clear_transients) $rvg_clear_transients = 'N';
459
-
460
- // v3.1
461
- $rvg_clear_pingbacks = rvg_odb_get_option('rvg_clear_pingbacks');
462
- if(!$rvg_clear_pingbacks) $rvg_clear_pingbacks = 'N';
463
-
464
- $rvg_odb_logging_on = rvg_odb_get_option('rvg_odb_logging_on');
465
- if(!$rvg_odb_logging_on) $rvg_odb_logging_on = 'N';
466
-
467
- $rvg_odb_schedule = rvg_odb_get_option('rvg_odb_schedule');
468
- if(!$rvg_odb_schedule) $rvg_odb_schedule = '';
469
-
470
- $rvg_odb_schedulehour = rvg_odb_get_option('rvg_odb_schedulehour');
471
-
472
- $rvg_odb_adminbar = rvg_odb_get_option('rvg_odb_adminbar');
473
- if(!$rvg_odb_adminbar) $rvg_odb_adminbar = 'N';
474
-
475
- $rvg_odb_adminmenu = rvg_odb_get_option('rvg_odb_adminmenu');
476
- if(!$rvg_odb_adminmenu) $rvg_odb_adminmenu = 'N';
477
-
478
- ?>
479
- <?php /*?>v3.5<?php */?>
480
- <link rel="stylesheet" type="text/css" media="all" href="<?php echo plugin_dir_url(__FILE__).'css/style.css'?>" />
481
- <script type="text/javascript">
482
- function schedule_changed()
483
- { // v3.1.4
484
- if(jQuery("#rvg_odb_schedule").val() == 'daily' || jQuery("#rvg_odb_schedule").val() == 'weekly')
485
- jQuery("#schedulehour").show();
486
- else
487
- jQuery("#schedulehour").hide();
488
- }
489
- </script>
490
- <?php
491
- if($rvg_odb_adminbar == 'Y') $rvg_odb_adminbar_checked = ' checked="checked"'; else $rvg_odb_adminbar_checked = '';
492
- if($rvg_odb_adminmenu == 'Y') $rvg_odb_adminmenu_checked = ' checked="checked"'; else $rvg_odb_adminmenu_checked = '';
493
- if($rvg_clear_trash == 'Y') $rvg_clear_trash_checked = ' checked="checked"'; else $rvg_clear_trash_checked = '';
494
- if($rvg_clear_spam == 'Y') $rvg_clear_spam_checked = ' checked="checked"'; else $rvg_clear_spam_checked = '';
495
- if($rvg_clear_tags == 'Y') $rvg_clear_tags_checked = ' checked="checked"'; else $rvg_clear_tags_checked = '';
496
- if($rvg_clear_transients == 'Y') $rvg_clear_transients_checked = ' checked="checked"'; else $rvg_clear_transients_checked = '';
497
- // v3.1
498
- if($rvg_clear_pingbacks == 'Y') $rvg_clear_pingbacks_checked = ' checked="checked"'; else $rvg_clear_pingbacks_checked = '';
499
- if($rvg_odb_logging_on == 'Y') $rvg_odb_logging_on_checked = ' checked="checked"'; else $rvg_odb_logging_on_checked = '';
500
- ?>
501
- <div id="odb-options-form">
502
- <form name="options" method="post" action="">
503
- <?php // v2.8.3 ?>
504
- <?php wp_nonce_field( 'odb_action','odb_nonce' ); ?>
505
- <div id="odb-options-wrap">
506
- <div id="odb-options-opening">
507
- <div class="odb-title-bar">
508
- <h2>
509
- <?php _e('Optimize Database after Deleting Revisions','rvg-optimize-database');?>
510
- </h2>
511
- </div>
512
- <p class="odb-bold">'<span class="odb-italic">Optimize Database after Deleting Revisions</span> '
513
- <?php _e('is an one-click plugin to clean and optimize your WordPress database','rvg-optimize-database');?>
514
- </p>
515
- <span class="odb-bold">
516
- <?php _e( 'Plugin version', 'rvg-optimize-database' ); ?>: v<?php echo $odb_version?> [<?php echo $odb_release_date?>] - <a href="http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/" target="_blank">
517
- <?php _e( 'Plugin page', 'rvg-optimize-database' ); ?></a> - <a href="http://wordpress.org/plugins/rvg-optimize-database/" target="_blank">
518
- <?php _e( 'Download page', 'rvg-optimize-database' ); ?></a> - <a href="http://rvg.cage.nl/" target="_blank">
519
- <?php _e( 'Author', 'rvg-optimize-database' ); ?></a> - <a href="http://cagewebdev.com/" target="_blank">
520
- <?php _e( 'Company', 'rvg-optimize-database' ); ?></a> - <a href="http://cagewebdev.com/index.php/donations-odb/" target="_blank">
521
- <?php _e( 'Donation page', 'rvg-optimize-database' ); ?></a><br />
522
- </span>
523
- </div>
524
- <div id="odb-options-settings">
525
- <div class="odb-title-bar">
526
- <h2>
527
- <?php _e('Settings','rvg-optimize-database');?>
528
- </h2>
529
- </div>
530
- <br />
531
- <br />
532
- <table border="0" cellspacing="2" cellpadding="5" class="editform" align="center">
533
- <tr>
534
- <td width="50%" align="right" valign="top"><span class="odb-bold">
535
- <?php _e('Maximum number of - most recent - revisions<br />to keep per post / page','rvg-optimize-database');?>
536
- </span></td>
537
- <td width="50%" valign="top"><input type="text" size="5" name="rvg_odb_number" id="rvg_odb_number" value="<?php echo $rvg_odb_number?>" class="odb-bold odb-blue" />
538
- &nbsp;
539
- <?php _e('(\'0\' means: delete <u>ALL</u> revisions)','rvg-optimize-database');?></td>
540
- </tr>
541
- <tr>
542
- <td width="50%" align="right" valign="top"><span class="odb-bold">
543
- <?php _e('Delete trashed items','rvg-optimize-database');?>
544
- </span></td>
545
- <td width="50%" valign="top"><input name="rvg_clear_trash" type="checkbox" value="Y" <?php echo $rvg_clear_trash_checked?> /></td>
546
- </tr>
547
- <tr>
548
- <td width="50%" align="right" valign="top"><span class="odb-bold">
549
- <?php _e('Delete spammed items','rvg-optimize-database');?>
550
- </span></td>
551
- <td width="50%" valign="top"><input name="rvg_clear_spam" type="checkbox" value="Y" <?php echo $rvg_clear_spam_checked?> /></td>
552
- </tr>
553
- <tr>
554
- <td width="50%" align="right" valign="top"><span class="odb-bold">
555
- <?php _e('Delete unused tags','rvg-optimize-database');?>
556
- </span></td>
557
- <td width="50%" valign="top"><input name="rvg_clear_tags" type="checkbox" value="Y" <?php echo $rvg_clear_tags_checked?> /></td>
558
- </tr>
559
- <tr>
560
- <td width="50%" align="right" valign="top"><span class="odb-bold">
561
- <?php _e('Delete expired transients','rvg-optimize-database');?>
562
- </span></td>
563
- <td width="50%" valign="top"><input name="rvg_clear_transients" type="checkbox" value="Y" <?php echo $rvg_clear_transients_checked?> /></td>
564
- </tr>
565
- <tr>
566
- <td width="50%" align="right" valign="top"><span class="odb-bold">
567
- <?php _e('Delete pingbacks and trackbacks','rvg-optimize-database');?>
568
- </span></td>
569
- <td width="50%" valign="top"><input name="rvg_clear_pingbacks" type="checkbox" value="Y" <?php echo $rvg_clear_pingbacks_checked?> /></td>
570
- </tr>
571
- <tr>
572
- <td width="50%" align="right" valign="top"><span class="odb-bold">
573
- <?php _e('Keep a log','rvg-optimize-database');?>
574
- </span></td>
575
- <td width="50%" valign="top"><input name="rvg_odb_logging_on" type="checkbox" value="Y" <?php echo $rvg_odb_logging_on_checked?> /></td>
576
- </tr>
577
- <tr>
578
- <td width="50%" align="right"><span class="odb-bold">
579
- <?php _e('Scheduler','rvg-optimize-database');?>
580
- </span></td>
581
- <td width="50%"><select name="rvg_odb_schedule" id="rvg_odb_schedule" class="odb-schedule-select" onchange="schedule_changed();">
582
- <option selected="selected" value="">
583
- <?php _e('NOT SCHEDULED','rvg-optimize-database');?>
584
- </option>
585
- <option value="hourly">
586
- <?php _e('run optimization HOURLY','rvg-optimize-database');?>
587
- </option>
588
- <option value="twicedaily">
589
- <?php _e('run optimization TWICE A DAY','rvg-optimize-database');?>
590
- </option>
591
- <option value="daily">
592
- <?php _e('run optimization DAILY','rvg-optimize-database');?>
593
- </option>
594
- <option value="weekly">
595
- <?php _e('run optimization WEEKLY','rvg-optimize-database');?>
596
- </option>
597
- <?php /*?><option value="test">run optimization TEST</option><?php */?>
598
- </select>
599
- <script type="text/javascript">
600
- jQuery("#rvg_odb_schedule").val('<?php echo $rvg_odb_schedule; ?>');
601
- </script>
602
- <span id="schedulehour" class="odb-schedulehour"> <span class="odb-bold">
603
- <?php _e('Time','rvg-optimize-database');?>
604
- </span>
605
- <select name="rvg_odb_schedulehour" id="rvg_odb_schedulehour" class="odb-schedulehour-select">
606
- <?php
607
- for($i=0; $i<=23; $i++)
608
- { if($i<10) $i = '0'.$i;
609
- ?>
610
- <option value="<?php echo $i?>"><?php echo $i.':00 '.__('hrs','rvg-optimize-database')?></option>
611
- <?php
612
- }
613
- ?>
614
- </select>
615
- <script type="text/javascript">
616
- jQuery("#rvg_odb_schedulehour").val('<?php echo $rvg_odb_schedulehour; ?>');
617
- </script>
618
- </span>
619
- <script type="text/javascript">schedule_changed();</script></td>
620
- </tr>
621
- <tr>
622
- <td align="right" valign="top"><span class="odb-bold">
623
- <?php _e('Show \'1-click\' link in Admin Bar','rvg-optimize-database');?>
624
- </span></td>
625
- <td valign="top"><input name="rvg_odb_adminbar" type="checkbox" value="Y" <?php echo $rvg_odb_adminbar_checked?> />
626
- <?php _e('(change will be visible after loading the next page)','rvg-optimize-database');?></td>
627
- </tr>
628
- <tr>
629
- <td align="right" valign="top"><span class="odb-bold">
630
- <?php _e('Show an icon in the Admin Menu','rvg-optimize-database');?>
631
- </span></td>
632
- <td valign="top"><input name="rvg_odb_adminmenu" type="checkbox" value="Y" <?php echo $rvg_odb_adminmenu_checked?> />
633
- <?php _e('(change will be visible after loading the next page)','rvg-optimize-database');?></td>
634
- </tr>
635
- </table>
636
- <br />
637
- <div align="center"> <span class="odb-bold">
638
- <?php _e('EXCLUDE DATABASE TABLES FROM OPTIMIZATION: <span class="odb-underline-red">CHECKED</span> TABLES <span class="odb-underline-red">WON\'T</span> BE OPTIMIZED!</span>','rvg-optimize-database');?>
639
- <br />
640
- <a href="javascript:;" onclick="jQuery('[id^=cb_]').attr('checked',true);">
641
- <?php _e('check all tables','rvg-optimize-database');?>
642
- </a> | <a href="javascript:;" onclick="jQuery('[id^=cb_]').attr('checked',false);">
643
- <?php _e('uncheck all tables','rvg-optimize-database');?>
644
- </a> | <a href="javascript:;" onclick="jQuery(':not([id^=cb_<?php echo $odb_ms_prefixes[0]; ?>])').filter('[id^=cb_]').attr('checked',true);">
645
- <?php _e('check all NON-WordPress tables','rvg-optimize-database');?>
646
- </a></span>
647
- <div id="odb-options-tables-container">
648
- <div id="odb-options-tables-wrapper">
649
- <?php
650
- for ($i=0; $i<count($tables); $i++)
651
- { $class = '';
652
- // WORDPRESS TABLE? v3.3 (MULTISITE)
653
- for($j=0; $j<count($odb_ms_prefixes); $j++)
654
- if(substr($tables[$i][0], 0, strlen($odb_ms_prefixes[$j])) == $odb_ms_prefixes[$j]) $class = ' odb-wp-table';
655
- $cb_checked = '';
656
- $excluded = rvg_odb_get_option('rvg_ex_'.$tables[$i][0].'');
657
- if($excluded == 'excluded') $cb_checked = ' checked';
658
- ?>
659
- <div class="odb-options-table<?php echo $class;?>" title="<?php echo $tables[$i][0];?>">
660
- <input id="cb_<?php echo $tables[$i][0];?>" name="cb_<?php echo $tables[$i][0];?>" type="checkbox" value="1"<?php echo $cb_checked; ?> />
661
- <?php echo $tables[$i][0];?></span></div>
662
- <?php
663
- }
664
- ?>
665
- </div>
666
- <!-- odb-options-tables-wrapper -->
667
- <div align="center">
668
- <p>
669
- <input class="button-primary button-large" type='submit' name='info_update' value='<?php _e('Save Settings','rvg-optimize-database');?>' class="odb-bold" />
670
- &nbsp;
671
- <input class="button odb-normal" type="button" name="optimizer" value="<?php _e('Go To Optimizer','rvg-optimize-database');?>" onclick="self.location='tools.php?page=rvg-optimize-db.php'" />
672
- </p>
673
- </div>
674
- <!-- odb-options-buttons -->
675
- </div>
676
- <!-- odb-options-tables-container -->
677
- </div>
678
- <!-- center -->
679
- </div>
680
- <!-- odb-options-settings -->
681
- </div>
682
- <!-- odb-options-wrap -->
683
- </form>
684
- </div>
685
- <!-- odb-options-form -->
686
- <?php
687
- } // rvg_odb_settings_page()
688
-
689
-
690
- /********************************************************************************************
691
- *
692
- * MAIN FUNCTION
693
- * FOR DELETING UNWANTED ITEMS AND OPTIMIZING DATABASE TABLES
694
- *
695
- ********************************************************************************************/
696
- function rvg_optimize_db()
697
- {
698
- global $wpdb, $odb_version, $odb_release_date, $odb_ms_prefixes;
699
-
700
- // v3.3 - GET NETWORK INFORMATION (MULTISITE)
701
- rvg_odb_network_info();
702
-
703
- // PAGE LOAD COUNTER
704
- $time = microtime();
705
- $time = explode(' ', $time);
706
- $time = $time[1] + $time[0];
707
- $odb_start_time = $time;
708
-
709
- $current_hour = Date('H:i');
710
-
711
- if(isset($_REQUEST['action']))
712
- if($_REQUEST['action'] == "delete_log")
713
- @unlink(dirname(__FILE__).'/rvg-optimize-db-log.html');
714
-
715
- /****************************************************************************************
716
- *
717
- * DELETE UNWANTED ITEMS
718
- *
719
- ****************************************************************************************/
720
-
721
- // GET SETTINGS AND SET DEFAULT VALUES
722
- $max_revisions = rvg_odb_get_option('rvg_odb_number');
723
- if(!$max_revisions)
724
- { $max_revisions = 0;
725
- rvg_odb_update_option('rvg_odb_number', $max_revisions);
726
- }
727
-
728
- $clear_trash = rvg_odb_get_option('rvg_clear_trash');
729
- if(!$clear_trash)
730
- { $clear_trash = 'N';
731
- rvg_odb_update_option('rvg_clear_trash', $clear_trash);
732
- }
733
- $clear_trash_yn = ($clear_trash == 'N') ? __('NO','rvg-optimize-database') : __('YES','rvg-optimize-database');
734
-
735
- $clear_spam = rvg_odb_get_option('rvg_clear_spam');
736
- if(!$clear_spam)
737
- { $clear_spam = 'N';
738
- rvg_odb_update_option('rvg_clear_spam', $clear_spam);
739
- }
740
- $clear_spam_yn = ($clear_spam == 'N') ? __('NO','rvg-optimize-database') : __('YES','rvg-optimize-database');
741
-
742
- $clear_tags = rvg_odb_get_option('rvg_clear_tags');
743
- if(!$clear_tags)
744
- { $clear_tags = 'N';
745
- rvg_odb_update_option('rvg_clear_tags', $clear_tags);
746
- }
747
- $clear_tags_yn = ($clear_tags == 'N') ? __('NO','rvg-optimize-database') : __('YES','rvg-optimize-database');
748
-
749
- $clear_transients = rvg_odb_get_option('rvg_clear_transients');
750
- if(!$clear_transients)
751
- { $clear_transients = 'N';
752
- rvg_odb_update_option('rvg_clear_transients', $clear_transients);
753
- }
754
- $clear_transients_yn = ($clear_transients == 'N') ? __('NO','rvg-optimize-database') : __('YES','rvg-optimize-database');
755
-
756
- // v3.1
757
- $clear_pingbacks = rvg_odb_get_option('rvg_clear_pingbacks');
758
- if(!$clear_pingbacks)
759
- { $clear_pingbacks = 'N';
760
- rvg_odb_update_option('rvg_clear_pingbacks', $clear_pingbacks);
761
- }
762
- $clear_pingbacks_yn = ($clear_pingbacks == 'N') ? __('NO','rvg-optimize-database') : __('YES','rvg-optimize-database');
763
-
764
- $rvg_odb_logging_on = rvg_odb_get_option('rvg_odb_logging_on');
765
- if(!$rvg_odb_logging_on)
766
- { $rvg_odb_logging_on = 'N';
767
- rvg_odb_update_option('rvg_odb_logging_on', $rvg_odb_logging_on);
768
- }
769
- $rvg_odb_logging_on_yn = ($rvg_odb_logging_on == 'N') ? __('NO','rvg-optimize-database') : __('YES','rvg-optimize-database');
770
-
771
- $rvg_odb_schedule = rvg_odb_get_option('rvg_odb_schedule');
772
- if(!$rvg_odb_schedule)
773
- { $rvg_odb_schedule = '';
774
- rvg_odb_update_option('rvg_odb_schedule', $rvg_odb_schedule);
775
- }
776
-
777
- if($rvg_odb_schedule == 'hourly')
778
- $rvg_odb_schedule_txt = __('ONCE HOURLY','rvg-optimize-database');
779
- else if($rvg_odb_schedule == 'twicedaily')
780
- $rvg_odb_schedule_txt = __('TWICE DAILY','rvg-optimize-database');
781
- else if($rvg_odb_schedule == 'daily')
782
- $rvg_odb_schedule_txt = __('ONCE DAILY','rvg-optimize-database');
783
- else if($rvg_odb_schedule == 'weekly')
784
- $rvg_odb_schedule_txt = __('ONCE WEEKLY','rvg-optimize-database');
785
- else if($rvg_odb_schedule == 'test')
786
- $rvg_odb_schedule_txt = 'TEST';
787
-
788
- $nextrun = '';
789
- if(!isset($rvg_odb_schedule_txt))
790
- { $rvg_odb_schedule_txt = __('NOT SCHEDULED','rvg-optimize-database');
791
- }
792
- else
793
- { $timestamp = wp_next_scheduled('rvg_optimize_database');
794
- $nextrun = Date('M j, Y @ H:i', $timestamp);
795
- }
796
-
797
- $total_savings = rvg_odb_get_option('rvg_odb_total_savings');
798
-
799
- $log_url = plugins_url().'/rvg-optimize-database/rvg-optimize-db-log.html';
800
-
801
- $sql = "
802
- SELECT COUNT(*) cnt
803
- FROM $wpdb->options
804
- WHERE option_name LIKE 'rvg_ex_%'
805
- ";
806
- $results = $wpdb->get_results($sql);
807
- $number_excluded = $results[0]->cnt;
808
- ?>
809
- <?php /*?>v3.5<?php */?>
810
- <link rel="stylesheet" type="text/css" media="all" href="<?php echo plugin_dir_url(__FILE__).'css/style.css'?>" />
811
- <div class="odb-padding-left">
812
- <div class="odb-title-bar">
813
- <h2>
814
- <?php _e('Optimize your WordPress Database','rvg-optimize-database');?>
815
- </h2>
816
- </div>
817
- <?php
818
- if(isset($_REQUEST['action']))
819
- if($_REQUEST['action'] == "delete_log")
820
- echo '<div class="updated odb-updated"><p><span class="odb-bold">Optimize Database after Deleting Revisions - LOG FILE DELETED</span></p></div>';
821
- ?>
822
- <p>
823
- <span class="odb-bold">
824
- <?php _e( 'Plugin version', 'rvg-optimize-database' ); ?>: v<?php echo $odb_version?> [<?php echo $odb_release_date?>] - <a href="http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/" target="_blank">
825
- <?php _e( 'Plugin page', 'rvg-optimize-database' ); ?></a> - <a href="http://wordpress.org/plugins/rvg-optimize-database/" target="_blank">
826
- <?php _e( 'Download page', 'rvg-optimize-database' ); ?></a> - <a href="http://rvg.cage.nl/" target="_blank">
827
- <?php _e( 'Author', 'rvg-optimize-database' ); ?></a> - <a href="http://cagewebdev.com/" target="_blank">
828
- <?php _e( 'Company', 'rvg-optimize-database' ); ?></a> - <a href="http://cagewebdev.com/index.php/donations-odb/" target="_blank">
829
- <?php _e( 'Donation page', 'rvg-optimize-database' ); ?></a><br />
830
- </span>
831
- </p>
832
- <p>
833
- <?php _e('Current settings','rvg-optimize-database');?>:<br />
834
- <span class="odb-bold">
835
- <?php _e('Maximum number of - most recent - revisions to keep per post / page','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $max_revisions?></span><br />
836
- <span class="odb-bold">
837
- <?php _e('Delete trashed items','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $clear_trash_yn?></span><br />
838
- <span class="odb-bold">
839
- <?php _e('Delete spammed items','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $clear_spam_yn?></span><br />
840
- <span class="odb-bold">
841
- <?php _e('Delete unused tags','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $clear_tags_yn?></span><br />
842
- <span class="odb-bold">
843
- <?php _e('Delete expired transients','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $clear_transients_yn?></span><br />
844
- <span class="odb-bold">
845
- <?php _e('Delete pingbacks and trackbacks','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $clear_pingbacks_yn?></span><br />
846
- <span class="odb-bold">
847
- <?php _e('Keep a log','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $rvg_odb_logging_on_yn?></span><br />
848
- <span class="odb-bold">
849
- <?php _e('Number of excluded tables','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $number_excluded?></span><br />
850
- <span class="odb-bold">
851
- <?php _e('Scheduler','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $rvg_odb_schedule_txt?></span>
852
- <?php
853
- if($nextrun)
854
- {
855
- ?>
856
- <br />
857
- <span class="odb-bold">
858
- <?php _e('Next scheduled run','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo $nextrun?> hrs (current server time: <?php echo $current_hour?>)</span>
859
- <?php
860
- }
861
- if($total_savings)
862
- {
863
- ?>
864
- <br />
865
- <span class="odb-bold">
866
- <?php _e('Total savings since the first run','rvg-optimize-database');?>:</span> <span class="odb-bold odb-blue"><?php echo rvg_format_size($total_savings); ?></span>
867
- <?php
868
- }
869
- ?>
870
-
871
- <p class="submit">
872
- <input class="button odb-normal" type="button" name="change_options" value="<?php _e('Change Settings','rvg-optimize-database');?>" onclick="self.location='options-general.php?page=rvg_odb_admin'" />
873
- <?php
874
- if(file_exists(dirname(__FILE__).'/rvg-optimize-db-log.html'))
875
- {
876
- ?>
877
- &nbsp;
878
- <input class="button odb-normal" type="button" name="view_log" value="<?php _e('View Log File','rvg-optimize-database');?>" onclick="window.open('<?php echo $log_url?>')" />
879
- &nbsp;
880
- <input class="button odb-normal" type="button" name="delete_log" value="<?php _e('Delete Log File','rvg-optimize-database');?>" onclick="self.location='tools.php?page=rvg-optimize-db.php&action=delete_log'" />
881
- <?php
882
- }
883
- $action = '';
884
- if(isset($_REQUEST['action'])) $action = $_REQUEST['action'];
885
- if($action != 'run')
886
- {
887
- ?>
888
- &nbsp;
889
- <input class="button-primary button-large" type="button" name="start_optimization" value="<?php _e('Start Optimization','rvg-optimize-database');?>" onclick="self.location='tools.php?page=rvg-optimize-db.php&action=run'" class="odb-bold" />
890
- <?php
891
- }
892
- ?>
893
- </p>
894
- </div>
895
- <?php
896
- $action = '';
897
- if(isset($_REQUEST['action'])) $action = $_REQUEST['action'];
898
- if($action != 'run') return;
899
- ?>
900
- <div class="odb-title-bar">
901
- <h2>
902
- <?php _e('Cleaning Database','rvg-optimize-database');?>
903
- </h2>
904
- </div>
905
- <br />
906
- <br />
907
- <?php
908
- // GET THE SIZE OF THE DATABASE BEFORE OPTIMIZATION
909
- $start_size = rvg_get_db_size();
910
-
911
- // TIMESTAMP FOR LOG FILE
912
- $current_datetime = Date('m/d/YH:i:s');
913
- $log_arr = array("time" => substr($current_datetime, 0, 10).'<br />'.substr($current_datetime,10));
914
-
915
- // FIND REVISIONS
916
- $results = rvg_get_revisions($max_revisions);
917
-
918
- $total_deleted = 0;
919
- if(count($results)>0)
920
- { // WE HAVE REVISIONS TO DELETE!
921
- ?>
922
- <table border="0" cellspacing="8" cellpadding="2" class="odb-result-table">
923
- <tr>
924
- <td colspan="4"><div class="odb-found">
925
- <?php _e('DELETED REVISIONS','rvg-optimize-database');?>
926
- </div></td>
927
- </tr>
928
- <tr>
929
- <th align="right" class="odb-border-bottom">#</th>
930
- <th align="left" class="odb-border-bottom"><?php _e('prefix', 'rvg-optimize-database');?></th>
931
- <th align="left" class="odb-border-bottom"><?php _e('post / page','rvg-optimize-database');?></th>
932
- <th align="left" class="odb-border-bottom"><?php _e('revision date','rvg-optimize-database');?></th>
933
- <th align="right" class="odb-border-bottom"><?php _e('revisions deleted','rvg-optimize-database');?></th>
934
- </tr>
935
- <?php
936
- // LOOP THROUGH THE REVISIONS AND DELETE THEM
937
- $total_deleted = rvg_delete_revisions($results, true, $max_revisions);
938
- ?>
939
- <tr>
940
- <td colspan="4" align="right" class="odb-border-top odb-bold"><?php _e('total number of revisions deleted','rvg-optimize-database');?></td>
941
- <td align="right" class="odb-border-top odb-bold"><?php echo $total_deleted?></td>
942
- </tr>
943
- </table>
944
- <?php
945
- }
946
- else
947
- {
948
- ?>
949
- <div class="odb-not-found">
950
- <?php _e('No REVISIONS found to delete','rvg-optimize-database');?>
951
- </div>
952
- <?php
953
- } // if(count($results)>0)
954
-
955
- // NUMBER OF DELETED REVISIONS FOR LOG FILE
956
- $log_arr["revisions"] = $total_deleted;
957
-
958
-
959
- /****************************************************************************************
960
- *
961
- * DELETE TRASHED ITEMS
962
- *
963
- ****************************************************************************************/
964
- if($clear_trash == 'Y')
965
- {
966
- // GET TRASHED POSTS / PAGES AND COMMENTS
967
- $results = rvg_get_trash();
968
-
969
- $total_deleted = 0;
970
- if(count($results)>0)
971
- { // WE HAVE TRASH TO DELETE!
972
- ?>
973
- <table border="0" cellspacing="8" cellpadding="2" class="odb-result-table">
974
- <tr>
975
- <td colspan="4"><div class="odb-found">
976
- <?php _e('DELETED TRASHED ITEMS','rvg-optimize-database');?>
977
- </div></td>
978
- </tr>
979
- <tr>
980
- <th align="right" class="odb-border-bottom">#</th>
981
- <th align="left" class="odb-border-bottom"><?php _e('prefix', 'rvg-optimize-database');?></th>
982
- <th align="left" class="odb-border-bottom"><?php _e('type','rvg-optimize-database');?></th>
983
- <th align="left" class="odb-border-bottom"><?php _e('IP address / title','rvg-optimize-database');?></th>
984
- <th align="left" nowrap="nowrap" class="odb-border-bottom"><?php _e('date','rvg-optimize-database');?></th>
985
- </tr>
986
- <?php
987
- // LOOP THROUGH THE TRASHED ITEMS AND DELETE THEM
988
- $total_deleted = rvg_delete_trash($results, true);
989
- ?>
990
- <tr>
991
- <td colspan="4" align="right" class="odb-border-top odb-bold"><?php _e('total number of trashed items deleted','rvg-optimize-database');?></td>
992
- <td align="right" class="odb-border-top odb-bold"><?php echo $total_deleted?></td>
993
- </tr>
994
- </table>
995
- <?php
996
- }
997
- else
998
- {
999
- ?>
1000
- <div class="odb-not-found">
1001
- <?php _e('No TRASHED ITEMS found to delete','rvg-optimize-database');?>
1002
- </div>
1003
- <?php
1004
- } // if(count($results)>0)
1005
-
1006
- // NUMBER OF DELETED TRASH FOR LOG FILE
1007
- $log_arr["trash"] = $total_deleted;
1008
- } // if($clear_trash == 'Y')
1009
-
1010
-
1011
- /****************************************************************************************
1012
- *
1013
- * DELETE SPAMMED ITEMS
1014
- *
1015
- ****************************************************************************************/
1016
- if($clear_spam == 'Y')
1017
- {
1018
- // GET SPAMMED COMMENTS
1019
- $results = rvg_get_spam();
1020
-
1021
- $total_deleted = 0;
1022
- if(count($results)>0)
1023
- { // WE HAVE SPAM TO DELETE!
1024
- ?>
1025
- <table border="0" cellspacing="8" cellpadding="2" class="odb-result-table">
1026
- <tr>
1027
- <td colspan="4"><div class="odb-found">
1028
- <?php _e('DELETEED SPAMMED ITEMS','rvg-optimize-database');?>
1029
- </div></td>
1030
- </tr>
1031
- <tr>
1032
- <th align="right" class="odb-border-bottom">#</th>
1033
- <th align="left" class="odb-border-bottom"><?php _e('prefix', 'rvg-optimize-database');?></th>
1034
- <th align="left" class="odb-border-bottom"><?php _e('comment author','rvg-optimize-database');?></th>
1035
- <th align="left" class="odb-border-bottom"><?php _e('comment author email','rvg-optimize-database');?></th>
1036
- <th align="left" nowrap="nowrap" class="odb-border-bottom"><?php _e('comment date','rvg-optimize-database');?></th>
1037
- </tr>
1038
- <?php
1039
- // LOOP THROUGH SPAMMED ITEMS AND DELETE THEM
1040
- $total_deleted = rvg_delete_spam($results, true);
1041
- ?>
1042
- <tr>
1043
- <td colspan="4" align="right" class="odb-border-top odb-bold"><?php _e('total number of spammed items deleted','rvg-optimize-database');?></td>
1044
- <td align="right" class="odb-border-top odb-bold"><?php echo $total_deleted?></td>
1045
- </tr>
1046
- </table>
1047
- <?php
1048
- }
1049
- else
1050
- {
1051
- ?>
1052
- <div class="odb-not-found">
1053
- <?php _e('No SPAMMED ITEMS found to delete','rvg-optimize-database');?>
1054
- </div>
1055
- <?php
1056
- } // if(count($results)>0)
1057
-
1058
- } // if($clear_spam == 'Y')
1059
-
1060
- // NUMBER OF SPAM DELETED FOR LOG FILE
1061
- $log_arr["spam"] = $total_deleted;
1062
-
1063
-
1064
- /****************************************************************************************
1065
- *
1066
- * DELETE UNUSED TAGS
1067
- *
1068
- ****************************************************************************************/
1069
- if($clear_tags == 'Y')
1070
- {
1071
- // DELETE UNUSED TAGS
1072
- $total_deleted = rvg_delete_tags();
1073
- if($total_deleted>0)
1074
- { // TAGS DELETED
1075
- ?>
1076
- <div class="odb-found-number">
1077
- <?php _e('NUMBER OF UNUSED TAGS DELETED','rvg-optimize-database');?>
1078
- : <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
1079
- <?php
1080
- }
1081
- else
1082
- {
1083
- ?>
1084
- <div class="odb-not-found">
1085
- <?php _e('No UNUSED TAGS found to delete','rvg-optimize-database');?>
1086
- </div>
1087
- <?php
1088
- } // if(count($results)>0)
1089
-
1090
- } // if($clear_tags == 'Y')
1091
-
1092
- // NUMBER OF tags DELETED FOR LOG FILE
1093
- $log_arr["tags"] = $total_deleted;
1094
-
1095
-
1096
- /****************************************************************************************
1097
- *
1098
- * DELETE EXPIRED TRANSIENTS
1099
- *
1100
- ****************************************************************************************/
1101
- if($clear_transients == 'Y')
1102
- {
1103
- // DELETE UNUSED TAGS
1104
- $total_deleted = rvg_delete_transients();
1105
- if($total_deleted>0)
1106
- { // TRANSIENTS DELETED
1107
- ?>
1108
- <div class="odb-found-number">
1109
- <?php _e('NUMBER OF EXPIRED TRANSIENTS DELETED','rvg-optimize-database');?>
1110
- : <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
1111
- <?php
1112
- }
1113
- else
1114
- {
1115
- ?>
1116
- <div class="odb-not-found">
1117
- <?php _e('No EXPIRED TRANSIENTS found to delete','rvg-optimize-database');?>
1118
- </div>
1119
- <?php
1120
- } // if(count($results)>0)
1121
-
1122
- } // if($clear_transients == 'Y')
1123
-
1124
- // NUMBER OF transients DELETED FOR LOG FILE
1125
- $log_arr["transients"] = $total_deleted;
1126
-
1127
-
1128
- /****************************************************************************************
1129
- *
1130
- * DELETE PINGBACKS AND TRACKBACKS (v3.1)
1131
- *
1132
- ****************************************************************************************/
1133
- if($clear_pingbacks == 'Y')
1134
- {
1135
- // DELETE UNUSED TAGS
1136
- $total_deleted = rvg_delete_pingbacks();
1137
- if($total_deleted>0)
1138
- { // PINGBACKS / TRACKBACKS DELETED
1139
- ?>
1140
- <div class="odb-found-number">
1141
- <?php _e('NUMBER OF PINGBACKS AND TRACKBACKS DELETED','rvg-optimize-database');?>
1142
- : <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
1143
- <?php
1144
- }
1145
- else
1146
- {
1147
- ?>
1148
- <div class="odb-not-found">
1149
- <?php _e('No PINGBACKS nor TRACKBACKS found to delete','rvg-optimize-database');?>
1150
- </div>
1151
- <?php
1152
- } // if(count($results)>0)
1153
-
1154
- } // if($clear_pingbacks == 'Y')
1155
-
1156
- // NUMBER OF pingbacks / trackbacks DELETED (FOR LOG FILE)
1157
- $log_arr["pingbacks"] = $total_deleted;
1158
-
1159
-
1160
- /****************************************************************************************
1161
- *
1162
- * DELETE ORPHANS
1163
- *
1164
- ****************************************************************************************/
1165
- $total_deleted = rvg_delete_orphans(true);
1166
- if($total_deleted > 0)
1167
- {
1168
- ?>
1169
- <div class="odb-found-number">
1170
- <?php _e('NUMBER OF POSTMETA ORPHANS DELETED','rvg-optimize-database');?>
1171
- : <span class="odb-blue"><?php echo $total_deleted;?></span> </div>
1172
- <?php
1173
- }
1174
- else
1175
- {
1176
- ?>
1177
- <div class="odb-not-found">
1178
- <?php _e('No POSTMETA ORPHANS found to delete','rvg-optimize-database');?>
1179
- </div>
1180
- <?php
1181
- }
1182
- // FOR LOG FILE
1183
- $log_arr["orphans"] = $total_deleted;
1184
-
1185
-
1186
- /****************************************************************************************
1187
- *
1188
- * OPTIMIZE DATABASE TABLES
1189
- *
1190
- ****************************************************************************************/
1191
- ?>
1192
- <div class="odb-optimizing-table">
1193
- <div class="odb-title-bar">
1194
- <h2>
1195
- <?php _e('Optimizing Database Tables','rvg-optimize-database');?>
1196
- </h2>
1197
- </div>
1198
- <br />
1199
- <br />
1200
- <table border="0" cellspacing="8" cellpadding="2">
1201
- <tr>
1202
- <th class="odb-border-bottom" align="right">#</th>
1203
- <th class="odb-border-bottom" align="left"><?php _e('table name','rvg-optimize-database');?></th>
1204
- <th class="odb-border-bottom" align="left"><?php _e('optimization result','rvg-optimize-database');?></th>
1205
- <th class="odb-border-bottom" align="left"><?php _e('engine','rvg-optimize-database');?></th>
1206
- <th class="odb-border-bottom" align="right"><?php _e('table rows','rvg-optimize-database');?></th>
1207
- <th class="odb-border-bottom" align="right"><?php _e('table size','rvg-optimize-database');?></th>
1208
- </tr>
1209
- <?php
1210
- # OPTIMIZE THE DATABASE TABLES
1211
- $cnt = rvg_optimize_tables(true);
1212
- ?>
1213
- </table>
1214
- <?php
1215
- // NUMBER OF TABLES
1216
- $log_arr["tables"] = $cnt;
1217
- // DATABASE SIZE BEFORE OPTIMIZATION
1218
- $log_arr["before"] = rvg_format_size($start_size,3);
1219
- // DATABASE SIZE AFTER OPTIMIZATION
1220
- $end_size = rvg_get_db_size();
1221
- $log_arr["after"] = rvg_format_size($end_size,3);
1222
- // TOTAL SAVING
1223
- $log_arr["savings"] = rvg_format_size(($start_size - $end_size),3);
1224
- // WRITE RESULTS TO LOG FILE
1225
- rvg_write_log($log_arr);
1226
-
1227
- $total_savings = rvg_odb_get_option('rvg_odb_total_savings');
1228
- $total_savings += ($start_size - $end_size);
1229
- rvg_odb_update_option('rvg_odb_total_savings',$total_savings);
1230
- ?>
1231
- <div class="odb-title-bar">
1232
- <h2>
1233
- <?php _e('Savings','rvg-optimize-database');?>
1234
- </h2>
1235
- </div>
1236
- <br />
1237
- <br />
1238
- <table border="0" cellspacing="8" cellpadding="2">
1239
- <tr>
1240
- <th>&nbsp;</th>
1241
- <th class="odb-border-bottom"><?php _e('size of the database','rvg-optimize-database');?></th>
1242
- </tr>
1243
- <tr>
1244
- <td align="right"><?php _e('BEFORE optimization','rvg-optimize-database');?></td>
1245
- <td align="right" class="odb-bold"><?php echo rvg_format_size($start_size,3); ?></td>
1246
- </tr>
1247
- <tr>
1248
- <td align="right"><?php _e('AFTER optimization','rvg-optimize-database');?></td>
1249
- <td align="right" class="odb-bold"><?php echo rvg_format_size($end_size,3); ?></td>
1250
- </tr>
1251
- <tr>
1252
- <td align="right" class="odb-bold"><?php _e('SAVINGS THIS TIME','rvg-optimize-database');?></td>
1253
- <td align="right" class="odb-border-top odb-bold"><?php echo rvg_format_size(($start_size - $end_size),3); ?></td>
1254
- </tr>
1255
- <tr>
1256
- <td align="right" class="odb-bold"><?php _e('TOTAL SAVINGS SINCE THE FIRST RUN','rvg-optimize-database');?></td>
1257
- <td align="right" class="odb-border-top odb-bold"><?php echo rvg_format_size($total_savings,3); ?></td>
1258
- </tr>
1259
- </table>
1260
- </div>
1261
- <?php
1262
- $time = microtime();
1263
- $time = explode(' ', $time);
1264
- $time = $time[1] + $time[0];
1265
- $finish = $time;
1266
-
1267
- $total_time = round(($finish - $odb_start_time), 4);
1268
- ?>
1269
- <div class="odb-title-bar">
1270
- <h2>
1271
- <?php _e('DONE!','rvg-optimize-database');?>
1272
- </h2>
1273
- </div>
1274
- <br />
1275
- <br />
1276
- <span class="odb-padding-left">
1277
- <?php _e('Optimization took', 'rvg-optimize-database')?>
1278
- &nbsp;<strong><?php echo $total_time;?></strong>&nbsp;
1279
- <?php _e('seconds', 'rvg-optimize-database')?>
1280
- .</span>
1281
- <?php
1282
- if(file_exists(dirname(__FILE__).'/rvg-optimize-db-log.html'))
1283
- {
1284
- ?>
1285
- <br />
1286
- <br />
1287
- &nbsp;
1288
- <input class="button odb-normal" type="button" name="view_log" value="<?php _e('View Log File','rvg-optimize-database');?>" onclick="window.open('<?php echo $log_url?>')" />
1289
- &nbsp;
1290
- <input class="button odb-normal" type="button" name="delete_log" value="<?php _e('Delete Log File','rvg-optimize-database');?>" onclick="self.location='tools.php?page=rvg-optimize-db.php&action=delete_log'" />
1291
- <?php
1292
- }
1293
- } // rvg_optimize_db()
1294
-
1295
-
1296
- /********************************************************************************************
1297
- *
1298
- * EXECUTE OPTIMIZATION VIA CRON JOB
1299
- *
1300
- ********************************************************************************************/
1301
- function rvg_optimize_db_cron()
1302
- {
1303
- global $wpdb, $odb_version, $odb_ms_prefixes;
1304
-
1305
- // v3.3.1 - GET NETWORK INFORMATION (MULTISITE)
1306
- rvg_odb_network_info();
1307
-
1308
- // GET SETTINGS AND SET DEFAULT VALUES
1309
- $max_revisions = rvg_odb_get_option('rvg_odb_number');
1310
- if(!$max_revisions)
1311
- { $max_revisions = 0;
1312
- rvg_odb_update_option('rvg_odb_number', $max_revisions);
1313
- }
1314
-
1315
- $clear_trash = rvg_odb_get_option('rvg_clear_trash');
1316
- if(!$clear_trash)
1317
- { $clear_trash = 'N';
1318
- rvg_odb_update_option('rvg_clear_trash', $clear_trash);
1319
- }
1320
-
1321
- $clear_spam = rvg_odb_get_option('rvg_clear_spam');
1322
- if(!$clear_spam)
1323
- { $clear_spam = 'N';
1324
- rvg_odb_update_option('rvg_clear_spam', $clear_spam);
1325
- }
1326
-
1327
- $clear_tags = rvg_odb_get_option('rvg_clear_tags');
1328
- if(!$clear_tags)
1329
- { $clear_tags = 'N';
1330
- rvg_odb_update_option('rvg_clear_tags', $clear_tags);
1331
- }
1332
-
1333
- $clear_transients = rvg_odb_get_option('rvg_clear_transients');
1334
- if(!$clear_transients)
1335
- { $clear_transients = 'N';
1336
- rvg_odb_update_option('rvg_clear_transients', $clear_transients);
1337
- }
1338
-
1339
- // v3.1
1340
- $clear_pingbacks = rvg_odb_get_option('rvg_clear_pingbacks');
1341
- if(!$clear_pingbacks)
1342
- { $clear_pingbacks = 'N';
1343
- rvg_odb_update_option('rvg_clear_pingbacks', $clear_pingbacks);
1344
- }
1345
-
1346
- // GET THE SIZE OF THE DATABASE BEFORE OPTIMIZATION
1347
- $start_size = rvg_get_db_size();
1348
-
1349
- // TIMESTAMP FOR LOG FILE
1350
- $log_arr = array("time" => date("m/d/Y").'<br />'.date("H:i:s"));
1351
-
1352
- // FIND THE REVISIONS
1353
- $results = rvg_get_revisions($max_revisions);
1354
-
1355
- $total_deleted = 0;
1356
- if(count($results)>0)
1357
- // WE HAVE REVISIONS TO DELETE!
1358
- $total_deleted = rvg_delete_revisions($results, false, $max_revisions);
1359
-
1360
- // NUMBER OF DELETED REVISIONS FOR LOG FILE
1361
- $log_arr["revisions"] = $total_deleted;
1362
-
1363
- $total_deleted = 0;
1364
- if($clear_trash == 'Y')
1365
- {
1366
- // GET TRASHED POSTS / PAGES AND COMMENTS
1367
- $results = rvg_get_trash();
1368
-
1369
- if(count($results)>0)
1370
- // WE HAVE TRASH TO DELETE!
1371
- $total_deleted = rvg_delete_trash($results, false, $max_revisions);
1372
-
1373
- } // if($clear_trash == 'Y')
1374
-
1375
- // NUMBER OF DELETED TRASH FOR LOG FILE
1376
- $log_arr["trash"] = $total_deleted;
1377
-
1378
- $total_deleted = 0;
1379
- if($clear_spam == 'Y')
1380
- {
1381
- // GET SPAMMED COMMENTS
1382
- $results = rvg_get_spam();
1383
-
1384
- if(count($results)>0)
1385
- // WE HAVE SPAM TO DELETE!
1386
- $total_deleted = rvg_delete_spam($results, false);
1387
-
1388
- } // if($clear_spam == 'Y')
1389
-
1390
- // NUMBER OF SPAM DELETED FOR LOG FILE
1391
- $log_arr["spam"] = $total_deleted;
1392
-
1393
- if($clear_tags == "Y")
1394
- { // DELETE UNUSED TAGS
1395
- $total_deleted = rvg_delete_tags();
1396
- }
1397
-
1398
- // NUMBER OF DELETE TAGS FOR LOG FILE
1399
- $log_arr["tags"] = $total_deleted;
1400
-
1401
- if($clear_transients == "Y")
1402
- { // DELETE TRANSIENTS
1403
- $total_deleted = rvg_delete_transients();
1404
- }
1405
-
1406
- // NUMBER OF DELETED TAGS FOR LOG FILE
1407
- $log_arr["transients"] = $total_deleted;
1408
-
1409
- // PINGBACKS AND TRACKBACKS (v3.1)
1410
- if($clear_pingbacks == "Y")
1411
- { // DELETE PINGBACKS AND TRACKBACKS
1412
- $total_deleted = rvg_delete_pingbacks();
1413
- }
1414
- // NUMBER OF DELETED PINGBACKS AND TRACKBACKS FOR LOG FILE
1415
- $log_arr["pingbacks"] = $total_deleted;
1416
-
1417
- // DELETE ORPHANS
1418
- $total_deleted = rvg_delete_orphans(false);
1419
- // NUMBER OF ORPHANS DELETED (FOR LOG FILE)
1420
- $log_arr["orphans"] = $total_deleted;
1421
-
1422
- // OPTIMIZE DATABASE TABLES
1423
- $cnt = rvg_optimize_tables(false);
1424
-
1425
- // NUMBER OF TABLES
1426
- $log_arr["tables"] = $cnt;
1427
- // DATABASE SIZE BEFORE OPTIMIZATION
1428
- $log_arr["before"] = rvg_format_size($start_size,3);
1429
- // DATABASE SIZE AFTER OPTIMIZATION
1430
- $end_size = rvg_get_db_size();
1431
- $log_arr["after"] = rvg_format_size($end_size,3);
1432
- // TOTAL SAVING
1433
- $log_arr["savings"] = rvg_format_size(($start_size - $end_size),3);
1434
- // WRITE RESULTS TO LOG FILE
1435
- rvg_write_log($log_arr);
1436
-
1437
- $total_savings = rvg_odb_get_option('rvg_odb_total_savings');
1438
- $total_savings += ($start_size - $end_size);
1439
- rvg_odb_update_option('rvg_odb_total_savings',$total_savings);
1440
-
1441
- } // rvg_optimize_db_cron()
1442
-
1443
-
1444
- /********************************************************************************************
1445
- *
1446
- * DELETE THE REVISIONS
1447
- *
1448
- * v3.2: MULTISITE
1449
- *
1450
- ********************************************************************************************/
1451
- function rvg_delete_revisions($results, $display, $max_revisions)
1452
- {
1453
- global $wpdb;
1454
-
1455
- $nr = 1;
1456
- $total_deleted = 0;
1457
-
1458
- for($i=0; $i<count($results); $i++)
1459
- { $nr_to_delete = $results[$i]['cnt'] - $max_revisions;
1460
- $total_deleted += $nr_to_delete;
1461
-
1462
- if($display)
1463
- {
1464
- ?>
1465
- <tr>
1466
- <td align="right" valign="top"><?php echo $nr?>.</td>
1467
- <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
1468
- <td valign="top" class="odb-bold"><?php echo $results[$i]['post_title']?></td>
1469
- <td valign="top"><?php
1470
- } // if($display)
1471
-
1472
- $sql_get_posts = "
1473
- SELECT `ID`, `post_modified`
1474
- FROM ".$results[$i]['site']."posts
1475
- WHERE `post_parent`=".$results[$i]['post_parent']."
1476
- AND `post_type`='revision'
1477
- ORDER BY `post_modified` ASC
1478
- ";
1479
-
1480
- $results_get_posts = $wpdb->get_results($sql_get_posts);
1481
-
1482
- for($j=0; $j<$nr_to_delete; $j++)
1483
- {
1484
- if($display) echo $results_get_posts[$j]->post_modified.'<br />';
1485
-
1486
- $sql_delete = "
1487
- DELETE FROM ".$results[$i]['site']."posts
1488
- WHERE `ID` = ".$results_get_posts[$j]->ID."
1489
- ";
1490
- $wpdb->get_results($sql_delete);
1491
-
1492
- } // for($j=0; $j<$nr_to_delete; $j++)
1493
-
1494
- $nr++;
1495
- if($display)
1496
- {
1497
- ?></td>
1498
- <td align="right" valign="top" class="odb-bold"><?php echo $nr_to_delete?></td>
1499
- </tr>
1500
- <?php
1501
- } // if($display)
1502
- } // for($i=0; $i<count($results); $i++)
1503
-
1504
- return $total_deleted;
1505
- } // rvg_delete_revisions()
1506
-
1507
-
1508
- /********************************************************************************************
1509
- *
1510
- * DELETE TRASHED POSTS AND PAGES
1511
- *
1512
- * v3.2: MULTISITE
1513
- *
1514
- ********************************************************************************************/
1515
- function rvg_delete_trash($results, $display)
1516
- {
1517
- global $wpdb;
1518
-
1519
- $nr = 1;
1520
- $total_deleted = count($results);
1521
-
1522
- for($i=0; $i<$total_deleted; $i++)
1523
- { if($display)
1524
- {
1525
- ?>
1526
- <tr>
1527
- <td align="right" valign="top"><?php echo $nr; ?></td>
1528
- <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
1529
- <td valign="top"><?php echo $results[$i]['post_type']; ?></td>
1530
- <td valign="top"><?php echo $results[$i]['title']; ?></td>
1531
- <td valign="top" nowrap="nowrap"><?php echo $results[$i]['modified']; ?></td>
1532
- </tr>
1533
- <?php
1534
- }
1535
-
1536
- if($results[$i]['post_type'] == 'comment')
1537
- { // DELETE META DATA (IF ANY...)
1538
- $sql_delete = "
1539
- DELETE FROM ".$results[$i]['site']."commentmeta
1540
- WHERE `comment_id` = ".$results[$i]['id']."
1541
- ";
1542
- $wpdb->get_results($sql_delete);
1543
- }
1544
-
1545
- // DELETE TRASHED POSTS / PAGES
1546
- $sql_delete = "
1547
- DELETE FROM ".$results[$i]['site']."posts
1548
- WHERE `post_status` = 'trash'
1549
- ";
1550
- $wpdb->get_results($sql_delete);
1551
-
1552
- // DELETE TRASHED COMMENTS
1553
- $sql_delete = "
1554
- DELETE FROM ".$results[$i]['site']."comments
1555
- WHERE `comment_approved` = 'trash'
1556
- ";
1557
- $wpdb->get_results($sql_delete);
1558
-
1559
- $nr++;
1560
- } // for($i=0; $i<count($results); $i++)
1561
-
1562
- return $total_deleted;
1563
-
1564
- } // rvg_delete_trash()
1565
-
1566
-
1567
- /********************************************************************************************
1568
- *
1569
- * DELETE SPAMMED ITEMS
1570
- *
1571
- * v3.2: MULTISITE
1572
- *
1573
- ********************************************************************************************/
1574
- function rvg_delete_spam($results, $display)
1575
- {
1576
- global $wpdb;
1577
-
1578
- $nr = 1;
1579
- $total_deleted = count($results);
1580
- for($i=0; $i<count($results); $i++)
1581
- { if($display)
1582
- {
1583
- ?>
1584
- <tr>
1585
- <td align="right" valign="top"><?php echo $nr; ?></td>
1586
- <td align="left" valign="top"><?php echo $results[$i]['site']?></td>
1587
- <td valign="top"><?php echo $results[$i]['comment_author']; ?></td>
1588
- <td valign="top"><?php echo $results[$i]['comment_author_email']; ?></td>
1589
- <td valign="top" nowrap="nowrap"><?php echo $results[$i]['comment_date']; ?></td>
1590
- </tr>
1591
- <?php
1592
- } // if($display)
1593
-
1594
- $sql_delete = "
1595
- DELETE FROM ".$results[$i]['site']."commentmeta
1596
- WHERE `comment_id` = ".$results[$i]['comment_ID']."
1597
- ";
1598
- $wpdb->get_results($sql_delete);
1599
-
1600
- $sql_delete = "
1601
- DELETE FROM ".$results[$i]['site']."comments
1602
- WHERE `comment_approved` = 'spam'
1603
- ";
1604
- $wpdb->get_results($sql_delete);
1605
-
1606
- $nr++;
1607
- } // for($i=0; $i<count($results); $i++)
1608
-
1609
- return $total_deleted;
1610
-
1611
- } // rvg_delete_spam()
1612
-
1613
-
1614
- /********************************************************************************************
1615
- *
1616
- * DELETE UNUSED TAGS
1617
- *
1618
- * v3.2: MULTISITE
1619
- * v3.4.9: BUG FIX ($i should have been $j)
1620
- *
1621
- ********************************************************************************************/
1622
- function rvg_delete_tags()
1623
- {
1624
- global $odb_ms_blogids, $odb_ms_prefixes;
1625
-
1626
- $total_deleted = 0;
1627
-
1628
- // LOOP THROUGH THE NETWORK
1629
- for($i=0; $i<count($odb_ms_blogids); $i++)
1630
- {
1631
- $tags = get_terms('post_tag', array('hide_empty' => 0));
1632
- for($j=0; $j<count($tags); $j++)
1633
- {
1634
- if($tags[$j]->count < 1)
1635
- { if(!rvg_delete_tags_is_scheduled($tags[$j]->term_id, $odb_ms_prefixes[$i]))
1636
- { // v3.0: TAG NOT USED IN SCHEDULED POSTS: CAN BE DELETED
1637
- $total_deleted++;
1638
- wp_delete_term($tags[$j]->term_id, 'post_tag');
1639
- }
1640
- }
1641
- } // for($j=0; $j<count($tags); $j++)
1642
- } // for($i=0; $i<count($odb_ms_blogids); $i++)
1643
-
1644
- return $total_deleted;
1645
- } // rvg_delete_tags()
1646
-
1647
-
1648
- /********************************************************************************************
1649
- *
1650
- * IS THE UNUSED TAG USED IN ONE OR MORE SCHEDULED POSTS?
1651
- *
1652
- * Since: v3.0
1653
- *
1654
- * v3.2: MULTISITE
1655
- *
1656
- ********************************************************************************************/
1657
- function rvg_delete_tags_is_scheduled($term_id, $odb_prefix)
1658
- {
1659
- global $wpdb;
1660
-
1661
- $sql_get_posts = "
1662
- SELECT p.post_status
1663
- FROM ".$odb_prefix."term_relationships t, ".$odb_prefix."posts p
1664
- WHERE t.term_taxonomy_id = '".$term_id."'
1665
- AND t.object_id = p.ID
1666
- ";
1667
-
1668
- $results_get_posts = $wpdb->get_results($sql_get_posts);
1669
- for($i=0; $i<count($results_get_posts); $i++)
1670
- if($results_get_posts[$i]->post_status == 'future') return true;
1671
-
1672
- return false;
1673
-
1674
- } // rvg_delete_tags_is_scheduled()
1675
-
1676
-
1677
- /********************************************************************************************
1678
- *
1679
- * DELETE EXPIRED TRANSIENTS
1680
- *
1681
- * v3.2: MULTISITE
1682
- * v3.4.7: from now on it uses the delete_transient() and delete_site_transients() functions
1683
- *
1684
- ********************************************************************************************/
1685
- function rvg_delete_transients()
1686
- {
1687
- global $wpdb, $odb_ms_prefixes;
1688
-
1689
- $delay = time() - 60; // ONE MINUTE DELAY
1690
-
1691
- $total_deleted = 0;
1692
-
1693
- // LOOP THROUGH THE NETWORK
1694
- for($i=0; $i<count($odb_ms_prefixes); $i++)
1695
- {
1696
- // FIND EXPIRED TRANSIENTS
1697
- $sql = "
1698
- SELECT `option_name`
1699
- FROM ".$odb_ms_prefixes[$i]."options
1700
- WHERE (
1701
- option_name LIKE '_transient_timeout_%'
1702
- OR option_name LIKE '_site_transient_timeout_%'
1703
- )
1704
- AND option_value < '$delay'
1705
- ";
1706
-
1707
- $results = $wpdb->get_results($sql);
1708
- $total_deleted += count($results);
1709
-
1710
- // LOOP THROUGH THE RESULTS
1711
- for($j=0; $j<count($results); $j++)
1712
- {
1713
- if(substr($results[$j]->option_name, 0, 19) == '_transient_timeout_')
1714
- { // _transient_timeout_%
1715
- $transient = substr($results[$j]->option_name, 19);
1716
- // DELETE THE TRANSIENT
1717
- delete_transient($transient);
1718
- }
1719
- else
1720
- { // _site_transient_timeout_%
1721
- $transient = substr($results[$j]->option_name, 24);
1722
- // DELETE THE TRANSIENT
1723
- delete_site_transient($transient);
1724
- }
1725
- } // for($j=0; $j<count($results); $j++)
1726
-
1727
- } // for($i=0; $i<count($odb_ms_prefixes); $i++)
1728
- return $total_deleted;
1729
- } // rvg_delete_transients()
1730
-
1731
-
1732
- /********************************************************************************************
1733
- *
1734
- * DELETE PINGBACKS AND TRACKBACKS
1735
- *
1736
- * Since: v3.1
1737
- *
1738
- * v3.2: MULTISITE
1739
- *
1740
- ********************************************************************************************/
1741
- function rvg_delete_pingbacks()
1742
- {
1743
- global $wpdb, $odb_ms_prefixes;
1744
-
1745
- $total_deleted = 0;
1746
-
1747
- // LOOP THROUGH THE NETWORK
1748
- for($i=0; $i<count($odb_ms_prefixes); $i++)
1749
- {
1750
- $sql = "
1751
- SELECT `comment_ID`
1752
- FROM ".$odb_ms_prefixes[$i]."comments
1753
- WHERE (
1754
- `comment_type` = 'pingback'
1755
- OR `comment_type` = 'trackback'
1756
- )
1757
- ";
1758
-
1759
- $results = $wpdb->get_results($sql);
1760
- $total_deleted = count($results);
1761
-
1762
- for($j=0; $j<count($results); $j++)
1763
- { // DELETE METADATA FOR THIS COMMENT (IF ANY)
1764
- $sql_delete_meta = "
1765
- DELETE FROM ".$odb_ms_prefixes[$i]."commentmeta
1766
- WHERE `comment_id` = ".$results[$j]->comment_ID."
1767
- ";
1768
- $wpdb->get_results($sql_delete_meta);
1769
- }
1770
-
1771
- // DELETE COMMENTS
1772
- $sql_delete_comments = "
1773
- DELETE FROM ".$odb_ms_prefixes[$i]."comments
1774
- WHERE (
1775
- `comment_type` = 'pingback'
1776
- OR `comment_type` = 'trackback'
1777
- )
1778
- ";
1779
- $wpdb->get_results($sql_delete_comments);
1780
- }
1781
-
1782
- return $total_deleted;
1783
- } // rvg_delete_pingbacks()
1784
-
1785
-
1786
- /********************************************************************************************
1787
- *
1788
- * DELETE ORPHAN POSTMETA RECORDS
1789
- *
1790
- * Since: v2.2.7
1791
- *
1792
- * v3.2: MULTISITE
1793
- *
1794
- ********************************************************************************************/
1795
- function rvg_delete_orphans($display)
1796
- {
1797
- global $wpdb, $odb_ms_prefixes;
1798
-
1799
- $meta_orphans = 0;
1800
- $post_orphans = 0;
1801
-
1802
- // LOOP THROUGH THE NETWORK
1803
- for($i=0; $i<count($odb_ms_prefixes); $i++)
1804
- {
1805
- // DELETE POST ORPHANS (AUTO DRAFTS)
1806
- $sql_delete = "
1807
- SELECT COUNT(*) cnt
1808
- FROM ".$odb_ms_prefixes[$i]."posts
1809
- WHERE ID NOT IN (SELECT post_id FROM ".$odb_ms_prefixes[$i]."postmeta)
1810
- AND post_status = 'auto-draft'
1811
- ";
1812
-
1813
- $results = $wpdb->get_results($sql_delete);
1814
-
1815
- $post_orphans = $results[0]->cnt;
1816
-
1817
- if($post_orphans > 0)
1818
- { $sql_delete = "
1819
- DELETE FROM ".$odb_ms_prefixes[$i]."posts
1820
- WHERE ID NOT IN (SELECT post_id FROM ".$odb_ms_prefixes[$i]."postmeta)
1821
- AND post_status = 'auto-draft'
1822
- ";
1823
- $wpdb->get_results($sql_delete);
1824
- }
1825
-
1826
- // DELETE POSTMETA ORPHANS
1827
- $sql_delete = "
1828
- SELECT COUNT(*) cnt
1829
- FROM ".$odb_ms_prefixes[$i]."postmeta
1830
- WHERE post_id NOT IN (SELECT ID FROM ".$odb_ms_prefixes[$i]."posts)
1831
- ";
1832
-
1833
- $results = $wpdb->get_results($sql_delete);
1834
-
1835
- $meta_orphans = $results[0]->cnt;
1836
-
1837
- if($meta_orphans > 0)
1838
- { $sql_delete = "
1839
- DELETE FROM ".$odb_ms_prefixes[$i]."postmeta
1840
- WHERE post_id NOT IN (SELECT ID FROM ".$odb_ms_prefixes[$i]."posts)
1841
- ";
1842
- $wpdb->get_results($sql_delete);
1843
- }
1844
- }
1845
-
1846
- return ($meta_orphans + $post_orphans);
1847
-
1848
- } // rvg_delete_orphans()
1849
-
1850
-
1851
- /********************************************************************************************
1852
- *
1853
- * OPTIMIZE DATABASE TABLES
1854
- *
1855
- ********************************************************************************************/
1856
- function rvg_optimize_tables($display)
1857
- {
1858
- global $wpdb;
1859
-
1860
- # v3.5.1 - SKIP VIEWS
1861
- $tables = $wpdb->get_results("SHOW FULL TABLES FROM `".DB_NAME."` WHERE table_type = 'BASE TABLE'", ARRAY_N);
1862
- // print_r($tables);
1863
-
1864
- $cnt = 0;
1865
- for ($i=0; $i<count($tables); $i++)
1866
- {
1867
- $excluded = rvg_odb_get_option('rvg_ex_'.$tables[$i][0]);
1868
-
1869
- if(!$excluded)
1870
- { # TABLE NOT EXCLUDED
1871
- $cnt++;
1872
-
1873
- // v3.1.4
1874
- $sql = "
1875
- SELECT engine, (data_length + index_length) AS size, table_rows
1876
- FROM information_schema.TABLES
1877
- WHERE table_schema = '".DB_NAME."'
1878
- AND table_name = '".$tables[$i][0]."'
1879
- ";
1880
- $table_info = $wpdb->get_results($sql);
1881
-
1882
- // v3.1.4
1883
- if(strtolower($table_info[0]->engine) == 'innodb')
1884
- { // SKIP InnoDB tables
1885
- $msg = __('InnoDB table: skipped...', 'rvg-optimize-database');
1886
- }
1887
- else
1888
- { $query = "OPTIMIZE TABLE ".$tables[$i][0];
1889
- $result = $wpdb->get_results($query);
1890
- $msg = $result[0]->Msg_text;
1891
- $msg = str_replace('OK', __('<span class="odb-optimized">TABLE OPTIMIZED</span>', 'rvg-optimize-database'), $msg);
1892
- $msg = str_replace('Table is already up to date', __('Table is already up to date', 'rvg-optimize-database'), $msg);
1893
- }
1894
-
1895
- if($display)
1896
- { // NOT FROM THE SCEDULER
1897
- ?>
1898
- <tr>
1899
- <td align="right" valign="top"><?php echo $cnt?>.</td>
1900
- <td valign="top" class="odb-bold"><?php echo $tables[$i][0] ?></td>
1901
- <td valign="top"><?php echo $msg ?></td>
1902
- <td valign="top"><?php echo $table_info[0]->engine ?></td>
1903
- <td align="right" valign="top"><?php echo $table_info[0]->table_rows ?></td>
1904
- <td align="right" valign="top"><?php echo rvg_format_size($table_info[0]->size) ?></td>
1905
- </tr>
1906
- <?php
1907
- } // if($display)
1908
- } // if(!$excluded)
1909
- } // for ($i=0; $i<count($tables); $i++)
1910
- return $cnt;
1911
-
1912
- } // rvg_optimize_tables()
1913
-
1914
-
1915
- /********************************************************************************************
1916
- *
1917
- * WRITE LINE TO LOG FILE
1918
- *
1919
- ********************************************************************************************/
1920
- function rvg_write_log($log_arr)
1921
- {
1922
- global $odb_version;
1923
-
1924
- $rvg_odb_logging_on = rvg_odb_get_option('rvg_odb_logging_on');
1925
- if(!$rvg_odb_logging_on)
1926
- { $rvg_odb_logging_on = 'N';
1927
- rvg_odb_update_option('rvg_odb_logging_on', $rvg_odb_logging_on);
1928
- }
1929
-
1930
- if($rvg_odb_logging_on == "Y")
1931
- { $file = dirname(__FILE__).'/rvg-optimize-db-log.html';
1932
- if(!file_exists($file))
1933
- {
1934
- // NEW LOG FILE
1935
- $html = '
1936
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1937
- <html xmlns="http://www.w3.org/1999/xhtml">
1938
- <head>
1939
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
1940
- <title>Optimize Database after Deleting Revisions v'.$odb_version.' - LOG</title>
1941
- <style type="text/css">
1942
- body, td, th {
1943
- font-family: Arial, Helvetica, sans-serif;
1944
- font-size: 12px;
1945
- }
1946
- th {
1947
- border-top:solid 1px #000;
1948
- border-bottom:solid 1px #000;
1949
- }
1950
- td {
1951
- padding-bottom:4px;
1952
- border-bottom:dotted 1px #CCC;
1953
- }
1954
- #header {
1955
- margin-left:6px;
1956
- margin-bottom:8px;
1957
- }
1958
- #header a {
1959
- text-decoration:none;
1960
- font-weight:bold;
1961
- }
1962
- </style>
1963
- </head>
1964
- <body>
1965
- <div id="header">
1966
- <h2><a href="https://wordpress.org/plugins/rvg-optimize-database/" target="_blank">Optimize Database after Deleting Revisions v'.$odb_version.'</a></h2>
1967
- '.__('A WordPress Plugin by','rvg-optimize-database').' <a href="http://cagewebdev.com" target="_blank"><span class="odb-bold">CAGE Web Design</span></a> | <a href="http://rvg.cage.nl" target="_blank"><span class="odb-bold">Rolf van Gelder</span></a>, Eindhoven, '.__('The Netherlands','rvg-optimize-database').'</span>
1968
- </div>
1969
- <table width="100%" border="0" cellspacing="6" cellpadding="1">
1970
- <tr>
1971
- <th width="8%" align="left" valign="top">'.__('time','rvg-optimize-database').'</th>
1972
- <th width="8%" align="right" valign="top">'.__('deleted<br />revisions','rvg-optimize-database').'</th>
1973
- <th width="8%" align="right" valign="top">'.__('deleted<br />trash','rvg-optimize-database').'</th>
1974
- <th width="8%" align="right" valign="top">'.__('deleted<br />spam','rvg-optimize-database').'</th>
1975
- <th width="8%" align="right" valign="top">'.__('deleted<br />tags','rvg-optimize-database').'</th>
1976
- <th width="8%" align="right" valign="top">'.__('deleted<br />transients','rvg-optimize-database').'</th>
1977
- <th width="8%" align="right" valign="top">'.__('deleted<br />pingbacks<br />trackbacks','rvg-optimize-database').'</th>
1978
- <th width="8%" align="right" valign="top">'.__('deleted<br />orphans','rvg-optimize-database').'</th>
1979
- <th width="8%" align="right" valign="top">'.__('nr of optimized tables','rvg-optimize-database').'</th>
1980
- <th width="8%" align="right" valign="top">'.__('database size BEFORE','rvg-optimize-database').'</th>
1981
- <th width="8%" align="right" valign="top">'.__('database size AFTER','rvg-optimize-database').'</th>
1982
- <th width="8%" align="right" valign="top">'.__('SAVINGS','rvg-optimize-database').'</th>
1983
- </tr>
1984
- </table>
1985
- ';
1986
-
1987
- file_put_contents($file,$html,FILE_APPEND);
1988
- }
1989
-
1990
- $html = '
1991
- <table width="100%" border="0" cellspacing="6" cellpadding="0">
1992
- <tr>
1993
- <td width="8%" valign="top"><span class="odb-bold">'.$log_arr["time"].'</span></td>
1994
- <td width="8%" align="right" valign="top">'.$log_arr["revisions"].'</td>
1995
- <td width="8%" align="right" valign="top">'.$log_arr["trash"].'</td>
1996
- <td width="8%" align="right" valign="top">'.$log_arr["spam"].'</td>
1997
- <td width="8%" align="right" valign="top">'.$log_arr["tags"].'</td>
1998
- <td width="8%" align="right" valign="top">'.$log_arr["transients"].'</td>
1999
- <td width="8%" align="right" valign="top">'.$log_arr["pingbacks"].'</td>
2000
- <td width="8%" align="right" valign="top">'.$log_arr["orphans"].'</td>
2001
- <td width="8%" align="right" valign="top">'.$log_arr["tables"].'</td>
2002
- <td width="8%" align="right" valign="top">'.$log_arr["before"].'</td>
2003
- <td width="8%" align="right" valign="top">'.$log_arr["after"].'</td>
2004
- <td width="8%" align="right" valign="top">'.$log_arr["savings"].'</td>
2005
- </tr>
2006
- </table>
2007
- ';
2008
-
2009
- // print_r($log_arr);
2010
- file_put_contents($file,$html,FILE_APPEND);
2011
- }
2012
-
2013
- } // rvg_write_log()
2014
-
2015
-
2016
- /********************************************************************************************
2017
- *
2018
- * GET REVISIONS
2019
- *
2020
- * V3.2: MULTISITE
2021
- *
2022
- ********************************************************************************************/
2023
- function rvg_get_revisions($max_revisions)
2024
- {
2025
- global $wpdb, $odb_ms_prefixes;
2026
-
2027
- $res_arr = array();
2028
-
2029
- $index = 0;
2030
- for($i=0; $i<count($odb_ms_prefixes); $i++)
2031
- { $sql = "
2032
- SELECT `post_parent`, `post_title`, COUNT(*) cnt
2033
- FROM ".$odb_ms_prefixes[$i]."posts
2034
- WHERE `post_type` = 'revision'
2035
- GROUP BY `post_parent`
2036
- HAVING COUNT(*) > ".$max_revisions."
2037
- ORDER BY UCASE(`post_title`)
2038
- ";
2039
- $res = $wpdb->get_results($sql, ARRAY_A);
2040
-
2041
- for($j=0; $j<count($res); $j++)
2042
- { if(isset($res[$j]))
2043
- { $res_arr[$index] = $res[$j];
2044
- $res_arr[$index]['site'] = $odb_ms_prefixes[$i];
2045
- $index++;
2046
- }
2047
- }
2048
- }
2049
-
2050
- return $res_arr;
2051
-
2052
- } // rvg_get_revisions()
2053
-
2054
-
2055
- /********************************************************************************************
2056
- *
2057
- * GET TRASHED POSTS / PAGES AND COMMENTS
2058
- *
2059
- * v3.2: MULTISITE
2060
- *
2061
- ********************************************************************************************/
2062
- function rvg_get_trash()
2063
- {
2064
- global $wpdb, $odb_ms_prefixes;
2065
-
2066
- $res_arr = array();
2067
-
2068
- $index = 0;
2069
-
2070
- // LOOP TROUGH SITES
2071
- for($i=0; $i<count($odb_ms_prefixes); $i++)
2072
- {
2073
- $sql = "
2074
- SELECT `ID` AS id, 'post' AS post_type, `post_title` AS title, `post_modified` AS modified
2075
- FROM ".$odb_ms_prefixes[$i]."posts
2076
- WHERE `post_status` = 'trash'
2077
- UNION ALL
2078
- SELECT `comment_ID` AS id, 'comment' AS post_type, `comment_author_IP` AS title, `comment_date` AS modified
2079
- FROM ".$odb_ms_prefixes[$i]."comments
2080
- WHERE `comment_approved` = 'trash'
2081
- ORDER BY post_type, UCASE(title)
2082
- ";
2083
- $res = $wpdb->get_results($sql, ARRAY_A);
2084
-
2085
- if($res != null)
2086
- { $res_arr[$index] = $res[0];
2087
- $res_arr[$index]['site'] = $odb_ms_prefixes[$i];
2088
- $index++;
2089
- }
2090
- }
2091
-
2092
- return $res_arr;
2093
-
2094
- } // rvg_get_trash()
2095
-
2096
-
2097
- /********************************************************************************************
2098
- *
2099
- * GET SPAMMED COMMENTS
2100
- *
2101
- * v3.2: MULTISITE
2102
- *
2103
- ********************************************************************************************/
2104
- function rvg_get_spam()
2105
- {
2106
- global $wpdb, $odb_ms_prefixes;
2107
-
2108
- $res_arr = array();
2109
-
2110
- $index = 0;
2111
- // LOOP THROUGH SITES
2112
- for($i=0; $i<count($odb_ms_prefixes); $i++)
2113
- {
2114
- $sql = "
2115
- SELECT `comment_ID`, `comment_author`, `comment_author_email`, `comment_date`
2116
- FROM ".$odb_ms_prefixes[$i]."comments
2117
- WHERE `comment_approved` = 'spam'
2118
- ORDER BY UCASE(`comment_author`)
2119
- ";
2120
- $res = $wpdb->get_results($sql, ARRAY_A);
2121
-
2122
- if($res != null)
2123
- { $res_arr[$index] = $res[0];
2124
- $res_arr[$index]['site'] = $odb_ms_prefixes[$i];
2125
- $index++;
2126
- }
2127
- }
2128
-
2129
- return $res_arr;
2130
-
2131
- } // rvg_get_spam()
2132
-
2133
-
2134
- /********************************************************************************************
2135
- *
2136
- * CALCULATE THE SIZE OF THE WORDPRESS DATABASE (IN BYTES)
2137
- *
2138
- ********************************************************************************************/
2139
- function rvg_get_db_size()
2140
- {
2141
- global $wpdb;
2142
-
2143
- // v3.1.4
2144
- $sql = "
2145
- SELECT SUM(data_length + index_length) AS size
2146
- FROM information_schema.TABLES
2147
- WHERE table_schema = '".DB_NAME."'
2148
- GROUP BY table_schema
2149
- ";
2150
-
2151
- $res = $wpdb->get_results($sql);
2152
-
2153
- return $res[0]->size;
2154
-
2155
- } // rvg_get_db_size()
2156
-
2157
-
2158
- /********************************************************************************************
2159
- *
2160
- * FORMAT SIZES FROM BYTES TO KB OR MB
2161
- *
2162
- ********************************************************************************************/
2163
- function rvg_format_size($size, $precision=1)
2164
- {
2165
- if($size>1024*1024)
2166
- $table_size = (round($size/(1024*1024),$precision)).' MB';
2167
- else
2168
- $table_size = (round($size/1024,$precision)).' KB';
2169
-
2170
- return $table_size;
2171
- } // rvg_format_size()
2172
- ?>