From 2c37b2009d3f08acc6af847d82072f30e8b510ba Mon Sep 17 00:00:00 2001 From: Tr0n Date: Tue, 9 Apr 2024 17:10:38 +0200 Subject: [PATCH] revert local testing of string localization --- src/game/src/locale.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/src/locale.cpp b/src/game/src/locale.cpp index 817fad6..b234434 100644 --- a/src/game/src/locale.cpp +++ b/src/game/src/locale.cpp @@ -26,7 +26,7 @@ const char * locale_find(const char *string) strlcpy(s_line + 5, string, sizeof(s_line) - 5); SPDLOG_ERROR("LOCALE_ERROR: \"{}\";", string); - return string; + return s_line; } return iter->second.c_str();