[Checkins] SVN: zope.i18n/trunk/ This is a critical error.

Malthe Borch mborch at gmail.com
Fri Nov 13 06:22:55 EST 2009


Log message for revision 105595:
  This is a critical error.

Changed:
  U   zope.i18n/trunk/CHANGES.txt
  U   zope.i18n/trunk/src/zope/i18n/compile.py

-=-
Modified: zope.i18n/trunk/CHANGES.txt
===================================================================
--- zope.i18n/trunk/CHANGES.txt	2009-11-13 11:10:28 UTC (rev 105594)
+++ zope.i18n/trunk/CHANGES.txt	2009-11-13 11:22:54 UTC (rev 105595)
@@ -5,8 +5,9 @@
 3.7.2 (unreleased)
 ------------------
 
+- It's a critical error when the ``GetText`` library is unavailable
+  and compilation is required.
 
-
 3.7.1 (2009-08-07)
 ------------------
 

Modified: zope.i18n/trunk/src/zope/i18n/compile.py
===================================================================
--- zope.i18n/trunk/src/zope/i18n/compile.py	2009-11-13 11:10:28 UTC (rev 105594)
+++ zope.i18n/trunk/src/zope/i18n/compile.py	2009-11-13 11:22:54 UTC (rev 105595)
@@ -16,7 +16,7 @@
 def compile_mo_file(domain, lc_messages_path):
     """Creates or updates a mo file in the locales folder."""
     if not HAS_PYTHON_GETTEXT:
-        logger.warn("Unable to compile messages: Python `gettext` library missing.")
+        logger.critical("Unable to compile messages: Python `gettext` library missing.")
         return
 
     base = join(lc_messages_path, domain)



More information about the checkins mailing list