OpenSolaris

Printable Version Enter a New Search
Bug ID 6586805
Synopsis Missing quotes at the end of line in .po files
State 1-Dispatched (Default State)
Category:Subcategory library:l10n-message
Keywords opensolaris
Responsible Engineer Takeshi Asano
Reported Against snv_69
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6586814
Submit Date 30-July-2007
Last Update Date 4-September-2008
Description
Category
   library
Sub-Category
   l10n-message
Description
   In the En file SUNW_OST_OSCMD.po (downloaded from   
hg clone ssh:// xxxxx@xxxxx.org/hg/nv-g11n/messages) are missing double quotes after many msgstr lines. 
This produces warning when creating .mo file:
WARNING: Syntax at line number: 1270, Missing " at EOL, ignored
and syntax error when using msgfmt -g option for generating GNU compatible .mo files:
Line 4 (sun_po_templates/SUNW_OST_OSCMD.po): syntax error
Further more the missing quotes bears big problems, when using common translation tools. 
The problem affects these files:
SUNW_OST_OSCMD.po
SUNW_OST_ADMIN.po
SUNW_OST_NETRPC.po
SUNW_OST_OSLIB.po
SUNW_OST_SGS.po
SUNW_OST_SYSOSPAM.po
Frequency
   Always
Regression
   No
Steps to Reproduce
   Get one of the po files. 
Run:
msgfmt -g SUNW_OST_OSCMD.po
Expected Result
   Using sun implementation of msgfmt the .mo file will be created without warnings and errors.  
Actual Result
   The message object creation using msgfmt produces a dosens of warnings and if option -g is specified, finishes with syntax error report. 
Error Message(s)
   Line 4 (sun_po_templates/SUNW_OST_OSCMD.po): syntax error
WARNING: Syntax at line number: 1270, Missing " at EOL, ignored
Test Case
   
Workaround
   Using scripts to add the quotes at new line after each msgstr, that does not begins with comment (this makes the files usable). 
Submitter wants to work on bug
   No
Additional configuration information
Work Around
N/A
Comments
N/A