65 lines
3.5 KiB
XML
65 lines
3.5 KiB
XML
<?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 colspan="4" col="8">
|
|
<group colspan="1">
|
|
<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" colspan="1" rowspan="12"/>
|
|
<group colspan="6">
|
|
<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>
|
|
<group colspan="8" col="8" states="init">
|
|
<separator string="" colspan="8"/>
|
|
<label colspan="6" width="220"/>
|
|
<button special="cancel" string="Cancel" icon="gtk-cancel" colspan="1"/>
|
|
<button name="lang_install" string="Load" type="object" icon="gtk-ok" colspan="1"/>
|
|
</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>
|
|
</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>
|
|
|