'),h.detach().prependTo("#"+l),e(function(){var n=e("#"+l+" > *").not(".wp-header-end").not("#message");n.length&&(d.addClass("hidden-admin-notices-active"),n.each(function(){e(this).detach().appendTo(a)}),c.clone().appendTo(o),s.on("click",function(){a.is(":visible")?a.slideUp("fast",function(){d.removeClass(p),s.attr("aria-expanded",!1),t.hide(),a.addClass("hidden")}):(d.addClass(p),t.show(),a.slideDown("fast",function(){a.addClass("hidden").trigger("focus"),s.attr("aria-expanded",!0)}))}),i.on("screen:options:open",function(){o.fadeOut("fast",function(){e(this).css("visibility","hidden")})}).on("screen:options:close",function(){o.fadeIn("fast",function(){e(this).css("visibility","")})}))})}(jQuery); assets/js/hide-admin-notices.js 0000644 00000005024 14760002125 0012457 0 ustar 00 ;;;/* global jQuery, hideAdminNoticesVars */
// Support for jQuery v3.6.0 for WordPress v5.9.8+.
(function ($) {
let $document = $(document),
$body = $('body'),
$hanPanel = $('#hidden-admin-notices-panel'),
$hanPanelWrap = $('#hidden-admin-notices-panel-wrap'),
$hanToggleButton = $('#hidden-admin-notices-link'),
$hanToggleButtonWrap = $('#hidden-admin-notices-link-wrap'),
$screenMetaLinks = $('#screen-meta-links'),
$wpHeaderEnd = $('.wp-header-end'),
$wpUpdateNag = $(hideAdminNoticesVars.updateNagSelector),
captureId = 'hidden-admin-notices-capture',
activeBodyClass = 'hidden-admin-notices-active',
panelActiveClass = 'hidden-admin-notices-panel-active';
// Capture all notices because WP moves notices to after '.wp-header-end'.
// See /wp-admin/js/common.js line #1083.
$wpHeaderEnd.wrap('
');
// Include the update nag.
$wpUpdateNag.detach().prependTo('#' + captureId);
// Run after common.js.
$(function () {
let notices = $('#' + captureId + ' > *')
.not('.wp-header-end')
.not('#message');
if (!notices.length) {
return;
}
// Activate HAN.
$body.addClass(activeBodyClass);
// Move notices to han panel.
notices.each(function () {
$(this)
.detach()
.appendTo($hanPanel);
}
);
// Copy WP default screen meta links to conserve toggle button placement when expanded.
$screenMetaLinks.clone().appendTo($hanToggleButtonWrap);
// Add panel toggle event.
$hanToggleButton.on('click', function () {
if ($hanPanel.is(':visible')) {
$hanPanel.slideUp('fast', function () {
$body.removeClass(panelActiveClass);
$hanToggleButton.attr('aria-expanded', false)
$hanPanelWrap.hide();
$hanPanel.addClass('hidden');
});
} else {
$body.addClass(panelActiveClass);
$hanPanelWrap.show();
$hanPanel.slideDown('fast', function () {
$hanPanel
.addClass('hidden')
.trigger('focus');
$hanToggleButton.attr('aria-expanded', true);
});
}
});
// Hide HAN panel when Screen Options or Help tab is open.
$document.on('screen:options:open', function () {
$hanToggleButtonWrap.fadeOut('fast', function () {
$(this).css('visibility', 'hidden');
})
}).on('screen:options:close', function () {
$hanToggleButtonWrap.fadeIn('fast', function () {
$(this).css('visibility', '');
})
})
});
})(jQuery); includes/Context.php 0000644 00000001573 14760002125 0010512 0 ustar 00 vars = array_merge( $vars, $options );
} else if ( add_option( Hide_Admin_Notices::OPTIONS_NAME, $vars ) ) {
$this->vars = $vars;
} else {
//error
}
}
public function init() {
add_action( 'update_option_' . Hide_Admin_Notices::OPTIONS_NAME, array( $this, 'update_option' ) );
}
public function update_option( $value ): void {
$this->vars = array_merge( $this->vars, $value );
}
public function get( $name, $default = null ) {
return $this->vars[ $name ] ?? $default;
}
public function set( $name, $value ) {
$this->vars[ $name ] = $value;
update_option( Hide_Admin_Notices::OPTIONS_NAME, $this->vars );
}
} includes/Options.php 0000644 00000023702 14760002125 0010517 0 ustar 00 context = $context;
}
public function init() {
add_action( 'admin_menu', array( $this, 'add_options_page' ) );
add_action( 'plugins_loaded', array( $this, 'form_handler' ) );
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
}
public function get_options_page_url() {
return menu_page_url( self::OPTIONS_PAGE_SLUG, false );
}
public function add_options_page() {
add_options_page( __( 'Hide Admin Notices', 'hide-admin-notices' ), __( 'Hide Admin Notices', 'hide-admin-notices' ), 'edit_posts', self::OPTIONS_PAGE_SLUG, array(
$this,
'render_settings_page'
) );
}
public function render_settings_page() {
$bug_reports = $this->context->get( 'bug_reports', array() );
$options = sprintf( "
", esc_html__( 'Choose a plugin...', 'hide-admin-notices' ) );
foreach ( get_option( 'active_plugins' ) as $plugin ) {
// $plugin will be for example: query-monitor/query-monitor.php.
$plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
// Get just plugin ID.
if ( strpos( $plugin, '/' ) !== false ) {
// Get the folder name if the plugin is in a folder.
$plugin_id = substr( $plugin, 0, strpos( $plugin, '/' ) );
} else {
$plugin_id = $plugin;
}
// Ignore this plugin!
if ( $plugin_id == 'hide-admin-notices' ) {
continue;
}
$plugin_name = trim( $plugin_data['Name'] );
$plugin_version = trim( $plugin_data['Version'] );
$option = [
'id' => $plugin_id,
'name' => $plugin_name,
'version' => $plugin_version,
];
// Disable the option for this plugin if a request has already been sent for it.
$disabled_attribute = '';
$name_suffix = '';
if ( isset( $bug_reports[ $plugin_id ] )
&& $plugin_version == $bug_reports[ $plugin_id ] ) {
$disabled_attribute = ' disabled';
$name_suffix = sprintf( " - %1s ✓", esc_html__( 'report sent', 'hide-admin-notices' ) );
}
$options .= sprintf( "
", json_encode( $option ), $disabled_attribute, $plugin_name, $plugin_version, $name_suffix );
}
?>
send_bug_report( $_POST['hide_admin_notices_options'] ) ) {
$this->add_admin_notice( __( 'Unable to send request.', 'hide-admin-notices' ), 'error' );
} else {
$this->add_admin_notice( __( 'Report sent successfully.', 'hide-admin-notices' ) );
if ( ! $this->update_bug_reports( $_POST['hide_admin_notices_options'] ) ) {
$this->add_admin_notice( __( 'An error occurred.', 'hide-admin-notices' ), 'error' );
}
}
}
}
}
public function admin_notices() {
// WP v6.4 introduced the wp_admin_notice function.
$use_wp_admin_notice = function_exists( 'wp_admin_notice' );
foreach ( self::$admin_notices as $notice ) {
if ( $use_wp_admin_notice ) {
wp_admin_notice(
$notice['message'],
array(
'id' => 'message',
'additional_classes' => array( $notice['type'] ),
)
);
} else {
echo sprintf( '
', $notice['type'], $notice['message'] );
}
}
}
private function send_bug_report( $form_data ) {
$plugin = json_decode( $form_data['plugin'] );
$comments = $form_data['comments'] ?? '';
$notify = $form_data['notify'] ?? '';
if ( ! is_object( $plugin ) ) {
return false;
}
$user_name = '';
$user_email = '';
if ( $notify ) {
$user = wp_get_current_user();
$user_name = $user->user_nicename;
$user_email = $user->user_email;
}
$loader = new FilesystemLoader( HIDE_ADMIN_NOTICES_DIR . 'templates' );
$twig = new Environment( $loader );
$body = $twig->render( 'bug-report-email.html.twig', array(
'plugin_id' => $plugin->id,
'plugin_name' => $plugin->name,
'plugin_version' => $plugin->version,
'comments' => $comments,
'notify' => $notify,
'user_name' => $user_name,
'user_email' => $user_email,
) );
return wp_mail( self::BUG_REPORT_EMAIL_RECIPIENT, self::BUG_REPORT_EMAIL_SUBJECT, $body, 'Content-type: text/html' );
}
private function update_bug_reports( $options ) {
$bug_reports = $this->context->get( 'bug_reports', array() );
$plugin = json_decode( $options['plugin'] );
if ( ! is_object( $plugin ) ) {
return false;
}
$bug_reports = array_merge( $bug_reports, array(
$plugin->id => $plugin->version,
) );
$this->context->set( 'bug_reports', $bug_reports );
return true;
}
private function add_admin_notice( $message, $type = 'updated' ) {
self::$admin_notices[] = array(
'message' => $message,
'type' => $type,
);
}
} includes/Admin.php 0000644 00000013532 14760002125 0010114 0 ustar 00
*/
class Admin {
public const DONATE_LINK = 'https://www.buymeacoffee.com/pontetlabs';
public const RATE_LINK = 'https://wordpress.org/support/plugin/hide-admin-notices/reviews/#new-post';
protected Options $options;
public function __construct( Options $options ) {
$this->options = $options;
}
public function init(): void {
add_action( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 20, 2 );
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ), PHP_INT_MIN );
add_action( 'admin_notices', array( $this, 'admin_notices' ), 1 );
add_action( 'admin_footer', array( $this, 'admin_footer' ), PHP_INT_MIN );
add_filter( 'plugin_action_links_' . HIDE_ADMIN_NOTICES_BASENAME, array( $this, 'plugin_action_links' ) );
}
/**
* Register the CSS and JavaScript.
*
* @since 1.0.0
*/
public function enqueue_scripts(): void {
$minified = '.min';
if ( defined( 'WP_DEBUG' ) && WP_DEBUG === true ) {
$minified = '';
}
$script_vars = [
'updateNagSelector' => 'div.update-nag'
];
$style_handler = $script_handler = 'hide-admin-notices';
wp_enqueue_style( $style_handler,
HIDE_ADMIN_NOTICES_URL . 'assets/css/hide-admin-notices' . $minified . '.css',
[], HIDE_ADMIN_NOTICES_VERSION );
wp_register_script( $script_handler,
HIDE_ADMIN_NOTICES_URL . 'assets/js/' . $script_handler . $minified . '.js',
array( 'jquery' ),
HIDE_ADMIN_NOTICES_VERSION, true );
wp_localize_script( $script_handler, 'hideAdminNoticesVars', $script_vars );
wp_enqueue_script( $script_handler );
}
/**
* Modify plugin row meta.
*
* @since 1.0.0
*/
public function plugin_row_meta( $links, $file ): array {
if ( HIDE_ADMIN_NOTICES_BASENAME === $file ) {
$row_meta = array(
'donate' => '
' . esc_html__( 'Donate a $1', 'hide-admin-notices' ) . '',
);
return array_merge( $links, $row_meta );
}
return (array) $links;
}
/**
* Modify plugin actions.
*
* @param $links
*
* @return array
* @since 1.2.0
*
*/
public function plugin_action_links( $links ): array {
$rate_link = array(
'rate' => '
' . esc_html__( 'Report an issue', 'hide-admin-notices' ) . '',
);
return array_merge( $links, $rate_link );
}
/**
* Attach the active class to the page body.
*
* @return string
*/
public function admin_body_class( $admin_body_class ) {
$classes = explode( ' ', trim( $admin_body_class ) );
$classes[] = 'hidden-admin-notices-active';
$admin_body_class = implode( ' ', array_unique( $classes ) );
return " $admin_body_class ";
}
/**
* Plugin placeholder elements.
*
* @return void
*/
public function admin_notices() {
?>
' . implode( "\n", $style ) . '';
}
} includes/HideAdminNotices.php 0000644 00000003115 14760002125 0012227 0 ustar 00
*/
class Hide_Admin_Notices {
static $instance = null;
const OPTIONS_NAME = 'hide-admin-notices-options';
protected Context $context;
protected Options $options;
protected array $config = array(
'compatibility_requests' => array(),
);
/**
* Initialize the class.
*
* @since 1.0.0
*/
public function __construct() {
$this->context = new Context( $this->config );
$this->context->init();
}
public function init() {
$this->init_classes();
$this->register_hooks();
}
/**
* Load the required dependencies for this plugin.
*
* @since 1.0.0
* @access private
*/
private function init_classes(): void {
$this->options = new Options( $this->context );
$this->options->init();
$admin = new Admin( $this->options );
$admin->init();
}
/**
* Register all the hooks related to the admin area.
*
* @since 1.0.0
* @access private
*/
private function register_hooks(): void {
add_action( 'plugins_loaded', array( $this, 'load_plugin_textdomain' ) );
}
/**
* Load the plugin text domain for translation.
*
* @since 2.0.0
*/
public function load_plugin_textdomain(): void {
load_plugin_textdomain(
'hide-admin-notices',
false,
HIDE_ADMIN_NOTICES_DIR . 'languages/'
);
}
}
languages/hide-admin-notices-de_DE.po 0000644 00000004273 14760002125 0013454 0 ustar 00 msgid ""
msgstr ""
"Project-Id-Version: Hide Admin Notices\n"
"POT-Creation-Date: 2022-01-31 15:31+0100\n"
"PO-Revision-Date: 2022-01-31 15:32+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"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.0.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: hide-admin-notices.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: includes\n"
"X-Poedit-SearchPathExcluded-0: src\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: languages\n"
#: includes/class-hide-admin-notices-admin.php:51
#: includes/class-hide-admin-notices-admin.php:52
msgid "Donate a $1"
msgstr "1 $ spenden"
#: includes/class-hide-admin-notices-admin.php:73
#: includes/class-hide-admin-notices-admin.php:74
msgid "Like it?"
msgstr "So was?"
#: includes/class-hide-admin-notices-admin.php:88
msgid "Notifications Tab"
msgstr "Registerkarte Benachrichtigungen"
#: includes/class-hide-admin-notices-admin.php:92
msgid "Show Notices"
msgstr "Zeige Benachrichtigungen"
#: includes/class-hide-admin-notices-admin.php:93
msgid "Hide Notices"
msgstr "Benachrichtigungen Ausblenden"
#. Plugin Name of the plugin/theme
msgid "Hide Admin Notices"
msgstr "Dashboard-Benachrichtigungen Ausblenden"
#. Plugin URI of the plugin/theme
msgid "https://pontetlabs.com/hide-admin-notices"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... "
"for everything!"
msgstr ""
"Verstecke – oder zeige – WordPress Dashboard Hinweise, Nachrichten, Update "
"Nags etc. … für alles!"
#. Author of the plugin/theme
msgid "PontetLabs"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://pontetlabs.com"
msgstr ""
#~ msgid "Leave a rating"
#~ msgstr "Hinterlassen Sie eine Bewertung"
languages/hide-admin-notices-it_IT.po 0000644 00000004120 14760002125 0013513 0 ustar 00 msgid ""
msgstr ""
"Project-Id-Version: Hide Admin Notices\n"
"POT-Creation-Date: 2022-01-31 15:26+0100\n"
"PO-Revision-Date: 2022-01-31 15:39+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"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.0.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: hide-admin-notices.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: includes\n"
"X-Poedit-SearchPathExcluded-0: src\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: languages\n"
#: includes/class-hide-admin-notices-admin.php:51
#: includes/class-hide-admin-notices-admin.php:52
msgid "Donate a $1"
msgstr "Dona un $ 1"
#: includes/class-hide-admin-notices-admin.php:73
#: includes/class-hide-admin-notices-admin.php:74
msgid "Like it?"
msgstr "Ti piace?"
#: includes/class-hide-admin-notices-admin.php:88
msgid "Notifications Tab"
msgstr "Scheda Notifiche"
#: includes/class-hide-admin-notices-admin.php:92
msgid "Show Notices"
msgstr "Mostra Notifiche"
#: includes/class-hide-admin-notices-admin.php:93
msgid "Hide Notices"
msgstr "Nascondi le Notifiche"
#. Plugin Name of the plugin/theme
msgid "Hide Admin Notices"
msgstr "Nascondi le Notifiche della Dashboard"
#. Plugin URI of the plugin/theme
msgid "https://pontetlabs.com/hide-admin-notices"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... "
"for everything!"
msgstr ""
"Nascondi o mostra notifiche, messaggi, problemi di aggiornamento, ecc. sulla "
"dashboard di WordPress."
#. Author of the plugin/theme
msgid "PontetLabs"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://pontetlabs.com"
msgstr ""
languages/hide-admin-notices-fr_FR.mo 0000644 00000002700 14760002125 0013500 0 ustar 00 \ ` V _ q ~ % n ' ~ Donate a $1 Hide Admin Notices Hide Notices Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... for everything! Like it? Notifications Tab Show Notices Project-Id-Version: Hide Admin Notices
PO-Revision-Date: 2022-01-31 15:30+0100
Last-Translator:
Language-Team:
Language: fr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n > 1);
X-Generator: Poedit 3.0.1
X-Poedit-Basepath: ..
X-Poedit-Flags-xgettext: --add-comments=translators:
X-Poedit-WPHeader: hide-admin-notices.php
X-Poedit-SourceCharset: UTF-8
X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2
X-Poedit-SearchPath-0: .
X-Poedit-SearchPath-1: includes
X-Poedit-SearchPathExcluded-0: src
X-Poedit-SearchPathExcluded-1: assets
X-Poedit-SearchPathExcluded-2: languages
Faites un don de 1 € Cacher les notifications du dashboard Cacher les notifications Cacher – ou montrer – les notifications, les messages, les « nags » de mise à jour ... toutes dans le dashboard WordPress ! Vous l’aimez? Onglet notifications d’administrateur Montrer les notifications languages/hide-admin-notices-it_IT.mo 0000644 00000002557 14760002125 0013524 0 ustar 00 \ ` V _ q ~ % d C M ^ Donate a $1 Hide Admin Notices Hide Notices Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... for everything! Like it? Notifications Tab Show Notices Project-Id-Version: Hide Admin Notices
PO-Revision-Date: 2022-01-31 15:39+0100
Last-Translator:
Language-Team:
Language: it
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n != 1);
X-Generator: Poedit 3.0.1
X-Poedit-Basepath: ..
X-Poedit-Flags-xgettext: --add-comments=translators:
X-Poedit-WPHeader: hide-admin-notices.php
X-Poedit-SourceCharset: UTF-8
X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2
X-Poedit-SearchPath-0: .
X-Poedit-SearchPath-1: includes
X-Poedit-SearchPathExcluded-0: src
X-Poedit-SearchPathExcluded-1: assets
X-Poedit-SearchPathExcluded-2: languages
Dona un $ 1 Nascondi le Notifiche della Dashboard Nascondi le Notifiche Nascondi o mostra notifiche, messaggi, problemi di aggiornamento, ecc. sulla dashboard di WordPress. Ti piace? Scheda Notifiche Mostra Notifiche languages/hide-admin-notices-ru_RU.mo 0000644 00000003246 14760002125 0013544 0 ustar 00 \ ` V _ q ` ~ E # A e @ + R ' ~ Donate a $1 Hide Admin Notices Hide Notices Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... for everything! Like it? Notifications Tab Show Notices Project-Id-Version: Hide Admin Notices
PO-Revision-Date: 2022-01-31 15:31+0100
Last-Translator:
Language-Team:
Language: ru
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);
X-Generator: Poedit 3.0.1
X-Poedit-Basepath: ..
X-Poedit-Flags-xgettext: --add-comments=translators:
X-Poedit-WPHeader: hide-admin-notices.php
X-Poedit-SourceCharset: UTF-8
X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2
X-Poedit-SearchPath-0: .
X-Poedit-SearchPath-1: includes
X-Poedit-SearchPathExcluded-0: src
X-Poedit-SearchPathExcluded-1: assets
X-Poedit-SearchPathExcluded-2: languages
Пожертвовать $1 Скрыть уведомления панели управления скрыть уведомления Скрыть или показать уведомления на панели инструментов WordPress, сообщения, уведомления об обновлениях и т. д. … для всего! Нравится? Вкладка “Уведомления” Показать уведомления languages/hide-admin-notices.pot 0000644 00000007406 14760002125 0012703 0 ustar 00 #, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Hide Admin Notices\n"
"POT-Creation-Date: 2023-12-19 18:17+0000\n"
"PO-Revision-Date: 2020-03-28 23:03+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"X-Generator: Poedit 3.4.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: hide-admin-notices.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: includes\n"
#: includes/Admin.php:71 includes/Admin.php:72
msgid "Donate a $1"
msgstr ""
#: includes/Admin.php:93
msgid "Like it?"
msgstr ""
#: includes/Admin.php:94
msgid "Report an issue"
msgstr ""
#: includes/Admin.php:121
msgid "Notifications Tab"
msgstr ""
#: includes/Admin.php:127
msgid "Show Notices"
msgstr ""
#: includes/Admin.php:129
msgid "Hide Notices"
msgstr ""
#. Plugin Name of the plugin/theme
#: includes/Options.php:35 includes/Options.php:76
msgid "Hide Admin Notices"
msgstr ""
#: includes/Options.php:43
msgid "Choose a plugin..."
msgstr ""
#: includes/Options.php:68
msgid "report sent"
msgstr ""
#: includes/Options.php:81
msgid "Report an Issue"
msgstr ""
#: includes/Options.php:83
msgid "Use this form to report an issue with one of your installed plugins."
msgstr ""
#: includes/Options.php:85
msgid ""
"Unfortunately, we have found that there are many plugins that do not "
"adhere to the WordPress standard way to display admin notices, and with so "
"many plugins available, we can't possibly test all plugins."
msgstr ""
#: includes/Options.php:86
msgid ""
"So, if you let us know of an issue with a particular plugin, we will "
"include support for it in the next version of Hide Admin Notices. Simply "
"complete the form below, and we'll even let you know when the updated "
"version is available. 😉"
msgstr ""
#: includes/Options.php:95
msgid "Which plugin?"
msgstr ""
#: includes/Options.php:102
msgid "These are your installed and active plugins."
msgstr ""
#: includes/Options.php:108
msgid "Can you describe the issue?"
msgstr ""
#: includes/Options.php:114
msgid ""
"Please describe the problem(s) that occur(s) and when, including any "
"relevant pages."
msgstr ""
#: includes/Options.php:116
msgid "The more information you can give, the more it will help us. 👍"
msgstr ""
#: includes/Options.php:122
msgid "Would you like to be notified when resolved?"
msgstr ""
#: includes/Options.php:128
msgid "We will drop you an email when the updated version is available."
msgstr ""
#: includes/Options.php:133
msgid ""
"The data that you send will be completely anonymous. However, if you check "
"the notification checkbox, you agree to also send the name and email "
"address of the current user account — this data will be used solely for "
"notification purposes."
msgstr ""
#: includes/Options.php:135
msgid "Send"
msgstr ""
#: includes/Options.php:146
msgid "Unable to verify your request."
msgstr ""
#: includes/Options.php:150
msgid "Unable to send request."
msgstr ""
#: includes/Options.php:152
msgid "Report sent successfully."
msgstr ""
#: includes/Options.php:155
msgid "An error occurred."
msgstr ""
#. Plugin URI of the plugin/theme
msgid "https://pontetlabs.com/hide-admin-notices"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hide – or show – WordPress Dashboard Notices, Messages, Update Nags "
"etc. ... for everything!"
msgstr ""
#. Author of the plugin/theme
msgid "PontetLabs"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://pontetlabs.com"
msgstr ""
languages/hide-admin-notices-ja.mo 0000644 00000002644 14760002125 0013103 0 ustar 00 \ ` V _ q ~ 0 u i Donate a $1 Hide Admin Notices Hide Notices Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... for everything! Like it? Notifications Tab Show Notices Project-Id-Version: Hide Admin Notices
PO-Revision-Date: 2022-01-31 15:35+0100
Last-Translator:
Language-Team:
Language: ja
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=1; plural=0;
X-Generator: Poedit 3.0.1
X-Poedit-Basepath: ..
X-Poedit-Flags-xgettext: --add-comments=translators:
X-Poedit-WPHeader: hide-admin-notices.php
X-Poedit-SourceCharset: UTF-8
X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2
X-Poedit-SearchPath-0: .
X-Poedit-SearchPath-1: includes
X-Poedit-SearchPathExcluded-0: src
X-Poedit-SearchPathExcluded-1: assets
X-Poedit-SearchPathExcluded-2: languages
1ドルを寄付する ダッシュボード通知を非表示にする 通知を非表示にする WordPressダッシュボードで通知、メッセージ、更新ナグなどを非表示または表示します。 それはいいですね! [通知]タブ 通知を表示 languages/hide-admin-notices-de_DE.mo 0000644 00000002623 14760002125 0013446 0 ustar 00 \ ` V _ q ~ ' h Q Y z Donate a $1 Hide Admin Notices Hide Notices Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... for everything! Like it? Notifications Tab Show Notices Project-Id-Version: Hide Admin Notices
PO-Revision-Date: 2022-01-31 15:32+0100
Last-Translator:
Language-Team:
Language: de
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n != 1);
X-Generator: Poedit 3.0.1
X-Poedit-Basepath: ..
X-Poedit-Flags-xgettext: --add-comments=translators:
X-Poedit-WPHeader: hide-admin-notices.php
X-Poedit-SourceCharset: UTF-8
X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2
X-Poedit-SearchPath-0: .
X-Poedit-SearchPath-1: includes
X-Poedit-SearchPathExcluded-0: src
X-Poedit-SearchPathExcluded-1: assets
X-Poedit-SearchPathExcluded-2: languages
1 $ spenden Dashboard-Benachrichtigungen Ausblenden Benachrichtigungen Ausblenden Verstecke – oder zeige – WordPress Dashboard Hinweise, Nachrichten, Update Nags etc. … für alles! So was? Registerkarte Benachrichtigungen Zeige Benachrichtigungen languages/hide-admin-notices-ja.po 0000644 00000004205 14760002125 0013101 0 ustar 00 msgid ""
msgstr ""
"Project-Id-Version: Hide Admin Notices\n"
"POT-Creation-Date: 2022-01-31 15:26+0100\n"
"PO-Revision-Date: 2022-01-31 15:35+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: hide-admin-notices.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: includes\n"
"X-Poedit-SearchPathExcluded-0: src\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: languages\n"
#: includes/class-hide-admin-notices-admin.php:51
#: includes/class-hide-admin-notices-admin.php:52
msgid "Donate a $1"
msgstr "1ドルを寄付する"
#: includes/class-hide-admin-notices-admin.php:73
#: includes/class-hide-admin-notices-admin.php:74
msgid "Like it?"
msgstr "それはいいですね!"
#: includes/class-hide-admin-notices-admin.php:88
msgid "Notifications Tab"
msgstr "[通知]タブ"
#: includes/class-hide-admin-notices-admin.php:92
msgid "Show Notices"
msgstr "通知を表示"
#: includes/class-hide-admin-notices-admin.php:93
msgid "Hide Notices"
msgstr "通知を非表示にする"
#. Plugin Name of the plugin/theme
msgid "Hide Admin Notices"
msgstr "ダッシュボード通知を非表示にする"
#. Plugin URI of the plugin/theme
msgid "https://pontetlabs.com/hide-admin-notices"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... "
"for everything!"
msgstr ""
"WordPressダッシュボードで通知、メッセージ、更新ナグなどを非表示または表示しま"
"す。"
#. Author of the plugin/theme
msgid "PontetLabs"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://pontetlabs.com"
msgstr ""
languages/hide-admin-notices-ru_RU.po 0000644 00000004715 14760002125 0013551 0 ustar 00 msgid ""
msgstr ""
"Project-Id-Version: Hide Admin Notices\n"
"POT-Creation-Date: 2022-01-31 15:30+0100\n"
"PO-Revision-Date: 2022-01-31 15:31+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: hide-admin-notices.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: includes\n"
"X-Poedit-SearchPathExcluded-0: src\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: languages\n"
#: includes/class-hide-admin-notices-admin.php:51
#: includes/class-hide-admin-notices-admin.php:52
msgid "Donate a $1"
msgstr "Пожертвовать $1"
#: includes/class-hide-admin-notices-admin.php:73
#: includes/class-hide-admin-notices-admin.php:74
msgid "Like it?"
msgstr "Нравится?"
#: includes/class-hide-admin-notices-admin.php:88
msgid "Notifications Tab"
msgstr "Вкладка “Уведомления”"
#: includes/class-hide-admin-notices-admin.php:92
msgid "Show Notices"
msgstr "Показать уведомления"
#: includes/class-hide-admin-notices-admin.php:93
msgid "Hide Notices"
msgstr "скрыть уведомления"
#. Plugin Name of the plugin/theme
msgid "Hide Admin Notices"
msgstr "Скрыть уведомления панели управления"
#. Plugin URI of the plugin/theme
msgid "https://pontetlabs.com/hide-admin-notices"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... "
"for everything!"
msgstr ""
"Скрыть или показать уведомления на панели инструментов WordPress, сообщения, "
"уведомления об обновлениях и т. д. … для всего!"
#. Author of the plugin/theme
msgid "PontetLabs"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://pontetlabs.com"
msgstr ""
#~ msgid "Leave a rating"
#~ msgstr "Оставить отзыв"
languages/hide-admin-notices-es_ES.po 0000644 00000004167 14760002125 0013514 0 ustar 00 msgid ""
msgstr ""
"Project-Id-Version: Hide Admin Notices\n"
"POT-Creation-Date: 2022-01-31 15:26+0100\n"
"PO-Revision-Date: 2022-01-31 18:22+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"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.0.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: hide-admin-notices.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: includes\n"
"X-Poedit-SearchPathExcluded-0: src\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: languages\n"
#: includes/class-hide-admin-notices-admin.php:51
#: includes/class-hide-admin-notices-admin.php:52
msgid "Donate a $1"
msgstr "Dona $1"
#: includes/class-hide-admin-notices-admin.php:73
#: includes/class-hide-admin-notices-admin.php:74
msgid "Like it?"
msgstr "¿Gusta este?"
#: includes/class-hide-admin-notices-admin.php:88
msgid "Notifications Tab"
msgstr "Pestaña de notificaciones"
#: includes/class-hide-admin-notices-admin.php:92
msgid "Show Notices"
msgstr "Mostrar Notificaciones"
#: includes/class-hide-admin-notices-admin.php:93
msgid "Hide Notices"
msgstr "Ocultar Notificaciones"
#. Plugin Name of the plugin/theme
msgid "Hide Admin Notices"
msgstr "Ocultar Notificaciones del Tablero"
#. Plugin URI of the plugin/theme
msgid "https://pontetlabs.com/hide-admin-notices"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... "
"for everything!"
msgstr ""
"Oculte, o muestre, los avisos del tablero de WordPress, los mensajes, las "
"molestias de actualización, etc. … ¡para todos!"
#. Author of the plugin/theme
msgid "PontetLabs"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://pontetlabs.com"
msgstr ""
languages/hide-admin-notices-fr_FR.po 0000644 00000005432 14760002125 0013510 0 ustar 00 msgid ""
msgstr ""
"Project-Id-Version: Hide Admin Notices\n"
"POT-Creation-Date: 2022-01-31 15:26+0100\n"
"PO-Revision-Date: 2022-01-31 15:30+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"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.0.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: hide-admin-notices.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: includes\n"
"X-Poedit-SearchPathExcluded-0: src\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: languages\n"
#: includes/class-hide-admin-notices-admin.php:51
#: includes/class-hide-admin-notices-admin.php:52
msgid "Donate a $1"
msgstr "Faites un don de 1 €"
#: includes/class-hide-admin-notices-admin.php:73
#: includes/class-hide-admin-notices-admin.php:74
msgid "Like it?"
msgstr "Vous l’aimez?"
#: includes/class-hide-admin-notices-admin.php:88
msgid "Notifications Tab"
msgstr "Onglet notifications d’administrateur"
#: includes/class-hide-admin-notices-admin.php:92
msgid "Show Notices"
msgstr "Montrer les notifications"
#: includes/class-hide-admin-notices-admin.php:93
msgid "Hide Notices"
msgstr "Cacher les notifications"
#. Plugin Name of the plugin/theme
msgid "Hide Admin Notices"
msgstr "Cacher les notifications du dashboard"
#. Plugin URI of the plugin/theme
msgid "https://pontetlabs.com/hide-admin-notices"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... "
"for everything!"
msgstr ""
"Cacher – ou montrer – les notifications, les messages, les « nags » de mise "
"à jour ... toutes dans le dashboard WordPress !"
#. Author of the plugin/theme
msgid "PontetLabs"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://pontetlabs.com"
msgstr ""
#~ msgid "Leave a rating"
#~ msgstr "Ajouter mon avis"
#~ msgid "The Easy Web Co."
#~ msgstr "The Easy Web Co."
#~ msgid "Leave a rating »"
#~ msgstr "Ajouter mon avis »"
#~ msgid "Dashboard Notices Tab"
#~ msgstr "Onglet notifications d’administrateur"
#~ msgid ""
#~ "A simple plugin to hide all Notices, Messages, & Update Nags in your "
#~ "WordPress Dashboard for PHP, Plugins, Themes, & WordPress."
#~ msgstr ""
#~ "Un simple plugin pour masquer tous les notifications dans votre tableau "
#~ "de bord WordPress pour PHP, extensions, thèmes et WordPress."
#~ msgid "Buy Me a Coffee"
#~ msgstr "Achetez-moi un café"
languages/hide-admin-notices-es_ES.mo 0000644 00000002626 14760002125 0013507 0 ustar 00 \ ` V _ q ~ " }
V d Donate a $1 Hide Admin Notices Hide Notices Hide – or show – WordPress Dashboard Notices, Messages, Update Nags etc. ... for everything! Like it? Notifications Tab Show Notices Project-Id-Version: Hide Admin Notices
PO-Revision-Date: 2022-01-31 18:22+0100
Last-Translator:
Language-Team:
Language: es
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n != 1);
X-Generator: Poedit 3.0.1
X-Poedit-Basepath: ..
X-Poedit-Flags-xgettext: --add-comments=translators:
X-Poedit-WPHeader: hide-admin-notices.php
X-Poedit-SourceCharset: UTF-8
X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2
X-Poedit-SearchPath-0: .
X-Poedit-SearchPath-1: includes
X-Poedit-SearchPathExcluded-0: src
X-Poedit-SearchPathExcluded-1: assets
X-Poedit-SearchPathExcluded-2: languages
Dona $1 Ocultar Notificaciones del Tablero Ocultar Notificaciones Oculte, o muestre, los avisos del tablero de WordPress, los mensajes, las molestias de actualización, etc. … ¡para todos! ¿Gusta este? Pestaña de notificaciones Mostrar Notificaciones templates/bug-report-email.html.twig 0000644 00000001062 14760002125 0013550 0 ustar 00
Plugin |
{{ plugin_name }} |
ID |
{{ plugin_id }} |
Version |
{{ plugin_version }} |
Comments |
{{ comments }} |
Notify me? |
{{ notify }} |
User name |
{{ user_name }} |
User email |
{{ user_email }} |