diff --git a/README-zh_CN.md b/README-zh_CN.md index dfc9c2b..919e523 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -4,22 +4,76 @@ # Nginx UI -Yet another Nginx Web UI, developed by [0xJacky](https://jackyu.cn/) and [Hintay](https://blog.kugeek.com/). +Yet another Nginx Web UI + +Nginx 网络管理界面,由 [0xJacky](https://jackyu.cn/) 与 [Hintay](https://blog.kugeek.com/) 开发。 [![Build and Publish](https://github.com/0xJacky/nginx-ui/actions/workflows/build.yml/badge.svg)](https://github.com/0xJacky/nginx-ui/actions/workflows/build.yml) [For English](README.md) +[繁體中文](README-zh_TW.md) + +
+ 目录 +
    +
  1. + 关于项目 + +
  2. +
  3. + 入门指南 + +
  4. +
  5. + 手动构建 + +
  6. +
  7. + Linux 安装脚本 + +
  8. +
  9. Nginx 反向代理配置示例
  10. +
  11. 贡献
  12. +
  13. 开源许可
  14. +
+
+ ## 关于项目 -![](resources/screenshots/dashboard.png) + +[![Dashboard](resources/screenshots/dashboard.png)]() + ### 特色 -- 在线查看服务器 CPU、内存、load average、磁盘使用率等指标 + +- 在线查看服务器 CPU、内存、系统负载、磁盘使用率等指标 - 一键申请和自动续签 Let's encrypt 证书 - 在线编辑 Nginx 配置文件,编辑器支持 Nginx 配置语法高亮 - 使用 Go 和 Vue 开发,发行版本为单个可执行的二进制文件 - 前端支持暗夜模式 ### 国际化 + - 英语 - 简体中文 - 繁体中文 @@ -27,13 +81,14 @@ Yet another Nginx Web UI, developed by [0xJacky](https://jackyu.cn/) and [Hintay 我们欢迎您将项目翻译成任何语言。 ### 构建基于 + - [The Go Programming Language](https://go.dev/) - [Gin Web Framework](https://gin-gonic.com) - [GORM](http://gorm.io/index.html) - [Vue 2](https://vuejs.org) - [vue-gettext](https://github.com/Polyconseil/vue-gettext) -## 快速开始 +## 入门指南 ### 使用前注意 @@ -41,56 +96,65 @@ Nginx UI 遵循 Nginx 的标准,创建的网站配置文件位于 Nginx 配置 启用后的网站的配置文件将会创建一份软连接到 `sites-enabled` 目录中。因此,您可能需要提前调整配置文件的组织方式。 -## 安装 +### 安装 + +Nginx UI 可在以下平台中使用: -### 平台支持 -Nginx UI 可在以下平台中可用: -- Mac OS X 10.10 Yosemite 及之后版本(amd64 / arm64); -- Linux 2.6.23 及之后版本(x86 / amd64 / arm64); - - 包括但不限于 Debian 7 / 8、Ubuntu 12.04 / 14.04 及后续版本、CentOS 6 / 7、Arch Linux; -- FreeBSD (x86 / amd64); -- OpenBSD (x86 / amd64); -- Dragonfly BSD (amd64); +- Mac OS X 10.10 Yosemite 及之后版本(amd64 / arm64) +- Linux 2.6.23 及之后版本(x86 / amd64 / arm64) + - 包括但不限于 Debian 7 / 8、Ubuntu 12.04 / 14.04 及后续版本、CentOS 6 / 7、Arch Linux +- FreeBSD (x86 / amd64) +- OpenBSD (x86 / amd64) +- Dragonfly BSD (amd64) -您可以在 [latest release](https://github.com/0xJacky/nginx-ui/releases/latest) 中下载最新发行版本 +您可以在 [最新发行 (latest release)](https://github.com/0xJacky/nginx-ui/releases/latest) 中下载最新版本,或使用 [Linux 安装脚本](#scripts-for-linux). ### 使用方法 -#### 通过手动安装 -- 在前台运行 Nginx UI +第一次运行 Nginx UI 时,请在浏览器中访问 `http://:/install` 完成后续配置。 + +#### 通过执行文件运行 +**在终端中运行 Nginx UI** + ```shell -nginx-ui --config app.ini +nginx-ui -config app.ini ``` -- 关闭在前台运行的 Nginx UI - - 键盘快捷键 `Ctrl+C` +在终端使用 `Control+C` 退出 Nginx UI。 + +**在后台运行 Nginx UI** -- 后台运行 Nginx UI ```shell -nohup ./nginx-ui --config app.ini & +nohup ./nginx-ui -config app.ini & ``` -- 关闭在后台运行的 Nginx UI +使用以下命令停止 Nginx UI。 + ```shell -jobs -kill %job_id +kill -9 $(ps -aux | grep nginx-ui | grep -v grep | awk '{print $2}') ``` -#### 通过脚本安装 -- 启动 Nginx UI +#### 使用 Systemd +如果你使用的是[Linux 安装脚本](#scripts-for-linux),Nginx UI 将作为 `nginx-ui` 服务安装在 systemd 中。请使用 `systemctl` 命令控制。 + +**启动 Nginx UI** + ```shell systemctl start nginx-ui ``` -- 停止 Nginx UI +**停止 Nginx UI** + ```shell systemctl stop nginx-ui ``` -- 重启 Nginx UI +**重启 Nginx UI** + ```shell systemctl restart nginx-ui ``` - ## 手动构建 -对于一键安装脚本不支持的平台,可以尝试手动构建。 + +对于没有官方构建版本的平台,可以尝试手动构建。 ### 依赖 + - Make - Golang 1.17+ @@ -100,6 +164,7 @@ systemctl restart nginx-ui ```shell npx browserslist@latest --update-db ``` + ### 构建前端 请在 `frontend` 目录中执行以下命令。 @@ -118,19 +183,16 @@ yarn build go build -o nginx-ui -v main.go ``` -### Linux 一键安装脚本 +## Linux 安装脚本 + +### 基本用法 **安装或升级** ```shell bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) @ install ``` - -一键安装脚本默认设置的监听端口为 `9000`,HTTP Challenge 端口默认为 `9180`, -如果出现端口冲突请进入 `/usr/local/etc/nginx-ui/app.ini` 修改, -并使用 `systemctl restart nginx-ui` 重启 Nginx UI 服务。 - -服务启动成功后,在浏览器中访问 `http://:9000/install` 完成后续配置。 +一键安装脚本默认设置的监听端口为 `9000`,HTTP Challenge 端口默认为 `9180`,如果出现端口冲突请进入 `/usr/local/etc/nginx-ui/app.ini` 修改,并使用 `systemctl restart nginx-ui` 重启 Nginx UI 服务。 **卸载 Nginx UI 但保留配置和数据库文件** @@ -181,9 +243,7 @@ server { 贡献使开源社区成为学习、启发和创造的绝佳场所。我们**非常感谢**您所做的任何贡献。 -如果您有让这个项目变得更强的建议,欢迎 fork 这个仓库并创建一个 Pull Request。 - -您也可以创建一个带有 `enhancement` 的 Issue。最后,不要忘记给我们的项目一键三连点个 Star!再次感谢! +如果您有让这个项目变得更强的建议,欢迎 fork 这个仓库并创建一个 Pull Request。您也可以创建一个带有 `enhancement` (优化)标签的 Issue。最后,不要忘记给我们的项目一键三连点个 Star!再次感谢! 1. Fork 项目 2. 创建您的分支 (`git checkout -b feature/AmazingFeature`) @@ -193,5 +253,4 @@ server { ## 开源许可 -这个项目是在 GNU Affero Public License v3.0 (GPLv3) 许可下提供的,您可以在 [LICENSE](LICENSE) 找到。 -通过使用、分发或对本项目做出贡献,表明您已同意本许可证的条款和条件。 +此项目基于 GNU Affero Public License v3.0 (AGPLv3) 许可,请参阅 [LICENSE](LICENSE) 文件。通过使用、分发或对本项目做出贡献,表明您已同意本许可证的条款和条件。 diff --git a/README.md b/README.md index fe96d78..f108b8b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ Yet another Nginx Web UI, developed by [0xJacky](https://jackyu.cn/) and [Hintay [![Build and Publish](https://github.com/0xJacky/nginx-ui/actions/workflows/build.yml/badge.svg)](https://github.com/0xJacky/nginx-ui/actions/workflows/build.yml) -[简体中文说明](README-zh_CN.md) +[简体中文](README-zh_CN.md) + +[繁體中文](README-zh_TW.md)
Table of Contents @@ -17,7 +19,7 @@ Yet another Nginx Web UI, developed by [0xJacky](https://jackyu.cn/) and [Hintay About The Project @@ -26,7 +28,13 @@ Yet another Nginx Web UI, developed by [0xJacky](https://jackyu.cn/) and [Hintay
  • @@ -38,10 +46,10 @@ Yet another Nginx Web UI, developed by [0xJacky](https://jackyu.cn/) and [Hintay
  • - Scripts for Linux + Script for Linux
  • Example of Nginx Reverse Proxy Configuration
  • @@ -101,39 +109,48 @@ You can visit [latest release](https://github.com/0xJacky/nginx-ui/releases/late ### Usage -#### Manually Install -- Start Nginx UI in foreground +In the first runtime of Nginx UI, please visit `http://:/install` +in your browser to complete the follow-up configurations. + +#### From Executable +**Run Nginx UI in Terminal** + ```shell -nginx-ui --config app.ini +nginx-ui -config app.ini ``` -- Kill Nginx UI in foreground - - Keyboard shortcuts `Ctrl+C` +Press `Control+C` in the terminal to exit Nginx UI. + +**Run Nginx UI in Background** -- Start Nginx UI in background ```shell -nohup ./nginx-ui --config app.ini & +nohup ./nginx-ui -config app.ini & ``` -- Kill Nginx UI in background +Stop Nginx UI with the follow commond. + ```shell -jobs -kill %job_id +kill -9 $(ps -aux | grep nginx-ui | grep -v grep | awk '{print $2}') ``` -#### Installed by script -- Start Nginx UI +#### With Systemd +If you are using the [installation script for Linux](#scripts-for-linux), the Nginx UI will be installed as `nginx-ui` service in systemd. Please use the `systemctl` command to control it. + +**Start Nginx UI** + ```shell systemctl start nginx-ui ``` -- Stop Nginx UI +**Stop Nginx UI** + ```shell systemctl stop nginx-ui ``` -- Restart Nginx UI +**Restart Nginx UI** + ```shell systemctl restart nginx-ui ``` ## Manual Build -On platforms where installation scripts are not supported, they can be built manually. +On platforms that do not have an official build version, they can be built manually. ### Prerequisites @@ -165,7 +182,7 @@ Please build the frontend first, and then execute the following command in the p go build -o nginx-ui -v main.go ``` -## Scripts for Linux +## Script for Linux ### Basic Usage @@ -176,9 +193,6 @@ bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/inst ``` The default listening port is 9000, and the default HTTP Challenge port is 9180. If there is a port conflict, please modify `/usr/local/etc/nginx-ui/app.ini` manually, then use `systemctl restart nginx-ui` to reload the Nginx UI service. -Once the nginx-ui is running, please visit `http://:/install` -in your browser to complete the follow-up configurations. - **Remove Nginx UI, except configuration and database files** ```shell @@ -228,7 +242,7 @@ server { Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. -If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again! +If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again! 1. Fork the Project 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) diff --git a/frontend/src/locale/zh_TW/LC_MESSAGES/app.po b/frontend/src/locale/zh_TW/LC_MESSAGES/app.po index e7ed627..def707b 100644 --- a/frontend/src/locale/zh_TW/LC_MESSAGES/app.po +++ b/frontend/src/locale/zh_TW/LC_MESSAGES/app.po @@ -80,13 +80,12 @@ msgid "Configurations" msgstr "配置" #: src/views/dashboard/DashBoard.vue:204 -#, fuzzy msgid "CPU Status" -msgstr "狀態" +msgstr "中央處理器狀態" #: src/views/dashboard/DashBoard.vue:22 msgid "CPU:" -msgstr "" +msgstr "中央處理器:" #: src/views/user/User.vue:23 msgid "Created at" @@ -123,7 +122,7 @@ msgstr "禁用成功" #: src/views/dashboard/DashBoard.vue:282 msgid "Disk IO" -msgstr "" +msgstr "磁碟 IO" #: src/views/domain/DomainEdit.vue:133 msgid "Do you want to change the template to support the TLS?" @@ -248,13 +247,12 @@ msgid "Logout successful" msgstr "登出成功" #: src/views/domain/DomainEdit.vue:12 src/views/domain/DomainEdit.vue:6 -#, fuzzy msgid "" "Make sure you have configured a reverse proxy for .well-known directory to " "HTTPChallengePort (default: 9180) before getting the certificate." msgstr "" -"在獲取證書前,請確保配置檔案中已將 .well-known 目錄反向代理到" -"HTTPChallengePort (預設: 9180)" +"在獲取證書前,請確保配置檔案中已將 .well-known 目錄反向代理到 " +"HTTPChallengePort (預設: 9180)" #: src/router/index.js:60 msgid "Manage Configs" @@ -278,15 +276,15 @@ msgstr "名稱" #: src/views/dashboard/DashBoard.vue:231 msgid "Network" -msgstr "" +msgstr "網路" #: src/views/dashboard/DashBoard.vue:165 msgid "Network Total Receive" -msgstr "" +msgstr "下載流量" #: src/views/dashboard/DashBoard.vue:174 msgid "Network Total Send" -msgstr "" +msgstr "上傳流量" #: src/router/index.js:105 msgid "Not Found" @@ -308,7 +306,7 @@ msgstr "確定" #: src/views/dashboard/DashBoard.vue:16 msgid "OS:" -msgstr "" +msgstr "作業系統:" #: src/views/other/Login.vue:56 src/views/user/User.vue:13 msgid "Password" @@ -340,11 +338,11 @@ msgstr "專案團隊" #: src/views/dashboard/DashBoard.vue:61 src/views/dashboard/DashBoard.vue:305 msgid "Reads" -msgstr "" +msgstr "讀" #: src/views/dashboard/DashBoard.vue:51 src/views/dashboard/DashBoard.vue:240 msgid "Receive" -msgstr "" +msgstr "下載" #: src/views/domain/columns.js:16 msgid "Root Directory (root)" @@ -367,7 +365,7 @@ msgstr "儲存成功" #: src/views/dashboard/DashBoard.vue:54 src/views/dashboard/DashBoard.vue:254 msgid "Send" -msgstr "" +msgstr "上傳" #: src/views/config/ConfigEdit.vue:35 src/views/domain/DomainEdit.vue:71 #: src/views/other/Login.vue:35 @@ -375,9 +373,8 @@ msgid "Server error" msgstr "伺服器錯誤" #: src/views/dashboard/DashBoard.vue:37 -#, fuzzy msgid "Server Info" -msgstr "伺服器錯誤" +msgstr "伺服器資訊" #: src/views/domain/columns.js:10 msgid "Server Names (server_name)" @@ -401,7 +398,7 @@ msgstr "主體名稱: %{name}" #: src/views/dashboard/DashBoard.vue:116 msgid "Swap" -msgstr "" +msgstr "交換空間" #: src/router/index.js:124 msgid "System message" @@ -427,12 +424,12 @@ msgid "" "fields in your configuration file. The configuration filename cannot be " "changed after it has been created." msgstr "" -"只有在您的配置檔案中有相應欄位時,下列的配置才能生效。配置檔名稱建立後不可修" -"改。" +"只有在您的配置檔案中有相應欄位時,下列的配置才能生效。配置檔名稱建立後不可" +"修改。" #: src/views/domain/DomainEdit.vue:11 src/views/domain/DomainEdit.vue:5 msgid "This feature is not available in demo." -msgstr "" +msgstr "此功能在演示中不可用。" #: src/views/domain/DomainEdit.vue:134 msgid "This operation will lose the custom configuration." @@ -444,9 +441,8 @@ msgid "Updated at" msgstr "修改時間" #: src/views/dashboard/DashBoard.vue:6 -#, fuzzy msgid "Uptime:" -msgstr "執行時間" +msgstr "執行時間:" #: src/views/other/Login.vue:33 src/views/user/User.vue:5 msgid "Username" @@ -458,7 +454,7 @@ msgstr "使用者名稱 (*)" #: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:291 msgid "Writes" -msgstr "" +msgstr "寫" #~ msgid "Server Status" #~ msgstr "伺服器狀態" diff --git a/frontend/src/translations.json b/frontend/src/translations.json index c05c3ee..32e24b2 100644 --- a/frontend/src/translations.json +++ b/frontend/src/translations.json @@ -1 +1 @@ -{"en":{},"zh_CN":{"404 Not Found":"404 未找到页面","About":"关于","Action":"操作","Add Site":"添加站点","Add site here first, then you can configure TLS on the domain edit page.":"在这里添加站点,完成后可进入编辑页面配置 TLS。","Auto-renewal disabled for %{name}":"成功关闭 %{name} 自动续签","Auto-renewal enabled for %{name}":"成功启用 %{name} 自动续签","Build with":"构建基于","Cancel":"取消","Certificate Auto-renewal":"证书自动续签","Certificate has expired":"此证书已过期","Certificate is valid":"此证书有效","Certificate Path (ssl_certificate)":"TLS 证书路径 (ssl_certificate)","Certificate Status":"证书状态","Configuration Name":"配置名称","Configurations":"配置","CPU Status":"CPU 状态","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 吗?","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":"未找到文件","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":"内存","Name":"名称","Network":"网络","Network Total Receive":"下载流量","Network Total Send":"上传流量","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":"站点列表","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":"新增站點","Add site here first, then you can configure TLS on the domain edit page.":"在這裡新增站點,完成後可進入編輯頁面配置 TLS。","Auto-renewal disabled for %{name}":"成功關閉 %{name} 自動續簽","Auto-renewal enabled for %{name}":"成功啟用 %{name} 自動續簽","Build with":"構建基於","Cancel":"取消","Certificate Auto-renewal":"證書自動續簽","Certificate has expired":"此證書已過期","Certificate is valid":"此證書有效","Certificate Path (ssl_certificate)":"TLS 證書路徑 (ssl_certificate)","Certificate Status":"證書狀態","Configuration Name":"配置名稱","Configurations":"配置","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":"禁用成功","Do you want to change the template to support the TLS?":"你想要改變模板以支援 TLS 嗎?","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":"未找到檔案","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":"登出成功","Manage Configs":"配置管理","Manage Sites":"網站管理","Manage Users":"使用者管理","Memory":"記憶體","Name":"名稱","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":"專案團隊","Root Directory (root)":"網站根目錄 (root)","Save":"儲存","Save error %{msg}":"儲存錯誤 %{msg}","Saved successfully":"儲存成功","Server error":"伺服器錯誤","Server Names (server_name)":"網站域名 (server_name)","Sites List":"站點列表","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 operation will lose the custom configuration.":"該操作將會丟失自定義配置。","Updated at":"修改時間","Username":"使用者名稱","Username (*)":"使用者名稱 (*)"}} \ No newline at end of file +{"en":{},"zh_CN":{"404 Not Found":"404 未找到页面","About":"关于","Action":"操作","Add Site":"添加站点","Add site here first, then you can configure TLS on the domain edit page.":"在这里添加站点,完成后可进入编辑页面配置 TLS。","Auto-renewal disabled for %{name}":"成功关闭 %{name} 自动续签","Auto-renewal enabled for %{name}":"成功启用 %{name} 自动续签","Build with":"构建基于","Cancel":"取消","Certificate Auto-renewal":"证书自动续签","Certificate has expired":"此证书已过期","Certificate is valid":"此证书有效","Certificate Path (ssl_certificate)":"TLS 证书路径 (ssl_certificate)","Certificate Status":"证书状态","Configuration Name":"配置名称","Configurations":"配置","CPU Status":"CPU 状态","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 吗?","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":"未找到文件","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":"内存","Name":"名称","Network":"网络","Network Total Receive":"下载流量","Network Total Send":"上传流量","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":"站点列表","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":"新增站點","Add site here first, then you can configure TLS on the domain edit page.":"在這裡新增站點,完成後可進入編輯頁面配置 TLS。","Auto-renewal disabled for %{name}":"成功關閉 %{name} 自動續簽","Auto-renewal enabled for %{name}":"成功啟用 %{name} 自動續簽","Build with":"構建基於","Cancel":"取消","Certificate Auto-renewal":"證書自動續簽","Certificate has expired":"此證書已過期","Certificate is valid":"此證書有效","Certificate Path (ssl_certificate)":"TLS 證書路徑 (ssl_certificate)","Certificate Status":"證書狀態","Configuration Name":"配置名稱","Configurations":"配置","CPU Status":"中央處理器狀態","CPU:":"中央處理器:","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 嗎?","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":"未找到檔案","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":"記憶體","Name":"名稱","Network":"網路","Network Total Receive":"下載流量","Network Total Send":"上傳流量","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":"站點列表","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 diff --git a/frontend/version.json b/frontend/version.json index 961290d..f72e504 100644 --- a/frontend/version.json +++ b/frontend/version.json @@ -1 +1 @@ -{"version":"1.2.0","build_id":2,"total_build":42} \ No newline at end of file +{"version":"1.2.0","build_id":3,"total_build":43} \ No newline at end of file