Skip to content

Commit 0155121

Browse files
committed
Fix missing whitespace in JS navigation on mobile devices
fix incorrect translation for mobile navigation items with "All" prefix
1 parent 80469a6 commit 0155121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ define([
461461

462462
this.categoryLink = $('<a>')
463463
.attr('href', categoryUrl)
464-
.text($.mage.__('All ') + category);
464+
.text($.mage.__('All %1').replace('%1', category));
465465

466466
this.categoryParent = $('<li>')
467467
.addClass('ui-menu-item all-category')

0 commit comments

Comments
 (0)