[i18n] translate.php errors

Miroslav Pendev miro@cybershade.us
Mon, 5 Aug 2002 18:18:10 -0400


On Mon, Aug 05, 2002 at 11:49:47PM +0200, Jan Schneider wrote:
> Zitat von Miroslav Pendev <miro@cybershade.us>:
> 
> > I am trying to use translate.php on FreeBSD 4.6 STABLE. The very latest
> > HEAD
> > for horde, imp, turba, kronolith.
> > 
> > I did upgrade Console_Getopt from http://pear.php.net/get/
> > 
> > When I type ./translate.php extract into horde/po dir here is what errors
> > I
> > have...
> 
> Try to run it with the debug option, you'll get more information what happens.
> 
> Jan.

Ok, I got some warrnings and ...

Extracting from horde... Executing:
xgettext -C --keyword=_ --sort-output --copyright-holder="Horde Project" -o ../i
mp/po/po/horde.pot `find ../admin ../lib ../templates ../util -name '*\.php' -o
-name '*\.inc' -type f` `find ../config -name '*\.dist' -type f` ./translation.p
hp
../lib/GraphSprocket/html.php:472: warning: unterminated string literal
../lib/GraphSprocket/html.php:645: warning: unterminated string literal
../lib/GraphSprocket/html.php:685: warning: unterminated string literal
../lib/VFS/sql.php:217: warning: unterminated character constant

[...] <- some more warrnings

xgettext: cannot create output file "../imp/po/po/horde.pot": No such file or di
rectory
done
Extracting from imp/po... Executing:
xgettext -C --keyword=_ --sort-output --copyright-holder="Horde Project" -o ../k
ronolith/po/po/imp/po.pot `find ../kronolith/po -name '*\.php' -or -name '*\.inc
' -type f | grep -v /config/` `find ../kronolith/po/config -name '*\.dist' -type
 f`
find: ../kronolith/po/config: No such file or directory
xgettext: no input file given
Try `xgettext --help' for more information.
done

I do not have po/config files anywhere, do I have to?

--Miro