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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.886",
3
+ "version": "0.0.887",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
package/src/site/site.js CHANGED
@@ -225,12 +225,13 @@ const SiteMenu = ({ iconSrc, title, children, min }) => {
225
225
  <div className={`section-title ${style}`}>{sideNav === "max" ? title : ''}</div>
226
226
  {sections[title].map(({ id, icon = 'info', title }) => {
227
227
  const styleItem = id === page ? 'selected' : ''
228
+ const titleTxt = context.translate(title)
228
229
  return (
229
230
  <div className={`site-menu-item ${styleItem}`} key={id} onClick={() => goto(id)}>
230
231
  <Tooltip text={title} top=".5rem" left="2rem">
231
232
  <Icon key={id} icon={icon} clickable action={() => goto(id)} />
232
233
  </Tooltip>
233
- {sideNav === 'max' ? <label>{title}</label> : null}
234
+ {sideNav === 'max' ? <label>{titleTxt}</label> : null}
234
235
  </div>
235
236
  )
236
237
  })}