[Checkins] SVN: z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18n cleanup
Roger Ineichen
roger at projekt01.ch
Mon Sep 8 20:17:52 EDT 2008
Log message for revision 90976:
cleanup
Changed:
U z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nextract.py
U z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nmergeall.py
-=-
Modified: z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nextract.py
===================================================================
--- z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nextract.py 2008-09-09 00:06:12 UTC (rev 90975)
+++ z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nextract.py 2008-09-09 00:17:52 UTC (rev 90976)
@@ -132,19 +132,11 @@
# setup pot maker
maker = POTMaker(output_file, '')
-#package: 'src\\p01\\feed'
-#base: 'd:\\svnp01\\packages\\p01.locales\\trunk\\externals\\p01.feed\\'
-#path: 'd:\\svnp01\\packages\\p01.locales\\trunk\\externals\\p01.feed\\src\\p01\\feed'
-
-#package: 'd:\\home\\.buildout\\eggs\\z3c.contents-0.5.0-py2.4.egg\\z3c\\contents'
-#base: 'd:\\home\\.buildout\\eggs\\z3c.contents-0.5.0-py2.4.egg\\z3c\\contents'
-#path: 'd:\\home\\.buildout\\eggs\\z3c.contents-0.5.0-py2.4.egg\\z3c\\contents'
-
# add maker for each given path
for pkgName, path in eggPaths:
srcIdx = path.rfind('src')
if srcIdx == -1:
- # this is a egg package, strip down base path
+ # this is an egg package, strip down base path
basePath = path
moduleNames = pkgName.split('.')
moduleNames.reverse()
Modified: z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nmergeall.py
===================================================================
--- z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nmergeall.py 2008-09-09 00:06:12 UTC (rev 90975)
+++ z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/i18nmergeall.py 2008-09-09 00:17:52 UTC (rev 90976)
@@ -44,10 +44,6 @@
for language in os.listdir(path):
lc_messages_path = os.path.join(path, language, 'LC_MESSAGES')
- # English is the default for Zope, so ignore it
- #if language == 'en':
- # continue
-
# Make sure we got a language directory
if not os.path.isdir(lc_messages_path):
continue
More information about the Checkins
mailing list