mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-17 11:59:28 +00:00
Localise sounds, voice, and send current locale to webserver when asking for mod list
This commit is contained in:
parent
b0f18e9030
commit
e8872b09e5
4 changed files with 29 additions and 9 deletions
|
@ -147,6 +147,10 @@ static void init()
|
|||
os << AQUARIA_CUSTOM_BUILD_ID;
|
||||
#endif
|
||||
|
||||
const char *loc = getUsedLocale();
|
||||
if(*loc)
|
||||
os << "; Locale=" << loc;
|
||||
|
||||
userAgent = os.str();
|
||||
|
||||
if(!worker)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue