diff --git a/packages/core/admin/admin/src/components/LeftMenu/index.js b/packages/core/admin/admin/src/components/LeftMenu/index.js
index 3cef803f2b..91fab8e509 100644
--- a/packages/core/admin/admin/src/components/LeftMenu/index.js
+++ b/packages/core/admin/admin/src/components/LeftMenu/index.js
@@ -1,8 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
-import { FormattedMessage } from 'react-intl';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-
+import { useIntl } from 'react-intl';
import { useHistory } from 'react-router-dom';
import {
MainNav,
@@ -24,6 +23,7 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
const { push } = useHistory();
const [condensed, setCondensed] = usePersistentState('navbar-condensed', false);
const { userDisplayName } = useAppInfos();
+ const { formatMessage } = useIntl();
return (
@@ -37,14 +37,14 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
}>
-
+ {formatMessage({ id: 'content-manager.plugin.name', defaultMessage: 'Content manager' })}
{pluginsSectionLinks.length > 0 ? (
{pluginsSectionLinks.map(link => (
}>
-
+ {formatMessage(link.intlLabel)}
))}
@@ -54,12 +54,14 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
{generalSectionLinks.map(link => (
0 && link.notificationsCount}
+ badgeContent={
+ (link.notificationsCount > 0 && link.notificationsCount.toString()) || undefined
+ }
to={link.to}
key={link.to}
icon={}
>
-
+ {formatMessage(link.intlLabel)}
))}
{/* This is temporary */}
@@ -81,11 +83,15 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
setCondensed(s => !s)}>
- {condensed ? (
-
- ) : (
-
- )}
+ {condensed
+ ? formatMessage({
+ id: 'app.components.LeftMenu.expand',
+ defaultMessage: 'Expand the navbar',
+ })
+ : formatMessage({
+ id: 'app.components.LeftMenu.collapse',
+ defaultMessage: 'Collapse the navbar',
+ })}
);
diff --git a/packages/core/admin/admin/src/content-manager/pages/App/LeftMenu/index.js b/packages/core/admin/admin/src/content-manager/pages/App/LeftMenu/index.js
index e9d2e35812..68732f65d0 100644
--- a/packages/core/admin/admin/src/content-manager/pages/App/LeftMenu/index.js
+++ b/packages/core/admin/admin/src/content-manager/pages/App/LeftMenu/index.js
@@ -71,7 +71,7 @@ const LeftMenu = () => {
});
return (
-
+
{
class="c0"
>