Commits

Zhang Huangbin committed e5ce58d

Track language to help improve i18n.

  • Participants
  • Parent commits eb8bc3a

Comments (0)

Files changed (4)

 = 0.1.9 =
     * Fixed:
         + Didn't remove SQL records of real-time mailbox quota while deleting 
-          mail users.
+          mail domain or user.
 
 = 0.1.8 =
     * Fixed:

controllers/ldap/basic.py

                         'v': __version_ose__,
                         'o': __no__,
                         'f': __id__,
+                        'lang': cfg.general.get('lang', ''),
                         'host': getfqdn(),
                         'backend': cfg.general.get('backend', ''),
                     }

controllers/mysql/basic.py

                         'v': __version_ose__,
                         'o': __no__,
                         'f': __id__,
+                        'lang': cfg.general.get('lang', ''),
                         'host': getfqdn(),
                         'backend': cfg.general.get('backend', ''),
                     }

controllers/pgsql/basic.py

 session = web.config.get('_session')
 
 
-if session.get('enableAmavisdQuarantine') or session.get('enableAmavisdLoggingIntoSQL'):
-    from libs.amavisd import quarantine, log as amavisdlog
-
-
 class Login:
     def GET(self):
         if session.get('logged') is False:
                         'v': __version_ose__,
                         'o': __no__,
                         'f': __id__,
+                        'lang': cfg.general.get('lang', ''),
                         'host': getfqdn(),
                         'backend': cfg.general.get('backend', ''),
                     }