From 5bc69b925dfb46c3cc511a4a03c1c70da48d08de Mon Sep 17 00:00:00 2001 From: Shujing Zhao Date: Thu, 14 Jan 2010 06:28:27 +0000 Subject: re PR translation/39521 (specs diagnostics translation problems) po/ 2010-01-14 Shujing Zhao PR translation/39521 * exgettext: Extracted all specs %n strings and the %e strings that %e is at the start of a line. 2010-01-14 Shujing Zhao PR translation/39521 * gcc.c (do_spec_1): Wrapped the error and notice messages of specs strings with _(). From-SVN: r155878 --- gcc/gcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index d7d2b3b..8efb570 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -5248,7 +5248,7 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part) buf = (char *) alloca (p - q + 1); strncpy (buf, q, p - q); buf[p - q] = 0; - error ("%s", buf); + error ("%s", _(buf)); return -1; } break; @@ -5262,7 +5262,7 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part) buf = (char *) alloca (p - q + 1); strncpy (buf, q, p - q); buf[p - q] = 0; - notice ("%s\n", buf); + notice ("%s\n", _(buf)); if (*p) p++; } -- cgit v1.1