forked from Techsystech/web
commit
0f386c122a
|
@ -0,0 +1,35 @@
|
|||
Web Translate Dialog
|
||||
====================
|
||||
|
||||
This module replaces the standard translation view by an easy-to-use pop-up view where you can translate all the fields of the object in all the installed languages (for the ancient users, it may remind them the translation pop-up of OpenERP 6.1).
|
||||
|
||||
This module also features :
|
||||
* Adds a *Translate* button item in the *More* menu
|
||||
* Support HTML fields
|
||||
* Autosize the textareas to the size of the content
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
Go to an object that has translatable fields (*Products* for example) and select *More > Translate* (or click on *Edit* and then click on the flag at the top-right of one of the translatable fields): the translation view will pop-up on your screen. This translation view contains all the translatable fields of the object.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Guewen Baconnier (Camptocamp)
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
.. image:: http://odoo-community.org/logo.png
|
||||
:alt: Odoo Community Association
|
||||
:target: http://odoo-community.org
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
||||
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
|
||||
|
||||
To contribute to this module, please visit http://odoo-community.org.
|
|
@ -21,25 +21,11 @@
|
|||
|
||||
{"name": "Web Translate Dialog",
|
||||
"category": "Hidden",
|
||||
"description": """
|
||||
Replace the standard translation view by an alternative one:
|
||||
|
||||
* Add a "Translate" button item in the "More" menu
|
||||
* The translations are displayed in a dialog (much like the OpenERP
|
||||
6.1's one)
|
||||
* Support HTML fields
|
||||
* Autosize the textareas to the size of the content
|
||||
|
||||
""",
|
||||
"summary": "Easy-to-use pop-up to translate fields in several languages",
|
||||
"description": "",
|
||||
"version": "1.0",
|
||||
"depends": ['web',
|
||||
],
|
||||
'js': ['static/src/js/web_translate_dialog.js',
|
||||
],
|
||||
'css': ['static/src/css/base.css',
|
||||
],
|
||||
'qweb': ["static/src/xml/base.xml",
|
||||
],
|
||||
'auto_install': False,
|
||||
'installable': False,
|
||||
"depends": ['web'],
|
||||
'data': ['view/web_translate.xml'],
|
||||
'qweb': ["static/src/xml/base.xml"],
|
||||
'installable': True,
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<template id="assets_backend" name="web_translate_dialog assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<script type="text/javascript" src="/web_translate_dialog/static/src/js/web_translate_dialog.js"></script>
|
||||
<link rel="stylesheet" href="/web_translate_dialog/static/src/css/base.css" id="translate-dialog-stylesheet"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</data>
|
||||
</openerp>
|
Loading…
Reference in New Issue