diff options
Diffstat (limited to 'bin/addons/base/module/wizard/base_language_install_view.xml')
| -rw-r--r-- | bin/addons/base/module/wizard/base_language_install_view.xml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/bin/addons/base/module/wizard/base_language_install_view.xml b/bin/addons/base/module/wizard/base_language_install_view.xml new file mode 100644 index 00000000000..d207ea9ea29 --- /dev/null +++ b/bin/addons/base/module/wizard/base_language_install_view.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + + <record id="view_base_language_install" model="ir.ui.view"> + <field name="name">Load Official Translation</field> + <field name="model">base.language.install</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Load Official Translation"> + <group col="8"> + <group colspan="3"> + <field name="config_logo" widget="image" width="220" height="130" nolabel="1" colspan="1"/> + <newline/> + <label colspan="4" width="220" string="This wizard helps you add a new language to your OpenERP system. After loading a new language it becomes available as default interface language for users and partners."/> + <label colspan="4" width="220"/> + <label colspan="4" width="220" string="Please be patient, this operation may take a few minutes (depending on the number of modules currently installed)..."/> + <field name="state" invisible="1"/> + </group> + <separator orientation="vertical" rowspan="15"/> + <group colspan="4"> + <separator string="Load an Official Translation" colspan="4"/> + <group states="init" colspan="4"> + <field name="lang" colspan="4"/> + <field name="overwrite" colspan="4" groups="base.group_extended"/> + </group> + <group states="done" colspan="4"> + <label string="The selected language has been successfully installed. +You must change the preferences of the user and open a new menu to view the changes." colspan="4"/> + </group> + </group> + <group colspan="8" col="8" states="init"> + <separator string="" colspan="8"/> + <label colspan="6" width="220"/> + <button special="cancel" string="Cancel" icon="gtk-cancel"/> + <button name="lang_install" string="Load" type="object" icon="gtk-ok"/> + </group> + <group colspan="8" col="8" states="done"> + <separator string="" colspan="8"/> + <label colspan="7" width="220"/> + <button special="cancel" string="Close" icon="gtk-ok"/> + </group> + </group> + </form> + </field> + </record> + + <record id="action_view_base_language_install" model="ir.actions.act_window"> + <field name="name">Load Official Translation</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">base.language.install</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> + <field name="target">new</field> + </record> + + <menuitem + name="Load an Official Translation" + action="action_view_base_language_install" + id="menu_view_base_language_install" + parent="menu_translation" sequence="2"/> + </data> +</openerp> + |
