On Sun, 2004-03-07 at 17:57, Alan Cox wrote:
On Sun, Mar 07, 2004 at 04:53:51PM +0100, Josep Puigdemont wrote:
> When we have strings to translate which are part of a script (I believe
> in bash) like this one:
>
> #: /etc/rc.d/init.d/functions:441
> msgid "Start service $1 (Y)es/(N)o/(C)ontinue? [Y] "
>
> how should be proceed in respect to the answers expected by the script?
> echo -n $"Start service $1 (Y)es/(N)o/(C)ontinue? [Y] "
Translated input string
> read answer
> if strstr $"yY" "$answer" || [ "$answer" =
"" ] ; then
Translated match letters. So there should be yY nN and cC translations
Couldn't find it, but Miloslav Trmac said there was a patch in bugzilla,
I suppose he refers to this match letters. I'll wait until it hits CVS.
Thanks to both of you for helping.
/Josep