[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1098919: Help to improve comparison in english/international/l10n/scripts/gen-files.pl



Package: www.debian.org
Severity: normal
User: www.debian.org@packages.debian.org
Usertags: scripts
X-Debbugs-CC: debian-i18n@lists.debian.org

Hi all,

Adriano and I were searching why some po files haven't been listed on brazilian status pages for po-debonf [1] and for regular po [2] (in this case, the files are not listed on the first table) and we found this:

On gen-files.pl [3] there is an If, and the last part
($team eq "debian-l10n-$LanguageList{$lang} at lists dot debian dot org")
is comparing $team with "debian-l10n-portuguese at lists dot debian dot org".

But some of our po files have breaking lines on the address, like these:

"Language-Team: Brazilian Portuguese <debian-l10n-"
"portuguese@lists.debian.org>\n"

or

"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
"org>\n"

So, the "eq" is not matching because the $team variable hasn't the full address of team mailing list address.

We can change "Brazilian Portuguese" for other name from now on, but we have the issue with the po files already updated.

Could someone help to improve the code for $team variable get the line after the break line, or any other idea for the comparison part?

[1] https://www.debian.org/international/l10n/po-debconf/pt_BR
[2] https://www.debian.org/international/l10n/po/pt_BR
[3] https://salsa.debian.org/webmaster-team/webwml/-/blob/master/english/international/l10n/scripts/gen-files.pl?ref_type=heads#L331

Best regards,

-----
Paulo Henrique de Lima Santana (phls)
Belo Horizonte - Brasil
Debian Developer
Associado do Instituto para Conservação de Tecnologias Livres
Site: http://phls.com.br
GPG ID: 0443C450


Reply to: