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: Unnecessay translation in cppfiles.c


* Alexandre Oliva (aoliva@redhat.com) [20011220 17:13]:

> I don't know much about translation,

It shows (no offense meant) :-)

> but it's my impression that
> strings that are intentionally not translated should use the N_ macro,
> such that there's no doubt that they're not oversights.

Nope. The _ macro expands to a direct call to gettext, whereas N_ marks a
string which will later be passed to gettext for translation. A good example
for this are the help strings in TARGET_SWITCHES or TARGET_OPTIONS.

The only possible place to state that it isn't an oversight is in
in a comment.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Deutscherrnstr. 15-19, D-90429 Nuremberg, Germany


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