ywana-core8 0.0.886 → 0.0.887

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4024,6 +4024,7 @@ var SiteMenu = function SiteMenu(_ref6) {
4024
4024
  icon = _ref7$icon === void 0 ? 'info' : _ref7$icon,
4025
4025
  title = _ref7.title;
4026
4026
  var styleItem = id === page ? 'selected' : '';
4027
+ var titleTxt = context.translate(title);
4027
4028
  return /*#__PURE__*/React.createElement("div", {
4028
4029
  className: "site-menu-item " + styleItem,
4029
4030
  key: id,
@@ -4041,7 +4042,7 @@ var SiteMenu = function SiteMenu(_ref6) {
4041
4042
  action: function action() {
4042
4043
  return _goto(id);
4043
4044
  }
4044
- })), sideNav === 'max' ? /*#__PURE__*/React.createElement("label", null, title) : null);
4045
+ })), sideNav === 'max' ? /*#__PURE__*/React.createElement("label", null, titleTxt) : null);
4045
4046
  }), /*#__PURE__*/React.createElement("div", {
4046
4047
  className: "section-divider"
4047
4048
  }));