From a577f76a375953f37cba0d026e928b446b0f9c2e Mon Sep 17 00:00:00 2001 From: Diavolo Date: Wed, 31 Aug 2022 22:36:22 +0200 Subject: [PATCH] [Localization] Add simple error message --- src/Components/Modules/Localization.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/Modules/Localization.cpp b/src/Components/Modules/Localization.cpp index 152ed48d..529b1ebf 100644 --- a/src/Components/Modules/Localization.cpp +++ b/src/Components/Modules/Localization.cpp @@ -297,6 +297,7 @@ namespace Components if (iTokenLen + iLen >= szStringSize) { + Game::Com_Printf(Game::CON_CHANNEL_SYSTEM, "%s too long when translated\n", pszMessageType); return nullptr; }