This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use gcc-internal-format instead of c-format or nothing in gcc.pot where needed


Jakub Jelinek wrote:
> Here is the patch.

Nice work!

> I get 2 weirdo warnings:
> /usr/bin/xgettext: po/gcc.pot.tmp1: warning: Charset "CHARSET" is not a
> portable encoding name.

This warning will magically go away if you use a file name ending in .pot,
such as po/gcc.tmp1.pot, instead of po/gcc.pot.tmp1.

> The patch assumes gettext 0.14.5 or later, not sure how we should
> enforce it (and not sure for which operations is that version really
> necessary, only for make gcc.pot and msgmerge or also for msgfmt?).

This version is necessary also for msgmerge and msgfmt. msgmerge needs
the precise knowledge about what is a valid gcc-internal-format string,
so that it can add fuzzy markers, for the translator. And msgfmt needs
it, so it can report an error if a gcc-internal-format string is not
validly translated and nevertheless not marked fuzzy.

Bruno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]