mirror of
https://github.com/strapi/strapi.git
synced 2025-08-04 14:56:22 +00:00
Add react-clipboard dependency back and update translation
This commit is contained in:
parent
f2450b9298
commit
df97f6ebda
@ -62,7 +62,7 @@ const CardButton = ({ strapiPeerDepVersion, strapiAppVersion, handleCopy, plugin
|
||||
{
|
||||
id: 'admin.pages.MarketPlacePage.plugin.version',
|
||||
defaultMessage:
|
||||
'Update your Strapi version: "{strapiAppVersion}" to satisfy the compatible range: "{versionRange}"',
|
||||
'Update your Strapi version: "{strapiAppVersion}" to: "{versionRange}"',
|
||||
},
|
||||
{
|
||||
strapiAppVersion,
|
||||
|
@ -271,9 +271,7 @@ describe('Marketplace page', () => {
|
||||
});
|
||||
expect(button).toBeDisabled();
|
||||
expect(tooltip).toBeInTheDocument();
|
||||
expect(tooltip).toHaveTextContent(
|
||||
'Update your Strapi version: "4.1.0" to satisfy the compatible range: "4.0.7"'
|
||||
);
|
||||
expect(tooltip).toHaveTextContent('Update your Strapi version: "4.1.0" to: "4.0.7"');
|
||||
});
|
||||
|
||||
it('shows compatibility tooltip message when no version provided', async () => {
|
||||
|
@ -270,7 +270,7 @@
|
||||
"admin.pages.MarketPlacePage.plugin.installed": "Installed",
|
||||
"admin.pages.MarketPlacePage.plugin.tooltip.madeByStrapi": "Made by Strapi",
|
||||
"admin.pages.MarketPlacePage.plugin.tooltip.verified": "Plugin verified by Strapi",
|
||||
"admin.pages.MarketPlacePage.plugin.version": "Update your Strapi version: \"{strapiAppVersion}\" to satisfy the compatible range: \"{versionRange}\"",
|
||||
"admin.pages.MarketPlacePage.plugin.version": "Update your Strapi version: \"{strapiAppVersion}\" to: \"{versionRange}\"",
|
||||
"admin.pages.MarketPlacePage.plugin.version.null": "Unable to verify compatibility with your Strapi version: \"{strapiAppVersion}\"",
|
||||
"admin.pages.MarketPlacePage.providers": "Providers",
|
||||
"admin.pages.MarketPlacePage.search.clear": "Clear the search",
|
||||
|
@ -107,6 +107,7 @@
|
||||
"prop-types": "^15.7.2",
|
||||
"qs": "6.10.1",
|
||||
"react": "^17.0.2",
|
||||
"react-copy-to-clipboard": "^5.1.0",
|
||||
"react-dnd": "^14.0.2",
|
||||
"react-dnd-html5-backend": "^14.0.0",
|
||||
"react-dom": "^17.0.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user