Add missing <span> tags back to some FormattedMessages
This commit is contained in:
parent
0463a70d7e
commit
3ae22ce8ee
2 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ import { FormattedMessage } from 'react-intl';
|
||||||
const LoadingIndicator = () => (
|
const LoadingIndicator = () => (
|
||||||
<div className='loading-indicator'>
|
<div className='loading-indicator'>
|
||||||
<div className='loading-indicator__figure' />
|
<div className='loading-indicator__figure' />
|
||||||
<FormattedMessage id='loading_indicator.label' defaultMessage='Loading...' />
|
<span><FormattedMessage id='loading_indicator.label' defaultMessage='Loading...' /></span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -68,26 +68,26 @@ class TabsBar extends React.PureComponent {
|
||||||
links.push(
|
links.push(
|
||||||
<Link key='logo' className='tabs-bar__link--logo' to='/' data-preview-title-id='column.home'>
|
<Link key='logo' className='tabs-bar__link--logo' to='/' data-preview-title-id='column.home'>
|
||||||
<img alt='Logo' src={logo} />
|
<img alt='Logo' src={logo} />
|
||||||
<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />
|
<span><FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></span>
|
||||||
</Link>);
|
</Link>);
|
||||||
}
|
}
|
||||||
links.push(
|
links.push(
|
||||||
<NavLink key='home' className='tabs-bar__link' exact to='/' data-preview-title-id='column.home'>
|
<NavLink key='home' className='tabs-bar__link' exact to='/' data-preview-title-id='column.home'>
|
||||||
<Icon id='home' />
|
<Icon id='home' />
|
||||||
<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />
|
<span><FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></span>
|
||||||
</NavLink>);
|
</NavLink>);
|
||||||
if (account) {
|
if (account) {
|
||||||
links.push(
|
links.push(
|
||||||
<NavLink key='notifications' className='tabs-bar__link' to='/notifications' data-preview-title-id='column.notifications'>
|
<NavLink key='notifications' className='tabs-bar__link' to='/notifications' data-preview-title-id='column.notifications'>
|
||||||
<Icon id='bell' />
|
<Icon id='bell' />
|
||||||
<NotificationsCounterIcon />
|
<NotificationsCounterIcon />
|
||||||
<FormattedMessage id='tabs_bar.notifications' defaultMessage='Notifications' />
|
<span><FormattedMessage id='tabs_bar.notifications' defaultMessage='Notifications' /></span>
|
||||||
</NavLink>);
|
</NavLink>);
|
||||||
}
|
}
|
||||||
links.push(
|
links.push(
|
||||||
<NavLink key='search' className='tabs-bar__link tabs-bar__link--search' to='/search' data-preview-title-id='tabs_bar.search'>
|
<NavLink key='search' className='tabs-bar__link tabs-bar__link--search' to='/search' data-preview-title-id='tabs_bar.search'>
|
||||||
<Icon id='search' />
|
<Icon id='search' />
|
||||||
<FormattedMessage id='tabs_bar.search' defaultMessage='Search' />
|
<span><FormattedMessage id='tabs_bar.search' defaultMessage='Search' /></span>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
);
|
);
|
||||||
return links.map((link) =>
|
return links.map((link) =>
|
||||||
|
|
Loading…
Reference in a new issue