Logo Search packages:      
Sourcecode: zope-localizer version File versions  Download package

def Localizer::Localizer::Localizer::manage_options (   self  ) 

The manage options are defined here so they can be translated

Definition at line 76 of file Localizer.py.

00076                             :
        """The manage options are defined here so they can be translated"""

        if self.need_upgrade():
            options = ({'label': 'Upgrade', 'action': 'manage_upgradeForm',
                        'help': ('Localizer', 'Localizer_upgrade.stx')},)
        else:
            options = ()

        options = options \
                  + (Folder.manage_options[0],) \
                  + LanguageManager.manage_options \
                  + Folder.manage_options[1:]

        r = []
        for option in options:
            option = option.copy()
            option['label'] = _(option['label'])
            r.append(option)

        return r


    def __init__(self, title, languages):


Generated by  Doxygen 1.6.0   Back to index