This is the mail archive of the gdb-patches@sources.redhat.com 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: i18n, part 2


Hello Daniel,

On Sat, Dec 04, 2004 at 03:06:05PM -0500, Daniel Jacobowitz wrote:
> >   The text "\
> > When off, a 26-bit PC will be used.\n\
> > When off, a 26-bit PC will be used." looked strange to me, is it
> >   indended to be so?
> 
> When the help_doc argument was added to this function, a lot of uses
> were converted in batch.  It looks like this one was just a typo.

Ok, I removed the second line.


> > -			      "arm_elf_osabi_sniffer: Unknown ARM EABI "
> > -			      "version 0x%x", eflags);
> > +			      _("arm_elf_osabi_sniffer: Unknown ARM EABI \
> > +version 0x%x"), eflags);
> 
> GDB is already inconsistent about this, but does the "" "" style of
> string concatenation cause any problem for gettext?

Hmm, it did the last time I tried it, but 0.14.1-6 seems to work as
expected. I modified the patch.


> Otherwise, I mildly prefer it - it prevents diff -p from getting
> confused about the function name.

I also prefer the "" "" concatenation just for aesthetic reasons. But I
couldn't reproduce the behaviour you describe; could you give an
example? I tend to consider this a bug.


BTW, is there an argument reformatting function in emacs, so that, say,
M-q would wrap the arguments and strings up to fill-column?


With kind regards,
Baurjan.


2004-12-04  Baurjan Ismagulov  <ibr@ata.cs.hun.edu.tr>

	* ada-valprint.c, aix-thread.c, alpha-nat.c, alphabsd-nat.c,
	alphanbsd-tdep.c, amd64-linux-nat.c, amd64-tdep.c,
	amd64bsd-nat.c, amd64fbsd-nat.c, arch-utils.c, arm-linux-nat.c,
	arm-tdep.c, armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c:
	i18n markup.

Attachment: gdb-ibr-i18n-02-20041204-2214.diff
Description: Text document


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