Skip to content
This repository was archived by the owner on Dec 23, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ This discord bot can edit multiple messages for multiple source servers containi
## Languages
- English (Default) - ``SourceQueryBot.translations.English``
- Russian - ``SourceQueryBot.translations.Russian``
- Chinese - ``SourceQueryBot.translations.Chinese``

## API
- ``from SourceQueryBot import SourceQueryBot``
Expand Down
13 changes: 13 additions & 0 deletions SourceQueryBot/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,16 @@ class Russian(TranslationBase):
smart_presence = "{}/{} на {}"
invalid_py_version = "Python 3.7 или выше требуется для" + \
" smart presence, у вас запущен {}"


class Chinese(TranslationBase):
shutdown = "机器人正在关闭,请不要按 ctrl + C"
on_ready = "登录为 {}"
server = """**地图名:** {}\n**玩家:** {}/{}
**连接:**\nsteam://connect/{}"""
offline_title = "未知"
offline_msg = "**此服务器离线.**"
normal_presence = "{}/{} 在我们的服务器上."
smart_presence = "{}/{} 在 {}"
invalid_py_version = "需要 Python 3.7或更高版本" + \
" smart presence, 您正在运行 {}"