Bug 160998

Summary: zen-updater: Broken gettext support
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stanislav Brabec <sbrabec>
Component: ZenworksAssignee: Chris Rivera <crivera>
Status: VERIFIED FIXED QA Contact: Jawaad Tariq <jtariq>
Severity: Critical    
Priority: P5 - None CC: cihlarov
Version: Beta 8Keywords: Fix_is_Checked_In
Target Milestone: RC 1   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 144946, 153732    

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.