diff --git a/wp-content/plugins/disable-comments/disable-comments.php b/wp-content/plugins/disable-comments/disable-comments.php new file mode 100644 index 0000000000000000000000000000000000000000..17c31d8b726ca84595367f1cf0b45a062e76ba7c --- /dev/null +++ b/wp-content/plugins/disable-comments/disable-comments.php @@ -0,0 +1,456 @@ +<?php +/* +Plugin Name: Disable Comments +Plugin URI: https://wordpress.org/plugins/disable-comments/ +Description: Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. +Version: 1.6 +Author: Samir Shah +Author URI: http://www.rayofsolaris.net/ +License: GPL2 +Text Domain: disable-comments +Domain Path: /languages/ +*/ + +if( !defined( 'ABSPATH' ) ) + exit; + +class Disable_Comments { + const DB_VERSION = 6; + private static $instance = null; + private $options; + private $networkactive; + private $modified_types = array(); + + public static function get_instance() { + if ( is_null( self::$instance ) ) { + self::$instance = new self; + } + return self::$instance; + } + + private function __construct() { + // are we network activated? + $this->networkactive = ( is_multisite() && array_key_exists( plugin_basename( __FILE__ ), (array) get_site_option( 'active_sitewide_plugins' ) ) ); + + // Load options + if( $this->networkactive ) { + $this->options = get_site_option( 'disable_comments_options', array() ); + } + else { + $this->options = get_option( 'disable_comments_options', array() ); + } + + // If it looks like first run, check compat + if( empty( $this->options ) ) { + $this->check_compatibility(); + } + + // Upgrade DB if necessary + $this->check_db_upgrades(); + + $this->init_filters(); + } + + private function check_compatibility() { + if ( version_compare( $GLOBALS['wp_version'], '3.8', '<' ) ) { + require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); + deactivate_plugins( __FILE__ ); + if ( isset( $_GET['action'] ) && ( $_GET['action'] == 'activate' || $_GET['action'] == 'error_scrape' ) ) { + exit( sprintf( __( 'Disable Comments requires WordPress version %s or greater.', 'disable-comments' ), '3.8' ) ); + } + } + } + + private function check_db_upgrades() { + $old_ver = isset( $this->options['db_version'] ) ? $this->options['db_version'] : 0; + if( $old_ver < self::DB_VERSION ) { + if( $old_ver < 2 ) { + // upgrade options from version 0.2.1 or earlier to 0.3 + $this->options['disabled_post_types'] = get_option( 'disable_comments_post_types', array() ); + delete_option( 'disable_comments_post_types' ); + } + if( $old_ver < 5 ) { + // simple is beautiful - remove multiple settings in favour of one + $this->options['remove_everywhere'] = isset( $this->options['remove_admin_menu_comments'] ) ? $this->options['remove_admin_menu_comments'] : false; + foreach( array( 'remove_admin_menu_comments', 'remove_admin_bar_comments', 'remove_recent_comments', 'remove_discussion', 'remove_rc_widget' ) as $v ) + unset( $this->options[$v] ); + } + + foreach( array( 'remove_everywhere', 'permanent', 'extra_post_types' ) as $v ) { + if( !isset( $this->options[$v] ) ) { + $this->options[$v] = false; + } + } + + $this->options['db_version'] = self::DB_VERSION; + $this->update_options(); + } + } + + private function update_options() { + if( $this->networkactive ) { + update_site_option( 'disable_comments_options', $this->options ); + } + else { + update_option( 'disable_comments_options', $this->options ); + } + } + + /* + * Get an array of disabled post type. + */ + private function get_disabled_post_types() { + $types = $this->options['disabled_post_types']; + // Not all extra_post_types might be registered on this particular site + if( $this->networkactive ) { + foreach( (array) $this->options['extra_post_types'] as $extra ) { + if( post_type_exists( $extra ) ) { + $types[] = $extra; + } + } + } + return $types; + } + + /* + * Check whether comments have been disabled on a given post type. + */ + private function is_post_type_disabled( $type ) { + return in_array( $type, $this->get_disabled_post_types() ); + } + + private function init_filters() { + // These need to happen now + if( $this->options['remove_everywhere'] ) { + add_action( 'widgets_init', array( $this, 'disable_rc_widget' ) ); + add_filter( 'wp_headers', array( $this, 'filter_wp_headers' ) ); + add_action( 'template_redirect', array( $this, 'filter_query' ), 9 ); // before redirect_canonical + + // Admin bar filtering has to happen here since WP 3.6 + add_action( 'template_redirect', array( $this, 'filter_admin_bar' ) ); + add_action( 'admin_init', array( $this, 'filter_admin_bar' ) ); + } + + // These can happen later + add_action( 'plugins_loaded', array( $this, 'register_text_domain' ) ); + add_action( 'wp_loaded', array( $this, 'init_wploaded_filters' ) ); + } + + public function register_text_domain() { + load_plugin_textdomain( 'disable-comments', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); + } + + public function init_wploaded_filters(){ + $disabled_post_types = $this->get_disabled_post_types(); + if( !empty( $disabled_post_types ) ) { + foreach( $disabled_post_types as $type ) { + // we need to know what native support was for later + if( post_type_supports( $type, 'comments' ) ) { + $this->modified_types[] = $type; + remove_post_type_support( $type, 'comments' ); + remove_post_type_support( $type, 'trackbacks' ); + } + } + add_filter( 'comments_array', array( $this, 'filter_existing_comments' ), 20, 2 ); + add_filter( 'comments_open', array( $this, 'filter_comment_status' ), 20, 2 ); + add_filter( 'pings_open', array( $this, 'filter_comment_status' ), 20, 2 ); + } + elseif( is_admin() ) { + add_action( 'all_admin_notices', array( $this, 'setup_notice' ) ); + } + + // Filters for the admin only + if( is_admin() ) { + if( $this->networkactive ) { + add_action( 'network_admin_menu', array( $this, 'settings_menu' ) ); + add_action( 'network_admin_menu', array( $this, 'tools_menu' ) ); + add_filter( 'network_admin_plugin_action_links', array( $this, 'plugin_actions_links'), 10, 2 ); + } + else { + add_action( 'admin_menu', array( $this, 'settings_menu' ) ); + add_action( 'admin_menu', array( $this, 'tools_menu' ) ); + add_filter( 'plugin_action_links', array( $this, 'plugin_actions_links'), 10, 2 ); + if( is_multisite() ) // We're on a multisite setup, but the plugin isn't network activated. + register_deactivation_hook( __FILE__, array( $this, 'single_site_deactivate' ) ); + } + + add_action( 'admin_print_footer_scripts', array( $this, 'discussion_notice' ) ); + add_filter( 'plugin_row_meta', array( $this, 'set_plugin_meta' ), 10, 2 ); + + // if only certain types are disabled, remember the original post status + if( !( $this->persistent_mode_allowed() && $this->options['permanent'] ) && !$this->options['remove_everywhere'] ) { + add_action( 'edit_form_advanced', array( $this, 'edit_form_inputs' ) ); + add_action( 'edit_page_form', array( $this, 'edit_form_inputs' ) ); + } + + if( $this->options['remove_everywhere'] ) { + add_action( 'admin_menu', array( $this, 'filter_admin_menu' ), 9999 ); // do this as late as possible + add_action( 'admin_print_footer_scripts-index.php', array( $this, 'dashboard_js' ) ); + add_action( 'wp_dashboard_setup', array( $this, 'filter_dashboard' ) ); + add_filter( 'pre_option_default_pingback_flag', '__return_zero' ); + } + } + // Filters for front end only + else { + add_action( 'template_redirect', array( $this, 'check_comment_template' ) ); + + if( $this->options['remove_everywhere'] ) { + add_filter( 'feed_links_show_comments_feed', '__return_false' ); + add_action( 'wp_footer', array( $this, 'hide_meta_widget_link' ), 100 ); + } + } + } + + /* + * Replace the theme's comment template with a blank one. + * To prevent this, define DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE + * and set it to True + */ + public function check_comment_template() { + if( is_singular() && ( $this->options['remove_everywhere'] || $this->is_post_type_disabled( get_post_type() ) ) ) { + if( !defined( 'DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE' ) || DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE == true ) { + // Kill the comments template. + add_filter( 'comments_template', array( $this, 'dummy_comments_template' ), 20 ); + } + // Remove comment-reply script for themes that include it indiscriminately + wp_deregister_script( 'comment-reply' ); + // feed_links_extra inserts a comments RSS link + remove_action( 'wp_head', 'feed_links_extra', 3 ); + } + } + + public function dummy_comments_template() { + return dirname( __FILE__ ) . '/includes/comments-template.php'; + } + + + /* + * Remove the X-Pingback HTTP header + */ + public function filter_wp_headers( $headers ) { + unset( $headers['X-Pingback'] ); + return $headers; + } + + /* + * Issue a 403 for all comment feed requests. + */ + public function filter_query() { + if( is_comment_feed() ) { + wp_die( __( 'Comments are closed.' ), '', array( 'response' => 403 ) ); + } + } + + /* + * Remove comment links from the admin bar. + */ + public function filter_admin_bar() { + if( is_admin_bar_showing() ) { + // Remove comments links from admin bar + remove_action( 'admin_bar_menu', 'wp_admin_bar_comments_menu', 60 ); + if( is_multisite() ) { + add_action( 'admin_bar_menu', array( $this, 'remove_network_comment_links' ), 500 ); + } + } + } + + /* + * Remove comment links from the admin bar in a multisite network. + */ + public function remove_network_comment_links( $wp_admin_bar ) { + if( $this->networkactive && is_user_logged_in() ) { + foreach( (array) $wp_admin_bar->user->blogs as $blog ) { + $wp_admin_bar->remove_menu( 'blog-' . $blog->userblog_id . '-c' ); + } + } + else { + // We have no way to know whether the plugin is active on other sites, so only remove this one + $wp_admin_bar->remove_menu( 'blog-' . get_current_blog_id() . '-c' ); + } + } + + public function edit_form_inputs() { + global $post; + // Without a dicussion meta box, comment_status will be set to closed on new/updated posts + if( in_array( $post->post_type, $this->modified_types ) ) { + echo '<input type="hidden" name="comment_status" value="' . $post->comment_status . '" /><input type="hidden" name="ping_status" value="' . $post->ping_status . '" />'; + } + } + + public function discussion_notice(){ + $disabled_post_types = $this->get_disabled_post_types(); + if( get_current_screen()->id == 'options-discussion' && !empty( $disabled_post_types ) ) { + $names = array(); + foreach( $disabled_post_types as $type ) + $names[$type] = get_post_type_object( $type )->labels->name; +?> +<script> +jQuery(document).ready(function($){ + $(".wrap h2").first().after( <?php echo json_encode( '<div style="color: #900"><p>' . sprintf( __( 'Note: The <em>Disable Comments</em> plugin is currently active, and comments are completely disabled on: %s. Many of the settings below will not be applicable for those post types.', 'disable-comments' ), implode( __( ', ' ), $names ) ) . '</p></div>' );?> ); +}); +</script> +<?php + } + } + + /** + * Return context-aware settings page URL + */ + private function settings_page_url() { + $base = $this->networkactive ? network_admin_url( 'settings.php' ) : admin_url( 'options-general.php' ); + return add_query_arg( 'page', 'disable_comments_settings', $base ); + } + + /** + * Return context-aware tools page URL + */ + private function tools_page_url() { + $base = $this->networkactive ? network_admin_url( 'settings.php' ) : admin_url( 'tools.php' ); + return add_query_arg( 'page', 'disable_comments_tools', $base ); + } + + public function setup_notice(){ + if( strpos( get_current_screen()->id, 'settings_page_disable_comments_settings' ) === 0 ) + return; + $hascaps = $this->networkactive ? is_network_admin() && current_user_can( 'manage_network_plugins' ) : current_user_can( 'manage_options' ); + if( $hascaps ) { + echo '<div class="updated fade"><p>' . sprintf( __( 'The <em>Disable Comments</em> plugin is active, but isn\'t configured to do anything yet. Visit the <a href="%s">configuration page</a> to choose which post types to disable comments on.', 'disable-comments'), esc_attr( $this->settings_page_url() ) ) . '</p></div>'; + } + } + + public function filter_admin_menu(){ + global $pagenow; + + if ( $pagenow == 'comment.php' || $pagenow == 'edit-comments.php' || $pagenow == 'options-discussion.php' ) + wp_die( __( 'Comments are closed.' ), '', array( 'response' => 403 ) ); + + remove_menu_page( 'edit-comments.php' ); + remove_submenu_page( 'options-general.php', 'options-discussion.php' ); + } + + public function filter_dashboard(){ + remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' ); + } + + public function dashboard_js(){ + echo '<script> + jQuery(function($){ + $("#dashboard_right_now .comment-count, #latest-comments").hide(); + $("#welcome-panel .welcome-comments").parent().hide(); + }); + </script>'; + } + + public function hide_meta_widget_link(){ + if ( is_active_widget( false, false, 'meta', true ) && wp_script_is( 'jquery', 'enqueued' ) ) { + echo '<script> jQuery(function($){ $(".widget_meta a[href=\'' . esc_url( get_bloginfo( 'comments_rss2_url' ) ) . '\']").parent().remove(); }); </script>'; + } + } + + public function filter_existing_comments($comments, $post_id) { + $post = get_post( $post_id ); + return ( $this->options['remove_everywhere'] || $this->is_post_type_disabled( $post->post_type ) ) ? array() : $comments; + } + + public function filter_comment_status( $open, $post_id ) { + $post = get_post( $post_id ); + return ( $this->options['remove_everywhere'] || $this->is_post_type_disabled( $post->post_type ) ) ? false : $open; + } + + public function disable_rc_widget() { + unregister_widget( 'WP_Widget_Recent_Comments' ); + } + + public function set_plugin_meta( $links, $file ) { + static $plugin; + $plugin = plugin_basename( __FILE__ ); + if ( $file == $plugin ) { + $links[] = '<a href="https://github.com/solarissmoke/disable-comments">GitHub</a>'; + } + return $links; + } + + /** + * Add links to Settings page + */ + public function plugin_actions_links( $links, $file ) { + static $plugin; + $plugin = plugin_basename( __FILE__ ); + if( $file == $plugin && current_user_can('manage_options') ) { + array_unshift( + $links, + sprintf( '<a href="%s">%s</a>', esc_attr( $this->settings_page_url() ), __( 'Settings' ) ), + sprintf( '<a href="%s">%s</a>', esc_attr( $this->tools_page_url() ), __( 'Tools' ) ) + ); + } + + return $links; + } + + public function settings_menu() { + $title = __( 'Disable Comments', 'disable-comments' ); + if( $this->networkactive ) + add_submenu_page( 'settings.php', $title, $title, 'manage_network_plugins', 'disable_comments_settings', array( $this, 'settings_page' ) ); + else + add_submenu_page( 'options-general.php', $title, $title, 'manage_options', 'disable_comments_settings', array( $this, 'settings_page' ) ); + } + + public function settings_page() { + include dirname( __FILE__ ) . '/includes/settings-page.php'; + } + + public function tools_menu() { + $title = __( 'Delete Comments', 'disable-comments' ); + if( $this->networkactive ) + add_submenu_page( 'settings.php', $title, $title, 'manage_network_plugins', 'disable_comments_tools', array( $this, 'tools_page' ) ); + else + add_submenu_page( 'tools.php', $title, $title, 'manage_options', 'disable_comments_tools', array( $this, 'tools_page' ) ); + } + + public function tools_page() { + include dirname( __FILE__ ) . '/includes/tools-page.php'; + } + + private function enter_permanent_mode() { + $types = $this->get_disabled_post_types(); + if( empty( $types ) ) + return; + + global $wpdb; + + if( $this->networkactive ) { + // NOTE: this can be slow on large networks! + $blogs = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs WHERE site_id = %d AND public = '1' AND archived = '0' AND deleted = '0'", $wpdb->siteid ) ); + + foreach ( $blogs as $id ) { + switch_to_blog( $id ); + $this->close_comments_in_db( $types ); + restore_current_blog(); + } + } + else { + $this->close_comments_in_db( $types ); + } + } + + private function close_comments_in_db( $types ){ + global $wpdb; + $bits = implode( ', ', array_pad( array(), count( $types ), '%s' ) ); + $wpdb->query( $wpdb->prepare( "UPDATE `$wpdb->posts` SET `comment_status` = 'closed', ping_status = 'closed' WHERE `post_type` IN ( $bits )", $types ) ); + } + + private function persistent_mode_allowed() { + if( defined( 'DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE' ) && DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE == false ) { + return false; + } + // The filter below is deprecated and will be removed in future versions. Use the define instead. + return apply_filters( 'disable_comments_allow_persistent_mode', true ); + } + + public function single_site_deactivate() { + // for single sites, delete the options upon deactivation, not uninstall + delete_option( 'disable_comments_options' ); + } +} + +Disable_Comments::get_instance(); diff --git a/wp-content/plugins/disable-comments/includes/comments-template.php b/wp-content/plugins/disable-comments/includes/comments-template.php new file mode 100644 index 0000000000000000000000000000000000000000..e8b1969f8ad534a0860b7a31380afc6e0c5507f0 --- /dev/null +++ b/wp-content/plugins/disable-comments/includes/comments-template.php @@ -0,0 +1,4 @@ +<?php +/* Dummy comments template file. + * This replaces the theme's comment template when comments are disabled everywhere + */ \ No newline at end of file diff --git a/wp-content/plugins/disable-comments/includes/settings-page.php b/wp-content/plugins/disable-comments/includes/settings-page.php new file mode 100644 index 0000000000000000000000000000000000000000..c0330d29a4a72823e53334f8da78082074834afb --- /dev/null +++ b/wp-content/plugins/disable-comments/includes/settings-page.php @@ -0,0 +1,114 @@ +<?php +if( !defined( 'ABSPATH' ) ) { + exit; +} + +$typeargs = array( 'public' => true ); +if( $this->networkactive ) { + $typeargs['_builtin'] = true; // stick to known types for network +} +$types = get_post_types( $typeargs, 'objects' ); +foreach( array_keys( $types ) as $type ) { + if( ! in_array( $type, $this->modified_types ) && ! post_type_supports( $type, 'comments' ) ) // the type doesn't support comments anyway + unset( $types[$type] ); +} + +$persistent_allowed = $this->persistent_mode_allowed(); + +if ( isset( $_POST['submit'] ) ) { + check_admin_referer( 'disable-comments-admin' ); + $this->options['remove_everywhere'] = ( $_POST['mode'] == 'remove_everywhere' ); + + if( $this->options['remove_everywhere'] ) + $disabled_post_types = array_keys( $types ); + else + $disabled_post_types = empty( $_POST['disabled_types'] ) ? array() : (array) $_POST['disabled_types']; + + $disabled_post_types = array_intersect( $disabled_post_types, array_keys( $types ) ); + + // entering permanent mode, or post types have changed + if( $persistent_allowed && !empty( $_POST['permanent'] ) && ( !$this->options['permanent'] || $disabled_post_types != $this->options['disabled_post_types'] ) ) + $this->enter_permanent_mode(); + + $this->options['disabled_post_types'] = $disabled_post_types; + $this->options['permanent'] = $persistent_allowed && isset( $_POST['permanent'] ); + + // Extra custom post types + if( $this->networkactive && !empty( $_POST['extra_post_types'] ) ) { + $extra_post_types = array_filter( array_map( 'sanitize_key', explode( ',', $_POST['extra_post_types'] ) ) ); + $this->options['extra_post_types'] = array_diff( $extra_post_types, array_keys( $types ) ); // Make sure we don't double up builtins + } + + $this->update_options(); + $cache_message = WP_CACHE ? ' <strong>' . __( 'If a caching/performance plugin is active, please invalidate its cache to ensure that changes are reflected immediately.' ) . '</strong>' : ''; + echo '<div id="message" class="updated"><p>' . __( 'Options updated. Changes to the Admin Menu and Admin Bar will not appear until you leave or reload this page.', 'disable-comments' ) . $cache_message . '</p></div>'; +} +?> +<style> .indent {padding-left: 2em} </style> +<div class="wrap"> +<h1><?php _e( 'Disable Comments', 'disable-comments') ?></h1> +<?php +if( $this->networkactive ) + echo '<div class="updated"><p>' . __( '<em>Disable Comments</em> is Network Activated. The settings below will affect <strong>all sites</strong> in this network.', 'disable-comments') . '</p></div>'; +if( WP_CACHE ) + echo '<div class="updated"><p>' . __( "It seems that a caching/performance plugin is active on this site. Please manually invalidate that plugin's cache after making any changes to the settings below.", 'disable-comments') . '</p></div>'; +?> +<form action="" method="post" id="disable-comments"> +<ul> +<li><label for="remove_everywhere"><input type="radio" id="remove_everywhere" name="mode" value="remove_everywhere" <?php checked( $this->options['remove_everywhere'] );?> /> <strong><?php _e( 'Everywhere', 'disable-comments') ?></strong>: <?php _e( 'Disable all comment-related controls and settings in WordPress.', 'disable-comments') ?></label> + <p class="indent"><?php printf( __( '%s: This option is global and will affect your entire site. Use it only if you want to disable comments <em>everywhere</em>. A complete description of what this option does is <a href="%s" target="_blank">available here</a>.', 'disable-comments' ), '<strong style="color: #900">' . __('Warning', 'disable-comments') . '</strong>', 'https://wordpress.org/plugins/disable-comments/other_notes/' ); ?></p> +</li> +<li><label for="selected_types"><input type="radio" id="selected_types" name="mode" value="selected_types" <?php checked( ! $this->options['remove_everywhere'] );?> /> <strong><?php _e( 'On certain post types', 'disable-comments') ?></strong>:</label> + <p></p> + <ul class="indent" id="listoftypes"> + <?php foreach( $types as $k => $v ) echo "<li><label for='post-type-$k'><input type='checkbox' name='disabled_types[]' value='$k' ". checked( in_array( $k, $this->options['disabled_post_types'] ), true, false ) ." id='post-type-$k'> {$v->labels->name}</label></li>";?> + </ul> + <?php if( $this->networkactive ) :?> + <p class="indent" id="extratypes"><?php _e( 'Only the built-in post types appear above. If you want to disable comments on other custom post types on the entire network, you can supply a comma-separated list of post types below (use the slug that identifies the post type).', 'disable-comments' ); ?> + <br /><label><?php _e( 'Custom post types:', 'disable-comments' ); ?> <input type="text" name="extra_post_types" size="30" value="<?php echo implode( ', ', (array) $this->options['extra_post_types'] ); ?>" /></label></p> + <?php endif; ?> + <p class="indent"><?php _e( 'Disabling comments will also disable trackbacks and pingbacks. All comment-related fields will also be hidden from the edit/quick-edit screens of the affected posts. These settings cannot be overridden for individual posts.', 'disable-comments') ?></p> +</li> +</ul> + +<?php if( $persistent_allowed && $this->options['permanent'] ): ?> +<h2><?php _e( 'Other options', 'disable-comments') ?></h2> +<ul> + <li> + <?php + echo '<label for="permanent"><input type="checkbox" name="permanent" id="permanent" '. checked( $this->options['permanent'], true, false ) . '> <strong>' . __( 'Use persistent mode', 'disable-comments') . '</strong></label>'; + echo '<p class="indent">' . sprintf( __( '%s: <strong>This will make persistent changes to your database — comments will remain closed even if you later disable the plugin!</strong> You should not use it if you only want to disable comments temporarily. Please <a href="%s" target="_blank">read the FAQ</a> before selecting this option.', 'disable-comments'), '<strong style="color: #900">' . __('Warning', 'disable-comments') . '</strong>', 'https://wordpress.org/plugins/disable-comments/faq/' ) . '</p>'; + if( $this->networkactive ) + echo '<p class="indent">' . sprintf( __( '%s: Entering persistent mode on large multi-site networks requires a large number of database queries and can take a while. Use with caution!', 'disable-comments'), '<strong style="color: #900">' . __('Warning', 'disable-comments') . '</strong>' ) . '</p>'; + ?> + </li> +</ul> +<?php endif; ?> + +<?php wp_nonce_field( 'disable-comments-admin' ); ?> +<p class="submit"><input class="button-primary" type="submit" name="submit" value="<?php _e( 'Save Changes', 'disable-comments') ?>"></p> +</form> +</div> +<script> +jQuery(document).ready(function($){ + function disable_comments_uihelper(){ + var indiv_bits = $("#listoftypes, #extratypes"); + if( $("#remove_everywhere").is(":checked") ) + indiv_bits.css("color", "#888").find(":input").attr("disabled", true ); + else + indiv_bits.css("color", "#000").find(":input").attr("disabled", false ); + } + + $("#disable-comments :input").change(function(){ + $("#message").slideUp(); + disable_comments_uihelper(); + }); + + disable_comments_uihelper(); + + $("#permanent").change( function() { + if( $(this).is(":checked") && ! confirm(<?php echo json_encode( sprintf( __( '%s: Selecting this option will make persistent changes to your database. Are you sure you want to enable it?', 'disable-comments'), __( 'Warning', 'disable-comments' ) ) );?>) ) + $(this).attr("checked", false ); + }); +}); +</script> diff --git a/wp-content/plugins/disable-comments/includes/tools-page.php b/wp-content/plugins/disable-comments/includes/tools-page.php new file mode 100644 index 0000000000000000000000000000000000000000..8ae4f65cb44a0ce507d4b3e0cfca902a5e02a3d9 --- /dev/null +++ b/wp-content/plugins/disable-comments/includes/tools-page.php @@ -0,0 +1,122 @@ +<?php +if( !defined( 'ABSPATH' ) ) { + exit; +} +?> +<div class="wrap"> +<h1><?php _e( 'Delete Comments', 'disable-comments') ?></h1> +<?php + +global $wpdb; +$comments_count = $wpdb->get_var("SELECT count(comment_id) from $wpdb->comments"); +if ( $comments_count <= 0 ) { ?> +<p><strong><?php _e( 'No comments available for deletion.', 'disable-comments') ?></strong></p> +</div> +<?php + return; +} + +$typeargs = array( 'public' => true ); +if( $this->networkactive ) { + $typeargs['_builtin'] = true; // stick to known types for network +} +$types = get_post_types( $typeargs, 'objects' ); +foreach( array_keys( $types ) as $type ) { + if( ! in_array( $type, $this->modified_types ) && ! post_type_supports( $type, 'comments' ) ) // the type doesn't support comments anyway + unset( $types[$type] ); +} + +if ( isset( $_POST['delete'] ) && isset( $_POST['delete_mode'] ) ) { + check_admin_referer( 'delete-comments-admin' ); + + if( $_POST['delete_mode'] == 'delete_everywhere' ) { + if ( $wpdb->query( "TRUNCATE $wpdb->commentmeta" ) != FALSE ){ + if ( $wpdb->query( "TRUNCATE $wpdb->comments" ) != FALSE ){ + $wpdb->query( "UPDATE $wpdb->posts SET comment_count = 0 WHERE post_author != 0" ); + $wpdb->query( "OPTIMIZE TABLE $wpdb->commentmeta" ); + $wpdb->query( "OPTIMIZE TABLE $wpdb->comments" ); + echo "<p style='color:green'><strong>" . __( 'All comments have been deleted.', 'disable-comments' ) . "</strong></p>"; + } else { + echo "<p style='color:red'><strong>" . __( 'Internal error occured. Please try again later.', 'disable-comments' ) . "</strong></p>"; + } + } else { + echo "<p style='color:red'><strong>" . __( 'Internal error occured. Please try again later.', 'disable-comments' ) . "</strong></p>"; + } + } else { + $delete_post_types = empty( $_POST['delete_types'] ) ? array() : (array) $_POST['delete_types']; + $delete_post_types = array_intersect( $delete_post_types, array_keys( $types ) ); + + // Extra custom post types + if( $this->networkactive && !empty( $_POST['delete_extra_post_types'] ) ) { + $delete_extra_post_types = array_filter( array_map( 'sanitize_key', explode( ',', $_POST['delete_extra_post_types'] ) ) ); + $delete_extra_post_types = array_diff( $delete_extra_post_types, array_keys( $types ) ); // Make sure we don't double up builtins + $delete_post_types = array_merge($delete_post_types, $delete_extra_post_types); + } + + if ( ! empty( $delete_post_types ) ) { + // Loop through post_types and remove comments/meta and set posts comment_count to 0 + foreach ( $delete_post_types as $delete_post_type ) { + $wpdb->query( "DELETE cmeta FROM $wpdb->commentmeta cmeta INNER JOIN $wpdb->comments comments ON cmeta.comment_id=comments.comment_ID INNER JOIN $wpdb->posts posts ON comments.comment_post_ID=posts.ID WHERE posts.post_type = '$delete_post_type'" ); + $wpdb->query( "DELETE comments FROM $wpdb->comments comments INNER JOIN $wpdb->posts posts ON comments.comment_post_ID=posts.ID WHERE posts.post_type = '$delete_post_type'" ); + $wpdb->query( "UPDATE $wpdb->posts SET comment_count = 0 WHERE post_author != 0 AND post_type = '$delete_post_type'" ); + echo "<p style='color:green'><strong>" . sprintf( __( 'All comments have been deleted for %ss.', 'disable-comments' ), $delete_post_type ) . "</strong></p>"; + } + + $wpdb->query( "OPTIMIZE TABLE $wpdb->commentmeta" ); + $wpdb->query( "OPTIMIZE TABLE $wpdb->comments" ); + + echo "<h4 style='color:green'><strong>" . __( 'Comment Deletion Complete', 'disable-comments') . "</strong></h4>"; + } + + } + + $comments_count = $wpdb->get_var("SELECT count(comment_id) from $wpdb->comments"); + if ( $comments_count <= 0 ) { ?> + <p><strong><?php _e( 'No comments available for deletion.', 'disable-comments') ?></strong></p> + </div> + <?php + return; + } + +} +?> +<form action="" method="post" id="delete-comments"> +<ul> +<li><label for="delete_everywhere"><input type="radio" id="delete_everywhere" name="delete_mode" value="delete_everywhere" <?php checked( $this->options['remove_everywhere'] );?> /> <strong><?php _e( 'Everywhere', 'disable-comments') ?></strong>: <?php _e( 'Delete all comments in WordPress.', 'disable-comments') ?></label> + <p class="indent"><?php printf( __( '%s: This function and will affect your entire site. Use it only if you want to delete comments <em>everywhere</em>.', 'disable-comments' ), '<strong style="color: #900">' . __('Warning', 'disable-comments') . '</strong>' ); ?></p> +</li> +<li><label for="selected_delete_types"><input type="radio" id="selected_delete_types" name="delete_mode" value="selected_delete_types" <?php checked( ! $this->options['remove_everywhere'] );?> /> <strong><?php _e( 'For certain post types', 'disable-comments') ?></strong>:</label> + <p></p> + <ul class="indent" id="listofdeletetypes"> + <?php foreach( $types as $k => $v ) echo "<li><label for='post-type-$k'><input type='checkbox' name='delete_types[]' value='$k' ". checked( in_array( $k, $this->options['disabled_post_types'] ), true, false ) ." id='post-type-$k'> {$v->labels->name}</label></li>";?> + </ul> + <?php if( $this->networkactive ) :?> + <p class="indent" id="extradeletetypes"><?php _e( 'Only the built-in post types appear above. If you want to disable comments on other custom post types on the entire network, you can supply a comma-separated list of post types below (use the slug that identifies the post type).', 'disable-comments' ); ?> + <br /><label><?php _e( 'Custom post types:', 'disable-comments' ); ?> <input type="text" name="delete_extra_post_types" size="30" value="<?php echo implode( ', ', (array) $this->options['extra_post_types'] ); ?>" /></label></p> + <?php endif; ?> + <p class="indent"><?php printf( __( '%s: Deleting comments will remove existing comment entries in the database and cannot be reverted without a database backup.', 'disable-comments'), '<strong style="color: #900">' . __('Warning', 'disable-comments') . '</strong>' ); ?></p> +</li> +</ul> + +<?php wp_nonce_field( 'delete-comments-admin' ); ?> +<h4><?php _e( 'Total Comments:', 'disable-comments' ); ?> <?php echo $comments_count; ?></h4> +<p class="submit"><input class="button-primary" type="submit" name="delete" value="<?php _e( 'Delete Comments', 'disable-comments') ?>"></p> +</form> +</div> +<script> +jQuery(document).ready(function($){ + function delete_comments_uihelper(){ + var toggle_bits = $("#listofdeletetypes, #extradeletetypes"); + if( $("#delete_everywhere").is(":checked") ) + toggle_bits.css("color", "#888").find(":input").attr("disabled", true ); + else + toggle_bits.css("color", "#000").find(":input").attr("disabled", false ); + } + + $("#delete-comments :input").change(function(){ + delete_comments_uihelper(); + }); + + delete_comments_uihelper(); +}); +</script> diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-de_DE.mo b/wp-content/plugins/disable-comments/languages/disable-comments-de_DE.mo new file mode 100644 index 0000000000000000000000000000000000000000..e855829db845f417e69597203cb3558c7f884d41 Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-de_DE.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-de_DE.po b/wp-content/plugins/disable-comments/languages/disable-comments-de_DE.po new file mode 100644 index 0000000000000000000000000000000000000000..eed223cc167f4cad37aa9e5c5951f5aa3614480a --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-de_DE.po @@ -0,0 +1,103 @@ +# Translation of Disable Comments in German +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"PO-Revision-Date: 2013-12-20 07:54+0300\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: GlotPress/0.1\n" +"Project-Id-Version: Disable Comments\n" +"POT-Creation-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" + +#: disable-comments.php:358 +msgid "%s: <strong>This will make persistent changes to your database — comments will remain closed even if you later disable the plugin!</strong> You should not use it if you only want to disable comments temporarily. Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting this option." +msgstr "%s: <strong>Dies wird bleibende Änderungen an Datenbank — Kommentaren vornehmen, die auch nach der Deaktivierung des Plugins bestehen bleiben!</strong> Nutze diese Option nicht, wenn du die Kommentare nur temporär deaktivieren willst. Bitte <a href=\"%s\" target=\"_blank\">lies die FAQs</a> bevor du diese Option nutzt." + +msgid "http://wordpress.org/extend/plugins/disable-comments/" +msgstr "http://wordpress.org/extend/plugins/disable-comments/" + +msgid "Samir Shah" +msgstr "Samir Shah" + +msgid "http://rayofsolaris.net/" +msgstr "http://rayofsolaris.net/" + +#: disable-comments.php:352 +msgid "Other options" +msgstr "Weitere Optionen" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Kommentare deaktivieren benötigt WordPress Version %s oder höher." + +#: disable-comments.php:200 +msgid "Note: The <em>Disable Comments</em> plugin is currently active, and comments are completely disabled on: %s. Many of the settings below will not be applicable for those post types." +msgstr "Anmerkung: Das <em>Kommentar deaktivieren</em>-Plugin ist aktiv und Kommentare sind für %s deaktiviert. Viele der Einstellungen unten lassen sich dadurch auf diesen Inhaltstyp nicht anwenden." + +#: disable-comments.php:342 +msgid "%s: This option is global and will affect your entire site. Use it only if you want to disable comments <em>everywhere</em>. A complete description of what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "%s: Diese Option ist global und beeinflusst die gesamte Seite. Nutze diese nur, wenn du Kommentare <em>überall</em> deaktivieren willst. Eine ausführliche Beschreibung dieser Option ist <a href=\"%s\" target=\"_blank\">hier verfügbar (EN)</a>." + +msgid "Allows administrators to globally disable comments on their site. Comments can be disabled according to post type." +msgstr "Ermöglicht es Administratoren Kommentare global auf der Seite zu deaktivieren. Kommentare können auch für bestimmte Inhaltstyp deaktiviert werden." + +#: disable-comments.php:341 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "Deaktiviere alle Kommentar-bezogenen Kontrollen und Einstellungen in WordPress." + +#: disable-comments.php:342 +#: disable-comments.php:358 +#: disable-comments.php:360 +#: disable-comments.php:385 +msgid "Warning" +msgstr "Achtung" + +#: disable-comments.php:344 +msgid "On certain post types" +msgstr "Für bestimmte Inhaltstypen" + +#: disable-comments.php:349 +msgid "Disabling comments will also disable trackbacks and pingbacks. All comment-related fields will also be hidden from the edit/quick-edit screens of the affected posts. These settings cannot be overridden for individual posts." +msgstr "Das Deaktivieren von Kommentaren deaktiviert auch Trackbacks und Pingbacks. Alle Kommentar-bezogenen Felder werden außerdem auf den Bearbeiten/QuickEdit-Seiten der Beiträge ausgeblendet. Diese Einstellungen können nicht für einzelne Beiträge überschrieben werden." + +#: disable-comments.php:357 +msgid "Use persistent mode" +msgstr "Persistent-Mode nutzen" + +#: disable-comments.php:360 +msgid "%s: Entering persistent mode on large multi-site networks requires a large number of database queries and can take a while. Use with caution!" +msgstr "%s: Persistent-Mode auf großen Multi-Site Netzwerken zu aktivieren hat eine große Anzahl von Datenbankzugriffen zur Folge und kann einige Zeit in Anspruch nehmen. Bitte mit Vorsicht nutzen!" + +#: disable-comments.php:385 +msgid "%s: Selecting this option will make persistent changes to your database. Are you sure you want to enable it?" +msgstr "%s: Die Wahl dieser Option hat permanente Änderungen in der Datenbank zur Folge. Bist du sicher, dass du sie aktivieren willst?" + +#: disable-comments.php:220 +msgid "The <em>Disable Comments</em> plugin is active, but isn't configured to do anything yet. Visit the <a href=\"%s\">configuration page</a> to choose which post types to disable comments on." +msgstr "Das <em>Kommentare deaktivieren</em>-Plugin ist aktiv aber noch nicht konfiguriert. Rufe die <a href=\"%s\">Einstellungsseite</a> um auszuwählen für welche Inhaltstypen Kommentare deaktiviert werden sollen." + +#: disable-comments.php:288 +#: disable-comments.php:332 +msgid "Disable Comments" +msgstr "Kommentare deaktivieren" + +#: disable-comments.php:326 +msgid "Options updated. Changes to the Admin Menu and Admin Bar will not appear until you leave or reload this page." +msgstr "Änderungen übernommen. Veränderungen an Admin Menü und Admin Bar werden nicht sichtbar bevor du die Seite verlässt oder neu lädst." + +#: disable-comments.php:335 +msgid "<em>Disable Comments</em> is Network Activated. The settings below will affect <strong>all sites</strong> in this network." +msgstr "<em>Kommentare deaktivieren</em> ist für alle Seiten aktiviert. Die Einstellungen unten betreffen <strong>alle Seiten</strong> des Netzwerks." + +#: disable-comments.php:337 +msgid "It seems that a caching/performance plugin is active on this site. Please manually invalidate that plugin's cache after making any changes to the settings below." +msgstr "Es scheint ein Caching/Performance-Plugin aktiv zu sein. Bitte leere den Cache des Plugins nach der Änderung der Optionen auf dieser Seite." + +#: disable-comments.php:341 +msgid "Everywhere" +msgstr "Überall" + diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-es_ES.mo b/wp-content/plugins/disable-comments/languages/disable-comments-es_ES.mo new file mode 100644 index 0000000000000000000000000000000000000000..0d34b1ddc20efdb3a39c3bee991574f3f38eee9f Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-es_ES.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-es_ES.po b/wp-content/plugins/disable-comments/languages/disable-comments-es_ES.po new file mode 100644 index 0000000000000000000000000000000000000000..8cff50b49023204c483bfabe755f5593fe5535be --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-es_ES.po @@ -0,0 +1,110 @@ +# Copyright (C) 2013 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 0.9.1\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/disable-comments\n" +"POT-Creation-Date: 2013-06-19 05:01:50+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2014-10-14 09:39+0100\n" +"Last-Translator: David Bravo <dbravo@dimensionmultimedia.com>\n" +"Language-Team: Dimensión multimedia <dbravo@dimensionmultimedia.com>\n" +"Plural-Forms: s\n" +"X-Poedit-Language: Spanish\n" +"X-Poedit-Country: SPAIN\n" +"X-Poedit-SourceCharset: utf-8\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Es necesario una versión de WordPress %s o superior para Desactivar Comentarios." + +#: disable-comments.php:169 +msgid "Note: The <em>Disable Comments</em> plugin is currently active, and comments are completely disabled on: %s. Many of the settings below will not be applicable for those post types." +msgstr "Nota: El plugin <em>Desactivar Comentarios</em> está activo actualmente, y los comentarios están completamente desactivados en: %s. Muchos de los parámetros de abajo no serán aplicables para estos tipos de entradas." + +#: disable-comments.php:169 +msgid ", " +msgstr "," + +#: disable-comments.php:183 +msgid "The <em>Disable Comments</em> plugin is active, but isn't configured to do anything yet. Visit the <a href=\"%s\">configuration page</a> to choose which post types to disable comments on." +msgstr "El plugin <em>Desactivar Comentarios</em> está activo, pero no está configurado para hacer nada aún. Visita la <a href=\"%s\">página de configuración</a> para elegir en qué tipo de entradas quieres deshabilitar los comentarios." + +#: disable-comments.php:225 +#: disable-comments.php:269 +msgid "Disable Comments" +msgstr "Desactivar Comentarios" + +#: disable-comments.php:262 +msgid "If a caching/performance plugin is active, please invalidate its cache to ensure that changes are reflected immediately." +msgstr "Si hay activo un plugin de cacheo/rendimiento, por faror, invalida su caché para asegurarte de que los cambios se reflejan inmediatamente." + +#: disable-comments.php:263 +msgid "Options updated. Changes to the Admin Menu and Admin Bar will not appear until you leave or reload this page." +msgstr "Opciones actualizadas. Los cambios del Menú de Administración o de la Barra de Administración no aparecerán hasta que abandones o recargues esta página." + +#: disable-comments.php:272 +msgid "<em>Disable Comments</em> is Network Activated. The settings below will affect <strong>all sites</strong> in this network." +msgstr "<em>Desactivar Comentarios</em> está Activado en Red. Los parámetros de abajo afectarán a <strong>todos los sitios</strong> de esta red." + +#: disable-comments.php:274 +msgid "It seems that a caching/performance plugin is active on this site. Please manually invalidate that plugin's cache after making any changes to the settings below." +msgstr "Parece que hay un plugin de caché/rendimiento activo en este sitio. Por favor, invalida manualmente la caché de ese plugin tras hacer cualquier cambio en los parámetros de abajo." + +#: disable-comments.php:278 +msgid "Everywhere" +msgstr "En todos los sitios" + +#: disable-comments.php:278 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "Deshabilitar todos los controles y configuraciones relacionadas con comentarios de WordPress." + +#: disable-comments.php:279 +msgid "%s: This option is global and will affect your entire site. Use it only if you want to disable comments <em>everywhere</em>. A complete description of what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "%s: Esta opción es global y afectará a todo tu sitio. Utilízala sólo si quieres deshabilitar los comentarios <em>en todos los sitios</em>. Puedes encontrar una descripción completa sobre lo que hace esta opción <a href=\"%s\" target=\"_blank\">aquí</a>." + +#: disable-comments.php:279 +#: disable-comments.php:295 +#: disable-comments.php:297 +#: disable-comments.php:325 +msgid "Warning" +msgstr "Aviso" + +#: disable-comments.php:281 +msgid "On certain post types" +msgstr "En determinados tipos de entradas" + +#: disable-comments.php:286 +msgid "Disabling comments will also disable trackbacks and pingbacks. All comment-related fields will also be hidden from the edit/quick-edit screens of the affected posts. These settings cannot be overridden for individual posts." +msgstr "Deshabilitando los comentarios tambien deshabilitará los trackbacks y pingbacks. Todos los campos relacionados con comentarios también serán ocultados desde las pantallas de edición y edición rápida de las entradas afectadas. Estos parámetros no pueden ser sobreescritos para entradas individuales." + +#: disable-comments.php:289 +msgid "Other options" +msgstr "Otras opciones" + +#: disable-comments.php:294 +msgid "Use persistent mode" +msgstr "Usar modo persistente" + +#: disable-comments.php:295 +msgid "%s: <strong>This will make persistent changes to your database — comments will remain closed even if you later disable the plugin!</strong> You should not use it if you only want to disable comments temporarily. Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting this option." +msgstr "%s: <strong>Esto hará cambios permanentes a tu base de datos — ¡los comentarios permanecerán cerrados incluso si después desactivas el plugin! No deberías utilizar esta opción si sólo quieres deshabilitar los comentarios temporalmente. Por favor, <a href=\"%s\" target=\"_blank\">consulta las FAQ</a> antes de seleccionar esta opción. " + +#: disable-comments.php:297 +msgid "%s: Entering persistent mode on large multi-site networks requires a large number of database queries and can take a while. Use with caution!" +msgstr "%s: Activar el modo permanente en redes multisitio grandes requiere un gran número de peticiones a la base de datos y puede tardar un buen rato. ¡Utilízalo con precaución!" + +#: disable-comments.php:300 +msgid "Persistent mode has been manually disabled. See the <a href=\"%s\" target=\"_blank\">FAQ</a> for more information." +msgstr "El modo permanente ha sido manualmente deshabilitado. Por favor, consulta las <a href=\"%s\" target=\"_blank\">FAQ</a> para más información." + +#: disable-comments.php:305 +msgid "Save Changes" +msgstr "Guardar Cambios" + +#: disable-comments.php:325 +msgid "%s: Selecting this option will make persistent changes to your database. Are you sure you want to enable it?" +msgstr "%s: Selecionando esta opción hará cambios permanentes en tu base de datos. ¿Estás seguro de querer habilitarlo?" + diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-fa_ir.mo b/wp-content/plugins/disable-comments/languages/disable-comments-fa_ir.mo new file mode 100644 index 0000000000000000000000000000000000000000..9f72b9f8fe3648ce1013b10a9842a8827960f16c Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-fa_ir.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-fa_ir.po b/wp-content/plugins/disable-comments/languages/disable-comments-fa_ir.po new file mode 100644 index 0000000000000000000000000000000000000000..6356f7b29288000da3590fab0ab98c94cb9ce0e4 --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-fa_ir.po @@ -0,0 +1,200 @@ +# Copyright (C) 2013 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 1.2\n" +"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/disable-comments\n" +"POT-Creation-Date: 2015-02-03 08:04:31+00:00\n" +"PO-Revision-Date: 2015-09-02 13:00+0430\n" +"Last-Translator: fxbenard | FxB <fx@fxbenard.com>\n" +"Language-Team: faraed.com <support@faraed.com>\n" +"Language: fa_IR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.2\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "غیر فعال کردن نظرات مورد نیاز وردپرس نسخه %s یا بیشتر." + +#: disable-comments.php:210 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"توجه: <em>غیر فعال کردن نظرات </em> پلاگین در حال حاضر فعال است و نظرات و " +"کاملا بقیه موارد غیر فعال است در: %s. بسیاری از تنظیمات برای انواع پست ها قابل " +"ارائه است." + +#: disable-comments.php:210 +msgid ", " +msgstr "," + +#: disable-comments.php:230 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose which " +"post types to disable comments on." +msgstr "" +"افزونه <em>غیر فعال کردن نظرات</em> فعال است، اما هنوز پیکربندی انجام نشده " +"است. بازدید <a href=\"%s\"> صفحه پیکربندی</a> انواع موارد برای غیر فعال شدن " +"نظرات را لطفا انتخاب نمایید." + +#: disable-comments.php:237 +msgid "Comments are closed." +msgstr "نظرات بسته شده است" + +#: disable-comments.php:290 +msgid "Settings" +msgstr "تنظیمات" + +#. Plugin Name of the plugin/theme +#: disable-comments.php:298 disable-comments.php:350 +msgid "Disable Comments" +msgstr "غیر فعال کردن نظرات" + +#: disable-comments.php:343 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"اگر پلاگین کش (ذخیره/عملکرد) فعال باشد. لطفا افزونه کش خود را غیر فعال نمایید. " +"چون در کار افزونه تداخل ایجاد می کند." + +#: disable-comments.php:344 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear until " +"you leave or reload this page." +msgstr "" +"قابلیت بروز رسانی . منوی مدیریت و یا نوار مدیریت آن را تغییر دهید تا این پیغام " +"در این صفحه ظاهر نشود." + +#: disable-comments.php:353 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will affect " +"<strong>all sites</strong> in this network." +msgstr "" +"<em>غیر فعال کردن نظرات</em> فعال شبکه است. تنظیمات زیر <strong>همه سایت ها</" +"strong> در شبکه تاثیر می گذارد." + +#: disable-comments.php:355 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"به نظر می رسد که پلاگین کش (ذخیره/عملکرد) در این سایت فعال است. لطفا تا ذخیره " +"تنظمیات افزونه کش را غیر فعال نمایید." + +#: disable-comments.php:359 +msgid "Everywhere" +msgstr "همه جا" + +#: disable-comments.php:359 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "غیر فعال کردن تمام کنترل های مربوط به نظر و تنظیمات وردپرس." + +#: disable-comments.php:360 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if you " +"want to disable comments <em>everywhere</em>. A complete description of what " +"this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"% s: گزینه این همگانی است و تمام سایت خود تاثیر می گذارد. فقط به نظر <em>همه " +"جا</em> غیر فعال کردن آن استفاده کنید. شرح کامل این گزینه چه <a href=\"%s\" " +"target=\"_blank\"> در اینجا در دسترس</a> است." + +#: disable-comments.php:360 disable-comments.php:380 disable-comments.php:382 +#: disable-comments.php:409 +msgid "Warning" +msgstr "اخطار" + +#: disable-comments.php:362 +msgid "On certain post types" +msgstr "در برخی انواع پست ها" + +#: disable-comments.php:368 +msgid "" +"Only the built-in post types appear above. If you want to disable comments on " +"other custom post types on the entire network, you can supply a comma-separated " +"list of post types below (use the slug that identifies the post type)." +msgstr "" +"تنها نوع پست ساخته شده است به نظر بالا می رسد . اگر می خواهید برای غیر فعال " +"کردن نظر در مورد سایر انواع پست سفارشی در کل شبکه شما می توانید با کاما از هم " +"جدا کنید لیست از پست انواع زیر (استفاده از مثل حلزون حرکت است که برای شناسایی " +"نوع پست) عرضه می شود." + +#: disable-comments.php:371 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"با غیر فعال کردن نظرات نیز بازتاب ها و شکلک ها غیر فعال می شود. همه زمینه های " +"مربوط به نظر نیز از نمایشگرهای ویرایش/سریع ویرایش پست آسیب دیده پنهان خواهد شد. " +"این تنظیمات را نمی توان برای فرد خاصی باطل کرد." + +#: disable-comments.php:374 +msgid "Other options" +msgstr "تنظیمات دیگر" + +#: disable-comments.php:379 +msgid "Use persistent mode" +msgstr "استفاده حالت مداوم " + +#: disable-comments.php:380 +msgid "" +"%s: <strong>This will make persistent changes to your database — comments " +"will remain closed even if you later disable the plugin!</strong> You should " +"not use it if you only want to disable comments temporarily. Please <a href=\"%s" +"\" target=\"_blank\">read the FAQ</a> before selecting this option." +msgstr "" +"% s: <strong>این تغییرات مداوم به پایگاه داده خود را — نظرات باقی خواهد " +"ماند بسته می شود حتی اگر شما بعد از غیر فعال کردن این افزونه!</strong> اگر " +"شما فقط می خواهید به نظرات به طور موقت غیر فعال کنید از این نباید استفاده " +"کرد<a href=\"%s\" target=\"_blank\"> پرسش و پاسخ را بخوانید</a> لطفا قبل از " +"انتخاب این گزینه." + +#: disable-comments.php:382 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"% s: ورود حالت مداوم در شبکه های چند سایت بزرگ نیاز به تعداد زیادی از پایگاه " +"داده نمایش داده شد و مدتی طول می کشد. با احتیاط استفاده کنید!" + +#: disable-comments.php:388 +msgid "Save Changes" +msgstr "ذخیره تغییرات" + +#: disable-comments.php:409 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"% s: با انتخاب این گزینه قادر به ایجاد تغییرات مداوم در بانک اطلاعاتی شما خواهد " +"شد. آیا مطمئن هستید که می خواهید آن را فعال کنید؟" + +#. Plugin URI of the plugin/theme +msgid "http://wordpress.org/extend/plugins/disable-comments/" +msgstr "http://wordpress.org/extend/plugins/disable-comments/" + +#. Description of the plugin/theme +msgid "" +"Allows administrators to globally disable comments on their site. Comments can " +"be disabled according to post type." +msgstr "" +"اجازه می دهد تا مدیران به نظرات در سایت خود همگانی را غیر فعال کنند. نظرات را " +"می توان با توجه به نوع پست خاصی غیر فعال کرد." + +#. Author of the plugin/theme +msgid "Samir Shah" +msgstr "Samir Shah" + +#. Author URI of the plugin/theme +msgid "http://rayofsolaris.net/" +msgstr "http://rayofsolaris.net/" diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-fr_FR.mo b/wp-content/plugins/disable-comments/languages/disable-comments-fr_FR.mo new file mode 100644 index 0000000000000000000000000000000000000000..80087ff845669d39e93626269658854057a9d771 Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-fr_FR.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-fr_FR.po b/wp-content/plugins/disable-comments/languages/disable-comments-fr_FR.po new file mode 100644 index 0000000000000000000000000000000000000000..6630199316a26bdb94e12f53d65d05c28b7a925f --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-fr_FR.po @@ -0,0 +1,210 @@ +# Copyright (C) 2013 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 1.2\n" +"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/disable-comments\n" +"POT-Creation-Date: 2015-02-03 08:04:31+00:00\n" +"PO-Revision-Date: 2015-02-03 14:30+0100\n" +"Last-Translator: fxbenard | FxB <fx@fxbenard.com>\n" +"Language-Team: Hexagone <fx@hexagone.io>\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.7.3\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "" +"Disable Comments nécessite la version %s de WordPress ou une version supérieure" + +#: disable-comments.php:210 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"Remarque : l'extension <em>Disable Comments</em> est actuellement activée et " +"les commentaires sont complètement désactivés sur %s. Un grand nombre de ces " +"réglages ne seront pas applicables pour ces types de contenu. " + +#: disable-comments.php:210 +msgid ", " +msgstr "," + +#: disable-comments.php:230 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose which " +"post types to disable comments on." +msgstr "" +"L'extension <em>Disable Comments</em> est activée mais n'est pas encore " +"configurée. Rendez-vous sur la <a href=\"%s\">page de configuration</a> pour " +"choisir les types de contenu pour lesquels vous souhaitez désactiver les " +"commentaires. " + +#: disable-comments.php:237 +msgid "Comments are closed." +msgstr "Les commentaires sont fermés." + +#: disable-comments.php:290 +msgid "Settings" +msgstr "Réglages" + +#. Plugin Name of the plugin/theme +#: disable-comments.php:298 disable-comments.php:350 +msgid "Disable Comments" +msgstr "Disable Comments" + +#: disable-comments.php:343 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"Si vous utilisez une extension de cache, veuillez vider le cache afin de " +"constater que les changements sont répercutés immédiatement. " + +#: disable-comments.php:344 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear until " +"you leave or reload this page." +msgstr "" +"Options mises à jour. Les modifications n'apparaitront pas dans l'admin tant " +"que vous n'aurez pas quitté ou rechargé cette page." + +#: disable-comments.php:353 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will affect " +"<strong>all sites</strong> in this network." +msgstr "" +"<em>Disable Comments</em>est activé au niveau du réseau. Les modifications ci-" +"dessous affecteront <strong>tous les sites</strong> du réseau." + +#: disable-comments.php:355 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"Il semblerait qu'une extension de cache soit active sur votre site. Veuillez " +"vider ce cache après toutes modifications dans les réglages ci-dessous. " + +#: disable-comments.php:359 +msgid "Everywhere" +msgstr "Partout" + +#: disable-comments.php:359 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "Désactiver tous les réglages relatifs aux commentaires dans WordPress." + +#: disable-comments.php:360 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if you " +"want to disable comments <em>everywhere</em>. A complete description of what " +"this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"%s : Cette option affecte l'ensemble de votre site internet. Utilisez-la si " +"vous souhaitez désactiver les commentaires <em>partout</em>. Une documentation " +"complète des options de l'extension est <a href=\"%s\" target=\"_blank" +"\">disponible ici (en)</a>." + +#: disable-comments.php:360 disable-comments.php:380 disable-comments.php:382 +#: disable-comments.php:409 +msgid "Warning" +msgstr "Avertissement" + +#: disable-comments.php:362 +msgid "On certain post types" +msgstr "Certains types de contenu " + +#: disable-comments.php:368 +msgid "" +"Only the built-in post types appear above. If you want to disable comments on " +"other custom post types on the entire network, you can supply a comma-separated " +"list of post types below (use the slug that identifies the post type)." +msgstr "" +"Seuls les types d'article intégrés apparaissent au-dessus. Si vous souhaitez " +"désactiver commentaires sur d'autres types de contenu personnalisé sur " +"l'ensemble du réseau, vous pouvez fournir une liste séparée par des " +"virgules de ces types de contenu ci-dessous (utiliser leurs identifiants)." + +#: disable-comments.php:371 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"Désactiver les commentaires entraine une désactivation des trackbacks et pings. " +"Tous les champs relatifs aux commentaires seront affectés. Ces réglages ne " +"pourront pas être choisi individuellement dans les articles. " + +#: disable-comments.php:374 +msgid "Other options" +msgstr "Autres options" + +#: disable-comments.php:379 +msgid "Use persistent mode" +msgstr "Utiliser le mode persistant" + +#: disable-comments.php:380 +msgid "" +"%s: <strong>This will make persistent changes to your database — comments " +"will remain closed even if you later disable the plugin!</strong> You should " +"not use it if you only want to disable comments temporarily. Please <a href=\"%s" +"\" target=\"_blank\">read the FAQ</a> before selecting this option." +msgstr "" +"%s : <strong>Ceci fera des changements permanents à votre base de données. Les " +"commentaires seront désactivés même si vous désactivez l'extension !</strong> " +"Si vous souhaitez désactiver les commentaires de façon temporaire, vous ne " +"devez PAS activer cette option. Voir la <a href=\"%s\" target=\"_blank\">FAQ " +"(en)</a> avant de choisir cette option." + +#: disable-comments.php:382 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s : Activer le mode persistent sur un réseau de sites nécessite de nombreuses " +"requetes dans la base de données. Utilisez cette option avec prudence !" + +#: disable-comments.php:388 +msgid "Save Changes" +msgstr "Sauvegarder les modifications" + +#: disable-comments.php:409 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"%s : Selectionner cette option fera des changements permanents à votre base de " +"données. Etes-vous certain(e) de vouloir l'activer ? " + +#. Plugin URI of the plugin/theme +msgid "http://wordpress.org/extend/plugins/disable-comments/" +msgstr "http://wordpress.org/extend/plugins/disable-comments/" + +#. Description of the plugin/theme +msgid "" +"Allows administrators to globally disable comments on their site. Comments can " +"be disabled according to post type." +msgstr "" +"Permet aux administrateurs de désactiver globalement les commentaires sur leur " +"site. Les commentaires peuvent être désactivés selon le type de contenu." + +#. Author of the plugin/theme +msgid "Samir Shah" +msgstr "Samir Shah" + +#. Author URI of the plugin/theme +msgid "http://rayofsolaris.net/" +msgstr "http://rayofsolaris.net/" + +#~ msgid "" +#~ "Persistent mode has been manually disabled. See the <a href=\"%s\" target=" +#~ "\"_blank\">FAQ</a> for more information." +#~ msgstr "" +#~ "Le mode persistant a été désactivé de façon manuelle. Voir la <a href=\"%s\" " +#~ "target=\"_blank\">FAQ</a>pour plus d'information." diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-id_ID.mo b/wp-content/plugins/disable-comments/languages/disable-comments-id_ID.mo new file mode 100644 index 0000000000000000000000000000000000000000..6870385d1d97bc0d530a3876fab90877f253cd3c Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-id_ID.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-id_ID.po b/wp-content/plugins/disable-comments/languages/disable-comments-id_ID.po new file mode 100644 index 0000000000000000000000000000000000000000..12b6ec5e6fe3b0df0a1d9425b4ecc1510b2c4459 --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-id_ID.po @@ -0,0 +1,171 @@ +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 0.9.1\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/disable-comments\n" +"POT-Creation-Date: 2013-06-19 05:01:50+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2013-12-08 22:10+0800\n" +"Last-Translator: Nasrulhaq Muiz <nasrulhaq81@gmail.com>\n" +"Language-Team: Nasrulhaq Muiz <nasroel@al-badar.net>\n" +"Language: id_ID\n" +"X-Generator: Poedit 1.5.7\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Matikan Komentar membutuhkan versi WordPress %s atau lebih." + +#: disable-comments.php:169 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"Catatan: Plugin <em>Matikan Komentar</> saat ini aktif, dan semua komentar " +"dimatikan pada: %s. Ragam pengaturan dibawah tidak dapat diterapkan tipe " +"posting tersebut. " + +#: disable-comments.php:169 +msgid ", " +msgstr "," + +#: disable-comments.php:183 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose " +"which post types to disable comments on." +msgstr "" +"Plugin <em>Matikan Komentar</em> aktif, tapi belum diatur untuk melakukan " +"apapun. Kunjungi <a href=\"%s\">halaman konfigurasi</a> untuk memilih tipe " +"posting yang mana agar komentar yang dimatikan menyala." + +#: disable-comments.php:225 disable-comments.php:269 +msgid "Disable Comments" +msgstr "Matikan Komentar" + +#: disable-comments.php:262 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"Jika sebuah plugin caching / kinerja dalam keadaan aktif, silakan " +"membatalkan cache untuk memastikan bahwa perubahan tercermin segera." + +#: disable-comments.php:263 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear " +"until you leave or reload this page." +msgstr "" +"Pilihan diperbarui. Perubahan pada Menu Admin dan Bilah Admin tidak akan " +"nampak hingga anda meninggalkan atau memuat ulang halaman ini" + +#: disable-comments.php:272 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will " +"affect <strong>all sites</strong> in this network." +msgstr "" +"<em>Disable Comments</em> adalah Jaringan Diaktifkan. Pengaturan di bawah " +"ini akan mempengaruhi<strong>semua situs</strong> dalam jaringan ini." + +#: disable-comments.php:274 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"Tampaknya plugin caching / kinerja aktif di situs ini. Harap membatalkan " +"cache plugin secara manual setelah membuat perubahan apapun untuk pengaturan " +"di bawah ini." + +#: disable-comments.php:278 +msgid "Everywhere" +msgstr "Di mana-mana" + +#: disable-comments.php:278 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "" +"Menonaktifkan semua kontrol-komentar terkait dan pengaturan dalam WordPress." + +#: disable-comments.php:279 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if " +"you want to disable comments <em>everywhere</em>. A complete description of " +"what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"Pilihan ini global dan akan mempengaruhi seluruh situs Anda. Gunakan hanya " +"jika Anda ingin menonaktifkan komentar <em>mana-mana</em>. Penjelasan " +"lengkap tentang apa pilihan yang dilakukan adalah <a href=\"%s\" target=" +"\"_blank\">tersedia disini</a>" + +#: disable-comments.php:279 disable-comments.php:295 disable-comments.php:297 +#: disable-comments.php:325 +msgid "Warning" +msgstr "Peringatan" + +#: disable-comments.php:281 +msgid "On certain post types" +msgstr "Pada jenis pos tertentu" + +#: disable-comments.php:286 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"Menonaktifkan komentar juga akan menonaktifkan trackbacks dan pingbacks. " +"Semua bidang-komentar terkait juga akan disembunyikan dari edit / cepat-" +"mengedit layar dari tulisan terpengaruh. Pengaturan ini tidak dapat diganti " +"untuk setiap posting." + +#: disable-comments.php:289 +msgid "Other options" +msgstr "Pilihan lainnya" + +#: disable-comments.php:294 +msgid "Use persistent mode" +msgstr "Gunakan mode Tetap" + +#: disable-comments.php:295 +msgid "" +"%s: <strong>This will make persistent changes to your database — " +"comments will remain closed even if you later disable the plugin!</strong> " +"You should not use it if you only want to disable comments temporarily. " +"Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting " +"this option." +msgstr "" +"%s: <strong> Ini akan membuat perubahan tetap pada basis data — anda, " +"komentar akan dikeluarkan walaupun kemudian akan menonaktifkan plugin!</" +"strong> Anda seharusnya tidak menggunakan jika hanya menonaktifkan komentar " +"sementara waktu. Harap <a href=\"%s\" target=\"_blank\">baca FAQ</a> sebelum " +"menentukan pilihan." + +#: disable-comments.php:297 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s: Memasukkan mode tetap pada jaringan multi situs yang lebih besar " +"membutuhkan sejumlah besar kueri basis data dan membutuhkan beberapa waktu. " +"Gunakan dengan seksama! " + +#: disable-comments.php:300 +msgid "" +"Persistent mode has been manually disabled. See the <a href=\"%s\" target=" +"\"_blank\">FAQ</a> for more information." +msgstr "" +"Mode Tetap telah diaktifkan secara manual, Lihat <a href=\"%s\" target=" +"\"_blank\">FAQ</a> untuk informasi lebih lanjut." + +#: disable-comments.php:305 +msgid "Save Changes" +msgstr "Simpan Perubahan" + +#: disable-comments.php:325 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"%s: Memilih opsi ini akan membuat perubahan yang tetap pada basis data anda. " +"Apakah anda yakin mengaktifkannnya?" diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-pl_PL.mo b/wp-content/plugins/disable-comments/languages/disable-comments-pl_PL.mo new file mode 100644 index 0000000000000000000000000000000000000000..8ca4126b40d9069000eafb56bf62817262a06a5e Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-pl_PL.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-pl_PL.po b/wp-content/plugins/disable-comments/languages/disable-comments-pl_PL.po new file mode 100644 index 0000000000000000000000000000000000000000..d53b549894b962e324d45bdd922ce6a5007bcd0a --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-pl_PL.po @@ -0,0 +1,203 @@ +# Copyright (C) 2015 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 1.2\n" +"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/disable-comments\n" +"POT-Creation-Date: 2015-02-03 08:04:31+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2015-04-30 22:12+0100\n" +"Last-Translator: Maciej Gryniuk <maciejka45@gmail.com>\n" +"Language-Team: Maciej Gryniuk <maciejka45@gmail.com>\n" +"X-Generator: Poedit 1.8beta1\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || " +"n%100>=20) ? 1 : 2);\n" +"Language: pl_PL\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Wyłączenie Komentarzy wymaga WordPress'a w wersji %s lub nowszej." + +#: disable-comments.php:210 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"Informacja: Wtyczka <em>Wyłączenie Komentarzy</em> jest aktywna, a komentarze " +"są całkowicie wyłączone na: %s. Większość poniższych ustawień nie będzie miała " +"wpływu na te rodzaje wpisów." + +#: disable-comments.php:210 +msgid ", " +msgstr ", " + +#: disable-comments.php:230 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose which " +"post types to disable comments on." +msgstr "" +"Wtyczka <em>Wyłączenie Komentarzy</em> jest aktywna, ale nie została jeszcze " +"skonfigurowana. Odwiedź <a href=\"%s\">stronę konfiguracji</a> i wybierz " +"rodzaje wpisów do wyłączenia na nich komentarzy." + +#: disable-comments.php:237 +msgid "Comments are closed." +msgstr "Komentarze są wyłączone." + +#: disable-comments.php:290 +msgid "Settings" +msgstr "Ustawienia" + +#. Plugin Name of the plugin/theme +#: disable-comments.php:298 disable-comments.php:350 +msgid "Disable Comments" +msgstr "Wyłączenie komentarzy" + +#: disable-comments.php:343 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"Jeżeli jest aktywna wtyczka pamięci podręcznej/wydajnościowa, proszę unieważnić " +"jej podręczną, aby zmiany weszły w życie natychmiatowo." + +#: disable-comments.php:344 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear until " +"you leave or reload this page." +msgstr "" +"Opcje zaktualizowane. Zmiany w menu panelu administracyjnego i na pasku " +"administracyjnym będą widoczne po opuszczeniu lub przeładowaniu tej strony." + +#: disable-comments.php:353 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will affect " +"<strong>all sites</strong> in this network." +msgstr "" +"<em>Wyłączenie Komentarzy</em> jest aktywne w sieci. Poniższe ustawienia " +"zostaną zastosowane na <strong>wszystkich stronach</strong> w tej sieci." + +#: disable-comments.php:355 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"Wygląda na to, że na stronie jest aktywna wtyczka pamięci podręcznej/" +"wydajnościowa. Proszę ręcznie unieważnić jej podręczną po dokonaniu " +"jakichkolwiek zmian poniżej." + +#: disable-comments.php:359 +msgid "Everywhere" +msgstr "Wszędzie" + +#: disable-comments.php:359 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "" +"Wyłącz wszystkie opcje i ustawienia powiązane z komentarzami w WordPress'ie." + +#: disable-comments.php:360 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if you " +"want to disable comments <em>everywhere</em>. A complete description of what " +"this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"%s: Ta opcja jest globalna i zostanie zastosowana na całej stronie. Użyj jej, " +"tylko gdy chcesz wyłączyć komentarze <em>wszędzie</em>. Pełny opis działania " +"tej opcji jest <a href=\"%s\" target=\"_blank\">dostępny tutaj</a>." + +#: disable-comments.php:360 disable-comments.php:380 disable-comments.php:382 +#: disable-comments.php:409 +msgid "Warning" +msgstr "Ostrzeżenie" + +#: disable-comments.php:362 +msgid "On certain post types" +msgstr "Na wybranych rodzajach wpisów" + +#: disable-comments.php:368 +msgid "" +"Only the built-in post types appear above. If you want to disable comments on " +"other custom post types on the entire network, you can supply a comma-separated " +"list of post types below (use the slug that identifies the post type)." +msgstr "" +"Powyżej są wyświetlone tylko wbudowane rodzaje wpisów. Jeżeli chcesz wyłączyć " +"komentarze na własnym rodzaju wpisów w całej sieci, możesz poniżej podać ich " +"nazwy (slug identyfikujący), oddzielone przecinkami." + +#: disable-comments.php:371 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"Wyłączenie komentarzy wyłączy również pingbacki i trackbacki. Wszystkie pola " +"powiązane z komentarzami zostaną ukryte z ekranów edycji i szybkiej edycji " +"odpowiednich wpisów. Te ustawienia nie mogą zostać nadpisane dla pojedynczych " +"wpisów." + +#: disable-comments.php:374 +msgid "Other options" +msgstr "Pozostałe opcje" + +#: disable-comments.php:379 +msgid "Use persistent mode" +msgstr "Użyj trybu trwałego" + +#: disable-comments.php:380 +msgid "" +"%s: <strong>This will make persistent changes to your database — comments " +"will remain closed even if you later disable the plugin!</strong> You should " +"not use it if you only want to disable comments temporarily. Please <a href=\"%s" +"\" target=\"_blank\">read the FAQ</a> before selecting this option." +msgstr "" +"%s: <strong>Ta opcja dokona trwałych zmian w w Twojej bazie danych — " +"komentarze pozostaną wyłączone, nawet gdy wyłączysz wtyczkę!</strong> Nie " +"powinno być wybierane do tymczasowego wyłączania komentarzy. Proszę <a href=\"%s" +"\" target=\"_blank\">przeczytać FAQ</a> przed wyborem tej opcji." + +#: disable-comments.php:382 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s: Wejście z tryb trwały na dużych sieciach multi-witryn wymaga dużej ilości " +"zapytań do bazy danych, a więc może to trochę potrwać. Używać z ostrożnością!" + +#: disable-comments.php:388 +msgid "Save Changes" +msgstr "Zapisz zmiany" + +#: disable-comments.php:409 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"%s: Ta opcja dokona stałych zmian w Twojej bazie danych. Na pewno chcesz ją " +"aktywować?" + +#. Plugin URI of the plugin/theme +msgid "http://wordpress.org/extend/plugins/disable-comments/" +msgstr "http://wordpress.org/extend/plugins/disable-comments/" + +#. Description of the plugin/theme +msgid "" +"Allows administrators to globally disable comments on their site. Comments can " +"be disabled according to post type." +msgstr "" +"Umożliwia administratorom możliwość globalnego wyłączenia komentarzy na stronie " +"internetowej. Komentarze mogą zostać wyłączone odpowiednio dla różnych rodzajów " +"wpisów." + +#. Author of the plugin/theme +msgid "Samir Shah" +msgstr "Samir Shah" + +#. Author URI of the plugin/theme +msgid "http://rayofsolaris.net/" +msgstr "http://rayofsolaris.net/" diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-pt_BR.mo b/wp-content/plugins/disable-comments/languages/disable-comments-pt_BR.mo new file mode 100644 index 0000000000000000000000000000000000000000..2803f7e421b63ca8d02634a74feebda8be10ddc9 Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-pt_BR.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-pt_BR.po b/wp-content/plugins/disable-comments/languages/disable-comments-pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..132d825959b73ad217d52133f744fa32536ef123 --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-pt_BR.po @@ -0,0 +1,208 @@ +# Copyright (C) 2015 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 1.2\n" +"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/disable-comments\n" +"POT-Creation-Date: 2015-02-03 08:04:31+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2015-05-22 18:39+0100\n" +"Last-Translator: freemp\n" +"Language-Team: \n" +"X-Generator: Poedit 1.5.7\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Disable Comments necessita do WordPress versão %s ou superior." + +#: disable-comments.php:210 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"Nota: No momento, o plugin <em>Disable Comments</em> está ativado e os " +"comentários estão completamente desativados no: %s. Algumas das opções de " +"configuração abaixo não serão aplicáveis para estes tipos de notícias." + +#: disable-comments.php:210 +msgid ", " +msgstr "," + +#: disable-comments.php:230 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose " +"which post types to disable comments on." +msgstr "" +"O plugin <em>Disable Comments</em> está ativado, mais até o momento nenhuma " +"função foi configurada. Visite a <a href=\"%s\">pagina de configuração</a> " +"para escolher os tipos de notícias, nas quais os comentários serão " +"desativados." + +#: disable-comments.php:237 +msgid "Comments are closed." +msgstr "Comentários estão fechados." + +#: disable-comments.php:290 +msgid "Settings" +msgstr "Configurações" + +#. #-#-#-#-# disable-comments.pot (Disable Comments 1.2) #-#-#-#-# +#. Plugin Name of the plugin/theme +#: disable-comments.php:298 disable-comments.php:350 +msgid "Disable Comments" +msgstr "Desativar Comentários" + +#: disable-comments.php:343 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"Se um plugin de cacheamento/performance estiver ativado, por favor " +"desconsiderar seu cache para certificar que futuros alterações sejam " +"consideradas." + +#: disable-comments.php:344 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear " +"until you leave or reload this page." +msgstr "" +"Opções atualizadas. Alterações no Menu Admin e na Barra Admin não aparecerão " +"até você deixar ou recarregar esta página." + +#: disable-comments.php:353 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will " +"affect <strong>all sites</strong> in this network." +msgstr "" +"<em>Disable Comments</em> está Ativada Na Rede. As configurações abaixo " +"afetarão <strong>todos os sites</strong> nesta rede." + +#: disable-comments.php:355 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"Aparentemente um plugin de cacheamento/performance está ativado neste site. " +"Por favor desconsiderar o cache desse plugin depois de alterar qualquer " +"configuração abaixo." + +#: disable-comments.php:359 +msgid "Everywhere" +msgstr "Em todo lugar" + +#: disable-comments.php:359 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "" +"Desativar todos os controles e configurações dos comentários relacionados no " +"WordPress." + +#: disable-comments.php:360 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if " +"you want to disable comments <em>everywhere</em>. A complete description of " +"what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"%s: Esta opção é global e vai afetar o site inteiro. Utilize-o somente caso " +"você queira desativar os comentários <em>em todo site</em>. Uma descrição " +"completa do que esta opção faz está <a href=\"%s\" target=\"_blank" +"\">disponível aqui</a>." + +#: disable-comments.php:360 disable-comments.php:380 disable-comments.php:382 +#: disable-comments.php:409 +msgid "Warning" +msgstr "Aviso" + +#: disable-comments.php:362 +msgid "On certain post types" +msgstr "Para tipos de notícias específicas" + +#: disable-comments.php:368 +msgid "" +"Only the built-in post types appear above. If you want to disable comments " +"on other custom post types on the entire network, you can supply a comma-" +"separated list of post types below (use the slug that identifies the post " +"type)." +msgstr "" +"Apenas os tipos de notícias instaladas aparecem acima. Se você desejar " +"desativar os comentários de outros tipos de notícias em toda rede, você " +"deverá fornecer uma lista abaixo com os tipos de notícias separadas por " +"vírgulas (use o slug que identifique o tipo de notícia)." + +#: disable-comments.php:371 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"Desabilitando os comentários, você desabilitará também os trackbacks e " +"pingbacks. Todos os campos relacionados com comentários serão ocultados das " +"telas de edição e edição rápida das notícias afetadas. Estes parâmetros não " +"podem ser sobrescritos para notícias individuais." + +#: disable-comments.php:374 +msgid "Other options" +msgstr "Outras opções" + +#: disable-comments.php:379 +msgid "Use persistent mode" +msgstr "Usar modo persistente" + +#: disable-comments.php:380 +msgid "" +"%s: <strong>This will make persistent changes to your database — " +"comments will remain closed even if you later disable the plugin!</strong> " +"You should not use it if you only want to disable comments temporarily. " +"Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting " +"this option." +msgstr "" +"%s: <strong>Este fará alterações permanentes em seu banco de dados — " +"os comentários permanecerão fechados mesmo que você desative este plugin " +"depois! Nao utilize esta opção, caso deseje desabilitar os comentários " +"temporariamente. Por favor, <a href=\"%s\" target=\"_blank\">consulta as " +"perguntas frequentes</a> antes de selecionar esta opção." + +#: disable-comments.php:382 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s: Entrando no modo persistente de uma vasta rede de sites múltiplos exige " +"uma ampla quantidade de consultas no banco de dados e pode levar algum " +"tempo. Use com cuidado!" + +#: disable-comments.php:388 +msgid "Save Changes" +msgstr "Salvar Alterações" + +#: disable-comments.php:409 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"%s: Ao selecionar esta opção ocorrerão alterações persistentes no seu banco " +"de dados. Você tem certeza que deseja ativar esta opção?" + +#. Plugin URI of the plugin/theme +msgid "http://wordpress.org/extend/plugins/disable-comments/" +msgstr "http://wordpress.org/extend/plugins/disable-comments/" + +#. Description of the plugin/theme +msgid "" +"Allows administrators to globally disable comments on their site. Comments " +"can be disabled according to post type." +msgstr "" +"Permite administradores desativar comentários nos seus sites. Comentários " +"poderão ser desativados de acordo com o tipo de notícia." + +#. Author of the plugin/theme +msgid "Samir Shah" +msgstr "Samir Shah" + +#. Author URI of the plugin/theme +msgid "http://rayofsolaris.net/" +msgstr "http://rayofsolaris.net/" diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-ru_RU.mo b/wp-content/plugins/disable-comments/languages/disable-comments-ru_RU.mo new file mode 100644 index 0000000000000000000000000000000000000000..d5667dc4a8ff418799c850b29236fa42bc17090e Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-ru_RU.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-ru_RU.po b/wp-content/plugins/disable-comments/languages/disable-comments-ru_RU.po new file mode 100644 index 0000000000000000000000000000000000000000..e157e6822a175500af2da4502ce6296358d8bf37 --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-ru_RU.po @@ -0,0 +1,178 @@ +# Translation of Disable Comments in Russian +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/disable-comments\n" +"POT-Creation-Date: 2013-06-19 05:01:50+00:00\n" +"PO-Revision-Date: 2014-01-08 01:28+0400\n" +"Last-Translator: Elvis TEAM <elviswebteam@gmail.com>\n" +"Language-Team: Elvis WT <elviswebteam@gmail.com>\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<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Poedit 1.6.3\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Для работы плагина требуется WordPress версии %s или выше." + +#: disable-comments.php:169 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"Заметка: Плагин успешно активирован и комментарии на блоге полностью " +"отключены: %s. Настройки ниже неприменимы к указанным ранее типам записей." + +#: disable-comments.php:169 +msgid ", " +msgstr "," + +#: disable-comments.php:183 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose " +"which post types to disable comments on." +msgstr "" +"Плагин активирован, но еще не настроен. Чтобы сделать это, перейдите на <a " +"href=\"%s\">страницу настроек</a>. Там можно задать типы записей, для " +"которых будут отключены комментарии." + +#: disable-comments.php:225 disable-comments.php:269 +msgid "Disable Comments" +msgstr "Откл. комментарии" + +#: disable-comments.php:262 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"Если плагин для кэширования или ускорения блога включен, не забудьте " +"очистить кэш сразу после изменения настроек, чтобы они вступили в силу." + +#: disable-comments.php:263 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear " +"until you leave or reload this page." +msgstr "" +"Настройки обновлены. Изменения панели и меню администратора вступят в силу " +"только после обновления страницы." + +#: disable-comments.php:272 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will " +"affect <strong>all sites</strong> in this network." +msgstr "" +"Плагин работает в режиме сети. Измененные ниже настройки повлияют на " +"<strong>все блоги</strong> данной сети." + +#: disable-comments.php:274 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"Похоже, Вы используете плагин для кэширования или ускорения блога. Не " +"забудьте после изменения любых настроек очистить кэш вручную!" + +#: disable-comments.php:278 +msgid "Everywhere" +msgstr "Везде" + +#: disable-comments.php:278 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "" +"Отключить все параметры и настройки WordPress, связанные с управлением " +"комментариями." + +#: disable-comments.php:279 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if " +"you want to disable comments <em>everywhere</em>. A complete description of " +"what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"%s: Эта опция имеет глобальное значение и будет применена даже к Вашему " +"сайту. Используйте только если хотите отключить комментарии <em>везде</em>. " +"Полное описание опции можно найти <a href=\"%s\" target=\"_blank\">здесь</a>." + +#: disable-comments.php:279 disable-comments.php:295 disable-comments.php:297 +#: disable-comments.php:325 +msgid "Warning" +msgstr "Внимание" + +#: disable-comments.php:281 +msgid "On certain post types" +msgstr "Для типов записей" + +#: disable-comments.php:286 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"При использовании плагина будут также отключены трекбэки и пингбэки. Все " +"относящиеся к комментированию поля будут скрыты (для выбранных типов " +"записей). Эти настройки вступают в силу для ВСЕХ записей указанного типа, " +"без исключений." + +#: disable-comments.php:289 +msgid "Other options" +msgstr "Другие настройки" + +#: disable-comments.php:294 +msgid "Use persistent mode" +msgstr "Использовать \"живое\" сохранение" + +#: disable-comments.php:295 +msgid "" +"%s: <strong>This will make persistent changes to your database — " +"comments will remain closed even if you later disable the plugin!</strong> " +"You should not use it if you only want to disable comments temporarily. " +"Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting " +"this option." +msgstr "" +"%s: <strong>Включение опции позволит записывать изменения в \"живом\" режиме " +"в базу данных — а комментарии будут отключены даже после деактивации " +"плагина!</strong> Не стоит использовать опцию, если не хотите надолго " +"отключить все комментарии. Прежде всего, <a href=\"%s\" target=\"_blank" +"\">прочитайте внимательно FAQ</a>." + +#: disable-comments.php:297 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s: Включение \"живого\" режима на больших мультиблоговых сайтах сильно " +"нагружает базу данных запросами. Использовать осторожно!" + +#: disable-comments.php:300 +msgid "" +"Persistent mode has been manually disabled. See the <a href=\"%s\" target=" +"\"_blank\">FAQ</a> for more information." +msgstr "" +"Режим \"живого\" сохранения был отключен вручную. Подробнее читайте <a href=" +"\"%s\" target=\"_blank\">FAQ</a>." + +#: disable-comments.php:305 +msgid "Save Changes" +msgstr "Сохранить изменения" + +#: disable-comments.php:325 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"%s: При включении этой опции все изменения будут заноситься в базу данных. " +"Вы уверены, что хотите включить опцию?" + +#~ msgid "" +#~ "Allows administrators to globally disable comments on their site. " +#~ "Comments can be disabled according to post type." +#~ msgstr "" +#~ "Позволяет администраторам сайтов вручную отключать комментарии на своих " +#~ "блогах. Комментарии отключаются для указанных типов записей." diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-vi.mo b/wp-content/plugins/disable-comments/languages/disable-comments-vi.mo new file mode 100644 index 0000000000000000000000000000000000000000..831602d88e03d28d5e4c9c07172e4b972f5925d9 Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-vi.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-vi.po b/wp-content/plugins/disable-comments/languages/disable-comments-vi.po new file mode 100644 index 0000000000000000000000000000000000000000..75ab657b9f9837d09b2733ec0180322152b75522 --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-vi.po @@ -0,0 +1,172 @@ +# Copyright (C) 2013 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 0.9.1\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/disable-comments\n" +"POT-Creation-Date: 2013-06-19 05:01:50+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2014-01-13 23:54+0700\n" +"Last-Translator: Vietnamese WPress-based blog | http://rongsay.info " +"<me@rongsay.info>\n" +"Language-Team: Vietnamese WPress-based blog | http://rongsay.info " +"<me@rongsay.info>\n" +"X-Generator: Poedit 1.5.7\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Vô hiệu hóa ý kiến yêu cầu phiên bản WordPress %s hoặc cao hơn." + +#: disable-comments.php:169 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"Lưu ý: <em>Vô hiệu hóa ý kiến</em> hiện đang hoạt động, và ý kiến bị vô hiệu " +"hoá hoàn toàn ở các: %s. Nhiều trong số các cài đặt dưới đây sẽ không được " +"áp dụng cho những loại post type đó." + +#: disable-comments.php:169 +msgid ", " +msgstr ", " + +#: disable-comments.php:183 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose " +"which post types to disable comments on." +msgstr "" +"<Em> vô hiệu hóa ý kiến </em> hoạt động, nhưng không cấu hình để làm bất cứ " +"điều gì được nêu ra. Truy cập vào các <a href=\"%s\"> Trang cấu hình </a> " +"chọn các post type cần vô hiệu hóa ý kiến." + +#: disable-comments.php:225 disable-comments.php:269 +msgid "Disable Comments" +msgstr "Vô hiệu hóa ý kiến" + +#: disable-comments.php:262 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"Nếu một plugin bộ nhớ đệm (cache) hoạt động, xin vui lòng tắt bộ nhớ cache " +"của nó để đảm bảo rằng những thay đổi được thi hành ngay lập tức." + +#: disable-comments.php:263 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear " +"until you leave or reload this page." +msgstr "" +"Tùy chọn Cập Nhật. Thay đổi trình đơn Admin và Admin Bar sẽ không xuất hiện " +"cho đến khi bạn nạp lại trang này." + +#: disable-comments.php:272 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will " +"affect <strong>all sites</strong> in this network." +msgstr "" +"<em> vô hiệu hóa ý kiến </em> kích hoạt trong toàn Network. Thiết đặt dưới " +"đây sẽ ảnh hưởng đến Tất cả trang web trong mạng này." + +#: disable-comments.php:274 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"Có vẻ như một plugin bộ nhớ đệm/hiệu suất đang hoạt động trên trang web này. " +"Tắt bộ nhớ cache plugin đó sau khi thực hiện bất kỳ thay đổi các thiết đặt " +"dưới đây." + +#: disable-comments.php:278 +msgid "Everywhere" +msgstr "Ở mọi nơi" + +#: disable-comments.php:278 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "" +"Vô hiệu hoá tất cả các liên quan đến bình luận điều khiển và thiết lập trong " +"WordPress." + +#: disable-comments.php:279 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if " +"you want to disable comments <em>everywhere</em>. A complete description of " +"what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"%s: Tùy chọn này là toàn cầu và sẽ ảnh hưởng đến toàn bộ trang web của bạn. " +"Sử dụng nó chỉ nếu bạn muốn vô hiệu hóa ý kiến <em> ở khắp mọi nơi </em>. " +"Một mô tả đầy đủ về những gì tùy chọn này hiện <a href =\"%s\" target=" +"\"_blank\"> có sẵn ở đây </a>." + +#: disable-comments.php:279 disable-comments.php:295 disable-comments.php:297 +#: disable-comments.php:325 +msgid "Warning" +msgstr "Cảnh báo" + +#: disable-comments.php:281 +msgid "On certain post types" +msgstr "Trên một số loại post type" + +#: disable-comments.php:286 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"Vô hiệu hóa ý kiến cũng vô hiệu hóa trackbacks và pingbacks. Tất cả các lĩnh " +"vực liên quan đến bình luận cũng sẽ được ẩn từ màn hình chỉnh sửa/nhanh " +"chóng-chỉnh sửa các bài viết bị ảnh hưởng. Các thiết đặt này không thể được " +"ghi đè cho bài đăng riêng lẻ." + +#: disable-comments.php:289 +msgid "Other options" +msgstr "Lựa chọn khác" + +#: disable-comments.php:294 +msgid "Use persistent mode" +msgstr "Sử dụng chế độ liên tục" + +#: disable-comments.php:295 +msgid "" +"%s: <strong>This will make persistent changes to your database — " +"comments will remain closed even if you later disable the plugin!</strong> " +"You should not use it if you only want to disable comments temporarily. " +"Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting " +"this option." +msgstr "" +"%s: Điều này sẽ làm thay đổi liên tục cơ sở dữ liệu của bạn & mdash; ý kiến " +"sẽ vẫn đóng ngay cả khi bạn vô hiệu hóa plugin! Bạn không nên sử dụng nếu " +"bạn chỉ muốn vô hiệu hóa ý kiến tạm thời. Xin vui lòng <a href =\"%s\" " +"target=\"_blank\"> đọc FAQ </a> trước khi chọn tùy chọn này." + +#: disable-comments.php:297 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s: Nhập chế độ liên tục trên nhiều trang web lớn đòi hỏi một số lượng truy " +"vấn cơ sở dữ liệu lớn và có thể mất một lúc. Sử dụng thận trọng!" + +#: disable-comments.php:300 +msgid "" +"Persistent mode has been manually disabled. See the <a href=\"%s\" target=" +"\"_blank\">FAQ</a> for more information." +msgstr "" +"Chế độ liên tục đã bị vô hiệu theo cách thủ công. Xem các <a href = \"%s\" " +"target=\"_blank\"> FAQ </a> cho biết thêm thông tin." + +#: disable-comments.php:305 +msgid "Save Changes" +msgstr "Lưu thay đổi" + +#: disable-comments.php:325 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"%s: Chọn tùy chọn này sẽ thực hiện liên tục thay đổi cơ sở dữ liệu của bạn. " +"Bạn có chắc bạn muốn bật nó?" diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-vi_VI.mo b/wp-content/plugins/disable-comments/languages/disable-comments-vi_VI.mo new file mode 100644 index 0000000000000000000000000000000000000000..831602d88e03d28d5e4c9c07172e4b972f5925d9 Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-vi_VI.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-vi_VI.po b/wp-content/plugins/disable-comments/languages/disable-comments-vi_VI.po new file mode 100644 index 0000000000000000000000000000000000000000..75ab657b9f9837d09b2733ec0180322152b75522 --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-vi_VI.po @@ -0,0 +1,172 @@ +# Copyright (C) 2013 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 0.9.1\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/disable-comments\n" +"POT-Creation-Date: 2013-06-19 05:01:50+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2014-01-13 23:54+0700\n" +"Last-Translator: Vietnamese WPress-based blog | http://rongsay.info " +"<me@rongsay.info>\n" +"Language-Team: Vietnamese WPress-based blog | http://rongsay.info " +"<me@rongsay.info>\n" +"X-Generator: Poedit 1.5.7\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Vô hiệu hóa ý kiến yêu cầu phiên bản WordPress %s hoặc cao hơn." + +#: disable-comments.php:169 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"Lưu ý: <em>Vô hiệu hóa ý kiến</em> hiện đang hoạt động, và ý kiến bị vô hiệu " +"hoá hoàn toàn ở các: %s. Nhiều trong số các cài đặt dưới đây sẽ không được " +"áp dụng cho những loại post type đó." + +#: disable-comments.php:169 +msgid ", " +msgstr ", " + +#: disable-comments.php:183 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose " +"which post types to disable comments on." +msgstr "" +"<Em> vô hiệu hóa ý kiến </em> hoạt động, nhưng không cấu hình để làm bất cứ " +"điều gì được nêu ra. Truy cập vào các <a href=\"%s\"> Trang cấu hình </a> " +"chọn các post type cần vô hiệu hóa ý kiến." + +#: disable-comments.php:225 disable-comments.php:269 +msgid "Disable Comments" +msgstr "Vô hiệu hóa ý kiến" + +#: disable-comments.php:262 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "" +"Nếu một plugin bộ nhớ đệm (cache) hoạt động, xin vui lòng tắt bộ nhớ cache " +"của nó để đảm bảo rằng những thay đổi được thi hành ngay lập tức." + +#: disable-comments.php:263 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear " +"until you leave or reload this page." +msgstr "" +"Tùy chọn Cập Nhật. Thay đổi trình đơn Admin và Admin Bar sẽ không xuất hiện " +"cho đến khi bạn nạp lại trang này." + +#: disable-comments.php:272 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will " +"affect <strong>all sites</strong> in this network." +msgstr "" +"<em> vô hiệu hóa ý kiến </em> kích hoạt trong toàn Network. Thiết đặt dưới " +"đây sẽ ảnh hưởng đến Tất cả trang web trong mạng này." + +#: disable-comments.php:274 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"Có vẻ như một plugin bộ nhớ đệm/hiệu suất đang hoạt động trên trang web này. " +"Tắt bộ nhớ cache plugin đó sau khi thực hiện bất kỳ thay đổi các thiết đặt " +"dưới đây." + +#: disable-comments.php:278 +msgid "Everywhere" +msgstr "Ở mọi nơi" + +#: disable-comments.php:278 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "" +"Vô hiệu hoá tất cả các liên quan đến bình luận điều khiển và thiết lập trong " +"WordPress." + +#: disable-comments.php:279 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if " +"you want to disable comments <em>everywhere</em>. A complete description of " +"what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"%s: Tùy chọn này là toàn cầu và sẽ ảnh hưởng đến toàn bộ trang web của bạn. " +"Sử dụng nó chỉ nếu bạn muốn vô hiệu hóa ý kiến <em> ở khắp mọi nơi </em>. " +"Một mô tả đầy đủ về những gì tùy chọn này hiện <a href =\"%s\" target=" +"\"_blank\"> có sẵn ở đây </a>." + +#: disable-comments.php:279 disable-comments.php:295 disable-comments.php:297 +#: disable-comments.php:325 +msgid "Warning" +msgstr "Cảnh báo" + +#: disable-comments.php:281 +msgid "On certain post types" +msgstr "Trên một số loại post type" + +#: disable-comments.php:286 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"Vô hiệu hóa ý kiến cũng vô hiệu hóa trackbacks và pingbacks. Tất cả các lĩnh " +"vực liên quan đến bình luận cũng sẽ được ẩn từ màn hình chỉnh sửa/nhanh " +"chóng-chỉnh sửa các bài viết bị ảnh hưởng. Các thiết đặt này không thể được " +"ghi đè cho bài đăng riêng lẻ." + +#: disable-comments.php:289 +msgid "Other options" +msgstr "Lựa chọn khác" + +#: disable-comments.php:294 +msgid "Use persistent mode" +msgstr "Sử dụng chế độ liên tục" + +#: disable-comments.php:295 +msgid "" +"%s: <strong>This will make persistent changes to your database — " +"comments will remain closed even if you later disable the plugin!</strong> " +"You should not use it if you only want to disable comments temporarily. " +"Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting " +"this option." +msgstr "" +"%s: Điều này sẽ làm thay đổi liên tục cơ sở dữ liệu của bạn & mdash; ý kiến " +"sẽ vẫn đóng ngay cả khi bạn vô hiệu hóa plugin! Bạn không nên sử dụng nếu " +"bạn chỉ muốn vô hiệu hóa ý kiến tạm thời. Xin vui lòng <a href =\"%s\" " +"target=\"_blank\"> đọc FAQ </a> trước khi chọn tùy chọn này." + +#: disable-comments.php:297 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s: Nhập chế độ liên tục trên nhiều trang web lớn đòi hỏi một số lượng truy " +"vấn cơ sở dữ liệu lớn và có thể mất một lúc. Sử dụng thận trọng!" + +#: disable-comments.php:300 +msgid "" +"Persistent mode has been manually disabled. See the <a href=\"%s\" target=" +"\"_blank\">FAQ</a> for more information." +msgstr "" +"Chế độ liên tục đã bị vô hiệu theo cách thủ công. Xem các <a href = \"%s\" " +"target=\"_blank\"> FAQ </a> cho biết thêm thông tin." + +#: disable-comments.php:305 +msgid "Save Changes" +msgstr "Lưu thay đổi" + +#: disable-comments.php:325 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "" +"%s: Chọn tùy chọn này sẽ thực hiện liên tục thay đổi cơ sở dữ liệu của bạn. " +"Bạn có chắc bạn muốn bật nó?" diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-zh_TW.mo b/wp-content/plugins/disable-comments/languages/disable-comments-zh_TW.mo new file mode 100644 index 0000000000000000000000000000000000000000..f3c94e88277c534ad49433ab6ea04096d9bd23e7 Binary files /dev/null and b/wp-content/plugins/disable-comments/languages/disable-comments-zh_TW.mo differ diff --git a/wp-content/plugins/disable-comments/languages/disable-comments-zh_TW.po b/wp-content/plugins/disable-comments/languages/disable-comments-zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..51b89fedf0d12b67d3ae413337d40a018011fccf --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments-zh_TW.po @@ -0,0 +1,188 @@ +# Copyright (C) 2015 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 1.2\n" +"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/disable-comments\n" +"POT-Creation-Date: 2015-08-24 16:23+0800\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2015-08-24 16:45+0800\n" +"Language-Team: \n" +"X-Generator: Poedit 1.8.4\n" +"Last-Translator: Pseric <pserics@gmail.com>\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Language: zh_TW\n" + +#: disable-comments.php:38 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "Disable Comments 只能在 WordPress %s 版或更新版本使用。" + +#: disable-comments.php:210 +msgid "" +"Note: The <em>Disable Comments</em> plugin is currently active, and comments " +"are completely disabled on: %s. Many of the settings below will not be " +"applicable for those post types." +msgstr "" +"注意:<em>Disable Comments</em> 外掛目前啟用,迴響會在 %s 完全停用。下方的諸" +"多設定將不適用於那些文章類型。" + +#: disable-comments.php:210 +msgid ", " +msgstr ", " + +#: disable-comments.php:230 +msgid "" +"The <em>Disable Comments</em> plugin is active, but isn't configured to do " +"anything yet. Visit the <a href=\"%s\">configuration page</a> to choose " +"which post types to disable comments on." +msgstr "" +"<em>Disable Comments</em> 外掛目前啟用,但還沒做任何的設定。前往<a href=\"%s" +"\">設定頁面</a>來選擇要在那些文章類型停用迴響。" + +#: disable-comments.php:237 +msgid "Comments are closed." +msgstr "迴響目前關閉。" + +#: disable-comments.php:290 +msgid "Settings" +msgstr "設定" + +#. Plugin Name of the plugin/theme +#: disable-comments.php:298 disable-comments.php:350 +msgid "Disable Comments" +msgstr "Disable Comments" + +#: disable-comments.php:343 +msgid "" +"If a caching/performance plugin is active, please invalidate its cache to " +"ensure that changes are reflected immediately." +msgstr "如果外取或效能外掛啟用,請讓快取失效,以確保變更會立即反映。" + +#: disable-comments.php:344 +msgid "" +"Options updated. Changes to the Admin Menu and Admin Bar will not appear " +"until you leave or reload this page." +msgstr "" +"選項已更新。管理員選單和管理員工具列的變更不會出現,直到你離開或重新整理此頁" +"面。" + +#: disable-comments.php:353 +msgid "" +"<em>Disable Comments</em> is Network Activated. The settings below will " +"affect <strong>all sites</strong> in this network." +msgstr "" +"<em>Disable Comments</em> 已在網誌網路啟用。以下的設定將會影響此網誌網路內的" +"<strong>所有網站</strong>。" + +#: disable-comments.php:355 +msgid "" +"It seems that a caching/performance plugin is active on this site. Please " +"manually invalidate that plugin's cache after making any changes to the " +"settings below." +msgstr "" +"看來有快取或效能外掛正在此網站上啟用。在變更以下的任何設定後,請手動清除外掛" +"快取。" + +#: disable-comments.php:359 +msgid "Everywhere" +msgstr "全部" + +#: disable-comments.php:359 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "在 WordPress 裡停用所有迴響相關控制及設定。" + +#: disable-comments.php:360 +msgid "" +"%s: This option is global and will affect your entire site. Use it only if " +"you want to disable comments <em>everywhere</em>. A complete description of " +"what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" +"%s: 這個選像是全域的,會影響你的整個網站。只有當你想<em>完整</em>停用迴響功能" +"時才使用它。一個關於此功能的完整介紹可以在<a href=\"%s\" target=\"_blank\">這" +"裡</a>找到。" + +#: disable-comments.php:360 disable-comments.php:380 disable-comments.php:382 +#: disable-comments.php:409 +msgid "Warning" +msgstr "警告" + +#: disable-comments.php:362 +msgid "On certain post types" +msgstr "在某些文章類型" + +#: disable-comments.php:368 +msgid "" +"Only the built-in post types appear above. If you want to disable comments " +"on other custom post types on the entire network, you can supply a comma-" +"separated list of post types below (use the slug that identifies the post " +"type)." +msgstr "" +"只有內建的文章類型會顯示於上方。如果你想在其他自訂文章類型停用迴響,你可以在" +"下方提供類型列表,並以逗號分隔(使用文章類型的名稱)。" + +#: disable-comments.php:371 +msgid "" +"Disabling comments will also disable trackbacks and pingbacks. All comment-" +"related fields will also be hidden from the edit/quick-edit screens of the " +"affected posts. These settings cannot be overridden for individual posts." +msgstr "" +"停用迴響也將停用通告和引用通知。所有迴響相關欄位也將從編輯/快速編輯畫面隱" +"藏。這些設定無法被個別文章設定覆寫。" + +#: disable-comments.php:374 +msgid "Other options" +msgstr "其他選項" + +#: disable-comments.php:379 +msgid "Use persistent mode" +msgstr "使用永久模式" + +#: disable-comments.php:380 +msgid "" +"%s: <strong>This will make persistent changes to your database — " +"comments will remain closed even if you later disable the plugin!</strong> " +"You should not use it if you only want to disable comments temporarily. " +"Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting " +"this option." +msgstr "" +"%s: <strong>這會永久變更你的資料庫 — 迴響並保持關閉,即便你之後停用外" +"掛!</strong> 如果你只想暫時停用迴響,你不應該使用這個功能。在選擇此選項前," +"請先<a href=\"%s\" target=\"_blank\">閱讀問與答</a>。" + +#: disable-comments.php:382 +msgid "" +"%s: Entering persistent mode on large multi-site networks requires a large " +"number of database queries and can take a while. Use with caution!" +msgstr "" +"%s: 在大型網站上進入永久模式會需要大量的資料庫查詢,且可能需要一段時間。請謹" +"慎使用!" + +#: disable-comments.php:388 +msgid "Save Changes" +msgstr "儲存變更" + +#: disable-comments.php:409 +msgid "" +"%s: Selecting this option will make persistent changes to your database. Are " +"you sure you want to enable it?" +msgstr "%s: 選擇這個選項將會永久變更你的資料庫。你確定要啟用它嗎?" + +#. Plugin URI of the plugin/theme +msgid "http://wordpress.org/extend/plugins/disable-comments/" +msgstr "http://wordpress.org/extend/plugins/disable-comments/" + +#. Description of the plugin/theme +msgid "" +"Allows administrators to globally disable comments on their site. Comments " +"can be disabled according to post type." +msgstr "允許管理員在他們網站停用迴響功能。迴響可以依據特定文章類型停用。" + +#. Author of the plugin/theme +msgid "Samir Shah" +msgstr "Samir Shah" + +#. Author URI of the plugin/theme +msgid "http://rayofsolaris.net/" +msgstr "http://rayofsolaris.net/" diff --git a/wp-content/plugins/disable-comments/languages/disable-comments.pot b/wp-content/plugins/disable-comments/languages/disable-comments.pot new file mode 100644 index 0000000000000000000000000000000000000000..d83615e85d961d3aabfad398a2ccbfcc1e6ca9d4 --- /dev/null +++ b/wp-content/plugins/disable-comments/languages/disable-comments.pot @@ -0,0 +1,171 @@ +# Copyright (C) 2016 Disable Comments +# This file is distributed under the same license as the Disable Comments package. +msgid "" +msgstr "" +"Project-Id-Version: Disable Comments 1.6\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/disable-comments\n" +"POT-Creation-Date: 2016-12-02 07:47:59+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" + +#: disable-comments.php:59 +msgid "Disable Comments requires WordPress version %s or greater." +msgstr "" + +#: disable-comments.php:240 disable-comments.php:325 +msgid "Comments are closed." +msgstr "" + +#: disable-comments.php:289 +msgid "Note: The <em>Disable Comments</em> plugin is currently active, and comments are completely disabled on: %s. Many of the settings below will not be applicable for those post types." +msgstr "" + +#: disable-comments.php:289 +msgid ", " +msgstr "" + +#: disable-comments.php:317 +msgid "The <em>Disable Comments</em> plugin is active, but isn't configured to do anything yet. Visit the <a href=\"%s\">configuration page</a> to choose which post types to disable comments on." +msgstr "" + +#: disable-comments.php:382 +msgid "Settings" +msgstr "" + +#: disable-comments.php:383 +msgid "Tools" +msgstr "" + +#: disable-comments.php:391 includes/settings-page.php:49 +msgid "Disable Comments" +msgstr "" + +#: disable-comments.php:403 includes/tools-page.php:7 +#: includes/tools-page.php:103 +msgid "Delete Comments" +msgstr "" + +#: includes/settings-page.php:43 +msgid "If a caching/performance plugin is active, please invalidate its cache to ensure that changes are reflected immediately." +msgstr "" + +#: includes/settings-page.php:44 +msgid "Options updated. Changes to the Admin Menu and Admin Bar will not appear until you leave or reload this page." +msgstr "" + +#: includes/settings-page.php:52 +msgid "<em>Disable Comments</em> is Network Activated. The settings below will affect <strong>all sites</strong> in this network." +msgstr "" + +#: includes/settings-page.php:54 +msgid "It seems that a caching/performance plugin is active on this site. Please manually invalidate that plugin's cache after making any changes to the settings below." +msgstr "" + +#: includes/settings-page.php:58 includes/tools-page.php:85 +msgid "Everywhere" +msgstr "" + +#: includes/settings-page.php:58 +msgid "Disable all comment-related controls and settings in WordPress." +msgstr "" + +#: includes/settings-page.php:59 +msgid "%s: This option is global and will affect your entire site. Use it only if you want to disable comments <em>everywhere</em>. A complete description of what this option does is <a href=\"%s\" target=\"_blank\">available here</a>." +msgstr "" + +#: includes/settings-page.php:59 includes/settings-page.php:80 +#: includes/settings-page.php:82 includes/settings-page.php:110 +#: includes/tools-page.php:86 includes/tools-page.php:97 +msgid "Warning" +msgstr "" + +#: includes/settings-page.php:61 +msgid "On certain post types" +msgstr "" + +#: includes/settings-page.php:67 includes/tools-page.php:94 +msgid "Only the built-in post types appear above. If you want to disable comments on other custom post types on the entire network, you can supply a comma-separated list of post types below (use the slug that identifies the post type)." +msgstr "" + +#: includes/settings-page.php:68 includes/tools-page.php:95 +msgid "Custom post types:" +msgstr "" + +#: includes/settings-page.php:70 +msgid "Disabling comments will also disable trackbacks and pingbacks. All comment-related fields will also be hidden from the edit/quick-edit screens of the affected posts. These settings cannot be overridden for individual posts." +msgstr "" + +#: includes/settings-page.php:75 +msgid "Other options" +msgstr "" + +#: includes/settings-page.php:79 +msgid "Use persistent mode" +msgstr "" + +#: includes/settings-page.php:80 +msgid "%s: <strong>This will make persistent changes to your database — comments will remain closed even if you later disable the plugin!</strong> You should not use it if you only want to disable comments temporarily. Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting this option." +msgstr "" + +#: includes/settings-page.php:82 +msgid "%s: Entering persistent mode on large multi-site networks requires a large number of database queries and can take a while. Use with caution!" +msgstr "" + +#: includes/settings-page.php:89 +msgid "Save Changes" +msgstr "" + +#: includes/settings-page.php:110 +msgid "%s: Selecting this option will make persistent changes to your database. Are you sure you want to enable it?" +msgstr "" + +#: includes/tools-page.php:13 includes/tools-page.php:75 +msgid "No comments available for deletion." +msgstr "" + +#: includes/tools-page.php:38 +msgid "All comments have been deleted." +msgstr "" + +#: includes/tools-page.php:40 includes/tools-page.php:43 +msgid "Internal error occured. Please try again later." +msgstr "" + +#: includes/tools-page.php:62 +msgid "All comments have been deleted for %ss." +msgstr "" + +#: includes/tools-page.php:68 +msgid "Comment Deletion Complete" +msgstr "" + +#: includes/tools-page.php:85 +msgid "Delete all comments in WordPress." +msgstr "" + +#: includes/tools-page.php:86 +msgid "%s: This function and will affect your entire site. Use it only if you want to delete comments <em>everywhere</em>." +msgstr "" + +#: includes/tools-page.php:88 +msgid "For certain post types" +msgstr "" + +#: includes/tools-page.php:97 +msgid "%s: Deleting comments will remove existing comment entries in the database and cannot be reverted without a database backup." +msgstr "" + +#: includes/tools-page.php:102 +msgid "Total Comments:" +msgstr "" +#. Plugin Name of the plugin/theme +msgid "Disable Comments" +msgstr "" + +#. Description of the plugin/theme +msgid "Allows administrators to globally disable comments on their site. Comments can be disabled according to post type." +msgstr "" diff --git a/wp-content/plugins/disable-comments/readme.txt b/wp-content/plugins/disable-comments/readme.txt new file mode 100644 index 0000000000000000000000000000000000000000..47d24e9be7cb78fdcff7148f1cf5af3ffe3f91b1 --- /dev/null +++ b/wp-content/plugins/disable-comments/readme.txt @@ -0,0 +1,193 @@ +=== Disable Comments === +Contributors: solarissmoke +Donate link: http://www.rayofsolaris.net/donate/ +Tags: comments, disable, global +Requires at least: 4.0 +Tested up to: 4.7 +Stable tag: trunk + +Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly. Provides tool to delete all comments or according to post type. + +== Description == + +This plugin allows administrators to globally disable comments on any post type (posts, pages, attachments, etc.) so that these settings cannot be overridden for individual posts. It also removes all comment-related fields from edit and quick-edit screens. On multisite installations, it can be used to disable comments on the entire network. + +Additionally, comment-related items can be removed from the Dashboard, Widgets, the Admin Menu and the Admin Bar. + +**Important note**: Use this plugin if you don't want comments at all on your site (or on certain post types). Don't use it if you want to selectively disable comments on individual posts - WordPress lets you do that anyway. If you don't know how to disable comments on individual posts, there are instructions in [the FAQ](https://wordpress.org/plugins/disable-comments/faq/). + +If you come across any bugs or have suggestions, please use the plugin support forum. I can't fix it if I don't know it's broken! Please check the [FAQ](https://wordpress.org/plugins/disable-comments/faq/) for common issues. + +Want to contribute? Here's the [GitHub development repository](https://github.com/solarissmoke/disable-comments). + +A [must-use version](https://github.com/solarissmoke/disable-comments-mu) of the plugin is also available. + +== Frequently Asked Questions == + += Nothing happens after I disable comments on all posts - comment forms still appear when I view my posts. = + +This is because your theme is not checking the comment status of posts in the correct way. + +You may like to point your theme's author to [this explanation](http://www.rayofsolaris.net/blog/2012/how-to-check-if-comments-are-allowed-in-wordpress/) of what they are doing wrong, and how to fix it. + += How can I remove the text that says "comments are closed" at the bottom of articles where comments are disabled? = + +The plugin tries its very best to hide this (and any other comment-related) messages. + +If you still see the message, then it means your theme is overriding this behaviour, and you will have to edit its files manually to remove it. Two common approaches are to either delete or comment out the relevant lines in `wp-content/your-theme/comments.php`, or to add a declaration to `wp-content/your-theme/style.css` that hides the message from your visitors. In either case, make you you know what you are doing! + += I only want to disable comments on certain posts, not globally. What do I do? = + +Don't install this plugin! + +Go to the edit page for the post you want to disable comments on. Scroll down to the "Discussion" box, where you will find the comment options for that post. If you don't see a "Discussion" box, then click on "Screen Options" at the top of your screen, and make sure the "Discussion" checkbox is checked. + +You can also bulk-edit the comment status of multiple posts from the [posts screen](https://codex.wordpress.org/Posts_Screen). + += I want to delete comments from my database. What do I do? = + +Go to the settings page for the disable comments plugin and utlize the Delete Comments tool to delete all comments or according to the specified post types from your database. + +== Details == + +The plugin provides the option to **completely disable the commenting feature in WordPress**. When this option is selected, the following changes are made: + +* All "Comments" links are hidden from the Admin Menu and Admin Bar; +* All comment-related sections ("Recent Comments", "Discussion" etc.) are hidden from the WordPress Dashboard; +* All comment-related widgets are disabled (so your theme cannot use them); +* The "Discussion" settings page is hidden; +* All comment RSS/Atom feeds are disabled (and requests for these will be redirected to the parent post); +* The X-Pingback HTTP header is removed from all pages; +* Outgoing pingbacks are disabled. + +**Please delete any existing comments on your site before applying this setting, otherwise (depending on your theme) those comments may still be displayed to visitors. You can use the Delete Comments tool to delete any existing comments on your site.** + +== Advanced Configuration == + +Some of the plugin's behaviour can be modified by site administrators and plugin/theme developers through code: + +* Define `DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE` and set it to `false` to prevent the plugin from replacing the theme's comment template with an empty one. + +These definitions can be made either in your main `wp-config.php` or in your theme's `functions.php` file. + +== Changelog == + += 1.6 = +* Added a tool for deleting comments in bulk. + += 1.5.2 = +* Fix Javascript errors when the Meta widget is enabled. +* Hide comments link from the Welcome panel. + += 1.5.1 = +* Hide existing comments if there are any. +* Filter the comments link in the Meta widget if it is enabled. + += 1.5 = +* Remove the comments feed link from the head in WP 4.4 and higher. + += 1.4.2 = +* Delay loading of translation text domain until all plugins are loaded. This allows plugins to modify translations. + += 1.4 = +* Hide the troublesome "persistent mode" option for all sites where it is not in use. This option will be removed in a future release. + += 1.3.2 = +* Compatibility updates and code refactoring for WordPress 4.3 +* Adding a few new translations + += 1.3.1 = +* Change the behaviour for comment feed requests. This removes a potential security issue. + += 1.3 = +* Move persistent mode filter into a define. +* Add an advanced option to show the theme's comment template even when comments are disabled. + += 1.2 = +* Allow network administrators to disable comments on custom post types across the whole network. + += 1.1.1 = +* Fix PHP warning when active_sitewide_plugins option doesn't contain expected data type. + += 1.1 = +* Attempt to hide the comments template ("Comments are closed") whenever comments are disabled. + += 1.0.4 = +* Fix CSRF vulnerability in the admin. Thanks to dxw for responsible disclosure. + += 1.0.3 = +* Compatibility fix for WordPress 3.8 + += 1.0.2 = +* Disable comment-reply script for themes that don't check comment status properly. +* Add French translation + += 1.0.1 = +* Fix issue with settings persistence in single-site installations. + += 1.0 = +* Prevent theme comments template from being displayed when comments are disabled everywhere. +* Prevent direct access to comment admin pages when comments are disabled everywhere. + += 0.9.2 = +* Make persistent mode option filter available all the time. +* Fix redirection for feed requests +* Fix admin bar filtering in WP 3.6 + += 0.9.1 = +* Short life in the wild. + += 0.9 = +* Added gettext support and German translation. +* Added links to GitHub development repo. +* Allow network administrators to prevent the use of persistent mode. + += 0.8 = +* Remove X-Pingback header when comments are completely disabled. +* Disable comment feeds when comment are completely disabled. +* Simplified settings page. + += 0.7 = +* Now supports Network Activation - disable comments on your entire multi-site network. +* Simplified settings page. + += 0.6 = +* Add "persistent mode" to deal with themes that don't use filterable comment status checking. + += 0.5 = +* Allow temporary disabling of comments site-wide by ensuring that original comment statuses are not overwritten when a post is edited. + += 0.4 = +* Added the option to disable the Recent Comments template widget. +* Bugfix: don't show admin messages to users who don't can't do anything about them. + += 0.3.5 = +* Bugfix: Other admin menu items could inadvertently be hidden when 'Remove the "Comments" link from the Admin Menu' was selected. + += 0.3.4 = +* Bugfix: A typo on the settings page meant that the submit button went missing on some browsers. Thanks to Wojtek for reporting this. + += 0.3.3 = +* Bugfix: Custom post types which don't support comments shouldn't appear on the settings page +* Add warning notice to Discussion settings when comments are disabled + += 0.3.2 = +* Bugfix: Some dashboard items were incorrectly hidden in multisite + += 0.3.1 = +* Compatibility fix for WordPress 3.3 + += 0.3 = +* Added the ability to remove links to comment admin pages from the Dashboard, Admin Bar and Admin Menu + += 0.2.1 = +* Usability improvements to help first-time users configure the plugin. + += 0.2 = +* Bugfix: Make sure pingbacks are also prevented when comments are disabled. + +== Installation == + +1. Upload the plugin folder to the `/wp-content/plugins/` directory +2. Activate the plugin through the 'Plugins' menu in WordPress +3. The plugin settings can be accessed via the 'Settings' menu in the administration area (either your site administration for single-site installs, or your network administration for network installs). diff --git a/wp-content/plugins/disable-comments/uninstall.php b/wp-content/plugins/disable-comments/uninstall.php new file mode 100644 index 0000000000000000000000000000000000000000..8eb0024a12a46b66f1259b88fefb7469b41844cd --- /dev/null +++ b/wp-content/plugins/disable-comments/uninstall.php @@ -0,0 +1,5 @@ +<?php +if( !defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) + exit; + +delete_site_option( 'disable_comments_options' ); \ No newline at end of file