Improvements
[odoo/odoo.git] / bin / addons / base / module / module_wizard.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <terp>
3     <data>
4         <record id="wizard_base_module_import" model="ir.actions.wizard">
5             <field name="name">Import module</field>
6             <field name="wiz_name">base.module.import</field>
7         </record>
8         <menuitem action="wizard_base_module_import" id="menu_wizard_module_import" parent="menu_management" type="wizard"/>
9         
10         <record id="wizard_update" model="ir.actions.wizard">
11             <field name="name">Update Modules List</field>
12             <field name="wiz_name">module.module.update</field>
13         </record>
14         <menuitem action="wizard_update" groups="group_admin" icon="STOCK_CONVERT" id="menu_module_update" parent="menu_management" type="wizard"/>
15         
16         <wizard id="wizard_upgrade" model="ir.module.module" name="module.upgrade" string="Apply Scheduled Upgrades"/>
17         <menuitem action="wizard_upgrade" id="menu_wizard_upgrade" parent="menu_management" type="wizard"/>
18         
19         <record id="wizard_lang_install" model="ir.actions.wizard">
20             <field name="name">Install new language file</field>
21             <field name="wiz_name">module.lang.install</field>
22         </record>
23         <menuitem action="wizard_lang_install" id="menu_wizard_lang_install" parent="menu_translation" type="wizard"/>
24
25         <record id="wizard_lang_export" model="ir.ui.view">
26             <field name="name">Export a Translation File</field>
27             <field name="model">wizard.module.lang.export</field>
28             <field name="type">form</field>
29             <field name="arch" type="xml">
30                 <form col="3" string="Export language">
31                     <image name="gtk-dialog-info"/>
32                     <group col="2" states="choose" fill="0" height="500">
33                         <separator string="Export translation file" colspan="2"/>
34                         <field name="lang" width="300" required="1"/>
35                         <field name="format" required="1"/>
36                         <field name="modules" width="500" height="200"/>
37                         <label colspan="2" string="The official translations pack of all OpenERP/OpenObjects module are
38 managed through launchpad. We use their online interface to synchronize
39 all translations efforts.
40
41 To improve some terms of the official translations of OpenERP, you should
42 modify the terms directly on the launchpad interface. If you made lots
43 of translations for your own module, you can also publish all your
44 translation at once. To do this, you must:
45
46 If you created a new module, you must send the generated .pot file by email to
47 the translation group: ...  They will review and integrate." align="0.0"/>
48                         <field name="state" invisible="1"/>
49                         <newline/>
50                     </group>
51                     <group col="1" states="get" fill="0">
52                         <separator string="Export done"/>
53                         <field name="data" readonly="1" nolabel="1"/>
54                         <field name="advice" nolabel="1" height="80"/>
55                     </group>
56                     <group col="2" colspan="3" fill="0">
57                         <button states="choose" icon="gtk-cancel" name="act_cancel" special="cancel" string="Cancel" type="object"/>
58                         <button states="choose" icon="gtk-ok" name="act_getfile" string="Get file" type="object"/>
59                         <button states="get" icon="gtk-close" name="act_destroy" special="cancel" string="Close" type="object"/>
60                     </group>
61                 </form>
62             </field>
63         </record>
64         <record id="action_wizard_lang_export" model="ir.actions.act_window">
65             <field name="name">Export a Translation File</field>
66             <field name="type">ir.actions.act_window</field>
67             <field name="res_model">wizard.module.lang.export</field>
68             <field name="view_type">form</field>
69             <field name="view_mode">form</field>
70             <field name="target">new</field>
71         </record>
72         <menuitem action="action_wizard_lang_export" id="menu_wizard_lang_export" parent="menu_translation_export"/>
73
74         <record id="wizard_lang_import" model="ir.actions.wizard">
75             <field name="name">Import a Translation File</field>
76             <field name="wiz_name">module.lang.import</field>
77         </record>
78         <menuitem action="wizard_lang_import" id="menu_wizard_lang_import" parent="menu_translation_export" type="wizard"/>
79
80          <record id="wizard_update_translations" model="ir.ui.view">
81             <field name="name">Update Translations</field>
82             <field name="model">wizard.module.update_translations</field>
83             <field name="type">form</field>
84             <field name="arch" type="xml">
85                 <form col="3" string="Update Translations">
86                     <image name="gtk-dialog-info"/>
87                     <group col="2" fill="0" height="500">
88                         <field name="lang" width="300"/>
89                     </group>
90                     <label align="0.0" colspan="4" string="This wizard will detect new terms in the application so that you can update them manually."/>
91                     <separator colspan="4"/>
92                     <group col="2" colspan="4" fill="0">
93                         <button icon="gtk-cancel" name="act_cancel" special="cancel" string="Cancel" type="object"/>
94                         <button icon="gtk-ok" name="act_update" string="Update" type="object"/>
95                     </group>
96                 </form>
97             </field>
98         </record>
99         <record id="action_wizard_update_translations" model="ir.actions.act_window">
100             <field name="name">Reload Official Translations</field>
101             <field name="type">ir.actions.act_window</field>
102             <field name="res_model">wizard.module.update_translations</field>
103             <field name="view_type">form</field>
104             <field name="view_mode">form</field>
105             <field name="target">new</field>
106         </record>
107         <menuitem action="action_wizard_update_translations" id="menu_wizard_update_translations" parent="menu_translation_app"/>
108          
109     </data>
110 </terp>