diff options
| author | Jean-Baptiste Aubort <jean-baptiste.aubort@camptocamp.com> | 2008-08-26 10:42:17 +0200 |
|---|---|---|
| committer | Jean-Baptiste Aubort <jean-baptiste.aubort@camptocamp.com> | 2008-08-26 10:42:17 +0200 |
| commit | 1837b36369d95dca5e3f8eb5a6219f7ace92233c (patch) | |
| tree | 2a40a89ab5090e67d16867cecdbae0201c290fc4 /bin/addons/base/module/module_wizard.xml | |
| parent | 2f76382cf943d267a77396c06cf7d6c7ca6c88ad (diff) | |
| parent | 7f51b4001487ec71e941b3f5dbd6cbdd7921e122 (diff) | |
merged with #1024 trunk
bzr revid: jean-baptiste.aubort@camptocamp.com-20080826084217-plshba1mxektp8cf
Diffstat (limited to 'bin/addons/base/module/module_wizard.xml')
| -rw-r--r-- | bin/addons/base/module/module_wizard.xml | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/bin/addons/base/module/module_wizard.xml b/bin/addons/base/module/module_wizard.xml index aee1b2c8d5d..8326d18e94b 100644 --- a/bin/addons/base/module/module_wizard.xml +++ b/bin/addons/base/module/module_wizard.xml @@ -65,6 +65,39 @@ <field name="wiz_name">module.lang.import</field> </record> <menuitem action="wizard_lang_import" id="menu_wizard_lang_import" parent="base.menu_translation" type="wizard"/> - + + <record id="wizard_lang_import" model="ir.actions.wizard"> + <field name="name">Import language</field> + <field name="wiz_name">module.lang.import</field> + </record> + <menuitem action="wizard_lang_import" id="menu_wizard_lang_import" parent="base.menu_translation" type="wizard"/> + + <record id="wizard_update_translations" model="ir.ui.view"> + <field name="name">Update Translations</field> + <field name="model">wizard.module.update_translations</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form col="3" string="Update Translations"> + <image name="gtk-dialog-info"/> + <group col="2" fill="0" height="500"> + <field name="lang" width="300"/> + </group> + <group col="2" colspan="3" fill="0"> + <button icon="gtk-cancel" name="act_cancel" special="cancel" string="Cancel" type="object"/> + <button icon="gtk-ok" name="act_update" string="Update" type="object"/> + </group> + </form> + </field> + </record> + <record id="action_wizard_update_translations" model="ir.actions.act_window"> + <field name="name">Update Translations</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">wizard.module.update_translations</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> + <field name="target">new</field> + </record> + <menuitem action="action_wizard_update_translations" id="menu_wizard_update_translations" parent="base.menu_translation"/> + </data> </terp> |
