Add localization for loading page count in various PDF processing pages
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { showLoader, hideLoader, showAlert } from '../ui.js';
|
||||
import { t } from '../i18n/i18n';
|
||||
import { createIcons, icons } from 'lucide';
|
||||
import * as pdfjsLib from 'pdfjs-dist';
|
||||
import {
|
||||
@@ -71,7 +72,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
const metaSpan = document.createElement('div');
|
||||
metaSpan.className = 'text-xs text-gray-400';
|
||||
metaSpan.textContent = `${formatBytes(file.size)} • Loading pages...`; // Placeholder
|
||||
metaSpan.textContent = `${formatBytes(file.size)} • ${t('common.loadingPageCount')}`; // Placeholder
|
||||
|
||||
infoContainer.append(nameSpan, metaSpan);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user