Re: Using gettext in scripts

2001-12-13 Thread Santiago Vila
Gustavo Noronha Silva wrote: > Martin Quinson <[EMAIL PROTECTED]> wrote: > > That's the sh (inefficient) way. In bash, you can use the > > following shorthand: $"My message" > great that is just what I wanted! thank you very much, thanks too, > Javier! Just what I don't want: People adding more an

Re: Using gettext in scripts

2001-12-13 Thread Gustavo Noronha Silva
On Thu, 13 Dec 2001 12:38:21 +0100 Martin Quinson <[EMAIL PROTECTED]> wrote: > That's the sh (inefficient) way. In bash, you can use the following shorthand: > $"My message" great that is just what I wanted! thank you very much, thanks too, Javier! []s! -- Gustavo Noronha Silva - kov

Re: Using gettext in scripts

2001-12-13 Thread Javier Fernández-Sanguino Peña
On Thu, Dec 13, 2001 at 12:38:21PM +0100, Martin Quinson wrote: > > Why not use the -D option of bash, or the --dump-po-strings one ? > Because I didn't know it at the moment? :) Javi

Re: Using gettext in scripts

2001-12-13 Thread Martin Quinson
On Thu, Dec 13, 2001 at 12:05:44PM +0100, Javier Fdz-Sanguino Pen~a wrote: > > On Thu, Dec 13, 2001 at 02:58:52AM -0200, Gustavo Noronha Silva wrote: > > Hello, > > > > maybe someone here can point me to some good manual on how to > > use gettext on shell scripts? > > > Ussing gettext is e

Re: Using gettext in scripts

2001-12-13 Thread Javier Fdz-Sanguino Pen~a
On Thu, Dec 13, 2001 at 02:58:52AM -0200, Gustavo Noronha Silva wrote: > Hello, > > maybe someone here can point me to some good manual on how to > use gettext on shell scripts? > Ussing gettext is easy. Check out the euro-support's euro-test script which uses gettext (and I did not have

Re: Using gettext in scripts

2001-12-13 Thread Martin Quinson
On Thu, Dec 13, 2001 at 02:58:52AM -0200, Gustavo Noronha Silva wrote: > Hello, > > maybe someone here can point me to some good manual on how to > use gettext on shell scripts? > > my main problem is how to get the strings on the shell script > written to a potfile, are there specific options to

Using gettext in scripts

2001-12-12 Thread Gustavo Noronha Silva
Hello, maybe someone here can point me to some good manual on how to use gettext on shell scripts? my main problem is how to get the strings on the shell script written to a potfile, are there specific options to xgettext? I made an ugly hack, made a .c file with _("message") and processed it wi