New Crowdin updates (#1033)
This commit is contained in:
parent
623fb4e0f6
commit
a7e4718f9f
7 changed files with 13 additions and 9 deletions
|
@ -20,7 +20,7 @@
|
|||
"error.message.report": "The following error occurred while executing \"${module}\": ",
|
||||
"error.message.timeout": "An error occurred: Message sending timed out. Please retry the command later or wait for the result to be returned.",
|
||||
"error.module.helpdoc.invalid": "\"${module}\" module provided invalid help information. Please contact the developers to solve this issue.",
|
||||
"error.module.unbound": "\"${module}\" module is unbound with any commands and doesn't have the description. Pease contact the developers to solve this issue.",
|
||||
"error.module.unbound": "\"${module}\" module is unbound with any commands and doesn't have the description. Please contact the developers to solve this issue.",
|
||||
"error.module.unloaded": "\"${module}\" module failed to load. Please contact the developers to resolve this issue.",
|
||||
"error.prompt": "An error occurred: ${error_msg}\nReport this issue: ",
|
||||
"error.prompt.noreport": "An error occurred while executing the command:\n${err_msg}\nThis error is not caused by the bot (e.g. the API request went wrong) and thus should not be reported to developers.",
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"core.help.module.help.detail": "View details of a module.",
|
||||
"core.help.module.help.legacy": "View help list. (Legacy)",
|
||||
"core.help.module.list": "View all available modules.",
|
||||
"core.help.module.list.legacy": "View all available modules. (Legacy)",
|
||||
"core.help.mute": "Make the bot stop sending message.",
|
||||
"core.help.option.module.g": "Perform global operations of the channels.",
|
||||
"core.help.petal": "Get the number of petals in the current group.",
|
||||
|
@ -43,7 +44,7 @@
|
|||
"core.message.admin.ban.already": "This member has been banned from using bot.",
|
||||
"core.message.admin.ban.not_yet": "This member has not been banned from using bot.",
|
||||
"core.message.admin.ban.self": "You cannot do this for yourself!",
|
||||
"core.message.superuser.invalid": "Invalid ID format. The format should be \"${target}|<User ID>\".",
|
||||
"core.message.admin.invalid": "Invalid ID format. The format should be \"${target}|<User ID>\". Use \"${prefix}whoami\" to view user ID.",
|
||||
"core.message.admin.list": "Bot administrators manually set in the current group: ",
|
||||
"core.message.admin.list.none": "There are currently no manual bot administrators.",
|
||||
"core.message.admin.remove.success": "Success: Removed ${user} from bot administrator.",
|
||||
|
@ -147,7 +148,7 @@
|
|||
"core.message.set.help.option.success": "The following parameters were set for the object: ${k} -> ${v}",
|
||||
"core.message.set.invalid": "Invalid ID format.",
|
||||
"core.message.set.module.success": "The following modules were successfully configured for the object: ",
|
||||
"core.message.admin.invalid": "Invalid ID format. Use \"${prefix}whoami\" to view user ID.",
|
||||
"core.message.superuser.invalid": "Invalid ID format. The format should be \"${target}|<User ID>\".",
|
||||
"core.message.toggle.check.disable": "Check prompt disabled.",
|
||||
"core.message.toggle.check.enable": "Check prompt enabled.",
|
||||
"core.message.toggle.typing.disable": "Input prompt disabled.",
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"core.help.module.help.detail": "查看一个模块的详细信息。",
|
||||
"core.help.module.help.legacy": "查看帮助列表。(旧版)",
|
||||
"core.help.module.list": "查看所有可用模块。",
|
||||
"core.help.module.list.legacy": "查看所有可用模块。(旧版)",
|
||||
"core.help.mute": "使机器人停止发言。",
|
||||
"core.help.option.module.g": "对频道进行全局操作。",
|
||||
"core.help.petal": "获取当前群组的花瓣数。",
|
||||
|
@ -43,7 +44,7 @@
|
|||
"core.message.admin.ban.already": "此成员已被设置禁止使用机器人。",
|
||||
"core.message.admin.ban.not_yet": "此成员没有被设置禁止使用机器人。",
|
||||
"core.message.admin.ban.self": "你不可以对自己进行此操作!",
|
||||
"core.message.superuser.invalid": "ID 格式错误,格式应为“${target}|<用户 ID>”。",
|
||||
"core.message.admin.invalid": "ID 格式错误,格式应为“${target}|<用户 ID>”,请使用“${prefix}whoami”查看用户 ID。",
|
||||
"core.message.admin.list": "当前在群内手动设置的机器人管理员:\n",
|
||||
"core.message.admin.list.none": "当前没有手动设置的机器人管理员。",
|
||||
"core.message.admin.remove.success": "成功:已将 ${user} 移出机器人管理员。",
|
||||
|
@ -147,7 +148,7 @@
|
|||
"core.message.set.help.option.success": "成功为对象设置了以下参数:${k} -> ${v}",
|
||||
"core.message.set.invalid": "ID 格式错误。",
|
||||
"core.message.set.module.success": "成功为对象配置了以下模块:",
|
||||
"core.message.admin.invalid": "ID 格式错误,请使用“${prefix}whoami”查看用户 ID。",
|
||||
"core.message.superuser.invalid": "ID 格式错误,格式应为“${target}|<用户 ID>”。",
|
||||
"core.message.toggle.check.disable": "已关闭错字检查提示。",
|
||||
"core.message.toggle.check.enable": "已开启错字检查提示。",
|
||||
"core.message.toggle.typing.disable": "已关闭输入提示。",
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"core.help.module.help.detail": "檢視一個模組的詳細資訊。",
|
||||
"core.help.module.help.legacy": "檢視說明列表。(舊版)",
|
||||
"core.help.module.list": "檢視所有可用模組。",
|
||||
"core.help.module.list.legacy": "檢視所有可用模組。(舊版)",
|
||||
"core.help.mute": "使機器人停止發言。",
|
||||
"core.help.option.module.g": "對頻道進行全域操作。",
|
||||
"core.help.petal": "取得目前群組的花瓣數。",
|
||||
|
@ -43,7 +44,7 @@
|
|||
"core.message.admin.ban.already": "此成員已被禁止使用機器人。",
|
||||
"core.message.admin.ban.not_yet": "此成員沒有被禁止使用機器人。",
|
||||
"core.message.admin.ban.self": "你不可以對自己進行此操作!",
|
||||
"core.message.superuser.invalid": "ID 格式錯誤,格式應為「${target}|<使用者 ID>」。",
|
||||
"core.message.admin.invalid": "ID 格式錯誤,格式應為「${target}|<使用者 ID>」,請使用「${prefix}whoami」指令檢視使用者 ID。",
|
||||
"core.message.admin.list": "目前在群組內手動設定的機器人管理員:\n",
|
||||
"core.message.admin.list.none": "目前沒有手動設定的機器人管理員。",
|
||||
"core.message.admin.remove.success": "成功:已將 ${user} 移出機器人管理員。",
|
||||
|
@ -147,7 +148,7 @@
|
|||
"core.message.set.help.option.success": "成功為物件設定了以下參數:${k} -> ${v}",
|
||||
"core.message.set.invalid": "ID 格式錯誤。",
|
||||
"core.message.set.module.success": "成功為物件配置了以下模組:",
|
||||
"core.message.admin.invalid": "ID 格式錯誤,請使用「${prefix}whoami」指令檢視使用者 ID。",
|
||||
"core.message.superuser.invalid": "ID 格式錯誤,格式應為「${target}|<使用者 ID>」",
|
||||
"core.message.toggle.check.disable": "已停用指令錯誤檢查提醒。",
|
||||
"core.message.toggle.check.enable": "已啟用指令錯誤檢查提醒。",
|
||||
"core.message.toggle.typing.disable": "已停用輸入提醒。",
|
||||
|
|
|
@ -90,7 +90,7 @@ async def config_gu(msg: Bot.MessageSession):
|
|||
await msg.finish(msg.locale.t("core.message.admin.list.none"))
|
||||
user = msg.parsed_msg['<UserID>']
|
||||
if not user.startswith(f'{msg.target.sender_from}|'):
|
||||
await msg.finish(msg.locale.t('core.message.admin.invalid', prefix=msg.prefixes[0]))
|
||||
await msg.finish(msg.locale.t('core.message.admin.invalid', target=msg.target.sender_from, prefix=msg.prefixes[0]))
|
||||
if 'add' in msg.parsed_msg:
|
||||
if user and user not in msg.custom_admins:
|
||||
if msg.data.add_custom_admin(user):
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"maimai.message.random.error": "發生錯誤:無法隨機歌曲,請校對輸入。",
|
||||
"maimai.message.rank": "截至 ${time},\n查分器共有 ${total_rank} 名使用者,平均分數為 ${average_rating},\n${user} 的分數為 ${rating},排名為 #${rank},\n已經超越了 ${surpassing_rate}% 的玩家。",
|
||||
"maimai.message.scoreline": "分數線 ${scoreline}% 允許的最多 TAP GREAT 數量為 ${tap_great}(每個-${tap_great_prop}%),\nBREAK 2550(一共 ${brk} 個)相當於 ${b2t_2550_great} 個 TAP GREAT(-${b2t_2550_great_prop}%),\nBREAK 2000(一共 ${brk} 個)相當於 ${b2t_2000_great} 個 TAP GREAT(-${b2t_2000_great_prop}%)",
|
||||
"maimai.message.scoreline.error": "發生錯誤:計算結果失敗,請校對輸入。",
|
||||
"maimai.message.scoreline.error": "發生錯誤:無法計算結果,請校對輸入。",
|
||||
"maimai.message.scorelist": "以下為 ${user} 的 ${level} 級分數列表:",
|
||||
"maimai.message.search": "「${keyword}」的搜尋結果:",
|
||||
"maimai.message.song": "藝術家:${artist}\n分類:${genre}\nBPM:${bpm}\n版本:${version}\n難度:${level}",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"ncmusic.help.search": "搜索网易云音乐。",
|
||||
"ncmusic.help.search.legacy": "搜索网易云音乐。(旧版)",
|
||||
"ncmusic.help.info": "获取音乐详细信息。",
|
||||
"ncmusic.message.info": "歌名:${name}(${id})\n专辑名:${album}(${album_id})\n歌手:${artists}\n歌曲详情页:${detail}",
|
||||
"ncmusic.message.search.collapse": "…仅显示前 10 条内容。",
|
||||
|
|
Reference in a new issue