Christian Perrier a Ãcrit :
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...
Commenting these difficult strings would be nice indeed. However, I
don't know how to do this in the source and not in the POT (which is
re-generated at build time from the sources). Anyone around knowing if
gettext commenting is possible in C++?
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 ""
-- Jean Christophe "ãããã" ANDRà â http://asie-pacifique.auf.org/ Responsable technique rÃgional â Associà technologie projet Reflets (CODA) Agence universitaire de la Francophonie (AuF) â Bureau Asie-Pacifique (BAP) Adresse postale : AUF, 21 Là ThÃnh TÃng, T.T. HoÃn Kiám, Hà Nái, Viát Nam TÃl. : +84 4 9331108 Fax : +84 4 8247383 Mobile : +84 91 3248747 â Note personnelle : merci d'Ãviter de m'envoyer des fichiers PowerPoint â â ou Word, voir http://www.fsf.org/philosophy/no-word-attachments.fr.html â
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]