From 19ee4cc22c1a96e246d969c54d8025e14a600579 Mon Sep 17 00:00:00 2001 From: Murtaza Mithaiwala Date: Mon, 15 Mar 2021 18:07:14 +0530 Subject: [PATCH] [14.0][MIG] Migrated web_timeline. --- web_timeline/README.rst | 12 +- web_timeline/i18n/de.po | 122 ++++++++++++++++++++ web_timeline/i18n/fa.po | 120 +++++++++++++++++++ web_timeline/i18n/web_timeline.pot | 17 ++- web_timeline/readme/CONTRIBUTORS.rst | 2 + web_timeline/static/description/index.html | 8 +- web_timeline/static/src/js/timeline_view.js | 4 +- 7 files changed, 274 insertions(+), 11 deletions(-) create mode 100644 web_timeline/i18n/de.po create mode 100644 web_timeline/i18n/fa.po diff --git a/web_timeline/README.rst b/web_timeline/README.rst index 4def0e165..4c1dd19fa 100644 --- a/web_timeline/README.rst +++ b/web_timeline/README.rst @@ -14,13 +14,13 @@ Web timeline :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github - :target: https://github.com/OCA/web/tree/13.0/web_timeline + :target: https://github.com/OCA/web/tree/14.0/web_timeline :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_timeline + :target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_timeline :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/162/13.0 + :target: https://runbot.odoo-community.org/runbot/162/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -159,7 +159,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -186,6 +186,8 @@ Contributors * Dennis Sluijk * Thong Nguyen Van * Alexandre Díaz +* Murtaza Mithaiwala +* Ammar Officewala Maintainers ~~~~~~~~~~~ @@ -208,6 +210,6 @@ Current `maintainer `__: |maintainer-tarteo| -This module is part of the `OCA/web `_ project on GitHub. +This module is part of the `OCA/web `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_timeline/i18n/de.po b/web_timeline/i18n/de.po new file mode 100644 index 000000000..730dccb4c --- /dev/null +++ b/web_timeline/i18n/de.po @@ -0,0 +1,122 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * web_timeline +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-10-13 20:46+0000\n" +"Last-Translator: Corneliuus \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_renderer.js:0 +#, python-format +msgid "UNASSIGNED" +msgstr "NICHT ZUGEWIESEN" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_controller.js:0 +#, python-format +msgid "Are you sure you want to delete this record?" +msgstr "Sind Sie sicher, dass Sie diesen Datensatz löschen wollen?" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Day" +msgstr "Tag" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__display_name +msgid "Display Name" +msgstr "Anzeigename" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__id +msgid "ID" +msgstr "ID" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view____last_update +msgid "Last Modified on" +msgstr "Zuletzt bearbeitet am" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Month" +msgstr "Monat" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_renderer.js:0 +#, python-format +msgid "Template \"timeline-item\" not present in timeline view definition." +msgstr "" +"Vorlage \"timeline-item\" nicht in der Definition der Zeitachsenansicht " +"vorhanden." + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_view.js:0 +#: model:ir.model.fields.selection,name:web_timeline.selection__ir_ui_view__type__timeline +#, python-format +msgid "Timeline" +msgstr "Zeitachse" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_renderer.js:0 +#, python-format +msgid "Timeline view has not defined 'date_start' attribute." +msgstr "Die Zeitachsenansicht hat das Attribut \"date_start\" nicht definiert." + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Today" +msgstr "Heute" + +#. module: web_timeline +#: model:ir.model,name:web_timeline.model_ir_ui_view +msgid "View" +msgstr "Ansicht" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__type +msgid "View Type" +msgstr "Ansichtstyp" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_controller.js:0 +#, python-format +msgid "Warning" +msgstr "Warnung" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Week" +msgstr "Woche" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Year" +msgstr "Jahr" diff --git a/web_timeline/i18n/fa.po b/web_timeline/i18n/fa.po new file mode 100644 index 000000000..2fd4dfefd --- /dev/null +++ b/web_timeline/i18n/fa.po @@ -0,0 +1,120 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * web_timeline +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-09-23 07:34+0000\n" +"Last-Translator: Saeed Raeisi \n" +"Language-Team: none\n" +"Language: fa\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_renderer.js:0 +#, python-format +msgid "UNASSIGNED" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_controller.js:0 +#, python-format +msgid "Are you sure you want to delete this record?" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Day" +msgstr "روز" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__display_name +msgid "Display Name" +msgstr "نام نمایشی" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__id +msgid "ID" +msgstr "" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view____last_update +msgid "Last Modified on" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Month" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_renderer.js:0 +#, python-format +msgid "Template \"timeline-item\" not present in timeline view definition." +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_view.js:0 +#: model:ir.model.fields.selection,name:web_timeline.selection__ir_ui_view__type__timeline +#, python-format +msgid "Timeline" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_renderer.js:0 +#, python-format +msgid "Timeline view has not defined 'date_start' attribute." +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Today" +msgstr "" + +#. module: web_timeline +#: model:ir.model,name:web_timeline.model_ir_ui_view +msgid "View" +msgstr "" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__type +msgid "View Type" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/js/timeline_controller.js:0 +#, python-format +msgid "Warning" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Week" +msgstr "" + +#. module: web_timeline +#. openerp-web +#: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 +#, python-format +msgid "Year" +msgstr "" diff --git a/web_timeline/i18n/web_timeline.pot b/web_timeline/i18n/web_timeline.pot index de7351e49..dac5c5027 100644 --- a/web_timeline/i18n/web_timeline.pot +++ b/web_timeline/i18n/web_timeline.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -34,6 +34,21 @@ msgstr "" msgid "Day" msgstr "" +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__display_name +msgid "Display Name" +msgstr "" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view__id +msgid "ID" +msgstr "" + +#. module: web_timeline +#: model:ir.model.fields,field_description:web_timeline.field_ir_ui_view____last_update +msgid "Last Modified on" +msgstr "" + #. module: web_timeline #. openerp-web #: code:addons/web_timeline/static/src/xml/web_timeline.xml:0 diff --git a/web_timeline/readme/CONTRIBUTORS.rst b/web_timeline/readme/CONTRIBUTORS.rst index 1fefb2055..e6fee986f 100644 --- a/web_timeline/readme/CONTRIBUTORS.rst +++ b/web_timeline/readme/CONTRIBUTORS.rst @@ -6,3 +6,5 @@ * Dennis Sluijk * Thong Nguyen Van * Alexandre Díaz +* Murtaza Mithaiwala +* Ammar Officewala diff --git a/web_timeline/static/description/index.html b/web_timeline/static/description/index.html index 347e98c46..8170e6dfa 100644 --- a/web_timeline/static/description/index.html +++ b/web_timeline/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Production/Stable License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

