[Koha-bugs] [Bug 12061] tmpl_process3.pl new features
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Jun 7 14:36:08 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12061
--- Comment #25 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
(In reply to Jonathan Druart from comment #22)
> Comment on attachment 28643 [details] [review]
> Bug 12061 - tmpl_process3.pl - Remove obsoleted strings/backups
>
> Review of attachment 28643 [details] [review]:
> -----------------------------------------------------------------
>
> ::: misc/translator/tmpl_process3.pl
> @@ +377,4 @@
> > if ( @filenames ) {
> > my ($tmph3, $tmpfile3) = tmpnam();
> > $st = system("msgcat $str_file $tmpfile2 > $tmpfile3");
> > + $st = system("msgmerge ".($quiet?'-q':'')." -s $str_file $tmpfile3 -o - | msgattrib --no-obsolete -o $str_file")
>
> Could you detail why this change is useful please? Maybe a small comment
> would be helpful.
There is a comment in bug description, point a), But no problem :)
With every 'translate update ...' a msgid that is no more present is marked as
obsolete '#~' and moved to the bottom. They have value if on time the same
string is back again, then old translation could be used.
As translator I normally remove by hand those entries, and as TM I do the same
for all files as part for the 'normal' procedure I inherited ([1], 'From Koha
to Pootle').
On Bug
[1] http://wiki.koha-community.org/wiki/Translation_Server
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list