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
Alan
--
The clouds are dark, the rain does pour
But its sunny down at number four
Across the road its foggy still
And its snowing hard upon the hill
- A guide to Swansea weather