generate translation template

This commit is contained in:
uubulb 2024-12-31 21:26:39 +08:00
parent 24a17e5824
commit 2a7c97f417

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-22 11:55+0800\n" "POT-Creation-Date: 2024-12-31 21:25+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,89 +17,90 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: cmd/dashboard/controller/alertrule.go:103 #: cmd/dashboard/controller/alertrule.go:104
#, c-format #, c-format
msgid "alert id %d does not exist" msgid "alert id %d does not exist"
msgstr "" msgstr ""
#: cmd/dashboard/controller/alertrule.go:107 #: cmd/dashboard/controller/alertrule.go:108
#: cmd/dashboard/controller/alertrule.go:155 #: cmd/dashboard/controller/alertrule.go:156
#: cmd/dashboard/controller/alertrule.go:175 #: cmd/dashboard/controller/alertrule.go:176
#: cmd/dashboard/controller/controller.go:211 #: cmd/dashboard/controller/controller.go:216
#: cmd/dashboard/controller/cron.go:57 cmd/dashboard/controller/cron.go:123 #: cmd/dashboard/controller/cron.go:58 cmd/dashboard/controller/cron.go:124
#: cmd/dashboard/controller/cron.go:135 cmd/dashboard/controller/cron.go:194 #: cmd/dashboard/controller/cron.go:136 cmd/dashboard/controller/cron.go:195
#: cmd/dashboard/controller/cron.go:223 cmd/dashboard/controller/ddns.go:130 #: cmd/dashboard/controller/cron.go:224 cmd/dashboard/controller/ddns.go:131
#: cmd/dashboard/controller/ddns.go:191 cmd/dashboard/controller/fm.go:43 #: cmd/dashboard/controller/ddns.go:192 cmd/dashboard/controller/fm.go:43
#: cmd/dashboard/controller/nat.go:58 cmd/dashboard/controller/nat.go:109 #: cmd/dashboard/controller/nat.go:59 cmd/dashboard/controller/nat.go:110
#: cmd/dashboard/controller/nat.go:120 cmd/dashboard/controller/nat.go:159 #: cmd/dashboard/controller/nat.go:121 cmd/dashboard/controller/nat.go:160
#: cmd/dashboard/controller/notification.go:111 #: cmd/dashboard/controller/notification.go:112
#: cmd/dashboard/controller/notification.go:165 #: cmd/dashboard/controller/notification.go:166
#: cmd/dashboard/controller/notification_group.go:76 #: cmd/dashboard/controller/notification_group.go:76
#: cmd/dashboard/controller/notification_group.go:152 #: cmd/dashboard/controller/notification_group.go:152
#: cmd/dashboard/controller/notification_group.go:164 #: cmd/dashboard/controller/notification_group.go:164
#: cmd/dashboard/controller/notification_group.go:233 #: cmd/dashboard/controller/notification_group.go:233
#: cmd/dashboard/controller/server.go:64 cmd/dashboard/controller/server.go:76 #: cmd/dashboard/controller/server.go:65 cmd/dashboard/controller/server.go:77
#: cmd/dashboard/controller/server.go:127 #: cmd/dashboard/controller/server.go:128
#: cmd/dashboard/controller/server.go:191 #: cmd/dashboard/controller/server.go:192
#: cmd/dashboard/controller/server_group.go:75 #: cmd/dashboard/controller/server_group.go:75
#: cmd/dashboard/controller/server_group.go:150 #: cmd/dashboard/controller/server_group.go:150
#: cmd/dashboard/controller/server_group.go:229 #: cmd/dashboard/controller/server_group.go:229
#: cmd/dashboard/controller/service.go:272 #: cmd/dashboard/controller/service.go:273
#: cmd/dashboard/controller/service.go:343 #: cmd/dashboard/controller/service.go:344
#: cmd/dashboard/controller/service.go:370 #: cmd/dashboard/controller/service.go:371
#: cmd/dashboard/controller/terminal.go:41 #: cmd/dashboard/controller/terminal.go:41
msgid "permission denied" msgid "permission denied"
msgstr "" msgstr ""
#: cmd/dashboard/controller/alertrule.go:183 #: cmd/dashboard/controller/alertrule.go:184
msgid "duration need to be at least 3" msgid "duration need to be at least 3"
msgstr "" msgstr ""
#: cmd/dashboard/controller/alertrule.go:187 #: cmd/dashboard/controller/alertrule.go:188
msgid "cycle_interval need to be at least 1" msgid "cycle_interval need to be at least 1"
msgstr "" msgstr ""
#: cmd/dashboard/controller/alertrule.go:190 #: cmd/dashboard/controller/alertrule.go:191
msgid "cycle_start is not set" msgid "cycle_start is not set"
msgstr "" msgstr ""
#: cmd/dashboard/controller/alertrule.go:193 #: cmd/dashboard/controller/alertrule.go:194
msgid "cycle_start is a future value" msgid "cycle_start is a future value"
msgstr "" msgstr ""
#: cmd/dashboard/controller/alertrule.go:198 #: cmd/dashboard/controller/alertrule.go:199
msgid "need to configure at least a single rule" msgid "need to configure at least a single rule"
msgstr "" msgstr ""
#: cmd/dashboard/controller/controller.go:205 #: cmd/dashboard/controller/controller.go:210
#: cmd/dashboard/controller/oauth2.go:152
#: cmd/dashboard/controller/server_group.go:162 #: cmd/dashboard/controller/server_group.go:162
#: cmd/dashboard/controller/service.go:95 cmd/dashboard/controller/user.go:26 #: cmd/dashboard/controller/service.go:96 cmd/dashboard/controller/user.go:27
#: cmd/dashboard/controller/user.go:53 #: cmd/dashboard/controller/user.go:63
msgid "unauthorized" msgid "unauthorized"
msgstr "" msgstr ""
#: cmd/dashboard/controller/controller.go:228 #: cmd/dashboard/controller/controller.go:233
msgid "database error" msgid "database error"
msgstr "" msgstr ""
#: cmd/dashboard/controller/cron.go:74 cmd/dashboard/controller/cron.go:148 #: cmd/dashboard/controller/cron.go:75 cmd/dashboard/controller/cron.go:149
msgid "scheduled tasks cannot be triggered by alarms" msgid "scheduled tasks cannot be triggered by alarms"
msgstr "" msgstr ""
#: cmd/dashboard/controller/cron.go:131 cmd/dashboard/controller/cron.go:189 #: cmd/dashboard/controller/cron.go:132 cmd/dashboard/controller/cron.go:190
#, c-format #, c-format
msgid "task id %d does not exist" msgid "task id %d does not exist"
msgstr "" msgstr ""
#: cmd/dashboard/controller/ddns.go:56 cmd/dashboard/controller/ddns.go:121 #: cmd/dashboard/controller/ddns.go:57 cmd/dashboard/controller/ddns.go:122
msgid "the retry count must be an integer between 1 and 10" msgid "the retry count must be an integer between 1 and 10"
msgstr "" msgstr ""
#: cmd/dashboard/controller/ddns.go:80 cmd/dashboard/controller/ddns.go:153 #: cmd/dashboard/controller/ddns.go:81 cmd/dashboard/controller/ddns.go:154
msgid "error parsing %s: %v" msgid "error parsing %s: %v"
msgstr "" msgstr ""
#: cmd/dashboard/controller/ddns.go:126 cmd/dashboard/controller/nat.go:116 #: cmd/dashboard/controller/ddns.go:127 cmd/dashboard/controller/nat.go:117
#, c-format #, c-format
msgid "profile id %d does not exist" msgid "profile id %d does not exist"
msgstr "" msgstr ""
@ -108,12 +109,12 @@ msgstr ""
msgid "server not found or not connected" msgid "server not found or not connected"
msgstr "" msgstr ""
#: cmd/dashboard/controller/notification.go:68 #: cmd/dashboard/controller/notification.go:69
#: cmd/dashboard/controller/notification.go:130 #: cmd/dashboard/controller/notification.go:131
msgid "a test message" msgid "a test message"
msgstr "" msgstr ""
#: cmd/dashboard/controller/notification.go:107 #: cmd/dashboard/controller/notification.go:108
#, c-format #, c-format
msgid "notification id %d does not exist" msgid "notification id %d does not exist"
msgstr "" msgstr ""
@ -129,7 +130,34 @@ msgstr ""
msgid "group id %d does not exist" msgid "group id %d does not exist"
msgstr "" msgstr ""
#: cmd/dashboard/controller/server.go:72 #: cmd/dashboard/controller/oauth2.go:42 cmd/dashboard/controller/oauth2.go:83
msgid "provider is required"
msgstr ""
#: cmd/dashboard/controller/oauth2.go:52 cmd/dashboard/controller/oauth2.go:87
#: cmd/dashboard/controller/oauth2.go:132
msgid "provider not found"
msgstr ""
#: cmd/dashboard/controller/oauth2.go:100
msgid "operation not permitted"
msgstr ""
#: cmd/dashboard/controller/oauth2.go:138
msgid "code is required"
msgstr ""
#: cmd/dashboard/controller/oauth2.go:174
msgid "oauth2 user not binded yet"
msgstr ""
#: cmd/dashboard/controller/oauth2.go:215
#: cmd/dashboard/controller/oauth2.go:221
#: cmd/dashboard/controller/oauth2.go:226
msgid "invalid state key"
msgstr ""
#: cmd/dashboard/controller/server.go:73
#, c-format #, c-format
msgid "server id %d does not exist" msgid "server id %d does not exist"
msgstr "" msgstr ""
@ -139,29 +167,37 @@ msgstr ""
msgid "have invalid server id" msgid "have invalid server id"
msgstr "" msgstr ""
#: cmd/dashboard/controller/service.go:88 #: cmd/dashboard/controller/service.go:89
#: cmd/dashboard/controller/service.go:164 #: cmd/dashboard/controller/service.go:165
msgid "server not found" msgid "server not found"
msgstr "" msgstr ""
#: cmd/dashboard/controller/service.go:268 #: cmd/dashboard/controller/service.go:269
#, c-format #, c-format
msgid "service id %d does not exist" msgid "service id %d does not exist"
msgstr "" msgstr ""
#: cmd/dashboard/controller/user.go:58 #: cmd/dashboard/controller/user.go:68
msgid "incorrect password" msgid "incorrect password"
msgstr "" msgstr ""
#: cmd/dashboard/controller/user.go:110 #: cmd/dashboard/controller/user.go:82
msgid "you don't have any oauth2 bindings"
msgstr ""
#: cmd/dashboard/controller/user.go:130
msgid "password length must be greater than 6" msgid "password length must be greater than 6"
msgstr "" msgstr ""
#: cmd/dashboard/controller/user.go:113 #: cmd/dashboard/controller/user.go:133
msgid "username can't be empty" msgid "username can't be empty"
msgstr "" msgstr ""
#: cmd/dashboard/controller/user.go:152 #: cmd/dashboard/controller/user.go:136
msgid "invalid role"
msgstr ""
#: cmd/dashboard/controller/user.go:175
msgid "can't delete yourself" msgid "can't delete yourself"
msgstr "" msgstr ""
@ -189,11 +225,11 @@ msgstr ""
msgid "IP Changed" msgid "IP Changed"
msgstr "" msgstr ""
#: service/singleton/alertsentinel.go:167 #: service/singleton/alertsentinel.go:170
msgid "Incident" msgid "Incident"
msgstr "" msgstr ""
#: service/singleton/alertsentinel.go:177 #: service/singleton/alertsentinel.go:180
msgid "Resolved" msgid "Resolved"
msgstr "" msgstr ""
@ -259,6 +295,6 @@ msgstr ""
msgid "Down" msgid "Down"
msgstr "" msgstr ""
#: service/singleton/user.go:53 #: service/singleton/user.go:60
msgid "user id not specified" msgid "user id not specified"
msgstr "" msgstr ""