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

Bug#947357: Bug #947357: votebar template fails at parsing some translated files



user www.debian.org@packages.debian.org
usertags 947357 scripts
retitle 947357 votebar template fails at parsing some translated files
thanks

I have noticed that the files not added in the Spanish index were the
ones with the translation-check header in the first line. I have moved
the translation-check header line below, so the first line is the
pagetitle and the second line the status, and then the file is parsed
correctly by the votebar template and thus, added to the index.

So, I see 2 ways of solving the issue:

* Fixing the Perl code in /english/template/debian/votebar.wml so it
parses the title and status line wherever they are

* Finding a list of the translated files not having the pagetitle and
status lines as the first two lines in the file, and fixing them as I
did with the Spanish ones, and adding a note to translators in future
voting files so they move the translation-check header below (note that
copypage.pl places this line at the top of the file).

Kind regards,

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona


Reply to: