Files
design-themes/theme_orchid/views/snippets/s_quotes_carousel.xml
T
Romain Derie 06de4eae11 [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#718

X-original-commit: 7cdb6d2ab7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-10-17 15:56:19 +00:00

54 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Quotes carousel -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/22","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//ol[hasclass('carousel-indicators')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_22"/>
</xpath>
<!-- Quote 1 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[1]/p" position="replace" mode="inner">
A wide range of high quality products and a warm welcome! I recommend this shop 200%!
</xpath>
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="pt200 pb200" remove="pt80 pb80" separator=" "/>
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<!-- Quote 2 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[2]/p" position="replace" mode="inner">
Very nice, colorful shop with many choices in the heart of a very pretty town.
</xpath>
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
<attribute name="class" add="pt200 pb200" remove="pt80 pb80" separator=" "/>
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<!-- Center the blockquote -->
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
</xpath>
<!-- Quote 3 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[3]/p" position="replace" mode="inner">
A small shop with a very large selection of roses. Nice prices and above all a very professional and friendly welcome.
</xpath>
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="pt200 pb200" remove="pt80 pb80" separator=" "/>
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<!-- Center the blockquote -->
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
</xpath>
</template>
</odoo>