Author Topic: [FIXED] Bug: Quit message displays in language of quitting user  (Read 1037 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
This affects both 3.4.0 and r1765:
If a user quits, then a quit message is displayed to the remaining user in the language the quitting user has setup. So if the user who is leaving has setup her game language to be portuguese, but the other users have different languages setup, such as english and french, the other users will still get to see this message about the user quitting:
Code: [Select]
Username: Decidiu sair do jogo!
It seems that some client messages are just passed through as localized strings, not as placeholders which then get translated by each receiving users' game. This would also explain why sometimes you get to see something like ???QuitGame??? when a user quits who doesn't have up to date language files (but you do have up to date ones).
« Last Edit: 13 April 2011, 14:20:56 by softcoder »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Bug: Quit message displays in language of quitting user
« Reply #1 on: 21 February 2011, 03:40:50 »
Oh nein!

... Uh, I mean "Oh no!"

It should be passing as the variable, shouldn't it? Such as "StartingToUpgrade" instead of "Starting to upgrade" (or "Starte Verbesserungsvorgang" [Hmm, that is a very long word... Poor German players...]) and then be translated based on the players language file.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Bug: Quit message displays in language of quitting user
« Reply #2 on: 24 February 2011, 14:34:38 »
either this or more simple just use english for these cases and skip the translation.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Bug: Quit message displays in language of quitting user
« Reply #3 on: 3 April 2011, 17:52:47 »
This bug is still present in 3.5.0 beta1.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Bug: Quit message displays in language of quitting user
« Reply #4 on: 6 April 2011, 02:09:44 »
Should hopefully be fixed now with the latest svn version, each player will see system generated network messages in their own language.