Files
design-themes/theme_yes/views/snippets/s_masonry_block.xml
T
Romain Derie 9c23ffc98d [IMP] themes_*: rewrite some messages and fix typos
Themes translation in Odoo 16 have been lost, they were not exported on
Transifex anymore (bug).

We just added back the repository on it, and our internal translators
are working on those translations.

They found some typos and bad wording which are fixed here.

Technically, note that we need the themes fully translated for the
chatGPT integration coming in website configurator.
Indeed, if a theme is not (almost fully) translated, it won't be using
chatGPT for text replacement.
This is because if we ask chatGPT to do text replacement and translation
at the same time, it just provides bad results.
See https://github.com/odoo/odoo/pull/137703

closes odoo/design-themes#725

X-original-commit: 7cdb6d2ab7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-10-18 07:51:44 +00:00

78 lines
3.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
<!-- Image Block -->
<xpath expr="//div[hasclass('o_grid_item_image')]" position="attributes">
<attribute name="class" add="col-lg-4 g-col-lg-4 border rounded" remove="col-lg-6 g-col-lg-6" separator=" "/>
<attribute name="style" add="border-color: rgb(255, 255, 255) !important; border-width: 10px !important; border-radius: 14px !important; grid-area: 1 / 1 / 11 / 5;" separator="; "/>
</xpath>
<!-- Image Block - Image -->
<xpath expr="//img" position="attributes">
<attribute name="style" add="border-radius: 4px !important;" separator="; "/>
</xpath>
<!-- Little Blocks -->
<!-- Little block #01 - Title -->
<xpath expr="//h3" position="replace" mode="inner">
Caterers
</xpath>
<!-- Little block #01 - Text -->
<xpath expr="//*[hasclass('col-lg-3')]//p" position="replace">
<p>Check out our list of favorite caterers.</p>
<p><a href="#" class="btn btn-secondary rounded-circle">Find a Caterer</a></p>
</xpath>
<!-- Little block #01 - Main div -->
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
<attribute name="class" add="col-lg-4 g-col-lg-4 border rounded" remove="col-lg-3 g-col-lg-3" separator=" "/>
<attribute name="style" add="border-color: rgb(255, 255, 255) !important; border-width: 10px !important; border-radius: 14px !important; grid-area: 1 / 5 / 6 / 9;" separator="; "/>
</xpath>
<!-- Little block #02 - Title -->
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Venues
</xpath>
<!-- Little block #02 - Text -->
<xpath expr="//*[hasclass('col-lg-3')]//p" position="replace">
<p>Check out our list of favorite venues.</p>
<p><a href="#" class="btn btn-secondary">Find a venue</a></p>
</xpath>
<!-- Little block #02 - Main div -->
<xpath expr="//*[hasclass('col-lg-3')]" position="attributes">
<attribute name="class" add="col-lg-4 g-col-lg-4 border rounded" remove="col-lg-3 g-col-lg-3" separator=" "/>
<attribute name="style" add="border-color: rgb(255, 255, 255) !important; border-width: 10px !important; border-radius: 14px !important; grid-area: 1 / 9 / 6 / 13;" separator="; "/>
</xpath>
<!-- Little block #03 - Title -->
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Attire
</xpath>
<!-- Little block #03 - Text -->
<xpath expr="//*[hasclass('col-lg-3')]//p" position="replace">
<p>Find the perfect outfit for before, during and after the main event.</p>
<p><a href="#" class="btn btn-primary">Shop</a></p>
</xpath>
<!-- Little block #03 - Main div -->
<xpath expr="//*[hasclass('col-lg-3')]" position="attributes">
<attribute name="class" add="col-lg-4 g-col-lg-4 border rounded" remove="col-lg-3 g-col-lg-3" separator=" "/>
<attribute name="style" add="border-color: rgb(255, 255, 255) !important; border-width: 10px !important; border-radius: 14px !important; grid-area: 6 / 5 / 11 / 9;" separator="; "/>
</xpath>
<!-- Little block #04 - Title -->
<xpath expr="(//h3)[4]" position="replace" mode="inner">
FAQ
</xpath>
<!-- Little block #04 - Text -->
<xpath expr="//*[hasclass('col-lg-3')]//p" position="replace">
<p>Find the answers to all your questions <br/>in our FAQ.</p>
<p><a href="#" class="btn btn-primary">Go to FAQ</a></p>
</xpath>
<!-- Little block #04 - Main div -->
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
<attribute name="class" add="col-lg-4 g-col-lg-4 border rounded" remove="col-lg-3 g-col-lg-3" separator=" "/>
<attribute name="style" add="border-color: rgb(255, 255, 255) !important; border-width: 10px !important; border-radius: 14px !important; grid-area: 6 / 9 / 11 / 13;" separator="; "/>
</xpath>
</template>
</odoo>