You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.i18nInit()// Restricter sadly hasn't a setOptions() method, so it will be needed to be reinstanciatedthis.#restricter=newRestricter<M,B>(()=>this.opts,this.i18n)if(newOpts.locale){this.iteratePlugins((plugin)=>{plugin.setOptions(newOpts)})}
The text was updated successfully, but these errors were encountered:
Initial checklist
Link to runnable example
Runnable example cannot be provided codesandbox.io starter example is broken https://codesandbox.io/s/uppy-dashboard-xpxuhd?file=/src/index.js
Steps to reproduce
Consider this code
Then try to upload a file that is not an image, the error message from Informer that comes from Restricter should be in French not English.
Expected behavior
The error message from Informer should be in French not English.
Actual behavior
The error message from Informer is in English, even if
setOptions()
call set the locale correctly.A possible solution
This code:
uppy/packages/@uppy/core/src/Uppy.ts
Lines 604 to 610 in 8ccddce
To be changed to this:
The text was updated successfully, but these errors were encountered: