mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 00:09:23 +00:00
update translation
This commit is contained in:
parent
bd4c073871
commit
eda76ecc7c
@ -40,6 +40,11 @@ const MarketPlacePage = () => {
|
|||||||
const toggleNotification = useNotification();
|
const toggleNotification = useNotification();
|
||||||
const { notifyStatus } = useNotifyAT();
|
const { notifyStatus } = useNotifyAT();
|
||||||
|
|
||||||
|
const title = formatMessage({
|
||||||
|
id: 'admin.pages.MarketPlacePage.title',
|
||||||
|
defaultMessage: 'Marketplace',
|
||||||
|
});
|
||||||
|
|
||||||
const notifyLoad = () => {
|
const notifyLoad = () => {
|
||||||
notifyStatus(
|
notifyStatus(
|
||||||
formatMessage(
|
formatMessage(
|
||||||
@ -47,7 +52,7 @@ const MarketPlacePage = () => {
|
|||||||
id: 'app.utils.notify.data-loaded',
|
id: 'app.utils.notify.data-loaded',
|
||||||
defaultMessage: 'The {target} has loaded',
|
defaultMessage: 'The {target} has loaded',
|
||||||
},
|
},
|
||||||
{ target: 'test' }
|
{ target: title }
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -62,7 +67,6 @@ const MarketPlacePage = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const isLoading = status !== 'success' && status !== 'error';
|
const isLoading = status !== 'success' && status !== 'error';
|
||||||
console.log('plugins', data);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
trackUsage('didGoToMarketplace');
|
trackUsage('didGoToMarketplace');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user