This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Changes to gcc.c (display_help)
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Changes to gcc.c (display_help)
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Tue, 27 Jun 2000 17:14:11 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200006271457.KAA09923@caip.rutgers.edu>
* Kaveh R . Ghazi (ghazi@caip.rutgers.edu) [20000627 16:57]:
> If proper translation is really helped by this, okay fine.
Well as I said, it could be changed back to shorter strings, i.e. one per
option or text block. But the current code looks like:
printf ("\nOptions starting with -g, -f, -m, -O or -W are automatically passed on to\n");
printf ("the various sub-processes invoked by %s. In order to pass other options\n",
programname);
printf ("on to these processes the -W<letter> options must be used.\n");
IMO it's rather obvious that this gets hard to translate as each printf
results in a different entry for gcc.pot which has to be translated
separately and thus severely limits the translator. If you change it to
printf (_("\n\
Options starting with -g, -f, -m, -O or -W are automatically passed on to\n\
the various sub-processes invoked by %s. In order to pass other options\n\
on to these processes the -W<letter> options must be used.\n\
"), programname);
You get one single entry to translate and the translator is free to
restructure that sentence as needed.
But thanks anyway for pointing out the pitfalls. I'll redo my patch with
shorter strings now.
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 for PDP 11, /usr/include/sys/param.h