Changeset 12087 for main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Timestamp:
- 28 Nov 2014, 16:17:38 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/document.py
r12063 r12087 64 64 def translated_state(self): 65 65 try: 66 TRANSLATED_STATES = getUtility(IDocumentsUtils).TRANSLATED_STATES 66 TRANSLATED_STATES = getUtility( 67 IDocumentsUtils).TRANSLATED_DOCUMENT_STATES 67 68 return TRANSLATED_STATES[self.state] 68 69 except KeyError: -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/utils.py
r12033 r12087 39 39 DOCMANAGE_STATES = (CREATED,) 40 40 41 TRANSLATED_ STATES = {41 TRANSLATED_DOCUMENT_STATES = { 42 42 CREATED: _('created'), 43 43 SUBMITTED: _('submitted for verification'),
Note: See TracChangeset for help on using the changeset viewer.