This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't give spurious warnings when using thread specific breakpoints


> Date: Thu, 19 Oct 2006 10:46:41 +0100
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: gdb-patches@sourceware.org
> 
> Of course, if they are translating without any reference to the context 
> in which it is displayed, and without being programmers, then I suspect 
> the translation would read rather like a Chinese road sign.

As I wrote, most translators are not programmers, and should not be
required to read the code.  It is best if the message phrase speaks
for itself; if not, gettext lets you put the explanation of the
context into specially-formatted comments that are copied into the
message catalog next to the message itself.  The translators will then
realize the context from those comments.

> No, you misunderstand the code. There can be an arbitrary number 
> breakpoints, each of which can have zero, one or two annotations, and 
> they are all presented as one message.

I was trying to give an example, so the question is: did I succeed to
explain how to resolve these issues?  If not, please show me several
examples of the output that this code produces now, and I will modify
my counter-example accordingly.

TIA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]