Bug 160998 - zen-updater: Broken gettext support
Summary: zen-updater: Broken gettext support
Status: VERIFIED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Zenworks (show other bugs)
Version: Beta 8
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: RC 1
Assignee: Chris Rivera
QA Contact: Jawaad Tariq
URL:
Whiteboard:
Keywords: Fix_is_Checked_In
Depends on:
Blocks: 144946 153732
  Show dependency treegraph
 
Reported: 2006-03-27 16:49 UTC by Stanislav Brabec
Modified: 2006-04-10 15:45 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Brabec 2006-03-27 16:49:45 UTC
Zen updater has a broken gettext support and ignores provided catalogs.

Looking at strace output, it searches for the correct catalog, but then it searches for /usr/share/locale/cs/LC_MESSAGES/messages.mo, which is the invalid default catalog.

I don't know C#, but this behavior is equivalent to C code with use of gettext without proper initialization (#define ENABLE_NLS 1 in config.h before including any files or missing bindtextdomain()).
Comment 1 Chris Rivera 2006-03-27 23:57:18 UTC
This is fixed now.  I wasn't correctly initializing gettext.
Comment 2 Stanislav Brabec 2006-03-28 12:32:21 UTC
Reopening.

Latest version r26224 in SuSE Autobuild still tries to read messages.mo and ignores zen-updater.mo.
Comment 3 Chris Rivera 2006-03-28 15:26:52 UTC
It's fixed in svn.  It will be packaged sometime today.