From ef4143a17045e2273272f399d9ef4c932c51aa3c Mon Sep 17 00:00:00 2001 From: hkapatel Date: Thu, 1 Jul 2021 17:52:30 +0530 Subject: [PATCH] [MIG] html_image_url_extractor: Migration to 14.0 [UPD] Update html_image_url_extractor.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-14.0/server-tools-14.0-html_image_url_extractor Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-html_image_url_extractor/ --- html_image_url_extractor/README.rst | 14 +++++++----- html_image_url_extractor/__manifest__.py | 2 +- html_image_url_extractor/i18n/am.po | 20 +++++++++++++++++ html_image_url_extractor/i18n/ar.po | 20 +++++++++++++++++ html_image_url_extractor/i18n/bg.po | 20 +++++++++++++++++ .../i18n/html_image_url_extractor.pot | 22 ++++++++++++++++++- .../readme/CONTRIBUTORS.rst | 2 ++ .../readme/DESCRIPTION.rst | 2 +- .../static/description/index.html | 9 ++++---- .../tests/test_extractor.py | 2 +- 10 files changed, 99 insertions(+), 14 deletions(-) diff --git a/html_image_url_extractor/README.rst b/html_image_url_extractor/README.rst index e7c8ad98e..1b98b1042 100644 --- a/html_image_url_extractor/README.rst +++ b/html_image_url_extractor/README.rst @@ -14,13 +14,13 @@ Image URLs from HTML field :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github - :target: https://github.com/OCA/server-tools/tree/13.0/html_image_url_extractor + :target: https://github.com/OCA/server-tools/tree/14.0/html_image_url_extractor :alt: OCA/server-tools .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-html_image_url_extractor + :target: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-html_image_url_extractor :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/149/13.0 + :target: https://runbot.odoo-community.org/runbot/149/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -29,7 +29,7 @@ This module includes a method that extracts image URLs from any chunk of HTML, in appearing order. It is useful for modules such as `website_blog_excerpt_img -`_: blog list shows the first +`_: blog list shows the first image included in the post if haven't a defined cover image. **Table of contents** @@ -70,7 +70,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. @@ -95,6 +95,8 @@ Contributors * Cristina Martin R * Víctor Martínezz +* Helly kapatel + Maintainers ~~~~~~~~~~~ @@ -108,6 +110,6 @@ 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. -This module is part of the `OCA/server-tools `_ project on GitHub. +This module is part of the `OCA/server-tools `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/html_image_url_extractor/__manifest__.py b/html_image_url_extractor/__manifest__.py index d1184fc6a..84f980e36 100644 --- a/html_image_url_extractor/__manifest__.py +++ b/html_image_url_extractor/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Image URLs from HTML field", "summary": "Extract images found in any HTML field", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Tools", "website": "https://github.com/OCA/server-tools", "author": "Tecnativa, Onestein, Odoo Community Association (OCA)", diff --git a/html_image_url_extractor/i18n/am.po b/html_image_url_extractor/i18n/am.po index 54ac9f061..5be7391d9 100644 --- a/html_image_url_extractor/i18n/am.po +++ b/html_image_url_extractor/i18n/am.po @@ -18,11 +18,31 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__display_name +msgid "Display Name" +msgstr "" + #. module: html_image_url_extractor #: model:ir.model,name:html_image_url_extractor.model_ir_fields_converter msgid "Fields Converter" msgstr "" +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__id +msgid "ID" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter____last_update +msgid "Last Modified on" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__smart_search +msgid "Smart Search" +msgstr "" + #~ msgid "Created by" #~ msgstr "Creado por" diff --git a/html_image_url_extractor/i18n/ar.po b/html_image_url_extractor/i18n/ar.po index 94a55414d..c18e3f9c2 100644 --- a/html_image_url_extractor/i18n/ar.po +++ b/html_image_url_extractor/i18n/ar.po @@ -19,11 +19,31 @@ msgstr "" "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: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__display_name +msgid "Display Name" +msgstr "" + #. module: html_image_url_extractor #: model:ir.model,name:html_image_url_extractor.model_ir_fields_converter msgid "Fields Converter" msgstr "" +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__id +msgid "ID" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter____last_update +msgid "Last Modified on" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__smart_search +msgid "Smart Search" +msgstr "" + #~ msgid "Created by" #~ msgstr "أنشئ بواسطة" diff --git a/html_image_url_extractor/i18n/bg.po b/html_image_url_extractor/i18n/bg.po index c7f9b5837..d03a61ba6 100644 --- a/html_image_url_extractor/i18n/bg.po +++ b/html_image_url_extractor/i18n/bg.po @@ -18,11 +18,31 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__display_name +msgid "Display Name" +msgstr "" + #. module: html_image_url_extractor #: model:ir.model,name:html_image_url_extractor.model_ir_fields_converter msgid "Fields Converter" msgstr "" +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__id +msgid "ID" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter____last_update +msgid "Last Modified on" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__smart_search +msgid "Smart Search" +msgstr "" + #~ msgid "Created by" #~ msgstr "Създадено от" diff --git a/html_image_url_extractor/i18n/html_image_url_extractor.pot b/html_image_url_extractor/i18n/html_image_url_extractor.pot index 6f0e42665..33a86b3c2 100644 --- a/html_image_url_extractor/i18n/html_image_url_extractor.pot +++ b/html_image_url_extractor/i18n/html_image_url_extractor.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" @@ -13,7 +13,27 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__display_name +msgid "Display Name" +msgstr "" + #. module: html_image_url_extractor #: model:ir.model,name:html_image_url_extractor.model_ir_fields_converter msgid "Fields Converter" msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__id +msgid "ID" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter____last_update +msgid "Last Modified on" +msgstr "" + +#. module: html_image_url_extractor +#: model:ir.model.fields,field_description:html_image_url_extractor.field_ir_fields_converter__smart_search +msgid "Smart Search" +msgstr "" diff --git a/html_image_url_extractor/readme/CONTRIBUTORS.rst b/html_image_url_extractor/readme/CONTRIBUTORS.rst index ed4a17636..9ce138fdb 100644 --- a/html_image_url_extractor/readme/CONTRIBUTORS.rst +++ b/html_image_url_extractor/readme/CONTRIBUTORS.rst @@ -6,3 +6,5 @@ * Vicent Cubells * Cristina Martin R * Víctor Martínezz + +* Helly kapatel diff --git a/html_image_url_extractor/readme/DESCRIPTION.rst b/html_image_url_extractor/readme/DESCRIPTION.rst index 3eed8337b..95f9a673c 100644 --- a/html_image_url_extractor/readme/DESCRIPTION.rst +++ b/html_image_url_extractor/readme/DESCRIPTION.rst @@ -2,5 +2,5 @@ This module includes a method that extracts image URLs from any chunk of HTML, in appearing order. It is useful for modules such as `website_blog_excerpt_img -`_: blog list shows the first +`_: blog list shows the first image included in the post if haven't a defined cover image. diff --git a/html_image_url_extractor/static/description/index.html b/html_image_url_extractor/static/description/index.html index 606980c4c..facc67c02 100644 --- a/html_image_url_extractor/static/description/index.html +++ b/html_image_url_extractor/static/description/index.html @@ -367,10 +367,10 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

This module includes a method that extracts image URLs from any chunk of HTML, in appearing order.

-

It is useful for modules such as website_blog_excerpt_img: blog list shows the first +

It is useful for modules such as website_blog_excerpt_img: blog list shows the first image included in the post if haven’t a defined cover image.

Table of contents

@@ -415,7 +415,7 @@ def some_method(self):

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.

@@ -438,6 +438,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Víctor Martínezz
  • +
  • Helly kapatel <helly.kapatel@initos.com>
  • @@ -447,7 +448,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    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.

    -

    This module is part of the OCA/server-tools project on GitHub.

    +

    This module is part of the OCA/server-tools project on GitHub.

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

    diff --git a/html_image_url_extractor/tests/test_extractor.py b/html_image_url_extractor/tests/test_extractor.py index e461deec5..82e6be877 100644 --- a/html_image_url_extractor/tests/test_extractor.py +++ b/html_image_url_extractor/tests/test_extractor.py @@ -8,7 +8,7 @@ from odoo.tools import mute_logger class ExtractorCase(TransactionCase): def setUp(self): - super(ExtractorCase, self).setUp() + super().setUp() # Shortcut self.imgs_from_html = self.env["ir.fields.converter"].imgs_from_html