diff options
Diffstat (limited to 'gdb/tui/tui-win.c')
-rw-r--r-- | gdb/tui/tui-win.c | 54 |
1 files changed, 29 insertions, 25 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index fba3700..b171893 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -305,7 +305,7 @@ tui_get_cmd_list (void) { if (tuilist == 0) add_prefix_cmd ("tui", class_tui, tui_command, - "Text User Interface commands.", + _("Text User Interface commands."), &tuilist, "tui ", 0, &cmdlist); return &tuilist; } @@ -321,53 +321,57 @@ _initialize_tui_win (void) /* Define the classes of commands. They will appear in the help list in the reverse of this order. */ add_prefix_cmd ("tui", class_tui, set_tui_cmd, - "TUI configuration variables", + _("TUI configuration variables"), &tui_setlist, "set tui ", 0/*allow-unknown*/, &setlist); add_prefix_cmd ("tui", class_tui, show_tui_cmd, - "TUI configuration variables", + _("TUI configuration variables"), &tui_showlist, "show tui ", 0/*allow-unknown*/, &showlist); add_com ("refresh", class_tui, tui_refresh_all_command, - "Refresh the terminal display.\n"); + _("Refresh the terminal display.\n")); if (xdb_commands) add_com_alias ("U", "refresh", class_tui, 0); - add_com ("tabset", class_tui, tui_set_tab_width_command, - "Set the width (in characters) of tab stops.\n\ -Usage: tabset <n>\n"); - add_com ("winheight", class_tui, tui_set_win_height_command, - "Set the height of a specified window.\n\ + add_com ("tabset", class_tui, tui_set_tab_width_command, _("\ +Set the width (in characters) of tab stops.\n\ +Usage: tabset <n>\n")); + add_com ("winheight", class_tui, tui_set_win_height_command, _("\ +Set the height of a specified window.\n\ Usage: winheight <win_name> [+ | -] <#lines>\n\ Window names are:\n\ src : the source window\n\ cmd : the command window\n\ asm : the disassembly window\n\ -regs : the register display\n"); +regs : the register display\n")); add_com_alias ("wh", "winheight", class_tui, 0); add_info ("win", tui_all_windows_info, - "List of all displayed windows.\n"); - add_com ("focus", class_tui, tui_set_focus_command, - "Set focus to named window or next/prev window.\n\ + _("List of all displayed windows.\n")); + add_com ("focus", class_tui, tui_set_focus_command, _("\ +Set focus to named window or next/prev window.\n\ Usage: focus {<win> | next | prev}\n\ Valid Window names are:\n\ src : the source window\n\ asm : the disassembly window\n\ regs : the register display\n\ -cmd : the command window\n"); +cmd : the command window\n")); add_com_alias ("fs", "focus", class_tui, 0); - add_com ("+", class_tui, tui_scroll_forward_command, - "Scroll window forward.\nUsage: + [win] [n]\n"); - add_com ("-", class_tui, tui_scroll_backward_command, - "Scroll window backward.\nUsage: - [win] [n]\n"); - add_com ("<", class_tui, tui_scroll_left_command, - "Scroll window forward.\nUsage: < [win] [n]\n"); - add_com (">", class_tui, tui_scroll_right_command, - "Scroll window backward.\nUsage: > [win] [n]\n"); + add_com ("+", class_tui, tui_scroll_forward_command, _("\ +Scroll window forward.\n\ +Usage: + [win] [n]\n")); + add_com ("-", class_tui, tui_scroll_backward_command, _("\ +Scroll window backward.\n\ +Usage: - [win] [n]\n")); + add_com ("<", class_tui, tui_scroll_left_command, _("\ +Scroll window forward.\n\ +Usage: < [win] [n]\n")); + add_com (">", class_tui, tui_scroll_right_command, _("\ +Scroll window backward.\n\ +Usage: > [win] [n]\n")); if (xdb_commands) - add_com ("w", class_xdb, tui_xdb_set_win_height_command, - "XDB compatibility command for setting the height of a command window.\n\ -Usage: w <#lines>\n"); + add_com ("w", class_xdb, tui_xdb_set_win_height_command, _("\ +XDB compatibility command for setting the height of a command window.\n\ +Usage: w <#lines>\n")); /* Define the tui control variables. */ c = add_set_enum_cmd |