2010-08-27 07:01:48 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record id="view_base_import_language" model="ir.ui.view">
|
2010-09-29 12:31:05 +00:00
|
|
|
<field name="name">Import Translation</field>
|
2010-08-27 07:01:48 +00:00
|
|
|
<field name="model">base.language.import</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-09-29 12:31:05 +00:00
|
|
|
<form string="Import Language">
|
2010-09-29 11:12:00 +00:00
|
|
|
<group colspan="3">
|
|
|
|
<group colspan="1">
|
|
|
|
<label string="You have to import a .CSV file which is encoded in UTF-8."/>
|
|
|
|
<label string="Please check that the first line of your file is one of the following:" colspan="4" align="0.0"/>
|
|
|
|
<label string="type,name,res_id,src,value" colspan="4"/>
|
|
|
|
<label string="module,type,name,res_id,src,value" colspan="4"/>
|
|
|
|
<label string="You can also import .po files." colspan="4" align="0.0"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="1">
|
|
|
|
<separator orientation="vertical" rowspan="8"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="1">
|
2010-09-06 06:12:59 +00:00
|
|
|
<group colspan="4" col="4">
|
2010-09-29 12:31:05 +00:00
|
|
|
<separator string="Import Translation" colspan="4"/>
|
2010-08-27 07:01:48 +00:00
|
|
|
<field name="name" width="200"/>
|
|
|
|
<field name="code"/>
|
|
|
|
<field name="data" colspan="4"/>
|
|
|
|
</group>
|
2010-09-06 06:12:59 +00:00
|
|
|
<separator string="" colspan="4"/>
|
|
|
|
<group colspan="2" col="2">
|
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2">
|
2010-09-29 11:12:00 +00:00
|
|
|
<button special="cancel" string="_Close" icon="gtk-cancel"/>
|
2010-09-06 06:12:59 +00:00
|
|
|
<button name="import_lang" string="_Import" type="object" icon="gtk-ok"/>
|
|
|
|
</group>
|
2010-09-29 11:12:00 +00:00
|
|
|
</group>
|
|
|
|
</group>
|
2010-09-06 06:12:59 +00:00
|
|
|
</form>
|
2010-08-27 07:01:48 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_view_base_import_language" model="ir.actions.act_window">
|
2010-09-29 12:31:05 +00:00
|
|
|
<field name="name">Import Translation</field>
|
2010-08-27 07:01:48 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">base.language.import</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem
|
|
|
|
action="action_view_base_import_language"
|
|
|
|
id="menu_view_base_import_language"
|
|
|
|
parent="menu_translation_export"/>
|
|
|
|
|
|
|
|
</data>
|
2010-09-06 06:12:59 +00:00
|
|
|
</openerp>
|