This is the mail archive of the
mailing list for the GCC project.
Patch for po/EXCLUDES
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 25 Jan 2004 17:49:50 +0000 (UTC)
- Subject: Patch for po/EXCLUDES
I noticed that messages from genautomata.c were getting translated,
which is a waste of translator effort. It seems that po/EXCLUDES is
somewhat out of date, including various files that are no longer in
the source tree and not including various in the source tree that
shouldn't have messages extracted; updated thus. It passes gcc.pot
regeneration. OK to commit to mainline and 3.4 branch?
(There are lots more libgcc files in various config/<machine>
directories, but since in general they don't have messages that might
be extracted anyway I doubt the point of having a list of them here
that keeps needing updating. If we do need to list some of them, I'd
prefer an exclusions file in each target machine's directory that
needs one rather than accumulating the list here.)
2004-01-25 Joseph S. Myers <email@example.com>
* EXCLUDES: Update.
--- EXCLUDES.orig 2001-10-31 17:40:07.000000000 +0000
+++ EXCLUDES 2004-01-25 17:17:32.000000000 +0000
@@ -1,29 +1,38 @@
# This file lists all the sources which should *not* be scanned for
# strings to translate. Only the first word on each line is used; the
-# rest is ignored. Only files with an extension of .c or .h are
+# rest is ignored. Only files with an extension of .c or .h or .def are
# examined to begin with.
# These files are part of libgcc, or target headers provided by gcc.
@@ -34,19 +43,22 @@
# These programs are meant to be executed only by GCC maintainers or
# installers. Such files do not need to be translated, as these
# people typically need to be able to read English anyway.
Joseph S. Myers