Author: batiste.bieler
Date: Tue Apr 28 01:57:08 2009
New Revision: 482
Modified:
trunk/example/settings.py
Log:
Add a little bit of doc
Modified: trunk/example/settings.py
==============================================================================
--- trunk/example/settings.py (original)
+++ trunk/example/settings.py Tue Apr 28 01:57:08 2009
@@ -104,7 +104,10 @@
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'
+# This is defined here as a do-nothing function because we can't import
+# django.utils.translation -- that module depends on the settings.
gettext_noop = lambda s: s
+
# language you want to into the CMS
PAGE_LANGUAGES = (
('de', gettext_noop('German')),
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---