1
0
Fork 0
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:
fgenesis 2012-07-14 14:34:46 +02:00
commit e8872b09e5
4 changed files with 29 additions and 9 deletions

View file

@ -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)