Add localization for loading page count in various PDF processing pages

This commit is contained in:
Sebastian Espei
2026-03-10 20:13:13 +01:00
parent 571ce07af6
commit 2ede256de2
20 changed files with 944 additions and 806 deletions

View File

@@ -1,4 +1,5 @@
import { showLoader, hideLoader, showAlert } from '../ui.js';
import { t } from '../i18n/i18n';
import {
downloadFile,
readFileAsArrayBuffer,
@@ -50,7 +51,7 @@ document.addEventListener('DOMContentLoaded', () => {
const metaSpan = document.createElement('div');
metaSpan.className = 'text-xs text-gray-400';
metaSpan.textContent = `${formatBytes(file.size)}Loading pages...`;
metaSpan.textContent = `${formatBytes(file.size)}${t('common.loadingPageCount')}`;
infoContainer.append(nameSpan, metaSpan);