diff --git a/resources/lang/en/locale.js b/resources/lang/en/locale.js
index 8ce96f37..55d50081 100644
--- a/resources/lang/en/locale.js
+++ b/resources/lang/en/locale.js
@@ -128,6 +128,13 @@
pid: 'Texture ID',
pidNotice: 'Please enter the tid of texture',
changePlayerTexture: 'Change textures of :player'
+
+ // Index
+ textureUpload: 'Texture Upload',
+ registration: 'Registration'
+
+ // Plugins
+ deletionConfirmation: 'Really delete this plugin?'
},
utils: {
fatalError: 'Fatal Error (Please contact the author)'
diff --git a/resources/lang/en/setup.yml b/resources/lang/en/setup.yml
index 09d9d191..b8bce77b 100644
--- a/resources/lang/en/setup.yml
+++ b/resources/lang/en/setup.yml
@@ -1,5 +1,6 @@
database:
connection-error: Unable to connect to MySQL server, please check your configuration. :msg
+ connection-success: Successfully connected to :server , just click NEXT to start installation.
file:
permission-error: Unable to create textures folder, please check the directory permissions or place one manually.
@@ -7,3 +8,51 @@ file:
permissions:
storage: Unable to write to storage directory, please check the permissions.
+
+locked:
+ title: Installed
+ text: You appear to have already installed Blessing Skin Server. To reinstall please clear your old database tables first, or use a new database table prefix.
+ back-to-index: Back to index
+
+updates:
+ master:
+ title: Blessing Skin Server Updating Wizard
+
+ welcome:
+ title: Just one step
+ tip-welcome: Welcome to updating Blessing Skin Server
+ tip-next: We need to update your database, just click NEXT.
+ button: Next
+
+ success:
+ title: Updated successfully
+ tip-success: Database updated successfully. Welcome to Blessing Skin Server.
+ tip-update: Tips of updating
+
+wizard:
+ info:
+ title: Providing information
+ button: Start installation
+ tip-info: Please provide the following information. Don't worry, you can always change these settings later.
+ admin-email: E-mail address of administrator
+ super-admin: This is the only one administrator account, which can ADD or CANCEL other administrators.
+ password: Password
+ tip-important: 'Important:'
+ password-saving: You will need this password to log in. Please store it in a secure location.
+ password-confirmation: Confirm password
+ site-name: Site name
+ site-name-show: will be showed in index and title.
+
+ welcome:
+ title: Welcom
+ button: Next
+ welcome: Welcome to Blessing Skin Server
+
+ master:
+ title: Blessing Skin Server Installation
+
+ finish:
+ title: Success!
+ success: Blessing Skin Server has been installed. Thank you, and enjoy!
+ email: E-mail
+ password: Password
diff --git a/resources/lang/zh-CN/locale.js b/resources/lang/zh-CN/locale.js
index 12d5bad8..177b33fe 100644
--- a/resources/lang/zh-CN/locale.js
+++ b/resources/lang/zh-CN/locale.js
@@ -128,6 +128,13 @@
pid: '材质 ID',
pidNotice: '输入要更换的材质的 TID',
changePlayerTexture: '更换角色 :player 的材质'
+
+ // Index
+ textureUpload: '材质上传',
+ registration: '用户注册'
+
+ // Plugins
+ deletionConfirmation: '真的要删除这个插件吗?'
},
utils: {
fatalError: '严重错误(请联系作者)'
diff --git a/resources/lang/zh-CN/setup.yml b/resources/lang/zh-CN/setup.yml
index 53d58c46..47ef9b4b 100644
--- a/resources/lang/zh-CN/setup.yml
+++ b/resources/lang/zh-CN/setup.yml
@@ -1,5 +1,6 @@
database:
connection-error: 无法连接至 MySQL 服务器,请检查你的配置 :msg
+ connection-success: 成功连接至 MySQL 服务器 :server ,点击下一步以开始安装。
file:
permission-error: textures 文件夹创建失败,请确认目录权限是否正确,或者手动放置一个。
@@ -7,3 +8,51 @@ file:
permissions:
storage: 无法写入 storage 目录,请检查目录权限是否正确
+
+locked:
+ title: 已安装过
+ text: 看起来已经安装妥当。如果想重新安装,请删除数据库中的旧数据表,或者换一个数据表前缀。
+ back-to-index: 返回首页
+
+updates:
+ master:
+ title: Blessing Skin Server 升级程序
+
+ welcome:
+ title: 还差一小步
+ tip-welcome: 欢迎升级至 Blessing Skin Server
+ tip-next: 我们需要升级您的数据库,点击下一步以继续。
+ button: 下一步
+
+ success:
+ title: 升级成功
+ tip-success: 数据库升级成功,欢迎使用 Blessing Skin Server
+ tip-update: 升级提示:
+
+wizard:
+ info:
+ title: 填写信息
+ button: 开始安装
+ tip-info: 您需要填写一些基本信息。无需担心填错,这些信息以后可以再次修改。
+ admin-email: 管理员邮箱
+ super-admin: 这是唯一的超级管理员账号,可 添加/取消 其他管理员。
+ password: 密码
+ tip-important: 重要:
+ password-saving: 您将需要此密码来登录管理皮肤站,请将其保存在安全的位置。
+ password-confirmation: 重复密码
+ site-name: 站点名称
+ site-name-show: 将会显示在首页以及标题栏
+
+ welcome:
+ title: 欢迎
+ button: 下一步
+ welcome: 欢迎使用 Blessing Skin Server
+
+ master:
+ title: Blessing Skin Server 安装程序
+
+ finish:
+ title: 成功!
+ success: Blessing Skin Server 安装完成。您是否还沉浸在愉悦的安装过程中?很遗憾,一切皆已完成! :)
+ email: 邮箱
+ password: 密码
diff --git a/resources/views/admin/customize.tpl b/resources/views/admin/customize.tpl
index 479bd6b5..cce26c7e 100644
--- a/resources/views/admin/customize.tpl
+++ b/resources/views/admin/customize.tpl
@@ -25,64 +25,64 @@
- 蓝色主题(默认) |
+ {{ trans('admin.customize.color.blue') }} |
|
- 蓝色主题-白色侧边栏 |
+ {{ trans('admin.customize.color.blue-white-sidebar') }} |
|
- 黄色主题 |
+ {{ trans('admin.customize.color.yellow') }} |
|
- 黄色主题-白色侧边栏 |
+ {{ trans('admin.customize.color.yellow-white-sidebar') }} |
|
- 绿色主题 |
+ {{ trans('admin.customize.color.green') }} |
|
- 绿色主题-白色侧边栏 |
+ {{ trans('admin.customize.color.green-white-sidebar') }} |
|
- 基佬紫 |
+ {{ trans('admin.customize.color.purple') }} |
|
- 紫色主题-白色侧边栏 |
+ {{ trans('admin.customize.color.purple-white-sidebar') }} |
|
- 喜庆红(笑) |
+ {{ trans('admin.customize.color.red') }} |
|
- 红色主题-白色侧边栏 |
+ {{ trans('admin.customize.color.red-white-sidebar') }} |
|
- 高端黑 |
+ {{ trans('admin.customize.color.black') }} |
|
- 黑色主题-白色侧边栏 |
+ {{ trans('admin.customize.color.black-white-sidebar') }} |
|
diff --git a/resources/views/admin/index.tpl b/resources/views/admin/index.tpl
index d87b3324..9b2908b4 100644
--- a/resources/views/admin/index.tpl
+++ b/resources/views/admin/index.tpl
@@ -25,7 +25,7 @@
- 注册用户
+ {{ trans('admin.index.users-count') }}
{{ App\Models\User::all()->count() }}
@@ -37,7 +37,7 @@
- 角色总数
+ {{ trans('admin.index.players-count') }}
{{ App\Models\Player::all()->count() }}
@@ -48,7 +48,7 @@
- 上传材质总数
+ {{ trans('admin.index.textures-count') }}
{{ \Database::table('textures')->getRecordNum() }}
@@ -56,7 +56,7 @@
- 占用空间大小
+ {{ trans('admin.index.usage') }}
fetchArray("SELECT SUM(`size`) AS total_size FROM `{table}` WHERE 1")['total_size'] ?: 0; ?>
{{ $size > 1024 ? round($size / 1024, 1)."MB" : $size."KB" }}
@@ -65,7 +65,7 @@