From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Puw4A-0001oe-Td for garchives@archives.gentoo.org; Thu, 03 Mar 2011 00:06:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D8361C024; Thu, 3 Mar 2011 00:06:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0DB0E1C01A for ; Thu, 3 Mar 2011 00:06:18 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 697D91B40FE for ; Thu, 3 Mar 2011 00:06:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C08808005E for ; Thu, 3 Mar 2011 00:06:17 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <99168bbfeffd2f583a184a9d919a4874571900b7.robbat2@gentoo> Subject: [gentoo-commits] proj/gentoo-ads-config:master commit in: / X-VCS-Repository: proj/gentoo-ads-config X-VCS-Files: settings.py X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 99168bbfeffd2f583a184a9d919a4874571900b7 Date: Thu, 3 Mar 2011 00:06:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: feb5c4ed2d4edc92897f32e1673aaed5 commit: 99168bbfeffd2f583a184a9d919a4874571900b7 Author: root bittern gentoo org> AuthorDate: Tue Dec 14 22:23:42 2010 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Dec 14 22:23:42 2010 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoo-ads-co= nfig.git;a=3Dcommit;h=3D99168bbf Enable translation code, and give quantumsummers the debug email. --- settings.py | 10 +++++++++- 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 =3D ads_module.ads ADS_IMAGES_DIR =3D os.path.join(os.path.dirname(CONFIG_PATH), 'images') #ADS_IMAGES_DIR =3D "/var/www/ads.gentoo.org/htdocs/media" =20 +## These are the translateable keys in the ads_struct. +TRANS_KEYS =3D ('html', 'title', 'text') + +#default language for ads +DEFAULT_ADS_LANG =3D 'en' + DEBUG =3D False TEMPLATE_DEBUG =3D DEBUG SEND_BROKEN_LINK_EMAILS =3D False +SERVER_EMAIL =3D 'root@gentoo.org' =20 ## this will email errors when DEBUG=3DFALSE ADMINS =3D ( - ('Infrastructure', 'root@gentoo.org') + ('Infrastructure', 'root@gentoo.org'), + ('Matthew Summers', 'quantumsummers@gentoo.org') #('Your Name', 'your_email@domain.com'), ) =20