diff --git a/components/FileListing.tsx b/components/FileListing.tsx index 499f330..2df9202 100644 --- a/components/FileListing.tsx +++ b/components/FileListing.tsx @@ -321,10 +321,13 @@ const FileListing: FC<{ query?: ParsedUrlQuery }> = ({ query }) => { {!onlyOnePage && (
- {t('- showing {{count}} page(s) of {{totalFileNum}} files -', { + {t('- showing {{count}} page(s) ', { count: size, totalFileNum: isLoadingMore ? '...' : folderChildren.length - })} + }) + + (isLoadingMore + ? t('of {{count}} file(s) -', { count: folderChildren.length, context: 'loading' }) + : t('of {{count}} file(s) -', { count: folderChildren.length, context: 'loaded' }))}