From 5a48e11ebbd99861c0005b1073ef3713fe17d201 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 6 Aug 2026 16:43:22 +0800 Subject: [PATCH] feat: update localization for chat user quota settings and related messages --- apps/locales/en_US/LC_MESSAGES/django.po | 36 +++++++++++++++++++ apps/locales/zh_CN/LC_MESSAGES/django.po | 42 +++++++++++++++++++++- apps/locales/zh_Hant/LC_MESSAGES/django.po | 39 +++++++++++++++++++- 3 files changed, 115 insertions(+), 2 deletions(-) diff --git a/apps/locales/en_US/LC_MESSAGES/django.po b/apps/locales/en_US/LC_MESSAGES/django.po index 33e7eae1e17..ac4e37dee23 100644 --- a/apps/locales/en_US/LC_MESSAGES/django.po +++ b/apps/locales/en_US/LC_MESSAGES/django.po @@ -9555,3 +9555,39 @@ msgstr "" msgid "Quota Setting" msgstr "Quota Setting" + +#: apps/xpack/serializers/chat_user.py:746 +msgid "Quota mode" +msgstr "Quota mode" + +#: apps/xpack/serializers/chat_user.py:750 +msgid "Period unit" +msgstr "Period unit" + +#: apps/xpack/serializers/chat_user.py:754 +msgid "Period quantity" +msgstr "Period quantity" + +#: apps/xpack/serializers/chat_user.py:758 +msgid "Token limit (K)" +msgstr "Token limit (K)" + +#: apps/xpack/serializers/chat_user.py:765 +msgid "Period unit is required for periodic quota" +msgstr "Period unit is required for periodic quota" + +#: apps/xpack/serializers/chat_user.py:767 +msgid "Period quantity is required for periodic quota" +msgstr "Period quantity is required for periodic quota" + +#: apps/xpack/serializers/chat_user.py:769 +msgid "Token limit is required for periodic quota" +msgstr "Token limit is required for periodic quota" + +#: apps/xpack/views/system_chat_user.py:73 +msgid "Get chat user quota" +msgstr "Get chat user quota" + +#: apps/xpack/views/system_chat_user.py:82 +msgid "Set chat user quota" +msgstr "Set chat user quota" diff --git a/apps/locales/zh_CN/LC_MESSAGES/django.po b/apps/locales/zh_CN/LC_MESSAGES/django.po index 6ec6687da73..6d55bb78cb5 100644 --- a/apps/locales/zh_CN/LC_MESSAGES/django.po +++ b/apps/locales/zh_CN/LC_MESSAGES/django.po @@ -9693,4 +9693,44 @@ msgid "Delete chat user API key" msgstr "删除对话用户 API 密钥" msgid "Quota Setting" -msgstr "配额设置" \ No newline at end of file +msgstr "配额设置" + +#: apps/xpack/serializers/chat_user.py:746 +msgid "Quota mode" +msgstr "配额模式" + +#: apps/xpack/serializers/chat_user.py:750 +msgid "Period unit" +msgstr "周期单位" + +#: apps/xpack/serializers/chat_user.py:754 +msgid "Period quantity" +msgstr "周期数量" + +#: apps/xpack/serializers/chat_user.py:758 +msgid "Token limit (K)" +msgstr "Tokens 上限(K)" + +#: apps/xpack/serializers/chat_user.py:765 +msgid "Period unit is required for periodic quota" +msgstr "按周期限制时,周期单位不能为空" + +#: apps/xpack/serializers/chat_user.py:767 +msgid "Period quantity is required for periodic quota" +msgstr "按周期限制时,周期数量不能为空" + +#: apps/xpack/serializers/chat_user.py:769 +msgid "Token limit is required for periodic quota" +msgstr "按周期限制时,Tokens 上限不能为空" + +#: apps/xpack/views/system_chat_user.py:73 +msgid "Get chat user quota" +msgstr "获取对话用户配额" + +#: apps/xpack/views/system_chat_user.py:82 +msgid "Set chat user quota" +msgstr "设置对话用户配额" + +#: apps/xpack/views/system_chat_user.py:101 +msgid "Batch set chat user quota" +msgstr "批量设置对话用户配额" \ No newline at end of file diff --git a/apps/locales/zh_Hant/LC_MESSAGES/django.po b/apps/locales/zh_Hant/LC_MESSAGES/django.po index 7df59273e25..bbce67af6d3 100644 --- a/apps/locales/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locales/zh_Hant/LC_MESSAGES/django.po @@ -9692,4 +9692,41 @@ msgid "Delete chat user API key" msgstr "刪除對話用戶 API 密鑰" msgid "Quota Setting" -msgstr "配額設置" \ No newline at end of file +msgstr "配額設置" + + +#: apps/xpack/serializers/chat_user.py:746 +msgid "Quota mode" +msgstr "配額模式" + +#: apps/xpack/serializers/chat_user.py:750 +msgid "Period unit" +msgstr "週期單位" + +#: apps/xpack/serializers/chat_user.py:754 +msgid "Period quantity" +msgstr "週期數量" + +#: apps/xpack/serializers/chat_user.py:758 +msgid "Token limit (K)" +msgstr "Tokens 上限(K)" + +#: apps/xpack/serializers/chat_user.py:765 +msgid "Period unit is required for periodic quota" +msgstr "按週期限制時,週期單位不能為空" + +#: apps/xpack/serializers/chat_user.py:767 +msgid "Period quantity is required for periodic quota" +msgstr "按週期限制時,週期數量不能為空" + +#: apps/xpack/serializers/chat_user.py:769 +msgid "Token limit is required for periodic quota" +msgstr "按週期限制時,Tokens 上限不能為空" + +#: apps/xpack/views/system_chat_user.py:73 +msgid "Get chat user quota" +msgstr "獲取對話用戶配額" + +#: apps/xpack/views/system_chat_user.py:82 +msgid "Set chat user quota" +msgstr "設置對話用戶配額" \ No newline at end of file