Bug#1098919: Help to improve comparison in english/international/l10n/scripts/gen-files.pl
Paulo Henrique Santana <[email protected]> Tue, 25 Feb 2025 22:42:44 -0300
| Newsgroups | gmane.linux.debian.internationalization.general |
|---|---|
| Message-ID | <1953febaa7e.e6314dba299086.7307328276540181057__6496.62029916129$1740535233$gmane$org@debian.org> |
Package: www.debian.org Severity: normal User: [email protected] Usertags: scripts X-Debbugs-CC: [email protected] 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-" "[email protected]>\n" or "Language-Team: Brazilian Portuguese <[email protected]." "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