[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread _lallous
this code seem incomplete: window.opener.document.celkem.cena_celkem.value = ? echo _(nìjaký blábol); ? } here's a fix: function zmen_cenu() { window.opener.document.celkem.cena_celkem.value = ? echo _(nìjaký blábol); ?; } Pavel NováK [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Pavel Novak
now it is the same problem without javascript: FIRST file includes only this row: input type=submit name=submit_dotaz value=?=_(Odeslat dotaz)? class=tlacitko SECOND file includes this: ?$str=_(Odeslat dotaz)? input type=submit name=submit_dotaz value=?=_$str? class=tlacitko When I use:

[PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Pavel Novak
so I know where is the problem: input type=submit name=bla value=?=_(Odeslat dotaz)? gettext is seeking through all of strings in the file, it thinks that one string is: ?=_( and second: )? And it doesn't work even with this: value=?=_('Odeslat dotaz')? or this: value='?=_(Odeslat dotaz)?'

Re: [PHP] Re: problem with xgettext and php with javascript file

2001-11-16 Thread Rasmus Lerdorf
Note that you don't need to use xgettext to use gettext. It is simply a time-saver that generates a template .po file for you. You can easily create this text file yourself. -Rasmus On Fri, 16 Nov 2001, Pavel Novak wrote: so I know where is the problem: input type=submit name=bla