Em Sáb, 2008-08-30 às 23:25 +0100, Rui Gouveia escreveu: > Wouter Bolsterlee wrote: > > 2008-08-30 klockan 23:51 skrev Leonardo F. Fontenelle: > > > >> Not much; the ChangeLog usually exists, but with a message telling us > >> not to change it. If at least there was an standard for that message, we > >> could reliably automate the check. > >> > > > > Perhaps grepping for "^200" helps? If there is a line starting with "200" it > > is likely to be a real ChangeLog file with timestamps. > > > If you grep the last date used > > $ head -n 1 ChangeLog | cut -d' ' -f1 > 2008-08-30 > > you can calculate how many days have elapsed since then, you can decide > that if not updated for X days, it's obsolete. >
If a translator accidentally (eg. with a script) used the ChangeLog in the usual way, there can be recent dates even if the ChangeLog is deprecated. In fact, when a module (e. g. empathy) deprecates a ChangeLog, it *removes* old content, so all dates will be new. -- Leonardo Fontenelle http://leonardof.org _______________________________________________ gnome-i18n mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-i18n
