Revision Control - Version 2.0

Version Description

  • Rewrite from scratch(99%) utilising 2.9 only functionality
    • Better support for custom post types, Next release will finialise it in line with WordPress 3.0 development
    • Storing of Taxonomy changes in revisions (eg. You can see that TagX was added, while Category Z was removed.)
    • Translations:
    • German Translation from Tux
    • Hebrew Translation from Elad Salomons - http://elad.blogli.co.il
    • Russian Translation from Lecactus
    • Italian Translation from Stefano Aglietti
    • Estonian Translation from Lembit
    • Japanese Translation from Tai
Download this release

Release Info

Developer dd32
Plugin Icon wp plugin Revision Control
Version 2.0
Comparing to
See all releases

Code changes from version 1.9.7 to 2.0

Files changed (53) hide show
  1. inc/class.dd32.php +0 -117
  2. langs/default.mo +0 -0
  3. langs/default.po +210 -0
  4. langs/revision-control-DE_de.mo +0 -0
  5. langs/revision-control-DE_de.po +214 -0
  6. langs/revision-control-de_DE.mo +0 -0
  7. langs/revision-control-et.mo +0 -0
  8. langs/revision-control-et.po +250 -0
  9. langs/revision-control-he_IL.mo +0 -0
  10. langs/revision-control-he_IL.po +198 -57
  11. langs/revision-control-it_IT.mo +0 -0
  12. langs/revision-control-it_IT.po +191 -54
  13. langs/revision-control-ja.mo +0 -0
  14. langs/revision-control-ja.po +201 -65
  15. langs/revision-control-ru_RU.mo +0 -0
  16. langs/revision-control-ru_RU.po +198 -57
  17. langs/revision-control.mo +0 -0
  18. langs/revision-control.pot +195 -50
  19. langs/translations.txt +20 -3
  20. old_langs/revision-control-by_BY.mo +0 -0
  21. old_langs/revision-control-by_BY.po +86 -0
  22. {langs → old_langs}/revision-control-cs_CZ.mo +0 -0
  23. {langs → old_langs}/revision-control-cs_CZ.po +0 -0
  24. {langs → old_langs}/revision-control-es_ES.mo +0 -0
  25. {langs → old_langs}/revision-control-es_ES.po +0 -0
  26. old_langs/revision-control-et.mo +0 -0
  27. langs/revision-control-de_DE.po → old_langs/revision-control-et.po +83 -83
  28. {langs → old_langs}/revision-control-fr_FR.mo +0 -0
  29. {langs → old_langs}/revision-control-fr_FR.po +0 -0
  30. old_langs/revision-control-it_IT.mo +0 -0
  31. old_langs/revision-control-it_IT.po +207 -0
  32. old_langs/revision-control-ja.mo +0 -0
  33. old_langs/revision-control-ja.po +92 -0
  34. {langs → old_langs}/revision-control-lv.mo +0 -0
  35. {langs → old_langs}/revision-control-lv.po +0 -0
  36. {langs → old_langs}/revision-control-lv_LV.mo +0 -0
  37. {langs → old_langs}/revision-control-lv_LV.po +0 -0
  38. {langs → old_langs}/revision-control-nl_NL.mo +0 -0
  39. {langs → old_langs}/revision-control-nl_NL.po +0 -0
  40. old_langs/revision-control-sv_SE.mo +0 -0
  41. old_langs/revision-control-sv_SE.po +86 -0
  42. {langs → old_langs}/revision-control-tr_TR.mo +0 -0
  43. {langs → old_langs}/revision-control-tr_TR.po +0 -0
  44. {langs → old_langs}/revision-control-zh-tw.mo +0 -0
  45. {langs → old_langs}/revision-control-zh-tw.po +0 -0
  46. readme.txt +61 -38
  47. revision-control.css +13 -0
  48. revision-control.js +95 -0
  49. revision-control.php +660 -346
  50. screenshot-1.jpg +0 -0
  51. screenshot-1.png +0 -0
  52. screenshot-2.jpg +0 -0
  53. screenshot-2.png +0 -0
inc/class.dd32.php DELETED
@@ -1,117 +0,0 @@
1
- <?php
2
- if ( 3 >= $GLOBALS['dd32_version'] && !class_exists('DD32') ) {
3
- class DD32 {
4
- var $version = 3;
5
- function DD32() {
6
-
7
- }
8
-
9
- //$folder = Full path to folder
10
- function find_files( $folder, $args = array() ) {
11
-
12
- $folder = untrailingslashit($folder);
13
-
14
- $defaults = array( 'pattern' => '', 'levels' => 100, 'relative' => '' );
15
- $r = wp_parse_args($args, $defaults);
16
-
17
- extract($r, EXTR_SKIP);
18
-
19
- //Now for recursive calls, clear relative, we'll handle it, and decrease the levels.
20
- unset($r['relative']);
21
- --$r['levels'];
22
-
23
- if ( ! $levels )
24
- return array();
25
-
26
- if ( ! is_readable($folder) )
27
- return false;
28
-
29
- $files = array();
30
- if ( $dir = @opendir( $folder ) ) {
31
- while ( ( $file = readdir($dir) ) !== false ) {
32
- if ( in_array($file, array('.', '..') ) )
33
- continue;
34
- if ( is_dir( $folder . '/' . $file ) ) {
35
- $files2 = DD32::find_files( $folder . '/' . $file, $r );
36
- if( $files2 )
37
- $files = array_merge($files, $files2 );
38
- else if ( empty($pattern) || preg_match('|^' . str_replace('\*', '\w+', preg_quote($pattern)) . '$|i', $file) )
39
- $files[] = $folder . '/' . $file . '/';
40
- } else {
41
- if ( empty($pattern) || preg_match('|^' . str_replace('\*', '\w+', preg_quote($pattern)) . '$|i', $file) )
42
- $files[] = $folder . '/' . $file;
43
- }
44
- }
45
- }
46
- @closedir( $dir );
47
-
48
- if ( ! empty($relative) ) {
49
- $relative = trailingslashit($relative);
50
- foreach ( $files as $key => $file )
51
- $files[$key] = preg_replace('!^' . preg_quote($relative) . '!', '', $file);
52
- }
53
-
54
- return $files;
55
- }
56
-
57
- function add_configure($plugin, $title, $url, $args = array() ) {
58
- $defaults = array( 'class' => '', 'title' => $title );
59
- $r = wp_parse_args($args, $defaults);
60
- $link = "<a href='$url' class='{$r['class']}' title='{$r['title']}'>$title</a>";
61
- add_action("plugin_action_links_$plugin", create_function('$links', 'return array_merge( array("' . $link . '"), $links);'));
62
- }
63
-
64
- //Function adds a list of changes after the plugin in the plugins table.
65
- function add_changelog($plugin, $url) {
66
- add_action("after_plugin_row_$plugin", create_function('$data', 'DD32::add_changelog_rows("' . $plugin .'", "' . $url . '", $data);'), 10, 2);
67
- }
68
- function add_changelog_rows($plugin, $url, $plugin_data) {
69
-
70
- if ( false === get_option('dd32_changelogs', false) )
71
- add_option('dd32_changelogs', array(), '', 'no'); //Add a no-auto-load option.
72
-
73
- $update = get_option('update_plugins');
74
- if ( ! isset($update->response[$plugin]) )
75
- return;
76
-
77
- $changelogs = get_option('dd32_changelogs', array());
78
- if ( ! isset($changelogs[$url]) || !isset($changelogs[$url]['time']) || $changelogs[$url]['time'] < time()-24*60*60 ) {
79
- $log = wp_remote_get($url);
80
- if ( $log['response']['code'] != 200 )
81
- return;
82
- if ( ! preg_match('!== Changelog ==\s+(.*?)\s+(==|$)!is', $log['body'], $mat) )
83
- return;
84
- $mat = preg_split('!^=!im', $mat[1]);
85
- $changes = array();
86
- foreach ( (array)$mat as $version ) {
87
- if ( preg_match('!^\s+([\w.]+)\s*=!i', $version, $mat_version) )
88
- $change_version = $mat_version[1];
89
- else
90
- $change_version = 'unknown';
91
-
92
- if ( preg_match_all('!^\s*[*](.*)$!im', $version, $mat_changes) )
93
- foreach ( (array)$mat_changes[1] as $change )
94
- $changes[ $change_version ][] = trim($change);
95
- }
96
-
97
- $changelogs[ $url ] = array('time' => time(), 'changes' => $changes);
98
- update_option('dd32_changelogs', $changelogs);
99
- } else {
100
- $changes = $changelogs[ $url ]['changes'];
101
- }
102
-
103
- foreach ( (array) $changes as $version => $changelog_item ) {
104
- if ( version_compare($version, $plugin_data['Version'], '<=') && 'unknown' != $version )
105
- continue;
106
- echo '
107
- <tr>
108
- <td colspan="2" class="plugin-update">&nbsp;</td>
109
- <td class="plugin-update">' . $version . '</td>
110
- <td colspan="2" class="plugin-update" style="text-align: left;"><ol style="list-style:circle"><li>' . implode('</li><li>', $changelog_item) .'</li></ol></td>
111
- </tr>
112
- ';
113
- }
114
- }
115
-
116
- }}
117
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
langs/default.mo ADDED
Binary file
langs/default.po ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
5
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
13
+
14
+ #: revision-control.php:53
15
+ msgid "Are you sure you wish to delete the selected Revisions?"
16
+ msgstr ""
17
+
18
+ #: revision-control.php:54
19
+ msgid ""
20
+ "Warning: Unlocking this post will cause the latest revision to be published!\\n"
21
+ "Continue?"
22
+ msgstr ""
23
+
24
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
25
+ #. Plugin Name of an extension
26
+ #: revision-control.php:69
27
+ msgid "Revision Control"
28
+ msgstr ""
29
+
30
+ #: revision-control.php:69
31
+ msgid "Revisions"
32
+ msgstr ""
33
+
34
+ #: revision-control.php:79
35
+ msgid "Post Revisions"
36
+ msgstr ""
37
+
38
+ #: revision-control.php:226
39
+ msgid "Default Revision Settings"
40
+ msgstr ""
41
+
42
+ #: revision-control.php:227
43
+ msgid "Unlimited number of Revisions"
44
+ msgstr ""
45
+
46
+ #: revision-control.php:228
47
+ msgid "Do not store Revisions"
48
+ msgstr ""
49
+
50
+ #: revision-control.php:236
51
+ #: revision-control.php:239
52
+ #: revision-control.php:244
53
+ #, php-format
54
+ msgid "Maximum %s Revision stored"
55
+ msgid_plural "Maximum %s Revisions stored"
56
+ msgstr[0] ""
57
+ msgstr[1] ""
58
+
59
+ #: revision-control.php:382
60
+ msgid "Sorry, But you cant compare unrelated Revisions."
61
+ msgstr ""
62
+
63
+ #: revision-control.php:392
64
+ msgid "Sorry, But you cant compare a Revision to itself."
65
+ msgstr ""
66
+
67
+ #: revision-control.php:394
68
+ #, php-format
69
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
70
+ msgstr ""
71
+
72
+ #: revision-control.php:410
73
+ #, php-format
74
+ msgid "Older: %s"
75
+ msgstr ""
76
+
77
+ #: revision-control.php:411
78
+ #, php-format
79
+ msgid "Newer: %s"
80
+ msgstr ""
81
+
82
+ #: revision-control.php:449
83
+ msgid "These Revisions are identical."
84
+ msgstr ""
85
+
86
+ #: revision-control.php:453
87
+ msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
88
+ msgstr ""
89
+
90
+ #: revision-control.php:480
91
+ msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
92
+ msgstr ""
93
+
94
+ #: revision-control.php:489
95
+ msgid "Switch between Compare/Delete modes"
96
+ msgstr ""
97
+
98
+ #: revision-control.php:489
99
+ msgid "Compare Delete"
100
+ msgstr ""
101
+
102
+ #: revision-control.php:490
103
+ msgid "Date Created"
104
+ msgstr ""
105
+
106
+ #: revision-control.php:491
107
+ msgid "Author"
108
+ msgstr ""
109
+
110
+ #: revision-control.php:492
111
+ msgid "Actions"
112
+ msgstr ""
113
+
114
+ #: revision-control.php:498
115
+ #, php-format
116
+ msgctxt "post revision 1:datetime, 2:name"
117
+ msgid "%1$s by %2$s"
118
+ msgstr ""
119
+
120
+ #: revision-control.php:516
121
+ #: revision-control.php:651
122
+ msgid "Post"
123
+ msgid_plural "Posts"
124
+ msgstr[0] ""
125
+ msgstr[1] ""
126
+
127
+ #: revision-control.php:518
128
+ #: revision-control.php:653
129
+ msgid "Page"
130
+ msgid_plural "Pages"
131
+ msgstr[0] ""
132
+ msgstr[1] ""
133
+
134
+ #: revision-control.php:520
135
+ #, php-format
136
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
137
+ msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
138
+ msgstr ""
139
+
140
+ #: revision-control.php:548
141
+ msgid "Restore"
142
+ msgstr ""
143
+
144
+ #: revision-control.php:549
145
+ msgid "Remove"
146
+ msgstr ""
147
+
148
+ #: revision-control.php:578
149
+ msgid "Delete"
150
+ msgstr ""
151
+
152
+ #: revision-control.php:579
153
+ msgid "Compare"
154
+ msgstr ""
155
+
156
+ #: revision-control.php:583
157
+ msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
158
+ msgstr ""
159
+
160
+ #: revision-control.php:598
161
+ #, php-format
162
+ msgid "Currently storing a maximum of %s Revision"
163
+ msgid_plural "Currently storing a maximum of %s Revisions"
164
+ msgstr[0] ""
165
+ msgstr[1] ""
166
+
167
+ #: revision-control.php:600
168
+ msgid "Currently storing an Unlimited number of Revisions"
169
+ msgstr ""
170
+
171
+ #: revision-control.php:602
172
+ msgid "Not storing any Revisions"
173
+ msgstr ""
174
+
175
+ #: revision-control.php:629
176
+ msgid "Revision Control Options"
177
+ msgstr ""
178
+
179
+ #: revision-control.php:630
180
+ msgid "Default revision status for <em>Post Types</em>"
181
+ msgstr ""
182
+
183
+ #: revision-control.php:641
184
+ msgid "Default Revision Status"
185
+ msgstr ""
186
+
187
+ #: revision-control.php:672
188
+ msgid "Revision Range"
189
+ msgstr ""
190
+
191
+ #: revision-control.php:674
192
+ msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
193
+ msgstr ""
194
+
195
+ #: revision-control.php:680
196
+ msgid "Save Changes"
197
+ msgstr ""
198
+
199
+ #. Plugin URI of an extension
200
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
201
+ msgstr ""
202
+
203
+ #. Description of an extension
204
+ msgid "Allows finer control over the number of Revisions stored on a global & per-type/page basis."
205
+ msgstr ""
206
+
207
+ #. Author of an extension
208
+ msgid "Dion Hulse"
209
+ msgstr ""
210
+
langs/revision-control-DE_de.mo ADDED
Binary file
langs/revision-control-DE_de.po ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Revision Control 2.0\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
5
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
+ "Language-Team: Sven Knurr <der_tuxman@arcor.de>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
13
+ "X-Poedit-Language: German\n"
14
+ "X-Poedit-Country: GERMANY\n"
15
+
16
+ #: revision-control.php:53
17
+ msgid "Are you sure you wish to delete the selected Revisions?"
18
+ msgstr "Sind Sie sich sicher, dass Sie die ausgewählten Versionen löschen möchten?"
19
+
20
+ #: revision-control.php:54
21
+ msgid ""
22
+ "Warning: Unlocking this post will cause the latest revision to be published!\\n"
23
+ "Continue?"
24
+ msgstr ""
25
+ "Warnung: Das Entsperren dieses Artikels wird die letzte Version veröffentlichen!\\n"
26
+ "Fortfahren?"
27
+
28
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
29
+ #. Plugin Name of an extension
30
+ #: revision-control.php:69
31
+ msgid "Revision Control"
32
+ msgstr "Versionsverwaltung"
33
+
34
+ #: revision-control.php:69
35
+ msgid "Revisions"
36
+ msgstr "Versionen"
37
+
38
+ #: revision-control.php:79
39
+ msgid "Post Revisions"
40
+ msgstr "Artikelversionen"
41
+
42
+ #: revision-control.php:226
43
+ msgid "Default Revision Settings"
44
+ msgstr "Standard-Versionseinstellungen"
45
+
46
+ #: revision-control.php:227
47
+ msgid "Unlimited number of Revisions"
48
+ msgstr "Unbegrenzte Anzahl an Versionen"
49
+
50
+ #: revision-control.php:228
51
+ msgid "Do not store Revisions"
52
+ msgstr "Versionen nicht speichern"
53
+
54
+ #: revision-control.php:236
55
+ #: revision-control.php:239
56
+ #: revision-control.php:244
57
+ #, php-format
58
+ msgid "Maximum %s Revision stored"
59
+ msgid_plural "Maximum %s Revisions stored"
60
+ msgstr[0] "Maximal eine Version gespeichert"
61
+ msgstr[1] "Maximal %s Versionen gespeichert"
62
+
63
+ #: revision-control.php:382
64
+ msgid "Sorry, But you cant compare unrelated Revisions."
65
+ msgstr "Entschuldigung, aber Sie können nicht zueinander gehörende Versionen nicht miteinander vergleichen."
66
+
67
+ #: revision-control.php:392
68
+ msgid "Sorry, But you cant compare a Revision to itself."
69
+ msgstr "Entschuldigung, aber Sie können eine Version nicht mit sich selbst vergleichen."
70
+
71
+ #: revision-control.php:394
72
+ #, php-format
73
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
74
+ msgstr "Vergleiche Versionen von &#8220;%1$s&#8221;"
75
+
76
+ #: revision-control.php:410
77
+ #, php-format
78
+ msgid "Older: %s"
79
+ msgstr "Älter: %s"
80
+
81
+ #: revision-control.php:411
82
+ #, php-format
83
+ msgid "Newer: %s"
84
+ msgstr "Neuer: %s"
85
+
86
+ #: revision-control.php:449
87
+ msgid "These Revisions are identical."
88
+ msgstr "Diese Versionen sind identisch."
89
+
90
+ #: revision-control.php:453
91
+ msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
92
+ msgstr "<em>Bitte beachten Sie:</em> Derzeit werden, obwohl Taxonomien <em>(Tags / Kategorien / eigene Taxonomien)</em> mit den Versionen gespeichert werden, diese Taxonomien beim Wiederherstellen einer Version <strong>nicht</strong> ebenfalls wiederherstellen."
93
+
94
+ #: revision-control.php:480
95
+ msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
96
+ msgstr "<strong>Bitte beachten Sie:</strong>: Dieses Modul benötigt Javascript."
97
+
98
+ #: revision-control.php:489
99
+ msgid "Switch between Compare/Delete modes"
100
+ msgstr "Zwischen Vergleichs- und Löschmodus umschalten"
101
+
102
+ #: revision-control.php:489
103
+ msgid "Compare Delete"
104
+ msgstr "Vergleichen/Löschen"
105
+
106
+ #: revision-control.php:490
107
+ msgid "Date Created"
108
+ msgstr "Erstelldatum"
109
+
110
+ #: revision-control.php:491
111
+ msgid "Author"
112
+ msgstr "Verfasser"
113
+
114
+ #: revision-control.php:492
115
+ msgid "Actions"
116
+ msgstr "Aktionen"
117
+
118
+ #: revision-control.php:498
119
+ #, php-format
120
+ msgctxt "post revision 1:datetime, 2:name"
121
+ msgid "%1$s by %2$s"
122
+ msgstr "am %1$s von %2$s"
123
+
124
+ #: revision-control.php:516
125
+ #: revision-control.php:651
126
+ msgid "Post"
127
+ msgid_plural "Posts"
128
+ msgstr[0] "Beitrag"
129
+ msgstr[1] "Beiträge"
130
+
131
+ #: revision-control.php:518
132
+ #: revision-control.php:653
133
+ msgid "Page"
134
+ msgid_plural "Pages"
135
+ msgstr[0] "Seite"
136
+ msgstr[1] "Seiten"
137
+
138
+ #: revision-control.php:520
139
+ #, php-format
140
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
141
+ msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
142
+ msgstr "Versionen sind derzeit für %s aktiviert. Jedoch sind derzeit keine automatischen Sicherungen oder Versionen erstellt.<br />Sie werden hier nach dem Speichern aufgelistet. Frohes Schreiben!"
143
+
144
+ #: revision-control.php:548
145
+ msgid "Restore"
146
+ msgstr "Wiederherstellen"
147
+
148
+ #: revision-control.php:549
149
+ msgid "Remove"
150
+ msgstr "Entfernen"
151
+
152
+ #: revision-control.php:578
153
+ msgid "Delete"
154
+ msgstr "Löschen"
155
+
156
+ #: revision-control.php:579
157
+ msgid "Compare"
158
+ msgstr "Vergleichen"
159
+
160
+ #: revision-control.php:583
161
+ msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
162
+ msgstr "<strong>Fehler:</strong> <code>WP_POST_REVISIONS</code> ist in Ihrer <code>wp-config.php</code> definiert. Die <em>Versionskontrolle</em> kann nicht arbeiten."
163
+
164
+ #: revision-control.php:598
165
+ #, php-format
166
+ msgid "Currently storing a maximum of %s Revision"
167
+ msgid_plural "Currently storing a maximum of %s Revisions"
168
+ msgstr[0] "Derzeit wird maximal eine Version gespeichert"
169
+ msgstr[1] "Derzeit werden maximal %s Versionen gespeichert"
170
+
171
+ #: revision-control.php:600
172
+ msgid "Currently storing an Unlimited number of Revisions"
173
+ msgstr "Derzeit werden unbegrenzt viele Versionen gespeichert"
174
+
175
+ #: revision-control.php:602
176
+ msgid "Not storing any Revisions"
177
+ msgstr "Derzeit werden keine Versionen gespeichert"
178
+
179
+ #: revision-control.php:629
180
+ msgid "Revision Control Options"
181
+ msgstr "Optionen für die Versionskontrolle"
182
+
183
+ #: revision-control.php:630
184
+ msgid "Default revision status for <em>Post Types</em>"
185
+ msgstr "Standardversionsstatus für <em>Artikeltypen</em>"
186
+
187
+ #: revision-control.php:641
188
+ msgid "Default Revision Status"
189
+ msgstr "Standardversionsstatus"
190
+
191
+ #: revision-control.php:672
192
+ msgid "Revision Range"
193
+ msgstr "Versionsbereich"
194
+
195
+ #: revision-control.php:674
196
+ msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
197
+ msgstr "<em><strong>Hinweis:</strong> Dieses Feld ist speziell. Es steuert, was in den <code>&lt;select&gt;</code>-Feldern der Versionskontrolle erscheint.<br /> Die grundlegende Syntax hiervon ist einfach, Felder werden durch Kommata getrennt.<br /> Ein Feld kann entweder eine Zahl ODER ein Bereich sein.<br /> Beispiel: <strong>1,5</strong> zeigt 1 Version und 5 Versionen an. <strong>1..5</strong> hingegen wird 1.. 2.. 3.. 4.. 5.. Versionen anzeigen.<br /> <strong>Im Zweifel dieses Feld leer lassen.</strong></em>"
198
+
199
+ #: revision-control.php:680
200
+ msgid "Save Changes"
201
+ msgstr "Änderungen speichern"
202
+
203
+ #. Plugin URI of an extension
204
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
205
+ msgstr "http://dd32.id.au/wordpress-plugins/revision-control/"
206
+
207
+ #. Description of an extension
208
+ msgid "Allows finer control over the number of Revisions stored on a global & per-type/page basis."
209
+ msgstr "Erlaubt eine detailliertere Kontrolle über die Anzahl an Versionen, die globaloder pro Typ/Seite gespeichert werden."
210
+
211
+ #. Author of an extension
212
+ msgid "Dion Hulse"
213
+ msgstr "Dion Hulse"
214
+
langs/revision-control-de_DE.mo DELETED
Binary file
langs/revision-control-et.mo ADDED
Binary file
langs/revision-control-et.po ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Revision Control ET\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
5
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Lembit Kivisik <lembit@designux.com>\n"
8
+ "Language-Team: Lembit Kivisik <lembit@designux.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Estonian\n"
13
+ "X-Poedit-Country: ESTONIA\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
16
+ "X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_attr__;_n\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+
20
+ #: revision-control.php:53
21
+ msgid "Are you sure you wish to delete the selected Revisions?"
22
+ msgstr "Oled kindel, et soovid valitud versioonid kustutada?"
23
+
24
+ #: revision-control.php:54
25
+ msgid ""
26
+ "Warning: Unlocking this post will cause the latest revision to be published!\\n"
27
+ "Continue?"
28
+ msgstr ""
29
+ "Hoiatus: avaldatakse kõige värskem versioon!\\n"
30
+ "Jätkan?"
31
+
32
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
33
+ #. Plugin Name of an extension
34
+ #: revision-control.php:69
35
+ msgid "Revision Control"
36
+ msgstr "Versioonihaldus"
37
+
38
+ # Seaded menüü
39
+ #: revision-control.php:69
40
+ msgid "Revisions"
41
+ msgstr "Revisions"
42
+
43
+ # Ekraaniseaded
44
+ #: revision-control.php:79
45
+ msgid "Post Revisions"
46
+ msgstr "Versioonid"
47
+
48
+ # <select> valikmenüüd
49
+ #: revision-control.php:226
50
+ msgid "Default Revision Settings"
51
+ msgstr "Vaikimisi seade"
52
+
53
+ # <select> valikmenüüd
54
+ #: revision-control.php:227
55
+ msgid "Unlimited number of Revisions"
56
+ msgstr "Piiramatu hulk versioone"
57
+
58
+ # <select> valikmenüüd
59
+ #: revision-control.php:228
60
+ msgid "Do not store Revisions"
61
+ msgstr "Ära säilita versioone"
62
+
63
+ # <select> valikmenüüd
64
+ #: revision-control.php:236
65
+ #: revision-control.php:239
66
+ #: revision-control.php:244
67
+ #, php-format
68
+ msgid "Maximum %s Revision stored"
69
+ msgid_plural "Maximum %s Revisions stored"
70
+ msgstr[0] "Säilita %s versioon"
71
+ msgstr[1] "Säilita %s versiooni"
72
+
73
+ #: revision-control.php:382
74
+ msgid "Sorry, But you cant compare unrelated Revisions."
75
+ msgstr "Seoseta versioone ei saa võrrelda."
76
+
77
+ #: revision-control.php:392
78
+ msgid "Sorry, But you cant compare a Revision to itself."
79
+ msgstr "Versiooni ei saa võrrelda iseendaga."
80
+
81
+ #: revision-control.php:394
82
+ #, php-format
83
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
84
+ msgstr "Võrdle &#8220;%1$s&#8221; versioone"
85
+
86
+ # Siinne muutuja: k/p versioonivõrdluse lightbox dialoogis.
87
+ #: revision-control.php:410
88
+ #, php-format
89
+ msgid "Older: %s"
90
+ msgstr "Vanemad: %s"
91
+
92
+ # Siinne muutuja: k/p versioonivõrdluse lightbox dialoogis.
93
+ #: revision-control.php:411
94
+ #, php-format
95
+ msgid "Newer: %s"
96
+ msgstr "Uuemad: %s"
97
+
98
+ #: revision-control.php:449
99
+ msgid "These Revisions are identical."
100
+ msgstr "Versioonid on identsed."
101
+
102
+ #: revision-control.php:453
103
+ msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
104
+ msgstr "<em>Märkus:</em> sildid, rubriigid ja <em>Custom Taxonomies</em> küll säilitatakse koos versioonidega, kuid versiooni taastamisel neid praeguse seisuga <strong>ei taastata</strong>."
105
+
106
+ # JS OFF
107
+ #: revision-control.php:480
108
+ msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
109
+ msgstr "<strong>NB!</strong> Moodul vajab tööks Javascript'i."
110
+
111
+ # 1. veeru pealk. title-atribuut postituse/lehe vaates
112
+ #: revision-control.php:489
113
+ msgid "Switch between Compare/Delete modes"
114
+ msgstr "Vaheta võrdlemise / kustutamise vahel"
115
+
116
+ # 1. veeru pealk. postituse/lehe vaates
117
+ #: revision-control.php:489
118
+ msgid "Compare Delete"
119
+ msgstr "Võrdle Kustuta"
120
+
121
+ #: revision-control.php:490
122
+ msgid "Date Created"
123
+ msgstr "Avaldatud"
124
+
125
+ #: revision-control.php:491
126
+ msgid "Author"
127
+ msgstr "Autor"
128
+
129
+ # Nagu pea-tõlkes nt. "masstegevused".
130
+ #: revision-control.php:492
131
+ msgid "Actions"
132
+ msgstr "Tegevused"
133
+
134
+ #: revision-control.php:498
135
+ #, php-format
136
+ msgctxt "post revision 1:datetime, 2:name"
137
+ msgid "%1$s by %2$s"
138
+ msgstr "%1$s / %2$s"
139
+
140
+ #: revision-control.php:516
141
+ #: revision-control.php:651
142
+ msgid "Post"
143
+ msgid_plural "Posts"
144
+ msgstr[0] "Postitus"
145
+ msgstr[1] "Postitused"
146
+
147
+ #: revision-control.php:518
148
+ #: revision-control.php:653
149
+ msgid "Page"
150
+ msgid_plural "Pages"
151
+ msgstr[0] "Leht"
152
+ msgstr[1] "Lehed"
153
+
154
+ #: revision-control.php:520
155
+ #, php-format
156
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
157
+ msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
158
+ msgstr "%s versioonihaldus on sisse lülitatud, ent hetkel automaatsalvestused ja versioonid puuduvad.<br />Need ilmuvad siia kohe peale sisu uuendamist. Hääd kirjutamist!"
159
+
160
+ #: revision-control.php:548
161
+ msgid "Restore"
162
+ msgstr "Taasta"
163
+
164
+ #: revision-control.php:549
165
+ msgid "Remove"
166
+ msgstr "Kustuta"
167
+
168
+ #: revision-control.php:578
169
+ msgid "Delete"
170
+ msgstr "Kustuta"
171
+
172
+ #: revision-control.php:579
173
+ msgid "Compare"
174
+ msgstr "Võrdle"
175
+
176
+ #: revision-control.php:583
177
+ msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
178
+ msgstr "<strong>Viga:</strong> seade <code>WP_POST_REVISIONS</code> on määratud konfiguratsioonifailis <code>wp-config.php</code>. Selle plugina kasutamiseks pead vastava rea eemaldama."
179
+
180
+ # Lehe/postituse muutmise vaates, annab teada hetkel määratud seade.
181
+ #: revision-control.php:598
182
+ #, php-format
183
+ msgid "Currently storing a maximum of %s Revision"
184
+ msgid_plural "Currently storing a maximum of %s Revisions"
185
+ msgstr[0] "säilitatakse %s versioon."
186
+ msgstr[1] "säilitatakse kuni %s versiooni."
187
+
188
+ # Lehe/postituse muutmise vaates, annab teada hetkel määratud seade.
189
+ #: revision-control.php:600
190
+ msgid "Currently storing an Unlimited number of Revisions"
191
+ msgstr "säilitatakse piiramatu hulk versioone."
192
+
193
+ # Lehe/postituse muutmise vaates, annab teada hetkel määratud seade.
194
+ #: revision-control.php:602
195
+ msgid "Not storing any Revisions"
196
+ msgstr "versioone ei säilitata."
197
+
198
+ # Seadete lehe pealkiri
199
+ #: revision-control.php:629
200
+ msgid "Revision Control Options"
201
+ msgstr "Versioonihaldus"
202
+
203
+ # Seadete lehe alapealkiri
204
+ #: revision-control.php:630
205
+ msgid "Default revision status for <em>Post Types</em>"
206
+ msgstr "Globaalsed seaded"
207
+
208
+ # Seadete leht
209
+ #: revision-control.php:641
210
+ msgid "Default Revision Status"
211
+ msgstr "Säilitatavate versioonide arv"
212
+
213
+ # Seadete leht
214
+ #: revision-control.php:672
215
+ msgid "Revision Range"
216
+ msgstr "Valikud versioonihalduse menüüdes"
217
+
218
+ # Seadete leht
219
+ #: revision-control.php:674
220
+ msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
221
+ msgstr "<em>Siin määratakse, millised versioonide arvu valikud on saadaval versiooniseadete <code>&lt;select&gt;</code> väljadel (valikmenüüd, nagu ülal).<br />Valikud on eraldatud komadega.<br />Valiku määratlus võib olla number või numbrite vahemik.<br /> Näiteks: <strong>1,5</strong> kuvab valikud \"1 versioon\", \"5 versiooni\". <strong>1..5</strong> kuvab valikud \"1 versioon\", \"2 versiooni\" … jne, kuni \"5 versiooni\".<br /><strong>Kui kahtled, jäta see väli rahule.</strong></em>"
222
+
223
+ #: revision-control.php:680
224
+ msgid "Save Changes"
225
+ msgstr "Salvesta muudatused"
226
+
227
+ # Halda pluginaid
228
+ #. Plugin URI of an extension
229
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
230
+ msgstr "http://dd32.id.au/wordpress-plugins/revision-control/"
231
+
232
+ # Halda pluginaid
233
+ #. Description of an extension
234
+ msgid "Allows finer control over the number of Revisions stored on a global & per-type/page basis."
235
+ msgstr "Võimaldab peenhäälestada globaalset ja iga lehe või postituse kohta säilitatavate versioonide arvu."
236
+
237
+ # Halda pluginaid
238
+ #. Author of an extension
239
+ msgid "Dion Hulse"
240
+ msgstr "Dion Hulse"
241
+
242
+ #~ msgid "Enabled"
243
+ #~ msgstr "Luba"
244
+ #~ msgid " (default)"
245
+ #~ msgstr " (vaikimisi)"
246
+ #~ msgid "Disabled"
247
+ #~ msgstr "Ära luba"
248
+ #~ msgid "Settings saved."
249
+ #~ msgstr "Seaded salvestatud."
250
+
langs/revision-control-he_IL.mo CHANGED
Binary file
langs/revision-control-he_IL.po CHANGED
@@ -1,83 +1,224 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: \n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-08-04 11:38+1000\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
- "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __;_e\n"
13
- "X-Poedit-Basepath: ../\n"
14
- "X-Poedit-SearchPath-0: .\n"
 
