summaryrefslogtreecommitdiff
path: root/docs/narr/MyProject
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-04-25 00:02:12 +0000
committerChris McDonough <chrism@agendaless.com>2010-04-25 00:02:12 +0000
commit7534bae0c5eeb34a0146e76a81a9312797f6ba5c (patch)
tree15d3fd388eb3c5538c50da20c3691a9f39ca6de3 /docs/narr/MyProject
parent51981a128c7ed05e51938a3f358c0970dcc33a6f (diff)
downloadpyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.tar.gz
pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.tar.bz2
pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.zip
Merge i18n branch via svn merge --ignore-ancestry -r9030:9150 $REPOZE_SVN/repoze.bfg/branches/i18n
No foreigners were harmed in the coding of this feature.
Diffstat (limited to 'docs/narr/MyProject')
-rw-r--r--docs/narr/MyProject/MyProject.ini1
-rw-r--r--docs/narr/MyProject/setup.cfg27
2 files changed, 28 insertions, 0 deletions
diff --git a/docs/narr/MyProject/MyProject.ini b/docs/narr/MyProject/MyProject.ini
index f5d094dff..38cbf879c 100644
--- a/docs/narr/MyProject/MyProject.ini
+++ b/docs/narr/MyProject/MyProject.ini
@@ -6,6 +6,7 @@ use = egg:MyProject#app
reload_templates = true
debug_authorization = false
debug_notfound = false
+default_locale_name = en
[server:main]
use = egg:Paste#http
diff --git a/docs/narr/MyProject/setup.cfg b/docs/narr/MyProject/setup.cfg
new file mode 100644
index 000000000..de38b5616
--- /dev/null
+++ b/docs/narr/MyProject/setup.cfg
@@ -0,0 +1,27 @@
+[nosetests]
+match=^test
+nocapture=1
+cover-package=myproject
+with-coverage=1
+cover-erase=1
+
+[compile_catalog]
+directory = myproject/locale
+domain = MyProject
+statistics = true
+
+[extract_messages]
+add_comments = TRANSLATORS:
+output_file = myproject/locale/MyProject.pot
+width = 80
+
+[init_catalog]
+domain = MyProject
+input_file = myproject/locale/MyProject.pot
+output_dir = myproject/locale
+
+[update_catalog]
+domain = MyProject
+input_file = myproject/locale/MyProject.pot
+output_dir = myproject/locale
+previous = true