equal
deleted
inserted
replaced
301 import yams |
301 import yams |
302 from logilab.common.fileutils import ensure_fs_mode |
302 from logilab.common.fileutils import ensure_fs_mode |
303 from logilab.common.shellutils import globfind, find, rm |
303 from logilab.common.shellutils import globfind, find, rm |
304 from logilab.common.modutils import get_module_files |
304 from logilab.common.modutils import get_module_files |
305 from cubicweb.i18n import extract_from_tal, execute |
305 from cubicweb.i18n import extract_from_tal, execute |
306 tempdir = tempfile.mkdtemp() |
306 tempdir = tempfile.mkdtemp(prefix='cw-') |
307 cwi18ndir = WebConfiguration.i18n_lib_dir() |
307 cwi18ndir = WebConfiguration.i18n_lib_dir() |
308 print '-> extract schema messages.' |
308 print '-> extract schema messages.' |
309 schemapot = osp.join(tempdir, 'schema.pot') |
309 schemapot = osp.join(tempdir, 'schema.pot') |
310 potfiles = [schemapot] |
310 potfiles = [schemapot] |
311 potfiles.append(schemapot) |
311 potfiles.append(schemapot) |