mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-14 07:55:57 +01:00
add /language command (#780)
* Fix the following issues: 1. HashMap non-thread-safe issus 2. Fix the same problem in pr621, but use a better implementation Add the following functions: 1. There is now a language cache inside getLanguage to prepare for different languages corresponding to different time zones where the accounts in the server are located * add /language command,each account has their own Locate
This commit is contained in:
@@ -188,6 +188,11 @@
|
||||
"success": "已杀死 %s 当前角色。",
|
||||
"description": "杀死当前角色"
|
||||
},
|
||||
"language": {
|
||||
"current_language": "当前语言是: %s",
|
||||
"language_changed": "语言切换至: %s",
|
||||
"description": "显示或切换当前语言"
|
||||
},
|
||||
"list": {
|
||||
"success": "目前在线人数:%s",
|
||||
"description": "查看所有玩家"
|
||||
|
||||
Reference in New Issue
Block a user