aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorShujing Zhao <pearly.zhao@oracle.com>2010-01-14 06:28:27 +0000
committerShujing Zhao <pzhao@gcc.gnu.org>2010-01-14 06:28:27 +0000
commit5bc69b925dfb46c3cc511a4a03c1c70da48d08de (patch)
treeb0c2231fe93a06487f7d39316a589e11af3b681b /gcc/gcc.c
parent40c3294835c9e8e416c0eae4688c1160ffc8ad3f (diff)
downloadgcc-5bc69b925dfb46c3cc511a4a03c1c70da48d08de.zip
gcc-5bc69b925dfb46c3cc511a4a03c1c70da48d08de.tar.gz
gcc-5bc69b925dfb46c3cc511a4a03c1c70da48d08de.tar.bz2
re PR translation/39521 (specs diagnostics translation problems)
po/ 2010-01-14 Shujing Zhao <pearly.zhao@oracle.com> 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 <pearly.zhao@oracle.com> PR translation/39521 * gcc.c (do_spec_1): Wrapped the error and notice messages of specs strings with _(). From-SVN: r155878
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 2 insertions, 2 deletions
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++;
}