From 406d56049fd47dcd01e375fd00ad0ac8290787a7 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Tue, 16 Apr 2024 23:41:44 +0200 Subject: [PATCH] bring back "loaded X files..." 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 --- packages/@uppy/provider-views/src/Browser.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/@uppy/provider-views/src/Browser.tsx b/packages/@uppy/provider-views/src/Browser.tsx index 006b322275..cca61b51f5 100644 --- a/packages/@uppy/provider-views/src/Browser.tsx +++ b/packages/@uppy/provider-views/src/Browser.tsx @@ -195,7 +195,9 @@ function Browser( if (isLoading) { return (
- {i18n('loading')} + + {typeof isLoading === 'string' ? isLoading : i18n('loading')} +
) }