mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 12:37:00 +00:00
Use “Link” text instead of an icon
This commit is contained in:
parent
c188257775
commit
4e91e53dbc
2 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ const prettyBytes = require('prettier-bytes')
|
|||
const FileItemProgress = require('./FileItemProgress')
|
||||
const getFileTypeIcon = require('../utils/getFileTypeIcon')
|
||||
const FilePreview = require('./FilePreview')
|
||||
const { iconCopy, iconRetry } = require('./icons')
|
||||
const { iconRetry } = require('./icons')
|
||||
const classNames = require('classnames')
|
||||
const { h } = require('preact')
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ module.exports = function fileItem (props) {
|
|||
props.info(props.i18n('copyLinkToClipboardSuccess'), 'info', 3000)
|
||||
})
|
||||
.catch(props.log)
|
||||
}}>{iconCopy()}</button>
|
||||
}}>{props.i18n('link')}</button>
|
||||
: ''
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ module.exports = class Dashboard extends Plugin {
|
|||
copyLinkToClipboardSuccess: 'Link copied to clipboard',
|
||||
copyLinkToClipboardFallback: 'Copy the URL below',
|
||||
copyLink: 'Copy link',
|
||||
link: 'Link',
|
||||
fileSource: 'File source: %{name}',
|
||||
done: 'Done',
|
||||
back: 'Back',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue