diff options
| author | Stephane Wirtel <stephane@tinyerp.com> | 2008-11-18 16:21:53 +0100 |
|---|---|---|
| committer | Stephane Wirtel <stephane@tinyerp.com> | 2008-11-18 16:21:53 +0100 |
| commit | 681f77aa0ca2167e2c4af978ecfaf050cbce6fd3 (patch) | |
| tree | 42c9235261a0c87f3072a96756d10aa8e777a297 /bin/tools | |
| parent | c7edb76980c9c9af9b610f605ac5522dc3099d33 (diff) | |
[FIX] Use get_languages instead of scan_languages ( Sorry, It is my fault )
lp bug: https://launchpad.net/bugs/299433 fixed
bzr revid: stephane@tinyerp.com-20081118152153-dim22dfbj5i8pg4u
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/translate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tools/translate.py b/bin/tools/translate.py index 8c535f7314e..c5630d7bcff 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -506,7 +506,7 @@ def trans_load_data(db_name, fileobj, fileformat, lang, strict=False, lang_name= if not ids: if not lang_name: lang_name=lang - languages=tools.scan_languages() + languages=tools.get_languages() lang_name = languages.get(lang, lang) ids = lang_obj.create(cr, uid, { 'code': lang, |