15
 
16
- #: revision-control.php:38
17
- #: revision-control.php:151
18
- #: revision-control.php:294
19
- msgid "Revisions"
20
- msgstr "גרסאות"
 
 
 
 
 
 
21
 
22
- #: revision-control.php:41
23
- #: revision-control.php:337
 
24
  msgid "Revision Control"
25
  msgstr "ניהול גרסאות"
26
 
27
- #: revision-control.php:142
 
 
 
 
28
  msgid "Post Revisions"
29
  msgstr "גרסאות פוסטים"
30
 
31
- #: revision-control.php:153
32
- #: revision-control.php:347
33
- #: revision-control.php:368
34
- msgid "Enabled"
35
- msgstr "מאופשר"
36
-
37
- #: revision-control.php:154
38
- #: revision-control.php:157
39
- #: revision-control.php:165
40
- msgid " (default)"
41
- msgstr "(ברירת מחדל)"
42
-
43
- #: revision-control.php:156
44
- #: revision-control.php:350
45
- #: revision-control.php:371
46
- msgid "Disabled"
47
- msgstr "כבוי"
48
-
49
- #: revision-control.php:164
50
- #: revision-control.php:357
51
- #: revision-control.php:377
52
  #, php-format
53
- msgid "Limit to %d Revisions"
54
- msgstr "הגבל ל- %d גרסאות"
 
 
55
 
56
- #: revision-control.php:262
57
- msgid "Are you sure you wish to delete this Revision?"
58
- msgstr "האם ברצונך למחוק גרסאות אלו?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
- #: revision-control.php:262
61
- msgid "(delete)"
62
- msgstr "(מחיקה)"
63
 
64
- #: revision-control.php:329
65
- msgid "Settings saved."
66
- msgstr "הגדרות נשמרו."
67
 
68
- #: revision-control.php:334
69
- msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  msgstr "<strong>שגיאה:</strong> הגדרת <code>WP_POST_REVISIONS</code> בקובץ <code>wp-config.php</code> שלך, על מנת להשתמש בתוסף זה יש להסיר הגדרה זו.."
71
 
72
- #: revision-control.php:343
73
- msgid "Default Revision Status for Posts"
74
- msgstr "מצב ברירת המחדל לגרסאות עבור פוסטים"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
- #: revision-control.php:364
77
- msgid "Default Revision Status for Pages"
78
- msgstr "מצב ברירת המחדל לגרסאות עבור עמודים"
79
 
80
- #: revision-control.php:385
 
 
 
 
81
  msgid "Save Changes"
82
  msgstr "שמור שינויים"
83
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: revision control\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
5
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
6
  "PO-Revision-Date: \n"
7
+ "Last-Translator: Elad Salomons <elad@blogli.co.il>\n"
8
+ "Language-Team: Elad Salomons <elad.salomons@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Hebrew\n"
13
+ "X-Poedit-Country: ISRAEL\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
 
17
+ #: revision-control.php:53
18
+ msgid "Are you sure you wish to delete the selected Revisions?"
19
+ msgstr "האם ברצונך למחוק גרסאות אלו?"
20
+
21
+ #: revision-control.php:54
22
+ msgid ""
23
+ "Warning: Unlocking this post will cause the latest revision to be published!\\n"
24
+ "Continue?"
25
+ msgstr ""
26
+ "זהירות: ביטול הנעילה של הפוסט יגרום לגרסה האחרונה להתפרסם!\\n"
27
+ "להמשיך?"
28
 
29
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
30
+ #. Plugin Name of an extension
31
+ #: revision-control.php:69
32
  msgid "Revision Control"
33
  msgstr "ניהול גרסאות"
34
 
35
+ #: revision-control.php:69
36
+ msgid "Revisions"
37
+ msgstr "ניהול גרסאות"
38
+
39
+ #: revision-control.php:79
40
  msgid "Post Revisions"
41
  msgstr "גרסאות פוסטים"
42
 
43
+ #: revision-control.php:226
44
+ msgid "Default Revision Settings"
45
+ msgstr "ברירות מחדל"
46
+
47
+ #: revision-control.php:227
48
+ msgid "Unlimited number of Revisions"
49
+ msgstr "ללא מגבלה"
50
+
51
+ #: revision-control.php:228
52
+ msgid "Do not store Revisions"
53
+ msgstr "לא לשמור גרסאות"
54
+
55
+ #: revision-control.php:236
56
+ #: revision-control.php:239
57
+ #: revision-control.php:244
 
 
 
 
 
 
58
  #, php-format
59
+ msgid "Maximum %s Revision stored"
60
+ msgid_plural "Maximum %s Revisions stored"
61
+ msgstr[0] "לשמור גרסה אחת בלבד (%s)"
62
+ msgstr[1] "לשמור מקסימום %s גרסאות"
63
 
64
+ #: revision-control.php:382
65
+ msgid "Sorry, But you cant compare unrelated Revisions."
66
+ msgstr "לא ניתן להשוות גרסאות לא קשורות."
67
+
68
+ #: revision-control.php:392
69
+ msgid "Sorry, But you cant compare a Revision to itself."
70
+ msgstr "לא ניתן להשוות גרסה לעצמה."
71
+
72
+ #: revision-control.php:394
73
+ #, php-format
74
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
75
+ msgstr "השוואת גרסאות עבור &#8220;%1$s&#8221;"
76
+
77
+ #: revision-control.php:410
78
+ #, php-format
79
+ msgid "Older: %s"
80
+ msgstr "ישנה יותר: %s"
81
+
82
+ #: revision-control.php:411
83
+ #, php-format
84
+ msgid "Newer: %s"
85
+ msgstr "חדשה יותר: %s"
86
+
87
+ #: revision-control.php:449
88
+ msgid "These Revisions are identical."
89
+ msgstr "הגרסאות זהות."
90
+
91
+ #: revision-control.php:453
92
+ msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
93
+ msgstr "<em>שימו לב:</em> כרגע, למרות שתגיות שונות <em>(תגים / נושאים / תגיות אישיות)</em> נשמרות עם הגרסאות, שחזור גרסהl <strong>לא</strong> תשחזרן."
94
+
95
+ #: revision-control.php:480
96
+ msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
97
+ msgstr "<strong>שימו לב</strong>: מודול זה דורש שימוש בג'אווה סקריפט."
98
+
99
+ #: revision-control.php:489
100
+ msgid "Switch between Compare/Delete modes"
101
+ msgstr "החלף בין מצבי השוואה ומחיקה"
102
 
103
+ #: revision-control.php:489
104
+ msgid "Compare Delete"
105
+ msgstr "השוואה מחיקה"
106
 
107
+ #: revision-control.php:490
108
+ msgid "Date Created"
109
+ msgstr "תאריך יצירה"
110
 
111
+ #: revision-control.php:491
112
+ msgid "Author"
113
+ msgstr "מחבר"
114
+
115
+ #: revision-control.php:492
116
+ msgid "Actions"
117
+ msgstr "פעולות"
118
+
119
+ #: revision-control.php:498
120
+ #, php-format
121
+ msgctxt "post revision 1:datetime, 2:name"
122
+ msgid "%1$s by %2$s"
123
+ msgstr "%1$s מאת %2$s"
124
+
125
+ #: revision-control.php:516
126
+ #: revision-control.php:651
127
+ msgid "Post"
128
+ msgid_plural "Posts"
129
+ msgstr[0] "פוסט"
130
+ msgstr[1] "פוסטים"
131
+
132
+ #: revision-control.php:518
133
+ #: revision-control.php:653
134
+ msgid "Page"
135
+ msgid_plural "Pages"
136
+ msgstr[0] "דף"
137
+ msgstr[1] "דפים"
138
+
139
+ #: revision-control.php:520
140
+ #, php-format
141
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
142
+ msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
143
+ msgstr "גרסאות כרגע מאופשרות עבור %s, אך לא נמצאו גרסאות שמורות.<br />הם יופיעו כאן לאחר השמירה. כתיבה נעימה!"
144
+
145
+ #: revision-control.php:548
146
+ msgid "Restore"
147
+ msgstr "לשחזר"
148
+
149
+ #: revision-control.php:549
150
+ msgid "Remove"
151
+ msgstr "להסיר"
152
+
153
+ #: revision-control.php:578
154
+ msgid "Delete"
155
+ msgstr "למחוק"
156
+
157
+ #: revision-control.php:579
158
+ msgid "Compare"
159
+ msgstr "להשוות"
160
+
161
+ #: revision-control.php:583
162
+ msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
163
  msgstr "<strong>שגיאה:</strong> הגדרת <code>WP_POST_REVISIONS</code> בקובץ <code>wp-config.php</code> שלך, על מנת להשתמש בתוסף זה יש להסיר הגדרה זו.."
164
 
165
+ #: revision-control.php:598
166
+ #, php-format
167
+ msgid "Currently storing a maximum of %s Revision"
168
+ msgid_plural "Currently storing a maximum of %s Revisions"
169
+ msgstr[0] "כרגע נשמרת גרסה אחת (%s)"
170
+ msgstr[1] "כרגע נשמרות %s גרסאות"
171
+
172
+ #: revision-control.php:600
173
+ msgid "Currently storing an Unlimited number of Revisions"
174
+ msgstr "כרגע נשמרות גרסאות ללא מגבלה"
175
+
176
+ #: revision-control.php:602
177
+ msgid "Not storing any Revisions"
178
+ msgstr "לא נשמרות גרסאות"
179
+
180
+ #: revision-control.php:629
181
+ msgid "Revision Control Options"
182
+ msgstr "אפשרויות ניהול גרסאות"
183
+
184
+ #: revision-control.php:630
185
+ msgid "Default revision status for <em>Post Types</em>"
186
+ msgstr "מצב ברירת המחדל לגרסאות עבור סוגי פוסטים"
187
+
188
+ #: revision-control.php:641
189
+ msgid "Default Revision Status"
190
+ msgstr "ברירות מחדל"
191
 
192
+ #: revision-control.php:672
193
+ msgid "Revision Range"
194
+ msgstr "תחום גרסאות"
195
 
196
+ #: revision-control.php:674
197
+ msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
198
+ msgstr "<em><strong>שימו לב:</strong> זהו שדה מיוחד. הוא שולט על הערכים שיופיעו בתיבות ברירת המחדל.<br />התחביר די פשוט, ערכים מופרדים בפסיקים.<br /> ערך יכול להיות מספר או תחום.<br /> לדוגמה: <strong>1,5</strong> מציג גרסה אחת וחמש גרסאות. מצד שני <strong>1..5</strong> יציג 1, 2, 3, 4 ו- 5 גרסאות.<br /> <strong>אם יש לך ספק רצוי לא לגעת בשדה זה.</strong></em>"
199
+
200
+ #: revision-control.php:680
201
  msgid "Save Changes"
202
  msgstr "שמור שינויים"
203
 
204
+ #. Plugin URI of an extension
205
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
206
+ msgstr "http://dd32.id.au/wordpress-plugins/revision-control/"
207
+
208
+ #. Description of an extension
209
+ msgid "Allows finer control over the number of Revisions stored on a global & per-type/page basis."
210
+ msgstr "מאפשר שליטה כללית על מספר הגרסאות הנשמרות וכן באופן פרטני לכל פוסט או דף."
211
+
212
+ #. Author of an extension
213
+ msgid "Dion Hulse"
214
+ msgstr "Dion Hulse"
215
+
216
+ #~ msgid "Enabled"
217
+ #~ msgstr "מאופשר"
218
+ #~ msgid " (default)"
219
+ #~ msgstr "(ברירת מחדל)"
220
+ #~ msgid "Disabled"
221
+ #~ msgstr "כבוי"
222
+ #~ msgid "Settings saved."
223
+ #~ msgstr "הגדרות נשמרו."
224
+
langs/revision-control-it_IT.mo CHANGED
Binary file
langs/revision-control-it_IT.po CHANGED
@@ -1,10 +1,10 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-07-27 18:02+1000\n"
6
- "PO-Revision-Date: 2008-07-27 12:23+0100\n"
7
- "Last-Translator: \n"
8
  "Language-Team: SteAgl <stefano.aglietti@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -17,74 +17,211 @@ msgstr ""
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: revision-control.php:38
21
- #: revision-control.php:151
22
- #: revision-control.php:283
23
- msgid "Revisions"
24
- msgstr "Revisioni"
 
 
 
 
25
 
