[i18n] translate.php errors

Miroslav Pendev miro@cybershade.us
Mon, 5 Aug 2002 19:52:51 -0400


On Tue, Aug 06, 2002 at 01:13:59AM +0200, Jan Schneider wrote:
> Zitat von Miroslav Pendev <miro@cybershade.us>:
> 
> > > Did you run the script in the horde/po directory?
> > > 
> > 
> > Yeap!
> 
> I increased the verbosity a bit, try to update and run it again. I'm really
> curious what's happening there.
> 
> Jan.

It takes few minutes for the update... ;-)

gettext version: 0.11.4 OK

Searching Horde applications...
Executing:
find .. -name po -type d -maxdepth 2 | sed -e 's;/\?po$;;'
Found directories:
../imp/po
../kronolith/po
../passwd/po
../po
../turba/po
Found applications: horde, imp/po, kronolith/po, passwd/po, po, turba/po

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
[...snip...]

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
Extracting from kronolith/po... Executing:
xgettext -C --keyword=_ --sort-output --copyright-holder="Horde Project" -o ../p
asswd/po/po/kronolith/po.pot `find ../passwd/po -name '*\.php' -or -name '*\.inc
' -type f | grep -v /config/` `find ../passwd/po/config -name '*\.dist' -type f`
find: ../passwd/po/config: No such file or directory
xgettext: no input file given
Try `xgettext --help' for more information.
done
Extracting from passwd/po... Executing:
[...the same for the others...]

I did notice that xgettext is not working if the target dir do not exist:

# xgettext -i horde.pot -o ../imp/po/po/123.txt
xgettext: cannot create output file "../imp/po/po/123.txt": No such file or dire
ctory

But if I create the target dir - it works.

--Miro