From f3668b79e9916266c905aaf9e60b2f1b9fa9f08a Mon Sep 17 00:00:00 2001
From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com>
Date: Sat, 21 Aug 2021 12:03:40 +0000
Subject: [PATCH 1/2] translate "change password" & "export, import"
---
conststr.php | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/conststr.php b/conststr.php
index 2df6ef5..00de5af 100644
--- a/conststr.php
+++ b/conststr.php
@@ -1140,6 +1140,46 @@ $constStr = [
'zh-cn' => '查询分支',
'zh-tw' => '查詢分支',
],
+ 'OldPassword' => [
+ 'en-us' => 'Old Password',
+ 'zh-cn' => '旧密码',
+ 'zh-tw' => '旧密碼',
+ ],
+ 'NewPassword' => [
+ 'en-us' => 'New Password',
+ 'zh-cn' => '新密码',
+ 'zh-tw' => '新密碼',
+ ],
+ 'ReInput' => [
+ 'en-us' => 'ReInput',
+ 'zh-cn' => '再输入一次',
+ 'zh-tw' => '再输入一次',
+ ],
+ 'ChangAdminPassword' => [
+ 'en-us' => 'Chang Admin Password',
+ 'zh-cn' => '修改管理密码',
+ 'zh-tw' => '修改管理密碼',
+ ],
+ 'AdminPassword' => [
+ 'en-us' => 'Admin Password',
+ 'zh-cn' => '管理密码',
+ 'zh-tw' => '管理密碼',
+ ],
+ 'export' => [
+ 'en-us' => 'export',
+ 'zh-cn' => '导出',
+ 'zh-tw' => '导出',
+ ],
+ 'config' => [
+ 'en-us' => 'config',
+ 'zh-cn' => '配置',
+ 'zh-tw' => '配置',
+ ],
+ 'import' => [
+ 'en-us' => 'import',
+ 'zh-cn' => '导入',
+ 'zh-tw' => '导入',
+ ],
'ONEMANAGER_CONFIG_SAVE_ENV' => [
'en-us' => 'Config save in Environments',
'zh-cn' => '配置保存在环境变量',
From 45648eb676a079b1bfbd086adf8197aa2a105813 Mon Sep 17 00:00:00 2001
From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com>
Date: Sat, 21 Aug 2021 12:07:25 +0000
Subject: [PATCH 2/2] translate "change password" & "export, import"
#359
---
common.php | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/common.php b/common.php
index c0746cd..6a93acd 100644
--- a/common.php
+++ b/common.php
@@ -1638,34 +1638,34 @@ function EnvOpt($needUpdate = 0)
}/* else {
$frame .= getconstStr('NotNeedUpdate');
}*/
- $frame .= '
+ $frame .= '