+

Production/Stable License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

Define a new view displaying events in an interactive visualization chart.

The widget is based on the external library https://visjs.github.io/vis-timeline/examples/timeline

@@ -533,7 +533,7 @@ with the dragged start and end date.

Bugs are tracked on GitHub 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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -559,6 +559,8 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Dennis Sluijk <d.sluijk@onestein.nl>
  • Thong Nguyen Van <thongnv@trobz.com>
  • Alexandre Díaz <alexandre.diaz@tecnativa.com>
  • +
  • Murtaza Mithaiwala <mmithaiwala@opensourceintegrators.com>
  • +
  • Ammar Officewala <aofficewala@opensourceintegrators.com>
  • @@ -570,7 +572,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

    Current maintainer:

    tarteo

    -

    This module is part of the OCA/web project on GitHub.

    +

    This module is part of the OCA/web project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/web_timeline/static/src/js/timeline_view.js b/web_timeline/static/src/js/timeline_view.js index 24b9b4955..fc01ae2a9 100644 --- a/web_timeline/static/src/js/timeline_view.js +++ b/web_timeline/static/src/js/timeline_view.js @@ -26,11 +26,11 @@ odoo.define("web_timeline.TimelineView", function (require) { icon: "fa-tasks", jsLibs: ["/web_timeline/static/lib/vis-timeline/vis-timeline-graph2d.js"], cssLibs: ["/web_timeline/static/lib/vis-timeline/vis-timeline-graph2d.css"], - config: { + config: _.extend({}, AbstractView.prototype.config, { Model: TimelineModel, Controller: TimelineController, Renderer: TimelineRenderer, - }, + }), /** * @override