mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
Some checks are pending
Code Coverage / Test (macos-latest, 3.10) (push) Waiting to run
Code Coverage / Test (macos-latest, 3.11) (push) Waiting to run
Code Coverage / Test (macos-latest, 3.12) (push) Waiting to run
Code Coverage / Test (ubuntu-latest, 3.10) (push) Waiting to run
Code Coverage / Test (ubuntu-latest, 3.11) (push) Waiting to run
Code Coverage / Test (ubuntu-latest, 3.12) (push) Waiting to run
Code Coverage / Test (windows-latest, 3.10) (push) Waiting to run
Code Coverage / Test (windows-latest, 3.11) (push) Waiting to run
Code Coverage / Test (windows-latest, 3.12) (push) Waiting to run
Code Coverage / check (push) Blocked by required conditions
TypeCheck / TypeCheck (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
* ➕ 添加依赖 strenum * 🐛 优化等待逻辑,修复截图爆炸 * ✨ 使用新模板 * ⚡️ 关闭自动转译 * ✨ 同步新模板 schemas * 🌐 添加模板语言的映射 * ✨ 适配 bind * ✨ 更新模板 * ✨ 全部适配 * 🚨 make mypy happy * Update nonebot_plugin_tetris_stats/games/tos/query.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * ✨ 使用用户设置语言 * 🚨 auto fix by pre-commit hooks --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
38 lines
909 B
Python
38 lines
909 B
Python
# This file is @generated by tarina.lang CLI tool
|
|
# It is not intended for manual editing.
|
|
|
|
from tarina.lang.model import LangItem, LangModel
|
|
|
|
|
|
class InteractionWrong:
|
|
query_bot: LangItem = LangItem('interaction', 'wrong.query_bot')
|
|
|
|
|
|
class InteractionWarning:
|
|
unverified: LangItem = LangItem('interaction', 'warning.unverified')
|
|
|
|
|
|
class Interaction:
|
|
wrong = InteractionWrong
|
|
warning = InteractionWarning
|
|
|
|
|
|
class ErrorMessageformaterror:
|
|
TETR_IO: LangItem = LangItem('error', 'MessageFormatError.TETR.IO')
|
|
TOS: LangItem = LangItem('error', 'MessageFormatError.TOS')
|
|
TOP: LangItem = LangItem('error', 'MessageFormatError.TOP')
|
|
|
|
|
|
class Error:
|
|
MessageFormatError = ErrorMessageformaterror
|
|
|
|
|
|
class Template:
|
|
template_language: LangItem = LangItem('template', 'template_language')
|
|
|
|
|
|
class Lang(LangModel):
|
|
interaction = Interaction
|
|
error = Error
|
|
template = Template
|