Skip to content

Commit 0f386c1

Browse files
committed
Merge pull request OCA#184 from akretion/8.0-translate-dialog
Port web_translate_dialog to 8.0
2 parents f85ee63 + 1d78128 commit 0f386c1

File tree

12 files changed

+54
-20
lines changed

12 files changed

+54
-20
lines changed

web_translate_dialog/README.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Web Translate Dialog
2+
====================
3+
4+
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).
5+
6+
This module also features :
7+
* Adds a *Translate* button item in the *More* menu
8+
* Support HTML fields
9+
* Autosize the textareas to the size of the content
10+
11+
Usage
12+
=====
13+
14+
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.
15+
16+
Credits
17+
=======
18+
19+
Contributors
20+
------------
21+
22+
* Guewen Baconnier (Camptocamp)
23+
24+
Maintainer
25+
----------
26+
27+
.. image:: http://odoo-community.org/logo.png
28+
:alt: Odoo Community Association
29+
:target: http://odoo-community.org
30+
31+
This module is maintained by the OCA.
32+
33+
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.
34+
35+
To contribute to this module, please visit http://odoo-community.org.

__unported__/web_translate_dialog/__openerp__.py renamed to web_translate_dialog/__openerp__.py

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,11 @@
2121

2222
{"name": "Web Translate Dialog",
2323
"category": "Hidden",
24-
"description": """
25-
Replace the standard translation view by an alternative one:
26-
27-
* Add a "Translate" button item in the "More" menu
28-
* The translations are displayed in a dialog (much like the OpenERP
29-
6.1's one)
30-
* Support HTML fields
31-
* Autosize the textareas to the size of the content
32-
33-
""",
24+
"summary": "Easy-to-use pop-up to translate fields in several languages",
25+
"description": "",
3426
"version": "1.0",
35-
"depends": ['web',
36-
],
37-
'js': ['static/src/js/web_translate_dialog.js',
38-
],
39-
'css': ['static/src/css/base.css',
40-
],
41-
'qweb': ["static/src/xml/base.xml",
42-
],
43-
'auto_install': False,
44-
'installable': False,
27+
"depends": ['web'],
28+
'data': ['view/web_translate.xml'],
29+
'qweb': ["static/src/xml/base.xml"],
30+
'installable': True,
4531
}

0 commit comments

Comments
 (0)