From ef5b67b8936c58e01940adb0a1d7cb0d0837d97a Mon Sep 17 00:00:00 2001 From: yokowu <18836617@qq.com> Date: Wed, 30 Jul 2025 14:37:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=20en=20locale=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/errcode/locale.en.toml | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 backend/errcode/locale.en.toml diff --git a/backend/errcode/locale.en.toml b/backend/errcode/locale.en.toml new file mode 100644 index 0000000..a4399b2 --- /dev/null +++ b/backend/errcode/locale.en.toml @@ -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" \ No newline at end of file