gdb: Add internationalization support to a few strings.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 23 Apr 2015 21:18:55 +0000 (22:18 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 24 Apr 2015 21:49:59 +0000 (22:49 +0100)
Spotted a few strings that were missing internationalization support.

gdb/ChangeLog:

* cli/cli-dump.c (srec_dump_command): Add internationalization
mark ups.
(ihex_dump_command): Likewise.
(tekhex_dump_command): Likewise.
(binary_dump_command): Likewise.
(binary_append_command): Likewise.

gdb/ChangeLog
gdb/cli/cli-dump.c

index 5898ec98c35f31d2fefa944d3553a0b12c6b8eda..7e16be14d7627d15793fe9adc1e471041cce2c4e 100644 (file)
@@ -1,3 +1,12 @@
+2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-dump.c (srec_dump_command): Add internationalization
+       mark ups.
+       (ihex_dump_command): Likewise.
+       (tekhex_dump_command): Likewise.
+       (binary_dump_command): Likewise.
+       (binary_append_command): Likewise.
+
 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * cli/cli-dump.c (verilog_cmdlist): New variable.
index 08ff941f81e5e9682f0c1b2990d52d6714b75317..2449dc5d89cadf1bf4d1a235767cdb023756da91 100644 (file)
@@ -637,14 +637,14 @@ restore_command (char *args_in, int from_tty)
 static void
 srec_dump_command (char *cmd, int from_tty)
 {
-  printf_unfiltered ("\"dump srec\" must be followed by a subcommand.\n");
+  printf_unfiltered (_("\"dump srec\" must be followed by a subcommand.\n"));
   help_list (srec_cmdlist, "dump srec ", all_commands, gdb_stdout);
 }
 
 static void
 ihex_dump_command (char *cmd, int from_tty)
 {
-  printf_unfiltered ("\"dump ihex\" must be followed by a subcommand.\n");
+  printf_unfiltered (_("\"dump ihex\" must be followed by a subcommand.\n"));
   help_list (ihex_cmdlist, "dump ihex ", all_commands, gdb_stdout);
 }
 
@@ -658,21 +658,21 @@ verilog_dump_command (char *cmd, int from_tty)
 static void
 tekhex_dump_command (char *cmd, int from_tty)
 {
-  printf_unfiltered ("\"dump tekhex\" must be followed by a subcommand.\n");
+  printf_unfiltered (_("\"dump tekhex\" must be followed by a subcommand.\n"));
   help_list (tekhex_cmdlist, "dump tekhex ", all_commands, gdb_stdout);
 }
 
 static void
 binary_dump_command (char *cmd, int from_tty)
 {
-  printf_unfiltered ("\"dump binary\" must be followed by a subcommand.\n");
+  printf_unfiltered (_("\"dump binary\" must be followed by a subcommand.\n"));
   help_list (binary_dump_cmdlist, "dump binary ", all_commands, gdb_stdout);
 }
 
 static void
 binary_append_command (char *cmd, int from_tty)
 {
-  printf_unfiltered ("\"append binary\" must be followed by a subcommand.\n");
+  printf_unfiltered (_("\"append binary\" must be followed by a subcommand.\n"));
   help_list (binary_append_cmdlist, "append binary ", all_commands,
             gdb_stdout);
 }