Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
39 changes: 39 additions & 0 deletions plugins/otter-pro/wpml-config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<wpml-config>
<gutenberg-blocks>

<gutenberg-block type="themeisle-blocks/business-hours" translate="1">
<key name="title" />
<xpath>//div[contains(@class, "otter-business-hour__title")]/span</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/business-hours-item" translate="1">
<key name="label" />
<key name="time" />
<xpath>//div[contains(@class, "otter-business-hour-item__label")]/span</xpath>
<xpath>//div[contains(@class, "otter-business-hour-item__time")]/span</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/add-to-cart-button" translate="1">
<key name="label" />
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/review-comparison" translate="1">
<key name="buttonText" />
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/form-file" translate="1">
<key name="label" />
<key name="placeholder" />
<key name="helpText" />
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/form-hidden-field" translate="1">
<key name="label" />
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/form-stripe-field" translate="1">
<key name="label" />
</gutenberg-block>

</gutenberg-blocks>
</wpml-config>
125 changes: 125 additions & 0 deletions wpml-config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="themeisle-blocks/accordion-item" translate="1">
<key name="title" />
<xpath>//summary/*[self::div or self::h1 or self::h2 or self::h3 or self::h4 or self::h5 or self::h6]</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/tabs-item" translate="1">
<key name="title" />
<xpath>//div[contains(@class, "wp-block-themeisle-blocks-tabs-item__header")]</xpath>
<xpath>//div[@data-title]/@data-title</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/flip" translate="1">
<key name="title" />
<key name="description" />
<key name="frontMedia">
<key name="alt" />
</key>
<xpath>//div[contains(@class, "o-flip-content")]/h3</xpath>
<xpath>//div[contains(@class, "o-flip-content")]/p</xpath>
Comment thread
Copilot marked this conversation as resolved.
<xpath>//div[contains(@class, "o-flip-content")]/img/@alt</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/circle-counter" translate="1">
<key name="title" />
<xpath>//span[contains(@class, "wp-block-themeisle-blocks-circle-counter-title__value")]</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/progress-bar" translate="1">
<key name="title" />
<xpath>//span[contains(@class, "wp-block-themeisle-blocks-progress-bar__outer__title")]</xpath>
<xpath>//div[contains(@class, "wp-block-themeisle-blocks-progress-bar__area__title")]/span</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/icon-list-item" translate="1">
<key name="content" />
<key name="iconAlt" />
<xpath>//p[contains(@class, "wp-block-themeisle-blocks-icon-list-item-content")]</xpath>
<xpath>//img/@alt</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/form" translate="1">
<key name="submitLabel" />
<key name="submitMessage" />
<xpath>//button[contains(@class, "wp-block-button__link")]</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/form-input" translate="1">
<key name="label" />
<key name="placeholder" />
<key name="helpText" />
<xpath>//span[contains(@class, "otter-form-input-label__label")]</xpath>
<xpath>//input/@placeholder</xpath>
Comment thread
girishpanchal30 marked this conversation as resolved.
<xpath>//input[contains(@class, "otter-form-input")]/@value</xpath>
<xpath>//span[contains(@class, "o-form-help")]</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/form-textarea" translate="1">
<key name="label" />
<key name="placeholder" />
<key name="helpText" />
<xpath>//span[contains(@class, "otter-form-textarea-label__label")]</xpath>
<xpath>//textarea/@placeholder</xpath>
<xpath>//textarea[contains(@class, "otter-form-textarea-input")]</xpath>
<xpath>//span[contains(@class, "o-form-help")]</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/lottie" translate="1">
<key name="ariaLabel" />
<xpath>//*[@aria-label]/@aria-label</xpath>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/review" translate="1">
<key name="title" />
<key name="description" />
<key name="prosLabel" />
<key name="consLabel" />
<key name="buttonsLabel" />
<key name="pros" />
<key name="cons" />
Comment thread
girishpanchal30 marked this conversation as resolved.
<key name="features">
<key name="title" />
</key>
<key name="links">
<key name="label" />
</key>
<key name="image">
<key name="alt" />
</key>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/stripe-checkout" translate="1">
<key name="successMessage" />
<key name="cancelMessage" />
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/form-multiple-choice" translate="1">
<key name="label" />
<key name="placeholder" />
<key name="helpText" />
<key name="options">
<key name="content" />
</key>
<key name="options" />
Comment thread
girishpanchal30 marked this conversation as resolved.
Outdated
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/google-map" translate="1">
<key name="location" />
<key name="markers">
<key name="title" />
<key name="description" />
</key>
</gutenberg-block>

<gutenberg-block type="themeisle-blocks/leaflet-map" translate="1">
<key name="location" />
<key name="markers">
<key name="title" />
<key name="description" />
</key>
</gutenberg-block>

</gutenberg-blocks>
</wpml-config>
Loading