mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 08:52:26 +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 (
|
||||
<MainNav condensed={condensed}>
|
||||
<NavBrand
|
||||
workplace="Workplace"
|
||||
title="Strapi Dashboard"
|
||||
icon={<img src={menuLogo} alt="Strapi Dashboard" />}
|
||||
workplace={formatMessage({
|
||||
id: 'content-manager.plugin.name',
|
||||
defaultMessage: 'Workplace',
|
||||
})}
|
||||
title={menuTitle}
|
||||
icon={<img src={menuLogo} alt={menuTitle} />}
|
||||
/>
|
||||
|
||||
<Divider />
|
||||
|
@ -239,6 +239,8 @@
|
||||
"app.component.table.edit": "Edit {target}",
|
||||
"app.component.table.select.all-entries": "Select all entries",
|
||||
"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.content": "Read the latest news about Strapi and the ecosystem.",
|
||||
"app.components.BlockLink.code": "Code examples",
|
||||
|
Loading…
x
Reference in New Issue
Block a user