This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Making platform specific help translatable.
- To: gcc at gcc dot gnu dot org
- Subject: Making platform specific help translatable.
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Wed, 31 May 2000 19:19:49 +0200
- Cc: Ulrich Drepper <drepper at cygnus dot com>
I've tried to make the help texts in config/i386/i386.h translatable by
marking them with N_(). It seems like xgettext does not recognize the
strings inside the definition of the TARGET_SWITCHES macro:
#define TARGET_SWITCHES \
{ { "80387", MASK_80387, N_("Use hardware fp") }, \
{ "no-80387", -MASK_80387, N_("Do not use hardware fp") },\
{ "hard-float", MASK_80387, N_("Use hardware fp") }, \
and so on. Anybody got an idea of how to make them recognizable, short of
defining them with a seperate macro (wich I'd find rather ugly)? IMO of all
translated messages, a translated help would be the most helpfull.
Philipp
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
#define NINODE 50 /* number of in core inodes */
#define NPROC 30 /* max number of processes */
-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h