Skip to content

Commit 8edf53b

Browse files
author
Stanislav Idolov
authored
ENGCOM-2036: [Backport] #16079 translation possibility for moreButtonText #16229
2 parents f266e65 + 9d25eea commit 8edf53b

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)