Skip to content

Commit

Permalink
locale
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf committed Jul 26, 2024
1 parent 681e6b9 commit 38f6494
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion locales/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"error.prompt.address": "錯誤回報網址:${url}",
"error.prompt.noreport": "執行指令時發生錯誤:\n${detail}\n此問題並非機器人程式錯誤(API 請求錯誤等),請勿將此訊息回報給機器人開發人員。",
"error.prompt.report": "執行指令時發生錯誤:\n${detail}\n請將此訊息回報給機器人開發人員。",
"error.prompt.timeout": "執行指令時發生錯誤:\n${detail}\n此問題可能因機器人未及時處理訊息導致,若反覆發生,請將此訊息回報給機器人開發人員。",
"error.prompt.timeout": "執行指令時發生錯誤:\n${detail}\n此問題可能因機器人未及時處理訊息導致,若重複發生,請將此訊息回報給機器人開發人員。",
"example": "你好世界!",
"failed": "失敗。",
"game.help.stop": "停止目前的遊戲。",
Expand Down
2 changes: 1 addition & 1 deletion modules/maimai/libraries/maimaidx_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def key_process(input_key, conv_dict):
grade_key, grade = key_process(grade, grade_conversion)

if not grade_key:
await msg.finish(msg.locale.t('maimai.message.grade.grade_not_found'))
await msg.finish(msg.locale.t('maimai.message.grade_invalid'))
elif grade_key.startswith('tgrade'):
grade_type = 'tgrade'
elif grade_key.startswith('grade'):
Expand Down
2 changes: 1 addition & 1 deletion modules/maimai/locales/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"maimai.message.forbidden.eula": "无法获取数据,请前往查分器并同意用户协议。\n查分器地址:https://www.diving-fish.com/maimaidx/prober",
"maimai.message.goal_invalid": "无效的目标评级,请检查输入。",
"maimai.message.grade": "以下为 ${grade} 段位认定列表:\n${content}\n生命上限:${life}\n${condition}",
"maimai.message.grade.grade_not_found": "无效的段位,请检查输入。",
"maimai.message.grade_invalid": "无效的段位,请检查输入。",
"maimai.message.id_invalid": "无效的歌曲 ID,请检查输入。",
"maimai.message.info.no_record": "未游玩过此谱面",
"maimai.message.info.prompt": "请使用“${prefix}maimai info <ID>”查询对应结果。",
Expand Down
2 changes: 1 addition & 1 deletion modules/maimai/locales/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"maimai.message.forbidden.eula": "无法获取数据,请前往查分器并同意用户协议。\n查分器地址:https://www.diving-fish.com/maimaidx/prober",
"maimai.message.goal_invalid": "无效的目标评级,请检查输入。",
"maimai.message.grade": "以下为“${grade}”段位认定列表:\n${content}\n生命上限:${life}\n${condition}",
"maimai.message.grade.grade_not_found": "无效的段位,请检查输入。",
"maimai.message.grade_invalid": "无效的段位,请检查输入。",
"maimai.message.id_invalid": "无效的歌曲 ID,请检查输入。",
"maimai.message.info.no_record": "未游玩过此谱面",
"maimai.message.info.prompt": "请使用“${prefix}maimai info <ID>”查询对应结果。",
Expand Down
2 changes: 1 addition & 1 deletion modules/maimai/locales/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"maimai.message.forbidden.eula": "無法取得資訊,請前往查分器並同意使用者協議。\n查分器網址:https://www.diving-fish.com/maimaidx/prober",
"maimai.message.goal_invalid": "無效的目標評級,請校對輸入。",
"maimai.message.grade": "以下為「${grade}」段位認定列表:\n${content}\n生命上限:${life}\n${condition}",
"maimai.message.grade.grade_not_found": "無效的段位,請校對輸入。",
"maimai.message.grade_invalid": "無效的段位,請校對輸入。",
"maimai.message.id_invalid": "無效的歌曲 ID,請校對輸入。",
"maimai.message.info.no_record": "未遊玩過此譜面",
"maimai.message.info.prompt": "請使用「${prefix}maimai info <ID>」查詢對應結果。",
Expand Down

0 comments on commit 38f6494

Please sign in to comment.