On Mon, Sep 06, 2010 at 05:53:02PM +0100, Darren Salt wrote: > I demand that Neil Williams may or may not have written... > > > Churn is the problem here, IMHO. Many packages just change too fast at > > specific times to allow generated files like the POT into the VCS. i.e. > > the source code is changing and whether or not the translatable strings > > actually change, committing the POT every time (because it timestamps > > itself every time it is checked) is a PITA. > > Agreed. There have been times when I've taken a diff and stripped out any > hunks which change only line numbers... There's a solution to this: Add --no-location to XGETTEXT_OPTIONS in po/Makevars. Now those stupid comment lines with the source file and line number are no longer generated (what use were they in the first place?)! Now your .pot and .po files will only ever change if a translatable string changes in the sources. Score! With this strategy you can keep the po/* files continually up-to-date because they now only change when they actually have genuine changes. All the genuinely pointless churn is gone. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
Description: Digital signature