2009/12/7 Ricardo Dias Marques <lists@ricmarques.net>:
Hi Chris,
On Sun, Dec 6, 2009 at 05:28, Chris Cormack <chris@bigballofwax.co.nz> wrote:
Ah ha, there was another error, a missing msgid. [in the Portuguese OPAC PO file] I've added that, and pushed it, and it's happy again.
Great! Now I get the expected "The install seems to be successful." at the end of the "./install-code.pl pt-PT" execution. I also checked the web interfaces, after running that command. Everything looks good (I got the expected maintenance message in the OPAC, so I went to the Web installer, logged in and that updated the database structure perfectly).
I must admit that I find strange that you were able to solve this problem by just adding an empty "msgid" and corresponding "msgstr" in lines 6 and 7 of the PO file. Do you have any idea for why "install-code.pl" was complaining and why does this strange (to me) correction works (as it apparently does)?
Thanks a lot for having pushed this fix Chris! :)
Those strings are apparently what msgmerge uses to tell it is a .po file. Without them it simply stops. Strange but true :) Chris