26
- #: revision-control.php:41
27
- #: revision-control.php:326
 
28
  msgid "Revision Control"
29
  msgstr "Controllo revisioni"
30
 
31
- #: revision-control.php:142
 
 
 
 
32
  msgid "Post Revisions"
33
  msgstr "Revisioni articolo"
34
 
35
- #: revision-control.php:153
36
- #: revision-control.php:336
37
- #: revision-control.php:357
38
- msgid "Enabled"
39
- msgstr "Abilitate"
40
-
41
- #: revision-control.php:154
42
- #: revision-control.php:157
43
- #: revision-control.php:163
44
- msgid " (default)"
45
- msgstr " (predefinito)"
46
-
47
- #: revision-control.php:156
48
- #: revision-control.php:339
49
- #: revision-control.php:360
50
- msgid "Disabled"
51
- msgstr "Disabilitate"
52
-
53
- #: revision-control.php:163
54
- #: revision-control.php:346
55
- #: revision-control.php:366
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  #, php-format
57
- msgid "Limit to %d Revisions"
58
- msgstr "Limite di %d revisioni"
 
 
 
 
 
 
 
 
59
 
60
- #: revision-control.php:252
61
- msgid "Are you sure you wish to delete this Revision?"
62
- msgstr "Si è sicuri di volre cancellare questa revisione?"
 
 
 
63
 
64
- #: revision-control.php:252
65
- msgid "(delete)"
66
- msgstr "(cancella)"
 
 
 
 
 
 
67
 
68
- #: revision-control.php:318
69
- msgid "Settings saved."
70
- msgstr "Le impostazioni sono state salvate."
71
 
72
- #: revision-control.php:323
73
- msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
74
- msgstr "<strong>Errore:</strong> Nel file <code>wp-config.php</code> la variabile <code>WP_POST_REVISIONS</code> è definita. Per poter usare questo plugin occorrerà rimuoverla."
75
 
76
- #: revision-control.php:332
77
- msgid "Default Revision Status for Posts"
78
- msgstr "Stato predefinito revisioni per gli articoli"
79
 
80
- #: revision-control.php:353
81
- msgid "Default Revision Status for Pages"
82
- msgstr "Stato predefinito revisioni per le pagine"
83
 
84
- #: revision-control.php:374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  msgid "Save Changes"
86
  msgstr "Salva le modifiche"
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  #~ msgid "Revisions:"
89
  #~ msgstr "Revisioni:"
90
  #~ msgid "Limit to"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
5
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
6
+ "PO-Revision-Date: 2010-01-10 19:20+0100\n"
7
+ "Last-Translator: SteveAgl <steagl@wordpress-it.it>\n"
8
  "Language-Team: SteAgl <stefano.aglietti@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: revision-control.php:53
21
+ msgid "Are you sure you wish to delete the selected Revisions?"
22
+ msgstr "Si è davvero sicuri di volere cancellare le revisioni selezionate?"
23
+
24
+ #: revision-control.php:54
25
+ msgid ""
26
+ "Warning: Unlocking this post will cause the latest revision to be published!\\n"
27
+ "Continue?"
28
+ msgstr ""
29
 
30
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
31
+ #. Plugin Name of an extension
32
+ #: revision-control.php:69
33
  msgid "Revision Control"
34
  msgstr "Controllo revisioni"
35
 
36
+ #: revision-control.php:69
37
+ msgid "Revisions"
38
+ msgstr "Revisioni"
39
+
40
+ #: revision-control.php:79
41
  msgid "Post Revisions"
42
  msgstr "Revisioni articolo"
43
 
44
+ #: revision-control.php:226
45
+ msgid "Default Revision Settings"
46
+ msgstr "Impostazioni predefinite per le revisioni"
47
+
48
+ #: revision-control.php:227
49
+ msgid "Unlimited number of Revisions"
50
+ msgstr "Numero di revisioni illimitato"
51
+
52
+ #: revision-control.php:228
53
+ msgid "Do not store Revisions"
54
+ msgstr "Non memorizzare le revisioni"
55
+
56
+ #: revision-control.php:236
57
+ #: revision-control.php:239
58
+ #: revision-control.php:244
59
+ #, php-format
60
+ msgid "Maximum %s Revision stored"
61
+ msgid_plural "Maximum %s Revisions stored"
62
+ msgstr[0] "Memorizzare massimo %s revisione"
63
+ msgstr[1] "Memorizzare massimo %s revisioni"
64
+
65
+ #: revision-control.php:382
66
+ msgid "Sorry, But you cant compare unrelated Revisions."
67
+ msgstr ""
68
+
69
+ #: revision-control.php:392
70
+ msgid "Sorry, But you cant compare a Revision to itself."
71
+ msgstr ""
72
+
73
+ #: revision-control.php:394
74
+ #, php-format
75
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
76
+ msgstr "Compara le revisioni di &#8220;%1$s&#8221;"
77
+
78
+ #: revision-control.php:410
79
+ #, php-format
80
+ msgid "Older: %s"
81
+ msgstr "Vecchio: %s"
82
+
83
+ #: revision-control.php:411
84
+ #, php-format
85
+ msgid "Newer: %s"
86
+ msgstr "Nuovo: %s"
87
+
88
+ #: revision-control.php:449
89
+ msgid "These Revisions are identical."
90
+ msgstr "Queste revisioni sono identiche."
91
+
92
+ #: revision-control.php:453
93
+ msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
94
+ msgstr "<em>Attenzione:</em> al momento, anche se le tassonomie <em>(Tag / Categorie / Tassonomie personalizzate)</em> vengono memorizzate con le revisioni, ripristinando una revisione, al momento, <strong>non</strong> ripristineranno le tassonomie."
95
+
96
+ #: revision-control.php:480
97
+ msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
98
+ msgstr "<strong>Attenzione</strong>: Questo modulo richiede l'utilizzo di Javascript."
99
+
100
+ #: revision-control.php:489
101
+ msgid "Switch between Compare/Delete modes"
102
+ msgstr "Scambia fra le modalità Confronta/Cancella"
103
+
104
+ #: revision-control.php:489
105
+ msgid "Compare Delete"
106
+ msgstr "Confronta Cancella"
107
+
108
+ #: revision-control.php:490
109
+ msgid "Date Created"
110
+ msgstr "Data creazione"
111
+
112
+ #: revision-control.php:491
113
+ msgid "Author"
114
+ msgstr "Autore"
115
+
116
+ #: revision-control.php:492
117
+ msgid "Actions"
118
+ msgstr "Azioni"
119
+
120
+ #: revision-control.php:498
121
  #, php-format
122
+ msgctxt "post revision 1:datetime, 2:name"
123
+ msgid "%1$s by %2$s"
124
+ msgstr "%1$s di %2$s"
125
+
126
+ #: revision-control.php:516
127
+ #: revision-control.php:651
128
+ msgid "Post"
129
+ msgid_plural "Posts"
130
+ msgstr[0] "Articolo"
131
+ msgstr[1] "Articoli"
132
 
133
+ #: revision-control.php:518
134
+ #: revision-control.php:653
135
+ msgid "Page"
136
+ msgid_plural "Pages"
137
+ msgstr[0] "Pagina"
138
+ msgstr[1] "Pagine"
139
 
140
+ #: revision-control.php:520
141
+ #, php-format
142
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
143
+ msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
144
+ msgstr "Al momento sono attive le revisioni per %s, Tuttavia non vi sono al momento revisioni o salvataggi automatici.<br />Verranno elencati qui una volta effettuato un salvataggio. Buona scrittura!"
145
+
146
+ #: revision-control.php:548
147
+ msgid "Restore"
148
+ msgstr "Ripristina"
149
 
150
+ #: revision-control.php:549
151
+ msgid "Remove"
152
+ msgstr "Rimuovi"
153
 
154
+ #: revision-control.php:578
155
+ msgid "Delete"
156
+ msgstr "Cancella"
157
 
158
+ #: revision-control.php:579
159
+ msgid "Compare"
160
+ msgstr "Confronta"
161
 
162
+ #: revision-control.php:583
163
+ msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
164
+ msgstr "<strong>Errore:</strong> Nel file <code>wp-config.php</code> la variabile <code>WP_POST_REVISIONS</code> è definita. Revision control non può funzionare."
165
 
166
+ #: revision-control.php:598
167
+ #, php-format
168
+ msgid "Currently storing a maximum of %s Revision"
169
+ msgid_plural "Currently storing a maximum of %s Revisions"
170
+ msgstr[0] "Attualmente viene memorizzata al massimo %s revisione"
171
+ msgstr[1] "Attualmente vengono memorizzate al massimo %s revisioni"
172
+
173
+ #: revision-control.php:600
174
+ msgid "Currently storing an Unlimited number of Revisions"
175
+ msgstr "Attualmente vengono memorizzate un numero illimitato di revisioni"
176
+
177
+ #: revision-control.php:602
178
+ msgid "Not storing any Revisions"
179
+ msgstr "Nessuna revisione memorizzata"
180
+
181
+ #: revision-control.php:629
182
+ msgid "Revision Control Options"
183
+ msgstr "Opzioni controllo revisioni"
184
+
185
+ #: revision-control.php:630
186
+ msgid "Default revision status for <em>Post Types</em>"
187
+ msgstr "Stato predefinito revisioni per i <em>tipi di articoli</em>"
188
+
189
+ #: revision-control.php:641
190
+ msgid "Default Revision Status"
191
+ msgstr "Stato revisione predefinito"
192
+
193
+ #: revision-control.php:672
194
+ msgid "Revision Range"
195
+ msgstr "Intervallo revisione"
196
+
197
+ #: revision-control.php:674
198
+ msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
199
+ msgstr "<em><strong>Nota:</strong> Questo è un campo speciale. Controlla ciò che appare nei campi di <code>&lt;selezione&gt;</code> delle Opzioni di revisione.<br />La sintassi di base è semplice, i campi sono separati da virgole.<br /> Un campo può essereun numero O un intervallo.<br /> Ad esempio: <strong>1,5</strong> visualizza le 1 Revisioni e 5 Revisioni. <strong>1..5</strong> per contro visualizzerà 1.. 2.. 3.. 4.. 5.. Revisioni.<br /> <strong>Nel dubbio, lasciare questo campo intoccato.</strong></em>"
200
+
201
+ #: revision-control.php:680
202
  msgid "Save Changes"
203
  msgstr "Salva le modifiche"
204
 
205
+ #. Plugin URI of an extension
206
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
207
+ msgstr "http://dd32.id.au/wordpress-plugins/revision-control/"
208
+
209
+ #. Description of an extension
210
+ msgid "Allows finer control over the number of Revisions stored on a global & per-type/page basis."
211
+ msgstr "Permette un maggior controllo sul numero di revisioni memorizzate a livello generale e in base al tipo/pagina."
212
+
213
+ #. Author of an extension
214
+ msgid "Dion Hulse"
215
+ msgstr "Dion Hulse"
216
+
217
+ #~ msgid "Enabled"
218
+ #~ msgstr "Abilitate"
219
+ #~ msgid " (default)"
220
+ #~ msgstr " (predefinito)"
221
+ #~ msgid "Disabled"
222
+ #~ msgstr "Disabilitate"
223
+ #~ msgid "Settings saved."
224
+ #~ msgstr "Le impostazioni sono state salvate."
225
  #~ msgid "Revisions:"
226
  #~ msgstr "Revisioni:"
227
  #~ msgid "Limit to"
langs/revision-control-ja.mo CHANGED
Binary file
langs/revision-control-ja.po CHANGED
@@ -1,90 +1,226 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: revison contorol ja\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-07-31 13:06+1000\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
  "Language-Team: tekapo <tekapo@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-Language: Japanese\n"
13
  "X-Poedit-Country: JAPAN\n"
 
14
  "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-KeywordsList: __;_e\n"
16
- "X-Poedit-Basepath: C:\\www\\wordpress\\wp-content\\plugins\\revision-control\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: revision-control.php:38
20
- #: revision-control.php:151
21
- #: revision-control.php:294
22
- msgid "Revisions"
23
- msgstr "リビジョン"
 
 
 
 
 
 
24
 
25
- #: revision-control.php:41
26
- #: revision-control.php:337
 
27
  msgid "Revision Control"
28
  msgstr "リビジョンコントロール"
29
 
30
- #: revision-control.php:142
 
 
 
 
31
  msgid "Post Revisions"
32
  msgstr "投稿リビジョン"
33
 
34
- #: revision-control.php:153
35
- #: revision-control.php:347
36
- #: revision-control.php:368
37
- msgid "Enabled"
38
- msgstr "使用する"
39
-
40
- #: revision-control.php:154
41
- #: revision-control.php:157
42
- #: revision-control.php:165
43
- #, fuzzy
44
- msgid " (default)"
45
- msgstr "(削除)"
46
-
47
- #: revision-control.php:156
48
- #: revision-control.php:350
49
- #: revision-control.php:371
50
- msgid "Disabled"
51
- msgstr "使用しない"
52
-
53
- #: revision-control.php:164
54
- #: revision-control.php:357
55
- #: revision-control.php:377
56
- #, fuzzy, php-format
57
- msgid "Limit to %d Revisions"
58
- msgstr "%d リビジョン"
59
-
60
- #: revision-control.php:262
61
- msgid "Are you sure you wish to delete this Revision?"
62
- msgstr "このリビジョンを削除しますか ?"
63
-
64
- #: revision-control.php:262
65
- msgid "(delete)"
66
- msgstr "(削除)"
67
-
68
- #: revision-control.php:329
69
- msgid "Settings saved."
70
- msgstr "設定を保存しました。"
71
-
72
- #: revision-control.php:334
73
- msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
74
- msgstr "<strong>エラー:</strong> <code>wp-config.php</code> ファイル内で <code>WP_POST_REVISIONS</code> が設定されています。このプラグインを利用するにはこの設定を削除してください。"
75
-
76
- #: revision-control.php:343
77
- msgid "Default Revision Status for Posts"
78
- msgstr "投稿のリビジョン設定"
79
-
80
- #: revision-control.php:364
81
- msgid "Default Revision Status for Pages"
82
- msgstr "ページのリビジョン設定"
83
-
84
- #: revision-control.php:385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  msgid "Save Changes"
86
  msgstr "変更を保存"
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  #~ msgid "Revisions:"
89
  #~ msgstr "リビジョン:"
90
  #~ msgid "Limit to"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: revison contorol ja\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
5
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
6
  "PO-Revision-Date: \n"
7
+ "Last-Translator: tai <tekapo@gmail.com>\n"
8
  "Language-Team: tekapo <tekapo@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-Language: Japanese\n"
13
  "X-Poedit-Country: JAPAN\n"
14
+ "Plural-Forms: nplurals=1; plural=0;\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;_c;__ngettext:1,2;__ngettext_noop:1,2\n"
17
+ "X-Poedit-Basepath: ./wordpress\n"
 
18
 
19
+ #: revision-control.php:53
20
+ msgid "Are you sure you wish to delete the selected Revisions?"
21
+ msgstr "本当に選択したリビジョンを削除しますか ?"
22
+
23
+ #: revision-control.php:54
24
+ msgid ""
25
+ "Warning: Unlocking this post will cause the latest revision to be published!\\n"
26
+ "Continue?"
27
+ msgstr ""
28
+ "注意: この投稿のロックを解除すると最新の投稿が公開されます ! \\n"
29
+ "続けますか ?"
30
 
31
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
32
+ #. Plugin Name of an extension
33
+ #: revision-control.php:69
34
  msgid "Revision Control"
35
  msgstr "リビジョンコントロール"
36
 
37
+ #: revision-control.php:69
38
+ msgid "Revisions"
39
+ msgstr "リビジョン"
40
+
41
+ #: revision-control.php:79
42
  msgid "Post Revisions"
43
  msgstr "投稿リビジョン"
44
 
45
+ #: revision-control.php:226
46
+ msgid "Default Revision Settings"
47
+ msgstr "デフォルト設定を使用"
48
+
49
+ #: revision-control.php:227
50
+ msgid "Unlimited number of Revisions"
51
+ msgstr "リビジョン最大保存数: 無制限"
52
+
53
+ #: revision-control.php:228
54
+ msgid "Do not store Revisions"
55
+ msgstr "投稿リビジョンを保存しない"
56
+
57
+ #: revision-control.php:236
58
+ #: revision-control.php:239
59
+ #: revision-control.php:244
60
+ #, php-format
61
+ msgid "Maximum %s Revision stored"
62
+ msgid_plural "Maximum %s Revisions stored"
63
+ msgstr[0] "リビジョン最大保存数: %s"
64
+
65
+ #: revision-control.php:382
66
+ msgid "Sorry, But you cant compare unrelated Revisions."
67
+ msgstr "別の投稿のリビジョンは比較できません。"
68
+
69
+ #: revision-control.php:392
70
+ msgid "Sorry, But you cant compare a Revision to itself."
71
+ msgstr "同じリビジョンの比較はできません。"
72
+
73
+ #: revision-control.php:394
74
+ #, php-format
75
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
76
+ msgstr "&#8220;%1$s&#8221;のリビジョン比較"
77
+
78
+ #: revision-control.php:410
79
+ #, php-format
80
+ msgid "Older: %s"
81
+ msgstr "より古い: %s"
82
+
83
+ #: revision-control.php:411
84
+ #, php-format
85
+ msgid "Newer: %s"
86
+ msgstr "より新しい: %s"
87
+
88
+ #: revision-control.php:449
89
+ msgid "These Revisions are identical."
90
+ msgstr "これらのリビジョンはまったく同一のものです。"
91
+
92
+ #: revision-control.php:453
93
+ msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
94
+ msgstr "<em>注意事項:</em> いまのところ、タクソノミー <em>(タグ / カテゴリー / カスタムタクソノミー)</em> はリビジョンと共には保存されません。リビジョンを復元してもタクソノミーは<strong>復元されません</strong>。"
95
+
96
+ #: revision-control.php:480
97
+ msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
98
+ msgstr "<strong>注意事項</strong>: このモジュールでは Javascript を利用します。"
99
+
100
+ #: revision-control.php:489
101
+ msgid "Switch between Compare/Delete modes"
102
+ msgstr "比較 / 削除モードを切り替えます。"
103
+
104
+ #: revision-control.php:489
105
+ msgid "Compare Delete"
106
+ msgstr "比較 / 削除"
107
+
108
+ #: revision-control.php:490
109
+ msgid "Date Created"
110
+ msgstr "作成日"
111
+
112
+ #: revision-control.php:491
113
+ msgid "Author"
114
+ msgstr "作成者"
115
+
116
+ #: revision-control.php:492
117
+ msgid "Actions"
118
+ msgstr "操作"
119
+
120
+ #: revision-control.php:498
121
+ #, php-format
122
+ msgctxt "post revision 1:datetime, 2:name"
123
+ msgid "%1$s by %2$s"
124
+ msgstr "%1$s : %2$s"
125
+
126
+ #: revision-control.php:516
127
+ #: revision-control.php:651
128
+ msgid "Post"
129
+ msgid_plural "Posts"
130
+ msgstr[0] "投稿"
131
+
132
+ #: revision-control.php:518
133
+ #: revision-control.php:653
134
+ msgid "Page"
135
+ msgid_plural "Pages"
136
+ msgstr[0] "固定ページ"
137
+
138
+ #: revision-control.php:520
139
+ #, php-format
140
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
141
+ msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
142
+ msgstr "%s のリビジョンは有効になっていますが、まだ自動保存されていないかリビジョンが生成されていません。<br />一度でも保存されればここにリストアップされます。"
143
+
144
+ #: revision-control.php:548
145
+ msgid "Restore"
146
+ msgstr "復元"
147
+
148
+ #: revision-control.php:549
149
+ msgid "Remove"
150
+ msgstr "除去"
151
+
152
+ #: revision-control.php:578
153
+ msgid "Delete"
154
+ msgstr "削除 "
155
+
156
+ #: revision-control.php:579
157
+ msgid "Compare"
158
+ msgstr "比較する"
159
+
160
+ #: revision-control.php:583
161
+ msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
162
+ msgstr "<strong>エラー:</strong> <code>wp-config.php</code> ファイル内で <code>WP_POST_REVISIONS</code> が設定されているので、<em>Revision Control</em> プラグインは利用できません。"
163
+
164
+ #: revision-control.php:598
165
+ #, php-format
166
+ msgid "Currently storing a maximum of %s Revision"
167
+ msgid_plural "Currently storing a maximum of %s Revisions"
168
+ msgstr[0] "最大 %s 個のリビジョンを保存します"
169
+
170
+ #: revision-control.php:600
171
+ msgid "Currently storing an Unlimited number of Revisions"
172
+ msgstr "リビジョンの最大保存数は無制限です"
173
+
174
+ #: revision-control.php:602
175
+ msgid "Not storing any Revisions"
176
+ msgstr "投稿リビジョンを保存しない"
177
+
178
+ #: revision-control.php:629
179
+ msgid "Revision Control Options"
180
+ msgstr "リビジョンコントロール設定"
181
+
182
+ #: revision-control.php:630
183
+ msgid "Default revision status for <em>Post Types</em>"
184
+ msgstr "<em>形式</em>別のデフォルト設定"
185
+
186
+ #: revision-control.php:641
187
+ msgid "Default Revision Status"
188
+ msgstr "デフォルトのリビジョン設定"
189
+
190
+ #: revision-control.php:672
191
+ msgid "Revision Range"
192
+ msgstr "リビジョン範囲"
193
+
194
+ #: revision-control.php:674
195
+ msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
196
+ msgstr "<em><strong>メモ:</strong> これは特別なフィールドで、リビジョン設定の<code>&lt;選択&gt;</code>フィールドの表示をコントロールします。 <br />基本的な書式は単純で、フィールドはコンマで分けられます。<br />フィールドは数字もしくは範囲を設定できます。<br />例: <strong>1,5</strong> はリビジョン 1 とリビジョン 5 を表示します。また、 <strong>1..5</strong> はリビジョン 1.. 2.. 3.. 4.. 5.. を表示します。.<br /> <strong>よく分からなければ、このフィールドはそのままにしておいてください。</strong></em>"
197
+
198
+ #: revision-control.php:680
199
  msgid "Save Changes"
200
  msgstr "変更を保存"
201
 
202
+ #. Plugin URI of an extension
203
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
204
+ msgstr "http://dd32.id.au/wordpress-plugins/revision-control/"
205
+
206
+ #. Description of an extension
207
+ msgid "Allows finer control over the number of Revisions stored on a global & per-type/page basis."
208
+ msgstr "全体もしくは投稿形式別に保存する投稿リビジョン数を設定できるようにします。"
209
+
210
+ #. Author of an extension
211
+ msgid "Dion Hulse"
212
+ msgstr "Dion Hulse"
213
+
214
+ #~ msgid "Enabled"
215
+ #~ msgstr "使用する"
216
+
217
+ #, fuzzy
218
+ #~ msgid " (default)"
219
+ #~ msgstr "デフォルト"
220
+ #~ msgid "Disabled"
221
+ #~ msgstr "使用しない"
222
+ #~ msgid "Settings saved."
223
+ #~ msgstr "設定を保存しました。"
224
  #~ msgid "Revisions:"
225
  #~ msgstr "リビジョン:"
226
  #~ msgid "Limit to"
