After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616152 - gsettings l10n tests fail
gsettings l10n tests fail
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-04-19 09:55 UTC by Christian Persch
Modified: 2010-04-19 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix gsettings l10n tests failure (917 bytes, patch)
2010-04-19 09:56 UTC, Christian Persch
none Details | Review

Description Christian Persch 2010-04-19 09:55:02 UTC
/gsettings/l10n: **
ERROR:gsettings.c:604:test_l10n: assertion failed (str == "Unbenannt"): ("Unnamed" == "Unbenannt")
Aborted

(This is on ubuntu intrepid.)

I need to add "setlocale (LC_ALL, "");" call before the bindtextdomain call to make this test work.
Comment 1 Christian Persch 2010-04-19 09:56:12 UTC
Created attachment 159054 [details] [review]
Fix gsettings l10n tests failure

Some systems apparently need another setlocale call before binding the
textdomain.

Bug #616152.
Comment 2 Matthias Clasen 2010-04-19 13:40:30 UTC
I've just added a global setlocale call now. Reopen if that doesn't fix things for you.