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

Adding a more specific "emptyText" when the product sorted is used in… #287

Merged
merged 1 commit into from
Jan 6, 2017
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="elasticsuite-admin-product-sorter-empty" data-bind="if: !hasProducts()">
<div class="message message-info">
<div data-bind="text: messages.emptyText"></div>
<div data-bind="html: messages.emptyText"></div>
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions src/module-elasticsuite-virtual-category/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
"Select category ...","Select category ..."
Merchandising,Merchandising
"Cannot move the category : '%2' is using '%1' as virtual root category.","Cannot move the category : '%2' is using '%1' as virtual root category."
"Your product selection is empty for the selected Store View. If you are running a multi-store setup, please check this <a href='https://github.com/Smile-SA/elasticsuite/wiki/VirtualCategories#previewing-virtual-categories-on-a-multi-store-setup'>manual page</a> for more informations.","Your product selection is empty for the selected Store View. If you are running a multi-store setup, please check this <a href='https://github.com/Smile-SA/elasticsuite/wiki/VirtualCategories#previewing-virtual-categories-on-a-multi-store-setup'>manual page</a> for more informations."
1 change: 1 addition & 0 deletions src/module-elasticsuite-virtual-category/i18n/fr_FR.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
"Select category ...","Choisissez une catégorie ..."
Merchandising,Merchandising
"Cannot move the category : '%2' is using '%1' as virtual root category.","Impossible de déplacer la catégorie : '%2' utilise actuellement '%1' comme racine."
"Your product selection is empty for the selected Store View. If you are running a multi-store setup, please check this <a href='https://github.com/Smile-SA/elasticsuite/wiki/VirtualCategories#previewing-virtual-categories-on-a-multi-store-setup'>manual page</a> for more informations.","Votre sélection de produits est vide pour la vue magasin actuellement sélectionnée. Si votre site comporte plusieurs vues magasin, consultez cette <a href='https://github.com/Smile-SA/elasticsuite/wiki/VirtualCategories#previewing-virtual-categories-on-a-multi-store-setup'>page du manuel</a> pour plus d'informations."
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@
<item name="label" xsi:type="string" translate="true">Products List Preview and Sorting</item>
<item name="dataScope" xsi:type="string">sorted_products</item>
<item name="pageSize" xsi:type="string">20</item>
<item name="messages" xsi:type="array">
<item name="emptyText" xsi:type="string" translate="true"><![CDATA[Your product selection is empty for the selected Store View. If you are running a multi-store setup, please check this <a href='https://github.com/Smile-SA/elasticsuite/wiki/VirtualCategories#previewing-virtual-categories-on-a-multi-store-setup'>manual page</a> for more informations.]]></item>
</item>
<item name="refreshFields" xsi:type="array">
<item name="is_virtual_category" xsi:type="string">is_virtual_category</item>
<item name="virtual_rule" xsi:type="string">virtual_rule</item>
Expand Down