langs/revision-control-ru_RU.mo CHANGED
Binary file
langs/revision-control-ru_RU.po CHANGED
@@ -1,86 +1,227 @@
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Revision Control (Russian)\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-08-15 18:23+1000\n"
6
- "PO-Revision-Date: \n"
7
  "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
  "Language-Team: Lecactus <lecactus@lecactus.ru>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
12
  "X-Poedit-Language: Russian\n"
13
  "X-Poedit-Country: RUSSIAN FEDERATION\n"
14
  "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-Basepath: ../\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: revision-control.php:38
20
- #: revision-control.php:151
21
- #: revision-control.php:294
22
- msgid "Revisions"
23
- msgstr "Ревизии"
 
 
 
 
 
 
24
 
25
- #: revision-control.php:41
26
- #: revision-control.php:337
 
27
  msgid "Revision Control"
28
  msgstr "Управление ревизиями"
29
 
30
- #: revision-control.php:142
 
 
 
 
31
  msgid "Post Revisions"
32
  msgstr "Ревизии записи"
33
 
34
- #: revision-control.php:153
35
- #: revision-control.php:347
36
- #: revision-control.php:368
37
- msgid "Enabled"
38
- msgstr "Включено"
39
-
40
- #: revision-control.php:154
41
- #: revision-control.php:157
42
- #: revision-control.php:165
43
- msgid " (default)"
44
- msgstr "(по умолчанию)"
45
-
46
- #: revision-control.php:156
47
- #: revision-control.php:350
48
- #: revision-control.php:371
49
- msgid "Disabled"
50
- msgstr "Отключено"
51
-
52
- #: revision-control.php:164
53
- #: revision-control.php:357
54
- #: revision-control.php:377
55
  #, php-format
56
- msgid "Limit to %d Revisions"
57
- msgstr "Ограничить до %d ревизий"
 
 
 
58
 
59
- #: revision-control.php:262
60
- msgid "Are you sure you wish to delete this Revision?"
61
- msgstr "Вы уверены что хотите удалить эту ревизию?"
62
 
63
- #: revision-control.php:262
64
- msgid "(delete)"
65
- msgstr "(удалить)"
66
 
67
- #: revision-control.php:329
68
- msgid "Settings saved."
69
- msgstr "Настройки сохранены."
 
70
 
71
- #: revision-control.php:334
72
- msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
73
- msgstr "<strong>Ошибка:</strong> Вы определили <code>WP_POST_REVISIONS</code> в вашем файле <code>wp-config.php</code>. Чтобы использовать этот плагин, вы должны удалить/закомментировать эту строку."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
 
75
- #: revision-control.php:343
76
- msgid "Default Revision Status for Posts"
77
- msgstr "Статус ревизий по умолчанию для записей"
78
 
79
- #: revision-control.php:364
80
- msgid "Default Revision Status for Pages"
81
- msgstr "Статус ревизий по умолчанию для страниц"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
 
83
- #: revision-control.php:385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  msgid "Save Changes"
85
  msgstr "Сохранить изменения"
86
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin Revision Control 2.0-alpha by Dion Hulse.
2
+ # Copyright (C) 2010 Dion Hulse
3
+ # This file is distributed under the same license as the Revision Control package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: Revision Control 2.0-alpha\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
10
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
11
+ "PO-Revision-Date: 2010-01-10 19:11+1000\n"
12
  "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
13
  "Language-Team: Lecactus <lecactus@lecactus.ru>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11) ? 0 : ((n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20)) ? 1 : 2);\n"
18
  "X-Poedit-Language: Russian\n"
19
  "X-Poedit-Country: RUSSIAN FEDERATION\n"
20
  "X-Poedit-SourceCharset: utf-8\n"
21
+ "X-Poedit-Basepath: .\n"
22
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;esc_attr_e;esc_attr__\n"
23
+ "X-Poedit-SearchPath-0: X:\\web\\wordpress\\plugins\\revision control 2 beta\\revision-control\n"
24
 
25
+ #: revision-control.php:53
26
+ msgid "Are you sure you wish to delete the selected Revisions?"
27
+ msgstr "Вы уверены что хотите удалить выбранные ревизии?"
28
+
29
+ #: revision-control.php:54
30
+ msgid ""
31
+ "Warning: Unlocking this post will cause the latest revision to be published!\\n"
32
+ "Continue?"
33
+ msgstr ""
34
+ "Внимание: Разблокировка этой записи вызовет публикацию последней ревизии!\\n"
35
+ "Продолжить?"
36
 
37
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
38
+ #. Plugin Name of an extension
39
+ #: revision-control.php:69
40
  msgid "Revision Control"
41
  msgstr "Управление ревизиями"
42
 
43
+ #: revision-control.php:69
44
+ msgid "Revisions"
45
+ msgstr "Ревизии"
46
+
47
+ #: revision-control.php:79
48
  msgid "Post Revisions"
49
  msgstr "Ревизии записи"
50
 
51
+ #: revision-control.php:226
52
+ msgid "Default Revision Settings"
53
+ msgstr "Стандартные настройки ревизий"
54
+
55
+ #: revision-control.php:227
56
+ msgid "Unlimited number of Revisions"
57
+ msgstr "Неограниченное количество ревизий"
58
+
59
+ #: revision-control.php:228
60
+ msgid "Do not store Revisions"
61
+ msgstr "Не хранить ревизии"
62
+
63
+ #: revision-control.php:236
64
+ #: revision-control.php:239
65
+ #: revision-control.php:244
 
 
 
 
 
 
66
  #, php-format
67
+ msgid "Maximum %s Revision stored"
68
+ msgid_plural "Maximum %s Revisions stored"
69
+ msgstr[0] "Хратить максимум %s ревизию"
70
+ msgstr[1] "Хратить максимум %s ревизии"
71
+ msgstr[2] "Хратить максимум %s ревизий"
72
 
73
+ #: revision-control.php:382
74
+ msgid "Sorry, But you cant compare unrelated Revisions."
75
+ msgstr "Извините, но вы не можете сравнивать несвязанные ревизии."
76
 
77
+ #: revision-control.php:392
78
+ msgid "Sorry, But you cant compare a Revision to itself."
79
+ msgstr "Извините, но вы не можете сравнивать ревизию с ней самой."
80
 
81
+ #: revision-control.php:394
82
+ #, php-format
83
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
84
+ msgstr "Сравнение ревизий &#8220;%1$s&#8221;"
85
 
86
+ #: revision-control.php:410
87
+ #, php-format
88
+ msgid "Older: %s"
89
+ msgstr "Старая: %s"
90
+
91
+ #: revision-control.php:411
92
+ #, php-format
93
+ msgid "Newer: %s"
94
+ msgstr "Новая: %s"
95
+
96
+ #: revision-control.php:449
97
+ msgid "These Revisions are identical."
98
+ msgstr "Эти ревизии идентичны."
99
+
100
+ #: revision-control.php:453
101
+ msgid "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present."
102
+ msgstr "<em>Пожалуйста, помните:</em> в настоящее время, не смотря на то что Таксономии <em>(Метки / Рубрики / Настраиваемые Таксономии)</em> хранятся с ревизиями, восстановление ревизии <strong>не</strong> не восстановит таксономии в настоящем времени."
103
+
104
+ #: revision-control.php:480
105
+ msgid "<strong>Please Note</strong>: This module requires the use of Javascript."
106
+ msgstr "<strong>Пожалуйста, помните</strong>: Этот модуль требует использование Javascript."
107
 
108
+ #: revision-control.php:489
109
+ msgid "Switch between Compare/Delete modes"
110
+ msgstr "Переключиться между режимами Сравнение/Удаление"
111
 
112
+ #: revision-control.php:489
113
+ msgid "Compare Delete"
114
+ msgstr "Сравнить Удалить"
115
+
116
+ #: revision-control.php:490
117
+ msgid "Date Created"
118
+ msgstr "Дата создания"
119
+
120
+ #: revision-control.php:491
121
+ msgid "Author"
122
+ msgstr "Автор"
123
+
124
+ #: revision-control.php:492
125
+ msgid "Actions"
126
+ msgstr "Действия"
127
+
128
+ #: revision-control.php:498
129
+ #, php-format
130
+ msgctxt "post revision 1:datetime, 2:name"
131
+ msgid "%1$s by %2$s"
132
+ msgstr "%1$s от %2$s"
133
 
134
+ #: revision-control.php:516
135
+ #: revision-control.php:651
136
+ msgid "Post"
137
+ msgid_plural "Posts"
138
+ msgstr[0] "Запись"
139
+ msgstr[1] "Записи"
140
+ msgstr[2] "Записей"
141
+
142
+ #: revision-control.php:518
143
+ #: revision-control.php:653
144
+ msgid "Page"
145
+ msgid_plural "Pages"
146
+ msgstr[0] "Страница"
147
+ msgstr[1] "Страницы"
148
+ msgstr[2] "Страниц"
149
+
150
+ #: revision-control.php:520
151
+ #, php-format
152
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
153
+ msgid "Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They'll be listed here once you Save. Happy Writing!"
154
+ msgstr "Ревизии в настоящее время включены для %s, однако в настоящее время нет автосохранений или ревизий<br />Они будут перечислены здесь после сохранения. Удачного блоггинга!"
155
+
156
+ #: revision-control.php:548
157
+ msgid "Restore"
158
+ msgstr "Восстановить"
159
+
160
+ #: revision-control.php:549
161
+ msgid "Remove"
162
+ msgstr "Удалить"
163
+
164
+ #: revision-control.php:578
165
+ msgid "Delete"
166
+ msgstr "Удалить"
167
+
168
+ #: revision-control.php:579
169
+ msgid "Compare"
170
+ msgstr "Сравнить"
171
+
172
+ #: revision-control.php:583
173
+ msgid "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
174
+ msgstr "<strong>Ошибка:</strong> параметр <code>WP_POST_REVISIONS</code> задан жестко в вашем файле <code>wp-config.php</code>. <em>Управление ревизиями</em> не будет работать."
175
+
176
+ #: revision-control.php:598
177
+ #, php-format
178
+ msgid "Currently storing a maximum of %s Revision"
179
+ msgid_plural "Currently storing a maximum of %s Revisions"
180
+ msgstr[0] "В настоящее время хранится максимум %s ревизия"
181
+ msgstr[1] "В настоящее время хранится максимум %s ревизии"
182
+ msgstr[2] "В настоящее время хранится максимум %s ревизий"
183
+
184
+ #: revision-control.php:600
185
+ msgid "Currently storing an Unlimited number of Revisions"
186
+ msgstr "В настоящее время хранится неограниченное число ревизий"
187
+
188
+ #: revision-control.php:602
189
+ msgid "Not storing any Revisions"
190
+ msgstr "Не хранится никаких ревизий"
191
+
192
+ #: revision-control.php:629
193
+ msgid "Revision Control Options"
194
+ msgstr "Настройки управления ревизиями"
195
+
196
+ #: revision-control.php:630
197
+ msgid "Default revision status for <em>Post Types</em>"
198
+ msgstr "Статус ревизий по умолчанию для <em>типов записей</em>"
199
+
200
+ #: revision-control.php:641
201
+ msgid "Default Revision Status"
202
+ msgstr "Статус ревизий по умолчанию"
203
+
204
+ #: revision-control.php:672
205
+ msgid "Revision Range"
206
+ msgstr "Диапазон ревизий"
207
+
208
+ #: revision-control.php:674
209
+ msgid "<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma's.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>"
210
+ msgstr "<em><strong>Примечание:</strong> Это поле особенное. Оно управляет тем что появится в полях<code>&lt;выбора&gt;</code> в настройках ревизий.<br />Основной синтаксис простой, поля разделяются запятыми.<br /> Поле может быть либо числом, ИЛИ диапазоном.<br /> Например: <strong>1,5</strong> покажет 1 ревизию, и 5 ревизий. <strong>1..5</strong> с другой стороны, покажет ревизии 1.. 2.. 3.. 4.. 5...<br /> <strong>Если сомневаетесь, оставьте это поле пустым.</strong></em>"
211
+
212
+ #: revision-control.php:680
213
  msgid "Save Changes"
214
  msgstr "Сохранить изменения"
215
 
216
+ #. Plugin URI of an extension
217
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
218
+ msgstr "http://dd32.id.au/wordpress-plugins/revision-control/"
219
+
220
+ #. Description of an extension
221
+ msgid "Allows finer control over the number of Revisions stored on a global & per-type/page basis."
222
+ msgstr ""
223
+
224
+ #. Author of an extension
225
+ msgid "Dion Hulse"
226
+ msgstr "Dion Hulse"
227
+
langs/revision-control.mo DELETED
Binary file
langs/revision-control.pot CHANGED
@@ -1,86 +1,231 @@
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Revision Control\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-07-27 18:26+1000\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
- "Language-Team: <contact@dd32.id.au>\n"
9
  "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: French\n"
13
- "X-Poedit-Country: Australia\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-Basepath: C:\\www\\wordpress\\wp-content\\plugins\\revision-control\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: revision-control.php:38
20
- #: revision-control.php:151
21
- #: revision-control.php:294
22
- msgid "Revisions"
23
  msgstr ""
24
 
25
- #: revision-control.php:41
26
- #: revision-control.php:337
 
27
  msgid "Revision Control"
28
  msgstr ""
29
 
30
- #: revision-control.php:142
 
 
 
 
31
  msgid "Post Revisions"
32
  msgstr ""
33
 
34
- #: revision-control.php:153
35
- #: revision-control.php:347
36
- #: revision-control.php:368
37
- msgid "Enabled"
 
 
 
 
 
 
38
  msgstr ""
39
 
40
- #: revision-control.php:154
41
- #: revision-control.php:157
42
- #: revision-control.php:165
43
- msgid " (default)"
 
 
 
 
 
44
  msgstr ""
45
 
46
- #: revision-control.php:156
47
- #: revision-control.php:350
48
- #: revision-control.php:371
49
- msgid "Disabled"
50
  msgstr ""
51
 
52
- #: revision-control.php:164
53
- #: revision-control.php:357
54
- #: revision-control.php:377
55
  #, php-format
56
- msgid "Limit to %d Revisions"
57
  msgstr ""
58
 
59
- #: revision-control.php:262
60
- msgid "Are you sure you wish to delete this Revision?"
 
61
  msgstr ""
62
 
63
- #: revision-control.php:262
64
- msgid "(delete)"
 
65
  msgstr ""
66
 
67
- #: revision-control.php:329
68
- msgid "Settings saved."
69
  msgstr ""
70
 
71
- #: revision-control.php:334
72
- msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
 
 
 
 
73
  msgstr ""
74
 
75
- #: revision-control.php:343
76
- msgid "Default Revision Status for Posts"
 
77
  msgstr ""
78
 
79
- #: revision-control.php:364
80
- msgid "Default Revision Status for Pages"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  msgstr ""
82
 
83
- #: revision-control.php:385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  msgid "Save Changes"
85
  msgstr ""
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin Revision Control 2.0-beta by Dion Hulse.
2
+ # Copyright (C) 2010 Dion Hulse
3
+ # This file is distributed under the same license as the Revision Control package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: Revision Control 2.0-beta\n"
10
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/revision-control\n"
11
+ "POT-Creation-Date: 2010-01-09 22:30+0000\n"
12
+ "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=utf-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
+ "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;_n:1,2;\n"
20
+
21
+ #: revision-control.php:53
22
+ msgid "Are you sure you wish to delete the selected Revisions?"
23
+ msgstr ""
24
+
25
+ #: revision-control.php:54
26
+ msgid ""
27
+ "Warning: Unlocking this post will cause the latest revision to be published!"
28
+ "\\nContinue?"
29
  msgstr ""
30
 
31
+ #. #-#-#-#-# plugin.pot (Revision Control 2.0-beta) #-#-#-#-#
32
+ #. Plugin Name of an extension
33
+ #: revision-control.php:69
34
  msgid "Revision Control"
35
  msgstr ""
36
 
37
+ #: revision-control.php:69
38
+ msgid "Revisions"
39
+ msgstr ""
40
+
41
+ #: revision-control.php:79
42
  msgid "Post Revisions"
43
  msgstr ""
44
 
45
+ #: revision-control.php:226
46
+ msgid "Default Revision Settings"
47
+ msgstr ""
48
+
49
+ #: revision-control.php:227
50
+ msgid "Unlimited number of Revisions"
51
+ msgstr ""
52
+
53
+ #: revision-control.php:228
54
+ msgid "Do not store Revisions"
55
  msgstr ""
56
 
57
+ #: revision-control.php:236 revision-control.php:239 revision-control.php:244
58
+ #, php-format
59
+ msgid "Maximum %s Revision stored"
60
+ msgid_plural "Maximum %s Revisions stored"
61
+ msgstr[0] ""
62
+ msgstr[1] ""
63
+
64
+ #: revision-control.php:382
65
+ msgid "Sorry, But you cant compare unrelated Revisions."
66
  msgstr ""
67
 
68
+ #: revision-control.php:392
69
+ msgid "Sorry, But you cant compare a Revision to itself."
 
 
70
  msgstr ""
71
 
72
+ #: revision-control.php:394
 
 
73
  #, php-format
74
+ msgid "Compare Revisions of &#8220;%1$s&#8221;"
75
  msgstr ""
76
 
77
+ #: revision-control.php:410
78
+ #, php-format
79
+ msgid "Older: %s"
80
  msgstr ""
81
 
82
+ #: revision-control.php:411
83
+ #, php-format
84
+ msgid "Newer: %s"
85
  msgstr ""
86
 
87
+ #: revision-control.php:449
88
+ msgid "These Revisions are identical."
89
  msgstr ""
90
 
91
+ #: revision-control.php:453
92
+ msgid ""
93
+ "<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / "
94
+ "Categories / Custom Taxonomies)</em> are stored with the revisions, "
95
+ "Restoring a Revision will <strong>not</strong> restore the taxonomies at "
96
+ "present."
97
  msgstr ""
98
 
99
+ #: revision-control.php:480
100
+ msgid ""
101
+ "<strong>Please Note</strong>: This module requires the use of Javascript."
102
  msgstr ""
103
 
104
+ #: revision-control.php:489
105
+ msgid "Switch between Compare/Delete modes"
106
+ msgstr ""
107
+
108
+ #: revision-control.php:489
109
+ msgid "Compare Delete"
110
+ msgstr ""
111
+
112
+ #: revision-control.php:490
113
+ msgid "Date Created"
114
+ msgstr ""
115
+
116
+ #: revision-control.php:491
117
+ msgid "Author"
118
+ msgstr ""
119
+
120
+ #: revision-control.php:492
121
+ msgid "Actions"
122
+ msgstr ""
123
+
124
+ #: revision-control.php:498
125
+ #, php-format
126
+ msgctxt "post revision 1:datetime, 2:name"
127
+ msgid "%1$s by %2$s"
128
+ msgstr ""
129
+
130
+ #: revision-control.php:516 revision-control.php:651
131
+ msgid "Post"
132
+ msgid_plural "Posts"
133
+ msgstr[0] ""
134
+ msgstr[1] ""
135
+
136
+ #: revision-control.php:518 revision-control.php:653
137
+ msgid "Page"
138
+ msgid_plural "Pages"
139
+ msgstr[0] ""
140
+ msgstr[1] ""
141
+
142
+ #: revision-control.php:520
143
+ #, php-format
144
+ msgctxt "1: the Post_Type - Posts, Pages, etc. (plural always)"
145
+ msgid ""
146
+ "Revisions are currently enabled for %s, However there are no current "
147
+ "Autosaves or Revisions created.<br />They'll be listed here once you Save. "
148
+ "Happy Writing!"
149
  msgstr ""
150
 
151
+ #: revision-control.php:548
152
+ msgid "Restore"
153
+ msgstr ""
154
+
155
+ #: revision-control.php:549
156
+ msgid "Remove"
157
+ msgstr ""
158
+
159
+ #: revision-control.php:578
160
+ msgid "Delete"
161
+ msgstr ""
162
+
163
+ #: revision-control.php:579
164
+ msgid "Compare"
165
+ msgstr ""
166
+
167
+ #: revision-control.php:583
168
+ msgid ""
169
+ "<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your "
170
+ "<code>wp-config.php</code>. <em>Revision Control</em> cannot operate."
171
+ msgstr ""
172
+
173
+ #: revision-control.php:598
174
+ #, php-format
175
+ msgid "Currently storing a maximum of %s Revision"
176
+ msgid_plural "Currently storing a maximum of %s Revisions"
177
+ msgstr[0] ""
178
+ msgstr[1] ""
179
+
180
+ #: revision-control.php:600
181
+ msgid "Currently storing an Unlimited number of Revisions"
182
+ msgstr ""
183
+
184
+ #: revision-control.php:602
185
+ msgid "Not storing any Revisions"
186
+ msgstr ""
187
+
188
+ #: revision-control.php:629
189
+ msgid "Revision Control Options"
190
+ msgstr ""
191
+
192
+ #: revision-control.php:630
193
+ msgid "Default revision status for <em>Post Types</em>"
194
+ msgstr ""
195
+
196
+ #: revision-control.php:641
197
+ msgid "Default Revision Status"
198
+ msgstr ""
199
+
200
+ #: revision-control.php:672
201
+ msgid "Revision Range"
202
+ msgstr ""
203
+
204
+ #: revision-control.php:674
205
+ msgid ""
206
+ "<em><strong>Note:</strong> This field is special. It controls what appears "
207
+ "in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic "
208
+ "syntax of this is simple, fields are seperated by comma's.<br /> A field may "
209
+ "either be a number, OR a range.<br /> For example: <strong>1,5</strong> "
210
+ "displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other "
211
+ "hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, "
212
+ "Leave this field alone.</strong></em>"
213
+ msgstr ""
214
+
215
+ #: revision-control.php:680
216
  msgid "Save Changes"
217
  msgstr ""
218
 
219
+ #. Plugin URI of an extension
220
+ msgid "http://dd32.id.au/wordpress-plugins/revision-control/"
221
+ msgstr ""
222
+
223
+ #. Description of an extension
224
+ msgid ""
225
+ "Allows finer control over the number of Revisions stored on a global & per-"
226
+ "type/page basis."
227
+ msgstr ""
228
+
229
+ #. Author of an extension
230
+ msgid "Dion Hulse"
231
+ msgstr ""
langs/translations.txt CHANGED
@@ -2,7 +2,24 @@ Translations of this plugin are welcome & any valid translations submitted will
2
 
3
  Please submit any translations in .mo/.po format to wordpress@dd32.id.au
4
 
5
- Thanks :)
6
- Dion
 
 
 
 
 
 
 
 
 
7
 
8
- Thanks to Stefano for the Italian Translation (& the help for how to use poedit:))
 
 
 
 
 
 
 
 
2
 
3
  Please submit any translations in .mo/.po format to wordpress@dd32.id.au
4
 
5
+ Also, Please, Only rely upon the .pot file when it comes to beta time, it may not be updated.
6
+ If you update from sources, please be aware that the following translation functions are used, and you'll need to tell your translation program to understand them:
7
+
8
+ Singular:
9
+ __()
10
+ _e()
11
+ esc_attr_e()
12
+ esc_attr__()
13
+
14
+ Plurals:
15
+ _n()
16
 
