URL:
  <http://gna.org/bugs/?12888>

                 Summary: Can't apply localised strings unless run with admin
privileges
                 Project: Battle for Wesnoth
            Submitted by: None
            Submitted on: Thursday 01/22/09 at 08:32 CET
                Category: Bug
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: User Interface
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.4.7
        Operating System: Windows XP

    _______________________________________________________

Details:

Wesnoth doesn't react to the language setting in the main menu, unless logged
in with admin privileges.

To reproduce:
*Click button ‘Language’ in main menu.
*Select language in list. (None of them work, so it doesn't matter which.)
*Accept.
*Quit and restart.
*Note how the UI is still in English.
*Click button ‘Language’ again to verify that the setting was
remembered.

In summary: it's impossible to select a language/locale, or rather, it is
possible to select it, and Wesnoth will even remember it, but it has no
effect at all. This is regardless of the language, I tried quite a lot of
them, and none worked. No error dialog appears.

Other peculiarness: it doesn't happen if you're logged in as Administrator
and have confirmed the admin password, or you have used ‘Run as...’ to
that effect. It isn't enough to be admin (I am). I've checked to see if the
localisation files are readable without admin privileges, and they are. The
installer doesn't seem to have attached any special security descriptors to
them, nor should it.

So it knows it should read the localised strings, they are readable, and in
working order, but it just doesn't, and it doesn't even display an error
dialog.

Contents of stderr:

Battle for Wesnoth v1.4.7
Started on Thu Jan 22 08:07:56 2009

Checking video mode: 1024x768x32...
setting mode to 1024x768x32
WARNING: setlocale() failed for 'nl_NL'.
WARNING: setlocale() failed for 'nl_NL'.
WARNING: setlocale() failed for 'nl_NL'.
loadscreen: filesystem counter = 114
loadscreen: binarywml counter = 32430
loadscreen: setconfig counter = 44
loadscreen: parser counter = 244





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12888>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to