Skip to content

Commit

Permalink
@uppy/provider-views: bring back "loaded X files..." (#5097)
Browse files Browse the repository at this point in the history
As discussed with lakesare in #5050.
Currently the loadedXFiles i18n key is not in use at all,
don't know where/when it got lost in translation.
  • Loading branch information
mifi authored Apr 23, 2024
1 parent ffdfa09 commit 98c4b51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@uppy/provider-views/src/Browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ function Browser<M extends Meta, B extends Body>(
if (isLoading) {
return (
<div className="uppy-Provider-loading">
<span>{i18n('loading')}</span>
<span>
{typeof isLoading === 'string' ? isLoading : i18n('loading')}
</span>
</div>
)
}
Expand Down

0 comments on commit 98c4b51

Please sign in to comment.