Version Description
- Update translation text domain to
wp-revisions-control
, conforming to WordPress standards. - Add Polish translation thanks to Maciej Gryniuk.
Download this release
Release Info
Developer | ethitter |
Plugin | WP Revisions Control |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.4.1
- assets/build/gutenberg.asset.php +1 -1
- assets/build/gutenberg.js +2 -2
- inc/class-block-editor.php +1 -1
- inc/class-wp-revisions-control-bulk-actions.php +5 -5
- inc/class-wp-revisions-control.php +18 -18
- languages/{wp_revisions_control-es_ES.mo → wp-revisions-control-es_ES.mo} +0 -0
- languages/{wp_revisions_control-es_ES.pot → wp-revisions-control-es_ES.pot} +0 -0
- languages/wp-revisions-control-pl_PL.mo +0 -0
- languages/wp-revisions-control-pl_PL.pot +113 -0
- languages/wp-revisions-control.pot +2 -2
- readme.txt +8 -1
- wp-revisions-control.php +2 -2
assets/build/gutenberg.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '4fb62ef836a783d428cc');
|
assets/build/gutenberg.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
!function(){"use strict";var e={989:function(e){e.exports=window.wp.apiFetch},609:function(e){e.exports=window.wp.components},333:function(e){e.exports=window.wp.compose},818:function(e){e.exports=window.wp.data},67:function(e){e.exports=window.wp.editPost},307:function(e){e.exports=window.wp.element},736:function(e){e.exports=window.wp.i18n},817:function(e){e.exports=window.wp.plugins}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=o(307);const t=o(989),{Button:n,Modal:r,TextControl:i}=o(609),{compose:s}=o(333),{withSelect:l,withDispatch:c}=o(818),{PluginDocumentSettingPanel:a}=o(67),{useState:u}=o(307),{__:__,_n:_n,sprintf:p}=o(736),{registerPlugin:w}=o(817),d=window.wpRevisionsControlBlockEditorSettings.metaKey,v="wp-revisions-control",m=s([l((e=>{const{getCurrentPostRevisionsCount:t,getEditedPostAttribute:o}=e("core/editor"),n=t(),r=o("meta")[d];return{limit:r,showPurgeButton:Boolean(r)&&n>parseInt(r)}})),c(((e,o,n)=>{let{limit:r}=o,{select:i}=n;return{manualPurge:()=>{const o=i("core/editor").getCurrentPostId();t({path:`/wp-revisions-control/v1/schedule/${o}/${parseInt(r,10)}`,method:"PUT"}).then((t=>{let o,n;t?(o="success",n=__("Excess revisions scheduled for removal.","
|
2 |
/* translators: 1. Number of revisions to keep. */
|
3 |
-
_n("This will remove all but the most-recent revision.","This will remove all but the %1$d most-recent revisions.",c,"
|
1 |
+
!function(){"use strict";var e={989:function(e){e.exports=window.wp.apiFetch},609:function(e){e.exports=window.wp.components},333:function(e){e.exports=window.wp.compose},818:function(e){e.exports=window.wp.data},67:function(e){e.exports=window.wp.editPost},307:function(e){e.exports=window.wp.element},736:function(e){e.exports=window.wp.i18n},817:function(e){e.exports=window.wp.plugins}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=o(307);const t=o(989),{Button:n,Modal:r,TextControl:i}=o(609),{compose:s}=o(333),{withSelect:l,withDispatch:c}=o(818),{PluginDocumentSettingPanel:a}=o(67),{useState:u}=o(307),{__:__,_n:_n,sprintf:p}=o(736),{registerPlugin:w}=o(817),d=window.wpRevisionsControlBlockEditorSettings.metaKey,v="wp-revisions-control",m=s([l((e=>{const{getCurrentPostRevisionsCount:t,getEditedPostAttribute:o}=e("core/editor"),n=t(),r=o("meta")[d];return{limit:r,showPurgeButton:Boolean(r)&&n>parseInt(r)}})),c(((e,o,n)=>{let{limit:r}=o,{select:i}=n;return{manualPurge:()=>{const o=i("core/editor").getCurrentPostId();t({path:`/wp-revisions-control/v1/schedule/${o}/${parseInt(r,10)}`,method:"PUT"}).then((t=>{let o,n;t?(o="success",n=__("Excess revisions scheduled for removal.","wp-revisions-control")):(o="error",n=__("Failed to schedule excess revisions for removal.","wp-revisions-control")),e("core/notices").createNotice(o,n,{id:"wp-revisions-control-scheduled-purge",isDismissible:!0,type:"snackbar"})}))},updateMeta:t=>{e("core/editor").editPost({meta:{[d]:t}})}}}))])((t=>{let{limit:o,manualPurge:s,showPurgeButton:l,updateMeta:c}=t;return(0,e.createElement)(a,{name:v,title:__("WP Revisions Control","wp-revisions-control"),className:v},(0,e.createElement)(i,{label:__("Number of revisions to retain:","wp-revisions-control"),help:__("Leave blank to keep all revisions.","wp-revisions-control"),value:o,onChange:c}),l&&((t,o)=>{const[i,s]=u(!1),l=()=>s(!1),c=parseInt(t,10),a=0===c?__("This will remove all revisions.","wp-revisions-control"):p(
|
2 |
/* translators: 1. Number of revisions to keep. */
|
3 |
+
_n("This will remove all but the most-recent revision.","This will remove all but the %1$d most-recent revisions.",c,"wp-revisions-control"),t);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n,{isSecondary:!0,onClick:()=>s(!0)},__("Purge excess revisions","wp-revisions-control")),i&&(0,e.createElement)(r,{title:__("Purge excess revisions","wp-revisions-control"),contentLabel:a,onRequestClose:l},(0,e.createElement)("p",null,a),(0,e.createElement)(n,{isPrimary:!0,onClick:()=>{l(),o()}},__("Purge","wp-revisions-control"))," ",(0,e.createElement)(n,{isSecondary:!0,onClick:l},__("Cancel","wp-revisions-control"))))})(o,s))}));w(v,{render:m,icon:"backup"})}()}();
|
inc/class-block-editor.php
CHANGED
@@ -57,7 +57,7 @@ class Block_Editor {
|
|
57 |
'show_in_rest' => true,
|
58 |
'description' => __(
|
59 |
'Number of revisions to retain.',
|
60 |
-
'
|
61 |
),
|
62 |
)
|
63 |
);
|
57 |
'show_in_rest' => true,
|
58 |
'description' => __(
|
59 |
'Number of revisions to retain.',
|
60 |
+
'wp-revisions-control'
|
61 |
),
|
62 |
)
|
63 |
);
|
inc/class-wp-revisions-control-bulk-actions.php
CHANGED
@@ -58,12 +58,12 @@ class WP_Revisions_Control_Bulk_Actions {
|
|
58 |
|
59 |
$actions[ $this->action_base . 'purge_excess' ] = __(
|
60 |
'Purge excess revisions',
|
61 |
-
'
|
62 |
);
|
63 |
|
64 |
$actions[ $this->action_base . 'purge_all' ] = __(
|
65 |
'Purge ALL revisions',
|
66 |
-
'
|
67 |
);
|
68 |
|
69 |
$this->actions = $actions;
|
@@ -241,14 +241,14 @@ class WP_Revisions_Control_Bulk_Actions {
|
|
241 |
case 'purge_all':
|
242 |
$message = __(
|
243 |
'Purged all revisions.',
|
244 |
-
'
|
245 |
);
|
246 |
break;
|
247 |
|
248 |
case 'purge_excess':
|
249 |
$message = __(
|
250 |
'Purged excess revisions.',
|
251 |
-
'
|
252 |
);
|
253 |
break;
|
254 |
|
@@ -259,7 +259,7 @@ class WP_Revisions_Control_Bulk_Actions {
|
|
259 |
case 'missing':
|
260 |
$message = __(
|
261 |
'WP Revisions Control encountered an unspecified error.',
|
262 |
-
'
|
263 |
);
|
264 |
$type = 'error';
|
265 |
break;
|
58 |
|
59 |
$actions[ $this->action_base . 'purge_excess' ] = __(
|
60 |
'Purge excess revisions',
|
61 |
+
'wp-revisions-control'
|
62 |
);
|
63 |
|
64 |
$actions[ $this->action_base . 'purge_all' ] = __(
|
65 |
'Purge ALL revisions',
|
66 |
+
'wp-revisions-control'
|
67 |
);
|
68 |
|
69 |
$this->actions = $actions;
|
241 |
case 'purge_all':
|
242 |
$message = __(
|
243 |
'Purged all revisions.',
|
244 |
+
'wp-revisions-control'
|
245 |
);
|
246 |
break;
|
247 |
|
248 |
case 'purge_excess':
|
249 |
$message = __(
|
250 |
'Purged excess revisions.',
|
251 |
+
'wp-revisions-control'
|
252 |
);
|
253 |
break;
|
254 |
|
259 |
case 'missing':
|
260 |
$message = __(
|
261 |
'WP Revisions Control encountered an unspecified error.',
|
262 |
+
'wp-revisions-control'
|
263 |
);
|
264 |
$type = 'error';
|
265 |
break;
|
inc/class-wp-revisions-control.php
CHANGED
@@ -84,7 +84,7 @@ class WP_Revisions_Control {
|
|
84 |
*/
|
85 |
public function action_plugins_loaded() {
|
86 |
load_plugin_textdomain(
|
87 |
-
'
|
88 |
false,
|
89 |
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
90 |
);
|
@@ -135,8 +135,8 @@ class WP_Revisions_Control {
|
|
135 |
*/
|
136 |
public function settings_section_intro() {
|
137 |
?>
|
138 |
-
<p><?php esc_html_e( 'Set the number of revisions to save for each post type listed. To retain all revisions for a given post type, leave the field empty.', '
|
139 |
-
<p><?php esc_html_e( 'If a post type isn\'t listed, revisions are not enabled for that post type.', '
|
140 |
<?php
|
141 |
|
142 |
// Display a note if the plugin priority is other than the default.
|
@@ -149,7 +149,7 @@ class WP_Revisions_Control {
|
|
149 |
/* translators: 1. Filter tag. */
|
150 |
esc_html__(
|
151 |
'A local change is causing this plugin\'s functionality to run at a priority other than the default. If you experience difficulties with the plugin, please unhook any functions from the %1$s filter.',
|
152 |
-
'
|
153 |
),
|
154 |
'<code>wp_revisions_control_priority</code>'
|
155 |
);
|
@@ -277,7 +277,7 @@ class WP_Revisions_Control {
|
|
277 |
'revisionsdiv-wp-rev-ctl',
|
278 |
__(
|
279 |
'Revisions',
|
280 |
-
'
|
281 |
),
|
282 |
array(
|
283 |
$this,
|
@@ -307,11 +307,11 @@ class WP_Revisions_Control {
|
|
307 |
array(
|
308 |
'namespace' => $this->settings_section,
|
309 |
'action_base' => $this->settings_section,
|
310 |
-
'processing_text' => __( 'Processing…', '
|
311 |
-
'ays' => __( 'Are you sure you want to remove revisions from this post?', '
|
312 |
-
'autosave' => __( 'Autosave', '
|
313 |
-
'nothing_text' => wpautop( __( 'There are no revisions to remove.', '
|
314 |
-
'error' => __( 'An error occurred. Please refresh the page and try again.', '
|
315 |
)
|
316 |
);
|
317 |
|
@@ -331,7 +331,7 @@ class WP_Revisions_Control {
|
|
331 |
<div id="<?php echo esc_attr( $this->settings_section ); ?>">
|
332 |
<h4>WP Revisions Control</h4>
|
333 |
|
334 |
-
<p class="button purge" data-postid="<?php the_ID(); ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( $this->settings_section . '_purge' ) ); ?>"><?php _e( 'Purge these revisions', '
|
335 |
|
336 |
<p>
|
337 |
<?php
|
@@ -339,7 +339,7 @@ class WP_Revisions_Control {
|
|
339 |
/* translators: 1. Text input field. */
|
340 |
esc_html__(
|
341 |
'Limit this post to %1$s revisions. Leave this field blank for default behavior.',
|
342 |
-
'
|
343 |
),
|
344 |
'<input type="text" name="' . esc_attr( $this->settings_section ) . '_qty" value="' . esc_attr( $this->get_post_revisions_to_keep( $post->ID ) ) . '" id="' . esc_attr( $this->settings_section ) . '_qty" size="2" />'
|
345 |
);
|
@@ -362,11 +362,11 @@ class WP_Revisions_Control {
|
|
362 |
|
363 |
// Check for necessary data and capabilities.
|
364 |
if ( ! $post_id ) {
|
365 |
-
$response['error'] = __( 'No post ID was provided. Please refresh the page and try again.', '
|
366 |
} elseif ( ! check_ajax_referer( $this->settings_section . '_purge', 'nonce', false ) ) {
|
367 |
-
$response['error'] = __( 'Invalid request. Please refresh the page and try again.', '
|
368 |
} elseif ( ! current_user_can( 'edit_post', $post_id ) ) {
|
369 |
-
$response['error'] = __( 'You are not allowed to edit this post.', '
|
370 |
}
|
371 |
|
372 |
// Request is valid if $response is still empty, as no errors arose above.
|
@@ -400,7 +400,7 @@ class WP_Revisions_Control {
|
|
400 |
/* translators: 1. Number of removed revisions, already formatted for locale. */
|
401 |
esc_html__(
|
402 |
'Removed %1$s revisions associated with this post.',
|
403 |
-
'
|
404 |
),
|
405 |
number_format_i18n( $count, 0 )
|
406 |
);
|
@@ -430,7 +430,7 @@ class WP_Revisions_Control {
|
|
430 |
if ( $to_keep < 0 ) {
|
431 |
$response['success'] = __(
|
432 |
'No revisions to remove.',
|
433 |
-
'
|
434 |
);
|
435 |
|
436 |
return $response;
|
@@ -442,7 +442,7 @@ class WP_Revisions_Control {
|
|
442 |
if ( $starting_count <= $to_keep ) {
|
443 |
$response['success'] = __(
|
444 |
'No revisions to remove.',
|
445 |
-
'
|
446 |
);
|
447 |
|
448 |
return $response;
|
84 |
*/
|
85 |
public function action_plugins_loaded() {
|
86 |
load_plugin_textdomain(
|
87 |
+
'wp-revisions-control',
|
88 |
false,
|
89 |
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
90 |
);
|
135 |
*/
|
136 |
public function settings_section_intro() {
|
137 |
?>
|
138 |
+
<p><?php esc_html_e( 'Set the number of revisions to save for each post type listed. To retain all revisions for a given post type, leave the field empty.', 'wp-revisions-control' ); ?></p>
|
139 |
+
<p><?php esc_html_e( 'If a post type isn\'t listed, revisions are not enabled for that post type.', 'wp-revisions-control' ); ?></p>
|
140 |
<?php
|
141 |
|
142 |
// Display a note if the plugin priority is other than the default.
|
149 |
/* translators: 1. Filter tag. */
|
150 |
esc_html__(
|
151 |
'A local change is causing this plugin\'s functionality to run at a priority other than the default. If you experience difficulties with the plugin, please unhook any functions from the %1$s filter.',
|
152 |
+
'wp-revisions-control'
|
153 |
),
|
154 |
'<code>wp_revisions_control_priority</code>'
|
155 |
);
|
277 |
'revisionsdiv-wp-rev-ctl',
|
278 |
__(
|
279 |
'Revisions',
|
280 |
+
'wp-revisions-control'
|
281 |
),
|
282 |
array(
|
283 |
$this,
|
307 |
array(
|
308 |
'namespace' => $this->settings_section,
|
309 |
'action_base' => $this->settings_section,
|
310 |
+
'processing_text' => __( 'Processing…', 'wp-revisions-control' ),
|
311 |
+
'ays' => __( 'Are you sure you want to remove revisions from this post?', 'wp-revisions-control' ),
|
312 |
+
'autosave' => __( 'Autosave', 'wp-revisions-control' ),
|
313 |
+
'nothing_text' => wpautop( __( 'There are no revisions to remove.', 'wp-revisions-control' ) ),
|
314 |
+
'error' => __( 'An error occurred. Please refresh the page and try again.', 'wp-revisions-control' ),
|
315 |
)
|
316 |
);
|
317 |
|
331 |
<div id="<?php echo esc_attr( $this->settings_section ); ?>">
|
332 |
<h4>WP Revisions Control</h4>
|
333 |
|
334 |
+
<p class="button purge" data-postid="<?php the_ID(); ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( $this->settings_section . '_purge' ) ); ?>"><?php _e( 'Purge these revisions', 'wp-revisions-control' ); ?></p>
|
335 |
|
336 |
<p>
|
337 |
<?php
|
339 |
/* translators: 1. Text input field. */
|
340 |
esc_html__(
|
341 |
'Limit this post to %1$s revisions. Leave this field blank for default behavior.',
|
342 |
+
'wp-revisions-control'
|
343 |
),
|
344 |
'<input type="text" name="' . esc_attr( $this->settings_section ) . '_qty" value="' . esc_attr( $this->get_post_revisions_to_keep( $post->ID ) ) . '" id="' . esc_attr( $this->settings_section ) . '_qty" size="2" />'
|
345 |
);
|
362 |
|
363 |
// Check for necessary data and capabilities.
|
364 |
if ( ! $post_id ) {
|
365 |
+
$response['error'] = __( 'No post ID was provided. Please refresh the page and try again.', 'wp-revisions-control' );
|
366 |
} elseif ( ! check_ajax_referer( $this->settings_section . '_purge', 'nonce', false ) ) {
|
367 |
+
$response['error'] = __( 'Invalid request. Please refresh the page and try again.', 'wp-revisions-control' );
|
368 |
} elseif ( ! current_user_can( 'edit_post', $post_id ) ) {
|
369 |
+
$response['error'] = __( 'You are not allowed to edit this post.', 'wp-revisions-control' );
|
370 |
}
|
371 |
|
372 |
// Request is valid if $response is still empty, as no errors arose above.
|
400 |
/* translators: 1. Number of removed revisions, already formatted for locale. */
|
401 |
esc_html__(
|
402 |
'Removed %1$s revisions associated with this post.',
|
403 |
+
'wp-revisions-control'
|
404 |
),
|
405 |
number_format_i18n( $count, 0 )
|
406 |
);
|
430 |
if ( $to_keep < 0 ) {
|
431 |
$response['success'] = __(
|
432 |
'No revisions to remove.',
|
433 |
+
'wp-revisions-control'
|
434 |
);
|
435 |
|
436 |
return $response;
|
442 |
if ( $starting_count <= $to_keep ) {
|
443 |
$response['success'] = __(
|
444 |
'No revisions to remove.',
|
445 |
+
'wp-revisions-control'
|
446 |
);
|
447 |
|
448 |
return $response;
|
languages/{wp_revisions_control-es_ES.mo → wp-revisions-control-es_ES.mo}
RENAMED
File without changes
|
languages/{wp_revisions_control-es_ES.pot → wp-revisions-control-es_ES.pot}
RENAMED
File without changes
|
languages/wp-revisions-control-pl_PL.mo
ADDED
Binary file
|
languages/wp-revisions-control-pl_PL.pot
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 WP Revisions Control
|
2 |
+
# This file is distributed under the same license as the WP Revisions Control package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: WP Revisions Control 1.2.1\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-revisions-control\n"
|
7 |
+
"POT-Creation-Date: 2015-07-30 19:57+0200\n"
|
8 |
+
"PO-Revision-Date: 2015-07-30 19:57+0200\n"
|
9 |
+
"Last-Translator: Maciej Gryniuk <maciejka45@gmail.com>\n"
|
10 |
+
"Language-Team: \n"
|
11 |
+
"Language: pl_PL\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.3\n"
|
16 |
+
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n"
|
17 |
+
"%100>=20) ? 1 : 2);\n"
|
18 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
+
|
20 |
+
#: wp-revisions-control.php:148
|
21 |
+
msgid ""
|
22 |
+
"Set the number of revisions to save for each post type listed. To retain all "
|
23 |
+
"revisions for a given post type, leave the field empty."
|
24 |
+
msgstr ""
|
25 |
+
"Ustal ilość przechowywanych rewizji dla każdego wyświetlonego rodzaju wpisów. Aby "
|
26 |
+
"zachować wszystkie rewizje dla danego rodzaju wpisów, pozostaw pole puste."
|
27 |
+
|
28 |
+
#: wp-revisions-control.php:149
|
29 |
+
msgid "If a post type isn't listed, revisions are not enabled for that post type."
|
30 |
+
msgstr ""
|
31 |
+
"Jeżeli rodzaj wpisów nie jest wyświeltony poniżej, nie posiada on włączonych "
|
32 |
+
"rewizji."
|
33 |
+
|
34 |
+
#: wp-revisions-control.php:155
|
35 |
+
msgid ""
|
36 |
+
"A local change is causing this plugin's functionality to run at a priority other "
|
37 |
+
"than the default. If you experience difficulties with the plugin, please unhook any "
|
38 |
+
"functions from the %s filter."
|
39 |
+
msgstr ""
|
40 |
+
"Lokalna zmiana wymusza uruchomienie funkcjonalności wtyczki na innym priorytecie "
|
41 |
+
"niż domyślny. Jeżeli doświadczasz trudności z wtyczką, proszę odczepić wszystkie "
|
42 |
+
"funkcje od filtra %s."
|
43 |
+
|
44 |
+
#: wp-revisions-control.php:274
|
45 |
+
msgid "Revisions"
|
46 |
+
msgstr "Rewizje"
|
47 |
+
|
48 |
+
#: wp-revisions-control.php:282
|
49 |
+
msgid "Processing…"
|
50 |
+
msgstr "Przetwarzanie…"
|
51 |
+
|
52 |
+
#: wp-revisions-control.php:283
|
53 |
+
msgid "Are you sure you want to remove revisions from this post?"
|
54 |
+
msgstr "Na pewno chcesz usunąć rewizje z tego wpisu?"
|
55 |
+
|
56 |
+
#: wp-revisions-control.php:284
|
57 |
+
msgid "Autosave"
|
58 |
+
msgstr "Automatyczny zapis"
|
59 |
+
|
60 |
+
#: wp-revisions-control.php:285
|
61 |
+
msgid "There are no revisions to remove."
|
62 |
+
msgstr "Brak rewizji do usunięcia."
|
63 |
+
|
64 |
+
#: wp-revisions-control.php:286
|
65 |
+
msgid "An error occurred. Please refresh the page and try again."
|
66 |
+
msgstr "Wystąpił błąd. Proszę odświeżyć stronę i spróbować ponownie."
|
67 |
+
|
68 |
+
#: wp-revisions-control.php:312
|
69 |
+
msgid "Purge these revisions"
|
70 |
+
msgstr "Usuń te rewizje"
|
71 |
+
|
72 |
+
#: wp-revisions-control.php:315
|
73 |
+
msgid "Limit this post to %s revisions. Leave this field blank for default behavior."
|
74 |
+
msgstr "Ogranicz ten wpis do %s rewizji. Pozostaw puste dla domyślnego ograniczenia."
|
75 |
+
|
76 |
+
#: wp-revisions-control.php:341
|
77 |
+
msgid "No post ID was provided. Please refresh the page and try again."
|
78 |
+
msgstr "Nie podano ID wpisu. Proszę odświeżyć stronę i spróbować ponownie."
|
79 |
+
|
80 |
+
#: wp-revisions-control.php:343
|
81 |
+
msgid "Invalid request. Please refresh the page and try again."
|
82 |
+
msgstr "Nieprawidłowe żądanie. Proszę odświeżyć stronę i spróbować ponownie."
|
83 |
+
|
84 |
+
#: wp-revisions-control.php:345
|
85 |
+
msgid "You are not allowed to edit this post."
|
86 |
+
msgstr "Nie możesz edytować wpisów."
|
87 |
+
|
88 |
+
#: wp-revisions-control.php:357
|
89 |
+
msgid "Removed %s revision associated with this post."
|
90 |
+
msgid_plural "Removed %s revisions associated with this post."
|
91 |
+
msgstr[0] "Usunięto %s rewizję tego wpisu."
|
92 |
+
msgstr[1] "Usunięto %s rewizje tego wpisu."
|
93 |
+
msgstr[2] "Usunięto %s rewizji tego wpisu."
|
94 |
+
|
95 |
+
#. Plugin Name of the plugin/theme
|
96 |
+
msgid "WP Revisions Control"
|
97 |
+
msgstr "WP Kontrola rewizji"
|
98 |
+
|
99 |
+
#. Plugin URI of the plugin/theme
|
100 |
+
msgid "http://www.ethitter.com/plugins/wp-revisions-control/"
|
101 |
+
msgstr "http://www.ethitter.com/plugins/wp-revisions-control/"
|
102 |
+
|
103 |
+
#. Description of the plugin/theme
|
104 |
+
msgid "Control how many revisions are stored for each post type"
|
105 |
+
msgstr "Kontroluj ilość przechowywanych rewizji dla każdego rodzaju wpisów"
|
106 |
+
|
107 |
+
#. Author of the plugin/theme
|
108 |
+
msgid "Erick Hitter"
|
109 |
+
msgstr "Erick Hitter"
|
110 |
+
|
111 |
+
#. Author URI of the plugin/theme
|
112 |
+
msgid "http://www.ethitter.com/"
|
113 |
+
msgstr "http://www.ethitter.com/"
|
languages/wp-revisions-control.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the WP Revisions Control package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP Revisions Control 1.4\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/wp-revisions-control\n"
|
8 |
-
"POT-Creation-Date: 2022-06-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the WP Revisions Control package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP Revisions Control 1.4.1\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/wp-revisions-control\n"
|
8 |
+
"POT-Creation-Date: 2022-06-06 04:01:11+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://ethitter.com/donate/
|
|
4 |
Tags: revision, revisions, admin
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 1.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -35,6 +35,10 @@ Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
|
|
38 |
= 1.4 =
|
39 |
* Introduce block-editor (Gutenberg) sidebar component for supported post types.
|
40 |
|
@@ -54,6 +58,9 @@ Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the
|
|
54 |
|
55 |
== Upgrade Notice ==
|
56 |
|
|
|
|
|
|
|
57 |
= 1.4 =
|
58 |
Introduces block-editor (Gutenberg) sidebar component for supported post types.
|
59 |
|
4 |
Tags: revision, revisions, admin
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 1.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 1.4.1 =
|
39 |
+
* Update translation text domain to `wp-revisions-control`, conforming to WordPress standards.
|
40 |
+
* Add Polish translation thanks to [Maciej Gryniuk](https://github.com/odie2).
|
41 |
+
|
42 |
= 1.4 =
|
43 |
* Introduce block-editor (Gutenberg) sidebar component for supported post types.
|
44 |
|
58 |
|
59 |
== Upgrade Notice ==
|
60 |
|
61 |
+
= 1.4.1 =
|
62 |
+
Updates translation text domain to `wp-revisions-control`, conforming to WordPress standards.
|
63 |
+
|
64 |
= 1.4 =
|
65 |
Introduces block-editor (Gutenberg) sidebar component for supported post types.
|
66 |
|
wp-revisions-control.php
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
* Plugin URI: https://ethitter.com/plugins/wp-revisions-control/
|
5 |
* Description: Control how many revisions are stored for each post type
|
6 |
* Author: Erick Hitter
|
7 |
-
* Version: 1.4
|
8 |
* Author URI: https://ethitter.com/
|
9 |
-
* Text Domain:
|
10 |
* Domain Path: /languages/
|
11 |
*
|
12 |
* @package WP_Revisions_Control
|
4 |
* Plugin URI: https://ethitter.com/plugins/wp-revisions-control/
|
5 |
* Description: Control how many revisions are stored for each post type
|
6 |
* Author: Erick Hitter
|
7 |
+
* Version: 1.4.1
|
8 |
* Author URI: https://ethitter.com/
|
9 |
+
* Text Domain: wp-revisions-control
|
10 |
* Domain Path: /languages/
|
11 |
*
|
12 |
* @package WP_Revisions_Control
|