mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +00:00
make left menu header title and workplace string resources
This commit is contained in:
parent
6b2e0dc72d
commit
a4e2a5fbac
@ -80,12 +80,20 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const menuTitle = formatMessage({
|
||||||
|
id: 'content-manager.plugin.name',
|
||||||
|
defaultMessage: 'Strapi Dashboard',
|
||||||
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MainNav condensed={condensed}>
|
<MainNav condensed={condensed}>
|
||||||
<NavBrand
|
<NavBrand
|
||||||
workplace="Workplace"
|
workplace={formatMessage({
|
||||||
title="Strapi Dashboard"
|
id: 'content-manager.plugin.name',
|
||||||
icon={<img src={menuLogo} alt="Strapi Dashboard" />}
|
defaultMessage: 'Workplace',
|
||||||
|
})}
|
||||||
|
title={menuTitle}
|
||||||
|
icon={<img src={menuLogo} alt={menuTitle} />}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
@ -239,6 +239,8 @@
|
|||||||
"app.component.table.edit": "Edit {target}",
|
"app.component.table.edit": "Edit {target}",
|
||||||
"app.component.table.select.all-entries": "Select all entries",
|
"app.component.table.select.all-entries": "Select all entries",
|
||||||
"app.component.table.select.one-entry": "Select {target}",
|
"app.component.table.select.one-entry": "Select {target}",
|
||||||
|
"app.components.menuBrand.title": "Strapi Dashboard",
|
||||||
|
"app.components.menuBrand.workplace": "Workplace",
|
||||||
"app.components.BlockLink.blog": "Blog",
|
"app.components.BlockLink.blog": "Blog",
|
||||||
"app.components.BlockLink.blog.content": "Read the latest news about Strapi and the ecosystem.",
|
"app.components.BlockLink.blog.content": "Read the latest news about Strapi and the ecosystem.",
|
||||||
"app.components.BlockLink.code": "Code examples",
|
"app.components.BlockLink.code": "Code examples",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user