aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@bittern.gentoo.org>2010-12-14 22:23:42 +0000
committerroot <root@bittern.gentoo.org>2010-12-14 22:23:42 +0000
commit99168bbfeffd2f583a184a9d919a4874571900b7 (patch)
treec6fcf142fdaa72ceef6fc7aa62dc840f77afb1ce
parentFix string for DedicatedNOW. (diff)
downloadgentoo-ads-config-99168bbfeffd2f583a184a9d919a4874571900b7.tar.gz
gentoo-ads-config-99168bbfeffd2f583a184a9d919a4874571900b7.tar.bz2
gentoo-ads-config-99168bbfeffd2f583a184a9d919a4874571900b7.zip
Enable translation code, and give quantumsummers the debug email.
-rw-r--r--settings.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 8fdd049..1c756fa 100644
--- a/settings.py
+++ b/settings.py
@@ -35,13 +35,21 @@ ADS_STRUCT = ads_module.ads
ADS_IMAGES_DIR = os.path.join(os.path.dirname(CONFIG_PATH), 'images')
#ADS_IMAGES_DIR = "/var/www/ads.gentoo.org/htdocs/media"
+## These are the translateable keys in the ads_struct.
+TRANS_KEYS = ('html', 'title', 'text')
+
+#default language for ads
+DEFAULT_ADS_LANG = 'en'
+
DEBUG = False
TEMPLATE_DEBUG = DEBUG
SEND_BROKEN_LINK_EMAILS = False
+SERVER_EMAIL = 'root@gentoo.org'
## this will email errors when DEBUG=FALSE
ADMINS = (
- ('Infrastructure', 'root@gentoo.org')
+ ('Infrastructure', 'root@gentoo.org'),
+ ('Matthew Summers', 'quantumsummers@gentoo.org')
#('Your Name', 'your_email@domain.com'),
)