Re: keys in Aptitude
> >This probably affects the other strings where you had [Y/n].....I you put,
> >say
> >"O" then "N" here, then you must "translate" the strings as "blah blah?
> >[O/n]"
> >
> >
> They really should use LC_MESSAGES yesstr/nostr/yesexpr/noexpr,
> IMHO...
Yep, sure. Maybe someone could come up with a patch, unless Daniel is
already aware of the way to properly use this in his source code.
> From "man xgettext":
>
> -c, --add-comments[=TAG]
> place comment block with TAG (or those preceding keyword
> lines) in output file
>
> I tried this (test.cc):
>
> $ xgettext --output=- --add-comments=GETTEXT: --c++ - << __EOF__
> // GETTEXT: first comment
> cout << gettext("hello") << eol;
> // GETTEXT: second comment
> cout << gettext("hello again") << eol;
> __EOF__
>
> And obtained this:
>
> #. GETTEXT: first comment
> #: entrée standard:2
> msgid "hello"
> msgstr ""
>
> #. GETTEXT: second comment
> #: entrée standard:4
> msgid "hello again"
> msgstr ""
Great. Daniel, I think it's worth commenting some of the aptitude
strings that way. Do you mind if I try to do so ?
Reply to: