-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Fixed in 2.1.xThe issue has been fixed in 2.1 release lineThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions
- Magento 2.2.4
- PHP 7.1.17-1 & MySQL 5.7.22
Steps to reproduce
- You need a Configurable Product with a Swatch Product Attribute in Attribute Set
- Swatch attribute have color or image attached to each swatch attribute value
- This Parent Product have more than three children configured with the Swatch Attribute
- In configuration, you need to have in Catalog > Storefront > Swatches per Product defined to 2
- In configuration, you need to have in Catalog > Storefront > Show Swatches in Product List defined to Yes
Expected result
**String can be translated through i18n string in dictonary.csv**Actual result
**String is not translated**I would like to have some information about this line :
html += '<a href="#" class="' + moreClass + '">' + moreText + '</a>'; |
Indeed, I do not see any process to translate this string apart to pass a new value to options moreButtonText.
However, you pass the mage/translate to the define module, so a simple :
html += '<a href="#" class="' + moreClass + '">' + $t(moreText) + '</a>';
would be enough.
Could you provide me some information about this line, or we need to create a pull request about it.
Thank you,
Ilan PARMENTIER
Metadata
Metadata
Assignees
Labels
Fixed in 2.1.xThe issue has been fixed in 2.1 release lineThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed