[IMP] use the openerp namespace.
[odoo/odoo.git] / openerp / addons / base / module / wizard / base_export_language_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="wizard_lang_export" model="ir.ui.view">
5             <field name="name">Export Translations</field>
6             <field name="model">base.language.export</field>
7             <field name="arch" type="xml">
8                 <form string="Export Translations" version="7.0">
9                     <field invisible="1" name="state"/>
10                     <field name="name" invisible="1"/>
11                     <group states="choose" string="Export Settings">
12                         <field name="lang"/>
13                         <field name="format"/>
14                         <field name="modules"/>
15                     </group>
16                     <div states="get">
17                         <h2>Export Complete</h2>
18                         <p>Here is the exported translation file: <field name="data" readonly="1" filename="name"/></p>
19                         <p>This file was generated using the universal <strong>Unicode/UTF-8</strong> file encoding, please be sure to view and edit
20                            using the same encoding.</p> 
21                         <p>The next step depends on the file format:
22                             <ul>
23                             <li>CSV format: you may edit it directly with your favorite spreadsheet software,
24                                 the rightmost column (value) contains the translations</li>
25                             <li>PO(T) format: you should edit it with a PO editor such as
26                                 <a href="http://www.poedit.net/" target="_blank">POEdit</a>, or your preferred text editor</li>
27                             <li>TGZ format: this is a compressed archive containing a PO file, directly suitable
28                                 for uploading to OpenERP's translation platform,
29                                 <a href="https://translations.launchpad.net/openobject-addons" target="_blank">Launchpad</a></li>
30                             </ul>
31                         </p>
32                         <p>For more details about translating OpenERP in your language, please refer to the
33                            <a href="http://doc.openerp.com/v6.1/contribute/07_improving_translations.html" target="_blank">documentation</a>.</p>
34                     </div>
35                     <footer states="choose">
36                         <button name="act_getfile" string="Export" type="object" class="oe_highlight"/> or 
37                         <button special="cancel" string="Cancel" type="object" class="oe_link"/>
38                     </footer>
39                     <footer states="get">
40                         <button special="cancel" string="Close" type="object"/>
41                     </footer>
42                 </form>
43             </field>
44         </record>
45
46         <record id="action_wizard_lang_export" model="ir.actions.act_window">
47             <field name="name">Export Translation</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>