[Xfce-i18n] poedit splits lines

Carles Muñoz Gorriz carlesmu at internautas.org
Tue Mar 10 20:19:31 CET 2009


Hi Harald;

En/na Harald Servat ha escrit:
> Hello,
> 
>   I've noticed that my installation of poedit (v1.4.2) splits some lines
> that were joined previously by the previous translator in the resulting
> translated file.
> 
>   For example, this is a segment of the result of a svn diff
> 
> -#: ../src/preferencesdialog.c:371 ../src/preferencesdialog.c:379
> +#: ../src/preferencesdialog.c:371
> +#: ../src/preferencesdialog.c:379
> 
>   I understand that both formats are accepted, but does anyone user of
> poedit know how to switch that behavior? It could be great to save some
> space (not only on mails/svn) but for facilitating the comparison of
> diffs by comparing the real different lines.

I use[1] to normalize the po file and update the translations from the
pot file, I think the 'msgmerge' restore the same way of marking source
lines that has the pot file.

[1]
$ cp ca.po ca.po.back && msgmerge ca.po.back *pot > ca2.po && mv ca2.po
ca.po


regards,
-- 
Carles




More information about the Xfce-i18n mailing list