fix: bot names

fix: minor tweaks to translations.
This commit is contained in:
ds 2020-08-22 01:38:59 +03:00
commit 922a896f0b
6 changed files with 105 additions and 95 deletions

View file

@ -196,7 +196,7 @@ public:
// global heloer for sending message to correct channel
template <typename ...Args> inline void BotControl::msg (const char *fmt, Args &&...args) {
auto result = strings.format (fmt, cr::forward <Args> (args)...);
auto result = strings.format (conf.translate (fmt), cr::forward <Args> (args)...);
// if no receiver or many message have to appear, just print to server console
if (game.isNullEntity (m_ent) || m_rapidOutput) {