Simple History - Version 2.3.1

Version Description

(October 2015) =

  • Fixed: Hopefully fixed the wrong relative time, as reported here: https://wordpress.org/support/topic/wrong-reporting-time.
  • Changed: The RSS-feed with updates is now disabled by default for new installs. It is password protected, but some users felt that is should be optional to activate it. And now it is! Thanks to https://github.com/guillaumemolter for adding this feature.
  • Fixed: Failed login entries when using plugin (Captcha on Login)[https://wordpress.org/plugins/captcha-on-login/] was reported as "Logged out" when they really meant "Failed to log in". Please note that this was nothing that Simple History did wrong, it was rather Captcha on Login that manually called wp_logout() each time a user failed to login. Should fix all those mystery "Logged out"-entried some of you users had.
  • Added: Filter simple_history/log/do_log that can be used to shortcut the log()-method.
  • Updated: German translation updated.
Download this release

Release Info

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

Code changes from version 2.3 to 2.3.1

README.md CHANGED
@@ -6,6 +6,8 @@ Download from WordPress.org:
6
  https://wordpress.org/plugins/simple-history/
7
 
8
  [![Build Status](https://travis-ci.org/bonny/WordPress-Simple-History.svg?branch=master)](https://travis-ci.org/bonny/WordPress-Simple-History)
 
 
9
 
10
  # Screenshots
11
 
6
  https://wordpress.org/plugins/simple-history/
7
 
8
  [![Build Status](https://travis-ci.org/bonny/WordPress-Simple-History.svg?branch=master)](https://travis-ci.org/bonny/WordPress-Simple-History)
9
+ ![Rating at wordpress.org](https://img.shields.io/wordpress/plugin/r/simple-history.svg)
10
+ ![Number of downloads](https://img.shields.io/wordpress/plugin/dt/simple-history.svg)
11
 
12
  # Screenshots
13
 
dropins/SimpleHistoryPluginPatchesDropin.php ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ defined( 'ABSPATH' ) or die();
4
+
5
+ /*
6
+ Dropin Name: Plugin Patches
7
+ Dropin Description: Used to patch plugins that behave wierd
8
+ Dropin URI: http://simple-history.com/
9
+ Author: Pär Thernström
10
+ */
11
+
12
+ class SimpleHistoryPluginPatchesDropin {
13
+
14
+ private $sh;
15
+
16
+ function __construct($sh) {
17
+
18
+ $this->sh = $sh;
19
+
20
+ $this->patch_captcha_on_login();
21
+
22
+ }
23
+
24
+ /**
25
+ * Captcha on Login
26
+ *
27
+ * Calls wp_logut() wrongly when
28
+ * - a user IP is blocked
29
+ * - when max num of tries is reached
30
+ * - or when the capcha is not correct
31
+ *
32
+ * So the event logged will be logged_out but should be user_login_failed or user_unknown_login_failed.
33
+ * Wrong events logged reported here:
34
+ * https://wordpress.org/support/topic/many-unknown-logged-out-entries
35
+ *
36
+ * Plugin also gives lots of errors, reported by me here:
37
+ * https://wordpress.org/support/topic/errors-has_cap-deprecated-strict-standards-warning
38
+ *
39
+ */
40
+ function patch_captcha_on_login() {
41
+
42
+ add_action( "simple_history/log/do_log", array( $this, "patch_captcha_on_login_on_log" ), 10, 3 );
43
+
44
+ }
45
+
46
+ // Detect that this log message is being called from Captha on login
47
+ function patch_captcha_on_login_on_log( $level = null, $message = null, $context = null ) {
48
+
49
+ if ( empty( $context ) || ! isset( $context["_message_key"] ) || "user_logged_out" != $context["_message_key"] ) {
50
+ // Message key did not exist or was not "user_logged_out"
51
+ return;
52
+ }
53
+
54
+ // codiga is the input with the captcha
55
+ if ( ! isset( $_POST["log"], $_POST["pwd"], $_POST["wp-submit"], $_POST["codigo"] ) ) {
56
+ // All needed post variables was not set
57
+ return;
58
+ }
59
+
60
+ // The Captcha on login uses a class called 'Anderson_Makiyama_Captcha_On_Login'
61
+ // and also a globla variable called $global $anderson_makiyama
62
+ global $anderson_makiyama;
63
+ if ( ! class_exists("Anderson_Makiyama_Captcha_On_Login") || ! isset( $anderson_makiyama ) ) {
64
+ return;
65
+ }
66
+
67
+ // We must come from wp-login
68
+ $wp_referer = wp_get_referer();
69
+ if ( ! $wp_referer || ! "wp-login.php" == basename( $wp_referer ) ) {
70
+ return;
71
+ }
72
+
73
+ $anderson_makiyama_indice = Anderson_Makiyama_Captcha_On_Login::PLUGIN_ID;
74
+ $capcha_on_login_class_name = $anderson_makiyama[$anderson_makiyama_indice]::CLASS_NAME;
75
+
76
+ $capcha_on_login_options = (array) get_option( $capcha_on_login_class_name . "_options", array());
77
+ $last_100_logins = isset( $capcha_on_login_options["last_100_logins"] ) ? (array) $capcha_on_login_options["last_100_logins"] : array();
78
+ $last_100_logins = array_reverse( $last_100_logins );
79
+
80
+ // Possible messages
81
+ // - Failed: IP already blocked
82
+ // - Failed: exceeded max number of tries
83
+ // - Failed: image code did not match
84
+ // - Failed: Login or Password did not match
85
+ // - Success
86
+ $last_login_status = isset( $last_100_logins[0][2] ) ? $last_100_logins[0][2] : "";
87
+
88
+ // If we get here we're pretty sure we come from Captcha on login
89
+ // and that we should cancel the wp_logout message and log an failed login instead
90
+
91
+ // Get the user logger
92
+ $userLogger = $this->sh->getInstantiatedLoggerBySlug( "SimpleUserLogger" );
93
+ if ( ! $userLogger ) {
94
+ return;
95
+ }
96
+
97
+ // $userLogger->warningMessage("user_unknown_login_failed", $context);
98
+
99
+ // Same context as in SimpleUserLogger
100
+ $context = array(
101
+ "_initiator" => SimpleLoggerLogInitiators::WEB_USER,
102
+ "_user_id" => null,
103
+ "_user_login" => null,
104
+ "_user_email" => null,
105
+ #"login_user_id" => $user->ID,
106
+ #"login_user_email" => $user->user_email,
107
+ #"login_user_login" => $user->user_login,
108
+ "server_http_user_agent" => isset( $_SERVER["HTTP_USER_AGENT"] ) ? $_SERVER["HTTP_USER_AGENT"] : null,
109
+ "_occasionsID" => "SimpleUserLogger" . '/failed_user_login',
110
+ "patch_using_patch" => true,
111
+ "patch_name" => "captcha_on_login"
112
+ );
113
+
114
+ // Append capcha message
115
+ if ( $last_login_status ) {
116
+ $context["patch_last_login_status"] = $last_login_status;
117
+ }
118
+
119
+ // Get user id and email and login
120
+ // Not passed to filter, but we have it in $_POST
121
+ $login_username = isset( $_POST["log"] ) ? $_POST["log"] : null;
122
+ if ($login_username ) {
123
+
124
+ $user = get_user_by( "login", $login_username );
125
+
126
+ if ( is_a( $user, "WP_User") ) {
127
+
128
+ $context["login_user_id"] = $user->ID;
129
+ $context["login_user_email"] = $user->user_email;
130
+ $context["login_user_login"] = $user->user_login;
131
+
132
+ }
133
+
134
+ }
135
+
136
+ $userLogger->warningMessage("user_login_failed", $context);
137
+
138
+ // Cancel original log event
139
+ return false;
140
+
141
+ /*$this->system_debug_log(
142
+ __FUNCTION__,
143
+ $level,
144
+ $message,
145
+ $context,
146
+ $last_login_status
147
+ );
148
+ */
149
+
150
+ }
151
+
152
+ /**
153
+ * Log misc useful things to the system log. Useful when developing/testing/debuging etc.
154
+ */
155
+ function system_debug_log() {
156
+
157
+ error_log( '$_GET: ' . SimpleHistory::json_encode( $_GET ) );
158
+ error_log( '$_POST: ' . SimpleHistory::json_encode( $_POST ) );
159
+ error_log( '$_FILES: ' . SimpleHistory::json_encode( $_FILES ) );
160
+ error_log( '$_SERVER: ' . SimpleHistory::json_encode( $_SERVER ) );
161
+
162
+ $args = func_get_args();
163
+ $i = 0;
164
+
165
+ foreach ( $args as $arg ) {
166
+ error_log( "\$arg $i: " . SimpleHistory::json_encode( $arg ) );
167
+ $i++;
168
+ }
169
+
170
+ }
171
+
172
+ } // end class
dropins/SimpleHistoryRSSDropin.php CHANGED
@@ -20,6 +20,9 @@ class SimpleHistoryRSSDropin {
20
  if ( ! function_exists('get_editable_roles') ) {
21
  require_once( ABSPATH . '/wp-admin/includes/user.php' );
22
  }
 
 
 
23
 
24
  // Generate a rss secret, if it does not exist
25
  if ( ! get_option("simple_history_rss_secret") ) {
@@ -38,6 +41,9 @@ class SimpleHistoryRSSDropin {
38
  * + also regenerates the secret if requested
39
  */
40
  public function add_settings() {
 
 
 
41
 
42
  /**
43
  * Start new section for RSS feed
@@ -50,24 +56,38 @@ class SimpleHistoryRSSDropin {
50
  array($this, "settings_section_output"),
51
  SimpleHistory::SETTINGS_MENU_SLUG // same slug as for options menu page
52
  );
53
-
54
- // RSS address
55
- add_settings_field(
56
- "simple_history_rss_feed",
57
- __("Address", "simple-history"),
58
- array($this, "settings_field_rss"),
59
- SimpleHistory::SETTINGS_MENU_SLUG,
60
- $settings_section_rss_id
61
- );
62
-
63
- // Regnerate address
64
  add_settings_field(
65
- "simple_history_rss_feed_regenerate_secret",
66
- __("Regenerate", "simple-history"),
67
- array($this, "settings_field_rss_regenerate"),
68
  SimpleHistory::SETTINGS_MENU_SLUG,
69
  $settings_section_rss_id
70
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
  // Create new RSS secret
73
  $create_new_secret = false;
@@ -91,6 +111,57 @@ class SimpleHistoryRSSDropin {
91
  }
92
 
93
  } // settings
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
 
95
 
96
  /**
@@ -134,7 +205,7 @@ class SimpleHistoryRSSDropin {
134
 
135
  $rss_show = true;
136
  $rss_show = apply_filters("simple_history/rss_feed_show", $rss_show);
137
- if( ! $rss_show ) {
138
  wp_die( 'Nothing here.' );
139
  }
140
 
20
  if ( ! function_exists('get_editable_roles') ) {
21
  require_once( ABSPATH . '/wp-admin/includes/user.php' );
22
  }
23
+
24
+ //Check the status of the RSS feed
25
+ $this->is_rss_enabled();
26
 
27
  // Generate a rss secret, if it does not exist
28
  if ( ! get_option("simple_history_rss_secret") ) {
41
  * + also regenerates the secret if requested
42
  */
43
  public function add_settings() {
44
+
45
+ //we register a setting to keep track of the RSS feed status (enabled/disabled)
46
+ register_setting( 'simple_history_settings_group', 'simple_history_enable_rss_feed', array($this, 'update_rss_status') );
47
 
48
  /**
49
  * Start new section for RSS feed
56
  array($this, "settings_section_output"),
57
  SimpleHistory::SETTINGS_MENU_SLUG // same slug as for options menu page
58
  );
59
+
60
+ // Enable/Disabled RSS feed
 
 
 
 
 
 
 
 
 
61
  add_settings_field(
62
+ "simple_history_enable_rss_feed",
63
+ __("Enable", "simple-history"),
64
+ array($this, "settings_field_rss_enable"),
65
  SimpleHistory::SETTINGS_MENU_SLUG,
66
  $settings_section_rss_id
67
  );
68
+
69
+ //if RSS is activated we display other fields
70
+ if($this->is_rss_enabled()){
71
+
72
+ // RSS address
73
+ add_settings_field(
74
+ "simple_history_rss_feed",
75
+ __("Address", "simple-history"),
76
+ array($this, "settings_field_rss"),
77
+ SimpleHistory::SETTINGS_MENU_SLUG,
78
+ $settings_section_rss_id
79
+ );
80
+
81
+ // Regnerate address
82
+ add_settings_field(
83
+ "simple_history_rss_feed_regenerate_secret",
84
+ __("Regenerate", "simple-history"),
85
+ array($this, "settings_field_rss_regenerate"),
86
+ SimpleHistory::SETTINGS_MENU_SLUG,
87
+ $settings_section_rss_id
88
+ );
89
+
90
+ }
91
 
92
  // Create new RSS secret
93
  $create_new_secret = false;
111
  }
112
 
113
  } // settings
114
+
115
+ /**
116
+ * Check if RSS feed is enabled or disabled
117
+ */
118
+ function is_rss_enabled() {
119
+
120
+ // User has never used the plugin we disable RSS feed
121
+ if ( get_option("simple_history_rss_secret") === false && get_option("simple_history_enable_rss_feed") === false ) {
122
+ //We disable RSS by default, we use 0/1 to prevent fake disabled with bools from functions returning false for unset
123
+ update_option("simple_history_enable_rss_feed" , "0" );
124
+ }
125
+ // User was using the plugin before RSS feed became disabled by default
126
+ // We activate RSS to prevent a "breaking change"
127
+ else if(get_option("simple_history_enable_rss_feed") === false){
128
+ update_option("simple_history_enable_rss_feed" , "1" );
129
+ return true;
130
+ }
131
+ else if( get_option("simple_history_enable_rss_feed") === "1" ){
132
+ return true;
133
+ }
134
+
135
+ return false;
136
+
137
+ }
138
+
139
+ /**
140
+ * Output for settings field that show current RSS address
141
+ */
142
+ function settings_field_rss_enable() {
143
+
144
+ ?>
145
+
146
+ <input value="1" type="checkbox" id="simple_history_enable_rss_feed" name="simple_history_enable_rss_feed" <?php checked( $this->is_rss_enabled(), 1 ); ?> />
147
+ <label for="simple_history_enable_rss_feed"><?php _e( "Enable RSS feed", 'simple-history' )?></label>
148
+
149
+ <?php
150
+
151
+ }
152
+
153
+ /**
154
+ * Sanitize RSS enabled/disabled status on update settings
155
+ */
156
+ function update_rss_status($field) {
157
+
158
+ if( $field === "1" ){
159
+ return "1";
160
+ }
161
+
162
+ return "0";
163
+
164
+ }
165
 
166
 
167
  /**
205
 
206
  $rss_show = true;
207
  $rss_show = apply_filters("simple_history/rss_feed_show", $rss_show);
208
+ if( ! $rss_show || ! $this->is_rss_enabled() ) {
209
  wp_die( 'Nothing here.' );
210
  }
211
 
inc/SimpleHistory.php CHANGED
@@ -827,6 +827,7 @@ class SimpleHistory {
827
  $dropinsDir = SIMPLE_HISTORY_PATH . "dropins/";
828
 
829
  $dropinsFiles = array(
 
830
  $dropinsDir . "SimpleHistoryDonateDropin.php",
831
  $dropinsDir . "SimpleHistoryExportDropin.php",
832
  $dropinsDir . "SimpleHistoryFilterDropin.php",
827
  $dropinsDir = SIMPLE_HISTORY_PATH . "dropins/";
828
 
829
  $dropinsFiles = array(
830
+ $dropinsDir . "SimpleHistoryPluginPatchesDropin.php",
831
  $dropinsDir . "SimpleHistoryDonateDropin.php",
832
  $dropinsDir . "SimpleHistoryExportDropin.php",
833
  $dropinsDir . "SimpleHistoryFilterDropin.php",
index.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://simple-history.com
5
  Text Domain: simple-history
6
  Domain Path: /languages
7
  Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
8
- Version: 2.3
9
  Author: Pär Thernström
10
  Author URI: http://simple-history.com/
11
  License: GPL2
@@ -46,7 +46,7 @@ if ( version_compare( phpversion(), "5.3", ">=") ) {
46
  // register_activation_hook( trailingslashit(WP_PLUGIN_DIR) . trailingslashit( plugin_basename(__DIR__) ) . "index.php" , array("SimpleHistory", "on_plugin_activate" ) );
47
 
48
  if ( ! defined( 'SIMPLE_HISTORY_VERSION' ) ) {
49
- define( 'SIMPLE_HISTORY_VERSION', '2.3' );
50
  }
51
 
52
  if ( ! defined( 'SIMPLE_HISTORY_PATH' ) ) {
5
  Text Domain: simple-history
6
  Domain Path: /languages
7
  Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
8
+ Version: 2.3.1
9
  Author: Pär Thernström
10
  Author URI: http://simple-history.com/
11
  License: GPL2
46
  // register_activation_hook( trailingslashit(WP_PLUGIN_DIR) . trailingslashit( plugin_basename(__DIR__) ) . "index.php" , array("SimpleHistory", "on_plugin_activate" ) );
47
 
48
  if ( ! defined( 'SIMPLE_HISTORY_VERSION' ) ) {
49
+ define( 'SIMPLE_HISTORY_VERSION', '2.3.1' );
50
  }
51
 
52
  if ( ! defined( 'SIMPLE_HISTORY_PATH' ) ) {
languages/simple-history-de_DE.mo CHANGED
Binary file
languages/simple-history-de_DE.po CHANGED
@@ -4,21 +4,21 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Simple History 2.0.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
- "POT-Creation-Date: 2015-07-16 19:15:38+00:00\n"
8
- "PO-Revision-Date: 2015-07-22 16:24+0100\n"
9
  "Last-Translator: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
10
  "Language-Team: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
11
  "Language: de_DE\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.7.6\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-SourceCharset: UTF-8\n"
21
- "X-Poedit-Basepath: ../\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
@@ -85,13 +85,11 @@ msgstr "Wiederherstellen"
85
  msgid "Created new secret RSS address"
86
  msgstr "Neue RSS-Geheim-Adresse erzeugt"
87
 
88
- #: dropins/SimpleHistoryRSSDropin.php:150
89
- #: dropins/SimpleHistoryRSSDropin.php:279
90
  msgid "History for %s"
91
  msgstr "Historie für"
92
 
93
- #: dropins/SimpleHistoryRSSDropin.php:151
94
- #: dropins/SimpleHistoryRSSDropin.php:280
95
  msgid "WordPress History for %s"
96
  msgstr "WordPress Historie für %s"
97
 
@@ -157,7 +155,7 @@ msgstr "Titel der neuen Seite eingeben"
157
  msgid "Stats"
158
  msgstr "Statistiken"
159
 
160
- #: dropins/SimpleHistorySidebarDropin.php:165 loggers/SimpleLogger.php:366
161
  msgid "Just now"
162
  msgstr "gerade eben"
163
 
@@ -166,167 +164,176 @@ msgid "Got a 404-page when trying to visit \"{request_uri}\""
166
  msgstr ""
167
  "Der Versuch \"{request_uri}\" aufzurufen resultierte in einer Fehler 404-Seite"
168
 
169
- #: inc/SimpleHistory.php:370
170
  msgid "Sorry, but there are too many similar events to show."
171
  msgstr ""
172
  "Entschuldigung, aber hiervon gibt es zu viele gleichartige Ereignisse, um sie "
173
  "anzeigen zu können."
174
 
175
- #: inc/SimpleHistory.php:573 inc/SimpleHistory.php:899
176
  msgid "Settings"
177
  msgstr "Einstellungen"
178
 
179
- #: inc/SimpleHistory.php:584
180
  msgid "Log (debug)"
181
  msgstr "Logbuch (Fehlersuche)"
182
 
183
- #: inc/SimpleHistory.php:589
184
  msgid "Styles example (debug)"
185
  msgstr "Stil-Beispiel (Fehlersuche)"
186
 
187
  #. Plugin Name of the plugin/theme
188
- #: inc/SimpleHistory.php:924
189
  msgid "Simple History"
190
  msgstr "Simple History"
191
 
192
- #: inc/SimpleHistory.php:1000
193
  msgid "Remove all log items?"
194
  msgstr "Alle Einträge im Logbuch entfernen?"
195
 
196
- #: inc/SimpleHistory.php:1002
197
  msgid "Go to the first page"
198
  msgstr "Gehe zur ersten Seite"
199
 
200
- #: inc/SimpleHistory.php:1003
201
  msgid "Go to the previous page"
202
  msgstr "Gehe zur vorherigen Seite"
203
 
204
- #: inc/SimpleHistory.php:1004
205
  msgid "Go to the next page"
206
  msgstr "Gehe zur nächsten Seite"
207
 
208
- #: inc/SimpleHistory.php:1005
209
  msgid "Go to the last page"
210
  msgstr "Gehe zur letzten Seite"
211
 
212
- #: inc/SimpleHistory.php:1006
213
  msgid "Current page"
214
  msgstr "Aktuelle Seite"
215
 
216
- #: inc/SimpleHistory.php:1008
217
  msgid "Oups, the log could not be loaded right now."
218
  msgstr "Hoppla, das Logbuch konnte eben nicht geladen werden."
219
 
220
- #: inc/SimpleHistory.php:1009
 
 
 
 
 
 
 
 
 
221
  msgid "Your search did not match any history events."
222
  msgstr "Deine Suche erbrachte keine Übereinstimmungen mit Ereignissen."
223
 
224
- #: inc/SimpleHistory.php:1293 inc/SimpleHistory.php:1408
225
  msgid "Simple History Settings"
226
  msgstr "Simple History Einstellungen"
227
 
228
- #: inc/SimpleHistory.php:1327
229
  msgid "No valid callback found"
230
  msgstr "Kein valider Rückruf gefunden"
231
 
232
- #: inc/SimpleHistory.php:1429
233
  msgid "Cleared database"
234
  msgstr "Datenbank geleert"
235
 
236
- #: inc/SimpleHistory.php:1456
237
  msgid "Show history"
238
  msgstr "Zeige Logbuch"
239
 
240
- #: inc/SimpleHistory.php:1469
241
  msgid "Number of items per page"
242
  msgstr "Zahl der Einträge pro Seite"
243
 
244
- #: inc/SimpleHistory.php:1481
245
  msgid "Clear log"
246
  msgstr "Logbuch leeren"
247
 
248
- #: inc/SimpleHistory.php:1620
249
  msgid "on the dashboard"
250
  msgstr "auf dem Dashboard"
251
 
252
- #: inc/SimpleHistory.php:1625
253
  msgid "as a page under the dashboard menu"
254
  msgstr "als eine Seite im Dashboard-Menü"
255
 
256
- #: inc/SimpleHistory.php:1641
257
  msgid "Items in the database are automatically removed after %1$s days."
258
  msgstr "Einträge in der Datenbank werden nach %1$s Tagen automatisch entfernt."
259
 
260
- #: inc/SimpleHistory.php:1643
261
  msgid "Items in the database are kept forever."
262
  msgstr "Einträge in der Datenbank werden auf ewig behalten."
263
 
264
- #: inc/SimpleHistory.php:1647
265
  msgid "Clear log now"
266
  msgstr "Logbuch jetzt leeren"
267
 
268
- #: inc/SimpleHistory.php:1699
269
  msgid "The log for Simple History was cleared ({num_rows} rows were removed)."
270
  msgstr ""
271
  "Das Logbuch von Simple History wurde geleert ({num_rows} Zeilen wurden "
272
  "entfernt)."
273
 
274
- #: inc/SimpleHistory.php:1963
275
  msgid "+%1$s similar event"
276
  msgid_plural "+%1$s similar events"
277
  msgstr[0] "+%1$s gleichartiges Ereignis"
278
  msgstr[1] "+%1$s gleichartige Ereignisse"
279
 
280
- #: inc/SimpleHistory.php:1970
281
  msgid "Loading…"
282
  msgstr "Lade..."
283
 
284
- #: inc/SimpleHistory.php:1977
285
  msgid "Showing %1$s more"
286
  msgstr "Zeige %1$s mehr"
287
 
288
- #: inc/SimpleHistory.php:2016
289
  msgid "Context data"
290
  msgstr "Kontext-Daten"
291
 
292
- #: inc/SimpleHistory.php:2017
293
  msgid "This is potentially useful meta data that a logger has saved."
294
  msgstr ""
295
  "Dies sind potentiell nützliche Meta-Daten, die ein Logger abgespeichert hat."
296
 
297
- #: inc/SimpleHistory.php:2639
298
  msgid "No events today so far."
299
  msgstr "Heute sind noch keine Ereignisse aufgetreten."
300
 
301
- #: inc/SimpleHistory.php:2658
302
  msgid "One event today from one user."
303
  msgstr "Ein Ereignis heute von einem Benutzer."
304
 
305
- #: inc/SimpleHistory.php:2664
306
  msgid "One event today from one source."
307
  msgstr "Ein Ereignis heute aus einer Quelle."
308
 
309
- #: inc/SimpleHistory.php:2670
310
  msgid "%1$d events today from one user."
311
  msgstr "%1$d Ereignisse heute von einem Benutzer."
312
 
313
- #: inc/SimpleHistory.php:2676
314
  msgid "%1$d events today from %2$d users."
315
  msgstr "%1$d Ereignisse heute von %2$d Benutzern."
316
 
317
- #: inc/SimpleHistory.php:2682 inc/SimpleHistory.php:2688
318
  msgid "%1$d events today from one user and one other source."
319
  msgstr "%1$d Ereignisse heute von einem Benutzer und einer anderen Quelle."
320
 
321
- #: inc/SimpleHistory.php:2694
322
  msgid "%1$d events today from one user and %3$d other sources."
323
  msgstr "%1$d Ereignisse heute von einem Benutzer und %3$d anderen Quellen."
324
 
325
- #: inc/SimpleHistory.php:2700
326
  msgid "%1$s events today from %2$d users and %3$d other sources."
327
  msgstr "%1$s Ereignisse heute von %2$d Benutzern und %3$d anderen Quellen."
328
 
329
- #: index.php:97
330
  msgid ""
331
  "Simple History is a great plugin, but to use it your server must have at "
332
  "least PHP 5.3 installed (you have version %s)."
@@ -358,15 +365,28 @@ msgstr "Pingback"
358
  msgid "Comment"
359
  msgstr "Kommentar"
360
 
361
- #: loggers/SimpleCoreUpdatesLogger.php:31
362
  msgid "Updated WordPress to {new_version} from {prev_version}"
363
  msgstr "hat WordPress auf {new_version} von {prev_version} aktualisiert"
364
 
365
- #: loggers/SimpleCoreUpdatesLogger.php:32
366
  msgid "WordPress auto-updated to {new_version} from {prev_version}"
367
  msgstr ""
368
  "WordPress hat sich selbst von {prev_version} auf {new_version} aktualisiert"
369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  #: loggers/SimpleExportLogger.php:25
371
  msgid "Created XML export"
372
  msgstr "XML-Export erzeugt"
@@ -379,25 +399,25 @@ msgstr "von %s"
379
  msgid "%d occasions"
380
  msgstr "%d Vorkommnisse"
381
 
382
- #: loggers/SimpleLogger.php:234
383
  msgid "Deleted user (had id %1$s, email %2$s, login %3$s)"
384
  msgstr "gelöschter Benutzer (hatte ID %1$s, E-Mail %2$s, Login %3$s)"
385
 
386
- #: loggers/SimpleLogger.php:260
387
  msgid "Anonymous web user"
388
  msgstr "Anonymer Netz-Nutzer"
389
 
390
- #: loggers/SimpleLogger.php:293
391
  msgid "Anonymous user from %1$s"
392
  msgstr "Anonymer Benutzer von %1$s"
393
 
394
  #. translators: Date format for log row header, see http:php.net/date
395
- #: loggers/SimpleLogger.php:371
396
  msgid "M j, Y \\a\\t G:i"
397
  msgstr "j. M. Y \\u\\m G:i \\U\\h\\r"
398
 
399
  #. translators: 1: last modified date and time in human time diff-format
400
- #: loggers/SimpleLogger.php:379
401
  msgid "%1$s ago"
402
  msgstr "vor %1$s"
403
 
@@ -517,7 +537,7 @@ msgstr "hat {post_type} \"{post_title}\" aktualisiert"
517
  msgid "Restored {post_type} \"{post_title}\" from trash"
518
  msgstr "hat {post_type} \"{post_title}\" aus dem Papierkorb wiederhergestellt"
519
 
520
- #: loggers/SimplePostLogger.php:122 loggers/SimplePostLogger.php:687
521
  msgid "Deleted {post_type} \"{post_title}\""
522
  msgstr "hat {post_type} \"{post_title}\" gelöscht"
523
 
@@ -525,51 +545,51 @@ msgstr "hat {post_type} \"{post_title}\" gelöscht"
525
  msgid "Moved {post_type} \"{post_title}\" to the trash"
526
  msgstr "hat {post_type} \"{post_title}\" in den Papierkorb verschoben"
527
 
528
- #: loggers/SimplePostLogger.php:683
529
  msgid "Updated {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
530
  msgstr ""
531
  "hat {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> aktualisiert"
532
 
533
- #: loggers/SimplePostLogger.php:691
534
  msgid "Created {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
535
  msgstr "hat {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> erzeugt"
536
 
537
- #: loggers/SimplePostLogger.php:696
538
  msgid ""
539
  "Moved {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> to the trash"
540
  msgstr ""
541
  "hat {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> in den "
542
  "Papierkorb verschoben"
543
 
544
- #: loggers/SimplePostLogger.php:748
545
  msgid "Title"
546
  msgstr "Titel"
547
 
548
- #: loggers/SimplePostLogger.php:762
549
  msgid "Content"
550
  msgstr "Inhalt"
551
 
552
- #: loggers/SimplePostLogger.php:776
553
  msgid "Status"
554
  msgstr "Status"
555
 
556
- #: loggers/SimplePostLogger.php:792
557
  msgid "Publish date"
558
  msgstr "Veröffentlichungs-Datum"
559
 
560
- #: loggers/SimplePostLogger.php:807
561
  msgid "Permalink"
562
  msgstr "Permalink"
563
 
564
- #: loggers/SimplePostLogger.php:821
565
  msgid "Comment status"
566
  msgstr "Kommentar-Status"
567
 
568
- #: loggers/SimplePostLogger.php:844
569
  msgid "Author"
570
  msgstr "Autor"
571
 
572
- #: loggers/SimplePostLogger.php:846
573
  msgid ""
574
  "Changed from {prev_user_display_name} ({prev_user_email}) to "
575
  "{new_user_display_name} ({new_user_email})"
@@ -577,21 +597,21 @@ msgstr ""
577
  "Geändert von {prev_user_display_name} ({prev_user_email}) zu "
578
  "{new_user_display_name} ({new_user_email})"
579
 
580
- #: loggers/SimplePostLogger.php:880
581
  msgid "Changed from {prev_page_template} to {new_page_template}"
582
  msgstr "Geändert von {prev_page_template} zu {new_page_template}"
583
 
584
- #: loggers/SimplePostLogger.php:882
585
  msgid ""
586
  "Changed from \"{prev_page_template_name}\" to \"{new_page_template_name}\""
587
  msgstr ""
588
  "Geändert von \"{prev_page_template_name}\" zu \"{new_page_template_name}\""
589
 
590
- #: loggers/SimplePostLogger.php:890
591
  msgid "Template"
592
  msgstr "Template"
593
 
594
- #: loggers/SimplePostLogger.php:934
595
  msgid "Custom fields"
596
  msgstr "Benutzerdefinierte Felder"
597
 
@@ -948,33 +968,33 @@ msgctxt "User logger: 404"
948
  msgid "Pages not found"
949
  msgstr "Seiten nicht gefunden"
950
 
951
- #: inc/SimpleHistory.php:290
952
  msgctxt ""
953
  "Message visible while waiting for log to load from server the first time"
954
  msgid "Loading history..."
955
  msgstr "Lade Historie..."
956
 
957
- #: inc/SimpleHistory.php:327
958
  msgctxt "page n of n"
959
  msgid "of"
960
  msgstr "von"
961
 
962
- #: inc/SimpleHistory.php:422
963
  msgctxt "API: not enought arguments passed"
964
  msgid "Not enough args specified"
965
  msgstr "Nicht genügend Argumente angegeben"
966
 
967
- #: inc/SimpleHistory.php:1390
968
  msgctxt "dashboard menu name"
969
  msgid "Simple History"
970
  msgstr "Simple History"
971
 
972
- #: inc/SimpleHistory.php:1517
973
  msgctxt "history page headline"
974
  msgid "Simple History"
975
  msgstr "Simple History"
976
 
977
- #: inc/SimpleHistory.php:1787
978
  msgctxt "simple-history"
979
  msgid "Simple History removed one event that were older than {days} days"
980
  msgid_plural ""
@@ -985,86 +1005,156 @@ msgstr[1] ""
985
  "Simple History hat {num_rows} Ereignisse entfernt welche älter als {days} "
986
  "Tage waren"
987
 
988
- #: inc/SimpleHistory.php:2248
989
  msgctxt "Log level in gui"
990
  msgid "emergency"
991
  msgstr "Notfall"
992
 
993
- #: inc/SimpleHistory.php:2252
994
  msgctxt "Log level in gui"
995
  msgid "alert"
996
  msgstr "Alarm"
997
 
998
- #: inc/SimpleHistory.php:2256
999
  msgctxt "Log level in gui"
1000
  msgid "critical"
1001
  msgstr "Kritisch"
1002
 
1003
- #: inc/SimpleHistory.php:2260
1004
  msgctxt "Log level in gui"
1005
  msgid "error"
1006
  msgstr "Fehler"
1007
 
1008
- #: inc/SimpleHistory.php:2264
1009
  msgctxt "Log level in gui"
1010
  msgid "warning"
1011
  msgstr "Warnung"
1012
 
1013
- #: inc/SimpleHistory.php:2268
1014
  msgctxt "Log level in gui"
1015
  msgid "notice"
1016
  msgstr "Hinweis"
1017
 
1018
- #: inc/SimpleHistory.php:2272
1019
  msgctxt "Log level in gui"
1020
  msgid "info"
1021
  msgstr "Information"
1022
 
1023
- #: inc/SimpleHistory.php:2276
1024
  msgctxt "Log level in gui"
1025
  msgid "debug"
1026
  msgstr "Fehlersuche"
1027
 
1028
- #: inc/SimpleHistory.php:2281
1029
  msgctxt "Log level in gui"
1030
  msgid "Emergency"
1031
  msgstr "Notfall"
1032
 
1033
- #: inc/SimpleHistory.php:2285
1034
  msgctxt "Log level in gui"
1035
  msgid "Alert"
1036
  msgstr "Alarm"
1037
 
1038
- #: inc/SimpleHistory.php:2289
1039
  msgctxt "Log level in gui"
1040
  msgid "Critical"
1041
  msgstr "Kritisch"
1042
 
1043
- #: inc/SimpleHistory.php:2293
1044
  msgctxt "Log level in gui"
1045
  msgid "Error"
1046
  msgstr "Fehler"
1047
 
1048
- #: inc/SimpleHistory.php:2297
1049
  msgctxt "Log level in gui"
1050
  msgid "Warning"
1051
  msgstr "Warnung"
1052
 
1053
- #: inc/SimpleHistory.php:2301
1054
  msgctxt "Log level in gui"
1055
  msgid "Notice"
1056
  msgstr "Hinweis"
1057
 
1058
- #: inc/SimpleHistory.php:2305
1059
  msgctxt "Log level in gui"
1060
  msgid "Info"
1061
  msgstr "Information"
1062
 
1063
- #: inc/SimpleHistory.php:2309
1064
  msgctxt "Log level in gui"
1065
  msgid "Debug"
1066
  msgstr "Fehlersuche"
1067
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1068
  #: loggers/SimpleCommentsLogger.php:97
1069
  msgctxt "A comment was added to the database by a non-logged in internet user"
1070
  msgid "Added a comment to {comment_post_type} \"{comment_post_title}\""
@@ -1370,12 +1460,12 @@ msgctxt "comments logger - edit comment"
1370
  msgid "View/Edit"
1371
  msgstr "Betrachte/Ändere"
1372
 
1373
- #: loggers/SimpleCoreUpdatesLogger.php:36
1374
  msgctxt "User logger: search"
1375
  msgid "WordPress Core"
1376
  msgstr "WordPress-Kern"
1377
 
1378
- #: loggers/SimpleCoreUpdatesLogger.php:38
1379
  msgctxt "User logger: search"
1380
  msgid "WordPress core updates"
1381
  msgstr "WordPress-Kern-Aktualisierungen"
@@ -1430,12 +1520,12 @@ msgctxt "Export logger: search"
1430
  msgid "Created exports"
1431
  msgstr "erstellte Exporte"
1432
 
1433
- #: loggers/SimpleLogger.php:220
1434
  msgctxt "header output when initiator is the currently logged in user"
1435
  msgid "You"
1436
  msgstr "Dein eigener Benutzername"
1437
 
1438
- #: loggers/SimpleLogger.php:311
1439
  msgctxt "Event header output, when initiator is unknown"
1440
  msgid "Other"
1441
  msgstr "Anderer"
4
  msgstr ""
5
  "Project-Id-Version: Simple History 2.0.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
+ "POT-Creation-Date: 2015-10-18 14:04+0200\n"
8
+ "PO-Revision-Date: 2015-10-18 14:36+0200\n"
9
  "Last-Translator: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
10
  "Language-Team: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
11
  "Language: de_DE\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.8.5\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-SourceCharset: UTF-8\n"
21
+ "X-Poedit-Basepath: ..\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
85
  msgid "Created new secret RSS address"
86
  msgstr "Neue RSS-Geheim-Adresse erzeugt"
87
 
88
+ #: dropins/SimpleHistoryRSSDropin.php:150 dropins/SimpleHistoryRSSDropin.php:279
 
89
  msgid "History for %s"
90
  msgstr "Historie für"
91
 
92
+ #: dropins/SimpleHistoryRSSDropin.php:151 dropins/SimpleHistoryRSSDropin.php:280
 
93
  msgid "WordPress History for %s"
94
  msgstr "WordPress Historie für %s"
95
 
155
  msgid "Stats"
156
  msgstr "Statistiken"
157
 
158
+ #: dropins/SimpleHistorySidebarDropin.php:167 loggers/SimpleLogger.php:377
159
  msgid "Just now"
160
  msgstr "gerade eben"
161
 
164
  msgstr ""
165
  "Der Versuch \"{request_uri}\" aufzurufen resultierte in einer Fehler 404-Seite"
166
 
167
+ #: inc/SimpleHistory.php:357
168
  msgid "Sorry, but there are too many similar events to show."
169
  msgstr ""
170
  "Entschuldigung, aber hiervon gibt es zu viele gleichartige Ereignisse, um sie "
171
  "anzeigen zu können."
172
 
173
+ #: inc/SimpleHistory.php:582 inc/SimpleHistory.php:951
174
  msgid "Settings"
175
  msgstr "Einstellungen"
176
 
177
+ #: inc/SimpleHistory.php:593
178
  msgid "Log (debug)"
179
  msgstr "Logbuch (Fehlersuche)"
180
 
181
+ #: inc/SimpleHistory.php:598
182
  msgid "Styles example (debug)"
183
  msgstr "Stil-Beispiel (Fehlersuche)"
184
 
185
  #. Plugin Name of the plugin/theme
186
+ #: inc/SimpleHistory.php:976
187
  msgid "Simple History"
188
  msgstr "Simple History"
189
 
190
+ #: inc/SimpleHistory.php:1052
191
  msgid "Remove all log items?"
192
  msgstr "Alle Einträge im Logbuch entfernen?"
193
 
194
+ #: inc/SimpleHistory.php:1054
195
  msgid "Go to the first page"
196
  msgstr "Gehe zur ersten Seite"
197
 
198
+ #: inc/SimpleHistory.php:1055
199
  msgid "Go to the previous page"
200
  msgstr "Gehe zur vorherigen Seite"
201
 
202
+ #: inc/SimpleHistory.php:1056
203
  msgid "Go to the next page"
204
  msgstr "Gehe zur nächsten Seite"
205
 
206
+ #: inc/SimpleHistory.php:1057
207
  msgid "Go to the last page"
208
  msgstr "Gehe zur letzten Seite"
209
 
210
+ #: inc/SimpleHistory.php:1058
211
  msgid "Current page"
212
  msgstr "Aktuelle Seite"
213
 
214
+ #: inc/SimpleHistory.php:1060
215
  msgid "Oups, the log could not be loaded right now."
216
  msgstr "Hoppla, das Logbuch konnte eben nicht geladen werden."
217
 
218
+ #: inc/SimpleHistory.php:1061
219
+ msgid ""
220
+ "Hm, the log could not be loaded right now. Perhaps another plugin is giving "
221
+ "some errors. Anyway, below is the output I got from the server."
222
+ msgstr ""
223
+ "Hm, das Logbuch konnte soeben nicht geladen werden. Möglicherweise verursacht "
224
+ "ein anderes Plugin Fehler. Egal, nachfolgend kommt der Output, den ich vom "
225
+ "Server erhalten habe."
226
+
227
+ #: inc/SimpleHistory.php:1062
228
  msgid "Your search did not match any history events."
229
  msgstr "Deine Suche erbrachte keine Übereinstimmungen mit Ereignissen."
230
 
231
+ #: inc/SimpleHistory.php:1411 inc/SimpleHistory.php:1526
232
  msgid "Simple History Settings"
233
  msgstr "Simple History Einstellungen"
234
 
235
+ #: inc/SimpleHistory.php:1445
236
  msgid "No valid callback found"
237
  msgstr "Kein valider Rückruf gefunden"
238
 
239
+ #: inc/SimpleHistory.php:1547
240
  msgid "Cleared database"
241
  msgstr "Datenbank geleert"
242
 
243
+ #: inc/SimpleHistory.php:1574
244
  msgid "Show history"
245
  msgstr "Zeige Logbuch"
246
 
247
+ #: inc/SimpleHistory.php:1587
248
  msgid "Number of items per page"
249
  msgstr "Zahl der Einträge pro Seite"
250
 
251
+ #: inc/SimpleHistory.php:1599
252
  msgid "Clear log"
253
  msgstr "Logbuch leeren"
254
 
255
+ #: inc/SimpleHistory.php:1738
256
  msgid "on the dashboard"
257
  msgstr "auf dem Dashboard"
258
 
259
+ #: inc/SimpleHistory.php:1743
260
  msgid "as a page under the dashboard menu"
261
  msgstr "als eine Seite im Dashboard-Menü"
262
 
263
+ #: inc/SimpleHistory.php:1759
264
  msgid "Items in the database are automatically removed after %1$s days."
265
  msgstr "Einträge in der Datenbank werden nach %1$s Tagen automatisch entfernt."
266
 
267
+ #: inc/SimpleHistory.php:1761
268
  msgid "Items in the database are kept forever."
269
  msgstr "Einträge in der Datenbank werden auf ewig behalten."
270
 
271
+ #: inc/SimpleHistory.php:1765
272
  msgid "Clear log now"
273
  msgstr "Logbuch jetzt leeren"
274
 
275
+ #: inc/SimpleHistory.php:1817
276
  msgid "The log for Simple History was cleared ({num_rows} rows were removed)."
277
  msgstr ""
278
  "Das Logbuch von Simple History wurde geleert ({num_rows} Zeilen wurden "
279
  "entfernt)."
280
 
281
+ #: inc/SimpleHistory.php:2081
282
  msgid "+%1$s similar event"
283
  msgid_plural "+%1$s similar events"
284
  msgstr[0] "+%1$s gleichartiges Ereignis"
285
  msgstr[1] "+%1$s gleichartige Ereignisse"
286
 
287
+ #: inc/SimpleHistory.php:2088
288
  msgid "Loading…"
289
  msgstr "Lade..."
290
 
291
+ #: inc/SimpleHistory.php:2095
292
  msgid "Showing %1$s more"
293
  msgstr "Zeige %1$s mehr"
294
 
295
+ #: inc/SimpleHistory.php:2134
296
  msgid "Context data"
297
  msgstr "Kontext-Daten"
298
 
299
+ #: inc/SimpleHistory.php:2135
300
  msgid "This is potentially useful meta data that a logger has saved."
301
  msgstr ""
302
  "Dies sind potentiell nützliche Meta-Daten, die ein Logger abgespeichert hat."
303
 
304
+ #: inc/SimpleHistory.php:2768
305
  msgid "No events today so far."
306
  msgstr "Heute sind noch keine Ereignisse aufgetreten."
307
 
308
+ #: inc/SimpleHistory.php:2787
309
  msgid "One event today from one user."
310
  msgstr "Ein Ereignis heute von einem Benutzer."
311
 
312
+ #: inc/SimpleHistory.php:2793
313
  msgid "One event today from one source."
314
  msgstr "Ein Ereignis heute aus einer Quelle."
315
 
316
+ #: inc/SimpleHistory.php:2799
317
  msgid "%1$d events today from one user."
318
  msgstr "%1$d Ereignisse heute von einem Benutzer."
319
 
320
+ #: inc/SimpleHistory.php:2805
321
  msgid "%1$d events today from %2$d users."
322
  msgstr "%1$d Ereignisse heute von %2$d Benutzern."
323
 
324
+ #: inc/SimpleHistory.php:2811 inc/SimpleHistory.php:2817
325
  msgid "%1$d events today from one user and one other source."
326
  msgstr "%1$d Ereignisse heute von einem Benutzer und einer anderen Quelle."
327
 
328
+ #: inc/SimpleHistory.php:2823
329
  msgid "%1$d events today from one user and %3$d other sources."
330
  msgstr "%1$d Ereignisse heute von einem Benutzer und %3$d anderen Quellen."
331
 
332
+ #: inc/SimpleHistory.php:2829
333
  msgid "%1$s events today from %2$d users and %3$d other sources."
334
  msgstr "%1$s Ereignisse heute von %2$d Benutzern und %3$d anderen Quellen."
335
 
336
+ #: index.php:98
337
  msgid ""
338
  "Simple History is a great plugin, but to use it your server must have at "
339
  "least PHP 5.3 installed (you have version %s)."
365
  msgid "Comment"
366
  msgstr "Kommentar"
367
 
368
+ #: loggers/SimpleCoreUpdatesLogger.php:66
369
  msgid "Updated WordPress to {new_version} from {prev_version}"
370
  msgstr "hat WordPress auf {new_version} von {prev_version} aktualisiert"
371
 
372
+ #: loggers/SimpleCoreUpdatesLogger.php:67
373
  msgid "WordPress auto-updated to {new_version} from {prev_version}"
374
  msgstr ""
375
  "WordPress hat sich selbst von {prev_version} auf {new_version} aktualisiert"
376
 
377
+ #: loggers/SimpleCoreUpdatesLogger.php:68
378
+ msgid "WordPress database version updated to {new_version} from {prev_version}"
379
+ msgstr ""
380
+ "WordPress Datenbank-Version aktualisiert auf {new_version} von {prev_version}"
381
+
382
+ #: loggers/SimpleExportLogger.php:21
383
+ msgid "Export Logger"
384
+ msgstr "Export-Logger"
385
+
386
+ #: loggers/SimpleExportLogger.php:22
387
+ msgid "Logs updates to WordPress export"
388
+ msgstr "Schreibt Updates in den WordPress-Export"
389
+
390
  #: loggers/SimpleExportLogger.php:25
391
  msgid "Created XML export"
392
  msgstr "XML-Export erzeugt"
399
  msgid "%d occasions"
400
  msgstr "%d Vorkommnisse"
401
 
402
+ #: loggers/SimpleLogger.php:245
403
  msgid "Deleted user (had id %1$s, email %2$s, login %3$s)"
404
  msgstr "gelöschter Benutzer (hatte ID %1$s, E-Mail %2$s, Login %3$s)"
405
 
406
+ #: loggers/SimpleLogger.php:271
407
  msgid "Anonymous web user"
408
  msgstr "Anonymer Netz-Nutzer"
409
 
410
+ #: loggers/SimpleLogger.php:304
411
  msgid "Anonymous user from %1$s"
412
  msgstr "Anonymer Benutzer von %1$s"
413
 
414
  #. translators: Date format for log row header, see http:php.net/date
415
+ #: loggers/SimpleLogger.php:382
416
  msgid "M j, Y \\a\\t G:i"
417
  msgstr "j. M. Y \\u\\m G:i \\U\\h\\r"
418
 
419
  #. translators: 1: last modified date and time in human time diff-format
420
+ #: loggers/SimpleLogger.php:390
421
  msgid "%1$s ago"
422
  msgstr "vor %1$s"
423
 
537
  msgid "Restored {post_type} \"{post_title}\" from trash"
538
  msgstr "hat {post_type} \"{post_title}\" aus dem Papierkorb wiederhergestellt"
539
 
540
+ #: loggers/SimplePostLogger.php:122 loggers/SimplePostLogger.php:690
541
  msgid "Deleted {post_type} \"{post_title}\""
542
  msgstr "hat {post_type} \"{post_title}\" gelöscht"
543
 
545
  msgid "Moved {post_type} \"{post_title}\" to the trash"
546
  msgstr "hat {post_type} \"{post_title}\" in den Papierkorb verschoben"
547
 
548
+ #: loggers/SimplePostLogger.php:686
549
  msgid "Updated {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
550
  msgstr ""
551
  "hat {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> aktualisiert"
552
 
553
+ #: loggers/SimplePostLogger.php:694
554
  msgid "Created {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a>"
555
  msgstr "hat {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> erzeugt"
556
 
557
+ #: loggers/SimplePostLogger.php:699
558
  msgid ""
559
  "Moved {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> to the trash"
560
  msgstr ""
561
  "hat {post_type} <a href=\"{edit_link}\">\"{post_title}\"</a> in den "
562
  "Papierkorb verschoben"
563
 
564
+ #: loggers/SimplePostLogger.php:750
565
  msgid "Title"
566
  msgstr "Titel"
567
 
568
+ #: loggers/SimplePostLogger.php:764
569
  msgid "Content"
570
  msgstr "Inhalt"
571
 
572
+ #: loggers/SimplePostLogger.php:778
573
  msgid "Status"
574
  msgstr "Status"
575
 
576
+ #: loggers/SimplePostLogger.php:794
577
  msgid "Publish date"
578
  msgstr "Veröffentlichungs-Datum"
579
 
580
+ #: loggers/SimplePostLogger.php:809
581
  msgid "Permalink"
582
  msgstr "Permalink"
583
 
584
+ #: loggers/SimplePostLogger.php:823
585
  msgid "Comment status"
586
  msgstr "Kommentar-Status"
587
 
588
+ #: loggers/SimplePostLogger.php:846
589
  msgid "Author"
590
  msgstr "Autor"
591
 
592
+ #: loggers/SimplePostLogger.php:848
593
  msgid ""
594
  "Changed from {prev_user_display_name} ({prev_user_email}) to "
595
  "{new_user_display_name} ({new_user_email})"
597
  "Geändert von {prev_user_display_name} ({prev_user_email}) zu "
598
  "{new_user_display_name} ({new_user_email})"
599
 
600
+ #: loggers/SimplePostLogger.php:882
601
  msgid "Changed from {prev_page_template} to {new_page_template}"
602
  msgstr "Geändert von {prev_page_template} zu {new_page_template}"
603
 
604
+ #: loggers/SimplePostLogger.php:884
605
  msgid ""
606
  "Changed from \"{prev_page_template_name}\" to \"{new_page_template_name}\""
607
  msgstr ""
608
  "Geändert von \"{prev_page_template_name}\" zu \"{new_page_template_name}\""
609
 
610
+ #: loggers/SimplePostLogger.php:892
611
  msgid "Template"
612
  msgstr "Template"
613
 
614
+ #: loggers/SimplePostLogger.php:936
615
  msgid "Custom fields"
616
  msgstr "Benutzerdefinierte Felder"
617
 
968
  msgid "Pages not found"
969
  msgstr "Seiten nicht gefunden"
970
 
971
+ #: inc/SimpleHistory.php:277
972
  msgctxt ""
973
  "Message visible while waiting for log to load from server the first time"
974
  msgid "Loading history..."
975
  msgstr "Lade Historie..."
976
 
977
+ #: inc/SimpleHistory.php:314
978
  msgctxt "page n of n"
979
  msgid "of"
980
  msgstr "von"
981
 
982
+ #: inc/SimpleHistory.php:409
983
  msgctxt "API: not enought arguments passed"
984
  msgid "Not enough args specified"
985
  msgstr "Nicht genügend Argumente angegeben"
986
 
987
+ #: inc/SimpleHistory.php:1508
988
  msgctxt "dashboard menu name"
989
  msgid "Simple History"
990
  msgstr "Simple History"
991
 
992
+ #: inc/SimpleHistory.php:1635
993
  msgctxt "history page headline"
994
  msgid "Simple History"
995
  msgstr "Simple History"
996
 
997
+ #: inc/SimpleHistory.php:1905
998
  msgctxt "simple-history"
999
  msgid "Simple History removed one event that were older than {days} days"
1000
  msgid_plural ""
1005
  "Simple History hat {num_rows} Ereignisse entfernt welche älter als {days} "
1006
  "Tage waren"
1007
 
1008
+ #: inc/SimpleHistory.php:2367
1009
  msgctxt "Log level in gui"
1010
  msgid "emergency"
1011
  msgstr "Notfall"
1012
 
1013
+ #: inc/SimpleHistory.php:2371
1014
  msgctxt "Log level in gui"
1015
  msgid "alert"
1016
  msgstr "Alarm"
1017
 
1018
+ #: inc/SimpleHistory.php:2375
1019
  msgctxt "Log level in gui"
1020
  msgid "critical"
1021
  msgstr "Kritisch"
1022
 
1023
+ #: inc/SimpleHistory.php:2379
1024
  msgctxt "Log level in gui"
1025
  msgid "error"
1026
  msgstr "Fehler"
1027
 
1028
+ #: inc/SimpleHistory.php:2383
1029
  msgctxt "Log level in gui"
1030
  msgid "warning"
1031
  msgstr "Warnung"
1032
 
1033
+ #: inc/SimpleHistory.php:2387
1034
  msgctxt "Log level in gui"
1035
  msgid "notice"
1036
  msgstr "Hinweis"
1037
 
1038
+ #: inc/SimpleHistory.php:2391
1039
  msgctxt "Log level in gui"
1040
  msgid "info"
1041
  msgstr "Information"
1042
 
1043
+ #: inc/SimpleHistory.php:2395
1044
  msgctxt "Log level in gui"
1045
  msgid "debug"
1046
  msgstr "Fehlersuche"
1047
 
1048
+ #: inc/SimpleHistory.php:2400
1049
  msgctxt "Log level in gui"
1050
  msgid "Emergency"
1051
  msgstr "Notfall"
1052
 
1053
+ #: inc/SimpleHistory.php:2404
1054
  msgctxt "Log level in gui"
1055
  msgid "Alert"
1056
  msgstr "Alarm"
1057
 
1058
+ #: inc/SimpleHistory.php:2408
1059
  msgctxt "Log level in gui"
1060
  msgid "Critical"
1061
  msgstr "Kritisch"
1062
 
1063
+ #: inc/SimpleHistory.php:2412
1064
  msgctxt "Log level in gui"
1065
  msgid "Error"
1066
  msgstr "Fehler"
1067
 
1068
+ #: inc/SimpleHistory.php:2416
1069
  msgctxt "Log level in gui"
1070
  msgid "Warning"
1071
  msgstr "Warnung"
1072
 
1073
+ #: inc/SimpleHistory.php:2420
1074
  msgctxt "Log level in gui"
1075
  msgid "Notice"
1076
  msgstr "Hinweis"
1077
 
1078
+ #: inc/SimpleHistory.php:2424
1079
  msgctxt "Log level in gui"
1080
  msgid "Info"
1081
  msgstr "Information"
1082
 
1083
+ #: inc/SimpleHistory.php:2428
1084
  msgctxt "Log level in gui"
1085
  msgid "Debug"
1086
  msgstr "Fehlersuche"
1087
 
1088
+ #: loggers/PluginEnableMediaReplaceLogger.php:23
1089
+ msgctxt "PluginEnableMediaReplaceLogger"
1090
+ msgid "Enable Media Replace Logger"
1091
+ msgstr "Aktiviere den Medien-Ersetzen-Logger"
1092
+
1093
+ #: loggers/PluginEnableMediaReplaceLogger.php:24
1094
+ msgctxt "PluginEnableMediaReplaceLogger"
1095
+ msgid "Logs media updates made with the Enable Media Replace Plugin"
1096
+ msgstr ""
1097
+ "Registriert Medien-Updates die mit dem Enable-Media-Replace-Plugin gemacht "
1098
+ "worden sind"
1099
+
1100
+ #: loggers/PluginEnableMediaReplaceLogger.php:27
1101
+ msgctxt "PluginEnableMediaReplaceLogger"
1102
+ msgid ""
1103
+ "Replaced attachment \"{prev_attachment_title}\" with new attachment "
1104
+ "\"{new_attachment_title}\""
1105
+ msgstr ""
1106
+ "Ersetzte Anhang \"{prev_attachment_title}\" durch den neuen Anhang "
1107
+ "\"{new_attachment_title}\""
1108
+
1109
+ #: loggers/PluginUserSwitchingLogger.php:23
1110
+ msgctxt "PluginUserSwitchingLogger"
1111
+ msgid "User Switching Logger"
1112
+ msgstr "User Switching Logger"
1113
+
1114
+ #: loggers/PluginUserSwitchingLogger.php:24
1115
+ msgctxt "PluginUserSwitchingLogger"
1116
+ msgid "Logs user switches"
1117
+ msgstr "Registriert Benutzer-Umschaltungen"
1118
+
1119
+ #: loggers/PluginUserSwitchingLogger.php:27
1120
+ msgctxt "PluginUserSwitchingLogger"
1121
+ msgid "Switched to user \"{user_login_to}\" from user \"{user_login_from}\""
1122
+ msgstr ""
1123
+ "Schaltete zum Benutzer \"{user_login_to}\" vom Benutzer \"{user_login_from}\""
1124
+
1125
+ #: loggers/PluginUserSwitchingLogger.php:28
1126
+ msgctxt "PluginUserSwitchingLogger"
1127
+ msgid ""
1128
+ "Switched back to user \"{user_login_to}\" from user \"{user_login_from}\""
1129
+ msgstr ""
1130
+ "Schaltete zurück zum Benutzer \"{user_login_to}\" vom Benutzer "
1131
+ "\"{user_login_from}\""
1132
+
1133
+ #: loggers/PluginUserSwitchingLogger.php:29
1134
+ msgctxt "PluginUserSwitchingLogger"
1135
+ msgid "Switched back to user \"{user_login_to}\""
1136
+ msgstr "Schaltete zurück zum Benutzer \"{user_login_to}\""
1137
+
1138
+ #: loggers/PluginUserSwitchingLogger.php:30
1139
+ msgctxt "PluginUserSwitchingLogger"
1140
+ msgid "Switched off user \"{user_login}\""
1141
+ msgstr "Schaltete den Benutzer \"{user_login}\" aus"
1142
+
1143
+ #: loggers/Plugin_UltimateMembers_Logger.php:23
1144
+ msgctxt "PluginUltimateMembersLogger"
1145
+ msgid "Ultimate Members Logger"
1146
+ msgstr "Ultimate Members Logger"
1147
+
1148
+ #: loggers/Plugin_UltimateMembers_Logger.php:24
1149
+ msgctxt "PluginUltimateMembersLogger"
1150
+ msgid "Logs actions from the Ultimate Members plugin"
1151
+ msgstr "Registriert Aktionen des Ultimate-Members-Plugin"
1152
+
1153
+ #: loggers/Plugin_UltimateMembers_Logger.php:27
1154
+ msgctxt "PluginUltimateMembersLogger"
1155
+ msgid "Logged in"
1156
+ msgstr "Meldete sich an"
1157
+
1158
  #: loggers/SimpleCommentsLogger.php:97
1159
  msgctxt "A comment was added to the database by a non-logged in internet user"
1160
  msgid "Added a comment to {comment_post_type} \"{comment_post_title}\""
1460
  msgid "View/Edit"
1461
  msgstr "Betrachte/Ändere"
1462
 
1463
+ #: loggers/SimpleCoreUpdatesLogger.php:72
1464
  msgctxt "User logger: search"
1465
  msgid "WordPress Core"
1466
  msgstr "WordPress-Kern"
1467
 
1468
+ #: loggers/SimpleCoreUpdatesLogger.php:74
1469
  msgctxt "User logger: search"
1470
  msgid "WordPress core updates"
1471
  msgstr "WordPress-Kern-Aktualisierungen"
1520
  msgid "Created exports"
1521
  msgstr "erstellte Exporte"
1522
 
1523
+ #: loggers/SimpleLogger.php:231
1524
  msgctxt "header output when initiator is the currently logged in user"
1525
  msgid "You"
1526
  msgstr "Dein eigener Benutzername"
1527
 
1528
+ #: loggers/SimpleLogger.php:322
1529
  msgctxt "Event header output, when initiator is unknown"
1530
  msgid "Other"
1531
  msgstr "Anderer"
loggers/SimpleLogger.php CHANGED
@@ -347,8 +347,13 @@ class SimpleLogger {
347
  // http://developers.whatwg.org/text-level-semantics.html#the-time-element
348
  $date_html = "";
349
  $str_when = "";
350
- $date_datetime = new DateTime( $row->date );
351
 
 
 
 
 
 
 
352
  /**
353
  * Filter how many seconds as most that can pass since an
354
  * event occured to show "nn minutes ago" (human diff time-format) instead of exact date
@@ -371,12 +376,12 @@ class SimpleLogger {
371
  $time_ago_just_now_max_time = 30;
372
  $time_ago_just_now_max_time = apply_filters("simple_history/header_just_now_max_time", $time_ago_just_now_max_time);
373
 
374
- if ( time() - $date_datetime->getTimestamp() <= $time_ago_just_now_max_time ) {
375
 
376
  // show "just now" if event is very recent
377
  $str_when = __("Just now", "simple-history");
378
 
379
- } else if ( time() - $date_datetime->getTimestamp() > $time_ago_max_time ) {
380
 
381
  /* translators: Date format for log row header, see http://php.net/date */
382
  $datef = __('M j, Y \a\t G:i', "simple-history");
@@ -385,7 +390,7 @@ class SimpleLogger {
385
  } else {
386
 
387
  // Show "nn minutes ago" when event is xx seconds ago or earlier
388
- $date_human_time_diff = human_time_diff($date_datetime->getTimestamp(), time());
389
  /* translators: 1: last modified date and time in human time diff-format */
390
  $str_when = sprintf(__('%1$s ago', 'simple-history'), $date_human_time_diff);
391
 
@@ -861,6 +866,17 @@ class SimpleLogger {
861
 
862
  global $wpdb;
863
 
 
 
 
 
 
 
 
 
 
 
 
864
  // Check if $message is a translated message, and if so then fetch original
865
  $sh_latest_translations = $this->simpleHistory->gettextLatestTranslations;
866
 
347
  // http://developers.whatwg.org/text-level-semantics.html#the-time-element
348
  $date_html = "";
349
  $str_when = "";
 
350
 
351
+ // $row->date is in GMT
352
+ $date_datetime = new DateTime( $row->date );
353
+
354
+ // Current datetime in GMT
355
+ $time_current = strtotime( current_time("mysql", 1) );
356
+
357
  /**
358
  * Filter how many seconds as most that can pass since an
359
  * event occured to show "nn minutes ago" (human diff time-format) instead of exact date
376
  $time_ago_just_now_max_time = 30;
377
  $time_ago_just_now_max_time = apply_filters("simple_history/header_just_now_max_time", $time_ago_just_now_max_time);
378
 
379
+ if ( $time_current - $date_datetime->getTimestamp() <= $time_ago_just_now_max_time ) {
380
 
381
  // show "just now" if event is very recent
382
  $str_when = __("Just now", "simple-history");
383
 
384
+ } else if ( $time_current - $date_datetime->getTimestamp() > $time_ago_max_time ) {
385
 
386
  /* translators: Date format for log row header, see http://php.net/date */
387
  $datef = __('M j, Y \a\t G:i', "simple-history");
390
  } else {
391
 
392
  // Show "nn minutes ago" when event is xx seconds ago or earlier
393
+ $date_human_time_diff = human_time_diff($date_datetime->getTimestamp(), $time_current );
394
  /* translators: 1: last modified date and time in human time diff-format */
395
  $str_when = sprintf(__('%1$s ago', 'simple-history'), $date_human_time_diff);
396
 
866
 
867
  global $wpdb;
868
 
869
+ /*
870
+ * Filter that makes it possible to shortcut this log.
871
+ * Return bool false to cancel.
872
+ *
873
+ * @since 2.3.1
874
+ */
875
+ $do_log = apply_filters( "simple_history/log/do_log", $level, $message, $context );
876
+ if ( $do_log === false ) {
877
+ return $this;
878
+ }
879
+
880
  // Check if $message is a translated message, and if so then fetch original
881
  $sh_latest_translations = $this->simpleHistory->gettextLatestTranslations;
882
 
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, syslog, feed, activity, stream, audit trail, brute-force
5
  Requires at least: 3.6.0
6
  Tested up to: 4.3
7
- Stable tag: 2.3
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
@@ -136,6 +136,14 @@ initiated by a specific user.
136
 
137
  ## Changelog
138
 
 
 
 
 
 
 
 
 
139
  = 2.3 (October 2015) =
140
 
141
  - Added: The title of the browser tab with Simple History open will now show the number of new and unread events available. Nice feature to have if you keep a tab with the Simple History log open but in the background: now you can see directly in the title if new events are available. Such small change. Very much nice.
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog, feed, activity, stream, audit trail, brute-force
5
  Requires at least: 3.6.0
6
  Tested up to: 4.3
7
+ Stable tag: 2.3.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
 
136
 
137
  ## Changelog
138
 
139
+ = 2.3.1 (October 2015) =
140
+
141
+ - Fixed: Hopefully fixed the wrong relative time, as reported here: https://wordpress.org/support/topic/wrong-reporting-time.
142
+ - Changed: The RSS-feed with updates is now disabled by default for new installs. It is password protected, but some users felt that is should be optional to activate it. And now it is! Thanks to https://github.com/guillaumemolter for adding this feature.
143
+ - Fixed: Failed login entries when using plugin (Captcha on Login)[https://wordpress.org/plugins/captcha-on-login/] was reported as "Logged out" when they really meant "Failed to log in". Please note that this was nothing that Simple History did wrong, it was rather Captcha on Login that manually called `wp_logout()` each time a user failed to login. Should fix all those mystery "Logged out"-entried some of you users had.
144
+ - Added: Filter `simple_history/log/do_log` that can be used to shortcut the log()-method.
145
+ - Updated: German translation updated.
146
+
147
  = 2.3 (October 2015) =
148
 
149
  - Added: The title of the browser tab with Simple History open will now show the number of new and unread events available. Nice feature to have if you keep a tab with the Simple History log open but in the background: now you can see directly in the title if new events are available. Such small change. Very much nice.