17
+ Dont forget to set the Plural Form in PoEdit (Or your application) as well.
18
+ If 0 1 and >1 strings are different, use:
19
+ nplurals=3; plural=(n%10==1 && n%100!=11) ? 0 : ((n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20)) ? 1 : 2)
20
+ If 0 and >1 are the same, and 1 is different, use:
21
+ nplurals=2; plural=n != 1
22
+
23
+
24
+ Thanks :)
25
+ Dion
old_langs/revision-control-by_BY.mo ADDED
Binary file
old_langs/revision-control-by_BY.po ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Revision Control\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-08-15 18:23+1000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Fat Cow <zhr@tut.by>\n"
8
+ "Language-Team: Marcis Gasuns <zhr@tut.by>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Belarusian\n"
13
+ "X-Poedit-Country: BELARUS\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-Basepath: ../\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: revision-control.php:38
20
+ #: revision-control.php:151
21
+ #: revision-control.php:294
22
+ msgid "Revisions"
23
+ msgstr "Рэвізіі"
24
+
25
+ #: revision-control.php:41
26
+ #: revision-control.php:337
27
+ msgid "Revision Control"
28
+ msgstr "Кіраванне рэвізіямі"
29
+
30
+ #: revision-control.php:142
31
+ msgid "Post Revisions"
32
+ msgstr "Рэвізіі запісу"
33
+
34
+ #: revision-control.php:153
35
+ #: revision-control.php:347
36
+ #: revision-control.php:368
37
+ msgid "Enabled"
38
+ msgstr "Уключана"
39
+
40
+ #: revision-control.php:154
41
+ #: revision-control.php:157
42
+ #: revision-control.php:165
43
+ msgid " (default)"
44
+ msgstr "(па змаўчанні)"
45
+
46
+ #: revision-control.php:156
47
+ #: revision-control.php:350
48
+ #: revision-control.php:371
49
+ msgid "Disabled"
50
+ msgstr "Адключана"
51
+
52
+ #: revision-control.php:164
53
+ #: revision-control.php:357
54
+ #: revision-control.php:377
55
+ #, php-format
56
+ msgid "Limit to %d Revisions"
57
+ msgstr "Абмежаваць да %d рэвізій"
58
+
59
+ #: revision-control.php:262
60
+ msgid "Are you sure you wish to delete this Revision?"
61
+ msgstr "Вы ўпэўненыя што жадаеце выдаліць гэтую рэвізію?"
62
+
63
+ #: revision-control.php:262
64
+ msgid "(delete)"
65
+ msgstr "(выдаліць)"
66
+
67
+ #: revision-control.php:329
68
+ msgid "Settings saved."
69
+ msgstr "Налады захаваныя."
70
+
71
+ #: revision-control.php:334
72
+ msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
73
+ msgstr "<strong>Памылка:</strong> Вы вызначылі <code>WP_POST_REVISIONS</code> у вашым файле <code>wp-config.php</code>. Каб выкарыстаць гэтая ўбудова, вы павінны выдаліць/закаментаваць гэты радок."
74
+
75
+ #: revision-control.php:343
76
+ msgid "Default Revision Status for Posts"
77
+ msgstr "Статут рэвізій па змаўчанні для запісаў"
78
+
79
+ #: revision-control.php:364
80
+ msgid "Default Revision Status for Pages"
81
+ msgstr "Статут рэвізій па змаўчанні для старонак"
82
+
83
+ #: revision-control.php:385
84
+ msgid "Save Changes"
85
+ msgstr "Захаваць змены"
86
+
{langs → old_langs}/revision-control-cs_CZ.mo RENAMED
File without changes
{langs → old_langs}/revision-control-cs_CZ.po RENAMED
File without changes
{langs → old_langs}/revision-control-es_ES.mo RENAMED
File without changes
{langs → old_langs}/revision-control-es_ES.po RENAMED
File without changes
old_langs/revision-control-et.mo ADDED
Binary file
langs/revision-control-de_DE.po → old_langs/revision-control-et.po RENAMED
@@ -1,83 +1,83 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Revision-Control\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-08-11 16:37+1000\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __;_e\n"
13
- "X-Poedit-Basepath: ../\n"
14
- "X-Poedit-SearchPath-0: .\n"
15
-
16
- #: revision-control.php:38
17
- #: revision-control.php:151
18
- #: revision-control.php:294
19
- msgid "Revisions"
20
- msgstr "Revisionen"
21
-
22
- #: revision-control.php:41
23
- #: revision-control.php:337
24
- msgid "Revision Control"
25
- msgstr "Revisionskontrolle"
26
-
27
- #: revision-control.php:142
28
- msgid "Post Revisions"
29
- msgstr "Revisionen"
30
-
31
- #: revision-control.php:153
32
- #: revision-control.php:347
33
- #: revision-control.php:368
34
- msgid "Enabled"
35
- msgstr "Aktiviert"
36
-
37
- #: revision-control.php:154
38
- #: revision-control.php:157
39
- #: revision-control.php:165
40
- msgid " (default)"
41
- msgstr " (Standard)"
42
-
43
- #: revision-control.php:156
44
- #: revision-control.php:350
45
- #: revision-control.php:371
46
- msgid "Disabled"
47
- msgstr "Deaktiviert"
48
-
49
- #: revision-control.php:164
50
- #: revision-control.php:357
51
- #: revision-control.php:377
52
- #, php-format
53
- msgid "Limit to %d Revisions"
54
- msgstr "Begrenze auf %d Revisionen"
55
-
56
- #: revision-control.php:262
57
- msgid "Are you sure you wish to delete this Revision?"
58
- msgstr "Sind Sie sich sicher, dass Sie diese Revision löschen möchen?"
59
-
60
- #: revision-control.php:262
61
- msgid "(delete)"
62
- msgstr "(löschen)"
63
-
64
- #: revision-control.php:329
65
- msgid "Settings saved."
66
- msgstr "Einstellungen gespeichert."
67
-
68
- #: revision-control.php:334
69
- msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
70
- msgstr "<strong>Fehler:</strong> Sie haben <code>WP_POST_REVISIONS</code> in Ihrer <code>wp-config.php</code>-Datei definiert; um dieses Plugin nutzen zu können, müssen Sie es entfernen."
71
-
72
- #: revision-control.php:343
73
- msgid "Default Revision Status for Posts"
74
- msgstr "Standard-Revisionsstatus für Artikel"
75
-
76
- #: revision-control.php:364
77
- msgid "Default Revision Status for Pages"
78
- msgstr "Standard-Revisionsstatus für Seiten"
79
-
80
- #: revision-control.php:385
81
- msgid "Save Changes"
82
- msgstr "Änderungen speichern"
83
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Revision Control 1.9.1\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-07-27 18:26+1000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Lembit Kivisik <lembit@designux.com>\n"
8
+ "Language-Team: Lembit Kivisik <lembit@designux.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Estonian\n"
13
+ "X-Poedit-Country: ESTONIA\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+
16
+ #: revision-control.php:38
17
+ #: revision-control.php:151
18
+ #: revision-control.php:294
19
+ msgid "Revisions"
20
+ msgstr "Versioonid"
21
+
22
+ #: revision-control.php:41
23
+ #: revision-control.php:337
24
+ msgid "Revision Control"
25
+ msgstr "Versioonihaldus"
26
+
27
+ #: revision-control.php:142
28
+ msgid "Post Revisions"
29
+ msgstr "Postituse versioonid"
30
+
31
+ #: revision-control.php:153
32
+ #: revision-control.php:347
33
+ #: revision-control.php:368
34
+ msgid "Enabled"
35
+ msgstr "Luba"
36
+
37
+ #: revision-control.php:154
38
+ #: revision-control.php:157
39
+ #: revision-control.php:165
40
+ msgid " (default)"
41
+ msgstr " (vaikimisi)"
42
+
43
+ #: revision-control.php:156
44
+ #: revision-control.php:350
45
+ #: revision-control.php:371
46
+ msgid "Disabled"
47
+ msgstr "Ära luba"
48
+
49
+ #: revision-control.php:164
50
+ #: revision-control.php:357
51
+ #: revision-control.php:377
52
+ #, php-format
53
+ msgid "Limit to %d Revisions"
54
+ msgstr "Säilita kuni %d versiooni"
55
+
56
+ #: revision-control.php:262
57
+ msgid "Are you sure you wish to delete this Revision?"
58
+ msgstr "Oled kindel, et soovid selle versiooni kustutada?"
59
+
60
+ #: revision-control.php:262
61
+ msgid "(delete)"
62
+ msgstr "(kustuta)"
63
+
64
+ #: revision-control.php:329
65
+ msgid "Settings saved."
66
+ msgstr "Seaded salvestatud."
67
+
68
+ #: revision-control.php:334
69
+ msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
70
+ msgstr "<strong>Viga:</strong> seade <code>WP_POST_REVISIONS</code> on määratud konfiguratsioonifailis <code>wp-config.php</code>. Selle plugina kasutamiseks pead seade eemaldama."
71
+
72
+ #: revision-control.php:343
73
+ msgid "Default Revision Status for Posts"
74
+ msgstr "Vaikimisi seade postitustele"
75
+
76
+ #: revision-control.php:364
77
+ msgid "Default Revision Status for Pages"
78
+ msgstr "Vaikimisi seade lehekülgedele"
79
+
80
+ #: revision-control.php:385
81
+ msgid "Save Changes"
82
+ msgstr "Salvesta muudatused"
83
+
{langs → old_langs}/revision-control-fr_FR.mo RENAMED
File without changes
{langs → old_langs}/revision-control-fr_FR.po RENAMED
File without changes
old_langs/revision-control-it_IT.mo ADDED
Binary file
old_langs/revision-control-it_IT.po ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-07-27 18:02+1000\n"
6
+ "PO-Revision-Date: 2008-07-27 12:23+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: SteAgl <stefano.aglietti@gmail.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Italian\n"
14
+ "X-Poedit-Country: ITALY\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: revision-control.php:38
21
+ #: revision-control.php:151
22
+ #: revision-control.php:283
23
+ msgid "Revisions"
24
+ msgstr "Revisioni"
25
+
26
+ #: revision-control.php:41
27
+ #: revision-control.php:326
28
+ msgid "Revision Control"
29
+ msgstr "Controllo revisioni"
30
+
31
+ #: revision-control.php:142
32
+ msgid "Post Revisions"
33
+ msgstr "Revisioni articolo"
34
+
35
+ #: revision-control.php:153
36
+ #: revision-control.php:336
37
+ #: revision-control.php:357
38
+ msgid "Enabled"
39
+ msgstr "Abilitate"
40
+
41
+ #: revision-control.php:154
42
+ #: revision-control.php:157
43
+ #: revision-control.php:163
44
+ msgid " (default)"
45
+ msgstr " (predefinito)"
46
+
47
+ #: revision-control.php:156
48
+ #: revision-control.php:339
49
+ #: revision-control.php:360
50
+ msgid "Disabled"
51
+ msgstr "Disabilitate"
52
+
53
+ #: revision-control.php:163
54
+ #: revision-control.php:346
55
+ #: revision-control.php:366
56
+ #, php-format
57
+ msgid "Limit to %d Revisions"
58
+ msgstr "Limite di %d revisioni"
59
+
60
+ #: revision-control.php:252
61
+ msgid "Are you sure you wish to delete this Revision?"
62
+ msgstr "Si è sicuri di volre cancellare questa revisione?"
63
+
64
+ #: revision-control.php:252
65
+ msgid "(delete)"
66
+ msgstr "(cancella)"
67
+
68
+ #: revision-control.php:318
69
+ msgid "Settings saved."
70
+ msgstr "Le impostazioni sono state salvate."
71
+
72
+ #: revision-control.php:323
73
+ msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
74
+ msgstr "<strong>Errore:</strong> Nel file <code>wp-config.php</code> la variabile <code>WP_POST_REVISIONS</code> è definita. Per poter usare questo plugin occorrerà rimuoverla."
75
+
76
+ #: revision-control.php:332
77
+ msgid "Default Revision Status for Posts"
78
+ msgstr "Stato predefinito revisioni per gli articoli"
79
+
80
+ #: revision-control.php:353
81
+ msgid "Default Revision Status for Pages"
82
+ msgstr "Stato predefinito revisioni per le pagine"
83
+
84
+ #: revision-control.php:374
85
+ msgid "Save Changes"
86
+ msgstr "Salva le modifiche"
87
+
88
+ #~ msgid "Revisions:"
89
+ #~ msgstr "Revisioni:"
90
+ #~ msgid "Limit to"
91
+ #~ msgstr "Limitate a"
92
+ #~ msgid "<h1>Add From Server</h1> Sorry, This plugin requires WordPress 2.5+"
93
+ #~ msgstr ""
94
+ #~ "<h1>Aggiungi da server</h1> Questo plugin richiede almeno WordPress 2.5+"
95
+ #~ msgid "Add From Server"
96
+ #~ msgstr "Aggiungi da server"
97
+ #~ msgid "Import"
98
+ #~ msgstr "Importa"
99
+ #~ msgid "Filename"
100
+ #~ msgstr "Nome file"
101
+ #~ msgid "Parent Folder"
102
+ #~ msgstr "Cartella madre"
103
+ #~ msgid "Toggle All"
104
+ #~ msgstr "Cambia tutti"
105
+ #~ msgid ""
106
+ #~ "Note: Will not take effect if selected file is within an upload folder at "
107
+ #~ "present"
108
+ #~ msgstr ""
109
+ #~ "Nota: Non avrà effetto se i file selezionati sono al momento nelal "
110
+ #~ "cartella di upload"
111
+ #~ msgid "Do not add selected files to current post Gallery"
112
+ #~ msgstr ""
113
+ #~ "Non aggiungere i file selezionati alla Galleria dell'articolo corrente"
114
+ #~ msgid "Import selected files"
115
+ #~ msgstr "Importa i file selezionati"
116
+ #~ msgid "<em>%s</em> has been added to Media library"
117
+ #~ msgstr "<em>%s</em> è statp aggiunto alla Libreria media"
118
+ #~ msgid "The uploaded file could not be moved to %s."
119
+ #~ msgstr "I file caricati non possono venir spostati in %s."
120
+ #~ msgid ""
121
+ #~ "Once you have selected files to be imported, Head over to the <a href=\"%s"
122
+ #~ "\">Media Library tab</a> to add them to your post."
123
+ #~ msgstr ""
124
+ #~ "Una volta selezionati i file da importare, andare sulla <a href=\"%s"
125
+ #~ "\">linguetta Libreria media</a> per aggiungerli al proprio articolo."
126
+ #~ msgid "Current Directory"
127
+ #~ msgstr "Directory corrente"
128
+ #~ msgid "Security hash missing."
129
+ #~ msgstr "Has di sicurezza mancante."
130
+ #~ msgid "You don't have enough access rights."
131
+ #~ msgstr "Non disponi dei permessi di accesso."
132
+ #~ msgid "<h2>Set Up Your FeedBurner Feed</h2>"
133
+ #~ msgstr "<h2>Imposta il tuo feed FeedBurner</h2>"
134
+ #~ msgid ""
135
+ #~ "<p>This plugin makes it easy to redirect 100% of traffic for your feeds "
136
+ #~ "to a FeedBurner feed you have created. FeedBurner can then track all of "
137
+ #~ "your feed subscriber traffic and usage and apply a variety of features "
138
+ #~ "you choose to improve and enhance your original WordPress feed.</p>"
139
+ #~ msgstr ""
140
+ #~ "<p>Questo plugin rende semplicissimo reindirizzare il 100% del traffico "
141
+ #~ "dei vostri feed ad un feed FeedBurner da voi creato. FeedBurner può "
142
+ #~ "tenere traccia di tutto il traffico e l'utilizzo effettuato dagli "
143
+ #~ "abbonati al feed ed applicare una serie di funzioni a vostra scelta per "
144
+ #~ "migliorare e incrementare il feed originale WordPress.</p>"
145
+ #~ msgid "To get started,"
146
+ #~ msgstr "Per iniziare,"
147
+ #~ msgid "create a FeedBurner feed for "
148
+ #~ msgstr "crea un feed Feedburner per "
149
+ #~ msgid "This feed will handle all traffic for your posts."
150
+ #~ msgstr "Questo feed gestirà tutto il traffico per gli articoli."
151
+ #~ msgid ""
152
+ #~ "Once you have created your FeedBurner feed, enter its address into the "
153
+ #~ "field below"
154
+ #~ msgstr ""
155
+ #~ "Una volta creato il feed su FeedBurner, inserire il suo indirizzo nel "
156
+ #~ "campo seguente"
157
+ #~ msgid ""
158
+ #~ "Optional: If you also want to handle your WordPress comments feed using "
159
+ #~ "FeedBurner"
160
+ #~ msgstr ""
161
+ #~ "Opzionale: Se si desidera gestire anche il feed dei commenti di WordPress "
162
+ #~ "utilizzando FeedBurner"
163
+ #~ msgid ""
164
+ #~ "create a FeedBurner comments feed</a> and then enter its address below:"
165
+ #~ msgstr ""
166
+ #~ "crea un feed dei commenti su FeedBurner</a> e quindi inserisci "
167
+ #~ "l'indirizzo qui sotto:"
168
+ #~ msgid "Save"
169
+ #~ msgstr "Salva"
170
+ #~ msgid "Sorry, you are not allowed to access this page."
171
+ #~ msgstr "Non ti è permesso accedere a questa pagina."
172
+ #~ msgid "ShareThis Options"
173
+ #~ msgstr "Opzioni ShareThis"
174
+ #~ msgid ""
175
+ #~ "Where do I go to get the ShareThis Code?<br><br>You can configure your "
176
+ #~ "ShareThis widget using our customizing tool (and be sure to register to "
177
+ #~ "get tracking) located here: <a href=\"http://sharethis.com/publisher?"
178
+ #~ "type=wpplugin\">sharethis.com/publisher?type=wpplugin</a>"
179
+ #~ msgstr ""
180
+ #~ "Dove andare per ottenere il Codice ShareThis?<br><br>Puoi configurare il "
181
+ #~ "tuo widget ShareThis tramite il nostro strumento di personalizzazione (e "
182
+ #~ "assicurati di registrarti per avere accesso al tracking) che si trova "
183
+ #~ "qui: <a href=\"http://sharethis.com/publisher?type=wpplugin\">sharethis."
184
+ #~ "com/publisher?type=wpplugin</a>"
185
+ #~ msgid "Paste your widget code in here:"
186
+ #~ msgstr "Incolla qui il tuo codice del widget:"
187
+ #~ msgid "Automatically add ShareThis to your posts?*"
188
+ #~ msgstr "Aggiungi automaticamente ShareThis ai tuoi articoli?*"
189
+ #~ msgid "Automatically add ShareThis to your pages?*"
190
+ #~ msgstr "Aggiungi automaticamente ShareThis alle tue pagine?*"
191
+ #~ msgid "Yes"
192
+ #~ msgstr "Si"
193
+ #~ msgid "No"
194
+ #~ msgstr "No"
195
+ #~ msgid ""
196
+ #~ "* Note, if you turn this off, you will want to add the <a href=\"http://"
197
+ #~ "support.sharethis.com/publishers/publishers-faq/wordpress/66\">ShareThis "
198
+ #~ "template tag</a> to your theme."
199
+ #~ msgstr ""
200
+ #~ "* Nota, se disabiliti questa opzione, dovrai aggiungere il <a href="
201
+ #~ "\"http://support.sharethis.com/publishers/publishers-faq/wordpress/66"
202
+ #~ "\">marcatore dei tempate di ShareThis</a> al tuo tema."
203
+ #~ msgid "Update ShareThis Options"
204
+ #~ msgstr "Aggiorna opzioni ShareThis"
205
+ #~ msgid "ShareThis"
206
+ #~ msgstr "ShareThis"
207
+
old_langs/revision-control-ja.mo ADDED
Binary file
old_langs/revision-control-ja.po ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: revison contorol ja\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-07-31 13:06+1000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Dion Hulse <contact@dd32.id.au>\n"
8
+ "Language-Team: tekapo <tekapo@gmail.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Japanese\n"
13
+ "X-Poedit-Country: JAPAN\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-Basepath: C:\\www\\wordpress\\wp-content\\plugins\\revision-control\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: revision-control.php:38
20
+ #: revision-control.php:151
21
+ #: revision-control.php:294
22
+ msgid "Revisions"
23
+ msgstr "リビジョン"
24
+
25
+ #: revision-control.php:41
26
+ #: revision-control.php:337
27
+ msgid "Revision Control"
28
+ msgstr "リビジョンコントロール"
29
+
30
+ #: revision-control.php:142
31
+ msgid "Post Revisions"
32
+ msgstr "投稿リビジョン"
33
+
34
+ #: revision-control.php:153
35
+ #: revision-control.php:347
36
+ #: revision-control.php:368
37
+ msgid "Enabled"
38
+ msgstr "使用する"
39
+
40
+ #: revision-control.php:154
41
+ #: revision-control.php:157
42
+ #: revision-control.php:165
43
+ #, fuzzy
44
+ msgid " (default)"
45
+ msgstr "(削除)"
46
+
47
+ #: revision-control.php:156
48
+ #: revision-control.php:350
49
+ #: revision-control.php:371
50
+ msgid "Disabled"
51
+ msgstr "使用しない"
52
+
53
+ #: revision-control.php:164
54
+ #: revision-control.php:357
55
+ #: revision-control.php:377
56
+ #, fuzzy, php-format
57
+ msgid "Limit to %d Revisions"
58
+ msgstr "%d リビジョン"
59
+
60
+ #: revision-control.php:262
61
+ msgid "Are you sure you wish to delete this Revision?"
62
+ msgstr "このリビジョンを削除しますか ?"
63
+
64
+ #: revision-control.php:262
65
+ msgid "(delete)"
66
+ msgstr "(削除)"
67
+
68
+ #: revision-control.php:329
69
+ msgid "Settings saved."
70
+ msgstr "設定を保存しました。"
71
+
72
+ #: revision-control.php:334
73
+ msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
74
+ msgstr "<strong>エラー:</strong> <code>wp-config.php</code> ファイル内で <code>WP_POST_REVISIONS</code> が設定されています。このプラグインを利用するにはこの設定を削除してください。"
75
+
76
+ #: revision-control.php:343
77
+ msgid "Default Revision Status for Posts"
78
+ msgstr "投稿のリビジョン設定"
79
+
80
+ #: revision-control.php:364
81
+ msgid "Default Revision Status for Pages"
82
+ msgstr "ページのリビジョン設定"
83
+
84
+ #: revision-control.php:385
85
+ msgid "Save Changes"
86
+ msgstr "変更を保存"
87
+
88
+ #~ msgid "Revisions:"
89
+ #~ msgstr "リビジョン:"
90
+ #~ msgid "Limit to"
91
+ #~ msgstr "次のリビジョンまで保持:"
92
+
{langs → old_langs}/revision-control-lv.mo RENAMED
File without changes
{langs → old_langs}/revision-control-lv.po RENAMED
File without changes
{langs → old_langs}/revision-control-lv_LV.mo RENAMED
File without changes
{langs → old_langs}/revision-control-lv_LV.po RENAMED
File without changes
{langs → old_langs}/revision-control-nl_NL.mo RENAMED
File without changes
{langs → old_langs}/revision-control-nl_NL.po RENAMED
File without changes
old_langs/revision-control-sv_SE.mo ADDED
Binary file
old_langs/revision-control-sv_SE.po ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Revision Control\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-07-27 18:26+1000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Linus Wileryd <linus@cutup.se>\n"
8
+ "Language-Team: <contact@dd32.id.au>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: French\n"
13
+ "X-Poedit-Country: Australia\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-Basepath: C:\\www\\wordpress\\wp-content\\plugins\\revision-control\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: revision-control.php:38
20
+ #: revision-control.php:151
21
+ #: revision-control.php:294
22
+ msgid "Revisions"
23
+ msgstr "Revision"
24
+
25
+ #: revision-control.php:41
26
+ #: revision-control.php:337
27
+ msgid "Revision Control"
28
+ msgstr "Revisionskontroll"
29
+
30
+ #: revision-control.php:142
31
+ msgid "Post Revisions"
32
+ msgstr "Inläggsrevisioner"
33
+
34
+ #: revision-control.php:153
35
+ #: revision-control.php:347
36
+ #: revision-control.php:368
37
+ msgid "Enabled"
38
+ msgstr "Aktiverad"
39
+
40
+ #: revision-control.php:154
41
+ #: revision-control.php:157
42
+ #: revision-control.php:165
43
+ msgid " (default)"
44
+ msgstr " (standard)"
45
+
46
+ #: revision-control.php:156
47
+ #: revision-control.php:350
48
+ #: revision-control.php:371
49
+ msgid "Disabled"
50
+ msgstr "Inaktiverad"
51
+
52
+ #: revision-control.php:164
53
+ #: revision-control.php:357
54
+ #: revision-control.php:377
55
+ #, php-format
56
+ msgid "Limit to %d Revisions"
57
+ msgstr "Begränsad till %d revisioner"
58
+
59
+ #: revision-control.php:262
60
+ msgid "Are you sure you wish to delete this Revision?"
61
+ msgstr "Vill du verkligen radera denna revision?"
62
+
63
+ #: revision-control.php:262
64
+ msgid "(delete)"
65
+ msgstr "(radera)"
66
+
67
+ #: revision-control.php:329
68
+ msgid "Settings saved."
69
+ msgstr "Inställningar sparade."
70
+
71
+ #: revision-control.php:334
72
+ msgid "<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it."
73
+ msgstr "<strong>Fel:</strong> Du har definierat <code>WP_POST_REVISIONS</code> i din fil <code>wp-config.php</code>, och för att kunna använda denna plugin behöver du ta bort det. "
74
+
75
+ #: revision-control.php:343
76
+ msgid "Default Revision Status for Posts"
77
+ msgstr "Ursprunglig revisionsstatus för inlägg"
78
+
79
+ #: revision-control.php:364
80
+ msgid "Default Revision Status for Pages"
81
+ msgstr "Ursprunglig revisionsstatus för sidor"
82
+
83
+ #: revision-control.php:385
84
+ msgid "Save Changes"
85
+ msgstr "Spara ändringar"
86
+
{langs → old_langs}/revision-control-tr_TR.mo RENAMED
File without changes
{langs → old_langs}/revision-control-tr_TR.po RENAMED
File without changes
{langs → old_langs}/revision-control-zh-tw.mo RENAMED
File without changes
{langs → old_langs}/revision-control-zh-tw.po RENAMED
File without changes
readme.txt CHANGED
@@ -1,44 +1,60 @@
1
  === Revision Control ===
