Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] website_snippet_marginless_gallery: Migration to version 17.0 #1074

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 99 additions & 0 deletions website_snippet_marginless_gallery/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
==========================
Marginless Gallery Snippet
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a19a901da5b457ee0a13bc349daf8c34cb65fb39514352952a46326be9e22cfe
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/17.0/website_snippet_marginless_gallery
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_snippet_marginless_gallery
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of the website module to add a new
snippet that forms a marginless gallery and allow you to create a grid
of photos that have no spaces between themselves.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

- Edit any page in your website.
- Go to **Blocks > Structure**.
- Drag the **Marginless Gallery** snippet anywhere in your page.

To change images, you need to:

- Select any image block in the snippet you just created.
- Go to **Customize > Background** and choose any background you want.
- Backgrounds will be centered and cover the whole element in any
layout.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_snippet_marginless_gallery%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Grupo ESOC Ingeniería de Servicios
* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Jairo Llopis
- Cristina Martin R.
- Pilar Vargas

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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/website <https://github.com/OCA/website/tree/17.0/website_snippet_marginless_gallery>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
24 changes: 24 additions & 0 deletions website_snippet_marginless_gallery/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2015-2017 Tecnativa - Jairo Llopis <[email protected]>
# Copyright 2019 Tecnativa - Cristina Martin R.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Marginless Gallery Snippet",
"summary": "Add a snippet to have a marginless image gallery",
"version": "17.0.1.0.0",
"category": "Website",
"license": "LGPL-3",
"website": "https://github.com/OCA/website",
"author": "Grupo ESOC Ingeniería de Servicios, "
"Tecnativa, "
"Odoo Community Association (OCA)",
"application": False,
"installable": True,
"images": ["images/marginless_gallery.png"],
"depends": ["website"],
"data": ["views/snippets.xml"],
"assets": {
"web.assets_tests": [
"/website_snippet_marginless_gallery/static/src/tests/tours/*.esm.js"
]
},
}
47 changes: 47 additions & 0 deletions website_snippet_marginless_gallery/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-17 18:45+0000\n"
"Last-Translator: claudiagn <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "<b>Click Edit</b> to start designing your homepage."
msgstr ""
"<b> Feu clic a Edita </b> per començar a dissenyar la vostra pàgina d'inici."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b> La nostra galeria </b>"

#. module: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
msgstr "Arrossegueu <i> Galeria sense marge </i> i deixeu-lo anar a la pàgina."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
64 changes: 64 additions & 0 deletions website_snippet_marginless_gallery/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-13 00:49+0000\n"
"PO-Revision-Date: 2023-06-20 11:08+0000\n"
"Last-Translator: Nils Coenen <[email protected]>\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\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.17\n"

#. module: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "<b>Click Edit</b> to start designing your homepage."
msgstr ""
"<b>Klicken Sie auf Bearbeiten</b>, um mit der Gestaltung Ihrer Homepage zu "
"beginnen."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b>Unsere Gallerie</b>"

#. module: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
msgstr ""
"Ziehen Sie die <i>Randlose Gallerie</i> per Drag-and-Drop auf die Seite."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
#, fuzzy
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr ""
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod "
"tempor incididunt ut labore et dolore magna."

#~ msgid "Change Images Height"
#~ msgstr "Ändere Bildhöhe"

#~ msgid "Height for all images in gallery"
#~ msgstr "Höhe aller Bilder in der Gallerie"

#~ msgid "Image height in pixels"
#~ msgstr "Bildhöhe in Pixeln"
61 changes: 61 additions & 0 deletions website_snippet_marginless_gallery/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-13 00:49+0000\n"
"PO-Revision-Date: 2020-10-06 17:16+0000\n"
"Last-Translator: claudiagn <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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 3.10\n"

#. module: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "<b>Click Edit</b> to start designing your homepage."
msgstr "<b>Clica Editar</b> para empezar a diseñar tu página de entrada."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b>Nuestra Galería</b>"

#. module: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
msgstr "Arrastra<i>Galería sin márgenes</i> y suéltala en la página."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."

#~ msgid "Change Images Height"
#~ msgstr "Cambiar la altura de las imágenes"

#~ msgid "Do not trim images"
#~ msgstr "No recortar las imágenes"

#~ msgid "Height for all images in gallery"
#~ msgstr "Altura para todas las imágenes de la galería"

#~ msgid "Image height in pixels"
#~ msgstr "Altura de imagen en píxeles"
71 changes: 71 additions & 0 deletions website_snippet_marginless_gallery/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_snippet_marginless_gallery
#
# Translators:
# Quentin THEURET <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-13 00:49+0000\n"
"PO-Revision-Date: 2019-07-28 11:47+0000\n"
"Last-Translator: jcleonard2018 <[email protected]>\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\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 3.7.1\n"

#. module: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "<b>Click Edit</b> to start designing your homepage."
msgstr "<b>Clique Editer</b> pour commencer à concevoir votre page d'accueil."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "<b>Our Gallery</b>"
msgstr "<b>Notre galerie</b>"

#. module: website_snippet_marginless_gallery
#. openerp-web
#: code:addons/website_snippet_marginless_gallery/static/src/tests/tours/website_snippet_marginless_gallery.js:0
#, python-format
msgid "Drag <i>Marginless Gallery</i> and drop it on the page."
msgstr "Faites glisser <i>la galerie en marge</i> et déplacez là dans la page."

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum"
msgstr "Lorem ipsum"

#. module: website_snippet_marginless_gallery
#: model_terms:ir.ui.view,arch_db:website_snippet_marginless_gallery.s_marginless_gallery
msgid "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."
msgstr "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do."

#~ msgid "%s is not a valid value"
#~ msgstr "%sn'est pas une valeur valide"

#~ msgid ""
#~ "All photos must have the same height or the\n"
#~ " gallery layout will be broken"
#~ msgstr ""
#~ "Toutes les photos doivent avoir la même hauteur ou \n"
#~ " l'affichage de la galerie sera cassé"

#~ msgid "Change Images Height"
#~ msgstr "Modifier la hauteur des images"

#~ msgid "Do not trim images"
#~ msgstr "Ne pas réduire les images"

#~ msgid "Height for all images in gallery"
#~ msgstr "Hauteur pour toutes les images dans la galerie"

#~ msgid "Image height in pixels"
#~ msgstr "Hauteur de l'image en pixels"
Loading
Loading