Bug 523437

Summary: string error in elfutils.pot
Product: [Fedora] Fedora Reporter: Domingo Becker <domingobecker>
Component: elfutilsAssignee: Roland McGrath <roland>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mjw, piotrdrag, roland
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-15 20:22:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Domingo Becker 2009-09-15 14:00:44 UTC
Description of problem:
There's a string in elfutils.pot [1] in line 1586 which seems to be wrong. 
It is the following:
msgid " Length  Number  % of total  Coverage\n"

It comes from 
#: ../src/readelf.c:2610
#, c-format

This means that the string in ../src/readelf.c:2610 should be
" Length  Number  %% of total  Coverage\n"
in order to be treatable by gettext library used by Fedora translations tools.

If this is not corrected, there will be no possibility to submit translations through translate.fedoraproject.org for any language. The error will not pass 'msgfmt -c' and will prevent any submission.

[1] https://translate.fedoraproject.org/projects/elfutils/master/


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Roland McGrath 2009-09-15 20:22:17 UTC
That string is a literal, not a format string.  See the source:

      fputs_unlocked (gettext ("\
 Length  Number  % of total  Coverage\n"), stdout);

Please file a bug for xgettext wrongly annotating this with "c-format".