Skip to content

Commit 9d25eea

Browse files
ENGCOM-2036: [Backport] #16079 translation possibility for moreButtonText #16229
- Merge Pull Request #16229 from Karlasa/magento2:2.1-develop-PR-port-16190 - Merged commits: 1. d09dbe4 2. f523032
2 parents aa79287 + f523032 commit 9d25eea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Swatches/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ Image,Image
3535
"Image Position","Image Position"
3636
"The value of Admin must be unique.","The value of Admin must be unique."
3737
"Description","Description"
38+
"More","More"

app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ define([
235235
controlLabelId: '',
236236

237237
// text for more button
238-
moreButtonText: 'More',
238+
moreButtonText: $t('More'),
239239

240240
// Callback url for media
241241
mediaCallback: '',

0 commit comments

Comments
 (0)