Refactor admin command cooldown handling and update localization
- Updated cooldown handling in AdminCommandHandler to use localized messages. - Added new method in Locales class to retrieve strings based on CommandSender type. - Introduced cooldown messages in English and Russian localization files. - Removed outdated DuelMode section from TODO.md and updated the last modified date.
This commit is contained in:
parent
3100c53229
commit
46f7b794c6
5 changed files with 29 additions and 9 deletions
|
|
@ -293,5 +293,8 @@ modes:
|
|||
player_joined: "�FF00%s &#A0A0Aприсоединился к кооперативной сессии!"
|
||||
stats: "&#A0A0AКомандный счёт: &#FFFFFF%s &#A0A0A| Ваши блоки: &#FFFFFF%s &#A0A0A(&#FFFFFF%s%%&#A0A0A)"
|
||||
|
||||
admin:
|
||||
cooldown: "<gray>Подождите немного перед повторным использованием."
|
||||
|
||||
ghost:
|
||||
saved: "�D4FFВаш призрак сохранён с результатом %s очков!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue