Default all localized behavior to European logic #22

Merged
Exynox merged 20 commits from Tr0n/server:localization/default-gf-eu into nightly 2024-04-09 21:47:23 +03:00
Showing only changes of commit 2c37b2009d - Show all commits

View File

@ -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;
Tr0n marked this conversation as resolved Outdated

I don't get what happened here and what warrants the change from s_line to string?

I don't get what happened here and what warrants the change from s_line to string?
Outdated
Review

my bad. Was testing something locally and forgot to revert. Will restore original functionality.

my bad. Was testing something locally and forgot to revert. Will restore original functionality.
}
return iter->second.c_str();