mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 19:23:55 +00:00
Merge pull request #969 from transloadit/doc/dashboard-locale
website: Mention Status Bar strings in Dashboard documentation.
This commit is contained in:
commit
796dd3eaf5
1 changed files with 8 additions and 1 deletions
|
|
@ -199,6 +199,8 @@ Dashboard ships with the `ThumbnailGenerator` plugin that adds small resized ima
|
|||
|
||||
Localize text that is shown to the user.
|
||||
|
||||
The Dashboard also contains the [`@uppy/status-bar`](/docs/status-bar) plugin by default, which has its own strings. Strings for the Status Bar can also be specified in the Dashboard `locale.strings` option, and will be passed down. They are not all listed below—see the [`@uppy/status-bar`](/docs/status-bar) documentation pages for the full list.
|
||||
|
||||
The default English strings are:
|
||||
|
||||
```js
|
||||
|
|
@ -251,7 +253,12 @@ strings: {
|
|||
// Used as the hover text and screen reader label for the buttons to pause uploads.
|
||||
pauseUpload: 'Pause upload',
|
||||
// Used as the hover text and screen reader label for the buttons to retry failed uploads.
|
||||
retryUpload: 'Retry upload'
|
||||
retryUpload: 'Retry upload',
|
||||
|
||||
// @uppy/status-bar strings:
|
||||
uploading: 'Uploading',
|
||||
complete: 'Complete'
|
||||
// ...etc
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue