diff options
author | pzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-14 06:28:27 +0000 |
---|---|---|
committer | pzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-14 06:28:27 +0000 |
commit | 5a3530cb98a7941f6e7a673c258586a97c5791cd (patch) | |
tree | b0c2231fe93a06487f7d39316a589e11af3b681b /gcc/gcc.c | |
parent | 64a8f98f2b7d200f6b8ddb5970d6f72a45fd4bab (diff) | |
download | gcc-5a3530cb98a7941f6e7a673c258586a97c5791cd.tar.gz |
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 _().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155878 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index d7d2b3bd641..8efb5704b4a 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++; } |