Hi all

I'm a co-maintainer of Locale::Maketext::Lexicon and I'd like to make a
change to the format of the .po file created by
Locale::Maketext::Extract / xgettext.pl.

Currently it writes out each entry in the .po file as:


    #: $filename_1:$line $filename_2:$line ...
    #. (vars passed to maketext sub)
    msgid "string to translate"
    msgstr ""


However, when I edit the file with POEdit, it rewrites the file as:


    #. (vars passed to maketext sub)
    #: $filename_1:$line 
    #: $filename_2:$line ...
    msgid "string to translate"
    msgstr ""


... which causes a large unneccessary diff.

Looking at the gettext manual, having the vars comment before the file
location seems to be consistent, but having the file references on new
lines is controlled by the option --no-wrap. However,
Locale::Maketext::Extract already wraps the msgids, so the behaviour is
currently inconsistent.

What I'd like to know is: can I just make this change, or would it
affect you with whatever client you use for editing the .po files?
Should I be providing output format options instead?

thanks

Clint



_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to