[Checkins] SVN: grokproject/trunk/ Update history.
Uli Fouquet
uli at gnufix.de
Sun Sep 21 19:49:53 EDT 2008
Log message for revision 91298:
Update history.
Changed:
U grokproject/trunk/CHANGES.txt
U grokproject/trunk/tests.txt
-=-
Modified: grokproject/trunk/CHANGES.txt
===================================================================
--- grokproject/trunk/CHANGES.txt 2008-09-21 23:49:15 UTC (rev 91297)
+++ grokproject/trunk/CHANGES.txt 2008-09-21 23:49:53 UTC (rev 91298)
@@ -4,6 +4,9 @@
0.9 (unreleased)
----------------
+* grokproject now uses `z3c.recipe.i18n` instead of `lovely.recipe`
+ for generation of i18n-scripts.
+
* At the end of the bootstrap.py of the generated project we now give
the user a hint that he can run bin/buildout.
Modified: grokproject/trunk/tests.txt
===================================================================
--- grokproject/trunk/tests.txt 2008-09-21 23:49:15 UTC (rev 91297)
+++ grokproject/trunk/tests.txt 2008-09-21 23:49:53 UTC (rev 91298)
@@ -16,7 +16,7 @@
/.../bin/paster create -t grok grokexample user=a passwd=a --no-interactive
...
-Let's check the contents
+Let's check the contents::
>>> package_dir = os.path.join(tempdir, 'grokexample')
>>> ls(package_dir)
@@ -40,3 +40,22 @@
ftesting.zcml
static
tests.py
+
+ >>> bin_dir = os.path.join(package_dir, 'bin')
+ >>> ls(bin_dir)
+ buildout...
+ i18nextract...
+ i18nmergeall...
+ i18nstats...
+ test...
+ zopectl...
+
+We can create a POT file out of our sources using the freshly
+generated `i18nextract`::
+
+ >>> cmd = os.path.join(bin_dir, 'i18nextract')
+ >>> output = read_sh(cmd)
+ >>> print output
+ domain:...'grokexample'
+ ...
+ output: '...grokexample.pot'
More information about the Checkins
mailing list