bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#374483: gettext does not detect "gettext" and "eval_gettext" str


From: Bruno Haible
Subject: Re: Bug#374483: gettext does not detect "gettext" and "eval_gettext" strings in Shell scripts (fwd)
Date: Tue, 20 Jun 2006 14:06:51 +0200
User-agent: KMail/1.9.1

Hi,

Michelle Konzack wrote:
> If I create my POT file, gettext does not detect gettext strings if I
> use for example
> 
> Xdialog --title "gettext test" \
>         --backtitle "$(gettext 'This is a gettext test.')" \
>         --msgbox "$(gettext 'Hey maintainer, I like gettext supporting 
> this.')" 0x0

Indeed, xgettext so far only supports the backquoted syntax

Xdialog --title "gettext test" \
        --backtitle "`gettext 'This is a gettext test.'`" \
        --msgbox "`gettext 'Hey maintainer, I like gettext supporting this.'`" 
0x0

But I'm not recommending that you change your scripts to use this antique
backquote syntax. The $(...) syntax is so much better. Please have a little
patience until xgettext support for it is added.

Thanks for the report! It's only through such reports that I get aware of
such "small" missing features.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]