[GRASS-SVN] r29540 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 30 06:50:15 EST 2007
Author: neteler
Date: 2007-12-30 06:50:14 -0500 (Sun, 30 Dec 2007)
New Revision: 29540
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
tabs renamed to be less confusing
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2007-12-30 11:49:15 UTC (rev 29539)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2007-12-30 11:50:14 UTC (rev 29540)
@@ -776,10 +776,10 @@
for task in not_hidden:
if task.get( 'required','no' ) == 'yes':
# All required go into Main, even if they had defined another guisection
- task['guisection'] = _( 'Main' )
+ task['guisection'] = _( 'Required' )
if task.get( 'guisection','' ) == '':
# Undefined guisections end up into Options
- task['guisection'] = _( 'Options' )
+ task['guisection'] = _( 'Optional' )
if not is_section.has_key(task['guisection']):
# We do it like this to keep the original order, except for Main which goes first
is_section[task['guisection']] = 1
@@ -789,7 +789,7 @@
del is_section
# Main goes first, Options goes second
- for (newidx,content) in [ (0,_( 'Main' )), (1,_('Options')) ]:
+ for (newidx,content) in [ (0,_( 'Required' )), (1,_('Optional')) ]:
if content in sections:
idx = sections.index( content )
sections[idx:idx+1] = []
More information about the grass-commit
mailing list