Changeset 9323


Ignore:
Timestamp:
9 Oct 2012, 13:53:08 (12 years ago)
Author:
Henrik Bettermann
Message:

Some fine tuning.

File:
1 edited

Legend:

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

    r9322 r9323  
    875875        return importers
    876876
    877     def _notifyImportManagers(self, normalized_filename, importer, import_mode):
     877    def _notifyImportManagers(self, filename,
     878        normalized_filename, importer, import_mode):
    878879        """Send email to Import Managers
    879880        """
     
    887888            header = line[0]
    888889            data = str(line[1:]).strip('[').strip(']')
    889             mail_table += '%s: %s\n' % (line[0], data)
     890            mail_table += '%s: %s ...\n' % (line[0], data)
    890891        # Collect all recipient addresses
    891892        kofa_utils = getUtility(IKofaUtils)
     
    907908            rcpt_name = _('Import Manager')
    908909            subject = translate(
    909                       _('${a} Upload', mapping = {'a':config.acronym}),
     910                      _('${a}: ${b} uploaded',
     911                      mapping = {'a':config.acronym, 'b':filename}),
    910912                      'waeup.kofa',
    911913                      target_language=kofa_utils.PORTAL_LANGUAGE)
    912914            text = _("""File: ${a}
    913 Processor: ${b}
     915Importer: ${b}
    914916Import Mode: ${c}
    915917Datasets: ${d}
     
    963965            ob_class = self.__implemented__.__name__.replace('waeup.kofa.','')
    964966            logger.info('%s - uploaded: %s' % (ob_class, target))
    965             self._notifyImportManagers(
     967            self._notifyImportManagers(filename,
    966968                normalized_filename, importer, import_mode)
    967969
Note: See TracChangeset for help on using the changeset viewer.