I am writting a program in gtkmm. Code that creates menu items typically looks like this:
menulist.push_back( Gtk::Menu_Helpers::MenuElem("_Edit",
sigc::mem_fun(*this, &TreeView_WithPopup::on_menu_file_popup_generic)=
) );
menulist.push_back( Gtk::Menu_Helpers::MenuElem("_Process",
sigc::mem_fun(*this, &TreeView_WithPopup::on_menu_file_popup_generic)=
) );
menulist.push_back( Gtk::Menu_Helpers::MenuElem("_Remove",
sigc::mem_fun(*this, &TreeView_WithPopup::on_menu_file_popup_generic)=
) );
The character "_" in menu element names means that the character
following will be a keyboard shortcut. But these characters must
not be duplicated for a given menu.
Do translators know how "_" is used to define shortcuts and how to
choose "_" character to avoid duplications?
What comments are appropriate to inform translators what is going on?
Any sample code with appropriate comments?
--
Paul Elliott 1(512)837-1096
[EMAIL PROTECTED] PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
pgptEbIrtEYfV.pgp
Description: PGP signature

