mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Media Library: improve microcopy
This commit is contained in:
parent
8924128465
commit
bc4ab36d08
@ -17,7 +17,7 @@ export const SelectedStep = ({ selectedAssets, onSelectAsset, onReorderAsset })
|
||||
{
|
||||
id: getTrad('list.assets.selected'),
|
||||
defaultMessage:
|
||||
'{number, plural, =0 {No asset} one {1 asset} other {# assets}} selected',
|
||||
'{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload',
|
||||
},
|
||||
{ number: selectedAssets.length }
|
||||
)}
|
||||
@ -25,7 +25,7 @@ export const SelectedStep = ({ selectedAssets, onSelectAsset, onReorderAsset })
|
||||
<Typography variant="pi" textColor="neutral600">
|
||||
{formatMessage({
|
||||
id: getTrad('modal.upload-list.sub-header-subtitle'),
|
||||
defaultMessage: 'Manage the assets before uploading them to the Media Library',
|
||||
defaultMessage: 'Manage the assets before adding them to the Media Library',
|
||||
})}
|
||||
</Typography>
|
||||
</Stack>
|
||||
|
@ -78,7 +78,7 @@ export const PendingAssetStep = ({
|
||||
{
|
||||
id: getTrad('list.assets.selected'),
|
||||
defaultMessage:
|
||||
'{number, plural, =0 {No asset} one {1 asset} other {# assets}} selected',
|
||||
'{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload',
|
||||
},
|
||||
{ number: assets.length }
|
||||
)}
|
||||
@ -86,7 +86,7 @@ export const PendingAssetStep = ({
|
||||
<Typography variant="pi" textColor="neutral600">
|
||||
{formatMessage({
|
||||
id: getTrad('modal.upload-list.sub-header-subtitle'),
|
||||
defaultMessage: 'Manage the assets before uploading them to the Media Library',
|
||||
defaultMessage: 'Manage the assets before adding them to the Media Library',
|
||||
})}
|
||||
</Typography>
|
||||
</Stack>
|
||||
|
@ -765,7 +765,7 @@ exports[`PendingAssetStep snapshots the component with valid cards 1`] = `
|
||||
<span
|
||||
class="c12"
|
||||
>
|
||||
Manage the assets before uploading them to the Media Library
|
||||
Manage the assets before adding them to the Media Library
|
||||
</span>
|
||||
</div>
|
||||
<button
|
||||
|
@ -101,7 +101,7 @@ describe('UploadAssetDialog', () => {
|
||||
)
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText('Manage the assets before uploading them to the Media Library')
|
||||
screen.getByText('Manage the assets before adding them to the Media Library')
|
||||
).toBeInTheDocument();
|
||||
expect(screen.getAllByText(`test.${ext}`).length).toBe(number);
|
||||
expect(screen.getByText(ext)).toBeInTheDocument();
|
||||
@ -199,7 +199,7 @@ describe('UploadAssetDialog', () => {
|
||||
);
|
||||
expect(screen.getAllByText(`Add new assets`).length).toBe(2);
|
||||
expect(
|
||||
screen.getByText('Manage the assets before uploading them to the Media Library')
|
||||
screen.getByText('Manage the assets before adding them to the Media Library')
|
||||
).toBeInTheDocument();
|
||||
|
||||
assets.forEach(asset => {
|
||||
|
@ -68,7 +68,7 @@
|
||||
"modal.remove.success-label": "The asset has been successfully removed.",
|
||||
"modal.selected-list.sub-header-subtitle": "Drag & drop to reorder the assets in the field",
|
||||
"modal.upload-list.footer.button": "Upload {number, plural, one {# asset} other {# assets}} to the library",
|
||||
"modal.upload-list.sub-header-subtitle": "Manage the assets before uploading them to the Media Library",
|
||||
"modal.upload-list.sub-header-subtitle": "Manage the assets before adding them to the Media Library",
|
||||
"modal.upload-list.sub-header.button": "Add more assets",
|
||||
"modal.upload.cancelled": "Upload manually aborted.",
|
||||
"page.title": "Settings - Media Library",
|
||||
|
Loading…
x
Reference in New Issue
Block a user