Simple History - Version 1.0.2

Version Description

  • Fixed a translation bug
  • Added updated German translation
Download this release

Release Info

Developer eskapism
Plugin Icon 128x128 Simple History
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Simple History
4
  Plugin URI: http://eskapism.se/code-playground/simple-history/
5
  Description: Get a log/history/audit log/version history of the changes made by users in WordPress.
6
- Version: 1.0.1
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -27,7 +27,7 @@ License: GPL2
27
 
28
  load_plugin_textdomain('simple-history', false, "/simple-history/languages");
29
 
30
- define( "SIMPLE_HISTORY_VERSION", "1.0.1");
31
  define( "SIMPLE_HISTORY_NAME", "Simple History");
32
  define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/');
33
 
@@ -1457,7 +1457,7 @@ function simple_history_print_history($args = null) {
1457
  $date_i18n_date = date_i18n(get_option('date_format'), strtotime($one_row->date), $gmt=false);
1458
  $date_i18n_time = date_i18n(get_option('time_format'), strtotime($one_row->date), $gmt=false);
1459
  $now = strtotime(current_time("mysql"));
1460
- $diff_str = sprintf( __('<span class="when">%1$s ago</span> by %2$s'), human_time_diff(strtotime($one_row->date), $now), $who );
1461
  $output .= $diff_str;
1462
  $output .= "<span class='when_detail'>".sprintf(__('%s at %s', 'simple-history'), $date_i18n_date, $date_i18n_time)."</span>";
1463
  $output .= "</div>";
3
  Plugin Name: Simple History
4
  Plugin URI: http://eskapism.se/code-playground/simple-history/
5
  Description: Get a log/history/audit log/version history of the changes made by users in WordPress.
6
+ Version: 1.0.2
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
27
 
28
  load_plugin_textdomain('simple-history', false, "/simple-history/languages");
29
 
30
+ define( "SIMPLE_HISTORY_VERSION", "1.0.2");
31
  define( "SIMPLE_HISTORY_NAME", "Simple History");
32
  define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/');
33
 
1457
  $date_i18n_date = date_i18n(get_option('date_format'), strtotime($one_row->date), $gmt=false);
1458
  $date_i18n_time = date_i18n(get_option('time_format'), strtotime($one_row->date), $gmt=false);
1459
  $now = strtotime(current_time("mysql"));
1460
+ $diff_str = sprintf( __('<span class="when">%1$s ago</span> by %2$s', "simple-history"), human_time_diff(strtotime($one_row->date), $now), $who );
1461
  $output .= $diff_str;
1462
  $output .= "<span class='when_detail'>".sprintf(__('%s at %s', 'simple-history'), $date_i18n_date, $date_i18n_time)."</span>";
1463
  $output .= "</div>";
languages/simple-history-de_DE.mo CHANGED
Binary file
languages/simple-history-de_DE.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: Simple History 0.4\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/simple-history\n"
10
- "POT-Creation-Date: 2010-09-19 18:24+0000\n"
11
- "PO-Revision-Date: 2012-02-22 14:15+0100\n"
12
  "Last-Translator: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
13
  "Language-Team: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
14
  "MIME-Version: 1.0\n"
@@ -18,129 +18,360 @@ msgstr ""
18
  "X-Poedit-Country: GERMANY\n"
19
  "X-Poedit-SourceCharset: utf-8\n"
20
 
21
- #: index.php:126
22
- #: index.php:168
23
- #, php-format
24
- msgid "Simple History for %s"
25
- msgstr "Simple History für %s"
26
 
27
- #: index.php:127
28
- #: index.php:169
29
- #, php-format
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  msgid "WordPress History for %s"
31
- msgstr "WordPress History für %s"
32
 
33
- #: index.php:139
34
- #, php-format
35
  msgid "By %s"
36
  msgstr "Von %s"
37
 
38
- #: index.php:143
39
- #, php-format
40
  msgid "%d occasions"
41
  msgstr "%d Fälle"
42
 
43
- #: index.php:173
44
  msgid "Wrong RSS secret"
45
  msgstr "Falsche RSS-Geheimadresse"
46
 
47
- #: index.php:174
48
  msgid "Your RSS secret for Simple History RSS feed is wrong. Please see WordPress settings for current link to the RSS feed."
49
  msgstr "Ihre RSS-Geheimadresse für den Simple History RSS-Feed ist falsch. Bitte überprüfen Sie die WordPress-Einstellungen hinsichtlich des momentanen Links zum RSS-Feed."
50
 
51
- #: index.php:247
 
 
 
 
 
 
 
 
 
 
52
  msgid "on the dashboard"
53
  msgstr "auf dem Armaturenbrett (Dashboard)"
54
 
55
- #: index.php:252
56
- msgid "as a page under the tools menu"
57
- msgstr "als eine Seite im Werkzeuge-Menü"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
- #: index.php:283
60
  msgid "Created new secret RSS adress"
61
  msgstr "Neue geheime RSS-Adresse erstellt"
62
 
63
- #: index.php:294
64
  msgid "This is a secret RSS feed for Simple History. Only share the link with people you trust"
65
  msgstr "Dies ist ein vertraulicher RSS-Feed für Simple History. Teilen Sie das Link nur mit Leuten Ihres Vertrauens!"
66
 
67
- #: index.php:297
68
- #, php-format
69
- msgid "You can <a href='%s'>generate a new address</a> for the RSS feed. This is useful if you think that the address has fallen into the wrong hands."
70
  msgstr "Sie können für den RSS-Feed <a href='%s'>eine neue Adresse erstellen</a> lassen. Dies ist hilfreich wenn Sie den Verdacht haben, daß die bisherige Adresse in falsche Hände gekommen sein könnte."
71
 
72
- #: index.php:320
73
- #: index.php:335
74
- #: index.php:366
75
- #, php-format
76
- msgid "From %1$s on %2$s"
77
- msgstr "Von %1$s am %2$s"
78
 
79
- #: index.php:811
80
- msgid "By all users"
81
- msgstr "Von allen Benutzern"
 
82
 
83
- #: index.php:1031
84
- msgid "Unknown or deleted user"
85
- msgstr "Unbekannter oder gelöschter Benutzer"
 
 
86
 
87
- #: index.php:1058
88
- msgid "created"
89
- msgstr "erzeugt"
90
 
91
- #: index.php:1060
92
- #: index.php:1153
93
- msgid "updated"
94
- msgstr "aktualisiert"
 
95
 
96
- #: index.php:1062
97
- #: index.php:1155
 
 
 
98
  msgid "deleted"
99
  msgstr "gelöscht"
100
 
101
- #: index.php:1151
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  msgid "added"
103
  msgstr "hinzugefügt"
104
 
105
- #: index.php:1157
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  msgid "logged in"
107
  msgstr "angemeldet"
108
 
109
- #: index.php:1159
110
  msgid "logged out"
111
  msgstr "abgemeldet"
112
 
113
- #: index.php:1193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  msgid "+ 1 occasion"
115
  msgstr "+ 1 Fall"
116
 
117
- #: index.php:1196
118
- #, php-format
119
  msgid "+ %d occasions"
120
  msgstr "+ %d Fälle"
121
 
122
- #: index.php:1225
123
- #, php-format
124
- msgid "Show %d more"
125
- msgstr "Zeige %d weitere"
 
 
 
126
 
127
- #: index.php:1226
 
 
 
 
 
 
 
 
 
 
 
 
128
  msgid "Loading..."
129
  msgstr "Lade..."
130
 
131
- #: index.php:1227
132
- msgid "No more history items found."
133
- msgstr "Keine weiteren Vorfälle gefunden."
134
 
135
- #: index.php:1228
136
- msgid "Simple History RSS feed"
137
- msgstr "Simple History RSS-Feed"
138
 
139
- #: index.php:1244
140
  msgid "No history items found."
141
  msgstr "Keine Vorfälle gefunden."
142
 
143
- #: index.php:1245
144
  msgid "Please note that Simple History only records things that happen after this plugin have been installed."
145
  msgstr "Bitte beachten Sie, daß Simple History nur Vorfälle aufzeichnet, die nach der Installation des Plugins passiert sind."
146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  msgstr ""
8
  "Project-Id-Version: Simple History 0.4\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/simple-history\n"
10
+ "POT-Creation-Date: 2012-09-23 11:21:09+00:00\n"
11
+ "PO-Revision-Date: 2012-09-24 11:46+0100\n"
12
  "Last-Translator: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
13
  "Language-Team: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
14
  "MIME-Version: 1.0\n"
18
  "X-Poedit-Country: GERMANY\n"
19
  "X-Poedit-SourceCharset: utf-8\n"
20
 
21
+ #: index.php:67
22
+ #: index.php:208
23
+ #: index.php:827
24
+ msgid "History"
25
+ msgstr "Historie"
26
 
27
+ #: index.php:120
28
+ #: index.php:630
29
+ #: index.php:642
30
+ #: index.php:730
31
+ msgid "updated"
32
+ msgstr "aktualisiert"
33
+
34
+ #: index.php:120
35
+ msgid "WordPress Core"
36
+ msgstr "WordPress-Kern"
37
+
38
+ #: index.php:120
39
+ msgid "WordPress %1$s"
40
+ msgstr "WordPress %1$s"
41
+
42
+ #: index.php:133
43
+ #: index.php:222
44
+ msgid "Donate"
45
+ msgstr "Spenden Sie"
46
+
47
+ #: index.php:178
48
+ msgid "upgraded it's database"
49
+ msgstr "hat seine Datenbank aktualisiert"
50
+
51
+ #: index.php:178
52
+ #: index.php:494
53
+ #: index.php:498
54
+ #: index.php:887
55
+ msgid "Plugin"
56
+ msgstr "Plugin"
57
+
58
+ #: index.php:194
59
+ #: index.php:215
60
+ msgid "Simple History Settings"
61
+ msgstr "Simple History Einstellungen"
62
+
63
+ #: index.php:220
64
+ msgid "Show Simple History"
65
+ msgstr "Zeige Simple History"
66
+
67
+ #: index.php:221
68
+ #: index.php:1512
69
+ msgid "RSS feed"
70
+ msgstr "RSS-Feed"
71
+
72
+ #: index.php:262
73
+ #: index.php:305
74
+ msgid "History for %s"
75
+ msgstr "Historie für %s"
76
+
77
+ #: index.php:263
78
+ #: index.php:306
79
  msgid "WordPress History for %s"
80
+ msgstr "WordPress Historie für %s"
81
 
82
+ #: index.php:275
 
83
  msgid "By %s"
84
  msgstr "Von %s"
85
 
86
+ #: index.php:279
 
87
  msgid "%d occasions"
88
  msgstr "%d Fälle"
89
 
90
+ #: index.php:310
91
  msgid "Wrong RSS secret"
92
  msgstr "Falsche RSS-Geheimadresse"
93
 
94
+ #: index.php:311
95
  msgid "Your RSS secret for Simple History RSS feed is wrong. Please see WordPress settings for current link to the RSS feed."
96
  msgstr "Ihre RSS-Geheimadresse für den Simple History RSS-Feed ist falsch. Bitte überprüfen Sie die WordPress-Einstellungen hinsichtlich des momentanen Links zum RSS-Feed."
97
 
98
+ #: index.php:328
99
+ #: index.php:921
100
+ msgid "All types"
101
+ msgstr "Alle Arten"
102
+
103
+ #: index.php:331
104
+ #: index.php:987
105
+ msgid "By all users"
106
+ msgstr "Von allen Benutzern"
107
+
108
+ #: index.php:417
109
  msgid "on the dashboard"
110
  msgstr "auf dem Armaturenbrett (Dashboard)"
111
 
112
+ #: index.php:422
113
+ msgid "as a page under the dashboard menu"
114
+ msgstr "als eine Seite unter dem Dashboard-Menü"
115
+
116
+ #: index.php:431
117
+ msgid ""
118
+ "\n"
119
+ "\t\t\tPlease\n"
120
+ "\t\t\t<a href=\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=settingpage&utm_campaign=simplehistory\">\n"
121
+ "\t\t\tdonate\n"
122
+ "\t\t\t</a> to support the development of this plugin and to keep it free.\n"
123
+ "\t\t\tThanks!\n"
124
+ "\t\t\t"
125
+ msgstr ""
126
+ "\n"
127
+ "\t\t\tBitte\n"
128
+ "\t\t\t<a href=\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=settingpage&utm_campaign=simplehistory\">\n"
129
+ "\t\t\tspenden Sie,\n"
130
+ "\t\t\t</a> um die Weiterentwicklung dieses kostenlosen Plugins zu unterstützen.\n"
131
+ "\t\t\tDanke!\n"
132
+ "\t\t\t"
133
 
134
+ #: index.php:473
135
  msgid "Created new secret RSS adress"
136
  msgstr "Neue geheime RSS-Adresse erstellt"
137
 
138
+ #: index.php:484
139
  msgid "This is a secret RSS feed for Simple History. Only share the link with people you trust"
140
  msgstr "Dies ist ein vertraulicher RSS-Feed für Simple History. Teilen Sie das Link nur mit Leuten Ihres Vertrauens!"
141
 
142
+ #: index.php:487
143
+ msgid "You can <a href='%s#simple-history-settings-page'>generate a new address</a> for the RSS feed. This is useful if you think that the address has fallen into the wrong hands."
 
144
  msgstr "Sie können für den RSS-Feed <a href='%s'>eine neue Adresse erstellen</a> lassen. Dies ist hilfreich wenn Sie den Verdacht haben, daß die bisherige Adresse in falsche Hände gekommen sein könnte."
145
 
146
+ #: index.php:494
147
+ #: index.php:887
148
+ #: index.php:1434
149
+ msgid "activated"
150
+ msgstr "aktiviert"
 
151
 
152
+ #: index.php:498
153
+ #: index.php:1437
154
+ msgid "deactivated"
155
+ msgstr "deaktiviert"
156
 
157
+ #: index.php:510
158
+ #: index.php:526
159
+ #: index.php:558
160
+ msgid "From %1$s on %2$s"
161
+ msgstr "Von %1$s am %2$s"
162
 
163
+ #: index.php:513
164
+ msgid "edited"
165
+ msgstr "geändert"
166
 
167
+ #: index.php:513
168
+ #: index.php:529
169
+ #: index.php:561
170
+ msgid "Comment"
171
+ msgstr "Kommentar"
172
 
173
+ #: index.php:529
174
+ #: index.php:635
175
+ #: index.php:656
176
+ #: index.php:685
177
+ #: index.php:727
178
  msgid "deleted"
179
  msgstr "gelöscht"
180
 
181
+ #: index.php:545
182
+ msgid "approved"
183
+ msgstr "genehmigt"
184
+
185
+ #: index.php:547
186
+ msgid "unapproved"
187
+ msgstr "nicht genehmigt"
188
+
189
+ #: index.php:549
190
+ msgid "marked as spam"
191
+ msgstr "als Spam gekennzeichnet"
192
+
193
+ #: index.php:551
194
+ msgid "trashed"
195
+ msgstr "verworfen"
196
+
197
+ #: index.php:553
198
+ msgid "untrashed"
199
+ msgstr "wiederhergestellt"
200
+
201
+ #: index.php:623
202
  msgid "added"
203
  msgstr "hinzugefügt"
204
 
205
+ #: index.php:623
206
+ #: index.php:630
207
+ #: index.php:635
208
+ msgid "Attachment"
209
+ msgstr "Anhang"
210
+
211
+ #: index.php:642
212
+ #: index.php:656
213
+ #: index.php:670
214
+ #: index.php:677
215
+ msgid "User"
216
+ msgstr "Benutzer"
217
+
218
+ #: index.php:670
219
  msgid "logged in"
220
  msgstr "angemeldet"
221
 
222
+ #: index.php:677
223
  msgid "logged out"
224
  msgstr "abgemeldet"
225
 
226
+ #: index.php:685
227
+ msgid "Post"
228
+ msgstr "Artikel"
229
+
230
+ #: index.php:722
231
+ msgid "created"
232
+ msgstr "erzeugt"
233
+
234
+ #: index.php:1006
235
+ msgid "Search"
236
+ msgstr "Suche"
237
+
238
+ #: index.php:1043
239
+ msgid "Go to the first page"
240
+ msgstr "Gehe zur ersten Seite"
241
+
242
+ #: index.php:1044
243
+ msgid "Go to the previous page"
244
+ msgstr "Gehe zur vorherigen Seite"
245
+
246
+ #: index.php:1045
247
+ msgid "Current page"
248
+ msgstr "Aktuelle Seite"
249
+
250
+ #: index.php:1046
251
+ msgid "of"
252
+ msgstr "von"
253
+
254
+ #: index.php:1047
255
+ msgid "Go to the next page"
256
+ msgstr "Gehe zur nächsten Seite"
257
+
258
+ #: index.php:1048
259
+ msgid "Go to the last page"
260
+ msgstr "Gehe zur letzten Seite"
261
+
262
+ #: index.php:1280
263
+ msgid "Unknown or deleted user"
264
+ msgstr "Unbekannter oder gelöschter Benutzer"
265
+
266
+ #: index.php:1338
267
+ msgid "attachment"
268
+ msgstr "Anhang"
269
+
270
+ #: index.php:1370
271
+ msgid "user"
272
+ msgstr "Benutzer"
273
+
274
+ #: index.php:1440
275
+ msgid "enabled"
276
+ msgstr "aktiviert"
277
+
278
+ #: index.php:1443
279
+ msgid "disabled"
280
+ msgstr "deaktiviert"
281
+
282
+ #: index.php:1458
283
+ msgid "<span class=\"when\">%1$s ago</span> by %2$s"
284
+ msgstr "<span class=\"when\">vor %1$s</span> durch %2$s"
285
+
286
+ #: index.php:1460
287
+ msgid "%s at %s"
288
+ msgstr "%s bei %s"
289
+
290
+ #: index.php:1467
291
  msgid "+ 1 occasion"
292
  msgstr "+ 1 Fall"
293
 
294
+ #: index.php:1470
 
295
  msgid "+ %d occasions"
296
  msgstr "+ %d Fälle"
297
 
298
+ #: index.php:1478
299
+ msgid "%s ago (%s at %s)"
300
+ msgstr "vor %s (%s bei %s)"
301
+
302
+ #: index.php:1503
303
+ msgid "Show 5 more"
304
+ msgstr "Zeige 5 weitere"
305
 
306
+ #: index.php:1504
307
+ msgid "Show 15 more"
308
+ msgstr "Zeige 15 weitere"
309
+
310
+ #: index.php:1505
311
+ msgid "Show 50 more"
312
+ msgstr "Zeige 50 weitere"
313
+
314
+ #: index.php:1506
315
+ msgid "Show 100 more"
316
+ msgstr "Zeige 100 weitere"
317
+
318
+ #: index.php:1509
319
  msgid "Loading..."
320
  msgstr "Lade..."
321
 
322
+ #: index.php:1511
323
+ msgid "No matchin items found."
324
+ msgstr "Keine passenden Einträge gefunden."
325
 
326
+ #: index.php:1514
327
+ msgid "Show"
328
+ msgstr "Zeige"
329
 
330
+ #: index.php:1533
331
  msgid "No history items found."
332
  msgstr "Keine Vorfälle gefunden."
333
 
334
+ #: index.php:1534
335
  msgid "Please note that Simple History only records things that happen after this plugin have been installed."
336
  msgstr "Bitte beachten Sie, daß Simple History nur Vorfälle aufzeichnet, die nach der Installation des Plugins passiert sind."
337
 
338
+ #: index.php:1546
339
+ msgid "General Settings"
340
+ msgstr "Grundeinstellungen"
341
+
342
+ #: index.php:1547
343
+ msgid "Writing Settings"
344
+ msgstr "Schreib-Einstellungen"
345
+
346
+ #: index.php:1548
347
+ msgid "Reading Settings"
348
+ msgstr "Lese-Einstellungen"
349
+
350
+ #: index.php:1549
351
+ msgid "Discussion Settings"
352
+ msgstr "Diskussions-Einstellungen"
353
+
354
+ #: index.php:1550
355
+ msgid "Media Settings"
356
+ msgstr "Medien-Einstellungen"
357
+
358
+ #: index.php:1551
359
+ msgid "Privacy Settings"
360
+ msgstr "Privatsphäre-Einstellungen"
361
+
362
+ #: index.php:1557
363
+ #: index.php:1569
364
+ msgid "modified"
365
+ msgstr "geändert"
366
+
367
+ #: index.php:1557
368
+ #: index.php:1569
369
+ msgid "Settings page"
370
+ msgstr "Einstellungsseite"
371
+
372
+ #: index.php:1567
373
+ msgid "Permalink Settings"
374
+ msgstr "Permalink-Einstellungen"
375
+
376
+ #~ msgid "No more history items found."
377
+ #~ msgstr "Keine weiteren Vorfälle gefunden."
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin
5
  Requires at least: 3.0
6
  Tested up to: 3.4.2
7
- Stable tag: 1.0.1
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
@@ -92,6 +92,10 @@ to only use the secret RSS feed to keep track of the changes on you web site/Wor
92
 
93
  == Changelog ==
94
 
 
 
 
 
95
  = 1.0.1 =
96
  - The pagination no longer disappear after clickin "occasions"
97
  - Fixed: AJAX loading of new history items didn't work.
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin
5
  Requires at least: 3.0
6
  Tested up to: 3.4.2
7
+ Stable tag: 1.0.2
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
92
 
93
  == Changelog ==
94
 
95
+ = 1.0.2 =
96
+ - Fixed a translation bug
97
+ - Added updated German translation
98
+
99
  = 1.0.1 =
100
  - The pagination no longer disappear after clickin "occasions"
101
  - Fixed: AJAX loading of new history items didn't work.