apply upstream changes (#18)

* apply upstream changes

* update translations, fix i18n script

* remove installation scripts and related files
This commit is contained in:
UUBulb
2024-11-24 01:07:14 +08:00
committed by GitHub
parent da3bac31a2
commit 626a7d6059
15 changed files with 110 additions and 2458 deletions

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-01 13:32+0800\n"
"POT-Creation-Date: 2024-11-23 23:56+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -42,7 +42,7 @@ msgstr ""
msgid "need to configure at least a single rule"
msgstr ""
#: cmd/dashboard/controller/controller.go:188
#: cmd/dashboard/controller/controller.go:195
msgid "database error"
msgstr ""
@@ -93,7 +93,7 @@ msgstr ""
msgid "group id %d does not exist"
msgstr ""
#: cmd/dashboard/controller/server.go:59
#: cmd/dashboard/controller/server.go:60
#, c-format
msgid "server id %d does not exist"
msgstr ""
@@ -108,7 +108,7 @@ msgstr ""
msgid "server not found"
msgstr ""
#: cmd/dashboard/controller/service.go:86
#: cmd/dashboard/controller/service.go:86 cmd/dashboard/controller/user.go:23
msgid "unauthorized"
msgstr ""
@@ -117,11 +117,11 @@ msgstr ""
msgid "service id %d does not exist"
msgstr ""
#: cmd/dashboard/controller/user.go:45
#: cmd/dashboard/controller/user.go:66
msgid "password length must be greater than 6"
msgstr ""
#: cmd/dashboard/controller/user.go:48
#: cmd/dashboard/controller/user.go:69
msgid "username can't be empty"
msgstr ""
@@ -137,15 +137,15 @@ msgstr ""
msgid "timeout: agent connection not established"
msgstr ""
#: service/rpc/nezha.go:57
#: service/rpc/nezha.go:58
msgid "Scheduled Task Executed Successfully"
msgstr ""
#: service/rpc/nezha.go:61
#: service/rpc/nezha.go:62
msgid "Scheduled Task Executed Failed"
msgstr ""
#: service/rpc/nezha.go:156
#: service/rpc/nezha.go:217
msgid "IP Changed"
msgstr ""
@@ -157,16 +157,16 @@ msgstr ""
msgid "Resolved"
msgstr ""
#: service/singleton/crontask.go:52
#: service/singleton/crontask.go:53
msgid "Tasks failed to register: ["
msgstr ""
#: service/singleton/crontask.go:59
#: service/singleton/crontask.go:60
msgid ""
"] These tasks will not execute properly. Fix them in the admin dashboard."
msgstr ""
#: service/singleton/crontask.go:150 service/singleton/crontask.go:175
#: service/singleton/crontask.go:146 service/singleton/crontask.go:171
#, c-format
msgid "[Task failed] %s: server %s is offline and cannot execute the task"
msgstr ""

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-01 13:14+0800\n"
"POT-Creation-Date: 2024-11-23 23:56+0800\n"
"PO-Revision-Date: 2024-11-01 13:20+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -43,7 +43,7 @@ msgstr "cycle_start is a future value"
msgid "need to configure at least a single rule"
msgstr "need to configure at least a single rule"
#: cmd/dashboard/controller/controller.go:188
#: cmd/dashboard/controller/controller.go:195
msgid "database error"
msgstr "database error"
@@ -94,7 +94,7 @@ msgstr "have invalid notification id"
msgid "group id %d does not exist"
msgstr "group id %d does not exist"
#: cmd/dashboard/controller/server.go:59
#: cmd/dashboard/controller/server.go:60
#, c-format
msgid "server id %d does not exist"
msgstr "server id %d does not exist"
@@ -109,7 +109,7 @@ msgstr "have invalid server id"
msgid "server not found"
msgstr "server not found"
#: cmd/dashboard/controller/service.go:86
#: cmd/dashboard/controller/service.go:86 cmd/dashboard/controller/user.go:23
msgid "unauthorized"
msgstr "unauthorized"
@@ -118,11 +118,11 @@ msgstr "unauthorized"
msgid "service id %d does not exist"
msgstr "service id %d does not exist"
#: cmd/dashboard/controller/user.go:45
#: cmd/dashboard/controller/user.go:66
msgid "password length must be greater than 6"
msgstr "password length must be greater than 6"
#: cmd/dashboard/controller/user.go:48
#: cmd/dashboard/controller/user.go:69
msgid "username can't be empty"
msgstr "username can't be empty"
@@ -138,15 +138,15 @@ msgstr "timeout: user connection not established"
msgid "timeout: agent connection not established"
msgstr "timeout: agent connection not established"
#: service/rpc/nezha.go:57
#: service/rpc/nezha.go:58
msgid "Scheduled Task Executed Successfully"
msgstr "Scheduled Task Executed Successfully"
#: service/rpc/nezha.go:61
#: service/rpc/nezha.go:62
msgid "Scheduled Task Executed Failed"
msgstr "Scheduled Task Executed Failed"
#: service/rpc/nezha.go:156
#: service/rpc/nezha.go:217
msgid "IP Changed"
msgstr "IP Changed"
@@ -158,17 +158,17 @@ msgstr "Incident"
msgid "Resolved"
msgstr "Resolved"
#: service/singleton/crontask.go:52
#: service/singleton/crontask.go:53
msgid "Tasks failed to register: ["
msgstr "Tasks failed to register: ["
#: service/singleton/crontask.go:59
#: service/singleton/crontask.go:60
msgid ""
"] These tasks will not execute properly. Fix them in the admin dashboard."
msgstr ""
"] These tasks will not execute properly. Fix them in the admin dashboard."
#: service/singleton/crontask.go:150 service/singleton/crontask.go:175
#: service/singleton/crontask.go:146 service/singleton/crontask.go:171
#, c-format
msgid "[Task failed] %s: server %s is offline and cannot execute the task"
msgstr "[Task failed] %s: server %s is offline and cannot execute the task"

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-01 13:14+0800\n"
"POT-Creation-Date: 2024-11-23 23:56+0800\n"
"PO-Revision-Date: 2024-11-01 13:20+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -43,7 +43,7 @@ msgstr "cycle_start 是未来值"
msgid "need to configure at least a single rule"
msgstr "需要至少定义一条规则"
#: cmd/dashboard/controller/controller.go:188
#: cmd/dashboard/controller/controller.go:195
msgid "database error"
msgstr "数据库错误"
@@ -94,7 +94,7 @@ msgstr "通知方式 id 无效"
msgid "group id %d does not exist"
msgstr "组 id %d 不存在"
#: cmd/dashboard/controller/server.go:59
#: cmd/dashboard/controller/server.go:60
#, c-format
msgid "server id %d does not exist"
msgstr "服务器 id %d 不存在"
@@ -109,7 +109,7 @@ msgstr "服务器 id 无效"
msgid "server not found"
msgstr "未找到服务器"
#: cmd/dashboard/controller/service.go:86
#: cmd/dashboard/controller/service.go:86 cmd/dashboard/controller/user.go:23
msgid "unauthorized"
msgstr "未授权"
@@ -118,11 +118,11 @@ msgstr "未授权"
msgid "service id %d does not exist"
msgstr "服务 id %d 不存在"
#: cmd/dashboard/controller/user.go:45
#: cmd/dashboard/controller/user.go:66
msgid "password length must be greater than 6"
msgstr "密码长度必须大于 6"
#: cmd/dashboard/controller/user.go:48
#: cmd/dashboard/controller/user.go:69
msgid "username can't be empty"
msgstr "用户名不能为空"
@@ -138,15 +138,15 @@ msgstr "超时:用户连接未建立"
msgid "timeout: agent connection not established"
msgstr "超时agent 连接未建立"
#: service/rpc/nezha.go:57
#: service/rpc/nezha.go:58
msgid "Scheduled Task Executed Successfully"
msgstr "计划任务执行成功"
#: service/rpc/nezha.go:61
#: service/rpc/nezha.go:62
msgid "Scheduled Task Executed Failed"
msgstr "计划任务执行失败"
#: service/rpc/nezha.go:156
#: service/rpc/nezha.go:217
msgid "IP Changed"
msgstr "IP 变更"
@@ -158,16 +158,16 @@ msgstr "事件"
msgid "Resolved"
msgstr "恢复"
#: service/singleton/crontask.go:52
#: service/singleton/crontask.go:53
msgid "Tasks failed to register: ["
msgstr "注册失败的任务:["
#: service/singleton/crontask.go:59
#: service/singleton/crontask.go:60
msgid ""
"] These tasks will not execute properly. Fix them in the admin dashboard."
msgstr "这些任务将无法正常执行,请进入后台重新修改保存。"
#: service/singleton/crontask.go:150 service/singleton/crontask.go:175
#: service/singleton/crontask.go:146 service/singleton/crontask.go:171
#, c-format
msgid "[Task failed] %s: server %s is offline and cannot execute the task"
msgstr "[任务失败] %s服务器 %s 离线,无法执行"

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-01 13:14+0800\n"
"POT-Creation-Date: 2024-11-23 23:56+0800\n"
"PO-Revision-Date: 2024-11-01 13:19+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -43,7 +43,7 @@ msgstr "cycle_start 是未來值"
msgid "need to configure at least a single rule"
msgstr "需要至少定義一條規則"
#: cmd/dashboard/controller/controller.go:188
#: cmd/dashboard/controller/controller.go:195
msgid "database error"
msgstr "資料庫錯誤"
@@ -94,7 +94,7 @@ msgstr "通知方式 id 無效"
msgid "group id %d does not exist"
msgstr "組 id %d 不存在"
#: cmd/dashboard/controller/server.go:59
#: cmd/dashboard/controller/server.go:60
#, c-format
msgid "server id %d does not exist"
msgstr "伺服器 id %d 不存在"
@@ -109,7 +109,7 @@ msgstr "伺服器 id 無效"
msgid "server not found"
msgstr "未找到伺服器"
#: cmd/dashboard/controller/service.go:86
#: cmd/dashboard/controller/service.go:86 cmd/dashboard/controller/user.go:23
msgid "unauthorized"
msgstr "未授權"
@@ -118,11 +118,11 @@ msgstr "未授權"
msgid "service id %d does not exist"
msgstr "服務 id %d 不存在"
#: cmd/dashboard/controller/user.go:45
#: cmd/dashboard/controller/user.go:66
msgid "password length must be greater than 6"
msgstr "密碼長度必須大於 6"
#: cmd/dashboard/controller/user.go:48
#: cmd/dashboard/controller/user.go:69
msgid "username can't be empty"
msgstr "使用者名稱不能為空"
@@ -138,15 +138,15 @@ msgstr "超時:使用者連線未建立"
msgid "timeout: agent connection not established"
msgstr "超時agent 連線未建立"
#: service/rpc/nezha.go:57
#: service/rpc/nezha.go:58
msgid "Scheduled Task Executed Successfully"
msgstr "排程任務執行成功"
#: service/rpc/nezha.go:61
#: service/rpc/nezha.go:62
msgid "Scheduled Task Executed Failed"
msgstr "排程任務執行失敗"
#: service/rpc/nezha.go:156
#: service/rpc/nezha.go:217
msgid "IP Changed"
msgstr "IP 變更"
@@ -158,16 +158,16 @@ msgstr "事件"
msgid "Resolved"
msgstr "恢復"
#: service/singleton/crontask.go:52
#: service/singleton/crontask.go:53
msgid "Tasks failed to register: ["
msgstr "註冊失敗的任務:["
#: service/singleton/crontask.go:59
#: service/singleton/crontask.go:60
msgid ""
"] These tasks will not execute properly. Fix them in the admin dashboard."
msgstr "這些任務將無法正常執行,請進入後台重新修改儲存。"
#: service/singleton/crontask.go:150 service/singleton/crontask.go:175
#: service/singleton/crontask.go:146 service/singleton/crontask.go:171
#, c-format
msgid "[Task failed] %s: server %s is offline and cannot execute the task"
msgstr "[任務失敗] %s伺服器 %s 離線,無法執行"