diff --git a/__unported__/web_translate_dialog/__init__.py b/web_translate_dialog/__init__.py similarity index 100% rename from __unported__/web_translate_dialog/__init__.py rename to web_translate_dialog/__init__.py diff --git a/__unported__/web_translate_dialog/__openerp__.py b/web_translate_dialog/__openerp__.py similarity index 86% rename from __unported__/web_translate_dialog/__openerp__.py rename to web_translate_dialog/__openerp__.py index 95c0c9b1..27e2483a 100644 --- a/__unported__/web_translate_dialog/__openerp__.py +++ b/web_translate_dialog/__openerp__.py @@ -32,14 +32,9 @@ Replace the standard translation view by an alternative one: """, "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", - ], + "depends": ['web'], + 'data': ['view/web_translate.xml'], + 'qweb': ["static/src/xml/base.xml"], 'auto_install': False, - 'installable': False, + 'installable': True, } diff --git a/__unported__/web_translate_dialog/i18n/es.po b/web_translate_dialog/i18n/es.po similarity index 100% rename from __unported__/web_translate_dialog/i18n/es.po rename to web_translate_dialog/i18n/es.po diff --git a/__unported__/web_translate_dialog/i18n/fr.po b/web_translate_dialog/i18n/fr.po similarity index 100% rename from __unported__/web_translate_dialog/i18n/fr.po rename to web_translate_dialog/i18n/fr.po diff --git a/__unported__/web_translate_dialog/i18n/nl.po b/web_translate_dialog/i18n/nl.po similarity index 100% rename from __unported__/web_translate_dialog/i18n/nl.po rename to web_translate_dialog/i18n/nl.po diff --git a/__unported__/web_translate_dialog/i18n/tr.po b/web_translate_dialog/i18n/tr.po similarity index 100% rename from __unported__/web_translate_dialog/i18n/tr.po rename to web_translate_dialog/i18n/tr.po diff --git a/__unported__/web_translate_dialog/i18n/web_translate_dialog.pot b/web_translate_dialog/i18n/web_translate_dialog.pot similarity index 100% rename from __unported__/web_translate_dialog/i18n/web_translate_dialog.pot rename to web_translate_dialog/i18n/web_translate_dialog.pot diff --git a/__unported__/web_translate_dialog/static/src/css/base.css b/web_translate_dialog/static/src/css/base.css similarity index 100% rename from __unported__/web_translate_dialog/static/src/css/base.css rename to web_translate_dialog/static/src/css/base.css diff --git a/__unported__/web_translate_dialog/static/src/js/web_translate_dialog.js b/web_translate_dialog/static/src/js/web_translate_dialog.js similarity index 100% rename from __unported__/web_translate_dialog/static/src/js/web_translate_dialog.js rename to web_translate_dialog/static/src/js/web_translate_dialog.js diff --git a/__unported__/web_translate_dialog/static/src/xml/base.xml b/web_translate_dialog/static/src/xml/base.xml similarity index 100% rename from __unported__/web_translate_dialog/static/src/xml/base.xml rename to web_translate_dialog/static/src/xml/base.xml diff --git a/web_translate_dialog/view/web_translate.xml b/web_translate_dialog/view/web_translate.xml new file mode 100644 index 00000000..51ea19e6 --- /dev/null +++ b/web_translate_dialog/view/web_translate.xml @@ -0,0 +1,13 @@ + + + + + + + +