summaryrefslogtreecommitdiff
path: root/openerp/addons/base/module/wizard/base_export_language_view.xml
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2011-02-07 13:57:23 +0100
committerVo Minh Thu <vmt@openerp.com>2011-02-07 13:57:23 +0100
commitf8572e5c602798f37c2a94d54ab5e3ac79ff0185 (patch)
tree35687977b932ac91bd31fece229ab78cc70926f5 /openerp/addons/base/module/wizard/base_export_language_view.xml
parent9c287abc143a7b187635c75751a29baeefa58c15 (diff)
[IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py - Changed imports to use the new openerp module - config and netsvc initialization calls move to openerp-server.py - Moved openerp-server.py outside the old bin directory - Some imports in tools moved inside the methods to break mutual-dependencies bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
Diffstat (limited to 'openerp/addons/base/module/wizard/base_export_language_view.xml')
-rw-r--r--openerp/addons/base/module/wizard/base_export_language_view.xml64
1 files changed, 64 insertions, 0 deletions
diff --git a/openerp/addons/base/module/wizard/base_export_language_view.xml b/openerp/addons/base/module/wizard/base_export_language_view.xml
new file mode 100644
index 00000000000..c908c5ce03a
--- /dev/null
+++ b/openerp/addons/base/module/wizard/base_export_language_view.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <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="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Export Translations">
+ <group col="8">
+ <group colspan="3">
+ <field name="config_logo" widget="image" width="220" height="130" nolabel="1" colspan="1"/>
+ <newline/>
+ <label colspan="4" width="220" string="OpenERP translations (core, modules, clients) are managed through Launchpad.net, our open source project management facility. We use their online interface to synchronize all translations efforts."/>
+ <label colspan="4" width="220" string="To improve or expand the official translations, you should use directly Lauchpad's web interface (Rosetta). If you need to perform mass translation, Launchpad also allows uploading full .po files at once"/>
+ <label colspan="4" width="220"/>
+ <label colspan="4" width="220" string="To browse official translations, you can start with these links:"/>
+ <label colspan="4" width="220" string="https://help.launchpad.net/Translations"/>
+ <label colspan="4" width="220" string="https://translations.launchpad.net/openobject"/>
+ </group>
+ <separator orientation="vertical" rowspan="15"/>
+ <group colspan="4">
+ <group colspan="4" states="choose">
+ <separator colspan="4" string="Export Translation"/>
+ <field name="lang"/>
+ <field name="format" required="1"/>
+ <field height="200" name="modules" nolabel="1" colspan="4"/>
+ <field invisible="1" name="state"/>
+ </group>
+ <group colspan="4" states="get">
+ <separator string="Export done" colspan="4"/>
+ <field name="name" invisible="1" colspan="4"/>
+ <field name="data" nolabel="1" readonly="1" fieldname="name" colspan="4"/>
+ <field height="80" name="advice" nolabel="1" colspan="4"/>
+ </group>
+ </group>
+ <group colspan="8" col="8" states="choose">
+ <separator string="" colspan="8"/>
+ <label colspan="6" width="220"/>
+ <button icon="gtk-cancel" name="act_cancel" special="cancel" string="_Close" type="object"/>
+ <button icon="gtk-ok" name="act_getfile" string="_Export" type="object"/>
+ </group>
+ <group colspan="8" col="8" states="get">
+ <separator string="" colspan="8"/>
+ <label colspan="7" width="220"/>
+ <button icon="gtk-close" name="act_destroy" special="cancel" string="_Close" type="object"/>
+ </group>
+ </group>
+ </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>
+</openerp>