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, but I

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,

Re[2]: message formatting and i18n

2005-02-07 Thread Pavel Shirshov (pchel)
Hello Andrew, Monday, February 7, 2005, 7:26:35 PM, you wrote: AVS Hello, Roland! AVS This patch fixes too many arguments for format warning and eliminates AVS g_string_*() at all. Committed. Thx -- Best regards, Pavelmailto:[EMAIL PROTECTED]

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

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 file ),

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, + _( %s is