From 6f9292bf84a5274f3703ab3e38a03a3ddffba489 Mon Sep 17 00:00:00 2001 From: Alexey Vorobev Date: Sun, 5 Jun 2022 13:51:38 +0300 Subject: [PATCH] Add a little bit translation for site row actions --- .../components/StdDataDisplay/StdTable.vue | 117 +++++++++++++----- frontend/src/locale/en/LC_MESSAGES/app.po | 30 +++++ frontend/src/locale/zh_CN/LC_MESSAGES/app.po | 30 +++++ frontend/src/locale/zh_TW/LC_MESSAGES/app.po | 30 +++++ frontend/src/translations.json | 2 +- 5 files changed, 178 insertions(+), 31 deletions(-) diff --git a/frontend/src/components/StdDataDisplay/StdTable.vue b/frontend/src/components/StdDataDisplay/StdTable.vue index 9aee15ec..649fe6d7 100644 --- a/frontend/src/components/StdDataDisplay/StdTable.vue +++ b/frontend/src/components/StdDataDisplay/StdTable.vue @@ -61,26 +61,26 @@
- - + {{ edit_text }}
@@ -123,7 +123,82 @@ export default { type: Boolean, default: false }, - edit_text: String, + edit_text: { + type: String, + default() { + return this.$gettext('Edit') + } + }, + restore: { + title_text: { + type: String, + default() { + return this.$gettext('Are you sure you want to restore?') + } + }, + action_text: { + type: String, + default() { + return this.$gettext('Restore') + } + }, + ok_text: { + type: String, + default() { + return this.$gettext('Yes, I\'m sure') + } + }, + cancel_text: { + type: String, + default() { + return this.$gettext('No, I\'m rethink') + } + }, + exec(id) { + this.api.restore(id).then(() => { + this.get_list() + this.$message.success('反删除 ID: ' + id + ' 成功') + }).catch(e => { + console.log(e) + this.$message.error(e?.message ?? '系统错误') + }) + }, + }, + destroy: { + title_text: { + type: String, + default() { + return this.$gettext('Are you sure you want to destroy?') + } + }, + action_text: { + type: String, + default() { + return this.$gettext('Destroy') + } + }, + ok_text: { + type: String, + default() { + return this.$gettext('Yes, I\'m sure') + } + }, + cancel_text: { + type: String, + default() { + return this.$gettext('No, I\'m rethink') + } + }, + exec(id) { + this.api.destroy(id).then(() => { + this.get_list() + this.$message.success('删除 ID: ' + id + ' 成功') + }).catch(e => { + console.log(e) + this.$message.error(e?.message ?? '系统错误') + }) + }, + }, deletable: { type: Boolean, default: true @@ -206,24 +281,6 @@ export default { }) } }, - destroy(id) { - this.api.destroy(id).then(() => { - this.get_list() - this.$message.success('删除 ID: ' + id + ' 成功') - }).catch(e => { - console.log(e) - this.$message.error(e?.message ?? '系统错误') - }) - }, - restore(id) { - this.api.restore(id).then(() => { - this.get_list() - this.$message.success('反删除 ID: ' + id + ' 成功') - }).catch(e => { - console.log(e) - this.$message.error(e?.message ?? '系统错误') - }) - }, get_searchColumns() { let searchColumns = [] this.columns.forEach(column => { diff --git a/frontend/src/locale/en/LC_MESSAGES/app.po b/frontend/src/locale/en/LC_MESSAGES/app.po index ecdeb9f9..e23c3a7d 100644 --- a/frontend/src/locale/en/LC_MESSAGES/app.po +++ b/frontend/src/locale/en/LC_MESSAGES/app.po @@ -27,6 +27,14 @@ msgstr "" msgid "Add Site" msgstr "" +#: src/components/StdDataDisplay/StdTable.vue:79 +msgid "Are you sure you want to destroy?" +msgstr "" + +#: src/components/StdDataDisplay/StdTable.vue:44 +msgid "Are you sure you want to restore?" +msgstr "" + #: src/views/domain/DomainAdd.vue:89 src/views/domain/DomainEdit.vue:164 msgid "Auto-renewal disabled for %{name}" msgstr "" @@ -107,6 +115,10 @@ msgstr "" msgid "Database (Optional, default: database)" msgstr "" +#: src/components/StdDataDisplay/StdTable.vue:85 +msgid "Destroy" +msgstr "" + #: src/router/index.js:125 msgid "Detected version update, this page will refresh." msgstr "" @@ -140,6 +152,10 @@ msgstr "" msgid "Domain Config Created Successfully" msgstr "" +#: src/components/StdDataDisplay/StdTable.vue:37 +msgid "Edit" +msgstr "" + #: src/views/domain/DomainEdit.vue:47 msgid "Edit %{n}" msgstr "" @@ -319,6 +335,11 @@ msgstr "" msgid "Next" msgstr "" +#: src/components/StdDataDisplay/StdTable.vue:62 +#: src/components/StdDataDisplay/StdTable.vue:97 +msgid "No, I'm rethink" +msgstr "" + #: src/router/index.js:105 msgid "Not Found" msgstr "" @@ -377,6 +398,10 @@ msgstr "" msgid "Receive" msgstr "" +#: src/components/StdDataDisplay/StdTable.vue:50 +msgid "Restore" +msgstr "" + #: src/views/domain/columns.js:16 msgid "Root Directory (root)" msgstr "" @@ -488,3 +513,8 @@ msgstr "" #: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:298 msgid "Writes" msgstr "" + +#: src/components/StdDataDisplay/StdTable.vue:56 +#: src/components/StdDataDisplay/StdTable.vue:91 +msgid "Yes, I'm sure" +msgstr "" diff --git a/frontend/src/locale/zh_CN/LC_MESSAGES/app.po b/frontend/src/locale/zh_CN/LC_MESSAGES/app.po index 7ce5f578..eb3ae6d8 100644 --- a/frontend/src/locale/zh_CN/LC_MESSAGES/app.po +++ b/frontend/src/locale/zh_CN/LC_MESSAGES/app.po @@ -29,6 +29,14 @@ msgstr "操作" msgid "Add Site" msgstr "添加站点" +#: src/components/StdDataDisplay/StdTable.vue:79 +msgid "Are you sure you want to destroy?" +msgstr "你确定要删除?" + +#: src/components/StdDataDisplay/StdTable.vue:44 +msgid "Are you sure you want to restore?" +msgstr "你确定要反删除?" + #: src/views/domain/DomainAdd.vue:89 src/views/domain/DomainEdit.vue:164 msgid "Auto-renewal disabled for %{name}" msgstr "成功关闭 %{name} 自动续签" @@ -109,6 +117,10 @@ msgstr "仪表盘" msgid "Database (Optional, default: database)" msgstr "数据库 (可选,默认: database)" +#: src/components/StdDataDisplay/StdTable.vue:85 +msgid "Destroy" +msgstr "删除" + #: src/router/index.js:125 msgid "Detected version update, this page will refresh." msgstr "检测到版本更新,页面将会刷新。" @@ -142,6 +154,10 @@ msgstr "你想要改变模板以支持 TLS 吗?" msgid "Domain Config Created Successfully" msgstr "域名配置文件创建成功" +#: src/components/StdDataDisplay/StdTable.vue:37 +msgid "Edit" +msgstr "编辑" + #: src/views/domain/DomainEdit.vue:47 msgid "Edit %{n}" msgstr "编辑 %{n}" @@ -323,6 +339,11 @@ msgstr "上传流量" msgid "Next" msgstr "下一步" +#: src/components/StdDataDisplay/StdTable.vue:62 +#: src/components/StdDataDisplay/StdTable.vue:97 +msgid "No, I'm rethink" +msgstr "再想想" + #: src/router/index.js:105 msgid "Not Found" msgstr "找不到页面" @@ -381,6 +402,10 @@ msgstr "读" msgid "Receive" msgstr "下载" +#: src/components/StdDataDisplay/StdTable.vue:50 +msgid "Restore" +msgstr "反删除" + #: src/views/domain/columns.js:16 msgid "Root Directory (root)" msgstr "网站根目录 (root)" @@ -497,6 +522,11 @@ msgstr "用户名 (*)" msgid "Writes" msgstr "写" +#: src/components/StdDataDisplay/StdTable.vue:56 +#: src/components/StdDataDisplay/StdTable.vue:91 +msgid "Yes, I'm sure" +msgstr "是的" + #~ msgid "" #~ "Add site here first, then you can configure TLS on the domain edit page." #~ msgstr "在这里添加站点,完成后可进入编辑页面配置 TLS。" diff --git a/frontend/src/locale/zh_TW/LC_MESSAGES/app.po b/frontend/src/locale/zh_TW/LC_MESSAGES/app.po index 37e53501..d3edda08 100644 --- a/frontend/src/locale/zh_TW/LC_MESSAGES/app.po +++ b/frontend/src/locale/zh_TW/LC_MESSAGES/app.po @@ -30,6 +30,14 @@ msgstr "操作" msgid "Add Site" msgstr "新增站點" +#: src/components/StdDataDisplay/StdTable.vue:79 +msgid "Are you sure you want to destroy?" +msgstr "你确定要删除?" + +#: src/components/StdDataDisplay/StdTable.vue:44 +msgid "Are you sure you want to restore?" +msgstr "你确定要反删除?" + #: src/views/domain/DomainAdd.vue:89 src/views/domain/DomainEdit.vue:164 msgid "Auto-renewal disabled for %{name}" msgstr "成功關閉 %{name} 自動續簽" @@ -110,6 +118,10 @@ msgstr "儀表盤" msgid "Database (Optional, default: database)" msgstr "資料庫 (可選,預設: database)" +#: src/components/StdDataDisplay/StdTable.vue:85 +msgid "Destroy" +msgstr "删除" + #: src/router/index.js:125 msgid "Detected version update, this page will refresh." msgstr "檢測到版本更新,頁面將會重新整理。" @@ -143,6 +155,10 @@ msgstr "你想要改變模板以支援 TLS 嗎?" msgid "Domain Config Created Successfully" msgstr "域名配置文件創建成功" +#: src/components/StdDataDisplay/StdTable.vue:37 +msgid "Edit" +msgstr "编辑" + #: src/views/domain/DomainEdit.vue:47 msgid "Edit %{n}" msgstr "編輯 %{n}" @@ -324,6 +340,11 @@ msgstr "上傳流量" msgid "Next" msgstr "下一步" +#: src/components/StdDataDisplay/StdTable.vue:62 +#: src/components/StdDataDisplay/StdTable.vue:97 +msgid "No, I'm rethink" +msgstr "再想想" + #: src/router/index.js:105 msgid "Not Found" msgstr "找不到頁面" @@ -382,6 +403,10 @@ msgstr "讀" msgid "Receive" msgstr "下載" +#: src/components/StdDataDisplay/StdTable.vue:50 +msgid "Restore" +msgstr "反删除" + #: src/views/domain/columns.js:16 msgid "Root Directory (root)" msgstr "網站根目錄 (root)" @@ -498,6 +523,11 @@ msgstr "使用者名稱 (*)" msgid "Writes" msgstr "寫" +#: src/components/StdDataDisplay/StdTable.vue:56 +#: src/components/StdDataDisplay/StdTable.vue:91 +msgid "Yes, I'm sure" +msgstr "是的" + #~ msgid "" #~ "Add site here first, then you can configure TLS on the domain edit page." #~ msgstr "在這裡新增站點,完成後可進入編輯頁面配置 TLS。" diff --git a/frontend/src/translations.json b/frontend/src/translations.json index ba2fdabf..fd88a07b 100644 --- a/frontend/src/translations.json +++ b/frontend/src/translations.json @@ -1 +1 @@ -{"en":{},"zh_CN":{"404 Not Found":"404 未找到页面","About":"关于","Action":"操作","Add Site":"添加站点","Auto-renewal disabled for %{name}":"成功关闭 %{name} 自动续签","Auto-renewal enabled for %{name}":"成功启用 %{name} 自动续签","Back":"返回","Base information":"基本信息","Build with":"构建基于","Cancel":"取消","Certificate Auto-renewal":"证书自动续签","Certificate has expired":"此证书已过期","Certificate is valid":"此证书有效","Certificate Path (ssl_certificate)":"TLS 证书路径 (ssl_certificate)","Certificate Status":"证书状态","Configuration Name":"配置名称","Configurations":"配置","Configure SSL":"配置 SSL","CPU Status":"CPU 状态","Create Another":"再创建一个","Created at":"创建时间","Dashboard":"仪表盘","Database (Optional, default: database)":"数据库 (可选,默认: database)","Detected version update, this page will refresh.":"检测到版本更新,页面将会刷新。","Development Mode":"开发模式","Disable auto-renewal failed for %{name}":"关闭 %{name} 自动续签失败","Disabled":"禁用","Disabled successfully":"禁用成功","Disk IO":"磁盘 IO","Do you want to change the template to support the TLS?":"你想要改变模板以支持 TLS 吗?","Domain Config Created Successfully":"域名配置文件创建成功","Edit %{n}":"编辑 %{n}","Edit Configuration":"编辑配置","Edit Configuration File":"编辑配置文件","Edit Site":"编辑站点","Email (*)":"邮箱 (*)","Enable auto-renewal failed for %{name}":"启用 %{name} 自动续签失败","Enable failed":"启用失败","Enable TLS":"启用 TLS","Enabled":"启用","Enabled successfully":"启用成功","Expiration Date: %{date}":"过期时间: %{date}","Failed to disable %{msg}":"禁用失败 %{msg}","Failed to enable %{msg}":"启用失败 %{msg}","File Not Found":"未找到文件","Finished":"完成","Getting Certificate from Let's Encrypt":"从 Let's Encrypt 获取证书","Getting the certificate, please wait...":"正在获取证书,请稍等...","Home":"首页","HTTP Listen Port":"HTTP 监听端口","HTTPS Listen Port":"HTTPS 监听端口","Index (index)":"网站首页 (index)","Install":"安装","Intermediate Certification Authorities: %{issuer}":"中级证书颁发机构: %{issuer}","Invalid E-mail!":"无效的邮箱!","Leave blank for no change":"留空表示不修改","License":{"Project":"开源许可"},"Load Averages:":"系统负载:","Login":"登录","Login successful":"登录成功","Logout successful":"登出成功","Make sure you have configured a reverse proxy for .well-known directory to HTTPChallengePort (default: 9180) before getting the certificate.":"在获取签发证书前,请确保配置文件中已将 .well-known 目录反向代理到 HTTPChallengePort (默认: 9180)","Manage Configs":"配置管理","Manage Sites":"网站管理","Manage Users":"用户管理","Memory":"内存","Memory and Storage":"内存与存储","Modify Config":"修改配置文件","Name":"名称","Network":"网络","Network Statistics":"流量统计","Network Total Receive":"下载流量","Network Total Send":"上传流量","Next":"下一步","Not Found":"找不到页面","Not Valid Before: %{date}":"此前无效: %{date}","Note: The server_name in the current configuration must be the domain name you need to get the certificate.":"注意:当前配置中的 server_name 必须为需要申请证书的域名。","OK":"确定","Password":"密码","Password (*)":"密码 (*)","Please input your E-mail!":"请输入您的邮箱!","Please input your password!":"请输入您的密码!","Please input your username!":"请输入您的用户名!","Private Key Path (ssl_certificate_key)":"私钥路径 (ssl_certificate_key)","Project Team":"项目团队","Reads":"读","Receive":"下载","Root Directory (root)":"网站根目录 (root)","Save":"保存","Save error %{msg}":"保存错误 %{msg}","Saved successfully":"保存成功","Send":"上传","Server error":"服务器错误","Server Info":"服务器信息","Server Names (server_name)":"网站域名 (server_name)","Sites List":"站点列表","Skip":"跳过","Status":"状态","Storage":"存储","Subject Name: %{name}":"主体名称: %{name}","System message":"系统消息","The certificate for the domain will be checked every hour, and will be renewed if it has been more than 1 month since it was last issued.
If you do not have a certificate before, please click \"Getting Certificate from Let's Encrypt\" first.":"系统将会每小时检测一次该域名证书,若距离上次签发已超过1个月,则将自动续签。
如果您之前没有证书,请先点击 \"从 Let's Encrypt 获取证书\"。","The filename cannot contain the following characters: %{c}":"文件名不能包含以下字符: %{c}","The following values will only take effect if you have the corresponding fields in your configuration file. The configuration filename cannot be changed after it has been created.":"只有在您的配置文件中有相应字段时,下列的配置才能生效。配置文件名称创建后不可修改。","This feature is not available in demo.":"该功能在 Demo 中不可用。","This operation will lose the custom configuration.":"该操作将会丢失自定义配置。","Updated at":"修改时间","Uptime:":"运行时间:","Username":"用户名","Username (*)":"用户名 (*)","Writes":"写"},"zh_TW":{"404 Not Found":"404 未找到頁面","About":"關於","Action":"操作","Add Site":"新增站點","Auto-renewal disabled for %{name}":"成功關閉 %{name} 自動續簽","Auto-renewal enabled for %{name}":"成功啟用 %{name} 自動續簽","Back":"返回","Base information":"基本訊息","Build with":"構建基於","Cancel":"取消","Certificate Auto-renewal":"證書自動續簽","Certificate has expired":"此證書已過期","Certificate is valid":"此證書有效","Certificate Path (ssl_certificate)":"TLS 證書路徑 (ssl_certificate)","Certificate Status":"證書狀態","Configuration Name":"配置名稱","Configurations":"配置","Configure SSL":"配置 SSL","CPU Status":"中央處理器狀態","CPU:":"中央處理器:","Create Another":"再創建一個","Created at":"建立時間","Dashboard":"儀表盤","Database (Optional, default: database)":"資料庫 (可選,預設: database)","Detected version update, this page will refresh.":"檢測到版本更新,頁面將會重新整理。","Development Mode":"開發模式","Disable auto-renewal failed for %{name}":"關閉 %{name} 自動續簽失敗","Disabled":"禁用","Disabled successfully":"禁用成功","Disk IO":"磁碟 IO","Do you want to change the template to support the TLS?":"你想要改變模板以支援 TLS 嗎?","Domain Config Created Successfully":"域名配置文件創建成功","Edit %{n}":"編輯 %{n}","Edit Configuration":"編輯配置","Edit Configuration File":"編輯配置檔案","Edit Site":"編輯站點","Email (*)":"郵箱 (*)","Enable auto-renewal failed for %{name}":"啟用 %{name} 自動續簽失敗","Enable failed":"啟用失敗","Enable TLS":"啟用 TLS","Enabled":"啟用","Enabled successfully":"啟用成功","Expiration Date: %{date}":"過期時間: %{date}","Failed to disable %{msg}":"禁用失敗 %{msg}","Failed to enable %{msg}":"啟用失敗 %{msg}","File Not Found":"未找到檔案","Finished":"完成","Getting Certificate from Let's Encrypt":"從 Let's Encrypt 獲取證書","Getting the certificate, please wait...":"正在獲取證書,請稍等...","Home":"首頁","HTTP Listen Port":"HTTP 監聽埠","HTTPS Listen Port":"HTTPS 監聽埠","Index (index)":"網站首頁 (index)","Install":"安裝","Intermediate Certification Authorities: %{issuer}":"中級證書頒發機構: %{issuer}","Invalid E-mail!":"無效的郵箱!","Leave blank for no change":"留空表示不修改","License":{"Project":"開源許可"},"Load Averages:":"系統負載:","Login":"登入","Login successful":"登入成功","Logout successful":"登出成功","Make sure you have configured a reverse proxy for .well-known directory to HTTPChallengePort (default: 9180) before getting the certificate.":"在獲取證書前,請確保配置檔案中已將 .well-known 目錄反向代理到 HTTPChallengePort (預設: 9180)","Manage Configs":"配置管理","Manage Sites":"網站管理","Manage Users":"使用者管理","Memory":"記憶體","Memory and Storage":"記憶體和存儲","Modify Config":"修改配置","Name":"名稱","Network":"網路","Network Statistics":"網路統計","Network Total Receive":"下載流量","Network Total Send":"上傳流量","Next":"下一步","Not Found":"找不到頁面","Not Valid Before: %{date}":"此前無效: %{date}","Note: The server_name in the current configuration must be the domain name you need to get the certificate.":"注意:當前配置中的 server_name 必須為需要申請證書的域名。","OK":"確定","OS:":"作業系統:","Password":"密碼","Password (*)":"密碼 (*)","Please input your E-mail!":"請輸入您的郵箱!","Please input your password!":"請輸入您的密碼!","Please input your username!":"請輸入您的使用者名稱!","Private Key Path (ssl_certificate_key)":"私鑰路徑 (ssl_certificate_key)","Project Team":"專案團隊","Reads":"讀","Receive":"下載","Root Directory (root)":"網站根目錄 (root)","Save":"儲存","Save error %{msg}":"儲存錯誤 %{msg}","Saved successfully":"儲存成功","Send":"上傳","Server error":"伺服器錯誤","Server Info":"伺服器資訊","Server Names (server_name)":"網站域名 (server_name)","Sites List":"站點列表","Skip":"跳過","Status":"狀態","Storage":"儲存","Subject Name: %{name}":"主體名稱: %{name}","Swap":"交換空間","System message":"系統訊息","The certificate for the domain will be checked every hour, and will be renewed if it has been more than 1 month since it was last issued.
If you do not have a certificate before, please click \"Getting Certificate from Let's Encrypt\" first.":"系統將會每小時檢測一次該域名證書,若距離上次簽發已超過1個月,則將自動續簽。
如果您之前沒有證書,請先點選「從 Let's Encrypt 獲取證書」。","The filename cannot contain the following characters: %{c}":"檔名不能包含以下字元: %{c}","The following values will only take effect if you have the corresponding fields in your configuration file. The configuration filename cannot be changed after it has been created.":"只有在您的配置檔案中有相應欄位時,下列的配置才能生效。配置檔名稱建立後不可修改。","This feature is not available in demo.":"此功能在演示中不可用。","This operation will lose the custom configuration.":"該操作將會丟失自定義配置。","Updated at":"修改時間","Uptime:":"執行時間:","Username":"使用者名稱","Username (*)":"使用者名稱 (*)","Writes":"寫"}} \ No newline at end of file +{"en":{},"zh_CN":{"404 Not Found":"404 未找到页面","About":"关于","Action":"操作","Add Site":"添加站点","Auto-renewal disabled for %{name}":"成功关闭 %{name} 自动续签","Auto-renewal enabled for %{name}":"成功启用 %{name} 自动续签","Back":"返回","Base information":"基本信息","Build with":"构建基于","Cancel":"取消","Certificate Auto-renewal":"证书自动续签","Certificate has expired":"此证书已过期","Certificate is valid":"此证书有效","Certificate Path (ssl_certificate)":"TLS 证书路径 (ssl_certificate)","Certificate Status":"证书状态","Configuration Name":"配置名称","Configurations":"配置","Configure SSL":"配置 SSL","CPU Status":"CPU 状态","Create Another":"再创建一个","Created at":"创建时间","Dashboard":"仪表盘","Database (Optional, default: database)":"数据库 (可选,默认: database)","Detected version update, this page will refresh.":"检测到版本更新,页面将会刷新。","Development Mode":"开发模式","Disable auto-renewal failed for %{name}":"关闭 %{name} 自动续签失败","Disabled":"禁用","Disabled successfully":"禁用成功","Disk IO":"磁盘 IO","Do you want to change the template to support the TLS?":"你想要改变模板以支持 TLS 吗?","Domain Config Created Successfully":"域名配置文件创建成功","Edit":"编辑","Edit %{n}":"编辑 %{n}","Edit Configuration":"编辑配置","Edit Configuration File":"编辑配置文件","Edit Site":"编辑站点","Email (*)":"邮箱 (*)","Enable auto-renewal failed for %{name}":"启用 %{name} 自动续签失败","Enable failed":"启用失败","Enable TLS":"启用 TLS","Enabled":"启用","Enabled successfully":"启用成功","Expiration Date: %{date}":"过期时间: %{date}","Failed to disable %{msg}":"禁用失败 %{msg}","Failed to enable %{msg}":"启用失败 %{msg}","File Not Found":"未找到文件","Finished":"完成","Getting Certificate from Let's Encrypt":"从 Let's Encrypt 获取证书","Getting the certificate, please wait...":"正在获取证书,请稍等...","Home":"首页","HTTP Listen Port":"HTTP 监听端口","HTTPS Listen Port":"HTTPS 监听端口","Index (index)":"网站首页 (index)","Install":"安装","Intermediate Certification Authorities: %{issuer}":"中级证书颁发机构: %{issuer}","Invalid E-mail!":"无效的邮箱!","Leave blank for no change":"留空表示不修改","License":{"Project":"开源许可"},"Load Averages:":"系统负载:","Login":"登录","Login successful":"登录成功","Logout successful":"登出成功","Make sure you have configured a reverse proxy for .well-known directory to HTTPChallengePort (default: 9180) before getting the certificate.":"在获取签发证书前,请确保配置文件中已将 .well-known 目录反向代理到 HTTPChallengePort (默认: 9180)","Manage Configs":"配置管理","Manage Sites":"网站管理","Manage Users":"用户管理","Memory":"内存","Memory and Storage":"内存与存储","Modify Config":"修改配置文件","Name":"名称","Network":"网络","Network Statistics":"流量统计","Network Total Receive":"下载流量","Network Total Send":"上传流量","Next":"下一步","Not Found":"找不到页面","Not Valid Before: %{date}":"此前无效: %{date}","Note: The server_name in the current configuration must be the domain name you need to get the certificate.":"注意:当前配置中的 server_name 必须为需要申请证书的域名。","OK":"确定","Password":"密码","Password (*)":"密码 (*)","Please input your E-mail!":"请输入您的邮箱!","Please input your password!":"请输入您的密码!","Please input your username!":"请输入您的用户名!","Private Key Path (ssl_certificate_key)":"私钥路径 (ssl_certificate_key)","Project Team":"项目团队","Reads":"读","Receive":"下载","Root Directory (root)":"网站根目录 (root)","Save":"保存","Save error %{msg}":"保存错误 %{msg}","Saved successfully":"保存成功","Send":"上传","Server error":"服务器错误","Server Info":"服务器信息","Server Names (server_name)":"网站域名 (server_name)","Sites List":"站点列表","Skip":"跳过","Status":"状态","Storage":"存储","Subject Name: %{name}":"主体名称: %{name}","System message":"系统消息","The certificate for the domain will be checked every hour, and will be renewed if it has been more than 1 month since it was last issued.
If you do not have a certificate before, please click \"Getting Certificate from Let's Encrypt\" first.":"系统将会每小时检测一次该域名证书,若距离上次签发已超过1个月,则将自动续签。
如果您之前没有证书,请先点击 \"从 Let's Encrypt 获取证书\"。","The filename cannot contain the following characters: %{c}":"文件名不能包含以下字符: %{c}","The following values will only take effect if you have the corresponding fields in your configuration file. The configuration filename cannot be changed after it has been created.":"只有在您的配置文件中有相应字段时,下列的配置才能生效。配置文件名称创建后不可修改。","This feature is not available in demo.":"该功能在 Demo 中不可用。","This operation will lose the custom configuration.":"该操作将会丢失自定义配置。","Updated at":"修改时间","Uptime:":"运行时间:","Username":"用户名","Username (*)":"用户名 (*)","Writes":"写"},"zh_TW":{"404 Not Found":"404 未找到頁面","About":"關於","Action":"操作","Add Site":"新增站點","Auto-renewal disabled for %{name}":"成功關閉 %{name} 自動續簽","Auto-renewal enabled for %{name}":"成功啟用 %{name} 自動續簽","Back":"返回","Base information":"基本訊息","Build with":"構建基於","Cancel":"取消","Certificate Auto-renewal":"證書自動續簽","Certificate has expired":"此證書已過期","Certificate is valid":"此證書有效","Certificate Path (ssl_certificate)":"TLS 證書路徑 (ssl_certificate)","Certificate Status":"證書狀態","Configuration Name":"配置名稱","Configurations":"配置","Configure SSL":"配置 SSL","CPU Status":"中央處理器狀態","CPU:":"中央處理器:","Create Another":"再創建一個","Created at":"建立時間","Dashboard":"儀表盤","Database (Optional, default: database)":"資料庫 (可選,預設: database)","Detected version update, this page will refresh.":"檢測到版本更新,頁面將會重新整理。","Development Mode":"開發模式","Disable auto-renewal failed for %{name}":"關閉 %{name} 自動續簽失敗","Disabled":"禁用","Disabled successfully":"禁用成功","Disk IO":"磁碟 IO","Do you want to change the template to support the TLS?":"你想要改變模板以支援 TLS 嗎?","Domain Config Created Successfully":"域名配置文件創建成功","Edit":"编辑","Edit %{n}":"編輯 %{n}","Edit Configuration":"編輯配置","Edit Configuration File":"編輯配置檔案","Edit Site":"編輯站點","Email (*)":"郵箱 (*)","Enable auto-renewal failed for %{name}":"啟用 %{name} 自動續簽失敗","Enable failed":"啟用失敗","Enable TLS":"啟用 TLS","Enabled":"啟用","Enabled successfully":"啟用成功","Expiration Date: %{date}":"過期時間: %{date}","Failed to disable %{msg}":"禁用失敗 %{msg}","Failed to enable %{msg}":"啟用失敗 %{msg}","File Not Found":"未找到檔案","Finished":"完成","Getting Certificate from Let's Encrypt":"從 Let's Encrypt 獲取證書","Getting the certificate, please wait...":"正在獲取證書,請稍等...","Home":"首頁","HTTP Listen Port":"HTTP 監聽埠","HTTPS Listen Port":"HTTPS 監聽埠","Index (index)":"網站首頁 (index)","Install":"安裝","Intermediate Certification Authorities: %{issuer}":"中級證書頒發機構: %{issuer}","Invalid E-mail!":"無效的郵箱!","Leave blank for no change":"留空表示不修改","License":{"Project":"開源許可"},"Load Averages:":"系統負載:","Login":"登入","Login successful":"登入成功","Logout successful":"登出成功","Make sure you have configured a reverse proxy for .well-known directory to HTTPChallengePort (default: 9180) before getting the certificate.":"在獲取證書前,請確保配置檔案中已將 .well-known 目錄反向代理到 HTTPChallengePort (預設: 9180)","Manage Configs":"配置管理","Manage Sites":"網站管理","Manage Users":"使用者管理","Memory":"記憶體","Memory and Storage":"記憶體和存儲","Modify Config":"修改配置","Name":"名稱","Network":"網路","Network Statistics":"網路統計","Network Total Receive":"下載流量","Network Total Send":"上傳流量","Next":"下一步","Not Found":"找不到頁面","Not Valid Before: %{date}":"此前無效: %{date}","Note: The server_name in the current configuration must be the domain name you need to get the certificate.":"注意:當前配置中的 server_name 必須為需要申請證書的域名。","OK":"確定","OS:":"作業系統:","Password":"密碼","Password (*)":"密碼 (*)","Please input your E-mail!":"請輸入您的郵箱!","Please input your password!":"請輸入您的密碼!","Please input your username!":"請輸入您的使用者名稱!","Private Key Path (ssl_certificate_key)":"私鑰路徑 (ssl_certificate_key)","Project Team":"專案團隊","Reads":"讀","Receive":"下載","Root Directory (root)":"網站根目錄 (root)","Save":"儲存","Save error %{msg}":"儲存錯誤 %{msg}","Saved successfully":"儲存成功","Send":"上傳","Server error":"伺服器錯誤","Server Info":"伺服器資訊","Server Names (server_name)":"網站域名 (server_name)","Sites List":"站點列表","Skip":"跳過","Status":"狀態","Storage":"儲存","Subject Name: %{name}":"主體名稱: %{name}","Swap":"交換空間","System message":"系統訊息","The certificate for the domain will be checked every hour, and will be renewed if it has been more than 1 month since it was last issued.
If you do not have a certificate before, please click \"Getting Certificate from Let's Encrypt\" first.":"系統將會每小時檢測一次該域名證書,若距離上次簽發已超過1個月,則將自動續簽。
如果您之前沒有證書,請先點選「從 Let's Encrypt 獲取證書」。","The filename cannot contain the following characters: %{c}":"檔名不能包含以下字元: %{c}","The following values will only take effect if you have the corresponding fields in your configuration file. The configuration filename cannot be changed after it has been created.":"只有在您的配置檔案中有相應欄位時,下列的配置才能生效。配置檔名稱建立後不可修改。","This feature is not available in demo.":"此功能在演示中不可用。","This operation will lose the custom configuration.":"該操作將會丟失自定義配置。","Updated at":"修改時間","Uptime:":"執行時間:","Username":"使用者名稱","Username (*)":"使用者名稱 (*)","Writes":"寫"}} \ No newline at end of file