tags 411689 pending
thanks

Hello,

On Tue, Feb 20, 2007 at 04:42:43PM +0100, Nicolas François wrote:
> On Tue, Feb 20, 2007 at 02:41:46PM +0100, [EMAIL PROTECTED] wrote:
> > 
> > Hi,
> > I just run the command "podebconf-report-po --languageteam --gzip" on
> > the libpaper source directory and the program sent two messages. One of
> > them bounced back because incorrect "to:" field. This is the message
> > header:
> > [...]
> > while the (incorrect) po file header contains:
> > 
> > "Last-Translator: Eugeniy Meshcheryakov <[EMAIL PROTECTED]>\n"
> > "Language-Team: Ukrainian\n"
> > 
> > I understand that this is not a correct "Language-Team:" field and I am
> > changing it, but probably po-debconf could check it before sending the
> > email.
> 
> Thanks you for reporting it.
> 
> I will try to find a library to check the mails, or at least perform some
> minimal checks.
> (Language-Team field without valid mail are quite common)

I've committed this change:
when an email address does not look like a valid address, a warning is
issued in the header of the template (I preferred to just issue a warning
rather than removing the invalid address; users will have to edit/remove
the addresses).

Here is a example:

# This mail will be sent to the following people:
# (you can update email addresses, remove a line or add/remove the cross
# between the brackets)
#
#  WARNING: Some email addresses seem to be invalid.
#           You should remove them and inform the translators separately.
#
### [*] fr.po: Nekral <fzt>, French
...

Kind Regards,
-- 
Nekral

Reply via email to