feat(admin): 系统配置中文化与缓存刷新

- 站点名称、版本、分类类型、配置分组、附件分类改为中文
- fa_config 配置项标题/提示/默认值统一中文,修正首页配置乱码
- 语言包禁用长缓存,后台文案调整后立即生效
- 站点版本升至 1.0.2,强制刷新后台 JS/CSS 缓存
这个提交包含在:
linda
2026-10-29 09:49:28 +08:00
父节点 b8d2644141
当前提交 9bb74e6e6a
共有 3 个文件被更改,包括 49 次插入 和 20 次删除

查看文件

@@ -1,10 +1,10 @@
<?php
return [
'name' => '我的网站',
'name' => '优匠优服',
'beian' => '',
'cdnurl' => '',
'version' => '1.0.1',
'version' => '1.0.2',
'timezone' => 'Asia/Shanghai',
'forbiddenip' => '',
'languages' => [
@@ -13,22 +13,22 @@ return [
],
'fixedpage' => 'dashboard',
'categorytype' => [
'default' => 'Default',
'page' => 'Page',
'article' => 'Article',
'test' => 'Test',
'default' => '默认',
'page' => '单页',
'article' => '文章',
'test' => '测试',
],
'configgroup' => [
'basic' => 'Basic',
'email' => 'Email',
'dictionary' => 'Dictionary',
'user' => 'User',
'example' => 'Example',
'basic' => '基础配置',
'email' => '邮箱配置',
'dictionary' => '字典配置',
'user' => '会员配置',
'example' => '示例',
],
'attachmentcategory' => [
'category1' => 'Category1',
'category2' => 'Category2',
'custom' => 'Custom',
'category1' => '分类1',
'category2' => '分类2',
'custom' => '自定义',
],
'mail_type' => '1',
'mail_smtp_host' => 'smtp.qq.com',