Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* New ARI warning Thu Mar  3 01:53:39 UTC 2011
@ 2011-03-03  1:53 GDB Administrator
  2011-03-03  4:02 ` Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: GDB Administrator @ 2011-03-03  1:53 UTC (permalink / raw)
  To: gdb-patches

1198a1199
> gdb/utils.c:2004: gettext: _ markup: All messages should be marked up with _.
gdb/utils.c:2004:    error ("The escape sequence `\\%c' is equivalent to plain `%c',"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: New ARI warning Thu Mar  3 01:53:39 UTC 2011
  2011-03-03  1:53 New ARI warning Thu Mar 3 01:53:39 UTC 2011 GDB Administrator
@ 2011-03-03  4:02 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2011-03-03  4:02 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

> > gdb/utils.c:2004: gettext: _ markup: All messages should be marked up with _.
> gdb/utils.c:2004:    error ("The escape sequence `\\%c' is equivalent to plain `%c',"

Fixed with the attached patch....

-- 
Joel

[-- Attachment #2: utils.diff --]
[-- Type: text/x-diff, Size: 876 bytes --]

commit a302e41aea176ee6d76081823c8e86b22464aa9f
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Mar 3 07:49:15 2011 +0400

    add i18n markup in error message (utils.c:parse_escape)
    
    gdb/ChangeLog:
    
           * utils.c (parse_escape): Add i18n markup in error message.

diff --git a/gdb/utils.c b/gdb/utils.c
index 46b4612..91e6af4 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -2001,8 +2001,8 @@ parse_escape (struct gdbarch *gdbarch, char **string_ptr)
     }
 
   if (!host_char_to_target (gdbarch, c, &target_char))
-    error ("The escape sequence `\\%c' is equivalent to plain `%c',"
-	   " which has no equivalent\nin the `%s' character set.",
+    error (_("The escape sequence `\\%c' is equivalent to plain `%c',"
+	     " which has no equivalent\nin the `%s' character set."),
 	   c, c, target_charset (gdbarch));
   return target_char;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-03  4:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-03  1:53 New ARI warning Thu Mar 3 01:53:39 UTC 2011 GDB Administrator
2011-03-03  4:02 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox