cwctl.py
changeset 4021 280c910c8710
parent 3720 5376aaadd16b
child 4181 c79135c217df
--- a/cwctl.py	Tue Dec 08 09:45:07 2009 +0100
+++ b/cwctl.py	Tue Dec 08 10:40:12 2009 +0100
@@ -311,7 +311,7 @@
         # handle i18n files structure
         # in the first cube given
         print '-> preparing i18n catalogs'
-        from cubicweb.common import i18n
+        from cubicweb import i18n
         langs = [lang for lang, _ in i18n.available_catalogs(join(templdirs[0], 'i18n'))]
         errors = config.i18ncompile(langs)
         if errors:
@@ -666,7 +666,7 @@
         # * install new languages
         # * recompile catalogs
         # in the first componant given
-        from cubicweb.common import i18n
+        from cubicweb import i18n
         templdir = cwcfg.cube_dir(config.cubes()[0])
         langs = [lang for lang, _ in i18n.available_catalogs(join(templdir, 'i18n'))]
         errors = config.i18ncompile(langs)