diff MoinMoin/i18n/__init__.py @ 3067:7fa08b9b8a90

adjusting log levels (ported from 1.6)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 22 Feb 2008 17:28:21 +0100
parents c242772754c5
children 18cba7defa5a
line wrap: on
line diff
--- a/MoinMoin/i18n/__init__.py	Thu Feb 21 21:40:46 2008 +0100
+++ b/MoinMoin/i18n/__init__.py	Fri Feb 22 17:28:21 2008 +0100
@@ -272,6 +272,7 @@
             # if we don't find an english "translation", we just format it
             # on the fly (this is needed for cfg.editor_quickhelp).
             if lang != 'en':
+                logging.debug("i18n: fallback to english, requested string not in %r translation: %r" % (lang, original))
                 translated = getText(original, request, 'en', formatted)
             elif formatted:
                 translated = translations[lang].formatMarkup(request, original)