Hi,
I'm trying to update the .po files for someone to translate the checkout modules.
I have problems with the files in checkoutpaypal, I'm working on the version in gallery-contrib. When I do a make in checkoutpaypal/po I get the error
make: *** [messages.po] Error 255
When I look in strings.raw.tmp the first line is :
Parse error: syntax error, unexpected ')' in /home/jay/workspace/gallery_os/gallery_os/lib/tools/po/extract.php(123) : eval()'d code on line 1
# $Id$
All works fine for the other modules. My gallery installation is the official 2.2.2.
Any help/tips appreciated.
Jay
make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
Posts: 32509
do you have problems with any official module too?
e.g.
cd modules/comment/po/
make de.po
make install PO=de
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 159
No, that works fine. Also, checkout and checkoutemail work, it's only checkoutpaypal where I have problems.
I'm assuming a typo in the code, but unsure how to trace it.
Posts: 8601
The checkout modules recently have moved into gallery-contrib. The code there works for translations, so whatever problem seems to be resolved.
Posts: 32509
just tried a fresh g2.2.2 with checkoutpaypal from svn and the po stuff worked fine.
i used cygwin, but there shouldn't be any difference when using a real linux/unix system.
test operations:
$ cd modules/checkoutpaypal/po/
$ make de.po
...edited some strings
$ make install PO=de
no errors.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 159
Thanks, both.
I've tried reinstalling G2.2.2 but the problem persists (on Ubuntu). I'm also using the gallery-contrib version of the checkout modules.
Have also tried on a seperate system (Gentoo based), again using G2.2.2 and svn checkoutpaypal and get exactly the same error.
Both are 64 bit systems, will perhaps try on a 32 bit system, you never know.
Posts: 8601
you might also try current svn / nightly snapshot, as the extract.php script in 2.3 is largely rewritten.
Posts: 159
Yes, that did it, I can now compile correctly using the nightly snapshot. Thanks a lot for the help.