From a87985970d67acb112ceef9e7c24d8171c0f8a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 25 Sep 2024 16:45:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=8E=92=E5=8D=B0?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=92=8C=E9=A3=9E=E8=A1=8C=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + Service/Monitor.php | 6 +- Service/Setting.php | 98 ++++++++++- Service/Super.php | 291 +++++++++++++++++++++++++------- assets/css/setting.css | 3 +- helpers.php | 23 +-- languages/wp-china-yes-en_US.mo | Bin 5870 -> 0 bytes languages/wp-china-yes-en_US.po | 171 ------------------- languages/wp-china-yes-zh_CN.mo | Bin 5468 -> 0 bytes languages/wp-china-yes-zh_CN.po | 160 ------------------ languages/wp-china-yes-zh_TW.mo | Bin 5492 -> 0 bytes languages/wp-china-yes-zh_TW.po | 160 ------------------ 12 files changed, 340 insertions(+), 573 deletions(-) delete mode 100644 languages/wp-china-yes-en_US.mo delete mode 100644 languages/wp-china-yes-en_US.po delete mode 100644 languages/wp-china-yes-zh_CN.mo delete mode 100644 languages/wp-china-yes-zh_CN.po delete mode 100644 languages/wp-china-yes-zh_TW.mo delete mode 100644 languages/wp-china-yes-zh_TW.po diff --git a/.gitignore b/.gitignore index 5657f6e..331c58f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +.idea vendor \ No newline at end of file diff --git a/Service/Monitor.php b/Service/Monitor.php index bcdecb4..e59aab6 100644 --- a/Service/Monitor.php +++ b/Service/Monitor.php @@ -17,6 +17,9 @@ class Monitor { public function __construct() { $this->settings = get_settings(); + if ( $this->settings['monitor'] ) { + return; + } add_action( 'init', [ $this, 'init' ] ); add_action( 'wp_china_yes_maybe_check_store', [ @@ -37,9 +40,6 @@ class Monitor { * 初始化 */ public function init() { - if ( $this->settings['monitor'] ) { - return; - } // 检查应用市场可用性 if ( ! wp_next_scheduled( 'wp_china_yes_maybe_check_store' ) && $this->settings['store'] != 'off' ) { wp_schedule_event( time(), 'hourly', 'wp_china_yes_maybe_check_store' ); diff --git a/Service/Setting.php b/Service/Setting.php index 7984f60..9d4e8cb 100644 --- a/Service/Setting.php +++ b/Service/Setting.php @@ -125,6 +125,26 @@ class Setting { 'desc' => __( '文风字体(Windfonts)为您的网站增添无限活力。专为中文网页设计,旨在提升用户阅读体验和视觉享受。新手使用请先查看字体使用说明。', 'wp-china-yes' ), ], + [ + 'id' => 'windfonts_typography', + 'type' => 'checkbox', + 'title' => __( '排印优化', 'wp-china-yes' ), + 'inline' => true, + 'options' => [ + 'corner' => '直角括号', + 'space' => '文本空格', + 'punctuation' => '标点显示', + ], + 'default' => '', + 'subtitle' => '是否启用排印优化', + 'desc' => __( '排印优化可提升中文网页的视觉美感,适用于中文字体的网站。', + 'wp-china-yes' ), + 'dependency' => [ + 'windfonts', + 'any', + 'on,frontend,optimize', + ], + ], [ 'id' => 'windfonts_list', 'type' => 'group', @@ -193,7 +213,7 @@ class Setting { 'subtitle' => '字体应用元素', 'desc' => __( '设置字体应用的元素(CSS 选择器)', 'wp-china-yes' ), - 'default' => 'a,p,h1,h2,h3,h4,h5,h6,ul,ol,li,button,blockquote,pre,code,table,th,td,div:not([class*="star"]),label,b,i:not([class]),em,small,strong,sub,sup,ins,del,mark,abbr,dfn,span:not([class*="icon"])', + 'default' => 'a:not([class]),p,h1,h2,h3,h4,h5,h6,ul,ol,li,button,blockquote,pre,code,table,th,td,label,b,i:not([class]),em,small,strong,sub,sup,ins,del,mark,abbr,dfn,span:not([class])', 'sanitize' => false, ], [ @@ -231,11 +251,11 @@ class Setting { 'wp-china-yes' ), ], [ - 'id' => 'adblock_rule', - 'type' => 'group', - 'title' => '规则列表', - 'subtitle' => '使用的广告屏蔽规则列表', - 'desc' => __( '支持添加多条广告屏蔽规则', + 'id' => 'adblock_rule', + 'type' => 'group', + 'title' => '规则列表', + 'subtitle' => '使用的广告屏蔽规则列表', + 'desc' => __( '支持添加多条广告屏蔽规则', 'wp-china-yes' ), 'button_title' => '添加规则', @@ -281,6 +301,72 @@ class Setting { ], ] ); + WP_CHINA_YES::createSection( $this->prefix, [ + 'title' => '飞行模式', + 'icon' => 'fa fa-plane', + 'fields' => [ + [ + 'id' => 'plane', + 'type' => 'radio', + 'title' => __( '飞行模式', 'wp-china-yes' ), + 'inline' => true, + 'options' => [ + 'on' => '启用', + 'off' => '不启用', + ], + 'default' => 'off', + 'subtitle' => '是否启用飞行模式', + 'desc' => __( '文派叶子🍃(WP-China-Yes)独家特色功能,飞行模式可以屏蔽 WordPress 主题插件中国不能访问的服务 API 请求,加速网站前后台访问。注意:部分外部请求为产品更新检测,若屏蔽请定期手动检测。', + 'wp-china-yes' ), + ], + [ + 'id' => 'plane_rule', + 'type' => 'group', + 'title' => '规则列表', + 'subtitle' => '飞行模式使用的 URL 屏蔽规则列表', + 'desc' => __( '支持添加多条 URL 屏蔽规则', + 'wp-china-yes' ), + + 'button_title' => '添加规则', + 'accordion_title_number' => true, + 'dependency' => [ + 'plane', + 'any', + 'on', + ], + 'fields' => [ + [ + 'id' => 'name', + 'type' => 'text', + 'title' => __( '规则名称', 'wp-china-yes' ), + 'subtitle' => '自定义规则名称', + 'desc' => __( '自定义规则名称,方便识别', + 'wp-china-yes' ), + 'default' => '默认规则', + ], + [ + 'id' => 'url', + 'type' => 'textarea', + 'title' => __( 'URL', 'wp-china-yes' ), + 'subtitle' => 'URL', + 'desc' => __( '设置需要屏蔽的 URL 关键词', + 'wp-china-yes' ), + 'default' => '', + 'placeholder' => 'example.com', + 'sanitize' => false, + ], + [ + 'id' => 'enable', + 'type' => 'switcher', + 'title' => __( '启用规则', 'wp-china-yes' ), + 'subtitle' => '是否启用该规则', + 'default' => true, + ], + ], + ] + ], + ] ); + WP_CHINA_YES::createSection( $this->prefix, [ 'title' => '其他设置', 'icon' => 'fa fa-cogs', diff --git a/Service/Super.php b/Service/Super.php index 5395ace..73c5832 100644 --- a/Service/Super.php +++ b/Service/Super.php @@ -4,6 +4,7 @@ namespace WenPai\ChinaYes\Service; defined( 'ABSPATH' ) || exit; +use WP_Error; use function WenPai\ChinaYes\get_settings; /** @@ -170,56 +171,11 @@ HTML; } } + /** + * adminCDN + */ if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { - /** - * 前台静态加速 - */ - if ( in_array( 'frontend', (array) $this->settings['admincdn'] ) ) { - $this->page_str_replace( 'template_redirect', 'preg_replace', [ - '#(?<=[(\"\'])(?:' . quotemeta( home_url() ) . ')?/(?:((?:wp-content|wp-includes)[^\"\')]+\.(css|js)[^\"\')]+))(?=[\"\')])#', - 'https://public.admincdn.com/$0' - ] ); - } - - /** - * Google 字体替换 - */ - if ( in_array( 'googlefonts', (array) $this->settings['admincdn'] ) ) { - $this->page_str_replace( 'init', 'str_replace', [ - 'fonts.googleapis.com', - 'googlefonts.admincdn.com' - ] ); - } - - /** - * Google 前端公共库替换 - */ - if ( in_array( 'googleajax', (array) $this->settings['admincdn'] ) ) { - $this->page_str_replace( 'init', 'str_replace', [ - 'ajax.googleapis.com', - 'googleajax.admincdn.com' - ] ); - } - - /** - * CDNJS 前端公共库替换 - */ - if ( in_array( 'cdnjs', (array) $this->settings['admincdn'] ) ) { - $this->page_str_replace( 'init', 'str_replace', [ - 'cdnjs.cloudflare.com/ajax/libs', - 'cdnjs.admincdn.com' - ] ); - } - - /** - * jsDelivr 前端公共库替换 - */ - if ( in_array( 'jsdelivr', (array) $this->settings['admincdn'] ) ) { - $this->page_str_replace( 'init', 'str_replace', [ - 'jsd.admincdn.com', - 'jsd.admincdn.com' - ] ); - } + $this->load_admincdn(); } /** @@ -236,24 +192,93 @@ HTML; /** * 文风字体 */ - if ( ! empty( $this->settings['windfonts'] ) && $this->settings['windfonts'] == 'optimize' ) { - add_action( 'init', function () { - wp_enqueue_style( 'windfonts-optimize', CHINA_YES_PLUGIN_URL . 'assets/css/fonts.css', [], CHINA_YES_VERSION ); - } ); - } - if ( ! empty( $this->settings['windfonts'] ) && $this->settings['windfonts'] == 'on' ) { - add_action( 'wp_head', [ $this, 'load_windfonts' ] ); - add_action( 'admin_head', [ $this, 'load_windfonts' ] ); - } - if ( ! empty( $this->settings['windfonts'] ) && $this->settings['windfonts'] == 'frontend' ) { - add_action( 'wp_head', [ $this, 'load_windfonts' ] ); + if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { + if ( ! empty( $this->settings['windfonts'] ) && $this->settings['windfonts'] != 'off' ) { + $this->load_typography(); + } + if ( ! empty( $this->settings['windfonts'] ) && $this->settings['windfonts'] == 'optimize' ) { + add_action( 'init', function () { + wp_enqueue_style( 'windfonts-optimize', CHINA_YES_PLUGIN_URL . 'assets/css/fonts.css', [], CHINA_YES_VERSION ); + } ); + } + if ( ! empty( $this->settings['windfonts'] ) && $this->settings['windfonts'] == 'on' ) { + add_action( 'wp_head', [ $this, 'load_windfonts' ] ); + add_action( 'admin_head', [ $this, 'load_windfonts' ] ); + } + if ( ! empty( $this->settings['windfonts'] ) && $this->settings['windfonts'] == 'frontend' ) { + add_action( 'wp_head', [ $this, 'load_windfonts' ] ); + } } /** * 广告拦截 */ - if ( ! empty( $this->settings['adblock'] ) && $this->settings['adblock'] == 'on' ) { - add_action( 'admin_head', [ $this, 'load_adblock' ] ); + if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { + if ( ! empty( $this->settings['adblock'] ) && $this->settings['adblock'] == 'on' ) { + add_action( 'admin_head', [ $this, 'load_adblock' ] ); + } + } + + /** + * 飞行模式 + */ + if ( ! empty( $this->settings['plane'] ) && $this->settings['plane'] == 'on' ) { + $this->load_plane(); + } + } + + /** + * 加载 adminCDN + */ + public function load_admincdn() { + /** + * 前台静态加速 + */ + if ( in_array( 'frontend', (array) $this->settings['admincdn'] ) ) { + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '#(?<=[(\"\'])(?:' . quotemeta( home_url() ) . ')?/(?:((?:wp-content|wp-includes)[^\"\')]+\.(css|js)[^\"\')]+))(?=[\"\')])#', + 'https://public.admincdn.com/$0' + ] ); + } + + /** + * Google 字体替换 + */ + if ( in_array( 'googlefonts', (array) $this->settings['admincdn'] ) ) { + $this->page_str_replace( 'init', 'str_replace', [ + 'fonts.googleapis.com', + 'googlefonts.admincdn.com' + ] ); + } + + /** + * Google 前端公共库替换 + */ + if ( in_array( 'googleajax', (array) $this->settings['admincdn'] ) ) { + $this->page_str_replace( 'init', 'str_replace', [ + 'ajax.googleapis.com', + 'googleajax.admincdn.com' + ] ); + } + + /** + * CDNJS 前端公共库替换 + */ + if ( in_array( 'cdnjs', (array) $this->settings['admincdn'] ) ) { + $this->page_str_replace( 'init', 'str_replace', [ + 'cdnjs.cloudflare.com/ajax/libs', + 'cdnjs.admincdn.com' + ] ); + } + + /** + * jsDelivr 前端公共库替换 + */ + if ( in_array( 'jsdelivr', (array) $this->settings['admincdn'] ) ) { + $this->page_str_replace( 'init', 'str_replace', [ + 'jsd.admincdn.com', + 'jsd.admincdn.com' + ] ); } } @@ -298,6 +323,127 @@ HTML } } + /** + * 加载排印优化 + */ + public function load_typography() { + // code from corner-bracket-lover plugin + if ( in_array( 'corner', (array) $this->settings['windfonts_typography'] ) ) { + $this->page_str_replace( 'init', 'str_replace', [ + 'n’t', + 'n’t' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '’s', + '’s' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '’m', + '’m' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '’re', + '’re' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '’ve', + '’ve' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '’d', + '’d' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '’ll', + '’ll' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '“', + '「' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '”', + '」' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '‘', + '『' + ] ); + $this->page_str_replace( 'init', 'str_replace', [ + '’', + '』' + ] ); + } + // code from space-lover plugin + if ( in_array( 'space', (array) $this->settings['windfonts_typography'] ) ) { + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~(\p{Han})([a-zA-Z0-9\p{Ps}\p{Pi}])(?![^<]*>)~u', + '\1 \2' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~([a-zA-Z0-9\p{Pe}\p{Pf}])(\p{Han})(?![^<]*>)~u', + '\1 \2' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~([!?‽:;,.%])(\p{Han})~u', + '\1 \2' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~(\p{Han})([@$#])~u', + '\1 \2' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~(&?(?:amp)?;) (\p{Han})(?![^<]*>)~u', + '\1\2' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~(\p{Han})(<(?!ruby)[a-zA-Z]+?[^>]*?>)([a-zA-Z0-9\p{Ps}\p{Pi}@$#])~u', + '\1 \2\3' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~(\p{Han})(<\/(?!ruby)[a-zA-Z]+>)([a-zA-Z0-9])~u', + '\1\2 \3' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~([a-zA-Z0-9\p{Pe}\p{Pf}!?‽:;,.%])(<(?!ruby)[a-zA-Z]+?[^>]*?>)(\p{Han})~u', + '\1 \2\3' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~([a-zA-Z0-9\p{Ps}\p{Pi}!?‽:;,.%])(<\/(?!ruby)[a-zA-Z]+>)(\p{Han})~u', + '\1\2 \3' + ] ); + $this->page_str_replace( 'template_redirect', 'preg_replace', [ + '~[ ]*([「」『』()〈〉《》【】〔〕〖〗〘〙〚〛])[ ]*~u', + '\1' + ] ); + } + // code from quotmarks-replacer plugin + if ( in_array( 'punctuation', (array) $this->settings['windfonts_typography'] ) ) { + $qmr_work_tags = array( + 'the_title', // http://codex.wordpress.org/Function_Reference/the_title + 'the_content', // http://codex.wordpress.org/Function_Reference/the_content + 'the_excerpt', // http://codex.wordpress.org/Function_Reference/the_excerpt + // 'list_cats', Deprecated. http://codex.wordpress.org/Function_Reference/list_cats + 'single_post_title', // http://codex.wordpress.org/Function_Reference/single_post_title + 'comment_author', // http://codex.wordpress.org/Function_Reference/comment_author + 'comment_text', // http://codex.wordpress.org/Function_Reference/comment_text + // 'link_name', Deprecated. + // 'link_notes', Deprecated. + 'link_description', // Deprecated, but still widely used. + 'bloginfo', // http://codex.wordpress.org/Function_Reference/bloginfo + 'wp_title', // http://codex.wordpress.org/Function_Reference/wp_title + 'term_description', // http://codex.wordpress.org/Function_Reference/term_description + 'category_description', // http://codex.wordpress.org/Function_Reference/category_description + 'widget_title', // Used by all widgets in themes + 'widget_text' // Used by all widgets in themes + ); + + foreach ( $qmr_work_tags as $qmr_work_tag ) { + remove_filter( $qmr_work_tag, 'wptexturize' ); + } + } + } + /** * 加载广告拦截 */ @@ -322,6 +468,27 @@ HTML } } + /** + * 加载飞行模式 + */ + public function load_plane() { + add_filter( 'pre_http_request', function ( $preempt, $parsed_args, $url ) { + foreach ( (array) $this->settings['plane_rule'] as $rule ) { + if ( empty( $rule['enable'] ) ) { + continue; + } + if ( empty( $rule['url'] ) ) { + continue; + } + if ( strpos( $url, $rule['url'] ) !== false ) { + return new WP_Error( 'http_request_not_executed', '无用 URL 已屏蔽访问' ); + } + } + + return $preempt; + }, PHP_INT_MAX, 3 ); + } + /** * WordPress.Org 替换 */ diff --git a/assets/css/setting.css b/assets/css/setting.css index a9ebcba..f72e77b 100644 --- a/assets/css/setting.css +++ b/assets/css/setting.css @@ -18,10 +18,11 @@ color: #dcdcde; } -.contributors-name a{ +.contributors-name a { line-height: 2; padding: 0.5em; } + .wp_china_yes-content a { color: #3858e9; text-decoration: none; diff --git a/helpers.php b/helpers.php index bf78610..c5fa9c0 100644 --- a/helpers.php +++ b/helpers.php @@ -9,15 +9,18 @@ function get_settings() { $settings = is_multisite() ? get_site_option( 'wp_china_yes' ) : get_option( 'wp_china_yes' ); return wp_parse_args( $settings, [ - 'store' => 'wenpai', - 'admincdn' => [ 'admin' ], - 'cravatar' => 'cn', - 'windfonts' => 'off', - 'windfonts_list' => [], - 'adblock' => 'off', - 'adblock_rule' => [], - 'monitor' => true, - 'hide' => false, - 'custom_name' => 'WP-China-Yes', + 'store' => 'wenpai', + 'admincdn' => [ 'admin' ], + 'cravatar' => 'cn', + 'windfonts' => 'off', + 'windfonts_list' => [], + 'windfonts_typography' => [], + 'adblock' => 'off', + 'adblock_rule' => [], + 'plane' => 'off', + 'plane_rule' => [], + 'monitor' => true, + 'hide' => false, + 'custom_name' => 'WP-China-Yes', ] ); } diff --git a/languages/wp-china-yes-en_US.mo b/languages/wp-china-yes-en_US.mo deleted file mode 100644 index 4c31d5666c01ab038964f60bf85fbd4b6741aa24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5870 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 diff --git a/languages/wp-china-yes-en_US.po b/languages/wp-china-yes-en_US.po deleted file mode 100644 index 9e7e54b..0000000 --- a/languages/wp-china-yes-en_US.po +++ /dev/null @@ -1,171 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WP-China-Yes\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-23 03:41+0000\n" -"PO-Revision-Date: 2024-08-23 12:21+0800\n" -"Last-Translator: \n" -"Language-Team: English (United States)\n" -"Language: en_US\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Poedit 3.4.4\n" -"X-Loco-Version: 2.6.11; wp-6.6\n" -"X-Domain: wp-china-yes\n" - -#: Service/Setting.php:54 -msgid "" -"萌芽加速(adminCDN)" -"将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需要" -"加速的项目,更多细节控制和功能,请关注 adminCDN 项目。" -msgstr "" -"adminCDN switches " -"the static files that WordPress relies on to public resources to speed up " -"website access. You can enable the projects that need to be accelerated as " -"needed. For more detailed control and functions, please pay attention to the " -"adminCDN project." - -#: Service/Setting.php:72 -msgid "" -"初认头像(Cravatar)Gravatar 在中国的完美替代方案,您可以在 Cravatar.com 上传头像,更多选项请安" -"装 WPAavatar 插件。(任何开发者均可在自己的产品中集成该服务,不局限于 " -"WordPress)" -msgstr "" -"Cravatar is a " -"perfect alternative to Gravatar in China. You can upload your avatar on " -"Cravatar.com. For more options, please install the WPAavatar plugin. (Any " -"developer can integrate this service into their own products, not limited to " -"WordPress)" - -#: Service/Setting.php:86 -msgid "" -"文风字体(Windfonts)为您的网页渲染中文字体并对主题、插件内的字体进行加速;优化模式可优化浏览器" -"字体调用。" -msgstr "" -"Windfonts renders " -"Chinese fonts for your web pages and accelerates fonts in themes and plug-" -"ins; the optimization mode can optimize browser font calls." - -#: Service/Setting.php:109 -msgid "" -"文派叶子🍃(WP-" -"China-Yes)支持自动监控各加速节点可用性,当节点不可用时自动切换至可用节点" -"或关闭加速,以保证您的网站正常访问。" -msgstr "" -"WP-China-Yes 🍃 " -"(文派叶子) supports automatic monitoring of the availability of each " -"acceleration node. When a node is unavailable, it automatically switches to " -"an available node or turns off acceleration to ensure normal access to your " -"website." - -#: Service/Setting.php:98 -msgid "" -"文派叶子🍃(WP-" -"China-Yes)独家特色功能,让您拥有清爽整洁的 WordPress 后台,清除各类常用" -"插件侵入式后台广告、通知及无用信息;启用后若存在异常拦截,请切换为手动模式," -"查看可优化插件列表。" -msgstr "" -"WP-China-Yes 🍃 " -"(文派叶子) unique features allow you to have a clean and tidy WordPress " -"backend, removing all kinds of intrusive backend ads, notifications and " -"useless information from commonly used plugins; if there is abnormal " -"interception after enabling, please switch to manual mode and check the list of optimizable " -"plugins." - -#: Service/Setting.php:41 -msgid "" -"官方加速源(WPMirror)直接从 .org 反代至大陆分发;文派开源(WenPai.org)中国境内自建托管仓库,同时集成文" -"派翻译平台。" -msgstr "" -"The official " -"acceleration source (WPMirror) is directly reverse-generated from .org " -"to the mainland for distribution; WenPai.org Open Source has its own hosting warehouse " -"in China and is integrated with the WenPai translation platform." - -#. Author URI of the plugin -msgid "https://wp-china-yes.com" -msgstr "https://wp-china-yes.com" - -#. Name of the plugin -#: Service/Setting.php:143 Service/Setting.php:144 -msgid "WP-China-Yes" -msgstr "WP-China-Yes" - -#: Plugin.php:52 -#, php-format -msgid "" -"WP-China-Yes 插件需要 PHP 5.6.0 或更高版本,当前版本为 %s,插件已自动禁用。" -msgstr "" -"The WP-China-Yes plugin requires PHP 5.6.0 or higher. The current version is " -"%s and the plugin has been automatically disabled." - -#: Service/Setting.php:71 -msgid "初认头像" -msgstr "Cravatar" - -#: Service/Setting.php:97 -msgid "广告拦截" -msgstr "Ad Blocker" - -#: Service/Setting.php:40 -msgid "应用市场" -msgstr "App Market" - -#. Description of the plugin -msgid "" -"文派叶子 🍃(WP-China-Yes)是中国 WordPress 生态基础设施软件,犹如落叶新芽," -"生生不息。" -msgstr "" -"WP-China-Yes 🍃 (文派叶子) is the infrastructure software for the Chinese " -"WordPress ecosystem, just like fallen leaves sprouting new leaves, it is " -"everlasting." - -#. Author of the plugin -msgid "文派开源" -msgstr "WenPai.org" - -#: Service/Setting.php:85 -msgid "文风字体" -msgstr "Windfonts" - -#: Plugin.php:71 -msgid "检测到不兼容的插件 Kill 429,已自动禁用!" -msgstr "Incompatible plugin Kill 429 detected, automatically disabled!" - -#: Plugin.php:65 -msgid "检测到不兼容的插件 WP-China-Plus,已自动禁用!" -msgstr "Incompatible plugin WP-China-Plus detected and automatically disabled!" - -#: Plugin.php:78 -msgid "" -"检测到已在 WordPress 配置文件中设置代理服务器,这可能会导致插件无法正常工作!" -msgstr "" -"A proxy server has been detected in the WordPress configuration file. This " -"may cause the plugin to not work properly!" - -#: Plugin.php:59 -msgid "检测到旧版插件 WP-China-No,已自动禁用!" -msgstr "" -"An old version of the plugin WP-China-No has been detected and automatically " -"disabled!" - -#: Service/Setting.php:108 -msgid "自动监控" -msgstr "Automatic Monitor" - -#: Service/Setting.php:53 -msgid "萌芽加速" -msgstr "adminCDN" - -#: Service/Setting.php:32 Service/Setting.php:155 -msgid "设置" -msgstr "Setting" diff --git a/languages/wp-china-yes-zh_CN.mo b/languages/wp-china-yes-zh_CN.mo deleted file mode 100644 index b2774338414318a58e6eaa183a91dd709e52971f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5468 zcmeHKOK%(36`rPQo3M{G?sE~e0|8wHBhiX&I8%v z@aW^cb06P1=R4seWc@AAaD2|eUjVP8{{^Rg+ra|x zCG=N;XMtY# z@Nu0Ez7Ax(F9ShSz_xZ9u>atbZ7WO?KvVds^93Oh;C2BN><1s`Lw?FRxu>&-Ad?8 z>pSoE%IbTqXRUP7O4LZ=RwJCnMCiB=sj!e1}&#|t4SUYfAxOr#J%GVn+dF(*S zE1!i2=)f9D6=*Wvm=BY5!JJ&f4{IgDS+MnUB{P%9A~dr}mTsDrAuBOJ$5u&fn|zFw zv({h@U#-GJ5`91)tciQHMLrXI2!|Zu)8*?j%zuI-NNmB%FOj89GMIuRx}4FDBVKcw zBAH(^it8j(15J`onmc1OQ#UG$bh<=yF-F-o&ZsP7q`0>V+fy`(38Q*zZwJS=MmP@6 z%#wWET8xTUyuao&MVk5;?u98}V^k_eZHiRGBsFe@qhw(i4#Wo5@F(QqJy0>qt7IYq zW{u1cjis%^GMyhKi5v(S#ZhuE+?Y!n<*{ZkVb@_7eGpLnS2Z;he1eY<@y6m9S)Va# z6JT{^Z@A+mhyd1u4Wi!2ZPDU=nwgF24<60{ zu%nwhB(+V}(_dsq2bp1Bsmq@DdnM@DMkgWI2=jMh&CHB5F{W>DqR^%}Py#>jpy5@x zoYW?GC-Xh;pV{VfdAeA`4|qQxMq|?ua${zF&+;VnW7HR{LS)~eNF%zwNQyaPEXey5DG&W=9)>u`1g75nR zx~@I3yyRz5B6xi50tt~_uqQYIGc%iXY}u%ciEWzREt1qIstVJ|(rROFh{T4F`f$Zz zLlm`N4zM|osqT)pt6^tLMfLKr`x(nh8M!@(BxL%mlxcj{%;${C1SuoMlO&y_GuynV z@Wsq}#VU-G5(K=#9C0vL9%(oQjF)!N`?^;=*>y10JW;{mc@3Kv56C^&$ zo2Vh;uaI;}r#L*k@8sM{#7XnLgY7>fC>*Td0@oB5h(OAdm`sWTWWFpM%y;qe2~TGW zyvQFAwKfs(I2kqN8Rl50)?xo`Ah*LXT#8h@UGczgW|%&ml>07#r1_q)@enH#u#jFMTk@ z%N2RJY}Do-VM}LLS+MP_!hz@1+KbxbSstvp!oll`z-b9yUHgOL3rTPIrMDG57|>Kt zb5&Gu*IP=zriY{p!R~-x`pvcOpma&|h%WDMrMHyp0X9K8Cx;Y|*x~LtA-PXW9WRQ< zJ3Jlk7u=`aZr6D^7?LjOvKs7_Lz<46=Vi6~n%u2OmlV0rBbxaz4n%&??SJ!#AN9P` zbaWIc%6+2u>GN~fFS*w$AS zU3x|JY5suP?GaDE8wj}&SY7UwUe)xzphr~u?Pl=I@lKKdJmc-wVlG}b6Ourd05B(De5|WXE?fFIv4Gu`{mL7 j^5}kv|57?9-G8}IAKfpH?w3dR%jT8q=zjVCdcXWPOdu@z diff --git a/languages/wp-china-yes-zh_CN.po b/languages/wp-china-yes-zh_CN.po deleted file mode 100644 index 08cf984..0000000 --- a/languages/wp-china-yes-zh_CN.po +++ /dev/null @@ -1,160 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WP-China-Yes\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-23 03:41+0000\n" -"PO-Revision-Date: 2024-08-23 12:20+0800\n" -"Last-Translator: \n" -"Language-Team: 简体中文\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.4.4\n" -"X-Loco-Version: 2.6.10; wp-6.6\n" -"X-Domain: wp-china-yes\n" - -#: Service/Setting.php:54 -msgid "" -"萌芽加速(adminCDN)" -"将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需" -"要加速的项目,更多细节控制和功能,请关注 adminCDN 项目。" -msgstr "" -"萌芽加速(adminCDN)" -"将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需" -"要加速的项目,更多细节控制和功能,请关注 adminCDN 项目。" - -#: Service/Setting.php:72 -msgid "" -"初认头像(Cravatar)Gravatar 在中国的完美替代方案,您可以在 Cravatar.com 上传头像,更多选项请" -"安装 WPAavatar 插件。(任何开发者均可在自己的产品中集成该服务,不局限于 " -"WordPress)" -msgstr "" -"初认头像(Cravatar)Gravatar 在中国的完美替代方案,您可以在 Cravatar.com 上传头像,更多选项请" -"安装 WPAavatar 插件。(任何开发者均可在自己的产品中集成该服务,不局限于 " -"WordPress)" - -#: Service/Setting.php:86 -msgid "" -"文风字体(Windfonts)为您的网页渲染中文字体并对主题、插件内的字体进行加速;优化模式可优化浏览器" -"字体调用。" -msgstr "" -"文风字体(Windfonts)为您的网页渲染中文字体并对主题、插件内的字体进行加速;优化模式可优化浏览器" -"字体调用。" - -#: Service/Setting.php:109 -msgid "" -"文派叶子🍃(WP-" -"China-Yes)支持自动监控各加速节点可用性,当节点不可用时自动切换至可用节" -"点或关闭加速,以保证您的网站正常访问。" -msgstr "" -"文派叶子🍃(WP-" -"China-Yes)支持自动监控各加速节点可用性,当节点不可用时自动切换至可用节" -"点或关闭加速,以保证您的网站正常访问。" - -#: Service/Setting.php:98 -msgid "" -"文派叶子🍃(WP-" -"China-Yes)独家特色功能,让您拥有清爽整洁的 WordPress 后台,清除各类常用" -"插件侵入式后台广告、通知及无用信息;启用后若存在异常拦截,请切换为手动模式," -"查看可优化插件列表。" -msgstr "" -"文派叶子🍃(WP-" -"China-Yes)独家特色功能,让您拥有清爽整洁的 WordPress 后台,清除各类常用" -"插件侵入式后台广告、通知及无用信息;启用后若存在异常拦截,请切换为手动模式," -"查看可优化插件列表。" - -#: Service/Setting.php:41 -msgid "" -"官方加速源(WPMirror)直接从 .org 反代至大陆分发;文派开源(WenPai.org)中国境内自建托管仓库,同时集成文" -"派翻译平台。" -msgstr "" -"官方加速源(WPMirror)直接从 .org 反代至大陆分发;文派开源(WenPai.org)中国境内自建托管仓库,同时集成文" -"派翻译平台。" - -#. Author URI of the plugin -msgid "https://wp-china-yes.com" -msgstr "https://wp-china-yes.com" - -#. Name of the plugin -#: Service/Setting.php:143 Service/Setting.php:144 -msgid "WP-China-Yes" -msgstr "WP-China-Yes" - -#: Plugin.php:52 -#, php-format -msgid "" -"WP-China-Yes 插件需要 PHP 5.6.0 或更高版本,当前版本为 %s,插件已自动禁用。" -msgstr "" -"WP-China-Yes 插件需要 PHP 5.6.0 或更高版本,当前版本为 %s,插件已自动禁用。" - -#: Service/Setting.php:71 -msgid "初认头像" -msgstr "初认头像" - -#: Service/Setting.php:97 -msgid "广告拦截" -msgstr "广告拦截" - -#: Service/Setting.php:40 -msgid "应用市场" -msgstr "应用市场" - -#. Description of the plugin -msgid "" -"文派叶子 🍃(WP-China-Yes)是中国 WordPress 生态基础设施软件,犹如落叶新芽," -"生生不息。" -msgstr "" -"文派叶子 🍃(WP-China-Yes)是中国 WordPress 生态基础设施软件,犹如落叶新芽," -"生生不息。" - -#. Author of the plugin -msgid "文派开源" -msgstr "文派开源" - -#: Service/Setting.php:85 -msgid "文风字体" -msgstr "文风字体" - -#: Plugin.php:71 -msgid "检测到不兼容的插件 Kill 429,已自动禁用!" -msgstr "检测到不兼容的插件 Kill 429,已自动禁用!" - -#: Plugin.php:65 -msgid "检测到不兼容的插件 WP-China-Plus,已自动禁用!" -msgstr "检测到不兼容的插件 WP-China-Plus,已自动禁用!" - -#: Plugin.php:78 -msgid "" -"检测到已在 WordPress 配置文件中设置代理服务器,这可能会导致插件无法正常工" -"作!" -msgstr "" -"检测到已在 WordPress 配置文件中设置代理服务器,这可能会导致插件无法正常工" -"作!" - -#: Plugin.php:59 -msgid "检测到旧版插件 WP-China-No,已自动禁用!" -msgstr "检测到旧版插件 WP-China-No,已自动禁用!" - -#: Service/Setting.php:108 -msgid "自动监控" -msgstr "自动监控" - -#: Service/Setting.php:53 -msgid "萌芽加速" -msgstr "萌芽加速" - -#: Service/Setting.php:32 Service/Setting.php:155 -msgid "设置" -msgstr "设置" diff --git a/languages/wp-china-yes-zh_TW.mo b/languages/wp-china-yes-zh_TW.mo deleted file mode 100644 index 69ac10ceb5e68effc045a644c6af17621786528e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5492 zcmchb+jARN9mf|4(3)!lr93dO;~AbhvK=?cBu!oc-O;NBR576Hx)zOZa>bpTFSq1AIcC!yjDFeI6fte;%?G^5ho;;m;U9b3zcF zK%V%bAp8;IpFpyCzyGozd==v#J|_r0kY32|LjD7ijh}d)%NKO{eaPDwe_6j@&}A0# zJjP3qmmvQMX@NY`A_!+8mmt}Gf77J``6b+c0yzLZ{sqbOF=G0@ zyl%DicH2yLyD06?DmyXx?ua@Yr%o4*d8Ohm@pIIkaMSTs;@c%3VdptzxQwSt_95|X(XF&tQCs9I@eZNE5j{5JZ6nNoiX(_`R>>@p zrEM}Ch9fTPvvo(jq2G!mnU?Y!BvFQ%BomVN$7$j~DlXF49!>d}%9?RfaTznk$}a4k zqLdFvrTNMmblX&?A38HjGJa*zBVO$f{$Wz|RGX?;m<7zxxg;&+A& zJ^f~j(eQzZTV(9DH&y_&qucu=yh}DBPv*vknPJ_A%i6+Une4i4bP5UUV*U=K<-`O_ z#>fa)6uBw8_n;s2pw3meoRlZ|AoD#RpWfwbdATUwEk4etQC|#+tWIxKEDs@nq=Q){ z>#8~wWkfd?Nj}eu=`%N24&Eo3UD>~<_%~}6m-!e9(IB$RPxBtxSEkWzy6r*$YpErY z$T$h-SS{o|YJ3Tfk{=YIIrEPea%q2uc$QgEwV7n^fJ_9C5UTU8Jhx230XjX8$yB4X#k%8eYWer_zV0KZqFdq+vSDEz8MZLpNy1jmE^N zWgO2_-?WlSv#$6Q-w&E?HtSQ{OJ)Wwg2z{DkVvwt+5$bnNPw6qW1**+T;7m?P?I<~+|+As#if^d}V>_GzrFl(T5iP*o1>krlTRDWi$d zSPthY8=RWMKQsWOF!NJ=DA-N4kqUItNq2(8mt)<+QzDr?loK~!{Hb|hKs?=fo_Xo8 zD;}3z$F8i#rF-BO^XGBP@r<2TwUb`;jLGE;w1k211nk8v@==bA@^c047kerPaTEy- zW2tnPWJ`*7o2!lTrCU+nuE@h>shm8dEuCIv!Pcq@2cF(*-?lc_vcBgE^|&H%wS;b) z^`@!EVR*CG@C%d8Znj#wYP+I?x4dH-vf3PmtM)!~ui?kH`s{{l)-JK7`)7uCOt;N! zf#HhLVd@e)J33DrI?fq7UlC7rcAYx^a>u!jj+VEKc8B4b&1kU?7#&s{R=#Dl^xZP{ znGDxV#=$O8-gBwzQ~aQ-KI;-c?0@gt^_Ht|UVW{m*QvISmdiL{O%`nV!4Tf*F#W;N zJ~Uu7TP}z_{YIM|boTRWuN%(Q=CN1bFxd>RS$eF!W=mg}cM7dN$PE7@UwZ4Zj`8KzHj-bRO;S&gu1x`{SYHn(WOs!xx4eh= za(9#QWqOT7!_E0JiZVRPmn7%YVU6?Uc23SZoABj&P@PU5;!D1==>hNze7QEJ&Tl*u zUnYZ$iT-20B<`)s8!CM1%B%ApWj(0znAH*48CF)xoHDU9nJAI)degYq z*N4W<$55s+;r~?13~#fJ7mUh@#d^v_hN{JTI!$VnDMxqtV2v{4ZoZZmO_ehFG#tE0 zXEo+ON|_t}s#|N6sg=}cZm>L-Zbq4tj4~%(hbXf=g)r6YSQTm`~Lt+IkMXvW>VyKq!upt+F+Xd=oi5BVsspu?ca-6p4l_(j2S^EleX|14B#6CFi^ z&H5d5PzpwgEBP$QS!wD5PcWV>0`>ZJ萌芽加速(adminCDN)" -"将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需" -"要加速的项目,更多细节控制和功能,请关注 adminCDN 项目。" -msgstr "" -"萌芽加速(adminCDN)" -"將 WordPress 依賴的靜態檔案切換為公共資源,加快網站訪問速度。您可按需啟用需" -"要加速的專案,更多細節控制和功能,請關注 adminCDN 專案。" - -#: Service/Setting.php:72 -msgid "" -"初认头像(Cravatar)Gravatar 在中国的完美替代方案,您可以在 Cravatar.com 上传头像,更多选项请" -"安装 WPAavatar 插件。(任何开发者均可在自己的产品中集成该服务,不局限于 " -"WordPress)" -msgstr "" -"初認頭像(Cravatar)Gravatar 在中國的完美替代方案,您可以在 Cravatar.com 上傳頭像,更多選項請" -"安裝 WPAavatar 外掛。(任何開發者均可在自己的產品中整合該服務,不侷限於 " -"WordPress)" - -#: Service/Setting.php:86 -msgid "" -"文风字体(Windfonts)为您的网页渲染中文字体并对主题、插件内的字体进行加速;优化模式可优化浏览器" -"字体调用。" -msgstr "" -"文風字型(Windfonts)為您的網頁渲染中文字型並對主題、外掛內的字型進行加速;最佳化模式可最佳化瀏" -"覽器字型呼叫。" - -#: Service/Setting.php:109 -msgid "" -"文派叶子🍃(WP-" -"China-Yes)支持自动监控各加速节点可用性,当节点不可用时自动切换至可用节" -"点或关闭加速,以保证您的网站正常访问。" -msgstr "" -"文派葉子🍃(WP-" -"China-Yes)支援自動監控各加速節點可用性,當節點不可用時自動切換至可用節" -"點或關閉加速,以保證您的網站正常訪問。" - -#: Service/Setting.php:98 -msgid "" -"文派叶子🍃(WP-" -"China-Yes)独家特色功能,让您拥有清爽整洁的 WordPress 后台,清除各类常用" -"插件侵入式后台广告、通知及无用信息;启用后若存在异常拦截,请切换为手动模式," -"查看可优化插件列表。" -msgstr "" -"文派葉子🍃(WP-" -"China-Yes)獨家特色功能,讓您擁有清爽整潔的 WordPress 後臺,清除各類常用" -"外掛侵入式後臺廣告、通知及無用資訊;啟用後若存在異常攔截,請切換為手動模式," -"檢視可最佳化外掛列表" -"。" - -#: Service/Setting.php:41 -msgid "" -"官方加速源(WPMirror)直接从 .org 反代至大陆分发;文派开源(WenPai.org)中国境内自建托管仓库,同时集成文" -"派翻译平台。" -msgstr "" -"官方加速源(WPMirror)直接從 .org 反代至大陸分發;文派開源(WenPai.org)中國境內自建託管倉庫,同時整合文" -"派翻譯平臺。" - -#. Author URI of the plugin -msgid "https://wp-china-yes.com" -msgstr "https://wp-china-yes.com" - -#. Name of the plugin -#: Service/Setting.php:143 Service/Setting.php:144 -msgid "WP-China-Yes" -msgstr "文派葉子" - -#: Plugin.php:52 -#, php-format -msgid "" -"WP-China-Yes 插件需要 PHP 5.6.0 或更高版本,当前版本为 %s,插件已自动禁用。" -msgstr "" -"WP-China-Yes 外掛程式需要PHP 5.6.0 或更高版本,目前版本為%s,外掛程式已自動" -"停用。" - -#: Service/Setting.php:71 -msgid "初认头像" -msgstr "初認頭像" - -#: Service/Setting.php:97 -msgid "广告拦截" -msgstr "廣告攔截" - -#: Service/Setting.php:40 -msgid "应用市场" -msgstr "應用市場" - -#. Description of the plugin -msgid "" -"文派叶子 🍃(WP-China-Yes)是中国 WordPress 生态基础设施软件,犹如落叶新芽," -"生生不息。" -msgstr "" -"文派葉子 🍃(WP-China-Yes)是中國 WordPress 生態基礎設施軟體,猶如落葉新芽," -"生生不息。" - -#. Author of the plugin -msgid "文派开源" -msgstr "文派開源" - -#: Service/Setting.php:85 -msgid "文风字体" -msgstr "文風字體" - -#: Plugin.php:71 -msgid "检测到不兼容的插件 Kill 429,已自动禁用!" -msgstr "偵測到不相容的插件Kill 429,已自動停用!" - -#: Plugin.php:65 -msgid "检测到不兼容的插件 WP-China-Plus,已自动禁用!" -msgstr "偵測到不相容的外掛程式WP-China-Plus,已自動停用!" - -#: Plugin.php:78 -msgid "" -"检测到已在 WordPress 配置文件中设置代理服务器,这可能会导致插件无法正常工" -"作!" -msgstr "" -"偵測到已在WordPress 設定檔中設定代理伺服器,這可能會導致外掛無法正常運作!" - -#: Plugin.php:59 -msgid "检测到旧版插件 WP-China-No,已自动禁用!" -msgstr "偵測到舊版外掛程式WP-China-No,已自動停用!" - -#: Service/Setting.php:108 -msgid "自动监控" -msgstr "自動監控" - -#: Service/Setting.php:53 -msgid "萌芽加速" -msgstr "萌芽加速" - -#: Service/Setting.php:32 Service/Setting.php:155 -msgid "设置" -msgstr "設定"