Re: message formatting and i18n

2005-02-07 Thread Andrew V. Samoilov
Hello, Roland! This patch fixes "too many arguments for format" warning and eliminates g_string_*() at all. -- Regards, Andrew V. Samoilov GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua Join BCS today! For your FREE webmail, v

Re: message formatting and i18n

2005-02-07 Thread Andrew V. Samoilov
Hi Roland, > > 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, it is step in right direction,

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, + _("

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