diff options
| author | Christophe Simonis <chs@tinyerp.com> | 2008-08-25 00:04:49 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@tinyerp.com> | 2008-08-25 00:04:49 +0200 |
| commit | bd0cb14602091a9ae003f241f849e015d1fb9a68 (patch) | |
| tree | c00ca9d9e21c89fef0be5181dfcf9190f4149407 /bin/addons/base/module/module_wizard.xml | |
| parent | 6b1a162bc1df7feafdc741a8dbc211d564caf4d7 (diff) | |
add a wizard for updating translations terms
bzr revid: chs@tinyerp.com-20080824220449-fby5txrm1s5hzarm
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 e24f597b582..536b2f01648 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> |
