diff options
| author | Raphael Collet <rco@openerp.com> | 2016-09-02 15:58:39 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-09-02 17:28:12 +0200 |
| commit | 9e64f9f9514194d74e166b032add8511182f2677 (patch) | |
| tree | 5086710c04c6b923be18a6d1d97b3f0f3a2a9c4a /odoo/addons/base/module/wizard/base_export_language_view.xml | |
| parent | 11812b0b9e82b2b1b9041d8250ce01e7b4a5f7ee (diff) | |
[REF] openerp: move `openerp` to `odoo`
Diffstat (limited to 'odoo/addons/base/module/wizard/base_export_language_view.xml')
| -rw-r--r-- | odoo/addons/base/module/wizard/base_export_language_view.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/odoo/addons/base/module/wizard/base_export_language_view.xml b/odoo/addons/base/module/wizard/base_export_language_view.xml new file mode 100644 index 00000000000..e5b591604fa --- /dev/null +++ b/odoo/addons/base/module/wizard/base_export_language_view.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <data> + <record id="wizard_lang_export" model="ir.ui.view"> + <field name="name">Export Translations</field> + <field name="model">base.language.export</field> + <field name="arch" type="xml"> + <form string="Export Translations"> + <field invisible="1" name="state"/> + <field name="name" invisible="1"/> + <group states="choose" string="Export Settings"> + <field name="lang"/> + <field name="format"/> + <field name="modules" widget="many2many_tags"/> + </group> + <div states="get"> + <h2>Export Complete</h2> + <p>Here is the exported translation file: <field name="data" readonly="1" filename="name"/></p> + <p>This file was generated using the universal <strong>Unicode/UTF-8</strong> file encoding, please be sure to view and edit + using the same encoding.</p> + <p>The next step depends on the file format: + <ul> + <li>CSV format: you may edit it directly with your favorite spreadsheet software, + the rightmost column (value) contains the translations</li> + <li>PO(T) format: you should edit it with a PO editor such as + <a href="http://www.poedit.net/" target="_blank">POEdit</a>, or your preferred text editor</li> + <li>TGZ format: this is a compressed archive containing a PO file, directly suitable + for uploading to Odoo's translation platform, + <a href="https://translations.launchpad.net/openobject-addons" target="_blank">Launchpad</a></li> + </ul> + </p> + <p>For more details about translating Odoo in your language, please refer to the + <a href="http://doc.openerp.com/v6.1/contribute/07_improving_translations.html" target="_blank">documentation</a>.</p> + </div> + <footer states="choose"> + <button name="act_getfile" string="Export" type="object" class="btn-primary"/> + <button special="cancel" string="Cancel" type="object" class="btn-default"/> + </footer> + <footer states="get"> + <button special="cancel" string="Close" type="object" class="btn-primary"/> + </footer> + </form> + </field> + </record> + + <record id="action_wizard_lang_export" model="ir.actions.act_window"> + <field name="name">Export Translation</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">base.language.export</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> + <field name="target">new</field> + </record> + <menuitem action="action_wizard_lang_export" id="menu_wizard_lang_export" parent="menu_translation_export"/> + </data> +</odoo> |
