summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/module_wizard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'bin/addons/base/module/module_wizard.xml')
-rw-r--r--bin/addons/base/module/module_wizard.xml35
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>