Skip to content

Commit 3a02c16

Browse files
arendarenkospeedy008
authored andcommitted
Fix missing whitespace in JS navigation on mobile devices
fix incorrect translation for mobile navigation items with "All" prefix
1 parent 848e1f9 commit 3a02c16

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
@@ -464,7 +464,7 @@ define([
464464

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

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

0 commit comments

Comments
 (0)