2
  Contributors: dd32
3
- Tags: 2.7, 2.6, revisions, post, admin
4
- Requires at least: 2.7
5
- Tested up to: 2.8
6
- Stable tag: 1.9.7
7
 
8
- Revision Control allows finer control over the Post Revision system included with WordPress 2.6
9
 
10
  == Description ==
11
 
12
- Revision Control is a plugin for WordPress 2.6+ which gives the user more control over the Post/Page Revisions.
13
 
14
- The plugin allows the user to set a blog-global setting (Settings -> Revisions) for pages/posts to enable/disable/limit the number of revisions which are saved for the page/post. The user may change this setting on a per-page/post basis from the Revisions Meta box.
15
 
16
  The plugin also allows the deletion of specific revisions via the Revisions post metabox.
17
 
18
 
 
 
 
 
19
  == Changelog ==
20
 
21
- = 1.0 =
22
- * Initial Release
 
 
 
 
 
 
 
 
 
23
 
24
- = 1.1, 1.2, 1.3 =
25
- * Italian & Japanese Translations
26
- * Allows Deletion of a Single revision via the Revisions post box
27
- * The global setting has been divded into Posts and Pages, The setting should now stick past a page load
28
- * The per-post setting should now correctly work again (After a bug introduced in 1.2)
29
 
30
- = 1.5 =
31
- * Skipped 1.4
32
- * Sticking option values should finally be fixed.
33
- * Thanks to Translators, Apologies to Translators for releasing 1.5 with changes before getting updated lang files
34
 
35
- = 1.6 =
36
- * oops, Forgot something from 1.5: If you set the page/posts's option to the *same* as the default, Then the per-page option is now forgotten.
 
37
 
38
- = 1.7 =
39
- * Fix a bug with Firefox stealing the focus on the Revision limit drop-down, Thanks Viper007Bond
40
- * Added HeBrew translation, Thanks Elad!
41
- * No features added.
 
 
 
 
 
 
42
 
43
  = 1.8 =
44
  * German Translation from Tux
@@ -49,22 +65,29 @@ The plugin also allows the deletion of specific revisions via the Revisions post
49
  * Bug fix: Limit revisions dropdown sticks to 2 revisions on admin panel.
50
  * No features added.
51
 
52
- = 1.9 =
53
- * Spanish Translation from Alejandro
54
- * Turkish Translation from Semih
55
- * Latvian Translation from Rolands
56
- * Fix 'Disabled' per-object checkbox
57
- * Introduce DD32's common data class, Adds Update version changelog functionality
58
- * WP 2.7 compatibility, This is mainly a maintanence release until version 2.0 is fully finalised.
59
 
60
- = 1.9.1 =
61
- * Small bugfixes
62
 
63
- = 1.9.7 =
64
- * 1.9.2, 1.9.3, 1.9.5 all seem screwy, Something was wrong with my SVN client, it was commiting from a previous revision and not my current revision...
65
- * 2.8.1 compatibility
 
 
 
 
 
 
 
 
 
 
66
 
67
  == Screenshots ==
68
 
69
- 1. The Global Settings
70
- 2. The per-post Settings
1
  === Revision Control ===
2
  Contributors: dd32
3
+ Tags: 2.9, revisions, post, admin
4
+ Requires at least: 2.9
5
+ Tested up to: 3.0
6
+ Stable tag: 2.0
7
 
8
+ Revision Control allows finer control over the Post Revision system included with WordPress
9
 
10
  == Description ==
11
 
12
+ Revision Control is a plugin for WordPress 2.9+ which gives the user more control over the Revision functionality.
13
 
14
+ The plugin allows the user to set a site-global setting (Settings -> Revisions) for pages/posts to enable/disable/limit the number of revisions which are saved for the page/post. The user may change this setting on a per-page/post basis from the Revisions Meta box.
15
 
16
  The plugin also allows the deletion of specific revisions via the Revisions post metabox.
17
 
18
 
19
+ == Faq ==
20
+ Q. How can i delete revisions?
21
+ A. At present, The only way to delete revisions is either, Individually on the Post/Page edit screen, Or by changing to Bulk deletion mode by clicking on the "Compare Delete" column header.
22
+
23
  == Changelog ==
24
 
25
+ = 2.0 =
26
+ * Rewrite from scratch(99%) utilising 2.9 only functionality
27
+ * Better support for custom post types, Next release will finialise it in line with WordPress 3.0 development
28
+ * Storing of Taxonomy changes in revisions (eg. You can see that TagX was added, while Category Z was removed.)
29
+ * Translations:
30
+ * German Translation from Tux
31
+ * Hebrew Translation from Elad Salomons - http://elad.blogli.co.il
32
+ * Russian Translation from Lecactus
33
+ * Italian Translation from Stefano Aglietti
34
+ * Estonian Translation from Lembit
35
+ * Japanese Translation from Tai
36
 
37
+ = 2.0-pre =
38
+ * Swedish Translation from Linus
39
+ * Estonian Translation from "Lembit Kivisik" <lembit@designux.com>
 
 
40
 
41
+ = 1.9.x =
42
+ * Belorussian translation from Marcis
 
 
43
 
44
+ = 1.9.7 =
45
+ * 1.9.2, 1.9.3, 1.9.5 all seem screwy, Something was wrong with my SVN client, it was commiting from a previous revision and not my current revision...
46
+ * 2.8.1 compatibility
47
 
48
+ = 1.9.1 =
49
+ * Small bugfixes
50
+
51
+ = 1.9 =
52
+ * Spanish Translation from Alejandro
53
+ * Turkish Translation from Semih
54
+ * Latvian Translation from Rolands
55
+ * Fix 'Disabled' per-object checkbox
56
+ * Introduce DD32's common data class, Adds Update version changelog functionality
57
+ * WP 2.7 compatibility, This is mainly a maintanence release until version 2.0 is fully finalised.
58
 
59
  = 1.8 =
60
  * German Translation from Tux
65
  * Bug fix: Limit revisions dropdown sticks to 2 revisions on admin panel.
66
  * No features added.
67
 
68
+ = 1.7 =
69
+ * Fix a bug with Firefox stealing the focus on the Revision limit drop-down, Thanks Viper007Bond
70
+ * Added HeBrew translation, Thanks Elad!
71
+ * No features added.
 
 
 
72
 
73
+ = 1.6 =
74
+ * oops, Forgot something from 1.5: If you set the page/posts's option to the *same* as the default, Then the per-page option is now forgotten.
75
 
76
+ = 1.5 =
77
+ * Skipped 1.4
78
+ * Sticking option values should finally be fixed.
79
+ * Thanks to Translators, Apologies to Translators for releasing 1.5 with changes before getting updated lang files
80
+
81
+ = 1.1, 1.2, 1.3 =
82
+ * Italian & Japanese Translations
83
+ * Allows Deletion of a Single revision via the Revisions post box
84
+ * The global setting has been divded into Posts and Pages, The setting should now stick past a page load
85
+ * The per-post setting should now correctly work again (After a bug introduced in 1.2)
86
+
87
+ = 1.0 =
88
+ * Initial Release
89
 
90
  == Screenshots ==
91
 
92
+ 1. The Revisions Meta box
93
+ 2. Revision Controls global settings
revision-control.css ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ table.post-revisions tr.locked-revision,
2
+ table.post-revisions tr.current-revision{
3
+ background-color:#E1F8DA;
4
+ }
5
+
6
+ table.post-revisions a.lock,
7
+ table.post-revisions a.unlock {
8
+ color:#F00;
9
+ }
10
+
11
+ h2.center {
12
+ text-align: center !important;
13
+ }
revision-control.js ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery( function($) {
2
+
3
+ $('a#revision-compare-delete-label').bind('click',
4
+ function () {
5
+ $(this).parents('table').find('.check-column input.toggle-type').toggle();
6
+ });
7
+
8
+ $('#revisions-delete').bind('click',
9
+ function () {
10
+ if ( !confirm( RevisionControl.deleterevisions ) )
11
+ return;
12
+
13
+ var checked = [];
14
+ $('#revisionsdiv :checkbox').each(function(i, element) {
15
+ if ( $(element).is(':checked') ) {
16
+ checked[checked.length] = $(element).val();
17
+ $(element).parents('tr').css('background-color', '#f7d2d6');
18
+ }
19
+ });
20
+ $.post('admin-post.php', {
21
+ action: 'revision-control-delete',
22
+ revisions: checked.join(','),
23
+ _wpnonce: $('#revision-control-delete-nonce').val()
24
+ }, function (xml) {
25
+
26
+ var r = wpAjax.parseAjaxResponse(xml);
27
+
28
+ var success = r.responses[0].data;
29
+ if ( -1 == success ) {
30
+ //Error - Failed to delete.
31
+ alert("Fail: " + xml);
32
+ } else {
33
+ //Removed OK
34
+ var revs = r.responses[0].supplemental.revisions.split(',');
35
+ for( var i in revs ) {
36
+ $('#revision-row-' + revs[i]).animate( {backgroundColor:'#fb4357'}, 1000).fadeOut(300, function() { $(this).remove(); });
37
+ }
38
+ }
39
+ });
40
+ });
41
+ $('#revisions-compare').bind('click',
42
+ function () {
43
+ var left = $(this).parents('table').find('input.left:checked').val();
44
+ var right = $(this).parents('table').find('input.right:checked').val();
45
+ if ( undefined == left || undefined == right ) {
46
+ alert(RevisionControl.selectbothradio);
47
+ return;
48
+ }
49
+
50
+ tb_show(RevisionControl.revisioncompare, 'admin-post.php?action=revision-control-revision-compare&left=' + left + '&right=' + right + '&TB_iframe=true', false);
51
+
52
+ this.blur();
53
+
54
+ });
55
+
56
+ /*$('table.post-revisions a.unlock').bind('click', function() {
57
+ return confirm( RevisionControl.unlockrevision );
58
+ });
59
+
60
+ $('table.post-revisions .check-column :radio').bind('click',
61
+ function() {
62
+ var inputs = $('table.post-revisions .check-column :radio');
63
+ var left = $('table.post-revisions .check-column :radio .left');
64
+
65
+ var current_id = $(this).attr('value');
66
+
67
+ var i, checkCount = 0, side, leftchecked = false, rightchecked = true;
68
+ for ( i = 0; i < inputs.length; i++ ) {
69
+ checked = $(inputs[i]).attr('checked');
70
+ side = $(inputs[i]).attr('name');
71
+ checkCount += checked ? 1 : 0;
72
+ if ( checked ) {
73
+ if ( 'left' == side )
74
+ leftchecked = true;
75
+ else if ( 'right' == side )
76
+ rightchecked = true;
77
+ $(inputs[i]).removeClass('red');
78
+ } else if ( 'left' == side && !leftchecked & !checked )
79
+ $(inputs[i]).addClass('red');
80
+ elseif ( 'left' == side && leftchecked & !checked )
81
+ $(inputs[i]).removeClass('red');
82
+ else if ( 'right' == side && !leftchecked )
83
+ $(inputs[i]).toggleClass('invisible');*/
84
+ /*if ( ! $(inputs[i]).attr('checked') &&
85
+ ( 'left' == side && 1 > checkCount || 'right' == side && 1 < checkCount && ( ! inputs[i-1] || ! $(inputs[i-1]).attr('checked') ) ) &&
86
+ ! ( inputs[i+1] && $(inputs[i+1]).attr('checked') && 'right' == $(inputs[i+1]).attr('name') ) )
87
+ $(inputs[i]).toggle();
88
+ else if ( 'left' == side || 'right' == side )
89
+ $(inputs[i]).toggle();
90
+ }
91
+
92
+ });*/
93
+
94
+
95
+ });
revision-control.php CHANGED
@@ -2,415 +2,729 @@
2
  /*
3
  Plugin Name: Revision Control
4
  Plugin URI: http://dd32.id.au/wordpress-plugins/revision-control/
5
- Description: Allows finer control over the number of Revisions stored on a global & per-post/page basis.
6
  Author: Dion Hulse
7
- Version: 1.9.7
8
  */
9
 
10
- /**
11
- * This function defines WP_POST_REVISIONS for the current post.
12
- * Note: The define is auto-defined to true shortly after this hook is run.
13
- */
14
- add_action('plugins_loaded', 'rc_loaded');
15
- function rc_loaded() {
16
- if ( defined('WP_POST_REVISIONS') && defined('WP_ADMIN') ) {
17
- define('RC_DEFINED_BAD', true); //Lets notify the user about this on the Revision control menu item.
18
- return;
19
- }
20
 
21
- if ( ! defined('WP_ADMIN') || ! WP_ADMIN )
22
- return;
 
 
23
 
24
- //Ok, Time to add Admin related hooks :)
25
- add_action('do_meta_boxes', 'rc_meta_box_manip', 15, 2);
26
- add_action('admin_menu', 'rc_admin_menu');
 
 
27
 
28
- //Now the Defines.
29
- rc_define();
30
- }
31
 
