EduploneTypes/types EduploneQTIAnswer.py,1.4,1.5

Bernhard Snizek <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneTypes/types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30977

Modified Files:
	EduploneQTIAnswer.py 
Log Message:
i18n tagged the file

Index: EduploneQTIAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTypes/types/EduploneQTIAnswer.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** EduploneQTIAnswer.py	6 Aug 2004 16:24:36 -0000	1.4
--- EduploneQTIAnswer.py	19 Nov 2004 14:03:14 -0000	1.5
***************
*** 29,33 ****
          required=0,
          widget=TextAreaWidget(label="Answer for the question",
!                               description = "Enter the answer for the Question"),
      ),
  
--- 29,36 ----
          required=0,
          widget=TextAreaWidget(label="Answer for the question",
!                               label_msgid = "label_answertext",
!                               description = "Enter the answer for the Question",
!                               description_msgid = "help_answertext",
!                               i18n_domain = "eduplonetypes",)
      ),
  
***************
*** 38,52 ****
              ('false', u'false'),
          )),
!             widget = SelectionWidget(label='Answer correct?',
!                                      description = "Enter if the answer is correct or not"),
      ),
!     
      ImageField('Image',
          widget=ImageWidget(description = "Select the image to be added by clicking the 'Browse' button.",
!                 description_msgid = "help_image",
!                 label= "Illustrating image",
!                 label_msgid = "label_image")
      ),
-     ),        
      marshall=PrimaryFieldMarshaller(),
  )
--- 41,61 ----
              ('false', u'false'),
          )),
!             widget = SelectionWidget(label = "Answer correct?",
!                                      label_msgid = "label_qtianswer_correct",
!                                      description = "Enter if the answer is correct or not",
!                                      description_msgid = "help_qtianswer_correct",
!                                      i18n_domain = "eduplonetypes"
!             ),
      ),
! 
      ImageField('Image',
          widget=ImageWidget(description = "Select the image to be added by clicking the 'Browse' button.",
!                            description_msgid = "help_image",
!                            label = "Illustrating image",
!                            label_msgid = "label_image",
!                            i18n_domain = "eduplonetypes"
!         )
!     ),
      ),
      marshall=PrimaryFieldMarshaller(),
  )
***************
*** 60,65 ****
      schema = BaseContent.schema + schema
      archetype_name = "Multiple Choice Answer (eduplone)"
!     
!     # FTI start        
      portal_type          = meta_type = "eduplone QTI Answer"
      global_allow         = 0
--- 69,74 ----
      schema = BaseContent.schema + schema
      archetype_name = "Multiple Choice Answer (eduplone)"
! 
!     # FTI start
      portal_type          = meta_type = "eduplone QTI Answer"
      global_allow         = 0



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.