Kaynağa Gözat

Merge pull request #969 from transloadit/doc/dashboard-locale

website: Mention Status Bar strings in Dashboard documentation.
Artur Paikin 6 yıl önce
ebeveyn
işleme
796dd3eaf5
1 değiştirilmiş dosya ile 8 ekleme ve 1 silme
  1. 8 1
      website/src/docs/dashboard.md

+ 8 - 1
website/src/docs/dashboard.md

@@ -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
 }
 ```