From 5d9b2c1e9a3740c83c89055cdf2c6f45ee43ba37 Mon Sep 17 00:00:00 2001 From: leon <916117771@qq.com> Date: Thu, 9 Apr 2026 10:41:47 +0800 Subject: [PATCH] =?UTF-8?q?i18n(config):=20=E6=9B=B4=E6=96=B0=E7=AB=99?= =?UTF-8?q?=E7=82=B9=E9=85=8D=E7=BD=AE=E4=B8=AD=E7=9A=84=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 categorytype 选项从英文翻译为中文:Default -> 默认,Page -> 单页,Article -> 文章 - 将 configgroup 选项从英文翻译为中文:Basic -> 基础配置,Email -> 邮件配置,Dictionary -> 字典配置,User -> 会员配置,Example -> 示例分组 - 将 attachmentcategory 选项从英文翻译为中文:Category1 -> 分类一,Category2 -> 分类二,Custom -> 自定义 - 添加新的附件分类 apk -> 安装包 --- application/extra/site.php | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/application/extra/site.php b/application/extra/site.php index 47c903f..fd7fb5c 100644 --- a/application/extra/site.php +++ b/application/extra/site.php @@ -15,24 +15,18 @@ return array ( 'fixedpage' => 'dashboard', 'categorytype' => array ( - 'default' => 'Default', - 'page' => 'Page', - 'article' => 'Article', + 'default' => '默认', + 'page' => '单页', + 'article' => '文章', 'test' => 'Test', ), 'configgroup' => array ( - 'basic' => 'Basic', - 'email' => 'Email', - 'dictionary' => 'Dictionary', - 'user' => 'User', - 'example' => 'Example', - ), - 'attachmentcategory' => - array ( - 'category1' => 'Category1', - 'category2' => 'Category2', - 'custom' => 'Custom', + 'basic' => '基础配置', + 'email' => '邮件配置', + 'dictionary' => '字典配置', + 'user' => '会员配置', + 'example' => '示例分组', ), 'mail_type' => '1', 'mail_smtp_host' => 'smtp.qq.com', @@ -41,4 +35,11 @@ return array ( 'mail_smtp_pass' => '', 'mail_verify_type' => '2', 'mail_from' => '', + 'attachmentcategory' => + array ( + 'category1' => '分类一', + 'category2' => '分类二', + 'custom' => '自定义', + 'apk' => '安装包', + ), );