[Update] 更新T18n

This commit is contained in:
2019-07-10 14:48:50 +08:00
parent 7d5bcaa80f
commit 06ce0be2b5
5 changed files with 11 additions and 27 deletions

View File

@@ -15,20 +15,7 @@ public class CommandAbout extends CommandBase {
@Override
public String execute(EventMessage evt, User user, long userid, String command, ArrayList<String> args) {
return MessageUtils.retAt(userid, I18n.format("command.about.message").replace("$", "\n"));
return MessageUtils.retAt(userid, I18n.formatList("command.about.message.%s"));
}
/*
Yes, sir!
(command with * requires OP_PERMISSION_NODE)
/about[/bot|/help] - show this notice
/op - query if you're operator
/op* [uid] - set user as operator
/perm* [uid] [node] - get the value of the node
/perm* [uid] [node] [true/false] - set the value of the node
/console* [cmd] - to execute command as Console
*/
}