initscripts
Alan Cox
alan at redhat.com
Sun Mar 7 16:57:15 UTC 2004
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
More information about the Fedora-trans-list
mailing list