32
- /**
33
- * Add the Menu items.
34
- */
35
- function rc_admin_menu() {
36
- //Hack into the Menu ordering
37
- add_options_page( __('Revision Control', 'revision-control'), __('Revisions', 'revision-control'), 'manage_options', 'revision-control', 'rc_admin');
38
-
39
- //Load any translations.
40
- load_plugin_textdomain( 'revision-control',
41
- PLUGINDIR . '/' . dirname(plugin_basename(__FILE__)) . '/langs/', //2.5 Compatibility
42
- dirname(plugin_basename(__FILE__)) . '/langs/'); //2.6+, Works with custom wp-content dirs.
43
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
- /**
46
- * Defined WP_POST_REVISIONS for the current post/page/etc
47
- * Looks for Post ID's in the post and post_ID fields.
48
- */
49
- function rc_define() {
 
 
 
50
 
51
- $defaults = get_option('revision-control', true);
52
- if ( ! is_array($defaults) ) { //Upgrade from 1.0 to 1.1
53
- $defaults = array('post' => $defaults, 'page' => $defaults);
54
- update_option('revision-control', $defaults);
55
  }
 
 
 
 
56
 
57
- $current_post = rc_get_page_id();
 
 
58
 
59
- //Post or Page:
60
- if ( ! $type = rc_get_page_type($current_post) )
61
- return;
62
-
63
- $revision_status = isset($defaults[ $type ]) ? $defaults[ $type ] : true;
 
64
 
65
- define('RC_REVISION_DEFAULT', $revision_status);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
 
67
- if ( $current_post ) {
68
- //Handle per-post/page settings.
69
- $post_revision_status = get_post_meta($current_post, '_revision-control', true);
70
- if ('' !== trim($post_revision_status) ) {
71
- $revision_status = $post_revision_status;
72
-
73
- //Eugh.. maybe_serialize() bug #7383 means integers/booleans are stored as string!
74
- if ( is_string($revision_status) ) {
75
- $revision_status = (int)$revision_status;
76
- if ( 1 == $revision_status )
77
- $revision_status = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
 
 
 
 
 
 
 
 
 
79
  }
80
  }
81
 
82
- @define('WP_POST_REVISIONS', $revision_status);
83
- }
 
 
84
 
85
- /**
86
- * Determines if this is a Page or a Post, Or other.
87
- */
88
- function rc_get_page_type( $id = 0 ) {
89
- global $pagenow;
90
-
91
- if ( isset($_POST['post_type']) )
92
- return $_POST['post_type'];
93
- else if ( 'page.php' == $pagenow || 'page-new.php' == $pagenow)
94
- return 'page';
95
- else if ( 'post.php' == $pagenow || 'post-new.php' == $pagenow)
96
- return 'post';
97
- else if ( $id && $post = get_post($id) )
98
- return $post->post_type;
99
-
100
- return false;
101
- }
102
 
103
- /**
104
- * Determines the post/page's ID based on the 'post' and 'post_ID' POST/GET fields.
105
- */
106
- function rc_get_page_id() {
107
- foreach ( array( 'post_ID', 'post' ) as $field )
108
- if ( isset( $_REQUEST[ $field ] ) )
109
- return absint($_REQUEST[ $field ]);
 
 
110
 
111
- if ( isset($_REQUEST['revision']) )
112
- if ( $post = get_post( $id = absint($_REQUEST['revision']) ) )
113
- return absint($post->post_parent);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
- return false;
116
- }
 
 
 
 
 
 
 
117
 
118
- /**
119
- * Custom Revisions box
120
- * Should use the API, But remove_meta_box followed by add_meta_box doesnt appear to add the new box
121
- */
122
- function rc_meta_box_manip($page, $context) {
123
- global $wp_meta_boxes;
124
- $type = version_compare($GLOBALS['wp_version'], '2.6.999', '>') ? 'normal' : 'advanced';
125
 
126
- if ( 'dashboard' == $page )
127
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
- if ( $type != $context )
130
- return;
131
 
132
- if ( isset($wp_meta_boxes[ $page ][ $type ][ 'core' ][ 'revisionsdiv' ]) )
133
- $wp_meta_boxes[ $page ][ $type ][ 'core' ][ 'revisionsdiv' ]['callback'] = 'rc_revisions_meta_box';
134
- else
135
- add_meta_box('revisionsdiv', __('Post Revisions'), 'rc_revisions_meta_box', $page, $type, 'core');
136
  }
137
 
138
- /**
139
- * The new Revision Meta box
140
- */
141
- function rc_revisions_meta_box( $post ) {
142
- rc_list_post_revisions();
143
- ?>
144
- <strong><?php _e('Revisions', 'revision-control') ?>:</strong>
145
- <input name="revision-control" id="revision-control-true" type="radio" value="true" <?php
146
- if ( WP_POST_REVISIONS === true ) echo ' checked="checked"' ?> /><label for="revision-control-true"><?php _e('Enabled', 'revision-control');
147
- if ( RC_REVISION_DEFAULT === true ) echo '<strong>' . __(' (default)', 'revision-control') . '</strong>' ?></label>&nbsp;&nbsp;
148
- <input name="revision-control" id="revision-control-false" type="radio" value="false" <?php
149
- if ( WP_POST_REVISIONS === 0 ) echo ' checked="checked"' ?>/><label for="revision-control-false"><?php _e('Disabled', 'revision-control');
150
- if ( RC_REVISION_DEFAULT === 0 ) echo '<strong>' . __(' (default)', 'revision-control') . '</strong>' ?></label> &nbsp;&nbsp;
151
- <input name="revision-control" id="revision-control-number" type="radio" value="number" <?php
152
- if ( WP_POST_REVISIONS > 1 ) echo ' checked="checked"' ?>/>
153
- <label for="revision-control-number" onclick="return false;">
154
- <select name="revision-control-number" onclick="jQuery('#revision-control-number').attr('checked', 'checked');">
155
- <?php for ( $i = 2; $i < 15; $i++ ) : ?>
156
- <option value="<?php echo $i ?>"<?php if ( WP_POST_REVISIONS === $i ) echo ' selected="selected"'
157
- ?>><?php printf( __('Limit to %d Revisions', 'revision-control'), $i);
158
- if ( RC_REVISION_DEFAULT === $i ) _e(' (default)', 'revision-control'); ?></option>
159
- <?php endfor; ?>
160
- </select>
161
- </label>
162
- <?php
163
- }
164
 
165
- /**
166
- * Sets the per-post revision status. Also deletes any now-stale revisions.
167
- */
168
- add_action('save_post', 'rc_perpost_value');
169
- function rc_perpost_value($post_ID) {
170
- if ( ! isset($_POST['revision-control']) )
171
- return;
172
- if ( 'number' == $_POST['revision-control'] && ! isset($_POST['revision-control-number']) )
173
- return;
174
-
175
- switch ( $_POST['revision-control'] ) {
176
- case 'true':
177
- if ( RC_REVISION_DEFAULT === true ) {
178
- if ('' !== get_post_meta($post_ID, '_revision-control') )
179
- delete_post_meta($post_ID, '_revision-control');
180
- return;
 
 
 
181
  }
 
 
 
 
182
 
183
- update_post_meta($post_ID, '_revision-control', true);
184
- $number_to_delete = false;
185
- break;
186
- case 'false':
187
- if ( RC_REVISION_DEFAULT === 0 ) {
188
- if ('' !== get_post_meta($post_ID, '_revision-control') )
189
- delete_post_meta($post_ID, '_revision-control');
190
- return;
191
- }
 
 
 
 
 
 
192
 
193
- update_post_meta($post_ID, '_revision-control', 0);
194
- $number_to_delete = 0;
195
- break;
196
- case 'number':
197
- $number_to_delete = (int)$_POST['revision-control-number'];
198
- if ( RC_REVISION_DEFAULT === $number_to_delete ) {
199
- if ('' !== get_post_meta($post_ID, '_revision-control') )
200
- delete_post_meta($post_ID, '_revision-control');
201
- return;
202
- }
203
 
204
- update_post_meta($post_ID, '_revision-control', $number_to_delete);
205
- break;
206
- default:
207
- //Abort! Abort!
208
- return;
 
 
 
 
 
209
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
- if ( is_integer($number_to_delete) ) {
212
- // all revisions and (possibly) one autosave
213
- $revisions = wp_get_post_revisions( $post_ID, array( 'order' => 'ASC' ) );
 
 
 
 
 
 
214
 
215
- //Number to delete, based on option.
216
- $delete = count($revisions) - $number_to_delete;
217
-
218
- if ( $delete < 1 )
219
- return;
220
 
221
- $revisions = array_slice( $revisions, 0, $delete );
 
 
 
222
 
223
- foreach ( (array)$revisions as $revision )
224
- if ( false === strpos( $revision->post_name, 'autosave' ) )
225
- wp_delete_post_revision( $revision->ID );
226
- }
227
- }
228
 
229
- /**
230
- * Copy of wp_list_post_revisions() w/ non-list support stripped out.
231
- *
232
- */
233
- function rc_list_post_revisions( $post_id = 0 ) {
234
- if ( !$post = get_post( $post_id ) )
235
- return;
 
 
236
 
237
- if ( !$revisions = wp_get_post_revisions( $post->ID ) )
238
- return;
239
 
240
- $titlef = _c( '%1$s by %2$s|post revision 1:datetime, 2:name' );
 
 
 
 
 
 
 
241
 
242
- echo "<ul class='post-revisions'>\n";
243
- foreach ( $revisions as $revision ) {
244
- if ( !current_user_can( 'read_post', $revision->ID ) )
245
- continue;
246
 
247
- $date = wp_post_revision_title( $revision );
248
- $name = get_author_name( $revision->post_author );
 
 
 
 
 
 
249
 
250
- $title = sprintf( $titlef, $date, $name );
 
 
 
251
 
252
- if ( current_user_can( 'edit_post', $revision->ID ) && ! wp_is_post_autosave( $revision ) ) {
253
- $url = wp_nonce_url('admin-post.php?action=delete-revision&revision=' . $revision->ID, 'delete_revision-' . $revision->ID);
254
- $title .= sprintf(' <a href="' . $url . '" onclick="return confirm(\'%s\')">%s</a>', js_escape(__('Are you sure you wish to delete this Revision?', 'revision-control')), __('(delete)', 'revision-control'));
255
- }
256
- echo "\t<li>$title</li>\n";
257
- }
258
- echo "</ul>";
259
 
260
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
 
262
- /**
263
- * Deletes a Revision
264
- */
265
- add_action('admin_post_delete-revision', 'rc_delete_revision');
266
- function rc_delete_revision() {
267
- $revision = absint($_REQUEST['revision']);
268
- if ( $revision ) {
269
- check_admin_referer('delete_revision-' . $revision);
270
- if ( current_user_can('delete_post', $revision) )
271
- wp_delete_post_revision( $revision );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  }
273
- wp_safe_redirect(wp_get_referer());
274
- }
275
 
276
- /**
277
- * Add the Plugin action link.
278
- */
279
- add_filter('plugin_action_links', 'rc_plugins_filter', 10, 2);
280
- function rc_plugins_filter($links, $plugin) {
281
- static $this_plugin;
282
- if( ! $this_plugin )
283
- $this_plugin = plugin_basename(__FILE__);
284
-
285
- if( $plugin == $this_plugin ) {
286
- $links = array_merge( array('<a href="options-general.php?page=revision-control">' . __('Revisions', 'revision-control') . '</a>'), $links);
287
- remove_filter('plugin_action_links', 'rc_plugins_filter'); //Nice citizens, We dont *really* need to check anymore.
288
- }
289
 
290
- return $links;
291
- }
292
 
293
- /**
294
- * The admin page, Handles saving the setting too.
295
- * checked() / selected() cannot save us, need a === instead of ==
296
- */
297
- function rc_admin() {
298
- $defaults = get_option('revision-control');
299
 
300
- if ( 'POST' == strtoupper($_SERVER['REQUEST_METHOD']) ) {
301
- check_admin_referer('update-options');
302
-
303
- foreach ( array('post', 'page') as $field ) {
304
- if ( ! isset($_POST['revision-control-' . $field]) )
305
- continue;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
 
307
- switch ( $_POST['revision-control-' . $field] ) {
308
- case 'true':
309
- $defaults[ $field ] = true;
310
- break;
311
- case 'false':
312
- $defaults[ $field ] = 0;
313
- break;
314
- case 'number':
315
- $defaults[ $field ] = (int)$_POST['revision-control-' . $field . '-number'];
316
- break;
317
- }
 
 
 
 
 
 
 
 
318
  }
319
- if ( $defaults !== get_option('revision-control') ) {
320
- update_option('revision-control', $defaults);
321
- echo '<div id="message" class="updated fade"><p><strong>' . __('Settings saved.', 'revision-control') . '</strong></p></div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  }
324
  ?>
325
- <?php if ( defined('RC_DEFINED_BAD') ) : ?>
326
- <div class="message error"><p><?php _e('<strong>Error:</strong> You have defined <code>WP_POST_REVISIONS</code> in your <code>wp-config.php</code> file, In order to use this plugin you will need to remove it.', 'revision-control') ?></p></div>
327
- <?php endif; ?>
328
- <div class="wrap">
329
- <?php screen_icon(); ?>
330
- <h2><?php _e('Revision Control', 'revision-control') ?></h2>
331
- <form method="post" action="options-general.php?page=revision-control">
332
- <?php wp_nonce_field('update-options') ?>
333
 
334
- <table class="form-table">
335
- <tr valign="top">
336
- <th scope="row"><label for="revision-control-post"> <?php _e('Default Revision Status for Posts', 'revision-control') ?></label></th>
337
- <td>
338
- <input name="revision-control-post" id="revision-control-post-true" type="radio" value="true" <?php
339
- if ( $defaults['post'] === true || $defaults['post'] === false ) echo ' checked="checked"' ?> />
340
- <label for="revision-control-post-true"><?php _e('Enabled', 'revision-control') ?></label><br />
341
- <input name="revision-control-post" id="revision-control-post-false" type="radio" value="false" <?php
342
- if ( $defaults['post'] === 0 ) echo ' checked="checked"' ?>/>
343
- <label for="revision-control-post-false"><?php _e('Disabled', 'revision-control') ?></label><br />
344
- <input name="revision-control-post" id="revision-control-post-number" type="radio" value="number" <?php
345
- if ( is_numeric( $defaults['post'] ) && $defaults['post'] > 1 ) echo ' checked="checked"' ?>/>
346
- <label for="revision-control-post-number" onclick="return false;">
347
- <select name="revision-control-post-number" onclick="jQuery('#revision-control-post-number').attr('checked', 'checked');">
348
- <?php for ( $i = 2; $i < 15; $i++ ) : ?>
349
- <option value="<?php echo $i ?>"<?php if ( $defaults['post'] === $i ) echo ' selected="selected"'
350
- ?>><?php printf( __('Limit to %d Revisions', 'revision-control'), $i) ?></option>
351
- <?php endfor; ?>
352
- </select>
353
- </label>
354
- </td>
355
- </tr>
356
- <tr valign="top">
357
- <th scope="row"><label for="revision-control-page"> <?php _e('Default Revision Status for Pages', 'revision-control') ?></label></th>
358
- <td>
359
- <input name="revision-control-page" id="revision-control-page-true" type="radio" value="true" <?php
360
- if ( $defaults['page'] === true || $defaults['page'] === false ) echo ' checked="checked"' ?> />
361
- <label for="revision-control-page-true"><?php _e('Enabled', 'revision-control') ?></label><br />
362
- <input name="revision-control-page" id="revision-control-page-false" type="radio" value="false" <?php
363
- if ( $defaults['page'] === 0 ) echo ' checked="checked"' ?>/>
364
- <label for="revision-control-page-false"><?php _e('Disabled', 'revision-control') ?></label><br />
365
- <input name="revision-control-page" id="revision-control-page-number" type="radio" value="number" <?php
366
- if ( is_numeric( $defaults['page'] ) && $defaults['post'] > 1 ) echo ' checked="checked"' ?>/>
367
- <label for="revision-control-page-number" onclick="return false;">
368
- <select name="revision-control-page-number" onclick="jQuery('#revision-control-page-number').attr('checked', 'checked');">
369
- <?php for ( $i = 2; $i < 15; $i++ ) : ?>
370
- <option value="<?php echo $i ?>"<?php if ( $defaults['page'] === $i ) echo ' selected="selected"' ?>><?php printf( __('Limit to %d Revisions', 'revision-control'), $i) ?></option>
371
- <?php endfor; ?>
372
- </select>
373
  </label>
374
- </td>
 
 
 
375
  </tr>
 
376
  </table>
377
- <p class="submit">
378
- <input type="submit" name="Submit" value="<?php _e('Save Changes', 'revision-control') ?>" />
379
- </p>
380
- </form>
381
- </div>
382
  <?php
383
- }
384
-
385
- class revision_control {
386
- //Stub until 2.0 is finalised.
387
- var $dd32_requires = 3;
388
- var $basename = '';
389
- var $folder = '';
390
- var $version = '1.9.7';
391
 
392
- function revision_control() {
393
- //Set the directory of the plugin:
394
- $this->basename = plugin_basename(__FILE__);
395
- $this->folder = dirname($this->basename);
396
 
397
- //Set the version of the DD32 library this plugin requires.
398
- $GLOBALS['dd32_version'] = isset($GLOBALS['dd32_version']) ? max($GLOBALS['dd32_version'], $this->dd32_requires) : $this->dd32_requires;
399
- add_action('init', array(&$this, 'load_dd32'), 20);
 
 
 
 
 
 
 
 
 
 
 
 
400
 
401
- //Register general hooks.
402
- add_action('admin_init', array(&$this, 'admin_init'));
403
- }
404
-
405
- function load_dd32() {
406
- //Load common library
407
- include 'inc/class.dd32.php';
408
- }
409
-
410
- function admin_init() {
411
- DD32::add_changelog($this->basename, 'http://svn.wp-plugins.org/revision-control/trunk/readme.txt');
412
- }
413
- }
414
- add_action('init', create_function('', '$GLOBALS["revision-control"] = new revision_control();'), 5);
 
 
 
 
 
 
415
 
416
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  /*
3
  Plugin Name: Revision Control
4
  Plugin URI: http://dd32.id.au/wordpress-plugins/revision-control/
5
+ Description: Allows finer control over the number of Revisions stored on a global & per-type/page basis.
6
  Author: Dion Hulse
7
+ Version: 2.0
8
  */
9
 
10
+ $GLOBALS['revision_control'] = new Plugin_Revision_Control();
11
+ class Plugin_Revision_Control {
12
+ var $basename = '';
13
+ var $folder = '';
14
+ var $version = '2.0';
15
+
16
+ var $define_failure = false;
17
+ var $options = array( 'per-type' => array('post' => 'unlimited', 'page' => 'unlimited', 'all' => 'unlimited'), 'revision-range' => '2..5,10,20,50,100' );
 
 
18
 
19
+ function Plugin_Revision_Control() {
20
+ //Set the directory of the plugin:
21
+ $this->basename = plugin_basename(__FILE__);
22
+ $this->folder = dirname($this->basename);
23
 
24
+ //Register general hooks.
25
+ add_action('init', array(&$this, 'load_translations')); // Needs to be done before admin_menu.
26
+ add_action('plugins_loaded', array(&$this, 'define_WP_POST_REVISIONS'));
27
+ add_action('admin_menu', array(&$this, 'admin_menu'));
28
+ add_action('admin_init', array(&$this, 'admin_init'));
29
 
30
+ // Load options - Must be done on inclusion as they're needed by plugins_loaded
31
+ $this->load_options();
 
32
 
33
+ }
34
+ function load_translations() {
35
+ if ( ! is_admin() )
36
+ return;
37
+ //Load any translations.
38
+ load_plugin_textdomain( 'revision-control', false, $this->folder . '/langs/');
39
+ }
40
+
41
+ function admin_init() {
42
+
43
+ // Register post/page hook:
44
+ foreach ( array('load-post-new.php', 'load-post.php', 'load-page-new.php', 'load-page.php') as $page )
45
+ add_action($page, array(&$this, 'meta_box'));
46
+
47
+ wp_register_script('revision-control', plugins_url( $this->folder . '/revision-control.js' ), array('jquery', 'wp-ajax-response'), $this->version . time());
48
+ wp_register_style('revision-control', plugins_url( $this->folder . '/revision-control.css' ), array(), $this->version . time());
49
+ wp_localize_script('revision-control', 'RevisionControl',
50
+ array(
51
+ 'deleterevisions' => __('Are you sure you wish to delete the selected Revisions?', 'revision-control'),
52
+ 'unlockrevision' => __('Warning: Unlocking this post will cause the latest revision to be published!\nContinue?', 'revision-control'),
53
+ 'selectbothradio' => __('Please select a Left and Right revision to compare', 'revision-control'),
54
+ 'revisioncompare' => __('Revision Compare', 'revision-control')
55
+ ) );
56
+
57
+ // Add post handlers.
58
+ add_action('admin_post_revision-control-delete', array('Plugin_Revision_Control_Ajax', 'delete_revisions'));
59
+ add_action('admin_post_revision-control-options', array('Plugin_Revision_Control_Ajax', 'save_options'));
60
+ add_action('admin_post_revision-control-revision-compare', array('Plugin_Revision_Control_UI', 'compare_revisions_iframe'));
61
+
62
+ add_action('save_post', array(&$this, 'save_post'), 10, 2);
63
+
64
+ // Version the terms.
65
+ add_action('_wp_put_post_revision', array(&$this, 'version_terms') );
66
+ }
67
+
68
+ function admin_menu() {
69
+ add_options_page( __('Revision Control', 'revision-control'), __('Revisions', 'revision-control'), 'manage_options', 'revision-control', array('Plugin_Revision_Control_UI', 'admin_page'));
70
+ }
71
+
72
+ function meta_box() {
73
+ if ( function_exists('post_type_supports') ) {
74
+ $types = array();
75
+ $_types = get_post_types();
76
+ foreach ( $_types as $type ) {
77
+ if ( post_type_supports($type, 'revisions') )
78
+ $types[] = $type;
79
+ }
80
+ } else {
81
+ $types = array('post', 'page');
82
+ }
83
 
84
+ foreach ( $types as $post_type ) {
85
+ remove_meta_box('revisionsdiv', $post_type, 'normal');
86
+ add_meta_box('revisionsdiv', __('Post Revisions'), array('Plugin_Revision_Control_UI', 'revisions_meta_box'), $post_type, 'normal');
87
+ }
88
+
89
+ //enqueue that Stylin' script!
90
+ wp_enqueue_script('revision-control');
91
+ wp_enqueue_style('revision-control');
92
 
93
+ add_thickbox();
 
 
 
94
  }
95
+
96
+ function save_post($id, $post) {
97
+ $new = isset($_POST['limit_revisions']) ? stripslashes($_POST['limit_revisions']) : false;
98
+ $old = isset($_POST['limit_revisions_before']) ? stripslashes_deep($_POST['limit_revisions_before']) : false;
99
 
100
+ $id = 'revision' == $post->post_type ? $post->post_parent : $post->ID;
101
+ if ( false !== $new )
102
+ $this->delete_old_revisions($id, $new);
103
 
104
+ if ( false === $new || false === $old )
105
+ return;
106
+ if ( $new == $old )
107
+ return;
108
+ update_metadata('post', $id, '_revision-control', $new, $old);
109
+ }
110
 
111
+ function define_WP_POST_REVISIONS() {
112
+ if ( defined('WP_POST_REVISIONS') ) {
113
+ $this->define_failure = true; // This.. Is defineing failure.. as true!
114
+ return;
115
+ }
116
+
117
+ $current_post = $this->get_current_post();
118
+ if ( !empty($_REQUEST['limit_revisions']) ) { //Handle it when updating a post.
119
+ if ( ! $default = $this->option($current_post->post_type, 'per-type') )
120
+ $default = $this->option('all', 'per-type');
121
+ $post_specific = array(stripslashes($_REQUEST['limit_revisions']));
122
+ } else if ( $current_post ) {
123
+ // Good, we've got a post so can base it off the post_type
124
+ if ( ! $default = $this->option($current_post->post_type, 'per-type') )
125
+ $default = $this->option('all', 'per-type');
126
+ // Check to see if those post has a custom Revisions value:
127
+ $post_specific = get_metadata('post', $current_post->ID, '_revision-control', true);
128
+ if ( '' == $post_specific )
129
+ $post_specific = false;
130
+ else if ( ! is_array($post_specific) )
131
+ $post_specific = Plugin_Revision_Control_Compat::postmeta($post_specific, $current_post);
132
+
133
+ } else {
134
+ // Guess based on the current page.
135
+ global $pagenow;
136
+ if ( !empty($_REQUEST['post_type']) )
137
+ $post_type = stripslashes($_REQUEST['post_type']);
138
+ else if ( 'page.php' == $pagenow || 'page-new.php' == $pagenow)
139
+ $post_type = 'page';
140
+ else if ( 'post.php' == $pagenow || 'post-new.php' == $pagenow)
141
+ $post_type = 'post';
142
+ else
143
+ $post_type = '';
144
+
145
+ if ( empty($post_type) )
146
+ return; //Not needed.
147
+
148
+ if ( ! $default = $this->option($post_type, 'per-type') )
149
+ $default = $this->option('all', 'per-type');
150
 
151
+ }
152
+ // Ok, Lets define it.
153
+ $define_to = isset($post_specific[0]) && '' != $post_specific[0] ? $post_specific[0] : $default;
154
+ switch ( $define_to ) {
155
+ case 'unlimited':
156
+ define('WP_POST_REVISIONS', true);
157
+ break;
158
+ case 'never':
159
+ define('WP_POST_REVISIONS', 0);
160
+ break;
161
+ case 'defaults':
162
+ define('WP_POST_REVISIONS', $default);
163
+ break;
164
+ default:
165
+ if ( is_numeric($define_to) )
166
+ define('WP_POST_REVISIONS', (int)$define_to);
167
+ else
168
+ define('WP_POST_REVISIONS', true); // All else fails, Its this.
169
+ break;
170
+ }
171
+ }
172
+
173
+ function delete_old_revisions($id, $new) {
174
+ $items = get_posts( array('post_type' => 'revision', 'numberposts' => 1000, 'post_parent' => $id, 'post_status' => 'inherit', 'order' => 'ASC', 'orderby' => 'ID') );
175
+ if ( 'defaults' == $new ) {
176
+ $post = get_post($id);
177
+ if ( false === $default = $this->option($post->post_type, 'per-type') )
178
+ $default = $this->option('all', 'per-type');
179
+ $new = $default;
180
+ }
181
+ if ( ! is_numeric($new) ) {
182
+ switch ( $new ) {
183
+ case 'unlimited':
184
+ $keep = count($items);
185
+ break;
186
+ case 'never':
187
+ $keep = 0;
188
+ break;
189
  }
190
+ } else {
191
+ $keep = $new;
192
+ }
193
+ // var_dump($_POST, $keep, $new, $items, $this);
194
+ // wp_redirect('');
195
+ // die();
196
+ while ( count($items) > $keep ) {
197
+ $item = array_shift($items);
198
+ wp_delete_post_revision($item->ID);
199
  }
200
  }
201
 
202
+ function get_current_post() {
203
+ foreach ( array( 'post_id', 'post_ID', 'post' ) as $field )
204
+ if ( isset( $_REQUEST[ $field ] ) )
205
+ return get_post(absint($_REQUEST[ $field ]));
206
 
207
+ if ( isset($_REQUEST['revision']) )
208
+ if ( $post = get_post( $id = absint($_REQUEST['revision']) ) )
209
+ return get_post(absint($post->post_parent));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
+ return false;
212
+ }
213
+
214
+ function version_terms($revision_id) {
215
+ // Attach all the terms from the parent to the revision.
216
+ if ( ! $rev = get_post($revision_id) )
217
+ return;
218
+ if ( ! $post = get_post($rev->post_parent) )
219
+ return;
220
 
221
+ // Only worry about taxonomies which are specifically linked.
222
+ foreach ( get_object_taxonomies($post->post_type) as $taxonomy ) {
223
+ $_terms = wp_get_object_terms($post->ID, $taxonomy);
224
+ $terms = array();
225
+ foreach ( $_terms as $t )
226
+ $terms[] = (int)$t->term_id;
227
+ if ( ! empty($terms) )
228
+ wp_set_object_terms($revision_id, $terms, $taxonomy);
229
+ }
230
+ }
231
+
232
+ function version_postmeta() {} // ?
233
+
234
+ function sort_revisions_by_time($a, $b) {
235
+ return strtotime($a->post_modified_gmt) < strtotime($b->post_modified_gmt);
236
+ }
237
+
238
+ function load_options() {
239
+ $original = $options = get_option('revision-control', array());
240
+ $options = Plugin_Revision_Control_Compat::options($options); // Lets upgrade the options..
241
+ if ( $options != $original ) // Update it if an upgrade has taken place.
242
+ update_option('revision-control', $options);
243
 
244
+ $this->options = array_merge($this->options, $options); // Some default options may be set here, unless the user modifies them
245
+ }
246
+
247
+ function option($key, $bucket = false, $default = false ) {
248
+ if ( $bucket )
249
+ return isset($this->options[$bucket][$key]) ? $this->options[$bucket][$key] : $default;
250
+ else
251
+ return isset($this->options[$key]) ? $this->options[$key] : $default;
252
+ }
253
 
254
+ function set_option($key, $value, $bucket = false) {
255
+ if ( $bucket )
256
+ $this->options[$bucket][$key] = $value;
257
+ else
258
+ $this->options[$key] = $value;
259
+ update_option('revision-control', $this->options);
260
+ }
261
 
262
+ function get_revision_limit_select_items($current = false) {
263
+ $items = array(
264
+ 'defaults' => __('Default Revision Settings', 'revision-control'),
265
+ 'unlimited' => __('Unlimited number of Revisions', 'revision-control'),
266
+ 'never' => __('Do not store Revisions', 'revision-control')
267
+ );
268
+ $values = $this->option('revision-range', '');
269
+ $values = explode(',', $values);
270
+ foreach ( $values as $val ) {
271
+ $val = trim($val);
272
+ if ( preg_match('|^(\d+)\.\.(\d+)$|', $val, $matches) ) {
273
+ foreach ( range( (int)$matches[1], (int)$matches[2]) as $num )
274
+ $items[ $num ] = sprintf( _n( 'Maximum %s Revision stored', 'Maximum %s Revisions stored', $num, 'revision-control' ), number_format_i18n($num) );
275
+ } else if ( is_numeric($val) ) {
276
+ $num = (int)$val;
277
+ $items[ $num ] = sprintf( _n( 'Maximum %s Revision stored', 'Maximum %s Revisions stored', $num, 'revision-control' ), number_format_i18n($num) );
278
+ }
279
+ }
280
 
281
+ if ( false != $current && is_numeric($current) && !isset($items[ $current ]) ) // Support for when the range changes and the global/per-post has changed since.
282
+ $items[ $current ] = sprintf( _n( 'Maximum %s Revision stored', 'Maximum %s Revisions stored', $current, 'revision-control' ), number_format_i18n($current) );
283
 
284
+ return $items;
285
+ }
286
+
 
287
  }
288
 
289
+ class Plugin_Revision_Control_Compat {
290
+ function postmeta($meta, $post) {
291
+ if ( is_array($meta) )
292
+ return $meta;
293
+
294
+ if ( ! is_numeric($meta) ) {
295
+ $_meta = array($meta);
296
+ } else {
297
+ $_meta = array( (int) $meta );
298
+ if ( 1 === $_meta[0] )
299
+ $_meta[0] = 'unlimited';
300
+ else if ( 0 === $meta[0] )
301
+ $_meta[0] = 'never';
302
+ }
303
+ if ( $_meta != $meta )
304
+ update_metadata('post', $post->ID, '_revision-control', $_meta, $meta);
305
+
306
+ return $_meta;
307
+ }
 
 
 
 
 
 
 
308
 
309
+ function options($options) {
310
+ $_options = $options;
311
+ if ( ! is_array($options) ) { // Upgrade from 1.0 to 1.1
312
+ $options = array( 'post' => $options, 'page' => $options );
313
+ }
314
+ if ( isset($options['post']) ) { // Upgrade from 1.1 to 2.0
315
+ $options['per-type'] = array( 'post' => $options['post'], 'page' => $options['page'] );
316
+ unset($options['post'], $options['page']);
317
+
318
+ // The fun part, Move from (bool) & (int) to (string) and (int). Easier to seperate with is_numeric that way.
319
+ foreach ( $options['per-type'] as $type => $value ) {
320
+ if ( true === $value )
321
+ $options['per-type'][$type] = 'unlimited';
322
+ elseif ( 0 === $value )
323
+ $options['per-type'][$type] = 'never';
324
+ elseif ( is_numeric($value) && (int)$value > 0 )
325
+ $options['per-type'][$type] = (int)$options['per-type'][$type];
326
+ else
327
+ $options['per-type'][$type] = 'unlimited';
328
  }
329
+ }
330
+ return $options;
331
+ }
332
+ }
333
 
334
+ class Plugin_Revision_Control_Ajax {
335
+ function delete_revisions() {
336
+ //Add nonce check
337
+ check_admin_referer('revision-control-delete');
338
+
339
+ if ( empty($_POST['revisions']) ) {
340
+ $x = new WP_AJAX_Response();
341
+ $x->add( array('data' => -1) );
342
+ $x->send();
343
+ return;
344
+ }
345
+
346
+ $revisions = stripslashes($_POST['revisions']);
347
+ $revisions = explode(',', $revisions);
348
+ $revisions = array_map('intval', $revisions);
349
 
350
+ $deleted = array();
 
 
 
 
 
 
 
 
 
351
 
352
+ foreach ( $revisions as $revision_id ) {
353
+ $revision = get_post($revision_id);
354
+ if ( current_user_can('delete_post', $revision->post_parent) )
355
+ if ( wp_delete_post_revision($revision_id) )
356
+ $deleted[] = $revision_id;
357
+ }
358
+
359
+ $x = new WP_AJAX_Response();
360
+ $x->add( array('data' => 1, 'supplemental' => array('revisions' => implode(',', $deleted)) ) );
361
+ $x->send();
362
  }
363
+ function save_options() {
364
+ global $revision_control;
365
+ check_Admin_referer('revision-control-options');
366
+
367
+ $data = stripslashes_deep($_POST['options']);
368
+ foreach ( $data as $option => $val ) {
369
+ if ( is_string($val) ) // Option is the keyname
370
+ $revision_control->set_option($option, $val);
371
+ elseif ( is_array($val) ) // Option is the bucket, key => val are the options in the group.
372
+ foreach ( $val as $subkey => $subval )
373
+ $revision_control->set_option($subkey, $subval, $option);
374
+ }
375
+ wp_safe_redirect( add_query_arg('updated', 'true', wp_get_referer() ) );
376
+ }
377
+ }
378
 
379
+ class Plugin_Revision_Control_UI {
380
+ function compare_revisions_iframe() {
381
+ if ( function_exists('register_admin_colors') ) {
382
+ add_action('admin_init', 'register_admin_colors', 1);
383
+ } else {
384
+ // Hard coded translation strings here as the translations are not required, just the name and stlesheet.
385
+ wp_admin_css_color('classic', 'Blue', admin_url("css/colors-classic.css"), array('#073447', '#21759B', '#EAF3FA', '#BBD8E7'));
386
+ wp_admin_css_color('fresh', 'Gray', admin_url("css/colors-fresh.css"), array('#464646', '#6D6D6D', '#F1F1F1', '#DFDFDF'));
387
+ }
388
 
389
+ $left = isset($_GET['left']) ? absint($_GET['left']) : false;
390
+ $right = isset($_GET['right']) ? absint($_GET['right']) : false;
 
 
 
391
 
392
+ if ( !$left_revision = get_post( $left ) )
393
+ break;
394
+ if ( !$right_revision = get_post( $right ) )
395
+ break;
396
 
397
+ if ( !current_user_can( 'read_post', $left_revision->ID ) || !current_user_can( 'read_post', $right_revision->ID ) )
398
+ break;
 
 
 
399
 
400
+ // Don't allow reverse diffs?
401
+ if ( strtotime($right_revision->post_modified_gmt) < strtotime($left_revision->post_modified_gmt) ) {
402
+ //$redirect = add_query_arg( array( 'left' => $right, 'right' => $left ) );
403
+ // Switch-a-roo
404
+ $temp_revision = $left_revision;
405
+ $left_revision = $right_revision;
406
+ $right_revision = $temp_revision;
407
+ unset($temp_revision);
408
+ }
409
 
410
+ global $post;
 
411
 
412
+ if ( $left_revision->ID == $right_revision->post_parent ) // right is a revision of left
413
+ $post = $left_revision;
414
+ elseif ( $left_revision->post_parent == $right_revision->ID ) // left is a revision of right
415
+ $post = $right_revision;
416
+ elseif ( $left_revision->post_parent == $right_revision->post_parent ) // both are revisions of common parent
417
+ $post = get_post( $left_revision->post_parent );
418
+ else
419
+ wp_die( __('Sorry, But you cant compare unrelated Revisions.', 'revision-control') ); // Don't diff two unrelated revisions
420
 
 
 
 
 
421
 
422
+ if (
423
+ // They're the same
424
+ $left_revision->ID == $right_revision->ID
425
+ ||
426
+ // Neither is a revision
427
+ ( !wp_get_post_revision( $left_revision->ID ) && !wp_get_post_revision( $right_revision->ID ) )
428
+ )
429
+ wp_die( __('Sorry, But you cant compare a Revision to itself.', 'revision-control') );
430
 
431
+ $title = sprintf( __( 'Compare Revisions of &#8220;%1$s&#8221;', 'revision-control' ), get_the_title() );
432
+
433
+ $left = $left_revision->ID;
434
+ $right = $right_revision->ID;
435
 
436
+ iframe_header();
 
 
 
 
 
 
437
 
438
+ ?>
439
+ <div class="wrap">
440
+
441
+ <h2 class="long-header center"><?php echo $title ?></h2>
442
+
443
+ <table class="form-table ie-fixed">
444
+ <col class="th" />
445
+ <tr id="revision">
446
+ <th scope="col" class="th-full">
447
+ <?php printf( __('Older: %s', 'revision-control'), wp_post_revision_title($left_revision, false) ); ?>
448
+ <span class="alignright"><?php printf( __('Newer: %s', 'revision-control'), wp_post_revision_title($right_revision, false) ); ?></span>
449
+ </th>
450
+ </tr>
451
+ <?php
452
+
453
+ $fields = _wp_post_revision_fields();
454
+
455
+ foreach ( get_object_taxonomies($post->post_type) as $taxonomy ) {
456
+ $t = get_taxonomy($taxonomy);
457
+ $fields[$taxonomy] = $t->label;
458
+
459
+ $left_terms = $right_terms = array();
460
+ foreach ( wp_get_object_terms($left_revision->ID, $taxonomy ) as $term )
461
+ $left_terms[] = $term->name;
462
+ foreach ( wp_get_object_terms($right_revision->ID, $taxonomy ) as $term )
463
+ $right_terms[] = $term->name;
464
+
465
+ $left_revision->$taxonomy = ( empty($left_terms) ? '' : "* " ) . join("\n* ", $left_terms);
466
+ $right_revision->$taxonomy = ( empty($right_terms) ? '' : "* " ) . join("\n* ", $right_terms);
467
+
468
+ }
469
 
470
+ $identical = true;
471
+ foreach ( $fields as $field => $field_title ) :
472
+ if ( !$content = wp_text_diff( $left_revision->$field, $right_revision->$field ) )
473
+ continue; // There is no difference between left and right
474
+ $identical = false;
475
+ ?>
476
+ <tr>
477
+ <th scope="row"><strong><?php echo esc_html( $field_title ); ?></strong></th>
478
+ </tr>
479
+ <tr id="revision-field-<?php echo $field; ?>">
480
+ <td><div class="pre"><?php echo $content; ?></div></td>
481
+ </tr>
482
+ <?php
483
+ endforeach;
484
+
485
+ if ( $identical ) :
486
+ ?><tr><td><div class="updated"><p><?php _e( 'These Revisions are identical.', 'revision-control' ); ?></p></div></td></tr><?php
487
+ endif;
488
+ ?>
489
+ </table>
490
+ <p><?php _e('<em>Please Note:</em> at present, Although Taxonomies <em>(Tags / Categories / Custom Taxonomies)</em> are stored with the revisions, Restoring a Revision will <strong>not</strong> restore the taxonomies at present.', 'revision-control'); ?></p>
491
+ <br class="clear" />
492
+ <?php
493
+ iframe_footer();
494
  }
 
 
495
 
496
+ function revisions_meta_box( $post_id = 0 ) {
497
+ global $revision_control;
 
 
 
 
 
 
 
 
 
 
 
498
 
499
+ if ( empty($post_id) )
500
+ $post_id = $GLOBALS['post_ID'];
501
 
502
+ if ( !$post = get_post( $post_id ) )
503
+ return;
 
 
 
 
504
 
505
+ if ( !$revisions = wp_get_post_revisions( $post->ID ) )
506
+ $revisions = array();
507
+ if ( !empty($post) && !empty($post->ID) )
508
+ $revisions = $revisions + array($post);
509
+
510
+ foreach ( $revisions as $key => $revision ) {
511
+ if ( !current_user_can( 'read_post', $revision->ID ) )
512
+ unset($revisions[$key]);
513
+ }
514
+
515
+ usort($revisions, array('Plugin_Revision_Control', 'sort_revisions_by_time'));
516
+ ?>
517
+ <noscript><div class="updated"><p><?php _e('<strong>Please Note</strong>: This module requires the use of Javascript.', 'revision-control') ?></p></div></noscript>
518
+ <input type="hidden" id="revision-control-delete-nonce" value="<?php echo wp_create_nonce( 'revision-control-delete' ) ?>" />
519
+ <table class="widefat post-revisions" id="post-revisions" cellspacing="0">
520
+ <col class="hide-if-no-js" />
521
+ <col style="" />
522
+ <col style="width: 15%" />
523
+ <col style="width: 15" />
524
+ <thead>
525
+ <tr>
526
+ <th scope="col" class="check-column hide-if-no-js" style="text-align:center; white-space:nowrap;"><a id="revision-compare-delete-label" title="<?php esc_attr_e('Switch between Compare/Delete modes', 'revision-control') ?>"><?php echo str_replace(' ', '<br />', __( 'Compare Delete', 'revision-control' )); //Sorry! Hack to work around preventing new translations being needed :( ?></a></th>
527
+ <th scope="col"><?php _e( 'Date Created', 'revision-control' ); ?></th>
528
+ <th scope="col"><?php _e( 'Author', 'revision-control' ); ?></th>
529
+ <th scope="col" class="action-links"><?php _e( 'Actions', 'revision-control' ); ?></th>
530
+ </tr>
531
+ </thead>
532
+ <tbody>
533
+
534
+ <?php
535
+ $titlef = _x( '%1$s by %2$s', 'post revision 1:datetime, 2:name', 'revision-control' );
536
 
537
+ $rows = '';
538
+ $class = false;
539
+ if ( 0 == $post->ID )
540
+ $can_edit_post = true;
541
+ else
542
+ $can_edit_post = current_user_can( 'edit_post', $post->ID );
543
+ //$locked_revision = false;
544
+
545
+ if ( empty($revisions) ) {
546
+ echo "<tr class='no-revisions'>\n";
547
+ echo "\t<td style='text-align: center' colspan='4'>\n";
548
+ if ( !in_array($post->post_type, array('post', 'page')) && function_exists('get_post_type_object') ) {
549
+ $p_obj = get_post_type_object($post->post_type);
550
+ $obj_name = $p_obj->label;
551
+ } else {
552
+ if ( 'post' == $post->post_type )
553
+ $obj_name = _n('Post', 'Posts', 5, 'revision-control');
554
+ elseif ( 'page' == $post->post_type )
555
+ $obj_name = _n('Page', 'Pages', 5, 'revision-control');
556
  }
557
+ printf(_x('Revisions are currently enabled for %s, However there are no current Autosaves or Revisions created.<br />They\'ll be listed here once you Save. Happy Writing!', '1: the Post_Type - Posts, Pages, etc. (plural always)', 'revision-control'), $obj_name);
558
+ echo "</td>\n";
559
+ echo "</tr>\n";
560
+ }
561
+
562
+ foreach ( $revisions as $revision ) {
563
+ $date = wp_post_revision_title( $revision, false );
564
+ $name = get_the_author_meta( 'display_name', $revision->post_author );
565
+
566
+ $revision_is_current = $post->ID == $revision->ID;
567
+ /*$revision_is_locked = $revision->ID == $locked_revision;*/
568
+
569
+ $class = strpos($class, 'alternate') !== false ? '' : "alternate";
570
+
571
+ $class .= ' revision-' . $revision->ID;
572
+
573
+ if ( $revision_is_current )
574
+ $class .= ' current-revision';
575
+
576
+ /*if ( $revision_is_locked )
577
+ $class .= ' locked-revision';*/
578
+
579
+ $actions = array();
580
+ /*if ( !$revision_is_locked )
581
+ $actions[] = '<a href="#" class="lock" title="' . esc_attr__('Locks the selected revision to be the published copy. This allows you to work on modifications without making them public.', 'revision-control') . '">' . __('Lock', 'revision-control') . '</a>';
582
+ else
583
+ $actions[] = '<a href="#" class="unlock">' . __('Unlock', 'revision-control') . '</a>';*/
584
+ if ( $post->ID != $revision->ID && $can_edit_post ) {
585
+ $actions[] = '<a href="' . wp_nonce_url( add_query_arg( array( 'revision' => $revision->ID, 'diff' => false, 'action' => 'restore' ), 'revision.php' ), "restore-post_$post->ID|$revision->ID" ) . '">' . __( 'Restore', 'revision-control' ) . '</a>';
586
+ //$actions[] = '<a href="#" class="hide-if-no-js">' . __( 'Remove', 'revision-control' ) . '</a>';
587
  }
588
+
589
+ $deletedisabled = $revision_is_current ? 'disabled="disabled"' : ''; //$revision_is_locked || ($revision_is_current && false === $locked_revision)
590
+ $lefthidden = $revision == end($revisions) ? ' style="visibility: hidden" ' : '';
591
+ $righthidden = $revision == $revisions[0] ? ' style="visibility: hidden" ' : '';
592
+
593
+ echo "<tr class='$class' id='revision-row-$revision->ID'>\n";
594
+ echo "\t<th style='white-space: nowrap' scope='row' class='check-column hide-if-no-js'>
595
+ <span class='delete'>
596
+ <input type='checkbox' name='checked[]' class='checklist toggle-type' style='display:none;' value='$revision->ID' $deletedisabled />
597
+ </span>
598
+ <span class='compare'>
599
+ <input type='radio' name='left' class='left toggle-type' value='$revision->ID' $lefthidden />
600
+ <input type='radio' name='right' class='right toggle-type' value='$revision->ID' $righthidden />
601
+ </span>
602
+ </th>\n";
603
+ echo "\t<td>$date</td>\n";
604
+ echo "\t<td>$name</td>\n";
605
+ echo "\t<td class='action-links'>" . implode(' | ', $actions) . "</td>\n";
606
+ echo "</tr>\n";
607
  }
608
  ?>
 
 
 
 
 
 
 
 
609
 
610
+ </tbody>
611
+ <tfoot>
612
+ <tr>
613
+ <td colspan="4" style="text-align:left" class="check-column">
614
+ <span class="hide-if-no-js">
615
+ <input type="button" class="button-secondary toggle-type" value="<?php esc_attr_e('Delete', 'revision-control') ?>" id="revisions-delete" style='display:none' />
616
+ <input type="button" class="button-secondary toggle-type" value="<?php esc_attr_e('Compare', 'revision-control') ?>" id="revisions-compare" />
617
+ </span>
618
+ <span class="alignright">
619
+ <?php if ( $revision_control->define_failure ) {
620
+ _e('<strong>Error:</strong> <code>WP_POST_REVISIONS</code> is defined in your <code>wp-config.php</code>. <em>Revision Control</em> cannot operate.', 'revision-control');
621
+ } else {
622
+ $_current = $post_specific = get_metadata('post', $post->ID, '_revision-control', true);
623
+ if ( '' == $post_specific )
624
+ $post_specific = array('defaults');
625
+ else if ( ! is_array($post_specific) )
626
+ $post_specific = Plugin_Revision_Control_Compat::postmeta($post_specific, $post);
627
+ $post_specific = $post_specific[0];
628
+ $_current_display = $post_specific;
629
+ if ( 'defaults' == $_current_display )
630
+ $_current_display = $revision_control->option($post->post_type, 'per-type');
631
+ ?>
632
+ <label for="limit-revisions"><strong><em><?php _e('Revision Control', 'revision-control') ?>:</em></strong>
633
+ <?php
634
+ if ( is_numeric($_current_display) )
635
+ printf( _n( 'Currently storing a maximum of %s Revision', 'Currently storing a maximum of %s Revisions', $_current_display, 'revision-control' ), number_format_i18n($_current_display) );
636
+ elseif ( 'unlimited' == $_current_display )
637
+ _e('Currently storing an Unlimited number of Revisions', 'revision-control');
638
+ elseif ( 'never' == $_current_display )
639
+ _e('Not storing any Revisions', 'revision-control');
640
+ ?>
641
+ <select name="limit_revisions" id="limit-revisions">
642
+ <?php
643
+ foreach ( $revision_control->get_revision_limit_select_items($post_specific) as $val => $text ) {
644
+ $selected = $post_specific == $val ? 'selected="selected"' : '';
645
+ echo "\t\t\t\t\t\t<option value='$val' $selected>$text</option>\n";
646
+ }
647
+ ?></select>
648
+ <input type="hidden" name="limit_revisions_before<?php if ( is_array($_current) ) echo '[]' ?>" value="<?php echo esc_attr( is_array($_current) ? $_current[0] : $_current ) ?>" />
649
  </label>
650
+ <?php } ?>
651
+ </span>
652
+ <br class="cear" />
653
+ </th>
654
  </tr>
655
+ </tfoot>
656
  </table>
657
+ <br class="clear" />
 
 
 
 
658
  <?php
659
+ }
 
 
 
 
 
 
 
660
 
661
+ function admin_page() {
662
+ global $revision_control;
 
 
663
 
664
+ echo "<div class='wrap'>";
665
+ screen_icon('options-general');
666
+ echo '<h2>' . __('Revision Control Options', 'revision-control') . '</h2>';
667
+ echo '<h3>' . __('Default revision status for <em>Post Types</em>', 'revision-control') . '</h3>';
668
+
669
+ if ( function_exists('post_type_supports') ) {
670
+ $types = array();
671
+ $_types = get_post_types();
672
+ foreach ( $_types as $type ) {
673
+ if ( post_type_supports($type, 'revisions') )
674
+ $types[] = $type;
675
+ }
676
+ } else {
677
+ $types = array('post', 'page');
678
+ }
679
 
680
+ echo '<form method="post" action="admin-post.php?action=revision-control-options">';
681
+ wp_nonce_field('revision-control-options');
682
+
683
+ echo '<table class="form-table">';
684
+ echo '<tr valign="top">
685
+ <th scope="row">' . __('Default Revision Status', 'revision-control') . '</th>
686
+ <td><table>';
687
+ foreach ( $types as $post_type ) {
688
+ $post_type_name = $post_type;
689
+ if ( !in_array($post_type, array('post', 'page')) && function_exists('get_post_type_object') ) {
690
+ $pt = get_post_type_object($post_type);
691
+ $post_type_name = $pt->label;
692
+ unset($pt);
693
+ } else {
694
+ if ( 'post' == $post_type )
695
+ $post_type_name = _n('Post', 'Posts', 5, 'revision-control');
696
+ elseif ( 'page' == $post_type )
697
+ $post_type_name = _n('Page', 'Pages', 5, 'revision-control');
698
+
699
+ }
700
 
701
+ echo '<tr><th style="width: auto;"><label for="options_per-type_' . $post_type . '"> <em>' . $post_type_name . '</em></label></th>';
702
+ echo '<td align="left"><select name="options[per-type][' . $post_type . ']" id="options_per-type_' . $post_type . '">';
703
+ $current = $revision_control->option($post_type, 'per-type');
704
+ foreach ( $revision_control->get_revision_limit_select_items($current) as $option_val => $option_text ) {
705
+ if ( 'defaults' == $option_val )
706
+ continue;
707
+ $selected = ($current == $option_val ? ' selected="selected"' : '');
708
+ echo '<option value="' . esc_attr($option_val) . '"' . $selected . '>' . esc_html($option_text) . '</option>';
709
+ }
710
+ echo '</select></td></tr>';
711
+ }
712
+ echo '</table>';
713
+ echo '
714
+ </td>
715
+ </tr>';
716
+ echo '<tr>
717
+ <th scope="row"><label for="options_revision-range">' . __('Revision Range', 'revision-control') . '</label></th>
718
+ <td><textarea rows="2" cols="80" name="options[revision-range]" id="options_revision-range">' . esc_html($revision_control->option('revision-range')) . '</textarea><br />
719
+ ' . __('<em><strong>Note:</strong> This field is special. It controls what appears in the Revision Options <code>&lt;select&gt;</code> fields.<br />The basic syntax of this is simple, fields are seperated by comma\'s.<br /> A field may either be a number, OR a range.<br /> For example: <strong>1,5</strong> displays 1 Revision, and 5 Revisions. <strong>1..5</strong> on the other hand, will display 1.. 2.. 3.. 4.. 5.. Revisions.<br /> <strong>If in doubt, Leave this field alone.</strong></em>', 'revision-control') . '
720
+ </td>
721
+ </tr>';
722
+ echo '</table>';
723
+ echo '
724
+ <p class="submit">
725
+ <input type="submit" name="Submit" value="' . __('Save Changes', 'revision-control') . '" />
726
+ </p>
727
+ </form>';
728
+ echo '</div>';
729
+ }
730
+ }
screenshot-1.jpg ADDED
Binary file
screenshot-1.png DELETED
Binary file
screenshot-2.jpg ADDED
Binary file
screenshot-2.png DELETED
Binary file