Crowdin localization support (#2310)

* Switching to use resource files

* Update Crowdin configuration file

* Code cleanup
This commit is contained in:
BruceChen 2022-10-28 11:13:20 +08:00 committed by GitHub
parent a27491c1b6
commit 077e3a5e9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
193 changed files with 102089 additions and 3564 deletions

View file

@ -14,11 +14,11 @@
if (IsPrivateMessage(text, ref message, ref username))
{
LogToConsoleTranslated("bot.testBot.told", username, message);
LogToConsole(string.Format(Translations.bot_testBot_told, username, message));
}
else if (IsChatMessage(text, ref message, ref username))
{
LogToConsoleTranslated("bot.testBot.said", username, message);
LogToConsole(string.Format(Translations.bot_testBot_said, username, message));
}
}
}