[MERGE]
[odoo/odoo.git] / bin / addons / base / module / wizard / base_export_language_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="wizard_lang_export" model="ir.ui.view">
6             <field name="name">Export a Translation File</field>
7             <field name="model">base.language.export</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10                 <form string="Export language">
11                     <notebook>
12                         <page string="Export Data">
13                             <group colspan="4" states="choose">
14                                 <separator colspan="4" string="Export translation file"/>
15                                 <field name="lang" required="1"/>
16                                 <field name="format" required="1"/>
17                                 <field height="200" name="modules" nolabel="1" colspan="4"/>
18                                 <field invisible="1" name="state"/>
19                             </group>
20                             <group colspan="4" states="get">
21                                 <separator string="Export done" colspan="4"/>
22                                 <field name="name" invisible="1" colspan="4"/>
23                                 <field name="data" nolabel="1" readonly="1" fieldname="name" colspan="4"/>
24                                 <field height="80" name="advice" nolabel="1" colspan="4"/>
25                             </group>
26                             <separator string="" colspan="4"/>
27                                 <group col="2" colspan="2">
28                                 </group>
29                                 <group col="2" colspan="2">
30                                     <button icon="gtk-cancel" name="act_cancel" special="cancel" states="choose" string="_Cancel" type="object"/>
31                                     <button icon="gtk-ok" name="act_getfile" states="choose" string="_Export" type="object"></button>
32                                     <button icon="gtk-cancel" name="act_destroy" special="cancel" states="get" string="_Cancel" type="object"/>
33                                 </group>
34                         </page>
35                         <page string="Help">
36                             <label align="0.0" colspan="4" string="The official translations pack of all OpenERP/OpenObjects module are managed through launchpad. We use their online interface to synchronize all translations efforts."/>
37                             <label align="0.0" colspan="4" string="To improve some terms of the official translations of OpenERP, you should modify the terms directly on the launchpad interface. If you made lots of translations for your own module, you can also publish all your translation at once."/>
38                             <label align="0.0" colspan="4" string="To browse official translations, you can visit this link: "/>
39                             <label align="0.0" colspan="4" string="https://translations.launchpad.net/openobject"/>
40                         </page>
41                     </notebook>
42                 </form>
43             </field>
44         </record>
45
46         <record id="action_wizard_lang_export" model="ir.actions.act_window">
47             <field name="name">Export a Translation File</field>
48             <field name="type">ir.actions.act_window</field>
49             <field name="res_model">base.language.export</field>
50             <field name="view_type">form</field>
51             <field name="view_mode">form</field>
52             <field name="target">new</field>
53         </record>
54         <menuitem action="action_wizard_lang_export" id="menu_wizard_lang_export" parent="menu_translation_export"/>
55     </data>
56 </openerp>