From f0f612047d63340ef4bba5dec2e7f745863ccd3e Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 22 Jul 2015 21:56:07 +0200 Subject: [PATCH] web_translate_dialog: port to v8 --- .../__init__.py | 0 .../__openerp__.py | 13 ++++--------- .../i18n/es.po | 0 .../i18n/fr.po | 0 .../i18n/nl.po | 0 .../i18n/tr.po | 0 .../i18n/web_translate_dialog.pot | 0 .../static/src/css/base.css | 0 .../static/src/js/web_translate_dialog.js | 0 .../static/src/xml/base.xml | 0 web_translate_dialog/view/web_translate.xml | 13 +++++++++++++ 11 files changed, 17 insertions(+), 9 deletions(-) rename {__unported__/web_translate_dialog => web_translate_dialog}/__init__.py (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/__openerp__.py (86%) rename {__unported__/web_translate_dialog => web_translate_dialog}/i18n/es.po (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/i18n/fr.po (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/i18n/nl.po (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/i18n/tr.po (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/i18n/web_translate_dialog.pot (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/static/src/css/base.css (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/static/src/js/web_translate_dialog.js (100%) rename {__unported__/web_translate_dialog => web_translate_dialog}/static/src/xml/base.xml (100%) create mode 100644 web_translate_dialog/view/web_translate.xml 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 @@ + + + + + + + +