diff --git a/admin/admin-init_rvy.php b/admin/admin-init_rvy.php index 4d25c44..fbaf586 100644 --- a/admin/admin-init_rvy.php +++ b/admin/admin-init_rvy.php @@ -142,7 +142,7 @@ function rvy_admin_init() { || (isset($_REQUEST['action']) && in_array($_REQUEST['action'], ['decline_revision'])) ) { $doaction = (!empty($_REQUEST['action']) && !is_numeric($_REQUEST['action'])) ? sanitize_key($_REQUEST['action']) : sanitize_key($_REQUEST['action2']); - + if (empty($_POST) && in_array($_REQUEST['action'], ['decline_revision'])) { check_admin_referer('decline-revision'); } else { diff --git a/admin/class-list-table_rvy.php b/admin/class-list-table_rvy.php index 84dc5d3..0f0fb37 100644 --- a/admin/class-list-table_rvy.php +++ b/admin/class-list-table_rvy.php @@ -60,7 +60,7 @@ public function __construct($args = []) { } } } - + foreach ($triggered_deletions as $revision_id => $post_id) { if ($revision_id) { wp_delete_post($revision_id, true); diff --git a/admin/history_rvy.php b/admin/history_rvy.php index a538d55..8d0d4dc 100644 --- a/admin/history_rvy.php +++ b/admin/history_rvy.php @@ -55,12 +55,12 @@ function actCompareRevisionsTweakUI() { || (rvy_get_option('revision_restore_require_cap') && !current_user_can('administrator') && !is_super_admin() && !current_user_can('restore_revisions')) ) : ?> - - + input.restore-revision {display:none !important;} + + createRevision($post_id, 'draft-revision', $args); + + $revision_status = (rvy_get_option('auto_submit_revisions') && current_user_can('edit_post', $main_post_id)) ? 'pending-revision' : 'draft-revision'; + $revision_id = $rvy_creation->createRevision($post_id, $revision_status, $args); } else { $revision_id = 0; } diff --git a/admin/rvy_post-classic-edit.dev.js b/admin/rvy_post-classic-edit.dev.js index 7a694e1..0bd2fdb 100644 --- a/admin/rvy_post-classic-edit.dev.js +++ b/admin/rvy_post-classic-edit.dev.js @@ -124,7 +124,7 @@ jQuery(document).ready( function($) { } function rvySchedulePost() { - var revisionaryScheduleDone = function () { + var revisionaryScheduleDone = function () { $('.revision-schedule').hide(); $('.revision-scheduled-wrapper').show(); @@ -138,15 +138,15 @@ jQuery(document).ready( function($) { $('div.rvy-creation-ui').html(rvyObjEdit.errorCaption); } - var data = {'rvy_ajax_field': 'create_scheduled_revision', 'rvy_ajax_value': rvyObjEdit.postID, 'rvy_date_selection': RvyTimeSelection, 'nc': RvyGetRandomInt(99999999)}; + var data = {'rvy_ajax_field': 'create_scheduled_revision', 'rvy_ajax_value': rvyObjEdit.postID, 'rvy_date_selection': RvyTimeSelection, 'nc': RvyGetRandomInt(99999999)}; - $.ajax({ - url: rvyObjEdit.ajaxurl, - data: data, - dataType: "html", - success: revisionaryScheduleDone, - error: revisionaryScheduleError - }); + $.ajax({ + url: rvyObjEdit.ajaxurl, + data: data, + dataType: "html", + success: revisionaryScheduleDone, + error: revisionaryScheduleError + }); } $(document).on('click', '#normal-sortables input, #normal-sortables select', function() { @@ -175,7 +175,7 @@ jQuery(document).ready( function($) { wp.autosave.server.triggerSave(); } else { rvySchedulePost(); - } + } }); $(document).on('click', '#post-body-content *, #content_ifr *, #wp-content-editor-container *, #tinymce *, #submitpost, span.revision-created', function() { diff --git a/admin/rvy_revision-classic-edit.dev.js b/admin/rvy_revision-classic-edit.dev.js index 4f70e0d..25b00d8 100644 --- a/admin/rvy_revision-classic-edit.dev.js +++ b/admin/rvy_revision-classic-edit.dev.js @@ -93,7 +93,8 @@ jQuery(document).ready( function($) { $(document).on('click', 'div.postbox-container', function() { $('a.revision-approve, a.rvy-direct-approve').attr('disabled', 'disabled'); }); - var rvyThumbnail = $('#set-post-thumbnail img').attr('src'); + + var rvyThumbnail = $('#set-post-thumbnail img').attr('src'); setInterval(function() { if ($('#set-post-thumbnail img').attr('src') != rvyThumbnail) { diff --git a/functions.php b/functions.php index 1382adb..7415b19 100644 --- a/functions.php +++ b/functions.php @@ -215,7 +215,7 @@ function rvy_revision_base_statuses($args = []) { $arr = array_map('sanitize_key', (array) apply_filters('rvy_revision_base_statuses', ['draft', 'pending', 'future'])); if ('object' == $output) { - $status_keys = array_value($arr); + $status_keys = array_values($arr); $arr = []; foreach($status_keys as $k) { @@ -236,7 +236,7 @@ function rvy_revision_statuses($args = []) { $arr = array_map('sanitize_key', (array) apply_filters('rvy_revision_statuses', ['draft-revision', 'pending-revision', 'future-revision'])); if ('object' == $output) { - $status_keys = array_value($arr); + $status_keys = array_values($arr); $arr = []; foreach($status_keys as $k) { diff --git a/languages/revisionary-es_ES.mo b/languages/revisionary-es_ES.mo index 8ace152..9e9657e 100644 Binary files a/languages/revisionary-es_ES.mo and b/languages/revisionary-es_ES.mo differ diff --git a/languages/revisionary-es_ES.po b/languages/revisionary-es_ES.po index c5c4612..19884cf 100644 --- a/languages/revisionary-es_ES.po +++ b/languages/revisionary-es_ES.po @@ -5,8 +5,8 @@ msgstr "" "Project-Id-Version: Plugins - PublishPress Revisions: Duplicate Posts, " "Submit, Approve and Schedule Content Changes - Stable (latest release)\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n" -"POT-Creation-Date: 2024-04-16T19:38:36+00:00\n" -"PO-Revision-Date: 2024-04-17 18:26+0200\n" +"POT-Creation-Date: 2024-05-07T18:20:20+00:00\n" +"PO-Revision-Date: 2024-07-02 00:13+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: es\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Poedit 3.4\n" +"X-Generator: Poedit 3.4.4\n" #. Plugin Name of the plugin msgid "PublishPress Revisions" @@ -40,19 +40,19 @@ msgstr "PublishPress" msgid "https://publishpress.com" msgstr "https://publishpress.com" -#: admin/admin-init_rvy.php:105 admin/admin-init_rvy.php:337 +#: admin/admin-init_rvy.php:105 admin/admin-init_rvy.php:339 msgid "Sorry, you are not allowed to delete this revision." msgstr "Lo sentimos, no estás autorizado a borrar esta revisión." -#: admin/admin-init_rvy.php:194 admin/admin-init_rvy.php:308 +#: admin/admin-init_rvy.php:196 admin/admin-init_rvy.php:310 msgid "Sorry, you are not allowed to approve this revision." msgstr "Lo siento, no tienes permisos para aprobar esta revisión." -#: admin/admin-init_rvy.php:235 +#: admin/admin-init_rvy.php:237 msgid "Sorry, you are not allowed to submit this revision." msgstr "Lo sentimos, no estás autorizado a enviar esta revisión." -#: admin/admin-init_rvy.php:273 +#: admin/admin-init_rvy.php:275 msgid "Sorry, you are not allowed to decline this revision." msgstr "Lo sentimos, no estás autorizado a rechazar esta revisión." @@ -180,8 +180,8 @@ msgstr "Autor de la entrada: %s" msgid "Search results for \"%s\"" msgstr "Resultados de la búsqueda de «%s»" -#: admin/class-list-table-archive.php:385 admin/class-list-table_rvy.php:1050 -#: admin/class-list-table_rvy.php:1317 admin/post-edit-block-ui_rvy.php:94 +#: admin/class-list-table-archive.php:385 admin/class-list-table_rvy.php:1058 +#: admin/class-list-table_rvy.php:1325 admin/post-edit-block-ui_rvy.php:94 #: admin/post-edit_rvy.php:52 admin/RevisionEditSubmitMetabox.php:62 msgid "Delete Revision" msgstr "Borrar revisión" @@ -190,7 +190,7 @@ msgstr "Borrar revisión" msgid "Count" msgstr "Recuento" -#: admin/class-list-table-archive.php:427 admin/class-list-table_rvy.php:548 +#: admin/class-list-table-archive.php:427 admin/class-list-table_rvy.php:556 msgid "Post Type" msgstr "Tipo de contenido" @@ -263,7 +263,7 @@ msgstr "Mis revisiones" msgid "Compare Changes in %s" msgstr "Comparar los cambios en %s" -#: admin/class-list-table-archive.php:756 admin/class-list-table_rvy.php:1358 +#: admin/class-list-table-archive.php:756 admin/class-list-table_rvy.php:1366 #: admin/edit-revision-classic-ui_rvy.php:92 admin/post-edit_rvy.php:178 #: admin/post-edit_rvy.php:192 msgctxt "revisions" @@ -271,7 +271,7 @@ msgid "Compare" msgstr "Comparar" #. translators: %s: post title -#: admin/class-list-table-archive.php:771 admin/class-list-table_rvy.php:1342 +#: admin/class-list-table-archive.php:771 admin/class-list-table_rvy.php:1350 #: admin/post-editor-workflow-ui_rvy.php:199 msgid "Preview Revision" msgstr "Previsualizar la revisión" @@ -292,74 +292,74 @@ msgstr "Borrar revisión anterior" msgid "No revisions found." msgstr "No se han encontrado revisiones." -#: admin/class-list-table_rvy.php:547 admin/post-editor-workflow-ui_rvy.php:31 +#: admin/class-list-table_rvy.php:555 admin/post-editor-workflow-ui_rvy.php:31 msgid "Status" msgstr "Estado" -#: admin/class-list-table_rvy.php:601 admin/class-list-table_rvy.php:1224 +#: admin/class-list-table_rvy.php:609 admin/class-list-table_rvy.php:1232 msgid "Y/m/d g:i:s a" msgstr "Y/m/d g:i:s a" -#: admin/class-list-table_rvy.php:611 admin/class-list-table_rvy.php:1232 +#: admin/class-list-table_rvy.php:619 admin/class-list-table_rvy.php:1240 msgid "Y/m/d g:i a" msgstr "Y/m/d g:i a" -#: admin/class-list-table_rvy.php:618 +#: admin/class-list-table_rvy.php:626 msgid "Scheduled publication: %s" msgstr "Publicación programada: %s" -#: admin/class-list-table_rvy.php:621 +#: admin/class-list-table_rvy.php:629 msgid "Requested publication: %s" msgstr "Publicación solicitada: %s" -#: admin/class-list-table_rvy.php:666 admin/history_rvy.php:786 +#: admin/class-list-table_rvy.php:674 admin/history_rvy.php:786 msgid "No author" msgstr "Sin autor" #. translators: %s: post title -#: admin/class-list-table_rvy.php:708 +#: admin/class-list-table_rvy.php:716 msgid "View only revisions of %s" msgstr "Ver solo las revisiones de %s" #. translators: %s: post title -#: admin/class-list-table_rvy.php:720 admin/class-list-table_rvy.php:728 +#: admin/class-list-table_rvy.php:728 admin/class-list-table_rvy.php:736 msgid "View published post" msgstr "Ver entrada publicada" #. translators: %s: post title -#: admin/class-list-table_rvy.php:752 +#: admin/class-list-table_rvy.php:760 msgid "Compare Past Revisions" msgstr "Comparar revisiones anteriores" -#: admin/class-list-table_rvy.php:753 +#: admin/class-list-table_rvy.php:761 msgid "History" msgstr "Historial" -#: admin/class-list-table_rvy.php:1006 +#: admin/class-list-table_rvy.php:1014 msgid "My Activity" msgstr "Mi actividad" -#: admin/class-list-table_rvy.php:1014 +#: admin/class-list-table_rvy.php:1022 msgid "All %s" msgstr "Todos %s" -#: admin/class-list-table_rvy.php:1046 +#: admin/class-list-table_rvy.php:1054 msgid "Unschedule" msgstr "Desprogramar" #. translators: %s: post title -#: admin/class-list-table_rvy.php:1050 admin/class-list-table_rvy.php:1313 +#: admin/class-list-table_rvy.php:1058 admin/class-list-table_rvy.php:1321 #: admin/post-edit-block-ui_rvy.php:94 admin/post-edit_rvy.php:52 #: admin/RevisionEditSubmitMetabox.php:62 msgid "Discard Revision" msgstr "Descartar la revisión" #. translators: %s: post title -#: admin/class-list-table_rvy.php:1357 +#: admin/class-list-table_rvy.php:1365 msgid "Compare Changes" msgstr "Comparar los cambios" -#: admin/class-list-table_rvy.php:1366 +#: admin/class-list-table_rvy.php:1374 msgctxt "revisions" msgid "Decline" msgstr "Rechazar" @@ -384,7 +384,7 @@ msgstr "Revisión actualizada." msgid "Compare %s of \"%s\"" msgstr "Compara %s de «%s»" -#: admin/history_rvy.php:535 admin/options.php:767 +#: admin/history_rvy.php:535 admin/options.php:769 msgid "Post Date" msgstr "Fecha de publicación" @@ -527,6 +527,10 @@ msgstr "" "Usar un etiquetado alternativo: «Copia de trabajo» > «Solicitud de cambio» > " "«Cambio programado»" +#: admin/options.php:118 +msgid "Additional role capability required to manage %s" +msgstr "Es necesaria una capacidad de perfil adicional para gestionar %s" + #: admin/options.php:119 msgid "Additional role capability required to create a Working Copy" msgstr "" @@ -536,6 +540,11 @@ msgstr "" msgid "Additional role capability required to create a new revision" msgstr "Capacidad de perfil adicional necesaria para crear una nueva revisión" +#: admin/options.php:120 +msgid "Posts / Pages list: Use \"Edit\" caption for %s link" +msgstr "" +"Lista de entradas / páginas: Usar la leyenda «Editar» para el enlace %s" + #: admin/options.php:121 admin/options.php:124 msgid "Enable %s" msgstr "Activar %s" @@ -643,6 +652,10 @@ msgstr "" msgid "Prevent Revisors from editing other user's drafts" msgstr "Evitar que los revisores editen los borradores de otros usuarios" +#: admin/options.php:147 +msgid "Display Hints" +msgstr "Mostrar sugerencias" + #: admin/options.php:148 msgid "Show Preview Links" msgstr "Mostrar enlaces de vista previa" @@ -676,6 +689,10 @@ msgstr "Botón de aprobación en la pantalla de comparación de revisiones" msgid "Copy revision comments to published post" msgstr "Copiar los comentarios de la revisión en la entrada publicada" +#: admin/options.php:155 +msgid "Compare Past Revisions ordering:" +msgstr "Ordenar comparaciones de revisiones anteriores:" + #: admin/options.php:156 msgid "Include %s in My Activity, Revisions to My Posts views" msgstr "" @@ -964,13 +981,13 @@ msgstr "" "o «ID de revisión» para la correcta carga de la plantilla y la visualización " "de los campos." -#: admin/options.php:688 +#: admin/options.php:690 msgid "The revision preview argument is configured by constant definition: %s" msgstr "" "El argumento de vista previa de revisión está configurado por definición de " "la constante: %s" -#: admin/options.php:695 +#: admin/options.php:697 msgid "" "Adjust preview links to use \"rv_preview\" argument instead of \"preview\". " "Experiment to see which works best with your theme." @@ -979,20 +996,20 @@ msgstr "" "\"rv_preview\" en lugar de \"preview\". Experimenta para ver cuál funciona " "mejor con tu tema." -#: admin/options.php:704 +#: admin/options.php:706 msgid "" "Some themes may require this setting for correct revision preview display." msgstr "" "Para algunos temas puede ser obligatorio realizar este ajuste para que se " "muestre correctamente la vista previa de la revisión." -#: admin/options.php:710 +#: admin/options.php:712 msgid "If disabled, Compare screen links to Revision Preview for approval." msgstr "" "Si se desactiva, la pantalla de comparación enlaza con la vista previa de la " "revisión para su aprobación." -#: admin/options.php:738 +#: admin/options.php:740 msgid "" "For compatibility with Advanced Custom Fields, Beaver Builder and WPML, " "upgrade to %sPublishPress Revisions Pro%s." @@ -1000,20 +1017,20 @@ msgstr "" "Para la compatibilidad con Advanced Custom Fields, Beaver Builder y WPML, " "actualiza a %sPublishPress Revisions Pro%s." -#: admin/options.php:748 +#: admin/options.php:750 msgid "This may improve compatibility with some plugins." msgstr "Esto puede mejorar la compatibilidad con algunos plugins." -#: admin/options.php:767 +#: admin/options.php:769 msgid "Modification Date" msgstr "Fecha de modificación" -#: admin/options.php:777 +#: admin/options.php:779 msgid "Show descriptive captions for PublishPress Revisions settings" msgstr "" "Mostrar las leyendas descriptivas para los ajustes de PublishPress Revisions" -#: admin/options.php:791 +#: admin/options.php:793 msgid "" "Non-Administrators cannot restore a revision without the restore_revisions " "capability" @@ -1021,23 +1038,23 @@ msgstr "" "Los no administradores no pueden restaurar una revisión sin la capacidad " "«restore_revisions»" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "Never" msgstr "Nunca" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "By default" msgstr "Por defecto" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "Always" msgstr "Siempre" -#: admin/options.php:823 admin/options.php:869 +#: admin/options.php:825 admin/options.php:871 msgid "select recipients" msgstr "seleccionar destinatarios" -#: admin/options.php:883 +#: admin/options.php:885 msgid "" "To avoid notification failures, buffer emails for delayed sending once " "minute, hour or day limits are exceeded" @@ -1046,55 +1063,55 @@ msgstr "" "electrónicos para su envío diferido una vez superados los límites de " "minutos, horas o días" -#: admin/options.php:904 +#: admin/options.php:906 msgid "Notification Buffer" msgstr "Búfer de avisos" -#: admin/options.php:932 +#: admin/options.php:934 msgid "Notification Log" msgstr "Registro de avisos" -#: admin/options.php:961 +#: admin/options.php:963 msgid "Purge Notification Buffer" msgstr "Vaciar el búfer de avisos" -#: admin/options.php:967 +#: admin/options.php:969 msgid "Truncate Notification Log" msgstr "Truncar el registro de avisos" -#: admin/options.php:973 +#: admin/options.php:975 msgid "Sent in last minute: %d / %d" msgstr "Enviado en el último minuto: %d / %d" -#: admin/options.php:974 +#: admin/options.php:976 msgid "Sent in last hour: %d / %d" msgstr "Enviado en la última hora: %d / %d" -#: admin/options.php:975 +#: admin/options.php:977 msgid "Sent in last day: %d / %d" msgstr "Enviado en el último día: %d / %d" -#: admin/options.php:982 +#: admin/options.php:984 msgid "Seconds until next buffer processing time: %d" msgstr "Segundos hasta la siguiente vez de procesamiento del búfer: %d" -#: admin/options.php:992 +#: admin/options.php:994 msgid "Show Notification Log / Buffer" msgstr "Mostrar el aviso de registro / búfer" -#: admin/options.php:994 +#: admin/options.php:996 msgid "Show with message content" msgstr "Mostrar con el contenido del mensaje" -#: admin/options.php:1005 includes/CoreAdmin.php:88 +#: admin/options.php:1007 includes/CoreAdmin.php:88 msgid "WPML Translation Management" msgstr "Gestión de las traducciones de WPML" -#: admin/options.php:1012 +#: admin/options.php:1014 msgid "Sync \"Needs Update\" flags" msgstr "Sincronización de los marcadores «Necesita actualización»" -#: admin/options.php:1016 +#: admin/options.php:1018 msgid "" "Set \"Needs Update\" for any post with translations which was updated " "(possibly by revision approval) more recently than its translations." @@ -1103,7 +1120,7 @@ msgstr "" "que haya sido actualizada (posiblemente por aprobación de revisión) más " "recientemente que sus traducciones." -#: admin/options.php:1054 +#: admin/options.php:1056 msgid "" "Specify which PublishPress Revisions Settings to control network-wide. " "Unselected settings are controlled separately on each site." @@ -1111,16 +1128,24 @@ msgstr "" "Especifica los ajustes de PublishPress Revisions para controlar toda la red. " "Los ajustes no seleccionados se controlan por separado en cada sitio." -#: admin/options.php:1064 +#: admin/options.php:1066 msgctxt "opentag option_tabname closetag (explanatory note)" msgid "%1$s%2$s%3$s (%4$s)" msgstr "%1$s%2$s%3$s (%4$s)" -#: admin/options.php:1100 +#: admin/options.php:1102 msgid "network-wide control of \"%s\"" msgstr "control en toda la red de «%s\"" +#: admin/options.php:1129 +msgid "Save Changes" +msgstr "Guardar cambios" + #: admin/options.php:1130 +msgid "Revert to Defaults" +msgstr "Restaurar valores por defecto" + +#: admin/options.php:1132 msgid "" "All settings in this form (including those on unselected tabs) will be reset " "to DEFAULTS. Are you sure?" @@ -1225,52 +1250,52 @@ msgstr "Ver la revisión en progreso" msgid "View / moderate saved revision" msgstr "Ver / moderar la revisión guardada" -#: admin/revision-action_rvy.php:421 admin/revision-action_rvy.php:507 +#: admin/revision-action_rvy.php:422 admin/revision-action_rvy.php:508 msgid "[%s] Revision Approval Notice" msgstr "[%s] Aviso de aprobación de revisión" -#: admin/revision-action_rvy.php:422 +#: admin/revision-action_rvy.php:423 msgid "A revision to the %1$s \"%2$s\" has been approved." msgstr "Una revisión para la %1$s «%2$s» ha sido aprobada." -#: admin/revision-action_rvy.php:426 +#: admin/revision-action_rvy.php:427 msgid "The submitter was %1$s." msgstr "El remitente fue %1$s." -#: admin/revision-action_rvy.php:430 admin/revision-action_rvy.php:512 +#: admin/revision-action_rvy.php:431 admin/revision-action_rvy.php:513 msgid "It will be published on %s" msgstr "Se publicará el %s" -#: admin/revision-action_rvy.php:434 admin/revision-action_rvy.php:516 +#: admin/revision-action_rvy.php:435 admin/revision-action_rvy.php:517 msgid "Preview it here: " msgstr "Una vista previa aquí: " -#: admin/revision-action_rvy.php:437 admin/revision-action_rvy.php:519 +#: admin/revision-action_rvy.php:438 admin/revision-action_rvy.php:520 msgid "Editor: " msgstr "Editor: " -#: admin/revision-action_rvy.php:439 admin/revision-action_rvy.php:521 -#: admin/revision-action_rvy.php:1352 admin/revision-action_rvy.php:1377 -#: admin/revision-action_rvy.php:1439 +#: admin/revision-action_rvy.php:440 admin/revision-action_rvy.php:522 +#: admin/revision-action_rvy.php:1353 admin/revision-action_rvy.php:1378 +#: admin/revision-action_rvy.php:1440 msgid "View it online: " msgstr "Ver en línea: " -#: admin/revision-action_rvy.php:508 +#: admin/revision-action_rvy.php:509 msgid "The revision you submitted for the %1$s \"%2$s\" has been approved." msgstr "La revisión que has enviado para la %1$s «%2$s» ha sido aprobada." -#: admin/revision-action_rvy.php:1348 admin/revision-action_rvy.php:1370 +#: admin/revision-action_rvy.php:1349 admin/revision-action_rvy.php:1371 msgid "[%s] %s Publication Notice" msgstr "[%s] %s aviso de publicación" -#: admin/revision-action_rvy.php:1349 +#: admin/revision-action_rvy.php:1350 msgid "" "The scheduled revision you submitted for the %1$s \"%2$s\" has been " "published." msgstr "" "La revisión programada que has enviado para la %1$s «%2$s» ha sido publicada." -#: admin/revision-action_rvy.php:1371 +#: admin/revision-action_rvy.php:1372 msgid "A scheduled revision to your %1$s \"%2$s\" has been published." msgstr "Se ha publicado una revisión programada de tu %1$s «%2$s." @@ -1278,6 +1303,10 @@ msgstr "Se ha publicado una revisión programada de tu %1$s «%2$s." msgid "Revision for:" msgstr "Revisión por:" +#: admin/revision-archive_rvy.php:89 +msgid "Search Revisions" +msgstr "Buscar revisiones" + #: admin/revision-queue_rvy.php:9 msgid "You are not allowed to manage revisions." msgstr "No estás autorizado a gestionar las revisiones." @@ -1488,6 +1517,14 @@ msgstr "Restaurar" msgid "This is a Past Revision (from %s). %s %s" msgstr "Esta es una revisión anterior (de %s). %s %s" +#: includes/CoreAdmin.php:13 +msgid "" +"You're using PublishPress Revisions Free. The Pro version has more features " +"and support. %sUpgrade to Pro%s" +msgstr "" +"Estás usando PublishPress Permissions Free. La versión Pro tiene más " +"características y soporte. %sMejorar a Pro%s" + #: includes/CoreAdmin.php:73 msgid "Upgrade to PublishPress Revisions Pro" msgstr "Actualiza a PublishPress Revisions Pro" @@ -1860,7 +1897,7 @@ msgctxt "User role" msgid "Revisor" msgstr "Revisor" -#: rvy_init-functions.php:1153 +#: rvy_init-functions.php:1154 msgid "Revision Workflow" msgstr "Flujo de trabajo de revisión" @@ -1935,21 +1972,6 @@ msgstr "Flujo de trabajo de revisión" #~ msgid "%s%s ago" #~ msgstr "%s%s atrás" -#, php-format -#~ msgid "Additional role capability required to manage %s" -#~ msgstr "Es necesaria una capacidad de perfil adicional para gestionar %s" - -#, php-format -#~ msgid "Posts / Pages list: Use \"Edit\" caption for %s link" -#~ msgstr "" -#~ "Lista de entradas / páginas: Usar la leyenda «Editar» para el enlace %s" - -#~ msgid "Display Hints" -#~ msgstr "Mostrar sugerencias" - -#~ msgid "Compare Past Revisions ordering:" -#~ msgstr "Ordenar comparaciones de revisiones anteriores:" - #, php-format #~ msgid "%s capabilities" #~ msgstr "Capacidades de %s" diff --git a/languages/revisionary-fr_FR.mo b/languages/revisionary-fr_FR.mo index 4e3556d..bbd44df 100644 Binary files a/languages/revisionary-fr_FR.mo and b/languages/revisionary-fr_FR.mo differ diff --git a/languages/revisionary-fr_FR.po b/languages/revisionary-fr_FR.po index 36e09b3..a05841f 100644 --- a/languages/revisionary-fr_FR.po +++ b/languages/revisionary-fr_FR.po @@ -5,8 +5,8 @@ msgstr "" "Project-Id-Version: Plugins - PublishPress Revisions: Duplicate Posts, " "Submit, Approve and Schedule Content Changes - Stable (latest release)\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n" -"POT-Creation-Date: 2024-04-16T19:38:36+00:00\n" -"PO-Revision-Date: 2024-04-17 18:28+0200\n" +"POT-Creation-Date: 2024-05-07T18:20:20+00:00\n" +"PO-Revision-Date: 2024-07-02 00:14+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Poedit 3.4\n" +"X-Generator: Poedit 3.4.4\n" #. Plugin Name of the plugin msgid "PublishPress Revisions" @@ -41,19 +41,19 @@ msgstr "PublishPress" msgid "https://publishpress.com" msgstr "https://publishpress.com" -#: admin/admin-init_rvy.php:105 admin/admin-init_rvy.php:337 +#: admin/admin-init_rvy.php:105 admin/admin-init_rvy.php:339 msgid "Sorry, you are not allowed to delete this revision." msgstr "Désolé, vous n’avez pas l’autorisation de supprimer cette révision." -#: admin/admin-init_rvy.php:194 admin/admin-init_rvy.php:308 +#: admin/admin-init_rvy.php:196 admin/admin-init_rvy.php:310 msgid "Sorry, you are not allowed to approve this revision." msgstr "Désolé, vous n’avez pas l’autorisation d’approuver cette révision." -#: admin/admin-init_rvy.php:235 +#: admin/admin-init_rvy.php:237 msgid "Sorry, you are not allowed to submit this revision." msgstr "Désolé, vous n’êtes pas autorisé à envoyer cette révision." -#: admin/admin-init_rvy.php:273 +#: admin/admin-init_rvy.php:275 msgid "Sorry, you are not allowed to decline this revision." msgstr "Désolé, vous n’avez pas l’autorisation de refuser cette révision." @@ -180,8 +180,8 @@ msgstr "Auteur/autrice de la publication : %s" msgid "Search results for \"%s\"" msgstr "Résultats de recherche pour « %s »" -#: admin/class-list-table-archive.php:385 admin/class-list-table_rvy.php:1050 -#: admin/class-list-table_rvy.php:1317 admin/post-edit-block-ui_rvy.php:94 +#: admin/class-list-table-archive.php:385 admin/class-list-table_rvy.php:1058 +#: admin/class-list-table_rvy.php:1325 admin/post-edit-block-ui_rvy.php:94 #: admin/post-edit_rvy.php:52 admin/RevisionEditSubmitMetabox.php:62 msgid "Delete Revision" msgstr "Supprimer la révision" @@ -190,7 +190,7 @@ msgstr "Supprimer la révision" msgid "Count" msgstr "Nombre" -#: admin/class-list-table-archive.php:427 admin/class-list-table_rvy.php:548 +#: admin/class-list-table-archive.php:427 admin/class-list-table_rvy.php:556 msgid "Post Type" msgstr "Type de publication" @@ -263,7 +263,7 @@ msgstr "Mes révisions" msgid "Compare Changes in %s" msgstr "Comparer les modifications en %s" -#: admin/class-list-table-archive.php:756 admin/class-list-table_rvy.php:1358 +#: admin/class-list-table-archive.php:756 admin/class-list-table_rvy.php:1366 #: admin/edit-revision-classic-ui_rvy.php:92 admin/post-edit_rvy.php:178 #: admin/post-edit_rvy.php:192 msgctxt "revisions" @@ -271,7 +271,7 @@ msgid "Compare" msgstr "Comparer" #. translators: %s: post title -#: admin/class-list-table-archive.php:771 admin/class-list-table_rvy.php:1342 +#: admin/class-list-table-archive.php:771 admin/class-list-table_rvy.php:1350 #: admin/post-editor-workflow-ui_rvy.php:199 msgid "Preview Revision" msgstr "Prévisualisation de la révision" @@ -292,74 +292,74 @@ msgstr "Supprimer la révision précédente" msgid "No revisions found." msgstr "Aucune révisions trouvée" -#: admin/class-list-table_rvy.php:547 admin/post-editor-workflow-ui_rvy.php:31 +#: admin/class-list-table_rvy.php:555 admin/post-editor-workflow-ui_rvy.php:31 msgid "Status" msgstr "État" -#: admin/class-list-table_rvy.php:601 admin/class-list-table_rvy.php:1224 +#: admin/class-list-table_rvy.php:609 admin/class-list-table_rvy.php:1232 msgid "Y/m/d g:i:s a" msgstr "Y/m/d g:i:s a" -#: admin/class-list-table_rvy.php:611 admin/class-list-table_rvy.php:1232 +#: admin/class-list-table_rvy.php:619 admin/class-list-table_rvy.php:1240 msgid "Y/m/d g:i a" msgstr "Y/m/d g:i a" -#: admin/class-list-table_rvy.php:618 +#: admin/class-list-table_rvy.php:626 msgid "Scheduled publication: %s" msgstr "Publication planifiée : %s" -#: admin/class-list-table_rvy.php:621 +#: admin/class-list-table_rvy.php:629 msgid "Requested publication: %s" msgstr "Publication demandée : %s" -#: admin/class-list-table_rvy.php:666 admin/history_rvy.php:786 +#: admin/class-list-table_rvy.php:674 admin/history_rvy.php:786 msgid "No author" msgstr "Aucun(e) auteur ou autrice" #. translators: %s: post title -#: admin/class-list-table_rvy.php:708 +#: admin/class-list-table_rvy.php:716 msgid "View only revisions of %s" msgstr "Afficher uniquement les révisions de %s" #. translators: %s: post title -#: admin/class-list-table_rvy.php:720 admin/class-list-table_rvy.php:728 +#: admin/class-list-table_rvy.php:728 admin/class-list-table_rvy.php:736 msgid "View published post" msgstr "Voir la publication publiée" #. translators: %s: post title -#: admin/class-list-table_rvy.php:752 +#: admin/class-list-table_rvy.php:760 msgid "Compare Past Revisions" msgstr "Comparer les révisions précédentes" -#: admin/class-list-table_rvy.php:753 +#: admin/class-list-table_rvy.php:761 msgid "History" msgstr "Historique" -#: admin/class-list-table_rvy.php:1006 +#: admin/class-list-table_rvy.php:1014 msgid "My Activity" msgstr "Mon activité" -#: admin/class-list-table_rvy.php:1014 +#: admin/class-list-table_rvy.php:1022 msgid "All %s" msgstr "Tous %s" -#: admin/class-list-table_rvy.php:1046 +#: admin/class-list-table_rvy.php:1054 msgid "Unschedule" msgstr "Déplanifier" #. translators: %s: post title -#: admin/class-list-table_rvy.php:1050 admin/class-list-table_rvy.php:1313 +#: admin/class-list-table_rvy.php:1058 admin/class-list-table_rvy.php:1321 #: admin/post-edit-block-ui_rvy.php:94 admin/post-edit_rvy.php:52 #: admin/RevisionEditSubmitMetabox.php:62 msgid "Discard Revision" msgstr "Rejeter la révision" #. translators: %s: post title -#: admin/class-list-table_rvy.php:1357 +#: admin/class-list-table_rvy.php:1365 msgid "Compare Changes" msgstr "Comparer les modifications" -#: admin/class-list-table_rvy.php:1366 +#: admin/class-list-table_rvy.php:1374 msgctxt "revisions" msgid "Decline" msgstr "Refuser" @@ -384,7 +384,7 @@ msgstr "Révision mise à jour." msgid "Compare %s of \"%s\"" msgstr "Comparez %s de « %s »" -#: admin/history_rvy.php:535 admin/options.php:767 +#: admin/history_rvy.php:535 admin/options.php:769 msgid "Post Date" msgstr "Date de la publication" @@ -527,6 +527,10 @@ msgstr "" "Utilisez des libellés alternatifs : « Copie de travail » > « Demande de " "modification » > « Modification planifiée »." +#: admin/options.php:118 +msgid "Additional role capability required to manage %s" +msgstr "Des permissions supplémentaires sont nécessaires pour gérer %s" + #: admin/options.php:119 msgid "Additional role capability required to create a Working Copy" msgstr "" @@ -537,6 +541,12 @@ msgid "Additional role capability required to create a new revision" msgstr "" "Une permission supplémentaire est nécessaire pour créer une nouvelle révision" +#: admin/options.php:120 +msgid "Posts / Pages list: Use \"Edit\" caption for %s link" +msgstr "" +"Liste des publications/pages : Utilisez la légende « Modifier » pour le lien " +"%s" + #: admin/options.php:121 admin/options.php:124 msgid "Enable %s" msgstr "Activer %s" @@ -657,6 +667,10 @@ msgstr "" "Empêcher les relecteurs et les relectrices de modifier les brouillons " "d’autres utilisateurs et utilisatrices" +#: admin/options.php:147 +msgid "Display Hints" +msgstr "Afficher les conseils" + #: admin/options.php:148 msgid "Show Preview Links" msgstr "Afficher les liens d’aperçu" @@ -691,6 +705,10 @@ msgstr "Bouton « Approuver » sur l’écran « Comparer les révisions »" msgid "Copy revision comments to published post" msgstr "Copier les commentaires de révision dans la publication" +#: admin/options.php:155 +msgid "Compare Past Revisions ordering:" +msgstr "Trier la comparaison des révisions précédentes :" + #: admin/options.php:156 msgid "Include %s in My Activity, Revisions to My Posts views" msgstr "" @@ -986,13 +1004,13 @@ msgstr "" "révision » ou « ID de révision » pour un chargement correct du modèle et " "l’affichage du champ." -#: admin/options.php:688 +#: admin/options.php:690 msgid "The revision preview argument is configured by constant definition: %s" msgstr "" "L’argument de prévisualisation de la révision est configuré par la " "définition de la constante : %s" -#: admin/options.php:695 +#: admin/options.php:697 msgid "" "Adjust preview links to use \"rv_preview\" argument instead of \"preview\". " "Experiment to see which works best with your theme." @@ -1001,20 +1019,20 @@ msgstr "" "« rv_preview » au lieu de « preview ». Expérimentez pour voir ce qui " "fonctionne le mieux avec votre thème." -#: admin/options.php:704 +#: admin/options.php:706 msgid "" "Some themes may require this setting for correct revision preview display." msgstr "" "Pour certains thèmes, ce réglage peut être obligatoire pour que l’aperçu de " "la révision s’affiche correctement." -#: admin/options.php:710 +#: admin/options.php:712 msgid "If disabled, Compare screen links to Revision Preview for approval." msgstr "" "S’il est désactivé, l’écran de comparaison renvoie à la prévisualisation des " "révisions pour approbation." -#: admin/options.php:738 +#: admin/options.php:740 msgid "" "For compatibility with Advanced Custom Fields, Beaver Builder and WPML, " "upgrade to %sPublishPress Revisions Pro%s." @@ -1022,20 +1040,20 @@ msgstr "" "Pour la compatibilité avec Advanced Custom Fields, Beaver Builder and WPML, " "effectuez une mise à niveau vers %sPublishPress Revisions Pro%s." -#: admin/options.php:748 +#: admin/options.php:750 msgid "This may improve compatibility with some plugins." msgstr "Cela peut améliorer la compatibilité avec certaines extensions." -#: admin/options.php:767 +#: admin/options.php:769 msgid "Modification Date" msgstr "Date de modification" -#: admin/options.php:777 +#: admin/options.php:779 msgid "Show descriptive captions for PublishPress Revisions settings" msgstr "" "Affiche les légendes descriptives sur les réglages de publishPress Revisions" -#: admin/options.php:791 +#: admin/options.php:793 msgid "" "Non-Administrators cannot restore a revision without the restore_revisions " "capability" @@ -1043,23 +1061,23 @@ msgstr "" "Les non-administrateurs/non-administratrices ne peuvent pas restaurer une " "révision sans la permission « restore_revisions »." -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "Never" msgstr "Jamais" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "By default" msgstr "Par défaut" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "Always" msgstr "Toujours" -#: admin/options.php:823 admin/options.php:869 +#: admin/options.php:825 admin/options.php:871 msgid "select recipients" msgstr "sélectionner les destinataires" -#: admin/options.php:883 +#: admin/options.php:885 msgid "" "To avoid notification failures, buffer emails for delayed sending once " "minute, hour or day limits are exceeded" @@ -1068,56 +1086,56 @@ msgstr "" "tampon pour un envoi différé lorsque les limites de minutes, d’heures ou de " "jours sont dépassées." -#: admin/options.php:904 +#: admin/options.php:906 msgid "Notification Buffer" msgstr "Tampon de notification" -#: admin/options.php:932 +#: admin/options.php:934 msgid "Notification Log" msgstr "Journal de notification" -#: admin/options.php:961 +#: admin/options.php:963 msgid "Purge Notification Buffer" msgstr "Tampon de notification de purge" -#: admin/options.php:967 +#: admin/options.php:969 msgid "Truncate Notification Log" msgstr "Journal des notifications tronquées" -#: admin/options.php:973 +#: admin/options.php:975 msgid "Sent in last minute: %d / %d" msgstr "Envoyée à la dernière minute : %d/%d" -#: admin/options.php:974 +#: admin/options.php:976 msgid "Sent in last hour: %d / %d" msgstr "Envoyé dans la dernière heure: %d/%d" -#: admin/options.php:975 +#: admin/options.php:977 msgid "Sent in last day: %d / %d" msgstr "Envoyé le dernier jour: %d/%d" -#: admin/options.php:982 +#: admin/options.php:984 msgid "Seconds until next buffer processing time: %d" msgstr "" "Secondes jusqu’au temps de traitement de la mémoire tampon suivante : %d" -#: admin/options.php:992 +#: admin/options.php:994 msgid "Show Notification Log / Buffer" msgstr "Afficher le journal des notifications/tampon" -#: admin/options.php:994 +#: admin/options.php:996 msgid "Show with message content" msgstr "Afficher avec le contenu du message" -#: admin/options.php:1005 includes/CoreAdmin.php:88 +#: admin/options.php:1007 includes/CoreAdmin.php:88 msgid "WPML Translation Management" msgstr "Gestion des traductions WPML" -#: admin/options.php:1012 +#: admin/options.php:1014 msgid "Sync \"Needs Update\" flags" msgstr "Synchroniser les drapeaux « Nécessite une mise à jour »" -#: admin/options.php:1016 +#: admin/options.php:1018 msgid "" "Set \"Needs Update\" for any post with translations which was updated " "(possibly by revision approval) more recently than its translations." @@ -1126,7 +1144,7 @@ msgstr "" "traductions qui a été mise à jour (éventuellement par approbation de la " "révision) plus récemment que ses traductions." -#: admin/options.php:1054 +#: admin/options.php:1056 msgid "" "Specify which PublishPress Revisions Settings to control network-wide. " "Unselected settings are controlled separately on each site." @@ -1135,16 +1153,24 @@ msgstr "" "du réseau. Les réglages non sélectionnés sont contrôlés séparément sur " "chaque site." -#: admin/options.php:1064 +#: admin/options.php:1066 msgctxt "opentag option_tabname closetag (explanatory note)" msgid "%1$s%2$s%3$s (%4$s)" msgstr "%1$s%2$s%3$s (%4$s)" -#: admin/options.php:1100 +#: admin/options.php:1102 msgid "network-wide control of \"%s\"" msgstr "contrôle à l’échelle du réseau des « %s »" +#: admin/options.php:1129 +msgid "Save Changes" +msgstr "Enregistrer le modifications" + #: admin/options.php:1130 +msgid "Revert to Defaults" +msgstr "Revenir à la valeur par défaut" + +#: admin/options.php:1132 msgid "" "All settings in this form (including those on unselected tabs) will be reset " "to DEFAULTS. Are you sure?" @@ -1250,51 +1276,51 @@ msgstr "Voir la révision en cours" msgid "View / moderate saved revision" msgstr "Voir/modérer la révision enregistrée" -#: admin/revision-action_rvy.php:421 admin/revision-action_rvy.php:507 +#: admin/revision-action_rvy.php:422 admin/revision-action_rvy.php:508 msgid "[%s] Revision Approval Notice" msgstr "[%s] Notification d’approbation de révision" -#: admin/revision-action_rvy.php:422 +#: admin/revision-action_rvy.php:423 msgid "A revision to the %1$s \"%2$s\" has been approved." msgstr "Une révision de la %1$s « %2$s » a été approuvée." -#: admin/revision-action_rvy.php:426 +#: admin/revision-action_rvy.php:427 msgid "The submitter was %1$s." msgstr "Le demandeur était %1$s." -#: admin/revision-action_rvy.php:430 admin/revision-action_rvy.php:512 +#: admin/revision-action_rvy.php:431 admin/revision-action_rvy.php:513 msgid "It will be published on %s" msgstr "Elle sera publiée le %s" -#: admin/revision-action_rvy.php:434 admin/revision-action_rvy.php:516 +#: admin/revision-action_rvy.php:435 admin/revision-action_rvy.php:517 msgid "Preview it here: " msgstr "Prévisualisez-le ici : " -#: admin/revision-action_rvy.php:437 admin/revision-action_rvy.php:519 +#: admin/revision-action_rvy.php:438 admin/revision-action_rvy.php:520 msgid "Editor: " msgstr "Éditeur/éditrice : " -#: admin/revision-action_rvy.php:439 admin/revision-action_rvy.php:521 -#: admin/revision-action_rvy.php:1352 admin/revision-action_rvy.php:1377 -#: admin/revision-action_rvy.php:1439 +#: admin/revision-action_rvy.php:440 admin/revision-action_rvy.php:522 +#: admin/revision-action_rvy.php:1353 admin/revision-action_rvy.php:1378 +#: admin/revision-action_rvy.php:1440 msgid "View it online: " msgstr "Voir en ligne : " -#: admin/revision-action_rvy.php:508 +#: admin/revision-action_rvy.php:509 msgid "The revision you submitted for the %1$s \"%2$s\" has been approved." msgstr "La demande de révision pour %1$s « %2$s » a été traitée." -#: admin/revision-action_rvy.php:1348 admin/revision-action_rvy.php:1370 +#: admin/revision-action_rvy.php:1349 admin/revision-action_rvy.php:1371 msgid "[%s] %s Publication Notice" msgstr "[%s] %s Notification de publication" -#: admin/revision-action_rvy.php:1349 +#: admin/revision-action_rvy.php:1350 msgid "" "The scheduled revision you submitted for the %1$s \"%2$s\" has been " "published." msgstr "Votre demande de révision planifiée pour %1$s « %2$s » a été publiée." -#: admin/revision-action_rvy.php:1371 +#: admin/revision-action_rvy.php:1372 msgid "A scheduled revision to your %1$s \"%2$s\" has been published." msgstr "" "Une demande de révision planifiée pour votre %1$s « %2$s » a été publiée." @@ -1303,6 +1329,10 @@ msgstr "" msgid "Revision for:" msgstr "Révision de:" +#: admin/revision-archive_rvy.php:89 +msgid "Search Revisions" +msgstr "Rechercher les révisions" + #: admin/revision-queue_rvy.php:9 msgid "You are not allowed to manage revisions." msgstr "Vous n’avez pas l’autorisation de gérer les révisions." @@ -1515,6 +1545,14 @@ msgstr "Restaurer" msgid "This is a Past Revision (from %s). %s %s" msgstr "Il s’agit d’une révision passée (à partir de %s). %s %s" +#: includes/CoreAdmin.php:13 +msgid "" +"You're using PublishPress Revisions Free. The Pro version has more features " +"and support. %sUpgrade to Pro%s" +msgstr "" +"Vous utilisez PublishPress Permissions Free. La version Pro offre plus de " +"fonctionnalités et de support. %sPasser en version Pro%s" + #: includes/CoreAdmin.php:73 msgid "Upgrade to PublishPress Revisions Pro" msgstr "Passez à PublishPress Revisions Pro" @@ -1888,7 +1926,7 @@ msgctxt "User role" msgid "Revisor" msgstr "Relecteur/relectrice" -#: rvy_init-functions.php:1153 +#: rvy_init-functions.php:1154 msgid "Revision Workflow" msgstr "Flux de travail de révision" @@ -1963,22 +2001,6 @@ msgstr "Flux de travail de révision" #~ msgid "%s%s ago" #~ msgstr "Il y a %s%s" -#, php-format -#~ msgid "Additional role capability required to manage %s" -#~ msgstr "Des permissions supplémentaires sont nécessaires pour gérer %s" - -#, php-format -#~ msgid "Posts / Pages list: Use \"Edit\" caption for %s link" -#~ msgstr "" -#~ "Liste des publications/pages : Utilisez la légende « Modifier » pour le " -#~ "lien %s" - -#~ msgid "Display Hints" -#~ msgstr "Afficher les conseils" - -#~ msgid "Compare Past Revisions ordering:" -#~ msgstr "Trier la comparaison des révisions précédentes :" - #, php-format #~ msgid "%s capabilities" #~ msgstr "%s permissions" diff --git a/languages/revisionary-it_IT.mo b/languages/revisionary-it_IT.mo index 90f8505..1c7a3f7 100644 Binary files a/languages/revisionary-it_IT.mo and b/languages/revisionary-it_IT.mo differ diff --git a/languages/revisionary-it_IT.po b/languages/revisionary-it_IT.po index 7352f87..618d9d6 100644 --- a/languages/revisionary-it_IT.po +++ b/languages/revisionary-it_IT.po @@ -5,8 +5,8 @@ msgstr "" "Project-Id-Version: Plugins - PublishPress Revisions: Duplicate Posts, " "Submit, Approve and Schedule Content Changes - Stable (latest release)\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n" -"POT-Creation-Date: 2024-04-16T19:38:36+00:00\n" -"PO-Revision-Date: 2024-04-17 18:27+0200\n" +"POT-Creation-Date: 2024-05-07T18:20:20+00:00\n" +"PO-Revision-Date: 2024-07-02 00:14+0200\n" "Last-Translator: \n" "Language-Team: Angelo Giammarresi - info@wocmultimedia.com\n" "Language: it\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Poedit 3.4\n" +"X-Generator: Poedit 3.4.4\n" #. Plugin Name of the plugin msgid "PublishPress Revisions" @@ -41,19 +41,19 @@ msgstr "PublishPress" msgid "https://publishpress.com" msgstr "https://publishpress.com" -#: admin/admin-init_rvy.php:105 admin/admin-init_rvy.php:337 +#: admin/admin-init_rvy.php:105 admin/admin-init_rvy.php:339 msgid "Sorry, you are not allowed to delete this revision." msgstr "Spiacente, non hai l'autorizzazione per eliminare questa revisione." -#: admin/admin-init_rvy.php:194 admin/admin-init_rvy.php:308 +#: admin/admin-init_rvy.php:196 admin/admin-init_rvy.php:310 msgid "Sorry, you are not allowed to approve this revision." msgstr "Spiacente, non puoi approvare questa revisione." -#: admin/admin-init_rvy.php:235 +#: admin/admin-init_rvy.php:237 msgid "Sorry, you are not allowed to submit this revision." msgstr "Non sei autorizzato a inviare questa revisione." -#: admin/admin-init_rvy.php:273 +#: admin/admin-init_rvy.php:275 msgid "Sorry, you are not allowed to decline this revision." msgstr "Non sei autorizzato a rifiutare questa revisione." @@ -180,8 +180,8 @@ msgstr "Autore articolo: %s" msgid "Search results for \"%s\"" msgstr "Risultati della ricerca per \"%s\"" -#: admin/class-list-table-archive.php:385 admin/class-list-table_rvy.php:1050 -#: admin/class-list-table_rvy.php:1317 admin/post-edit-block-ui_rvy.php:94 +#: admin/class-list-table-archive.php:385 admin/class-list-table_rvy.php:1058 +#: admin/class-list-table_rvy.php:1325 admin/post-edit-block-ui_rvy.php:94 #: admin/post-edit_rvy.php:52 admin/RevisionEditSubmitMetabox.php:62 msgid "Delete Revision" msgstr "Elimina revisione" @@ -190,7 +190,7 @@ msgstr "Elimina revisione" msgid "Count" msgstr "Conteggio" -#: admin/class-list-table-archive.php:427 admin/class-list-table_rvy.php:548 +#: admin/class-list-table-archive.php:427 admin/class-list-table_rvy.php:556 msgid "Post Type" msgstr "Tipo di articolo" @@ -263,7 +263,7 @@ msgstr "Le mie revisioni" msgid "Compare Changes in %s" msgstr "Confronta le modifiche in %s" -#: admin/class-list-table-archive.php:756 admin/class-list-table_rvy.php:1358 +#: admin/class-list-table-archive.php:756 admin/class-list-table_rvy.php:1366 #: admin/edit-revision-classic-ui_rvy.php:92 admin/post-edit_rvy.php:178 #: admin/post-edit_rvy.php:192 msgctxt "revisions" @@ -271,7 +271,7 @@ msgid "Compare" msgstr "Confronta" #. translators: %s: post title -#: admin/class-list-table-archive.php:771 admin/class-list-table_rvy.php:1342 +#: admin/class-list-table-archive.php:771 admin/class-list-table_rvy.php:1350 #: admin/post-editor-workflow-ui_rvy.php:199 msgid "Preview Revision" msgstr "Anteprima revisione" @@ -292,74 +292,74 @@ msgstr "Elimina revisione precedente" msgid "No revisions found." msgstr "Nessuna revisone trovata." -#: admin/class-list-table_rvy.php:547 admin/post-editor-workflow-ui_rvy.php:31 +#: admin/class-list-table_rvy.php:555 admin/post-editor-workflow-ui_rvy.php:31 msgid "Status" msgstr "Stato" -#: admin/class-list-table_rvy.php:601 admin/class-list-table_rvy.php:1224 +#: admin/class-list-table_rvy.php:609 admin/class-list-table_rvy.php:1232 msgid "Y/m/d g:i:s a" msgstr "D/m/y g:i:s a" -#: admin/class-list-table_rvy.php:611 admin/class-list-table_rvy.php:1232 +#: admin/class-list-table_rvy.php:619 admin/class-list-table_rvy.php:1240 msgid "Y/m/d g:i a" msgstr "D/m/y g:i a" -#: admin/class-list-table_rvy.php:618 +#: admin/class-list-table_rvy.php:626 msgid "Scheduled publication: %s" msgstr "Pubblicazione pianificata: %s" -#: admin/class-list-table_rvy.php:621 +#: admin/class-list-table_rvy.php:629 msgid "Requested publication: %s" msgstr "Pubblicazione richiesta: %s" -#: admin/class-list-table_rvy.php:666 admin/history_rvy.php:786 +#: admin/class-list-table_rvy.php:674 admin/history_rvy.php:786 msgid "No author" msgstr "Senza autore" #. translators: %s: post title -#: admin/class-list-table_rvy.php:708 +#: admin/class-list-table_rvy.php:716 msgid "View only revisions of %s" msgstr "Visualizza solo le revisioni di %s" #. translators: %s: post title -#: admin/class-list-table_rvy.php:720 admin/class-list-table_rvy.php:728 +#: admin/class-list-table_rvy.php:728 admin/class-list-table_rvy.php:736 msgid "View published post" msgstr "Visualizza l'articolo pubblicato" #. translators: %s: post title -#: admin/class-list-table_rvy.php:752 +#: admin/class-list-table_rvy.php:760 msgid "Compare Past Revisions" msgstr "Confronta le revisioni passate" -#: admin/class-list-table_rvy.php:753 +#: admin/class-list-table_rvy.php:761 msgid "History" msgstr "Cronologia" -#: admin/class-list-table_rvy.php:1006 +#: admin/class-list-table_rvy.php:1014 msgid "My Activity" msgstr "La mia attività" -#: admin/class-list-table_rvy.php:1014 +#: admin/class-list-table_rvy.php:1022 msgid "All %s" msgstr "Tutti %s" -#: admin/class-list-table_rvy.php:1046 +#: admin/class-list-table_rvy.php:1054 msgid "Unschedule" msgstr "Non programmato" #. translators: %s: post title -#: admin/class-list-table_rvy.php:1050 admin/class-list-table_rvy.php:1313 +#: admin/class-list-table_rvy.php:1058 admin/class-list-table_rvy.php:1321 #: admin/post-edit-block-ui_rvy.php:94 admin/post-edit_rvy.php:52 #: admin/RevisionEditSubmitMetabox.php:62 msgid "Discard Revision" msgstr "Scarta la revisione" #. translators: %s: post title -#: admin/class-list-table_rvy.php:1357 +#: admin/class-list-table_rvy.php:1365 msgid "Compare Changes" msgstr "Confronta le modifiche" -#: admin/class-list-table_rvy.php:1366 +#: admin/class-list-table_rvy.php:1374 msgctxt "revisions" msgid "Decline" msgstr "Rifiuta" @@ -385,7 +385,7 @@ msgstr "Revisione aggiornata." msgid "Compare %s of \"%s\"" msgstr "Compara %s di \"%s\"" -#: admin/history_rvy.php:535 admin/options.php:767 +#: admin/history_rvy.php:535 admin/options.php:769 msgid "Post Date" msgstr "Data articolo" @@ -528,6 +528,10 @@ msgstr "" "Usare etichette alternative: \"Copia di lavoro\" > \"Richiesta di modifica\" " "> \"Modifica programmata\"" +#: admin/options.php:118 +msgid "Additional role capability required to manage %s" +msgstr "Capacità di ruolo aggiuntiva richiesta per gestire %s" + #: admin/options.php:119 msgid "Additional role capability required to create a Working Copy" msgstr "" @@ -537,6 +541,11 @@ msgstr "" msgid "Additional role capability required to create a new revision" msgstr "Capacità di ruolo aggiuntiva richiesta per creare una nuova revisione" +#: admin/options.php:120 +msgid "Posts / Pages list: Use \"Edit\" caption for %s link" +msgstr "" +"Elenco articoli/pagine: utilizzare la didascalia \"Modifica\" per il link %s" + #: admin/options.php:121 admin/options.php:124 msgid "Enable %s" msgstr "Abilitare %s" @@ -640,6 +649,10 @@ msgstr "Tutti i tipi di articoli personalizzati disponibili per i revisori" msgid "Prevent Revisors from editing other user's drafts" msgstr "Impedisci ai revisori di modificare le bozze di altri utenti" +#: admin/options.php:147 +msgid "Display Hints" +msgstr "Visualizza suggerimenti" + #: admin/options.php:148 msgid "Show Preview Links" msgstr "Mostra i link di anteprima" @@ -671,6 +684,10 @@ msgstr "Pulsante approva nella schermata «Confronta revisioni»" msgid "Copy revision comments to published post" msgstr "Copia i commenti di revisione nell'articolo pubblicato" +#: admin/options.php:155 +msgid "Compare Past Revisions ordering:" +msgstr "Ordine per confrontare le revisioni precedenti:" + #: admin/options.php:156 msgid "Include %s in My Activity, Revisions to My Posts views" msgstr "" @@ -956,13 +973,13 @@ msgstr "" "revisione o ID revisione per il corretto caricamento del modello e la " "visualizzazione dei campi." -#: admin/options.php:688 +#: admin/options.php:690 msgid "The revision preview argument is configured by constant definition: %s" msgstr "" "L'argomento anteprima di revisione è configurato dalla definizione della " "costante: %s" -#: admin/options.php:695 +#: admin/options.php:697 msgid "" "Adjust preview links to use \"rv_preview\" argument instead of \"preview\". " "Experiment to see which works best with your theme." @@ -971,20 +988,20 @@ msgstr "" "invece di \"preview\". Sperimenta per vedere quale funziona meglio con il " "tuo tema." -#: admin/options.php:704 +#: admin/options.php:706 msgid "" "Some themes may require this setting for correct revision preview display." msgstr "" "Per alcuni temi può essere obbligatoria questa impostazione per una corretta " "visualizzazione dell'anteprima di revisione." -#: admin/options.php:710 +#: admin/options.php:712 msgid "If disabled, Compare screen links to Revision Preview for approval." msgstr "" "Se disabilitata, la schermata «Confronta» si collega all'anteprima della " "revisione per l'approvazione." -#: admin/options.php:738 +#: admin/options.php:740 msgid "" "For compatibility with Advanced Custom Fields, Beaver Builder and WPML, " "upgrade to %sPublishPress Revisions Pro%s." @@ -992,20 +1009,20 @@ msgstr "" "Per avere una compatibilità con Advanced Custom Fields, Beaver Builder e " "WPML, aggiorna a %sPublishPress Revisions Pro%s." -#: admin/options.php:748 +#: admin/options.php:750 msgid "This may improve compatibility with some plugins." msgstr "Ciò potrebbe migliorare la compatibilità con alcuni plugin." -#: admin/options.php:767 +#: admin/options.php:769 msgid "Modification Date" msgstr "Data di modifica" -#: admin/options.php:777 +#: admin/options.php:779 msgid "Show descriptive captions for PublishPress Revisions settings" msgstr "" "Mostra didascalie descrittive per le impostazioni di PublishPress Revisions" -#: admin/options.php:791 +#: admin/options.php:793 msgid "" "Non-Administrators cannot restore a revision without the restore_revisions " "capability" @@ -1013,23 +1030,23 @@ msgstr "" "I non amministratori non possono ripristinare una revisione senza la " "capacità restore_revisions" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "Never" msgstr "Mai" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "By default" msgstr "Per impostazione predefinita" -#: admin/options.php:813 admin/options.php:834 +#: admin/options.php:815 admin/options.php:836 msgid "Always" msgstr "Sempre" -#: admin/options.php:823 admin/options.php:869 +#: admin/options.php:825 admin/options.php:871 msgid "select recipients" msgstr "seleziona recipienti" -#: admin/options.php:883 +#: admin/options.php:885 msgid "" "To avoid notification failures, buffer emails for delayed sending once " "minute, hour or day limits are exceeded" @@ -1038,55 +1055,55 @@ msgstr "" "serve per l'invio ritardato quando vengono superati i limiti di un minuto, " "ora o giorno" -#: admin/options.php:904 +#: admin/options.php:906 msgid "Notification Buffer" msgstr "Buffer delle notifiche" -#: admin/options.php:932 +#: admin/options.php:934 msgid "Notification Log" msgstr "Registro delle notifiche" -#: admin/options.php:961 +#: admin/options.php:963 msgid "Purge Notification Buffer" msgstr "Elimina buffer di notifica" -#: admin/options.php:967 +#: admin/options.php:969 msgid "Truncate Notification Log" msgstr "Troncare il registro delle notifiche" -#: admin/options.php:973 +#: admin/options.php:975 msgid "Sent in last minute: %d / %d" msgstr "Inviato negli ultimi minuti: %d/%d" -#: admin/options.php:974 +#: admin/options.php:976 msgid "Sent in last hour: %d / %d" msgstr "Inviato nell'ultima ora: %d/%d" -#: admin/options.php:975 +#: admin/options.php:977 msgid "Sent in last day: %d / %d" msgstr "Inviato lo scorso giorno: %d/%d" -#: admin/options.php:982 +#: admin/options.php:984 msgid "Seconds until next buffer processing time: %d" msgstr "Secondi al successivo tempo di elaborazione del buffer: %d" -#: admin/options.php:992 +#: admin/options.php:994 msgid "Show Notification Log / Buffer" msgstr "Mostra registro/buffer delle notifiche" -#: admin/options.php:994 +#: admin/options.php:996 msgid "Show with message content" msgstr "Mostra con il contenuto del messaggio" -#: admin/options.php:1005 includes/CoreAdmin.php:88 +#: admin/options.php:1007 includes/CoreAdmin.php:88 msgid "WPML Translation Management" msgstr "Gestione delle traduzioni con WPML" -#: admin/options.php:1012 +#: admin/options.php:1014 msgid "Sync \"Needs Update\" flags" msgstr "Sincronizzare le segnalazioni di \"Deve essere aggiornato\"" -#: admin/options.php:1016 +#: admin/options.php:1018 msgid "" "Set \"Needs Update\" for any post with translations which was updated " "(possibly by revision approval) more recently than its translations." @@ -1095,7 +1112,7 @@ msgstr "" "stato aggiornato (eventualmente con l'approvazione di una revisione) più " "recentemente delle sue traduzioni." -#: admin/options.php:1054 +#: admin/options.php:1056 msgid "" "Specify which PublishPress Revisions Settings to control network-wide. " "Unselected settings are controlled separately on each site." @@ -1104,16 +1121,26 @@ msgstr "" "rete. Le impostazioni deselezionate vengono controllate separatamente su " "ogni sito." -#: admin/options.php:1064 +#: admin/options.php:1066 msgctxt "opentag option_tabname closetag (explanatory note)" msgid "%1$s%2$s%3$s (%4$s)" msgstr "%1$s%2$s%3$s (%4$s)" -#: admin/options.php:1100 +#: admin/options.php:1102 msgid "network-wide control of \"%s\"" msgstr "controllo ampiezza di rete di \"%s\"" +#: admin/options.php:1129 +#| msgid "Approve Changes" +msgid "Save Changes" +msgstr "Salva modifiche" + #: admin/options.php:1130 +#| msgid "Network Defaults" +msgid "Revert to Defaults" +msgstr "Ritorna ai valori predefiniti" + +#: admin/options.php:1132 msgid "" "All settings in this form (including those on unselected tabs) will be reset " "to DEFAULTS. Are you sure?" @@ -1218,45 +1245,45 @@ msgstr "Visualizza la revisione in corso" msgid "View / moderate saved revision" msgstr "Visualizza/modera revisione salvata" -#: admin/revision-action_rvy.php:421 admin/revision-action_rvy.php:507 +#: admin/revision-action_rvy.php:422 admin/revision-action_rvy.php:508 msgid "[%s] Revision Approval Notice" msgstr "[%s] Avviso di approvazione della revisione" -#: admin/revision-action_rvy.php:422 +#: admin/revision-action_rvy.php:423 msgid "A revision to the %1$s \"%2$s\" has been approved." msgstr "Una revisione a %1$s \"%2$s\" è stata approvata." -#: admin/revision-action_rvy.php:426 +#: admin/revision-action_rvy.php:427 msgid "The submitter was %1$s." msgstr "Il mittente era %1$s." -#: admin/revision-action_rvy.php:430 admin/revision-action_rvy.php:512 +#: admin/revision-action_rvy.php:431 admin/revision-action_rvy.php:513 msgid "It will be published on %s" msgstr "Sarà pubblicata il %s" -#: admin/revision-action_rvy.php:434 admin/revision-action_rvy.php:516 +#: admin/revision-action_rvy.php:435 admin/revision-action_rvy.php:517 msgid "Preview it here: " msgstr "Visualizza qui l'anteprima: " -#: admin/revision-action_rvy.php:437 admin/revision-action_rvy.php:519 +#: admin/revision-action_rvy.php:438 admin/revision-action_rvy.php:520 msgid "Editor: " msgstr "Editore: " -#: admin/revision-action_rvy.php:439 admin/revision-action_rvy.php:521 -#: admin/revision-action_rvy.php:1352 admin/revision-action_rvy.php:1377 -#: admin/revision-action_rvy.php:1439 +#: admin/revision-action_rvy.php:440 admin/revision-action_rvy.php:522 +#: admin/revision-action_rvy.php:1353 admin/revision-action_rvy.php:1378 +#: admin/revision-action_rvy.php:1440 msgid "View it online: " msgstr "Visualizzala online: " -#: admin/revision-action_rvy.php:508 +#: admin/revision-action_rvy.php:509 msgid "The revision you submitted for the %1$s \"%2$s\" has been approved." msgstr "La revisione che hai inviato per il %1$s \"%2$s\" è stata approvata." -#: admin/revision-action_rvy.php:1348 admin/revision-action_rvy.php:1370 +#: admin/revision-action_rvy.php:1349 admin/revision-action_rvy.php:1371 msgid "[%s] %s Publication Notice" msgstr "[%s] %s Notifica di pubblicazione" -#: admin/revision-action_rvy.php:1349 +#: admin/revision-action_rvy.php:1350 msgid "" "The scheduled revision you submitted for the %1$s \"%2$s\" has been " "published." @@ -1264,7 +1291,7 @@ msgstr "" "La revisione programmata che hai inviato per il %1$s \"%2$s\" è stata " "pubblicata." -#: admin/revision-action_rvy.php:1371 +#: admin/revision-action_rvy.php:1372 msgid "A scheduled revision to your %1$s \"%2$s\" has been published." msgstr "Una revisione programmata del tuo %1$s \"%2$s\" è stata pubblicata." @@ -1272,6 +1299,10 @@ msgstr "Una revisione programmata del tuo %1$s \"%2$s\" è stata pubblicata." msgid "Revision for:" msgstr "Revisone per:" +#: admin/revision-archive_rvy.php:89 +msgid "Search Revisions" +msgstr "Ricerca le revisioni" + #: admin/revision-queue_rvy.php:9 msgid "You are not allowed to manage revisions." msgstr "Non sei autorizzato a gestire le revisioni." @@ -1483,6 +1514,14 @@ msgstr "Ripristina" msgid "This is a Past Revision (from %s). %s %s" msgstr "Questa è una revisione precedente (da %s). %s %s" +#: includes/CoreAdmin.php:13 +msgid "" +"You're using PublishPress Revisions Free. The Pro version has more features " +"and support. %sUpgrade to Pro%s" +msgstr "" +"Stai utilizzando PublishPress Permissions Free. La versione Pro offre " +"maggiori caratteristiche e supporto. %sAggiorna a Pro%s" + #: includes/CoreAdmin.php:73 msgid "Upgrade to PublishPress Revisions Pro" msgstr "Aggiorna a PublishPress Revisions Pro" @@ -1855,7 +1894,7 @@ msgctxt "User role" msgid "Revisor" msgstr "Revisore" -#: rvy_init-functions.php:1153 +#: rvy_init-functions.php:1154 msgid "Revision Workflow" msgstr "Workflow revisione" @@ -1930,22 +1969,6 @@ msgstr "Workflow revisione" #~ msgid "%s%s ago" #~ msgstr "%s%s fa" -#, php-format -#~ msgid "Additional role capability required to manage %s" -#~ msgstr "Capacità di ruolo aggiuntiva richiesta per gestire %s" - -#, php-format -#~ msgid "Posts / Pages list: Use \"Edit\" caption for %s link" -#~ msgstr "" -#~ "Elenco articoli/pagine: utilizzare la didascalia \"Modifica\" per il link " -#~ "%s" - -#~ msgid "Display Hints" -#~ msgstr "Visualizza suggerimenti" - -#~ msgid "Compare Past Revisions ordering:" -#~ msgstr "Ordine per confrontare le revisioni precedenti:" - #, php-format #~ msgid "%s capabilities" #~ msgstr "Capacità %s" diff --git a/revision-creation_rvy.php b/revision-creation_rvy.php index f18e2ab..98142bc 100644 --- a/revision-creation_rvy.php +++ b/revision-creation_rvy.php @@ -120,6 +120,14 @@ function createRevision($post_id, $revision_status, $args = []) { $post = get_post($revision_id); + if (('pending-revision' == $revision_status) && !defined('REVISONARY_AUTO_SUBMIT_NO_NOTIFICATION')) { + require_once( dirname(REVISIONARY_FILE).'/revision-workflow_rvy.php' ); + $rvy_workflow_ui = new \Rvy_Revision_Workflow_UI(); + + $args = ['revision_id' => $revision_id, 'published_post' => $published_post, 'object_type' => $published_post->post_type]; + $rvy_workflow_ui->do_notifications('pending-revision', 'pending-revision', (array) $published_post, $args ); + } + $url = apply_filters('revisionary_create_revision_redirect', rvy_admin_url("post.php?post=$revision_id&action=edit"), $revision_id); if (!empty($args['suppress_redirect'])) { diff --git a/revisionary_main.php b/revisionary_main.php index 5332c67..d0b663a 100644 --- a/revisionary_main.php +++ b/revisionary_main.php @@ -118,7 +118,7 @@ function addFilters() { } add_action( 'wpmu_new_blog', array( $this, 'act_new_blog'), 10, 2 ); - + add_action('trashed_post', [$this, 'actTrashedPost']); add_action( 'deleted_post', [$this, 'actDeletedPost']);