MC & GNOME russification questions



As part of "total russification" for KSI-Linux 2.0 new ru.po files was created
for both MC 4.1.36 & MC 4.5.1 (in default version a lot of messages was not
properly translated). Text version works ok, but GNOME version is other story.
Mostly built-in editor is affected: menu is translated while dialog boxes and
toolbar is not translated.

Toolbar problem is in fact GENERAL GNOME/gettext problem -- of course toolbar
is not translated just since there are not added N_() and/or _() in gtkedit.c
and/or glayout.c but interesting question is: how to do this ? For example
russian translation for word Help is "Помощь" (6 letters!), "Справка" (more
precise translation, but 7 letters) or even "Подсказка" (9 letters). In any
cases it's more, then 5 letters allowed in toolbar buttons :-((( Looks like
this will be major problem in all GNOME applications since sometimes such words
will be used in places where length has other limit (text-mode mc's buttons has
6-7 characters length while graphic ones -- only 5 characters length!) or no
limit at all... Looks like this issue could be resolved only with modifications
in gettext package itself (some tricks like used for op_names1 could used
sometimes but it's still dirty hack, not real solution). Real solution must be
some way to specify max.length for translation somehow. This way
M_("Help",GRAPHTOOLBAR) for GTK toolbar will be "Спрвк" while
M_("Help",TEXTTOOLBAR) for text-mode buttons will be "Справка" as well as
M_("Help",MENUITEM) -- here GRAPHTOOLBAR, TEXTTOOLBAR & MENUITEM will be defined
in some .h file...

Dialog messages problem is other problem. Two problems in fact. First one:
"Case &sensitive" showed "as-is" (with all "&"). Second one: _() does not work.
Why _() works just fine for menu and does not work at all for dialog boxes I'm
not know :-(( Dialog boxes called from menu in main gmc window is not affected.
Why ??? What's wrong there ?

P.S. New version of .po files attached...

P.P.S. Please Cc answers to me since I'm not subscribed on lists....

mc.ru.po.tar.bz2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]