mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Clean up server-side translations, remove global variable (#10075)
This commit is contained in:
@@ -29,14 +29,6 @@ Translations client_translations;
|
||||
Translations *g_client_translations = &client_translations;
|
||||
#endif
|
||||
|
||||
// Per language server translations
|
||||
std::unordered_map<std::string,Translations> server_translations;
|
||||
std::unordered_map<std::string,Translations> *g_server_translations = &server_translations;
|
||||
|
||||
Translations::~Translations()
|
||||
{
|
||||
clear();
|
||||
}
|
||||
|
||||
void Translations::clear()
|
||||
{
|
||||
|
Reference in New Issue
Block a user