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

def Localizer::MessageCatalog::MessageCatalog::update_po_header (   self,
  lang,
  last_translator_name = None,
  last_translator_email = None,
  language_team = None,
  charset = None,
  REQUEST = None,
  RESPONSE = None 
)

Definition at line 395 of file MessageCatalog.py.

                                                     :
        """ """
        header = self.get_po_header(lang)

        if last_translator_name is None:
            last_translator_name = header['last_translator_name']

        if last_translator_email is None:
            last_translator_email = header['last_translator_email']

        if language_team is None:
            language_team = header['language_team']

        if charset is None:
            charset = header['charset']

        header = {'last_translator_name': last_translator_name,
                  'last_translator_email': last_translator_email,
                  'language_team': language_team,
                  'charset': charset}

        self._po_headers[lang] = header

        if RESPONSE is not None:
            RESPONSE.redirect('manage_propertiesForm')



    security.declareProtected('View management screens', 'manage_importExport')
    manage_importExport = LocalDTMLFile('ui/MC_importExport', globals())


Generated by  Doxygen 1.6.0   Back to index