On Sat, Feb 28, 2004 at 11:25:23PM +0100, Christian Perrier wrote: > > I think the logic is so simple, that if the translators update the > > PO-Revision-Date and the maintainer of the package inserts a > > correct revision date (both should be the case), then it will > > definitely work. But, like I said, the script needs testing. > Hmmm, what happens if translators update, then one templates is > changed, debconf-updatepo is run (which changes PO-Revision-Date), Are you sure? I have made a small test changing the date of the .pot and running debconf-updatepo -- only the POT-Generation-Date has changed, not the PO-Revision-Date.
> then another translators make updates? I fear that only the lastest > translator changes will then appear. Well, yes, it works this way. On the other hand, I don't really see a solution at this point and frankly I have not seen a case yet where a translation has been remarked in the changelog as a work of several translators. It is mostly one person (a member of a team), who is either "assigned" to a file or the one who has done a big chunk of work on this particular file. Sharing the credit in other cases is indeed a problem, but frankly, the current approach should be sufficient in most cases, but don't take my opinion for granted, you'll surely have a better overview. (I've just come up with a possible solution: kind of "split" the script in two parts: one which is run once before the release of the package (dh_updatedtranslations or something ;)), which outputs the final changelog and another part, which just logs the changes in some file (a hash, '.trans_changelog_tracker) which could be run automagically after debconf-updatepo. The first part of the script would then just parse the hash and, if desired, delete it) > Thus, for each debconf-updatepo run, we HAVE to run the script > before, then update the changelog with its output. Will be hard to > remember...:-) It would be nice to be able to feed its output to dch, but I haven't found a possibility to make it insert line feeds into the changelog. If this could be done, then the script (BTW, any _good_ name suggestion for it? changelog-changes is rather undescriptive ;)) could be paired with debconf-updatepo to do some regexp magic on the "Updated translations" section. (This section of the reply has been obsoleted by the idea above, but left it there ;)) -- Nikolai Prokoschenko [EMAIL PROTECTED] / Jabber: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]