Certain system messages sent to other users during calculation use the "host" user's language #99
Labels
bug:confirmed
All bug reports that were reproduced, therefore confirmed to exist
bug
All bug reports
Description
It seems that all system messages (messages displayed using message templates and parameters stored at message creation time) which use statically created parameters using
$_LANG
suffer from hard-baking message pieces in just one language inherited from "host" user (the user in whom context the calculation is being made). Usually it's not a problem, but some scripts generate messages for other users as well, which might have other languages picked. One such script is Attack mission handler (MissionCaseAttack.php
).Steps to reproduce (example)
What should happen
What actually happens
Regression tracking
Caused by (PR):
Caused by (relevant code pieces):
UniEngine/includes/functions/MissionCaseAttack.php
Lines 983 to 988 in 96130dc
The text was updated successfully, but these errors were encountered: