This is the mail archive of the gcc@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]

Making platform specific help translatable.



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

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