feat: sync deployed v1.0.0-rc.38-custom.42
Sync production source including routing, billing, Astra detection and public uptime. Update custom build instructions and license packaging.
This commit is contained in:
1 parent
aa6c3f50f4
commit
ceddfd3d6b
828 files changed
+122253
-13702
No files matched your search
+11
-5
@@ -1,5 +1,7 @@
|
||||
package i18n
|
||||
|
||||
const MsgTaskPluginUnknownMetaField = "task_plugin.unknown_meta_field"
|
||||
|
||||
// Message keys for i18n translations
|
||||
// Use these constants instead of hardcoded strings
|
||||
|
||||
@@ -219,11 +221,14 @@ const (
|
||||
|
||||
// Passkey related messages
|
||||
const (
|
||||
MsgPasskeyCreateFailed = "passkey.create_failed"
|
||||
MsgPasskeyLoginAbnormal = "passkey.login_abnormal"
|
||||
MsgPasskeyUpdateFailed = "passkey.update_failed"
|
||||
MsgPasskeyInvalidUserId = "passkey.invalid_user_id"
|
||||
MsgPasskeyVerifyFailed = "passkey.verify_failed"
|
||||
MsgPasskeyCreateFailed = "passkey.create_failed"
|
||||
MsgPasskeyLoginAbnormal = "passkey.login_abnormal"
|
||||
MsgPasskeyUpdateFailed = "passkey.update_failed"
|
||||
MsgPasskeyInvalidUserId = "passkey.invalid_user_id"
|
||||
MsgPasskeyVerifyFailed = "passkey.verify_failed"
|
||||
MsgPasskeyRPIDInvalid = "passkey.rp_id_invalid"
|
||||
MsgPasskeyRPIDUnavailable = "passkey.rp_id_unavailable"
|
||||
MsgPasskeyRPIDRemovalConfirmation = "passkey.rp_id_removal_confirmation"
|
||||
)
|
||||
|
||||
// 2FA related messages
|
||||
@@ -295,6 +300,7 @@ const (
|
||||
MsgOAuthUserBanned = "oauth.user_banned"
|
||||
MsgOAuthBindSuccess = "oauth.bind_success"
|
||||
MsgOAuthAlreadyBound = "oauth.already_bound"
|
||||
MsgOAuthNotAutoLinked = "oauth.not_auto_linked"
|
||||
MsgOAuthConnectFailed = "oauth.connect_failed"
|
||||
MsgOAuthTokenFailed = "oauth.token_failed"
|
||||
MsgOAuthUserInfoEmpty = "oauth.user_info_empty"
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# English translations
|
||||
|
||||
# Task plugin messages
|
||||
task_plugin.unknown_meta_field: 'Plugin metadata contains an unknown field "{{.Field}}". If this plugin was downloaded from the official marketplace, it may require a newer version of new-api. Try updating new-api and installing the plugin again.'
|
||||
|
||||
# Common messages
|
||||
common.invalid_params: "Invalid parameters"
|
||||
common.database_error: "Database error, please contact the administrator"
|
||||
@@ -192,6 +195,9 @@ passkey.login_abnormal: "Passkey login status is abnormal"
|
||||
passkey.update_failed: "Passkey credential update failed"
|
||||
passkey.invalid_user_id: "Invalid user ID"
|
||||
passkey.verify_failed: "Passkey verification failed, please try again or contact administrator"
|
||||
passkey.rp_id_invalid: "Invalid Passkey domain. Enter a domain without a scheme, port, path or wildcard."
|
||||
passkey.rp_id_unavailable: "This Passkey domain is not available on this website. Use its original website or another verification method."
|
||||
passkey.rp_id_removal_confirmation: "Review the affected Passkeys and confirm the domain removal. If the settings or impact have changed, confirmation is required again."
|
||||
|
||||
# 2FA messages
|
||||
twofa.not_enabled: "User has not enabled 2FA"
|
||||
@@ -249,6 +255,7 @@ oauth.user_deleted: "User has been deleted"
|
||||
oauth.user_banned: "User has been banned"
|
||||
oauth.bind_success: "Binding successful"
|
||||
oauth.already_bound: "This {{.Provider}} account has already been bound"
|
||||
oauth.not_auto_linked: "This {{.Provider}} account cannot be linked to an existing account automatically, please sign in or register another way and then link {{.Provider}} in account settings"
|
||||
oauth.connect_failed: "Unable to connect to {{.Provider}} server, please try again later"
|
||||
oauth.token_failed: "Failed to get token from {{.Provider}}, please check settings"
|
||||
oauth.user_info_empty: "{{.Provider}} returned empty user info, please check settings"
|
||||
@@ -272,7 +279,7 @@ distributor.invalid_playground_request: "Invalid playground request: {{.Error}}"
|
||||
distributor.group_access_denied: "No permission to access this group"
|
||||
distributor.get_channel_failed: "Failed to get available channel for model {{.Model}} under group {{.Group}} (distributor): {{.Error}}"
|
||||
distributor.no_available_channel: "No available channel for model {{.Model}} under group {{.Group}} (distributor)"
|
||||
distributor.no_available_channel_task_plugin: "No available channel for model {{.Model}} under group {{.Group}}: the model is claimed by task plugin \"{{.Plugin}}\", which has no enabled channel serving it. To let another plugin or channel serve this model, disable or override plugin \"{{.Plugin}}\" in the task plugin console (distributor)"
|
||||
distributor.no_available_channel_task_plugin: "No available channel for model {{.Model}} under group {{.Group}}: the model is claimed by a task plugin, which has no enabled channel serving it (distributor)"
|
||||
distributor.invalid_midjourney_request: "Invalid Midjourney request: {{.Error}}"
|
||||
distributor.invalid_request_parse_model: "Invalid request, unable to parse model"
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# Chinese (Simplified) translations
|
||||
# 中文(简体)翻译文件
|
||||
|
||||
# Task plugin messages
|
||||
task_plugin.unknown_meta_field: '插件元数据包含未知字段“{{.Field}}”。如果插件来自官方市场,可能需要更高版本的 new-api。请尝试更新 new-api 后重新安装插件。'
|
||||
|
||||
# Common messages
|
||||
common.invalid_params: "无效的参数"
|
||||
common.database_error: "数据库出错,请联系管理员"
|
||||
@@ -193,6 +196,9 @@ passkey.login_abnormal: "Passkey 登录状态异常"
|
||||
passkey.update_failed: "Passkey 凭证更新失败"
|
||||
passkey.invalid_user_id: "无效的用户 ID"
|
||||
passkey.verify_failed: "Passkey 验证失败,请重试或联系管理员"
|
||||
passkey.rp_id_invalid: "通行密钥域名无效。请填写域名,不包含协议、端口、路径或通配符。"
|
||||
passkey.rp_id_unavailable: "此通行密钥域名无法在当前网站使用。请前往原网站或选择其他验证方式。"
|
||||
passkey.rp_id_removal_confirmation: "请核对受影响的通行密钥并确认删除域名。配置或影响范围发生变化后,需要重新确认。"
|
||||
|
||||
# 2FA messages
|
||||
twofa.not_enabled: "用户未启用2FA"
|
||||
@@ -250,6 +256,7 @@ oauth.user_deleted: "用户已注销"
|
||||
oauth.user_banned: "用户已被封禁"
|
||||
oauth.bind_success: "绑定成功"
|
||||
oauth.already_bound: "该 {{.Provider}} 账户已被绑定"
|
||||
oauth.not_auto_linked: "无法自动将该 {{.Provider}} 账户关联到现有账户,请使用其他方式登录或注册后,在账户设置中绑定 {{.Provider}}"
|
||||
oauth.connect_failed: "无法连接至 {{.Provider}} 服务器,请稍后重试"
|
||||
oauth.token_failed: "{{.Provider}} 获取 Token 失败,请检查设置"
|
||||
oauth.user_info_empty: "{{.Provider}} 获取用户信息为空,请检查设置"
|
||||
@@ -273,7 +280,7 @@ distributor.invalid_playground_request: "无效的playground请求,{{.Error}}"
|
||||
distributor.group_access_denied: "无权访问该分组"
|
||||
distributor.get_channel_failed: "获取分组 {{.Group}} 下模型 {{.Model}} 的可用渠道失败(distributor):{{.Error}}"
|
||||
distributor.no_available_channel: "分组 {{.Group}} 下模型 {{.Model}} 无可用渠道(distributor)"
|
||||
distributor.no_available_channel_task_plugin: "分组 {{.Group}} 下模型 {{.Model}} 无可用渠道:该模型由任务插件「{{.Plugin}}」认领,但该插件当前没有启用的渠道可服务此模型。若要让其他插件或渠道服务该模型,请在任务插件管理中禁用或覆盖插件「{{.Plugin}}」(distributor)"
|
||||
distributor.no_available_channel_task_plugin: "分组 {{.Group}} 下模型 {{.Model}} 无可用渠道:该模型由任务插件认领,但当前没有启用的渠道可服务此模型(distributor)"
|
||||
distributor.invalid_midjourney_request: "无效的midjourney请求,{{.Error}}"
|
||||
distributor.invalid_request_parse_model: "无效的请求,无法解析模型"
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# Chinese (Traditional) translations
|
||||
# 中文(繁體)翻譯檔案
|
||||
|
||||
# Task plugin messages
|
||||
task_plugin.unknown_meta_field: '外掛中繼資料包含未知欄位「{{.Field}}」。如果外掛來自官方市集,可能需要較新版本的 new-api。請嘗試更新 new-api 後重新安裝外掛。'
|
||||
|
||||
# Common messages
|
||||
common.invalid_params: "無效的參數"
|
||||
common.database_error: "資料庫出錯,請聯繫管理員"
|
||||
@@ -193,6 +196,9 @@ passkey.login_abnormal: "Passkey 登錄狀態異常"
|
||||
passkey.update_failed: "Passkey 憑證更新失敗"
|
||||
passkey.invalid_user_id: "無效的使用者 ID"
|
||||
passkey.verify_failed: "Passkey 驗證失敗,請重試或聯繫管理員"
|
||||
passkey.rp_id_invalid: "通行金鑰網域無效。請填寫網域,不包含通訊協定、連接埠、路徑或萬用字元。"
|
||||
passkey.rp_id_unavailable: "此通行金鑰網域無法在目前網站使用。請前往原網站或選擇其他驗證方式。"
|
||||
passkey.rp_id_removal_confirmation: "請核對受影響的通行金鑰並確認刪除網域。設定或影響範圍變更後,需要重新確認。"
|
||||
|
||||
# 2FA messages
|
||||
twofa.not_enabled: "使用者未啟用2FA"
|
||||
@@ -250,6 +256,7 @@ oauth.user_deleted: "使用者已註銷"
|
||||
oauth.user_banned: "使用者已被封禁"
|
||||
oauth.bind_success: "綁定成功"
|
||||
oauth.already_bound: "該 {{.Provider}} 帳號已被綁定"
|
||||
oauth.not_auto_linked: "無法自動將該 {{.Provider}} 帳號關聯到現有帳號,請使用其他方式登入或註冊後,在帳號設定中綁定 {{.Provider}}"
|
||||
oauth.connect_failed: "無法連接至 {{.Provider}} 伺服器,請稍後重試"
|
||||
oauth.token_failed: "{{.Provider}} 獲取 Token 失敗,請檢查設定"
|
||||
oauth.user_info_empty: "{{.Provider}} 獲取使用者資訊為空,請檢查設定"
|
||||
@@ -273,7 +280,7 @@ distributor.invalid_playground_request: "無效的playground請求,{{.Error}}"
|
||||
distributor.group_access_denied: "無權存取該分組"
|
||||
distributor.get_channel_failed: "獲取分組 {{.Group}} 下模型 {{.Model}} 的可用管道失敗(distributor):{{.Error}}"
|
||||
distributor.no_available_channel: "分組 {{.Group}} 下模型 {{.Model}} 無可用管道(distributor)"
|
||||
distributor.no_available_channel_task_plugin: "分組 {{.Group}} 下模型 {{.Model}} 無可用管道:該模型由任務插件「{{.Plugin}}」認領,但該插件目前沒有啟用的管道可服務此模型。若要讓其他插件或管道服務該模型,請在任務插件管理中停用或覆蓋插件「{{.Plugin}}」(distributor)"
|
||||
distributor.no_available_channel_task_plugin: "分組 {{.Group}} 下模型 {{.Model}} 無可用管道:該模型由任務插件認領,但目前沒有啟用的管道可服務此模型(distributor)"
|
||||
distributor.invalid_midjourney_request: "無效的midjourney請求,{{.Error}}"
|
||||
distributor.invalid_request_parse_model: "無效的請求,無法解析模型"
|
||||
|
||||
|
||||
Reference in new issue
Block a user