mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-04 15:53:36 +08:00
Merge pull request #181 from yokowu/chore-depend
chore: 更新依赖,增加 locale 文件
This commit is contained in:
35
backend/errcode/locale.en.toml
Normal file
35
backend/errcode/locale.en.toml
Normal file
@@ -0,0 +1,35 @@
|
||||
[err-permission]
|
||||
other = "Permission denied"
|
||||
|
||||
[err-user-not-found]
|
||||
other = "User not found"
|
||||
|
||||
[err-user-lock]
|
||||
other = "User is locked"
|
||||
|
||||
[err-password]
|
||||
other = "Incorrect password"
|
||||
|
||||
[err-invite-code-invalid]
|
||||
other = "Invalid invitation code"
|
||||
|
||||
[err-email-invalid]
|
||||
other = "Invalid email format"
|
||||
|
||||
[err-oauth-state-invalid]
|
||||
other = "Invalid OAuth state"
|
||||
|
||||
[err-unsupported-platform]
|
||||
other = "Unsupported platform"
|
||||
|
||||
[err-not-invited]
|
||||
other = "Not invited"
|
||||
|
||||
[err-dingtalk-not-enabled]
|
||||
other = "DingTalk is not enabled"
|
||||
|
||||
[err-custom-not-enabled]
|
||||
other = "OAuth is not enabled"
|
||||
|
||||
[err-user-limit]
|
||||
other = "User limit reached"
|
||||
@@ -4,7 +4,7 @@ go 1.23.7
|
||||
|
||||
require (
|
||||
entgo.io/ent v0.14.4
|
||||
github.com/GoYoko/web v1.1.0
|
||||
github.com/GoYoko/web v1.3.0
|
||||
github.com/cloudwego/eino v0.3.51
|
||||
github.com/cloudwego/eino-ext/components/model/openai v0.0.0-20250710065240-482d48888f25
|
||||
github.com/doquangtan/socket.io/v4 v4.0.8
|
||||
|
||||
@@ -8,8 +8,8 @@ github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg
|
||||
github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
|
||||
github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=
|
||||
github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
|
||||
github.com/GoYoko/web v1.1.0 h1:nIbtol5z0Y03d0nHsvGjv+W0fgmFRGUL8fzPN3kmrOY=
|
||||
github.com/GoYoko/web v1.1.0/go.mod h1:DL9/gvuUG2jcBE1XUIY+9QBrrhdshzPEdxMCzR9jUHo=
|
||||
github.com/GoYoko/web v1.3.0 h1:f59n1xkyEUjy/wF0ilX86oJWpyQrJJQQzGkRIve1YJw=
|
||||
github.com/GoYoko/web v1.3.0/go.mod h1:DL9/gvuUG2jcBE1XUIY+9QBrrhdshzPEdxMCzR9jUHo=
|
||||
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
|
||||
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
|
||||
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
|
||||
|
||||
Reference in New Issue
Block a user