mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 16:16:20 +00:00
translation fixes
This commit is contained in:
parent
7dc014a71b
commit
e198b0ef4d
@ -15,7 +15,7 @@ export const SelectedStep = ({ selectedAssets, onSelectAsset, onReorderAsset })
|
||||
<Typography variant="pi" fontWeight="bold" textColor="neutral800">
|
||||
{formatMessage(
|
||||
{
|
||||
id: getTrad('list.assets.selected'),
|
||||
id: getTrad('list.assets.to-upload'),
|
||||
defaultMessage:
|
||||
'{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload',
|
||||
},
|
||||
|
||||
@ -78,7 +78,7 @@ export const PendingAssetStep = ({
|
||||
<Typography variant="pi" fontWeight="bold" textColor="neutral800">
|
||||
{formatMessage(
|
||||
{
|
||||
id: getTrad('list.assets.selected'),
|
||||
id: getTrad('list.assets.to-upload'),
|
||||
defaultMessage:
|
||||
'{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload',
|
||||
},
|
||||
|
||||
@ -11,7 +11,6 @@ import { Link } from '@strapi/design-system/Link';
|
||||
import ArrowLeft from '@strapi/icons/ArrowLeft';
|
||||
import Plus from '@strapi/icons/Plus';
|
||||
import { getTrad } from '../../../utils';
|
||||
import { FolderDefinition } from '../../../constants';
|
||||
|
||||
export const Header = ({
|
||||
canCreate,
|
||||
@ -87,7 +86,15 @@ Header.defaultProps = {
|
||||
Header.propTypes = {
|
||||
assetCount: PropTypes.number.isRequired,
|
||||
canCreate: PropTypes.bool.isRequired,
|
||||
folder: PropTypes.shape(FolderDefinition),
|
||||
folder: PropTypes.shape({
|
||||
id: PropTypes.number.isRequired,
|
||||
createdAt: PropTypes.string.isRequired,
|
||||
name: PropTypes.string.isRequired,
|
||||
parent: PropTypes.number,
|
||||
updatedAt: PropTypes.string.isRequired,
|
||||
pathId: PropTypes.number.isRequired,
|
||||
path: PropTypes.string.isRequired,
|
||||
}),
|
||||
folderCount: PropTypes.number.isRequired,
|
||||
onToggleEditFolderDialog: PropTypes.func.isRequired,
|
||||
onToggleUploadAssetDialog: PropTypes.func.isRequired,
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
"form.upload-url.error.url.invalid": "One URL is invalid",
|
||||
"form.upload-url.error.url.invalids": "{number} URLs are invalids",
|
||||
"header.actions.add-assets": "Add new assets",
|
||||
"header.actions.add-folder": "Add new folder",
|
||||
"header.actions.add-assets.folder": "folder",
|
||||
"header.actions.upload-assets": "Upload assets",
|
||||
"header.actions.upload-new-asset": "Upload new asset",
|
||||
@ -46,8 +47,9 @@
|
||||
"list.assets.loading-asset": "Loading the preview for the media: {path}",
|
||||
"list.assets.not-supported-content": "No preview available",
|
||||
"list.assets.preview-asset": "Preview for the video at path {path}",
|
||||
"list.assets.selected": "{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload",
|
||||
"list.assets.selected": "{numberFolders, plural, one {1 folder} other {# folders}} - {numberAssets, plural, one {1 asset} other {# assets}}",
|
||||
"list.assets.type-not-allowed": "This type of file is not allowed.",
|
||||
"list.assets.to-upload": "{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload",
|
||||
"list.folder.edit": "Edit folder",
|
||||
"list.folder.subtitle": "{folderCount, plural, =0 {# folder} one {# folder} other {# folders}}, {filesCount, plural, =0 {# asset} one {# asset} other {# assets}}",
|
||||
"list.folders.title": "Folders",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user