projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fda5aae
)
CLIENT,SERVER: improve language
author
ced
<>
Wed, 20 Jun 2007 05:54:26 +0000
(
05:54
+0000)
committer
ced
<>
Wed, 20 Jun 2007 05:54:26 +0000
(
05:54
+0000)
- use lang of the context for the language of the client and store it in the .terprc
- change en_EN in en_US which is the standard
bzr revid: ced-
db0f2cdf1bd1bd43f2d82660ccec9fd841f9b292
addons/base_setup/wizard/wizard_base_setup.py
patch
|
blob
|
history
diff --git
a/addons/base_setup/wizard/wizard_base_setup.py
b/addons/base_setup/wizard/wizard_base_setup.py
index
ed51c50
..
4abb18c
100644
(file)
--- a/
addons/base_setup/wizard/wizard_base_setup.py
+++ b/
addons/base_setup/wizard/wizard_base_setup.py
@@
-218,7
+218,7
@@
class wizard_base_setup(wizard.interface):
lang_ids=lang_obj.search(cr, uid, [])
langs=lang_obj.browse(cr, uid, lang_ids)
for lang in langs:
- if lang.code and lang.code != 'en_EN':
+ if lang.code and lang.code != 'en_US':
filename=os.path.join(tools.config["root_path"], "i18n", lang.code + ".csv")
tools.trans_load(cr.dbname, filename, lang.code)
return {}