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

Re: menu : translate_menus problem



> I have had some problems with menu ( 1.3-2 ) when trying to translate menu
> item titles 

Me too :(

>- sometimes it does neither translate , nor print any error
> message. I tried a /etc/menu-methods/translate_menus file like this :
> 
> substitute section->section
>   System/  Apps/System/
> endtranslate
> substitute section->section
>   Games/  Apps/Games/
> endtranslate
> substitute section->section
>   XShells  Xterms
> endtranslate
> 
> Nothing happened ; The System button was left ( in both fvwm95-2 and
> pdmenu , the problem seems to be in update menus , or am I wrong ? ) ,

yes, no (the problem is update-menus, and you are not wrong).

> many games was still in section Games , and the Xshells was still Xshells.

I can reproduce the quirck about /Games, but I cannot reproduce the
Xshells one: that one works OK for me.

> When I moved "Xshells" statement to the topmost position in the file , the
> section was changed , and I got a "Xterms" button.

Ah, now I can reproduce it. I just created one big rule, instead of
those three little ones. But I added two "endtranslate/substitute" lines,
and yes, I can see it happening here too now.

> Nothing other was
> changed. The same happened when I moved the "Games" statement - all but
> two games ( why ? ) was moved to Apps/Games.

Getting stranger and stranger, indeed!

> This seems strange - is only the first statement executed ? What is wrong
> with "System" ? What may be wrong ?

I'm pretty confident it's update-menus, not you. Funny thing is that it's
still got identical bugs in 1.5-5 (the version I'm running), and in 1.3-2.

I will have to look at those bugs some day. I'm not sure when I'll find
the time to do that, but I should be able to do it before the release of
hamm.

Thanks,

-- 
joost witteveen, joostje@debian.org

My spamfilter is so good, it correctly catches 90% of incoming spam,
*including* all email from my PhD supervisor.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: