From 2778c2a8a758b2f7c16ebf7789def22f3095f361 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 9 Sep 2008 00:52:36 +0200 Subject: [PATCH] Putting Some Translate=True bzr revid: fp@tinyerp.com-20080908225236-j3j9ee4chrp8sv1h --- bin/addons/base/module/module_wizard.xml | 26 +++++++++++------------- bin/addons/base/res/partner/partner.py | 2 +- bin/service/web_services.py | 1 + 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/bin/addons/base/module/module_wizard.xml b/bin/addons/base/module/module_wizard.xml index 310ce1b47f9..d789902606c 100644 --- a/bin/addons/base/module/module_wizard.xml +++ b/bin/addons/base/module/module_wizard.xml @@ -17,7 +17,7 @@ - Install new language file + Reload an Official Translation module.lang.install @@ -28,26 +28,24 @@ form
- + + - + + + + @@ -97,7 +95,7 @@ the translation group: ... They will review and integrate." align="0.0"/> - Reload Official Translations + Resynchronise Terms ir.actions.act_window wizard.module.update_translations form diff --git a/bin/addons/base/res/partner/partner.py b/bin/addons/base/res/partner/partner.py index 208b69088ea..3432cf6bde2 100644 --- a/bin/addons/base/res/partner/partner.py +++ b/bin/addons/base/res/partner/partner.py @@ -83,7 +83,7 @@ class res_partner_category(osv.osv): _description='Partner Categories' _name = 'res.partner.category' _columns = { - 'name': fields.char('Category Name', required=True, size=64), + 'name': fields.char('Category Name', required=True, size=64, translate=True), 'parent_id': fields.many2one('res.partner.category', 'Parent Category', select=True), 'complete_name': fields.function(_name_get_fnc, method=True, type="char", string='Name'), 'child_ids': fields.one2many('res.partner.category', 'parent_id', 'Childs Category'), diff --git a/bin/service/web_services.py b/bin/service/web_services.py index 401221db42a..2e02ce97da6 100644 --- a/bin/service/web_services.py +++ b/bin/service/web_services.py @@ -272,6 +272,7 @@ class db(netsvc.Service): except: res = [] db.truedb.close() + res.sort() return res def change_admin_password(self, old_password, new_password):