Author: jcater
Date: 2006-04-05 17:02:56 -0500 (Wed, 05 Apr 2006)
New Revision: 8378
Modified:
trunk/gnue-forms/src/GFParser.py
Log:
added <label for='..'> attribute so designer can know what entry a label is for
Modified: trunk/gnue-forms/src/GFParser.py
===================================================================
--- trunk/gnue-forms/src/GFParser.py 2006-04-05 14:47:32 UTC (rev 8377)
+++ trunk/gnue-forms/src/GFParser.py 2006-04-05 22:02:56 UTC (rev 8378)
@@ -312,6 +312,11 @@
'Required': True,
'Typecast': GTypecast.text,
'Description': 'The text to be displayed.' },
+ 'for': {
+ 'Required': False,
+ 'Typecast': GTypecast.name,
+ 'Description': 'If this label is for a specific object, '
+ 'name it here.' },
'alignment': {
'Typecast': GTypecast.name,
'ValueSet': {
@@ -1015,11 +1020,11 @@
#
# Different Types of Entries
#
-entryStyles = {'text': 'Text Field',
- 'listbox': 'List Box',
- 'dropdown': 'Drop Down Box',
- 'label': 'Label-like Field',
- 'checkbox': 'Check Box' }
+entryStyles = {'text': u_('Text Field'),
+ 'listbox': u_('List Box'),
+ 'dropdown': u_('Drop Down Box'),
+ 'label': u_('Label-like Field'),
+ 'checkbox': u_('Check Box') }
#######################################################
#
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue