Re: message formatting and i18n

2005-02-06 Thread Roland Illig
Oswald Buddenhagen wrote: On Sun, Feb 06, 2005 at 04:18:51PM +0100, Roland Illig wrote: + g_string_sprintf (errmsg, _(" Cannot open pip for reading: %s "), p); somehow "pip" looks wrong to me. :) - catstrs (_(" Not an ordinary file: "), filename, + _("

separating interface and implementation

2005-02-06 Thread Roland Illig
Hi all, I would like to have some clean interfaces in the Midnight Commander. To realize this, I would like to split some headers (dialog.h, widget.h) into an interface part, which exports only the type names (WButton), but not the implementation (struct WButton). It would look like: widget.h:

Re: message formatting and i18n

2005-02-06 Thread Oswald Buddenhagen
On Sun, Feb 06, 2005 at 04:18:51PM +0100, Roland Illig wrote: > + g_string_sprintf (errmsg, _(" Cannot open pip for reading: %s "), > p); > somehow "pip" looks wrong to me. :) > -catstrs (_(" Not an ordinary file: "), filename, > + _(" %s is not an ordinary

message formatting and i18n

2005-02-06 Thread Roland Illig
Hi all, some messages in the Midnight Commander don't translate well to other languages because the string is concatenated manually, like in src/ext.c, line 486. I started to fix some of these in mcedit. How do you feel about the new code? Well, one thing is not too nice about it: The assignme

Missing quoting in extfs in pre3

2005-02-06 Thread Leonard den Ottolander
Hi, Attached quote fixing hunks are missing from pre3. The urar hunks should definitely be committed. Not sure if we need the fixes to uzip in pre. Leonard. -- mount -t life -o ro /dev/dna /genetic/research diff -pruN tmp1/urar.in tmp2/urar.in --- tmp1/urar.in 2004-08-23 15:44:20.0