intltool-update thinks __import__('<module>') is a translation

Bug #498292 reported by Guillermo Gonzalez on 2009-12-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Данило Шеган

Bug Description

In python file that uses __import__ statement, I get:

The following files contain translations and are currently not in use. Please
consider adding these to the file, located in the po/ directory.


If some of these files are left out on purpose then please add them to
POTFILES.skip instead of A file 'missing' containing this list
of left out files has been written in the current directory.

Related branches

I've improved the regular expression detecting this to be smarter.

Changed in intltool:
assignee: nobody → Данило Шеган (danilo)
status: New → Triaged
importance: Undecided → Low

Fixed in lp:intltool r702: please let me know if it works fine.

Changed in intltool:
status: Triaged → Fix Committed
Jon TURNEY (jon-turney) wrote :

This change in r702 seems to have broken things for xkeyboard-config.

Making check in po
make[1]: Entering directory `/opt/wip/jhbuild/build/xkeyboard-config/po'
rm -f missing notexist
srcdir=/opt/wip/jhbuild/git/xkeyboard-config/po /usr/bin/intltool-update -m
Unmatched [ in regex; marked by <-- HERE in m/(NC_|[NCQ]_|[^_]_|XtResource resources[ <-- HERE ] =
) *\(QUOTEDTEXT/ at /usr/bin/intltool-update line 519, <FILE> line 45.
make[1]: *** [check] Error 9

That should be fixed in r703 now.

Changed in intltool:
milestone: none → 0.41.1
Jon TURNEY (jon-turney) wrote :

Yep, that fixes my problem, thanks :-)

Changed in intltool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers