aboutsummaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
authorBaurzhan Ismagulov <ibr@radix50.net>2005-01-29 17:53:26 +0000
committerBaurzhan Ismagulov <ibr@radix50.net>2005-01-29 17:53:26 +0000
commit3d263c1d0a2f82fcf209a00e029b32ac8cf8f838 (patch)
tree4c8fcfbe635f21cba7c4165e70b9352247ec08a8 /gdb/complaints.c
parenta80493b821dfa3fee047adfb9250c41b4a2e211a (diff)
downloadgdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.zip
gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.gz
gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.bz2
2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c, * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c, * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 8630fde..3f9be14 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -202,6 +202,7 @@ vcomplaint (struct complaints **c, const char *file, int line, const char *fmt,
wrap_here ("");
if (series != SUBSEQUENT_MESSAGE)
begin_line ();
+ /* XXX: i18n */
fprintf_filtered (gdb_stderr, "%s%s%s",
complaints->explanation[series].prefix, msg,
complaints->explanation[series].postfix);
@@ -297,7 +298,7 @@ clear_complaints (struct complaints **c, int less_verbose, int noisy)
fputs_unfiltered ("\n", gdb_stderr);
break;
default:
- internal_error (__FILE__, __LINE__, "bad switch");
+ internal_error (__FILE__, __LINE__, _("bad switch"));
}
if (!less_verbose)
@@ -311,10 +312,10 @@ clear_complaints (struct complaints **c, int less_verbose, int noisy)
void
_initialize_complaints (void)
{
- add_setshow_zinteger_cmd ("complaints", class_support, &stop_whining, "\
-Set max number of complaints about incorrect symbols.", "\
-Show max number of complaints about incorrect symbols.", NULL, "\
-Max number of complaints about incorrect symbols is %s.",
+ add_setshow_zinteger_cmd ("complaints", class_support, &stop_whining, _("\
+Set max number of complaints about incorrect symbols."), _("\
+Show max number of complaints about incorrect symbols."), NULL, _("\
+Max number of complaints about incorrect symbols is %s."),
NULL, NULL,
&setlist, &showlist);