From a3f171870f6bcdf091a0647c37e4e25c0020e4f4 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 12 Feb 2005 00:39:24 +0000 Subject: 2005-02-11 Andrew Cagney Mark up some of printf_filtered and printf_unfiltered. * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update. * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update. * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update. * event-loop.c, event-top.c, exec.c, f-valprint.c: Update. * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update. * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update. * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update. * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update. * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update. * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update. * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update. * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update. * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update. * tui/tui-regs.c, tui/tui-win.c: Update. --- gdb/cli/cli-logging.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'gdb/cli/cli-logging.c') diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index 8df6b85..c03b420 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.c @@ -133,33 +133,34 @@ set_logging_off (char *args, int from_tty) static void set_logging_command (char *args, int from_tty) { - printf_unfiltered ("\"set logging\" lets you log output to a file.\n"); - printf_unfiltered ("Usage: set logging on [FILENAME]\n"); - printf_unfiltered (" set logging off\n"); - printf_unfiltered (" set logging file FILENAME\n"); - printf_unfiltered (" set logging overwrite [on|off]\n"); - printf_unfiltered (" set logging redirect [on|off]\n"); + printf_unfiltered (_("\ +\"set logging\" lets you log output to a file.\n\ +Usage: set logging on [FILENAME]\n\ + set logging off\n\ + set logging file FILENAME\n\ + set logging overwrite [on|off]\n\ + set logging redirect [on|off]\n")); } void show_logging_command (char *args, int from_tty) { if (saved_filename) - printf_unfiltered ("Currently logging to \"%s\".\n", saved_filename); + printf_unfiltered (_("Currently logging to \"%s\".\n"), saved_filename); if (saved_filename == NULL || strcmp (logging_filename, saved_filename) != 0) - printf_unfiltered ("Future logs will be written to %s.\n", + printf_unfiltered (_("Future logs will be written to %s.\n"), logging_filename); if (logging_overwrite) - printf_unfiltered ("Logs will overwrite the log file.\n"); + printf_unfiltered (_("Logs will overwrite the log file.\n")); else - printf_unfiltered ("Logs will be appended to the log file.\n"); + printf_unfiltered (_("Logs will be appended to the log file.\n")); if (logging_redirect) - printf_unfiltered ("Output will be sent only to the log file.\n"); + printf_unfiltered (_("Output will be sent only to the log file.\n")); else - printf_unfiltered ("Output will be logged and displayed.\n"); + printf_unfiltered (_("Output will be logged and displayed.\n")); } void -- cgit v1.1