diff options
| author | Christophe Simonis <christophe@tinyerp.com> | 2008-09-04 15:54:32 +0200 |
|---|---|---|
| committer | Christophe Simonis <christophe@tinyerp.com> | 2008-09-04 15:54:32 +0200 |
| commit | 09de5a26fdb1126bf8e7c1b311967b2e14acaa3d (patch) | |
| tree | 7fb093033ae9143f61ec400b1569a444db42adb3 /bin/tools | |
| parent | b30f507f972e91fcab3b07374c8afc1b419947db (diff) | |
the translations are now by modules
there are stored in a "i18n" folder of each module
bzr revid: christophe@tinyerp.com-20080904135432-5lxn2lisw4yqlevl
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tools/misc.py b/bin/tools/misc.py index d0cc7398bed..32d58ff5ae1 100644 --- a/bin/tools/misc.py +++ b/bin/tools/misc.py @@ -638,7 +638,7 @@ def get_languages(): def scan_languages(): import glob - file_list = [os.path.splitext(os.path.basename(f))[0] for f in glob.glob(os.path.join(config['root_path'], 'i18n', '*.csv'))] + file_list = [os.path.splitext(os.path.basename(f))[0] for f in glob.glob(os.path.join(config['addons_path'], 'base', 'i18n', '*.po'))] lang_dict = get_languages() return [(lang, lang_dict.get(lang, lang)) for lang in file_list] |
