message formatting and i18n

Roland Illig roland.illig at gmx.de
Sun Feb 6 15:18:51 UTC 2005


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 assignment of errmsg = ... 
while passing it as a function argument. But I don't want to allocate 
memory that I don't need.

Roland
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mcedit.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050206/c089c254/attachment.ksh>


More information about the mc-devel mailing list