From 9c678616f2d9d634b092b1eb166737bd7ce1cf98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=96=87=E6=B4=BE=E5=A4=87=E6=A1=88?=
<130886204+modiqi@users.noreply.github.com>
Date: Tue, 24 Sep 2024 00:33:27 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8E=BB=E5=B9=BF=E5=91=8A?=
=?UTF-8?q?=E6=8F=92=E4=BB=B6=E5=88=97=E8=A1=A8=E9=93=BE=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Service/Base.php | 1 +
Service/Setting.php | 12 +++++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/Service/Base.php b/Service/Base.php
index d1dd9e5..238172e 100644
--- a/Service/Base.php
+++ b/Service/Base.php
@@ -17,6 +17,7 @@ class Base {
*/
add_filter( sprintf( '%splugin_action_links', is_multisite() ? 'network_admin_' : '' ), function ( $links, $plugin = '' ) {
$links[] = '参与翻译';
+ $links[] = '去广告';
return $links;
}, 10, 2 );
diff --git a/Service/Setting.php b/Service/Setting.php
index 857f171..7f685fe 100644
--- a/Service/Setting.php
+++ b/Service/Setting.php
@@ -83,7 +83,7 @@ class Setting {
'admin' => 'admin',
],
'subtitle' => '是否启用萌芽加速',
- 'desc' => __( '萌芽加速(adminCDN)将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需要加速的项目,更多细节控制和功能,查看推荐设置。',
+ 'desc' => __( '萌芽加速(adminCDN)将 WordPress 依赖的静态文件切换为公共资源,加快网站访问速度。您可按需启用需要加速的项目,更多细节控制和功能,请查看推荐设置。',
'wp-china-yes' ),
],
[
@@ -235,7 +235,9 @@ class Setting {
'type' => 'group',
'title' => '规则列表',
'subtitle' => '使用的广告屏蔽规则列表',
- 'desc' => '支持添加多条广告屏蔽规则',
+ 'desc' => __( '支持添加多条广告屏蔽规则',
+ 'wp-china-yes' ),
+
'button_title' => '添加规则',
'accordion_title_number' => true,
'dependency' => [
@@ -274,7 +276,7 @@ class Setting {
],
[
'type' => 'content',
- 'content' => '默认广告屏蔽规则跟随插件更新,插件更新后可删除规则重新添加以获取更多最新屏蔽规则,出现异常,请尝试先停用规则排查原因。',
+ 'content' => '默认规则跟随插件更新,插件更新后可删除规则重新添加以获取更多最新屏蔽规则,出现异常,请尝试先停用规则排查原因。',
],
],
] );
@@ -343,7 +345,7 @@ class Setting {
],
[
'type' => 'submessage',
- 'content' => '特别感谢以下企业品牌对文派项目提供的资金资源,期待社会各界参与。',
+ 'content' => '特别感谢以下企业品牌对文派项目提供的资金资源,同时期待社会各界参与。',
],
[
'type' => 'content',
@@ -369,7 +371,7 @@ HTML,
],
[
'type' => 'submessage',
- 'content' => '以下为对此项目做出过贡献和帮助的朋友,贡献您自己的力量。',
+ 'content' => '以下为对此项目提供过帮助的朋友,欢迎贡献您自己的力量。',
],
[
'type' => 'content',