Skip to content

Commit

Permalink
Merge pull request #162 from yaosiqian/master
Browse files Browse the repository at this point in the history
Add Simplified Chinese Language Support
  • Loading branch information
Brikster authored Apr 21, 2022
2 parents 056e38f + ba17e92 commit 32c76f1
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions spigot/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ general:
# en - English.
# ru - Russian.
# de - German.
# zh_CN - Simplified Chinese
locale: en

# Chat listener priority.
Expand Down
69 changes: 69 additions & 0 deletions spigot/src/main/resources/locale/zh_CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
messages:
# 该行不可被移除
# 如果删去了这一行,将会默认使用原版的英语版本
only-for-players: '&c该命令仅由玩家使用。'
chat-not-found: '&c使用的聊天未找到,您无法发送这条信息'
reload: '&a配置已重载!'
no-permission: '&c你没有权限。'
spy-on: '&a你已经开启间谍模式'
spy-off: '&c你已经关闭间谍模式'
cooldown: '&c请在 {cooldown} 秒后发送信息。'
not-enough-money: '&c你需要 {money} 个硬币以在这个聊天里发送信息'

clearchat-command:
usage: '&c使用: /{label} [all]'
clear-chat-for-all: '&a聊天被 {player} 清空。'
clear-chat-for-yourself: '&a聊天已清空'

msg-command:
usage: '&c使用: /{label} <用户名> <信息>'
player-not-found: '&c玩家未找到。'
cannot-message-yourself: '&c你不能私信自己'

reply-command:
usage: '&c使用: /{label} <message>'
target-not-found: '&c玩家未找到。'

ignore-command:
usage: '&c使用: /{label} <用户名>'
player-not-found: '&c玩家未找到。'
ignore-list: '&e你现在屏蔽了: &6{players}'
ignore-list-delimiter: '&8, &6'
add-ignore: '&c你现在屏蔽了 {player}。'
remove-ignore: '&a你不再屏蔽 {player}。'
cannot-ignore-yourself: '&c你不能屏蔽你自己。'

swears-command:
usage: '&c使用: /{label} add <文字>'
add-word: '&a你将 {word} 添加到了白名单。'

chat-command:
usage: '&c使用: /{label} <聊天频道>'
chat-not-found: '&c该聊天频道未找到。'
chat-switched: '&a已将聊天频道切换为 "{chat}"。'
no-chat-permission: '&c你没有切换聊天的权限。'

prefix-command:
usage: '&c使用: /{label} <玩家> <<前缀>|clear>'
no-permissions-others: '&c你没有切换其他玩家前缀的权限。'
player-not-found: '&c玩家未找到。'
length-limit-min: '&c前缀不能少于 {limit} 个字符。'
length-limit-max: '&c前缀不能多于 {limit} 个字符。'
prefix-clear: '&a你清除了 {player} 的前缀。'
prefix-set: '&a你将玩家 {player} 的前缀设置为 &r{prefix} &a。'

suffix-command:
usage: '&c使用: /{label} <玩家> <<后缀>|clear>'
no-permissions-others: '&c你没有切换其他玩家后缀的权限。'
player-not-found: '&c玩家未找到。'
length-limit-min: '&c后缀不能少于 {limit} 个字符。'
length-limit-max: '&c后缀不能多于 {limit} 个字符。'
prefix-clear: '&a你清除了 {player} 的后缀。'
prefix-set: '&a你将玩家 {player} 的后缀设置为 &r{prefix} &a。'

# 该行可被移除
# 如果删去了这一行,将会禁用信息
advertisement-found: '&c在你的信息中发现了广告元素。'
no-recipients: '&c没有人听见你。'
caps-found: '&c在你的信息中发现了大写字母滥用。'
swear-found: '&c在你的信息中发现了脏话。'

0 comments on commit 32c76f1

Please sign in to comment.