Fix category page labels not being translated (#423)
This commit is contained in:
parent
82643b1f4a
commit
fb7c5d0fff
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ function DiscoverPage(props: Props) {
|
||||||
headerLabel = (
|
headerLabel = (
|
||||||
<span>
|
<span>
|
||||||
<Icon icon={(dynamicRouteProps && dynamicRouteProps.icon) || discoverIcon} size={10} />
|
<Icon icon={(dynamicRouteProps && dynamicRouteProps.icon) || discoverIcon} size={10} />
|
||||||
{(dynamicRouteProps && dynamicRouteProps.title) || discoverLabel}
|
{(dynamicRouteProps && __(`${dynamicRouteProps.title}`)) || discoverLabel}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue