[GRASS-dev] Re: [GRASS GIS] #296: wrong translations break wxGUI

GRASS GIS trac at osgeo.org
Sun Sep 7 19:26:44 EDT 2008


#296: wrong translations break wxGUI
-----------------------+----------------------------------------------------
  Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  major     |   Milestone:  6.4.0                    
 Component:  default   |     Version:  svn-develbranch6         
Resolution:            |    Keywords:                           
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by glynn):

 In 7.x, GRASS itself (i.e. libgis) only cares that there are three parts
 (i.e. two commas), and whether or not the first part is "new" (which
 affects whether an overwrite check is performed, and whether the
 --overwrite option is shown).

 In earlier versions, it's also used for terminal-based prompting, and must
 have the form age,element,prompt. The age must be one of old, new, mapset,
 any, old_file, new_file or color, and affects which G_ask_* function is
 used to obtain input interactively from the terminal. The element part is
 used to check whether the user's answer is valid, and to list available
 options; it should be a valid element type.

 IOW, GISPROMPT_COLOR should really be of the form color,?,?.

 Beyond that, we need to give some thought to re-designing the type system.
 The type, gisprompt, multiple, key_desc and options fields should all be
 merged into a more flexible type system.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/296#comment:9>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list