aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-hooks.c4
-rw-r--r--gdb/tui/tui-regs.c4
-rw-r--r--gdb/tui/tui-win.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c
index 64bcb99..91129be 100644
--- a/gdb/tui/tui-hooks.c
+++ b/gdb/tui/tui-hooks.c
@@ -88,7 +88,7 @@ tui_query_hook (const char * msg, va_list argp)
gdb_flush (gdb_stdout);
vfprintf_filtered (gdb_stdout, msg, argp);
- printf_filtered ("(y or n) ");
+ printf_filtered (_("(y or n) "));
wrap_here ("");
gdb_flush (gdb_stdout);
@@ -121,7 +121,7 @@ tui_query_hook (const char * msg, va_list argp)
retval = 0;
break;
}
- printf_filtered ("Please answer y or n.\n");
+ printf_filtered (_("Please answer y or n.\n"));
}
noecho ();
return retval;
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index abb92a4..f7626b4 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -582,8 +582,8 @@ static struct cmd_list_element *tuireglist;
static void
tui_reg_command (char *args, int from_tty)
{
- printf_unfiltered ("\"tui reg\" must be followed by the name of a "
- "tui reg command.\n");
+ printf_unfiltered (_("\"tui reg\" must be followed by the name of a "
+ "tui reg command.\n"));
help_list (tuireglist, "tui reg ", -1, gdb_stdout);
}
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index 443172d..fba3700 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -295,8 +295,8 @@ static struct cmd_list_element *tuilist;
static void
tui_command (char *args, int from_tty)
{
- printf_unfiltered ("\"tui\" must be followed by the name of a "
- "tui command.\n");
+ printf_unfiltered (_("\"tui\" must be followed by the name of a "
+ "tui command.\n"));
help_list (tuilist, "tui ", -1, gdb_stdout);
}
@@ -866,7 +866,7 @@ The window name specified must be valid and visible.\n"));
if (TUI_DATA_WIN && TUI_DATA_WIN->generic.is_visible)
tui_refresh_data_win ();
xfree (buf_ptr);
- printf_filtered ("Focus set to %s window.\n",
+ printf_filtered (_("Focus set to %s window.\n"),
tui_win_name ((struct tui_gen_win_info *) tui_win_with_focus ()));
}
else