uppy/packages/@uppy/url/src
Artur Paikin 4ca78ab543
Set plugin titles from locale (#3023)
* What is happening "*"

* Instead of re-creating i18nInit, we could just make it part of the BasePlugin

* set plugin title and allow changing it from locale

* remove i18nInit method, since we now include it in BasePlugin

* All provider titles should come from locale

* Update en_US.js

* make translator private

//cc @aduh95

* init locale after calling setOptions

* Update en_US.js

* Update packages/@uppy/core/src/BasePlugin.js

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* Update packages/@uppy/core/src/index.js

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* Bind `i18n` functions

* Remove duplicate i18nInit — it’s in BasePlugin already

* fix formatting

* fix name

* Update en_US.js

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-07-30 13:02:32 +01:00
..
utils Resolve all type TODO's (#2963) 2021-07-20 14:40:31 +02:00
index.js Set plugin titles from locale (#3023) 2021-07-30 13:02:32 +01:00
style.scss move from white to off-white 2020-04-24 09:17:37 +02:00
UrlUI.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00