[GRASS-dev] Re: [GRASS GIS] #944: menudata.py: strip out & key shortcut hint

GRASS GIS trac at osgeo.org
Tue Feb 16 06:29:40 EST 2010


#944: menudata.py: strip out & key shortcut hint
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  normal  |   Milestone:  7.0.0                    
 Component:  wxGUI   |     Version:  svn-trunk                
Resolution:          |    Keywords:  menudata.py, synopsis    
  Platform:  All     |         Cpu:  All                      
---------------------+------------------------------------------------------
Comment (by hamish):

 > Is there some reason why they should be stripped out?

 yes, the menudata.py "commands" option is used to generate a list of all
 modules and their menu position in a flat ascii file for later parsing by
 the module_synopsis script. the resulting PDF and html synopses, and
 furutre module man page menu location text if full of meaningless "&"s if
 they aren't stripped out.

 menudata.py's `__PrintCommandsItems` seems the most obvious place to do it
 (as close to the source of the problem as possible), unless there are any
 i18n needs etc. wheich require them to stay.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/944#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list