mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-16 06:33:42 +08:00
feat: initial official i18n support for backend
This commit is contained in:
11
common/i18n/locales/en.json
Normal file
11
common/i18n/locales/en.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"success": "Success",
|
||||
"unauthorized": "Unauthorized",
|
||||
"forbidden": "Forbidden",
|
||||
"invalid_token": "Invalid token",
|
||||
"channel_not_found": "Channel not found",
|
||||
"invalid_request": "Invalid request",
|
||||
"internal_error": "Internal server error",
|
||||
"quota_exceeded": "Quota exceeded",
|
||||
"invalid_input": "Invalid input, please check your input"
|
||||
}
|
11
common/i18n/locales/zh-CN.json
Normal file
11
common/i18n/locales/zh-CN.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"success": "成功",
|
||||
"unauthorized": "未授权",
|
||||
"forbidden": "禁止访问",
|
||||
"invalid_token": "无效的令牌",
|
||||
"channel_not_found": "未找到渠道",
|
||||
"invalid_request": "无效的请求",
|
||||
"internal_error": "服务器内部错误",
|
||||
"quota_exceeded": "配额已用尽",
|
||||
"invalid_input": "无效的输入,请检查您的输入"
|
||||
}
|
Reference in New Issue
Block a user