Ignore:
Timestamp:
8 Mar 2012, 22:28:46 (13 years ago)
Author:
Henrik Bettermann
Message:

KOFA -> Kofa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/objecthistory.py

    r7811 r7819  
    2222from zope.i18n import translate
    2323from zope.annotation.interfaces import IAnnotations
    24 from waeup.kofa.interfaces import IObjectHistory, IKOFAObject, IKOFAUtils
     24from waeup.kofa.interfaces import IObjectHistory, IKofaObject, IKofaUtils
    2525from waeup.kofa.utils.helpers import get_current_principal
    2626
     
    3030    """A history for objects.
    3131
    32     For any object implementing `IKOFAObject` which is annotatable,
     32    For any object implementing `IKofaObject` which is annotatable,
    3333    we provide histories. A history for such an object can be obtained
    3434    by adapting it to `IObjectHistory`.
    3535    """
    36     grok.context(IKOFAObject)
     36    grok.context(IKofaObject)
    3737    grok.implements(IObjectHistory)
    3838
     
    6868        else:
    6969            user = user.title
    70         portal_language = getUtility(IKOFAUtils).PORTAL_LANGUAGE
     70        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    7171        by = 'by'
    7272        if portal_language != 'en':
Note: See TracChangeset for help on using the changeset viewer.