Bug 249608

Summary: i18n warnings
Product: [Fedora] Fedora Reporter: Piotr Drąg <piotrdrag>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dimitris
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: 2007-08-28 11:08:32 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 Piotr Drąg 2007-07-25 18:43:56 UTC
translate.fpo shows following warning:

"There are some missing files from POTFILES.in:

    * build/rpmfc.c
    * lib/rpmlock.c
    * lib/setfiles.c
    * lib/tgi.c
    * lib/trb.c
    * lib/tre.c
    * misc/error.c
    * rpmdb/sqlite.c
    * rpmio/rpmdav.c
    * rpmio/rpmlua.c
    * rpmio/tdigest.c
    * rpmio/tdir.c
    * rpmio/tfts.c
    * rpmio/tget.c
    * rpmio/tglob.c
    * rpmio/thkp.c
    * rpmio/tput.c
    * rpmio/tring.c
    * tools/dump.c
    * tools/dumpdb.c
    * tools/rpminject.c
    * tools/rpmsort.c
    * tools/rpmtool.c"

See http://translate.fedoraproject.org/module/rpm

Comment 1 Panu Matilainen 2007-07-25 19:56:00 UTC
Most of those are false positives: all the files beginning with t are just test
stuff the user will never see (they're not even built normally) and the rest are
mostly just debugging stuff which aren't really intended to be translated at
all, but a few valid cases there still.

I'll have a look + fix, thanks for pointing this out.

Comment 2 Panu Matilainen 2007-08-07 08:29:31 UTC
The relevant parts added to upstream POTFILES.in now. 

How is the missing file list scanned in translate.fpo - intltool or something
else? I'm just wondering how to best avoid the false positives from programs
that don't even get built normally. I could of course strip out all the
translation markers from the test programs but seems like more effort than it's
worth.

Comment 3 Piotr Drąg 2007-08-08 06:36:39 UTC
I think Dimitris Glezos will be able to answer your question. Adding to CC.

Comment 4 Panu Matilainen 2007-08-28 11:08:32 UTC
rpm 4.4.2.2(-rc1) in next rawhide push includes the POTFILES.in fixes...