[Idle-dev] Forking Idle - translating menus, etc.

Andre Roberge andre.roberge at gmail.com
Tue May 28 19:37:35 EDT 2019


Translation is *almost* working perfectly.  There are two exceptions that
are raised which I do not understand. Currently, I just ignore them and, as
far as I can tell, everything still works.
I've tried to figure out what is going on and I did not manage to do it.

The code is in the following branch
https://github.com/aroberge/cpython/tree/idle-translation-dev which has a
total of 3 commits.

The error I got are the following:

bad menu entry index "*Code Context"
menu =  options ;index =  *Code Context ;state =  disabled
menuitem =  .!menu.options

 bad menu entry index "* Height"
inside zoom_height_event
menu="options", index="* Height", label = RESTORE HEIGHT

 bad menu entry index "* Height"
inside zoom_height_event
menu="options", index="* Height", label = ZOOM Height

They all include an asterisk in the index. I'm guessing it has a special
meaning but I couldn't figure it out.

# The first one occurs in update_menu_state in editor.py -- sorry, I forgot
to log the information. The others occur in zoomheight.py

André Roberge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/idle-dev/attachments/20190528/2f65ad05/attachment.html>


More information about the IDLE-dev mailing list