Browse Source
Merge pull request #387 from Tecnativa/9.0-web_translate_dialog
Merge pull request #387 from Tecnativa/9.0-web_translate_dialog
[9.0][MIG] web_translate_dialogpull/400/head
Pedro M. Baeza
9 years ago
committed by
GitHub
16 changed files with 819 additions and 317 deletions
-
53web_translate_dialog/README.rst
-
50web_translate_dialog/__openerp__.py
-
54web_translate_dialog/i18n/ar.po
-
54web_translate_dialog/i18n/de.po
-
49web_translate_dialog/i18n/es.po
-
54web_translate_dialog/i18n/fi.po
-
49web_translate_dialog/i18n/fr.po
-
53web_translate_dialog/i18n/hr.po
-
54web_translate_dialog/i18n/it.po
-
54web_translate_dialog/i18n/pt_BR.po
-
54web_translate_dialog/i18n/sl.po
-
56web_translate_dialog/i18n/tr.po
-
3web_translate_dialog/static/src/css/base.css
-
197web_translate_dialog/static/src/js/web_translate_dialog.js
-
37web_translate_dialog/static/src/xml/base.xml
-
11web_translate_dialog/view/web_translate.xml
@ -1,35 +1,72 @@ |
|||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
|
|||
==================== |
|||
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 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 long-time 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 |
|||
|
|||
* A *Translate* button item in the *More* menu |
|||
* Support for 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. |
|||
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. |
|||
|
|||
If you click in the standard translate icon then the translation view will |
|||
pop-up with this field only. |
|||
|
|||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|||
:alt: Try me on Runbot |
|||
:target: https://runbot.odoo-community.org/runbot/162/9.0 |
|||
|
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues |
|||
<https://github.com/OCA/web/issues>`_. In case of trouble, please |
|||
check there if your issue has already been reported. If you spotted it first, |
|||
help us smashing it by providing a detailed and welcomed feedback. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Images |
|||
------ |
|||
|
|||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. |
|||
|
|||
Contributors |
|||
------------ |
|||
|
|||
* Guewen Baconnier (Camptocamp) |
|||
* Antonio Espinosa <antonio.espinosa@tecnativa.com> |
|||
|
|||
Maintainer |
|||
---------- |
|||
|
|||
.. image:: http://odoo-community.org/logo.png |
|||
.. image:: https://odoo-community.org/logo.png |
|||
:alt: Odoo Community Association |
|||
:target: http://odoo-community.org |
|||
:target: https://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. |
|||
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. |
|||
To contribute to this module, please visit https://odoo-community.org. |
@ -1,32 +1,26 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Author: Guewen Baconnier |
|||
# Copyright 2012 Camptocamp SA |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
{"name": "Web Translate Dialog", |
|||
"category": "Web", |
|||
# Copyright 2012 Guewen Baconnier (Camptocamp SA) |
|||
# Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
{ |
|||
"name": "Web Translate Dialog", |
|||
"summary": "Easy-to-use pop-up to translate fields in several languages", |
|||
"version": "9.0.1.0.0", |
|||
"category": "Web", |
|||
"website": "https://odoo-community.org/", |
|||
"author": "Camptocamp, " |
|||
"Tecnativa, " |
|||
"Odoo Community Association (OCA)", |
|||
"license": "AGPL-3", |
|||
"author": "Camptocamp,Odoo Community Association (OCA)", |
|||
"version": "8.0.1.0.0", |
|||
"depends": ['web'], |
|||
'data': ['view/web_translate.xml'], |
|||
'qweb': ["static/src/xml/base.xml"], |
|||
'installable': False, |
|||
"application": False, |
|||
"installable": True, |
|||
"depends": [ |
|||
"web", |
|||
], |
|||
"data": [ |
|||
"view/web_translate.xml", |
|||
], |
|||
"qweb": [ |
|||
"static/src/xml/base.xml", |
|||
] |
|||
} |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * web_translate_dialog |
|||
# |
|||
# Translators: |
|||
# SaFi J. <safi2266@gmail.com>, 2015 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: web (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2015-12-16 07:41+0000\n" |
|||
"PO-Revision-Date: 2015-12-16 17:26+0000\n" |
|||
"Last-Translator: SaFi J. <safi2266@gmail.com>\n" |
|||
"Language-Team: Arabic (http://www.transifex.com/oca/OCA-web-8-0/language/ar/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: ar\n" |
|||
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:30 |
|||
#, python-format |
|||
msgid "Cancel" |
|||
msgstr "إلغاء" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:7 |
|||
#, python-format |
|||
msgid "Field" |
|||
msgstr "الحقل" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:29 |
|||
#, python-format |
|||
msgid "Save" |
|||
msgstr "حفظ" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:15 |
|||
#, python-format |
|||
msgid "Translate" |
|||
msgstr "ترجم" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:37 |
|||
#, python-format |
|||
msgid "Translations" |
|||
msgstr "الترجمات" |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * web_translate_dialog |
|||
# |
|||
# Translators: |
|||
# Rudolf Schnapka <rs@techno-flex.de>, 2016 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: web (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2016-01-10 07:31+0000\n" |
|||
"PO-Revision-Date: 2016-01-18 20:58+0000\n" |
|||
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n" |
|||
"Language-Team: German (http://www.transifex.com/oca/OCA-web-8-0/language/de/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: de\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:30 |
|||
#, python-format |
|||
msgid "Cancel" |
|||
msgstr "Abbrechen" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:7 |
|||
#, python-format |
|||
msgid "Field" |
|||
msgstr "Feld" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:29 |
|||
#, python-format |
|||
msgid "Save" |
|||
msgstr "Speichern" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:15 |
|||
#, python-format |
|||
msgid "Translate" |
|||
msgstr "Übersetze" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:37 |
|||
#, python-format |
|||
msgid "Translations" |
|||
msgstr "Übersetzungen" |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * web_translate_dialog |
|||
# |
|||
# Translators: |
|||
# Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2016 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: web (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2016-01-10 07:31+0000\n" |
|||
"PO-Revision-Date: 2016-02-01 09:53+0000\n" |
|||
"Last-Translator: Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>\n" |
|||
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-web-8-0/language/fi/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: fi\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:30 |
|||
#, python-format |
|||
msgid "Cancel" |
|||
msgstr "Peru" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:7 |
|||
#, python-format |
|||
msgid "Field" |
|||
msgstr "Kenttä" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:29 |
|||
#, python-format |
|||
msgid "Save" |
|||
msgstr "Tallenna" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:15 |
|||
#, python-format |
|||
msgid "Translate" |
|||
msgstr "Käännä" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:37 |
|||
#, python-format |
|||
msgid "Translations" |
|||
msgstr "Käännökset" |
@ -0,0 +1,53 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * web_translate_dialog |
|||
# |
|||
# Translators: |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: web (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2016-06-24 00:46+0000\n" |
|||
"PO-Revision-Date: 2015-11-07 11:21+0000\n" |
|||
"Last-Translator: <>\n" |
|||
"Language-Team: Croatian (http://www.transifex.com/oca/OCA-web-8-0/language/hr/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: hr\n" |
|||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:30 |
|||
#, python-format |
|||
msgid "Cancel" |
|||
msgstr "Otkaži" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:7 |
|||
#, python-format |
|||
msgid "Field" |
|||
msgstr "" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:29 |
|||
#, python-format |
|||
msgid "Save" |
|||
msgstr "" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:15 |
|||
#, python-format |
|||
msgid "Translate" |
|||
msgstr "" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:37 |
|||
#, python-format |
|||
msgid "Translations" |
|||
msgstr "" |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * web_translate_dialog |
|||
# |
|||
# Translators: |
|||
# Paolo Valier, 2016 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: web (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2016-03-17 07:30+0000\n" |
|||
"PO-Revision-Date: 2016-03-19 10:15+0000\n" |
|||
"Last-Translator: Paolo Valier\n" |
|||
"Language-Team: Italian (http://www.transifex.com/oca/OCA-web-8-0/language/it/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: it\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:30 |
|||
#, python-format |
|||
msgid "Cancel" |
|||
msgstr "Annulla" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:7 |
|||
#, python-format |
|||
msgid "Field" |
|||
msgstr "Campo" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:29 |
|||
#, python-format |
|||
msgid "Save" |
|||
msgstr "Salva" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:15 |
|||
#, python-format |
|||
msgid "Translate" |
|||
msgstr "Traduci" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:37 |
|||
#, python-format |
|||
msgid "Translations" |
|||
msgstr "Traduzioni" |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * web_translate_dialog |
|||
# |
|||
# Translators: |
|||
# danimaribeiro <danimaribeiro@gmail.com>, 2016 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: web (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2016-03-11 02:17+0000\n" |
|||
"PO-Revision-Date: 2016-03-05 16:20+0000\n" |
|||
"Last-Translator: danimaribeiro <danimaribeiro@gmail.com>\n" |
|||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-web-8-0/language/pt_BR/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: pt_BR\n" |
|||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:30 |
|||
#, python-format |
|||
msgid "Cancel" |
|||
msgstr "Cancelar" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:7 |
|||
#, python-format |
|||
msgid "Field" |
|||
msgstr "Campo" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:29 |
|||
#, python-format |
|||
msgid "Save" |
|||
msgstr "Salvar" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:15 |
|||
#, python-format |
|||
msgid "Translate" |
|||
msgstr "Traduzir" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:37 |
|||
#, python-format |
|||
msgid "Translations" |
|||
msgstr "Traduções" |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * web_translate_dialog |
|||
# |
|||
# Translators: |
|||
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: web (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2015-11-23 13:46+0000\n" |
|||
"PO-Revision-Date: 2015-11-08 05:47+0000\n" |
|||
"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n" |
|||
"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-web-8-0/language/sl/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: sl\n" |
|||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:30 |
|||
#, python-format |
|||
msgid "Cancel" |
|||
msgstr "Preklic" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:7 |
|||
#, python-format |
|||
msgid "Field" |
|||
msgstr "Polje" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/xml/base.xml:29 |
|||
#, python-format |
|||
msgid "Save" |
|||
msgstr "Shrani" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:15 |
|||
#, python-format |
|||
msgid "Translate" |
|||
msgstr "Prevod" |
|||
|
|||
#. module: web_translate_dialog |
|||
#. openerp-web |
|||
#: code:addons/web_translate_dialog/static/src/js/web_translate_dialog.js:37 |
|||
#, python-format |
|||
msgid "Translations" |
|||
msgstr "Prevodi" |
Write
Preview
Loading…
Cancel
Save
Reference in new issue