Simple History - Version 2.0.8

Version Description

(December 2014) =

  • Added: IP addresses can now be clicked to view IP address info from ipinfo.io. This will get you the location and network of an IP address and help you determine from where for example a failed login attempt originates from. See screenshot of IP address info in action.
  • Added: new action simple_history/admin_footer, to output HTML and JavaScript in footer on pages that belong to Simple History
  • Added: new trigger for JavaScript: SimpleHistory:logReloadStart. Fired when the log starts to reload, like when using the pagination or using the filter function.
  • Fixed: use Mustache-inspired template tags instead of Underscore default ones, because they don't work with PHP with asp_tags on.
  • Updated: Swedish translation updated
Download this release

Release Info

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

Code changes from version 2.0.7 to 2.0.8

README.md CHANGED
@@ -13,19 +13,19 @@ This screenshot show the log view + it also shows the filter function in use: th
13
  are of type post and pages and media (i.e. images & other uploads), and only events
14
  initiated by a specific user.
15
 
16
- ![Simple History screenshot](https://raw.githubusercontent.com/bonny/WordPress-Simple-History/v2/screenshot-1.png)
17
 
18
  ## Events with different severity
19
 
20
  Simple History uses the log levels specified in the [PHP PSR-3 standard](http://www.php-fig.org/psr/psr-3/).
21
 
22
- ![Simple History screenshot](https://raw.githubusercontent.com/bonny/WordPress-Simple-History/v2/screenshot-2.png)
23
 
24
  ## Events have context with extra details
25
 
26
  Each logged event can include useful rich formatted extra information. For example: a plugin install can contain author info and a the url to the plugin, and an uploaded image can contain a thumbnail of the image.
27
 
28
- ![Simple History screenshot](https://raw.githubusercontent.com/bonny/WordPress-Simple-History/v2/screenshot-3.png)
29
 
30
  # Plugin API
31
 
13
  are of type post and pages and media (i.e. images & other uploads), and only events
14
  initiated by a specific user.
15
 
16
+ ![Simple History screenshot](https://raw.githubusercontent.com/bonny/WordPress-Simple-History/master/screenshot-1.png)
17
 
18
  ## Events with different severity
19
 
20
  Simple History uses the log levels specified in the [PHP PSR-3 standard](http://www.php-fig.org/psr/psr-3/).
21
 
22
+ ![Simple History screenshot](https://raw.githubusercontent.com/bonny/WordPress-Simple-History/master/screenshot-2.png)
23
 
24
  ## Events have context with extra details
25
 
26
  Each logged event can include useful rich formatted extra information. For example: a plugin install can contain author info and a the url to the plugin, and an uploaded image can contain a thumbnail of the image.
27
 
28
+ ![Simple History screenshot](https://raw.githubusercontent.com/bonny/WordPress-Simple-History/master/screenshot-3.png)
29
 
30
  # Plugin API
31
 
SimpleHistory.php CHANGED
@@ -6,7 +6,7 @@
6
  class SimpleHistory {
7
 
8
  const NAME = "Simple History";
9
- const VERSION = "2.0.7";
10
 
11
  /**
12
  * Capability required to view the history log
@@ -87,6 +87,7 @@ class SimpleHistory {
87
  add_action( 'admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
88
 
89
  add_action( 'admin_head', array( $this, "onAdminHead" ) );
 
90
 
91
  // Filters and actions not called during regular boot
92
  add_filter("gettext", array($this, 'filter_gettext'), 20, 3);
@@ -150,6 +151,16 @@ class SimpleHistory {
150
 
151
  }
152
 
 
 
 
 
 
 
 
 
 
 
153
  /**
154
  * Output JS templated into footer
155
  */
@@ -184,34 +195,34 @@ class SimpleHistory {
184
  <!-- this uses the (almost) the same html as WP does -->
185
  <div class="SimpleHistoryPaginationPages">
186
  <!--
187
- <%= page_rows_from %>–<%= page_rows_to %>
188
- <span class="SimpleHistoryPaginationDisplayNum"> of <%= total_row_count %></span>
189
  -->
190
  <span class="SimpleHistoryPaginationLinks">
191
  <a
192
  data-direction="first"
193
- class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--firstPage <% if ( api_args.paged <= 1 ) { %> disabled <% } %>"
194
- title="<%= strings.goToTheFirstPage %>"
195
  href="#">«</a>
196
  <a
197
  data-direction="prev"
198
- class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--prevPage <% if ( api_args.paged <= 1 ) { %> disabled <% } %>"
199
- title="<%= strings.goToThePrevPage %>"
200
  href="#">‹</a>
201
  <span class="SimpleHistoryPaginationInput">
202
- <input class="SimpleHistoryPaginationCurrentPage" title="<%= strings.currentPage %>" type="text" name="paged" value="<%= api_args.paged %>" size="4">
203
  <?php _x("of", "page n of n", "simple-history") ?>
204
- <span class="total-pages"><%= pages_count %></span>
205
  </span>
206
  <a
207
  data-direction="next"
208
- class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--nextPage <% if ( api_args.paged >= pages_count ) { %> disabled <% } %>"
209
- title="<%= strings.goToTheNextPage %>"
210
  href="#">›</a>
211
  <a
212
  data-direction="last"
213
- class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--lastPage <% if ( api_args.paged >= pages_count ) { %> disabled <% } %>"
214
- title="<%= strings.goToTheLastPage %>"
215
  href="#">»</a>
216
  </span>
217
  </div>
@@ -766,7 +777,7 @@ class SimpleHistory {
766
 
767
  $plugin_url = plugin_dir_url(__FILE__);
768
  wp_enqueue_style( "simple_history_styles", $plugin_url . "css/styles.css", false, SimpleHistory::VERSION );
769
- wp_enqueue_script("simple_history_script", $plugin_url . "js/scripts.js", array("jquery", "backbone"), SimpleHistory::VERSION, true);
770
 
771
  wp_enqueue_script("select2", $plugin_url . "/js/select2/select2.min.js", array("jquery"));
772
  wp_enqueue_style("select2", $plugin_url . "/js/select2/select2.css");
6
  class SimpleHistory {
7
 
8
  const NAME = "Simple History";
9
+ const VERSION = "2.0.8";
10
 
11
  /**
12
  * Capability required to view the history log
87
  add_action( 'admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
88
 
89
  add_action( 'admin_head', array( $this, "onAdminHead" ) );
90
+ add_action( 'admin_footer', array( $this, "onAdminFooter" ) );
91
 
92
  // Filters and actions not called during regular boot
93
  add_filter("gettext", array($this, 'filter_gettext'), 20, 3);
151
 
152
  }
153
 
154
+ public function onAdminFooter() {
155
+
156
+ if ( $this->is_on_our_own_pages() ) {
157
+
158
+ do_action( "simple_history/admin_footer", $this );
159
+
160
+ }
161
+
162
+ }
163
+
164
  /**
165
  * Output JS templated into footer
166
  */
195
  <!-- this uses the (almost) the same html as WP does -->
196
  <div class="SimpleHistoryPaginationPages">
197
  <!--
198
+ {{ data.page_rows_from }}–{{ data.page_rows_to }}
199
+ <span class="SimpleHistoryPaginationDisplayNum"> of {{ data.total_row_count }} </span>
200
  -->
201
  <span class="SimpleHistoryPaginationLinks">
202
  <a
203
  data-direction="first"
204
+ class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--firstPage <# if ( data.api_args.paged <= 1 ) { #> disabled <# } #>"
205
+ title="{{ data.strings.goToTheFirstPage }}"
206
  href="#">«</a>
207
  <a
208
  data-direction="prev"
209
+ class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--prevPage <# if ( data.api_args.paged <= 1 ) { #> disabled <# } #>"
210
+ title="{{ data.strings.goToThePrevPage }}"
211
  href="#">‹</a>
212
  <span class="SimpleHistoryPaginationInput">
213
+ <input class="SimpleHistoryPaginationCurrentPage" title="{{ data.strings.currentPage }}" type="text" name="paged" value="{{ data.api_args.paged }}" size="4">
214
  <?php _x("of", "page n of n", "simple-history") ?>
215
+ <span class="total-pages">{{ data.pages_count }}</span>
216
  </span>
217
  <a
218
  data-direction="next"
219
+ class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--nextPage <# if ( data.api_args.paged >= data.pages_count ) { #> disabled <# } #>"
220
+ title="{{ data.strings.goToTheNextPage }}"
221
  href="#">›</a>
222
  <a
223
  data-direction="last"
224
+ class="button SimpleHistoryPaginationLink SimpleHistoryPaginationLink--lastPage <# if ( data.api_args.paged >= data.pages_count ) { #> disabled <# } #>"
225
+ title="{{ data.strings.goToTheLastPage }}"
226
  href="#">»</a>
227
  </span>
228
  </div>
777
 
778
  $plugin_url = plugin_dir_url(__FILE__);
779
  wp_enqueue_style( "simple_history_styles", $plugin_url . "css/styles.css", false, SimpleHistory::VERSION );
780
+ wp_enqueue_script("simple_history_script", $plugin_url . "js/scripts.js", array("jquery", "backbone", "wp-util"), SimpleHistory::VERSION, true);
781
 
782
  wp_enqueue_script("select2", $plugin_url . "/js/select2/select2.min.js", array("jquery"));
783
  wp_enqueue_style("select2", $plugin_url . "/js/select2/select2.css");
dropins/SimpleHistoryIpInfoDropin.css CHANGED
@@ -5,3 +5,134 @@
5
  /* cursor: pointer;
6
  text-decoration: underline;*/
7
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  /* cursor: pointer;
6
  text-decoration: underline;*/
7
  }
8
+
9
+ .SimpleHistoryIpInfoDropin__popup {
10
+ position: absolute;
11
+ visibility: hidden;
12
+ opacity: 0;
13
+ top: 0;
14
+ left: 0;
15
+ width: 350px;
16
+ min-height: 200px;
17
+ margin-left: -20px;
18
+ margin-top: -5px;
19
+ border: 1px solid #ccc;
20
+ background-color: rgba(255, 255, 255, 1);
21
+ box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
22
+ padding: 10px;
23
+ z-index: 5;
24
+ /* fade out then hide visibility */
25
+ transition: visibility 0 .25s, opacity .25s;
26
+ }
27
+
28
+ .SimpleHistoryIpInfoDropin__popup p {
29
+ margin: 0;
30
+ }
31
+
32
+ .SimpleHistoryIpInfoDropin__popup.is-visible {
33
+ visibility: visible;
34
+ opacity: 1;
35
+ /* make visible immediately and start opacity directly */
36
+ transition: visibility 0, opacity .25s 0s;
37
+ }
38
+
39
+ .SimpleHistoryIpInfoDropin__popupArrow {
40
+ /*width: 40px;
41
+ height: 40px;
42
+ font-size: 40px;
43
+ position: absolute;
44
+ top: -25px;
45
+ left: 0;*/
46
+ }
47
+
48
+ .SimpleHistoryIpInfoDropin__popupArrow {
49
+ position: absolute;
50
+ background: #fff;
51
+ border: none;
52
+ top: 0;
53
+ left: 40px;
54
+ }
55
+
56
+ .SimpleHistoryIpInfoDropin__popupArrow:after, .SimpleHistoryIpInfoDropin__popupArrow:before {
57
+ bottom: 100%;
58
+ left: 50%;
59
+ border: solid transparent;
60
+ content: " ";
61
+ height: 0;
62
+ width: 0;
63
+ position: absolute;
64
+ pointer-events: none;
65
+ }
66
+
67
+ .SimpleHistoryIpInfoDropin__popupArrow:after {
68
+ border-color: rgba(255, 255, 255, 0);
69
+ border-bottom-color: #fff;
70
+ border-width: 10px;
71
+ margin-left: -10px;
72
+ }
73
+ .SimpleHistoryIpInfoDropin__popupArrow:before {
74
+ border-color: rgba(204, 204, 204, 0);
75
+ border-bottom-color: #ccc;
76
+ border-width: 11px;
77
+ margin-left: -11px;
78
+ }
79
+
80
+ .SimpleHistoryIpInfoDropin__ipInfoTable {
81
+ width: 100%;
82
+ border-collapse: collapse;
83
+ }
84
+
85
+ .SimpleHistoryIpInfoDropin__ipInfoTable tr {
86
+
87
+ }
88
+
89
+ .SimpleHistoryIpInfoDropin__ipInfoTable th,
90
+ .SimpleHistoryIpInfoDropin__ipInfoTable td {
91
+ vertical-align: top;
92
+ text-align: left;
93
+ padding: 5px 5px;
94
+ border-top: 1px solid #eee;
95
+ }
96
+
97
+ .SimpleHistoryIpInfoDropin__ipInfoTable tr:first-of-type th,
98
+ .SimpleHistoryIpInfoDropin__ipInfoTable tr:first-of-type td {
99
+ border-top: 0;
100
+ }
101
+
102
+ .SimpleHistoryIpInfoDropin__ipInfoTable__mapRow td {
103
+ padding: 0;
104
+ }
105
+
106
+ .SimpleHistoryIpInfoDropin__provider {
107
+ text-align: right;
108
+ font-size: 12px;
109
+ color: #888;
110
+ margin-top: .5em !important;
111
+ }
112
+
113
+ .SimpleHistoryIpInfoDropin__popupClose {
114
+ position: absolute;
115
+ width: 21px;
116
+ height: 20px;
117
+ background-color: rgba(200, 200, 200, .5);
118
+ border-radius: 50%;
119
+ top: 5px;
120
+ right: 5px;
121
+ line-height: 1;
122
+ font-size: 20px;
123
+ text-align: center;
124
+ }
125
+
126
+ .SimpleHistoryIpInfoDropin__popupCloseButton {
127
+ padding: 0 5px;
128
+ margin: 0;
129
+ background: none;
130
+ border: 0;
131
+ line-height: 1;
132
+ cursor: pointer;
133
+ }
134
+
135
+ .SimpleHistoryIpInfoDropin__popupCloseButton:hover {
136
+ /* same color as wp popups close on hover */
137
+ color: rgb(46, 162, 204);
138
+ }
dropins/SimpleHistoryIpInfoDropin.js CHANGED
@@ -2,7 +2,13 @@
2
  (function($) {
3
 
4
  var $logItems = $(".SimpleHistoryLogitems");
 
 
5
 
 
 
 
 
6
  $logItems.on("click", ".SimpleHistoryLogitem__anonUserWithIp__theIp", function(e) {
7
 
8
  var $elm = $(this);
@@ -12,10 +18,56 @@
12
  return;
13
  }
14
 
 
 
15
  return lookupIpAddress(ipAddress);
16
 
17
  });
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  function lookupIpAddress(ipAddress) {
20
 
21
  $.get("http://ipinfo.io/" + ipAddress, onIpAddressLookupkResponse, "jsonp");
@@ -24,9 +76,10 @@
24
 
25
  }
26
 
 
27
  function onIpAddressLookupkResponse(d) {
28
-
29
- console.log("got data", d);
30
 
31
  }
32
 
2
  (function($) {
3
 
4
  var $logItems = $(".SimpleHistoryLogitems");
5
+ var $popup = $(".SimpleHistoryIpInfoDropin__popup");
6
+ var $popupContent = $popup.find(".SimpleHistoryIpInfoDropin__popupContent");
7
 
8
+ var templateLoading = wp.template("simple-history-ipinfodropin-popup-loading");
9
+ var templateLoaded = wp.template("simple-history-ipinfodropin-popup-loaded");
10
+
11
+ // Click on link with IP-number
12
  $logItems.on("click", ".SimpleHistoryLogitem__anonUserWithIp__theIp", function(e) {
13
 
14
  var $elm = $(this);
18
  return;
19
  }
20
 
21
+ showPopup($elm);
22
+
23
  return lookupIpAddress(ipAddress);
24
 
25
  });
26
 
27
+ // Close popup
28
+ $popup.on("click", ".SimpleHistoryIpInfoDropin__popupCloseButton", hidePopup);
29
+ $(window).on("click", maybeHidePopup);
30
+ $(document).on("SimpleHistory:logReloadStart", hidePopup);
31
+
32
+ // Position and then show popup.
33
+ // Content is not added yet
34
+ function showPopup($elm) {
35
+
36
+ var offset = $elm.offset();
37
+
38
+ $popup.css({
39
+ //top: offset.top + $elm.outerHeight(),
40
+ top: offset.top,
41
+ left: offset.left
42
+ });
43
+
44
+ $popupContent.html(templateLoading());
45
+
46
+ $popup.addClass("is-visible");
47
+
48
+ }
49
+
50
+ function hidePopup(e) {
51
+
52
+ $popup.removeClass("is-visible");
53
+
54
+ }
55
+
56
+ function maybeHidePopup(e) {
57
+
58
+ var $target = (e.target);
59
+
60
+ // Don't hide if click inside popup
61
+ if ($.contains($popup.get(0), $target) ) {
62
+ return true;
63
+ }
64
+
65
+ // Else it should be ok to hide
66
+ hidePopup();
67
+
68
+ }
69
+
70
+ // Init request to lookup address
71
  function lookupIpAddress(ipAddress) {
72
 
73
  $.get("http://ipinfo.io/" + ipAddress, onIpAddressLookupkResponse, "jsonp");
76
 
77
  }
78
 
79
+ // Function called when ip adress lookup succeeded
80
  function onIpAddressLookupkResponse(d) {
81
+
82
+ $popupContent.html(templateLoaded(d));
83
 
84
  }
85
 
dropins/SimpleHistoryIpInfoDropin.php CHANGED
@@ -20,6 +20,8 @@ class SimpleHistoryIpInfoDropin {
20
  }
21
 
22
  add_action("simple_history/enqueue_admin_scripts", array($this, "enqueue_admin_scripts"));
 
 
23
 
24
  }
25
 
@@ -33,5 +35,138 @@ class SimpleHistoryIpInfoDropin {
33
 
34
  }
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  } // end class
37
 
20
  }
21
 
22
  add_action("simple_history/enqueue_admin_scripts", array($this, "enqueue_admin_scripts"));
23
+ add_action("simple_history/admin_footer", array($this, "add_js_template"));
24
+
25
 
26
  }
27
 
35
 
36
  }
37
 
38
+ public function add_js_template() {
39
+ ?>
40
+
41
+ <div class="SimpleHistoryIpInfoDropin__popup">
42
+ <div class="SimpleHistoryIpInfoDropin__popupArrow"></div>
43
+ <div class="SimpleHistoryIpInfoDropin__popupClose"><button class="SimpleHistoryIpInfoDropin__popupCloseButton">×</button></div>
44
+ <div class="SimpleHistoryIpInfoDropin__popupContent"></div>
45
+ </div>
46
+
47
+ <script type="text/html" id="tmpl-simple-history-ipinfodropin-popup-loading">
48
+ <!-- <p>Getting IP info ...</p> -->
49
+ </script>
50
+
51
+ <script type="text/html" id="tmpl-simple-history-ipinfodropin-popup-loaded">
52
+ <!--
53
+ {
54
+ "ip": "8.8.8.8",
55
+ "hostname": "google-public-dns-a.google.com",
56
+ "city": "Mountain View",
57
+ "region": "California",
58
+ "country": "US",
59
+ "loc": "37.3860,-122.0838",
60
+ "org": "AS15169 Google Inc.",
61
+ "postal": "94035"
62
+ }
63
+ -->
64
+ <# if ( typeof(data.bogon) != "undefined" ) { #>
65
+
66
+ <p><?php _ex("That IP address does not seem like a public one.", "IP Info Dropin", "simple-history"); ?></p>
67
+
68
+ <# } else { #>
69
+
70
+ <table class="SimpleHistoryIpInfoDropin__ipInfoTable">
71
+
72
+ <tr class="SimpleHistoryIpInfoDropin__ipInfoTable__mapRow">
73
+ <td colspan="2">
74
+ <# if ( typeof(data.loc) != "undefined" && data.loc ) { #>
75
+ <a href="https://www.google.com/maps/place/{{ data.loc }}/@{{ data.loc }},6z" target="_blank">
76
+ <img src="https://maps.googleapis.com/maps/api/staticmap?center={{ data.loc }}&zoom=7&size=350x100&sensor=false" width="350" height="100" alt="Google Map">
77
+ </a>
78
+ <# } #>
79
+ </td>
80
+ </tr>
81
+
82
+ <# if ( typeof(data.ip) != "undefined" && data.ip ) { #>
83
+ <tr>
84
+ <td>
85
+ <?php _ex("IP address", "IP Info Dropin", "simple-history"); ?>
86
+ </td>
87
+ <td>
88
+ {{ data.ip }}
89
+ </td>
90
+ </tr>
91
+ <# } #>
92
+
93
+ <# if ( typeof(data.hostname) != "undefined" && data.hostname ) { #>
94
+ <tr>
95
+ <td>
96
+ <?php _ex("Hostname", "IP Info Dropin", "simple-history"); ?>
97
+ </td>
98
+ <td>
99
+ {{ data.hostname }}
100
+ </td>
101
+ </tr>
102
+ <# } #>
103
+
104
+ <# if ( typeof(data.org) != "undefined" && data.org ) { #>
105
+ <tr>
106
+ <td>
107
+ <?php _ex("Network", "IP Info Dropin", "simple-history"); ?>
108
+ </td>
109
+ <td>
110
+ {{ data.org }}
111
+ </td>
112
+ </tr>
113
+ <# } #>
114
+
115
+ <# if ( typeof(data.network) != "undefined" && data.network ) { #>
116
+ <tr>
117
+ <td>
118
+ <?php _ex("Network", "IP Info Dropin", "simple-history"); ?>
119
+ </td>
120
+ <td>
121
+ {{ data.network }}
122
+ </td>
123
+ </tr>
124
+ <# } #>
125
+
126
+ <# if ( typeof(data.city) != "undefined" && data.city ) { #>
127
+ <tr>
128
+ <td>
129
+ <?php _ex("City", "IP Info Dropin", "simple-history"); ?>
130
+ </td>
131
+ <td>
132
+ {{ data.city }}
133
+ </td>
134
+ </tr>
135
+ <# } #>
136
+
137
+ <# if ( typeof(data.region) != "undefined" && data.region ) { #>
138
+ <tr>
139
+ <td>
140
+ <?php _ex("Region", "IP Info Dropin", "simple-history"); ?>
141
+ </td>
142
+ <td>
143
+ {{ data.region }}
144
+ </td>
145
+ </tr>
146
+ <# } #>
147
+
148
+ <# if ( typeof(data.country) != "undefined" && data.country ) { #>
149
+ <tr>
150
+ <td>
151
+ <?php _ex("Country", "IP Info Dropin", "simple-history"); ?>
152
+ </td>
153
+ <td>
154
+ {{ data.country }}
155
+ </td>
156
+ </tr>
157
+ <# } #>
158
+
159
+ </table>
160
+
161
+ <p class="SimpleHistoryIpInfoDropin__provider">
162
+ <?php printf( _x('IP info provided by %1$s ipinfo.io %2$s', "IP Info Dropin", "simple-history"), "<a href='http://ipinfo.io/{{ data.ip }}' target='_blank'>", "</a>" ); ?>
163
+ </p>
164
+
165
+ <# } #>
166
+
167
+ </script>
168
+ <?php
169
+ }
170
+
171
  } // end class
172
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Simple History
4
  Plugin URI: http://simple-history.com
5
  Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
6
- Version: 2.0.7
7
  Author: Pär Thernström
8
  Author URI: http://simple-history.com/
9
  License: GPL2
3
  Plugin Name: Simple History
4
  Plugin URI: http://simple-history.com
5
  Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
6
+ Version: 2.0.8
7
  Author: Pär Thernström
8
  Author URI: http://simple-history.com/
9
  License: GPL2
js/scripts.js CHANGED
@@ -313,6 +313,8 @@ var simple_history = (function($) {
313
 
314
  onReload: function() {
315
 
 
 
316
  $("html").addClass("SimpleHistory-isLoadingPage");
317
 
318
  },
@@ -407,8 +409,6 @@ var simple_history = (function($) {
407
 
408
  initialize: function() {
409
 
410
- this.template = $("#tmpl-simple-history-logitems-pagination").html();
411
-
412
  $(document).keydown({ view: this }, this.keyboardNav);
413
 
414
  this.collection.on("reset", this.render, this);
@@ -516,6 +516,8 @@ var simple_history = (function($) {
516
  */
517
  fetchPage: function(paged) {
518
 
 
 
519
  $("html").addClass("SimpleHistory-isLoadingPage");
520
 
521
  var url_data = {
@@ -543,7 +545,7 @@ var simple_history = (function($) {
543
 
544
  render: function() {
545
 
546
- var compiled = _.template(this.template);
547
 
548
  this.$el.html( compiled({
549
  min_id: this.collection.min_id,
313
 
314
  onReload: function() {
315
 
316
+ $(document).trigger("SimpleHistory:logReloadStart");
317
+
318
  $("html").addClass("SimpleHistory-isLoadingPage");
319
 
320
  },
409
 
410
  initialize: function() {
411
 
 
 
412
  $(document).keydown({ view: this }, this.keyboardNav);
413
 
414
  this.collection.on("reset", this.render, this);
516
  */
517
  fetchPage: function(paged) {
518
 
519
+ $(document).trigger("SimpleHistory:logReloadStart");
520
+
521
  $("html").addClass("SimpleHistory-isLoadingPage");
522
 
523
  var url_data = {
545
 
546
  render: function() {
547
 
548
+ var compiled = wp.template("simple-history-logitems-pagination");
549
 
550
  this.$el.html( compiled({
551
  min_id: this.collection.min_id,
languages/simple-history-sv_SE.mo CHANGED
Binary file
languages/simple-history-sv_SE.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Simple History 2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
- "POT-Creation-Date: 2014-12-17 06:57:05+00:00\n"
8
- "PO-Revision-Date: 2014-12-17 07:59+0100\n"
9
  "Last-Translator: Pär Thernström <par.thernstrom@gmail.com>\n"
10
  "Language-Team: \n"
11
  "Language: sv\n"
@@ -22,131 +22,132 @@ msgstr ""
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
- #: SimpleHistory.php:423 SimpleHistory.php:667
26
  msgid "Settings"
27
  msgstr "Inställningar"
28
 
29
- #: SimpleHistory.php:434
30
  msgid "Log (debug)"
31
  msgstr "Logg (debug)"
32
 
33
- #: SimpleHistory.php:439
34
  msgid "Styles example (debug)"
35
  msgstr "Stilexempel (debug)"
36
 
37
- #: SimpleHistory.php:682
38
- msgid "History"
39
- msgstr "Historik"
 
40
 
41
- #: SimpleHistory.php:758
42
  msgid "Remove all log items?"
43
  msgstr "Ta bort alla händelser?"
44
 
45
- #: SimpleHistory.php:760
46
  msgid "Go to the first page"
47
  msgstr "Gå till första sidan"
48
 
49
- #: SimpleHistory.php:761
50
  msgid "Go to the previous page"
51
  msgstr "Gå till föregående sida"
52
 
53
- #: SimpleHistory.php:762
54
  msgid "Go to the next page"
55
  msgstr "Gå till nästa sida"
56
 
57
- #: SimpleHistory.php:763
58
  msgid "Go to the last page"
59
  msgstr "Gå till sista sidan"
60
 
61
- #: SimpleHistory.php:764
62
  msgid "Current page"
63
  msgstr "Aktuell sida"
64
 
65
- #: SimpleHistory.php:766
66
  msgid "Oups, the log could not be loaded right now."
67
  msgstr "Hoppsan, historiken kunde inte laddas just nu."
68
 
69
- #: SimpleHistory.php:767
70
  msgid "Your search did not match any history events."
71
  msgstr "Din sökning matchade inte några händelser i historiken."
72
 
73
- #: SimpleHistory.php:1061 SimpleHistory.php:1164
74
  msgid "Simple History Settings"
75
  msgstr "Inställningar för Simple History"
76
 
77
- #: SimpleHistory.php:1095
78
  msgid "No valid callback found"
79
  msgstr "Inget giltigt callback hittades."
80
 
81
- #: SimpleHistory.php:1185
82
  msgid "Cleared database"
83
  msgstr "Databasen rensades"
84
 
85
- #: SimpleHistory.php:1212
86
  msgid "Show history"
87
  msgstr "Visa historik"
88
 
89
- #: SimpleHistory.php:1225
90
  msgid "Number of items per page"
91
  msgstr "Antal händelser per sida"
92
 
93
- #: SimpleHistory.php:1237
94
  msgid "Clear log"
95
  msgstr "Rensa logg"
96
 
97
- #: SimpleHistory.php:1457
98
  msgid "on the dashboard"
99
  msgstr "i panelen"
100
 
101
- #: SimpleHistory.php:1462
102
  msgid "as a page under the dashboard menu"
103
  msgstr "som en sida under panel-menyn"
104
 
105
- #: SimpleHistory.php:1478
106
  msgid "Items in the database are automatically removed after %1$s days."
107
  msgstr "Händelser i databasen tas automatiskt bort efter %1$s dagar."
108
 
109
- #: SimpleHistory.php:1480
110
  msgid "Items in the database are kept forever."
111
  msgstr "Händelser i databasen lagras för evigt."
112
 
113
- #: SimpleHistory.php:1484
114
  msgid "Clear log now"
115
  msgstr "Rensa loggen nu"
116
 
117
- #: SimpleHistory.php:1709
118
  msgid "+%1$s more"
119
  msgstr "+%1$s fler"
120
 
121
- #: SimpleHistory.php:1716
122
  msgid "Loading…"
123
  msgstr "Laddar historik..."
124
 
125
- #: SimpleHistory.php:1723
126
  msgid "Showing %1$s more"
127
  msgstr "+%1$s fler"
128
 
129
- #: SimpleHistory.php:1742
130
  msgid "Context data"
131
  msgstr "Kontextuell data"
132
 
133
- #: SimpleHistory.php:1743
134
  msgid "This is potentially useful meta data that a logger have saved."
135
  msgstr "Detta eventuellt användbar metadata som en logger har sparat."
136
 
137
- #: SimpleHistory.php:2065
138
  msgid "No events today so far."
139
  msgstr "Inga händelser idag ännu."
140
 
141
- #: SimpleHistory.php:2069
142
  msgid "%1$d event today from one user."
143
  msgstr "%1$d händelse idag från en användare."
144
 
145
- #: SimpleHistory.php:2073
146
  msgid "%1$d events today from %2$d users."
147
  msgstr "%1$d händelser idag från %2$d användare."
148
 
149
- #: SimpleHistory.php:2077
150
  msgid "%1$d events today from one user."
151
  msgstr "%1$d händelser idag från en användare."
152
 
@@ -262,7 +263,7 @@ msgstr "Testdata (debug)"
262
  msgid "Stats"
263
  msgstr "Statistik"
264
 
265
- #: index.php:56
266
  msgid ""
267
  "Simple History is a great plugin, but to use it your server must have at "
268
  "least PHP 5.3 installed (you have version %s)."
@@ -528,19 +529,19 @@ msgstr ""
528
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
529
  msgstr "Raderade användaren {deleted_user_login} ({deleted_user_email})"
530
 
531
- #: loggers/SimpleUserLogger.php:153
532
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
533
  msgstr "Redigerade <a href=\"{edit_profile_link}\">din profl</a>"
534
 
535
- #: loggers/SimpleUserLogger.php:157
536
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
537
  msgstr "Redigerade <a href=\"{edit_profile_link}\">sin profil</a>"
538
 
539
- #: loggers/SimpleUserLogger.php:166
540
  msgid "Edited your profile"
541
  msgstr "Redigerade din profil"
542
 
543
- #: loggers/SimpleUserLogger.php:177
544
  msgid ""
545
  "Edited the profile for user <a href="
546
  "\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
@@ -596,10 +597,6 @@ msgstr ""
596
  msgid "Deleted users are also included."
597
  msgstr "Raderade användare är också inkluderade."
598
 
599
- #. Plugin Name of the plugin/theme
600
- msgid "Simple History"
601
- msgstr "Simple History"
602
-
603
  #. Plugin URI of the plugin/theme
604
  msgid "http://simple-history.com"
605
  msgstr "http://simple-history.com"
@@ -620,28 +617,28 @@ msgstr "Pär Thernström"
620
  msgid "http://simple-history.com/"
621
  msgstr "http://simple-history.com"
622
 
623
- #: SimpleHistory.php:166
624
  msgctxt ""
625
  "Message visible while waiting for log to load from server the first time"
626
  msgid "Loading history..."
627
  msgstr "Laddar historik..."
628
 
629
- #: SimpleHistory.php:203
630
  msgctxt "page n of n"
631
  msgid "of"
632
  msgstr "av"
633
 
634
- #: SimpleHistory.php:274
635
  msgctxt "API: not enought arguments passed"
636
  msgid "Not enough args specified"
637
  msgstr "Inte tillräckligt med arguments specifierade"
638
 
639
- #: SimpleHistory.php:1149
640
  msgctxt "dashboard menu name"
641
  msgid "Simple History"
642
  msgstr "Simple History"
643
 
644
- #: SimpleHistory.php:1274
645
  msgctxt "history page headline"
646
  msgid "Simple History"
647
  msgstr "Simple History"
@@ -651,6 +648,47 @@ msgctxt "donate settings headline"
651
  msgid "Donate"
652
  msgstr "Donera"
653
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
654
  #: dropins/SimpleHistoryNewRowsNotifier.php:38
655
  msgctxt "New rows notifier: error while checking for new rows"
656
  msgid "An error occured while checking for new log rows"
@@ -965,42 +1003,42 @@ msgctxt "User logger: search"
965
  msgid "WordPress core updates"
966
  msgstr "WordPress core uppdateringar"
967
 
968
- #: loggers/SimpleUserLogger.php:35
969
  msgctxt "User logger: search"
970
  msgid "Users"
971
  msgstr "Användare"
972
 
973
- #: loggers/SimpleUserLogger.php:36
974
  msgctxt "User logger: search"
975
  msgid "All user activity"
976
  msgstr "All användaraktivitet"
977
 
978
- #: loggers/SimpleUserLogger.php:38
979
  msgctxt "User logger: search"
980
  msgid "Successful user logins"
981
  msgstr "Lyckade inloggningar av användare"
982
 
983
- #: loggers/SimpleUserLogger.php:42
984
  msgctxt "User logger: search"
985
  msgid "Failed user logins"
986
  msgstr "Misslyckade inloggningar av användare"
987
 
988
- #: loggers/SimpleUserLogger.php:46
989
  msgctxt "User logger: search"
990
  msgid "User logouts"
991
  msgstr "Utloggning av användare"
992
 
993
- #: loggers/SimpleUserLogger.php:49
994
  msgctxt "User logger: search"
995
  msgid "Created users"
996
  msgstr "Skapade användare"
997
 
998
- #: loggers/SimpleUserLogger.php:52
999
  msgctxt "User logger: search"
1000
  msgid "User profile updates"
1001
  msgstr "Uppdateringar av användarprofiler"
1002
 
1003
- #: loggers/SimpleUserLogger.php:55
1004
  msgctxt "User logger: search"
1005
  msgid "User deletions"
1006
  msgstr "Radering av användare"
@@ -1182,47 +1220,47 @@ msgctxt "Plugin logger: search"
1182
  msgid "Deleted plugins"
1183
  msgstr "Raderade plugins"
1184
 
1185
- #: loggers/SimplePluginLogger.php:863
1186
  msgctxt "plugin logger - detailed output version"
1187
  msgid "Version"
1188
  msgstr "Version"
1189
 
1190
- #: loggers/SimplePluginLogger.php:865
1191
  msgctxt "plugin logger - detailed output author"
1192
  msgid "Author"
1193
  msgstr "Författare"
1194
 
1195
- #: loggers/SimplePluginLogger.php:867
1196
  msgctxt "plugin logger - detailed output author"
1197
  msgid "Requires"
1198
  msgstr "Kräver"
1199
 
1200
- #: loggers/SimplePluginLogger.php:866
1201
  msgctxt "plugin logger - detailed output url"
1202
  msgid "URL"
1203
  msgstr "URL"
1204
 
1205
- #: loggers/SimplePluginLogger.php:868
1206
  msgctxt "plugin logger - detailed output compatible"
1207
  msgid "Compatible up to"
1208
  msgstr "Kompatibel upp till"
1209
 
1210
- #: loggers/SimplePluginLogger.php:869
1211
  msgctxt "plugin logger - detailed output downloaded"
1212
  msgid "Downloads"
1213
  msgstr "Nedladdningar"
1214
 
1215
- #: loggers/SimplePluginLogger.php:929
1216
  msgctxt "plugin logger: plugin info thickbox title view all info"
1217
  msgid "View plugin info"
1218
  msgstr "Visa information om plugin"
1219
 
1220
- #: loggers/SimplePluginLogger.php:944
1221
  msgctxt "plugin logger: plugin info thickbox title"
1222
  msgid "View plugin info"
1223
  msgstr "Visa information om plugin"
1224
 
1225
- #: loggers/SimplePluginLogger.php:948
1226
  msgctxt "plugin logger: plugin info thickbox title"
1227
  msgid "View changelog"
1228
  msgstr "Visa ändringslogg"
@@ -1297,11 +1335,24 @@ msgctxt "Theme logger: search"
1297
  msgid "Background of themes changed"
1298
  msgstr "Ändrade bakgrunder för teman"
1299
 
 
 
 
 
 
 
 
 
 
 
1300
  #: templates/settings-statsRowsPerDay.php:36
1301
  msgctxt "stats: date in rows per day chart"
1302
  msgid "M j"
1303
  msgstr "M j"
1304
 
 
 
 
1305
  #~ msgctxt "dashboard menu name"
1306
  #~ msgid "History"
1307
  #~ msgstr "Historik"
4
  msgstr ""
5
  "Project-Id-Version: Simple History 2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
+ "POT-Creation-Date: 2014-12-28 20:36:33+00:00\n"
8
+ "PO-Revision-Date: 2014-12-28 21:37+0100\n"
9
  "Last-Translator: Pär Thernström <par.thernstrom@gmail.com>\n"
10
  "Language-Team: \n"
11
  "Language: sv\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
+ #: SimpleHistory.php:434 SimpleHistory.php:696
26
  msgid "Settings"
27
  msgstr "Inställningar"
28
 
29
+ #: SimpleHistory.php:445
30
  msgid "Log (debug)"
31
  msgstr "Logg (debug)"
32
 
33
+ #: SimpleHistory.php:450
34
  msgid "Styles example (debug)"
35
  msgstr "Stilexempel (debug)"
36
 
37
+ #. Plugin Name of the plugin/theme
38
+ #: SimpleHistory.php:711
39
+ msgid "Simple History"
40
+ msgstr "Simple History"
41
 
42
+ #: SimpleHistory.php:787
43
  msgid "Remove all log items?"
44
  msgstr "Ta bort alla händelser?"
45
 
46
+ #: SimpleHistory.php:789
47
  msgid "Go to the first page"
48
  msgstr "Gå till första sidan"
49
 
50
+ #: SimpleHistory.php:790
51
  msgid "Go to the previous page"
52
  msgstr "Gå till föregående sida"
53
 
54
+ #: SimpleHistory.php:791
55
  msgid "Go to the next page"
56
  msgstr "Gå till nästa sida"
57
 
58
+ #: SimpleHistory.php:792
59
  msgid "Go to the last page"
60
  msgstr "Gå till sista sidan"
61
 
62
+ #: SimpleHistory.php:793
63
  msgid "Current page"
64
  msgstr "Aktuell sida"
65
 
66
+ #: SimpleHistory.php:795
67
  msgid "Oups, the log could not be loaded right now."
68
  msgstr "Hoppsan, historiken kunde inte laddas just nu."
69
 
70
+ #: SimpleHistory.php:796
71
  msgid "Your search did not match any history events."
72
  msgstr "Din sökning matchade inte några händelser i historiken."
73
 
74
+ #: SimpleHistory.php:1090 SimpleHistory.php:1193
75
  msgid "Simple History Settings"
76
  msgstr "Inställningar för Simple History"
77
 
78
+ #: SimpleHistory.php:1124
79
  msgid "No valid callback found"
80
  msgstr "Inget giltigt callback hittades."
81
 
82
+ #: SimpleHistory.php:1214
83
  msgid "Cleared database"
84
  msgstr "Databasen rensades"
85
 
86
+ #: SimpleHistory.php:1241
87
  msgid "Show history"
88
  msgstr "Visa historik"
89
 
90
+ #: SimpleHistory.php:1254
91
  msgid "Number of items per page"
92
  msgstr "Antal händelser per sida"
93
 
94
+ #: SimpleHistory.php:1266
95
  msgid "Clear log"
96
  msgstr "Rensa logg"
97
 
98
+ #: SimpleHistory.php:1406
99
  msgid "on the dashboard"
100
  msgstr "i panelen"
101
 
102
+ #: SimpleHistory.php:1411
103
  msgid "as a page under the dashboard menu"
104
  msgstr "som en sida under panel-menyn"
105
 
106
+ #: SimpleHistory.php:1427
107
  msgid "Items in the database are automatically removed after %1$s days."
108
  msgstr "Händelser i databasen tas automatiskt bort efter %1$s dagar."
109
 
110
+ #: SimpleHistory.php:1429
111
  msgid "Items in the database are kept forever."
112
  msgstr "Händelser i databasen lagras för evigt."
113
 
114
+ #: SimpleHistory.php:1433
115
  msgid "Clear log now"
116
  msgstr "Rensa loggen nu"
117
 
118
+ #: SimpleHistory.php:1658
119
  msgid "+%1$s more"
120
  msgstr "+%1$s fler"
121
 
122
+ #: SimpleHistory.php:1665
123
  msgid "Loading…"
124
  msgstr "Laddar historik..."
125
 
126
+ #: SimpleHistory.php:1672
127
  msgid "Showing %1$s more"
128
  msgstr "+%1$s fler"
129
 
130
+ #: SimpleHistory.php:1691
131
  msgid "Context data"
132
  msgstr "Kontextuell data"
133
 
134
+ #: SimpleHistory.php:1692
135
  msgid "This is potentially useful meta data that a logger have saved."
136
  msgstr "Detta eventuellt användbar metadata som en logger har sparat."
137
 
138
+ #: SimpleHistory.php:2029
139
  msgid "No events today so far."
140
  msgstr "Inga händelser idag ännu."
141
 
142
+ #: SimpleHistory.php:2033
143
  msgid "%1$d event today from one user."
144
  msgstr "%1$d händelse idag från en användare."
145
 
146
+ #: SimpleHistory.php:2037
147
  msgid "%1$d events today from %2$d users."
148
  msgstr "%1$d händelser idag från %2$d användare."
149
 
150
+ #: SimpleHistory.php:2041
151
  msgid "%1$d events today from one user."
152
  msgstr "%1$d händelser idag från en användare."
153
 
263
  msgid "Stats"
264
  msgstr "Statistik"
265
 
266
+ #: index.php:55
267
  msgid ""
268
  "Simple History is a great plugin, but to use it your server must have at "
269
  "least PHP 5.3 installed (you have version %s)."
529
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
530
  msgstr "Raderade användaren {deleted_user_login} ({deleted_user_email})"
531
 
532
+ #: loggers/SimpleUserLogger.php:229
533
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
534
  msgstr "Redigerade <a href=\"{edit_profile_link}\">din profl</a>"
535
 
536
+ #: loggers/SimpleUserLogger.php:233
537
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
538
  msgstr "Redigerade <a href=\"{edit_profile_link}\">sin profil</a>"
539
 
540
+ #: loggers/SimpleUserLogger.php:242
541
  msgid "Edited your profile"
542
  msgstr "Redigerade din profil"
543
 
544
+ #: loggers/SimpleUserLogger.php:253
545
  msgid ""
546
  "Edited the profile for user <a href="
547
  "\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
597
  msgid "Deleted users are also included."
598
  msgstr "Raderade användare är också inkluderade."
599
 
 
 
 
 
600
  #. Plugin URI of the plugin/theme
601
  msgid "http://simple-history.com"
602
  msgstr "http://simple-history.com"
617
  msgid "http://simple-history.com/"
618
  msgstr "http://simple-history.com"
619
 
620
+ #: SimpleHistory.php:177
621
  msgctxt ""
622
  "Message visible while waiting for log to load from server the first time"
623
  msgid "Loading history..."
624
  msgstr "Laddar historik..."
625
 
626
+ #: SimpleHistory.php:214
627
  msgctxt "page n of n"
628
  msgid "of"
629
  msgstr "av"
630
 
631
+ #: SimpleHistory.php:285
632
  msgctxt "API: not enought arguments passed"
633
  msgid "Not enough args specified"
634
  msgstr "Inte tillräckligt med arguments specifierade"
635
 
636
+ #: SimpleHistory.php:1178
637
  msgctxt "dashboard menu name"
638
  msgid "Simple History"
639
  msgstr "Simple History"
640
 
641
+ #: SimpleHistory.php:1303
642
  msgctxt "history page headline"
643
  msgid "Simple History"
644
  msgstr "Simple History"
648
  msgid "Donate"
649
  msgstr "Donera"
650
 
651
+ #: dropins/SimpleHistoryIpInfoDropin.php:66
652
+ msgctxt "IP Info Dropin"
653
+ msgid "That IP address does not seem like a public one."
654
+ msgstr "Det IP-numret verkar inte vara publikt."
655
+
656
+ #: dropins/SimpleHistoryIpInfoDropin.php:85
657
+ msgctxt "IP Info Dropin"
658
+ msgid "IP address"
659
+ msgstr "IP-adress"
660
+
661
+ #: dropins/SimpleHistoryIpInfoDropin.php:96
662
+ msgctxt "IP Info Dropin"
663
+ msgid "Hostname"
664
+ msgstr "Värdnamn"
665
+
666
+ #: dropins/SimpleHistoryIpInfoDropin.php:107
667
+ #: dropins/SimpleHistoryIpInfoDropin.php:118
668
+ msgctxt "IP Info Dropin"
669
+ msgid "Network"
670
+ msgstr "Nätverk"
671
+
672
+ #: dropins/SimpleHistoryIpInfoDropin.php:129
673
+ msgctxt "IP Info Dropin"
674
+ msgid "City"
675
+ msgstr "Stad"
676
+
677
+ #: dropins/SimpleHistoryIpInfoDropin.php:140
678
+ msgctxt "IP Info Dropin"
679
+ msgid "Region"
680
+ msgstr "Region"
681
+
682
+ #: dropins/SimpleHistoryIpInfoDropin.php:151
683
+ msgctxt "IP Info Dropin"
684
+ msgid "Country"
685
+ msgstr "Land"
686
+
687
+ #: dropins/SimpleHistoryIpInfoDropin.php:175
688
+ msgctxt "IP Info Dropin"
689
+ msgid "IP info provided by %1$s ipinfo.io %2$s"
690
+ msgstr "IP-informationen kommer från %1$s ipinfo.io %2$s"
691
+
692
  #: dropins/SimpleHistoryNewRowsNotifier.php:38
693
  msgctxt "New rows notifier: error while checking for new rows"
694
  msgid "An error occured while checking for new log rows"
1003
  msgid "WordPress core updates"
1004
  msgstr "WordPress core uppdateringar"
1005
 
1006
+ #: loggers/SimpleUserLogger.php:55
1007
  msgctxt "User logger: search"
1008
  msgid "Users"
1009
  msgstr "Användare"
1010
 
1011
+ #: loggers/SimpleUserLogger.php:56
1012
  msgctxt "User logger: search"
1013
  msgid "All user activity"
1014
  msgstr "All användaraktivitet"
1015
 
1016
+ #: loggers/SimpleUserLogger.php:58
1017
  msgctxt "User logger: search"
1018
  msgid "Successful user logins"
1019
  msgstr "Lyckade inloggningar av användare"
1020
 
1021
+ #: loggers/SimpleUserLogger.php:62
1022
  msgctxt "User logger: search"
1023
  msgid "Failed user logins"
1024
  msgstr "Misslyckade inloggningar av användare"
1025
 
1026
+ #: loggers/SimpleUserLogger.php:66
1027
  msgctxt "User logger: search"
1028
  msgid "User logouts"
1029
  msgstr "Utloggning av användare"
1030
 
1031
+ #: loggers/SimpleUserLogger.php:69
1032
  msgctxt "User logger: search"
1033
  msgid "Created users"
1034
  msgstr "Skapade användare"
1035
 
1036
+ #: loggers/SimpleUserLogger.php:72
1037
  msgctxt "User logger: search"
1038
  msgid "User profile updates"
1039
  msgstr "Uppdateringar av användarprofiler"
1040
 
1041
+ #: loggers/SimpleUserLogger.php:75
1042
  msgctxt "User logger: search"
1043
  msgid "User deletions"
1044
  msgstr "Radering av användare"
1220
  msgid "Deleted plugins"
1221
  msgstr "Raderade plugins"
1222
 
1223
+ #: loggers/SimplePluginLogger.php:858
1224
  msgctxt "plugin logger - detailed output version"
1225
  msgid "Version"
1226
  msgstr "Version"
1227
 
1228
+ #: loggers/SimplePluginLogger.php:860
1229
  msgctxt "plugin logger - detailed output author"
1230
  msgid "Author"
1231
  msgstr "Författare"
1232
 
1233
+ #: loggers/SimplePluginLogger.php:862
1234
  msgctxt "plugin logger - detailed output author"
1235
  msgid "Requires"
1236
  msgstr "Kräver"
1237
 
1238
+ #: loggers/SimplePluginLogger.php:861
1239
  msgctxt "plugin logger - detailed output url"
1240
  msgid "URL"
1241
  msgstr "URL"
1242
 
1243
+ #: loggers/SimplePluginLogger.php:863
1244
  msgctxt "plugin logger - detailed output compatible"
1245
  msgid "Compatible up to"
1246
  msgstr "Kompatibel upp till"
1247
 
1248
+ #: loggers/SimplePluginLogger.php:864
1249
  msgctxt "plugin logger - detailed output downloaded"
1250
  msgid "Downloads"
1251
  msgstr "Nedladdningar"
1252
 
1253
+ #: loggers/SimplePluginLogger.php:924
1254
  msgctxt "plugin logger: plugin info thickbox title view all info"
1255
  msgid "View plugin info"
1256
  msgstr "Visa information om plugin"
1257
 
1258
+ #: loggers/SimplePluginLogger.php:939
1259
  msgctxt "plugin logger: plugin info thickbox title"
1260
  msgid "View plugin info"
1261
  msgstr "Visa information om plugin"
1262
 
1263
+ #: loggers/SimplePluginLogger.php:943
1264
  msgctxt "plugin logger: plugin info thickbox title"
1265
  msgid "View changelog"
1266
  msgstr "Visa ändringslogg"
1335
  msgid "Background of themes changed"
1336
  msgstr "Ändrade bakgrunder för teman"
1337
 
1338
+ #: loggers/SimpleUserLogger.php:37
1339
+ msgctxt "User destroys other login sessions for themself"
1340
+ msgid "Logged out from all other sessions"
1341
+ msgstr "Loggade ut från alla andra sessioner"
1342
+
1343
+ #: loggers/SimpleUserLogger.php:46
1344
+ msgctxt "User destroys all login sessions for a user"
1345
+ msgid "Logged out \"{user_display_name}\" from all sessions"
1346
+ msgstr "Loggade ut \"{user_display_name}\" från alla sessioner"
1347
+
1348
  #: templates/settings-statsRowsPerDay.php:36
1349
  msgctxt "stats: date in rows per day chart"
1350
  msgid "M j"
1351
  msgstr "M j"
1352
 
1353
+ #~ msgid "History"
1354
+ #~ msgstr "Historik"
1355
+
1356
  #~ msgctxt "dashboard menu name"
1357
  #~ msgid "History"
1358
  #~ msgstr "Historik"
languages/simple-history.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Simple History package.
3
  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: 2014-12-17 06:57:05+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,131 +24,133 @@ msgstr ""
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
- #: SimpleHistory.php:423 SimpleHistory.php:667
28
  msgid "Settings"
29
  msgstr ""
30
 
31
- #: SimpleHistory.php:434
32
  msgid "Log (debug)"
33
  msgstr ""
34
 
35
- #: SimpleHistory.php:439
36
  msgid "Styles example (debug)"
37
  msgstr ""
38
 
39
- #: SimpleHistory.php:682
40
- msgid "History"
 
 
41
  msgstr ""
42
 
43
- #: SimpleHistory.php:758
44
  msgid "Remove all log items?"
45
  msgstr ""
46
 
47
- #: SimpleHistory.php:760
48
  msgid "Go to the first page"
49
  msgstr ""
50
 
51
- #: SimpleHistory.php:761
52
  msgid "Go to the previous page"
53
  msgstr ""
54
 
55
- #: SimpleHistory.php:762
56
  msgid "Go to the next page"
57
  msgstr ""
58
 
59
- #: SimpleHistory.php:763
60
  msgid "Go to the last page"
61
  msgstr ""
62
 
63
- #: SimpleHistory.php:764
64
  msgid "Current page"
65
  msgstr ""
66
 
67
- #: SimpleHistory.php:766
68
  msgid "Oups, the log could not be loaded right now."
69
  msgstr ""
70
 
71
- #: SimpleHistory.php:767
72
  msgid "Your search did not match any history events."
73
  msgstr ""
74
 
75
- #: SimpleHistory.php:1061 SimpleHistory.php:1164
76
  msgid "Simple History Settings"
77
  msgstr ""
78
 
79
- #: SimpleHistory.php:1095
80
  msgid "No valid callback found"
81
  msgstr ""
82
 
83
- #: SimpleHistory.php:1185
84
  msgid "Cleared database"
85
  msgstr ""
86
 
87
- #: SimpleHistory.php:1212
88
  msgid "Show history"
89
  msgstr ""
90
 
91
- #: SimpleHistory.php:1225
92
  msgid "Number of items per page"
93
  msgstr ""
94
 
95
- #: SimpleHistory.php:1237
96
  msgid "Clear log"
97
  msgstr ""
98
 
99
- #: SimpleHistory.php:1457
100
  msgid "on the dashboard"
101
  msgstr ""
102
 
103
- #: SimpleHistory.php:1462
104
  msgid "as a page under the dashboard menu"
105
  msgstr ""
106
 
107
- #: SimpleHistory.php:1478
108
  msgid "Items in the database are automatically removed after %1$s days."
109
  msgstr ""
110
 
111
- #: SimpleHistory.php:1480
112
  msgid "Items in the database are kept forever."
113
  msgstr ""
114
 
115
- #: SimpleHistory.php:1484
116
  msgid "Clear log now"
117
  msgstr ""
118
 
119
- #: SimpleHistory.php:1709
120
  msgid "+%1$s more"
121
  msgstr ""
122
 
123
- #: SimpleHistory.php:1716
124
  msgid "Loading…"
125
  msgstr ""
126
 
127
- #: SimpleHistory.php:1723
128
  msgid "Showing %1$s more"
129
  msgstr ""
130
 
131
- #: SimpleHistory.php:1742
132
  msgid "Context data"
133
  msgstr ""
134
 
135
- #: SimpleHistory.php:1743
136
  msgid "This is potentially useful meta data that a logger have saved."
137
  msgstr ""
138
 
139
- #: SimpleHistory.php:2065
140
  msgid "No events today so far."
141
  msgstr ""
142
 
143
- #: SimpleHistory.php:2069
144
  msgid "%1$d event today from one user."
145
  msgstr ""
146
 
147
- #: SimpleHistory.php:2073
148
  msgid "%1$d events today from %2$d users."
149
  msgstr ""
150
 
151
- #: SimpleHistory.php:2077
152
  msgid "%1$d events today from one user."
153
  msgstr ""
154
 
@@ -255,7 +257,7 @@ msgstr ""
255
  msgid "Stats"
256
  msgstr ""
257
 
258
- #: index.php:56
259
  msgid ""
260
  "Simple History is a great plugin, but to use it your server must have at "
261
  "least PHP 5.3 installed (you have version %s)."
@@ -505,19 +507,19 @@ msgstr ""
505
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
506
  msgstr ""
507
 
508
- #: loggers/SimpleUserLogger.php:153
509
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
510
  msgstr ""
511
 
512
- #: loggers/SimpleUserLogger.php:157
513
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
514
  msgstr ""
515
 
516
- #: loggers/SimpleUserLogger.php:166
517
  msgid "Edited your profile"
518
  msgstr ""
519
 
520
- #: loggers/SimpleUserLogger.php:177
521
  msgid ""
522
  "Edited the profile for user <a "
523
  "href=\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
@@ -570,10 +572,6 @@ msgstr ""
570
  msgid "Deleted users are also included."
571
  msgstr ""
572
 
573
- #. Plugin Name of the plugin/theme
574
- msgid "Simple History"
575
- msgstr ""
576
-
577
  #. Plugin URI of the plugin/theme
578
  msgid "http://simple-history.com"
579
  msgstr ""
@@ -592,27 +590,27 @@ msgstr ""
592
  msgid "http://simple-history.com/"
593
  msgstr ""
594
 
595
- #: SimpleHistory.php:166
596
  msgctxt "Message visible while waiting for log to load from server the first time"
597
  msgid "Loading history..."
598
  msgstr ""
599
 
600
- #: SimpleHistory.php:203
601
  msgctxt "page n of n"
602
  msgid "of"
603
  msgstr ""
604
 
605
- #: SimpleHistory.php:274
606
  msgctxt "API: not enought arguments passed"
607
  msgid "Not enough args specified"
608
  msgstr ""
609
 
610
- #: SimpleHistory.php:1149
611
  msgctxt "dashboard menu name"
612
  msgid "Simple History"
613
  msgstr ""
614
 
615
- #: SimpleHistory.php:1274
616
  msgctxt "history page headline"
617
  msgid "Simple History"
618
  msgstr ""
@@ -622,6 +620,47 @@ msgctxt "donate settings headline"
622
  msgid "Donate"
623
  msgstr ""
624
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
625
  #: dropins/SimpleHistoryNewRowsNotifier.php:38
626
  msgctxt "New rows notifier: error while checking for new rows"
627
  msgid "An error occured while checking for new log rows"
@@ -896,42 +935,42 @@ msgctxt "User logger: search"
896
  msgid "WordPress core updates"
897
  msgstr ""
898
 
899
- #: loggers/SimpleUserLogger.php:35
900
  msgctxt "User logger: search"
901
  msgid "Users"
902
  msgstr ""
903
 
904
- #: loggers/SimpleUserLogger.php:36
905
  msgctxt "User logger: search"
906
  msgid "All user activity"
907
  msgstr ""
908
 
909
- #: loggers/SimpleUserLogger.php:38
910
  msgctxt "User logger: search"
911
  msgid "Successful user logins"
912
  msgstr ""
913
 
914
- #: loggers/SimpleUserLogger.php:42
915
  msgctxt "User logger: search"
916
  msgid "Failed user logins"
917
  msgstr ""
918
 
919
- #: loggers/SimpleUserLogger.php:46
920
  msgctxt "User logger: search"
921
  msgid "User logouts"
922
  msgstr ""
923
 
924
- #: loggers/SimpleUserLogger.php:49
925
  msgctxt "User logger: search"
926
  msgid "Created users"
927
  msgstr ""
928
 
929
- #: loggers/SimpleUserLogger.php:52
930
  msgctxt "User logger: search"
931
  msgid "User profile updates"
932
  msgstr ""
933
 
934
- #: loggers/SimpleUserLogger.php:55
935
  msgctxt "User logger: search"
936
  msgid "User deletions"
937
  msgstr ""
@@ -1109,47 +1148,47 @@ msgctxt "Plugin logger: search"
1109
  msgid "Deleted plugins"
1110
  msgstr ""
1111
 
1112
- #: loggers/SimplePluginLogger.php:863
1113
  msgctxt "plugin logger - detailed output version"
1114
  msgid "Version"
1115
  msgstr ""
1116
 
1117
- #: loggers/SimplePluginLogger.php:865
1118
  msgctxt "plugin logger - detailed output author"
1119
  msgid "Author"
1120
  msgstr ""
1121
 
1122
- #: loggers/SimplePluginLogger.php:867
1123
  msgctxt "plugin logger - detailed output author"
1124
  msgid "Requires"
1125
  msgstr ""
1126
 
1127
- #: loggers/SimplePluginLogger.php:866
1128
  msgctxt "plugin logger - detailed output url"
1129
  msgid "URL"
1130
  msgstr ""
1131
 
1132
- #: loggers/SimplePluginLogger.php:868
1133
  msgctxt "plugin logger - detailed output compatible"
1134
  msgid "Compatible up to"
1135
  msgstr ""
1136
 
1137
- #: loggers/SimplePluginLogger.php:869
1138
  msgctxt "plugin logger - detailed output downloaded"
1139
  msgid "Downloads"
1140
  msgstr ""
1141
 
1142
- #: loggers/SimplePluginLogger.php:929
1143
  msgctxt "plugin logger: plugin info thickbox title view all info"
1144
  msgid "View plugin info"
1145
  msgstr ""
1146
 
1147
- #: loggers/SimplePluginLogger.php:944
1148
  msgctxt "plugin logger: plugin info thickbox title"
1149
  msgid "View plugin info"
1150
  msgstr ""
1151
 
1152
- #: loggers/SimplePluginLogger.php:948
1153
  msgctxt "plugin logger: plugin info thickbox title"
1154
  msgid "View changelog"
1155
  msgstr ""
@@ -1224,6 +1263,16 @@ msgctxt "Theme logger: search"
1224
  msgid "Background of themes changed"
1225
  msgstr ""
1226
 
 
 
 
 
 
 
 
 
 
 
1227
  #: templates/settings-statsRowsPerDay.php:36
1228
  msgctxt "stats: date in rows per day chart"
1229
  msgid "M j"
2
  # This file is distributed under the same license as the Simple History package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Simple History 2.0.7\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
+ "POT-Creation-Date: 2014-12-28 20:36:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
+ #: SimpleHistory.php:434 SimpleHistory.php:696
28
  msgid "Settings"
29
  msgstr ""
30
 
31
+ #: SimpleHistory.php:445
32
  msgid "Log (debug)"
33
  msgstr ""
34
 
35
+ #: SimpleHistory.php:450
36
  msgid "Styles example (debug)"
37
  msgstr ""
38
 
39
+ #: SimpleHistory.php:711
40
+ #. #-#-#-#-# Simple-History.pot (Simple History 2.0.7) #-#-#-#-#
41
+ #. Plugin Name of the plugin/theme
42
+ msgid "Simple History"
43
  msgstr ""
44
 
45
+ #: SimpleHistory.php:787
46
  msgid "Remove all log items?"
47
  msgstr ""
48
 
49
+ #: SimpleHistory.php:789
50
  msgid "Go to the first page"
51
  msgstr ""
52
 
53
+ #: SimpleHistory.php:790
54
  msgid "Go to the previous page"
55
  msgstr ""
56
 
57
+ #: SimpleHistory.php:791
58
  msgid "Go to the next page"
59
  msgstr ""
60
 
61
+ #: SimpleHistory.php:792
62
  msgid "Go to the last page"
63
  msgstr ""
64
 
65
+ #: SimpleHistory.php:793
66
  msgid "Current page"
67
  msgstr ""
68
 
69
+ #: SimpleHistory.php:795
70
  msgid "Oups, the log could not be loaded right now."
71
  msgstr ""
72
 
73
+ #: SimpleHistory.php:796
74
  msgid "Your search did not match any history events."
75
  msgstr ""
76
 
77
+ #: SimpleHistory.php:1090 SimpleHistory.php:1193
78
  msgid "Simple History Settings"
79
  msgstr ""
80
 
81
+ #: SimpleHistory.php:1124
82
  msgid "No valid callback found"
83
  msgstr ""
84
 
85
+ #: SimpleHistory.php:1214
86
  msgid "Cleared database"
87
  msgstr ""
88
 
89
+ #: SimpleHistory.php:1241
90
  msgid "Show history"
91
  msgstr ""
92
 
93
+ #: SimpleHistory.php:1254
94
  msgid "Number of items per page"
95
  msgstr ""
96
 
97
+ #: SimpleHistory.php:1266
98
  msgid "Clear log"
99
  msgstr ""
100
 
101
+ #: SimpleHistory.php:1406
102
  msgid "on the dashboard"
103
  msgstr ""
104
 
105
+ #: SimpleHistory.php:1411
106
  msgid "as a page under the dashboard menu"
107
  msgstr ""
108
 
109
+ #: SimpleHistory.php:1427
110
  msgid "Items in the database are automatically removed after %1$s days."
111
  msgstr ""
112
 
113
+ #: SimpleHistory.php:1429
114
  msgid "Items in the database are kept forever."
115
  msgstr ""
116
 
117
+ #: SimpleHistory.php:1433
118
  msgid "Clear log now"
119
  msgstr ""
120
 
121
+ #: SimpleHistory.php:1658
122
  msgid "+%1$s more"
123
  msgstr ""
124
 
125
+ #: SimpleHistory.php:1665
126
  msgid "Loading…"
127
  msgstr ""
128
 
129
+ #: SimpleHistory.php:1672
130
  msgid "Showing %1$s more"
131
  msgstr ""
132
 
133
+ #: SimpleHistory.php:1691
134
  msgid "Context data"
135
  msgstr ""
136
 
137
+ #: SimpleHistory.php:1692
138
  msgid "This is potentially useful meta data that a logger have saved."
139
  msgstr ""
140
 
141
+ #: SimpleHistory.php:2029
142
  msgid "No events today so far."
143
  msgstr ""
144
 
145
+ #: SimpleHistory.php:2033
146
  msgid "%1$d event today from one user."
147
  msgstr ""
148
 
149
+ #: SimpleHistory.php:2037
150
  msgid "%1$d events today from %2$d users."
151
  msgstr ""
152
 
153
+ #: SimpleHistory.php:2041
154
  msgid "%1$d events today from one user."
155
  msgstr ""
156
 
257
  msgid "Stats"
258
  msgstr ""
259
 
260
+ #: index.php:55
261
  msgid ""
262
  "Simple History is a great plugin, but to use it your server must have at "
263
  "least PHP 5.3 installed (you have version %s)."
507
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
508
  msgstr ""
509
 
510
+ #: loggers/SimpleUserLogger.php:229
511
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
512
  msgstr ""
513
 
514
+ #: loggers/SimpleUserLogger.php:233
515
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
516
  msgstr ""
517
 
518
+ #: loggers/SimpleUserLogger.php:242
519
  msgid "Edited your profile"
520
  msgstr ""
521
 
522
+ #: loggers/SimpleUserLogger.php:253
523
  msgid ""
524
  "Edited the profile for user <a "
525
  "href=\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
572
  msgid "Deleted users are also included."
573
  msgstr ""
574
 
 
 
 
 
575
  #. Plugin URI of the plugin/theme
576
  msgid "http://simple-history.com"
577
  msgstr ""
590
  msgid "http://simple-history.com/"
591
  msgstr ""
592
 
593
+ #: SimpleHistory.php:177
594
  msgctxt "Message visible while waiting for log to load from server the first time"
595
  msgid "Loading history..."
596
  msgstr ""
597
 
598
+ #: SimpleHistory.php:214
599
  msgctxt "page n of n"
600
  msgid "of"
601
  msgstr ""
602
 
603
+ #: SimpleHistory.php:285
604
  msgctxt "API: not enought arguments passed"
605
  msgid "Not enough args specified"
606
  msgstr ""
607
 
608
+ #: SimpleHistory.php:1178
609
  msgctxt "dashboard menu name"
610
  msgid "Simple History"
611
  msgstr ""
612
 
613
+ #: SimpleHistory.php:1303
614
  msgctxt "history page headline"
615
  msgid "Simple History"
616
  msgstr ""
620
  msgid "Donate"
621
  msgstr ""
622
 
623
+ #: dropins/SimpleHistoryIpInfoDropin.php:66
624
+ msgctxt "IP Info Dropin"
625
+ msgid "That IP address does not seem like a public one."
626
+ msgstr ""
627
+
628
+ #: dropins/SimpleHistoryIpInfoDropin.php:85
629
+ msgctxt "IP Info Dropin"
630
+ msgid "IP address"
631
+ msgstr ""
632
+
633
+ #: dropins/SimpleHistoryIpInfoDropin.php:96
634
+ msgctxt "IP Info Dropin"
635
+ msgid "Hostname"
636
+ msgstr ""
637
+
638
+ #: dropins/SimpleHistoryIpInfoDropin.php:107
639
+ #: dropins/SimpleHistoryIpInfoDropin.php:118
640
+ msgctxt "IP Info Dropin"
641
+ msgid "Network"
642
+ msgstr ""
643
+
644
+ #: dropins/SimpleHistoryIpInfoDropin.php:129
645
+ msgctxt "IP Info Dropin"
646
+ msgid "City"
647
+ msgstr ""
648
+
649
+ #: dropins/SimpleHistoryIpInfoDropin.php:140
650
+ msgctxt "IP Info Dropin"
651
+ msgid "Region"
652
+ msgstr ""
653
+
654
+ #: dropins/SimpleHistoryIpInfoDropin.php:151
655
+ msgctxt "IP Info Dropin"
656
+ msgid "Country"
657
+ msgstr ""
658
+
659
+ #: dropins/SimpleHistoryIpInfoDropin.php:175
660
+ msgctxt "IP Info Dropin"
661
+ msgid "IP info provided by %1$s ipinfo.io %2$s"
662
+ msgstr ""
663
+
664
  #: dropins/SimpleHistoryNewRowsNotifier.php:38
665
  msgctxt "New rows notifier: error while checking for new rows"
666
  msgid "An error occured while checking for new log rows"
935
  msgid "WordPress core updates"
936
  msgstr ""
937
 
938
+ #: loggers/SimpleUserLogger.php:55
939
  msgctxt "User logger: search"
940
  msgid "Users"
941
  msgstr ""
942
 
943
+ #: loggers/SimpleUserLogger.php:56
944
  msgctxt "User logger: search"
945
  msgid "All user activity"
946
  msgstr ""
947
 
948
+ #: loggers/SimpleUserLogger.php:58
949
  msgctxt "User logger: search"
950
  msgid "Successful user logins"
951
  msgstr ""
952
 
953
+ #: loggers/SimpleUserLogger.php:62
954
  msgctxt "User logger: search"
955
  msgid "Failed user logins"
956
  msgstr ""
957
 
958
+ #: loggers/SimpleUserLogger.php:66
959
  msgctxt "User logger: search"
960
  msgid "User logouts"
961
  msgstr ""
962
 
963
+ #: loggers/SimpleUserLogger.php:69
964
  msgctxt "User logger: search"
965
  msgid "Created users"
966
  msgstr ""
967
 
968
+ #: loggers/SimpleUserLogger.php:72
969
  msgctxt "User logger: search"
970
  msgid "User profile updates"
971
  msgstr ""
972
 
973
+ #: loggers/SimpleUserLogger.php:75
974
  msgctxt "User logger: search"
975
  msgid "User deletions"
976
  msgstr ""
1148
  msgid "Deleted plugins"
1149
  msgstr ""
1150
 
1151
+ #: loggers/SimplePluginLogger.php:858
1152
  msgctxt "plugin logger - detailed output version"
1153
  msgid "Version"
1154
  msgstr ""
1155
 
1156
+ #: loggers/SimplePluginLogger.php:860
1157
  msgctxt "plugin logger - detailed output author"
1158
  msgid "Author"
1159
  msgstr ""
1160
 
1161
+ #: loggers/SimplePluginLogger.php:862
1162
  msgctxt "plugin logger - detailed output author"
1163
  msgid "Requires"
1164
  msgstr ""
1165
 
1166
+ #: loggers/SimplePluginLogger.php:861
1167
  msgctxt "plugin logger - detailed output url"
1168
  msgid "URL"
1169
  msgstr ""
1170
 
1171
+ #: loggers/SimplePluginLogger.php:863
1172
  msgctxt "plugin logger - detailed output compatible"
1173
  msgid "Compatible up to"
1174
  msgstr ""
1175
 
1176
+ #: loggers/SimplePluginLogger.php:864
1177
  msgctxt "plugin logger - detailed output downloaded"
1178
  msgid "Downloads"
1179
  msgstr ""
1180
 
1181
+ #: loggers/SimplePluginLogger.php:924
1182
  msgctxt "plugin logger: plugin info thickbox title view all info"
1183
  msgid "View plugin info"
1184
  msgstr ""
1185
 
1186
+ #: loggers/SimplePluginLogger.php:939
1187
  msgctxt "plugin logger: plugin info thickbox title"
1188
  msgid "View plugin info"
1189
  msgstr ""
1190
 
1191
+ #: loggers/SimplePluginLogger.php:943
1192
  msgctxt "plugin logger: plugin info thickbox title"
1193
  msgid "View changelog"
1194
  msgstr ""
1263
  msgid "Background of themes changed"
1264
  msgstr ""
1265
 
1266
+ #: loggers/SimpleUserLogger.php:37
1267
+ msgctxt "User destroys other login sessions for themself"
1268
+ msgid "Logged out from all other sessions"
1269
+ msgstr ""
1270
+
1271
+ #: loggers/SimpleUserLogger.php:46
1272
+ msgctxt "User destroys all login sessions for a user"
1273
+ msgid "Logged out \"{user_display_name}\" from all sessions"
1274
+ msgstr ""
1275
+
1276
  #: templates/settings-statsRowsPerDay.php:36
1277
  msgctxt "stats: date in rows per day chart"
1278
  msgid "M j"
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
5
  Requires at least: 3.6.0
6
  Tested up to: 4.1
7
- Stable tag: 2.0.7
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
@@ -104,6 +104,14 @@ initiated by a specific user.
104
 
105
  == Changelog ==
106
 
 
 
 
 
 
 
 
 
107
  = 2.0.7 (December 2014) =
108
 
109
  - Fix: no message when restoring page from trash
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog, feed, activity, stream
5
  Requires at least: 3.6.0
6
  Tested up to: 4.1
7
+ Stable tag: 2.0.8
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
104
 
105
  == Changelog ==
106
 
107
+ = 2.0.8 (December 2014) =
108
+
109
+ - Added: IP addresses can now be clicked to view IP address info from [ipinfo.io](http://ipinfo.io). This will get you the location and network of an IP address and help you determine from where for example a failed login attempt originates from. [See screenshot of IP address info in action](http://glui.me/?d=y89nbgmvmfnxl4r/ip%20address%20information%20popup.png/).
110
+ - Added: new action `simple_history/admin_footer`, to output HTML and JavaScript in footer on pages that belong to Simple History
111
+ - Added: new trigger for JavaScript: `SimpleHistory:logReloadStart`. Fired when the log starts to reload, like when using the pagination or using the filter function.
112
+ - Fixed: use Mustache-inspired template tags instead of Underscore default ones, because they don't work with PHP with asp_tags on.
113
+ - Updated: Swedish translation updated
114
+
115
  = 2.0.7 (December 2014) =
116
 
117
  - Fix: no message when restoring page from trash