diff --git a/index.html b/index.html
index d40f953..5c0c3ed 100644
--- a/index.html
+++ b/index.html
@@ -3213,7 +3213,7 @@
addMessageWithAutoScroll(`❌ File upload error: ${String(e?.message || e)}`, 'system');
}
}
- }, 'Скачать')
+ }, 'Download')
]);
addMessageWithAutoScroll(downloadMessage, 'system');
diff --git a/src/components/ui/FileTransfer.jsx b/src/components/ui/FileTransfer.jsx
index 5221405..f031c91 100644
--- a/src/components/ui/FileTransfer.jsx
+++ b/src/components/ui/FileTransfer.jsx
@@ -221,11 +221,11 @@ const FileTransferComponent = ({ webrtcManager, isConnected }) => {
React.createElement('p', {
key: 'text',
className: "text-primary font-medium"
- }, 'Перетащите файлы сюда или нажмите для выбора'),
+ }, 'Drag files here or click to select'),
React.createElement('p', {
key: 'subtext',
className: "text-muted text-sm"
- }, 'Максимальный размер: 100 МБ на файл')
+ }, 'Maximum size: 100 MB per file')
])
]),
@@ -351,7 +351,6 @@ const FileTransferComponent = ({ webrtcManager, isConnected }) => {
}, formatFileSize(transfer.fileSize))
]),
React.createElement('div', { key: 'actions', className: 'flex items-center space-x-2' }, [
- // Кнопка скачать, если файл уже готов (есть в readyFiles)
(() => {
const rf = readyFiles.find(f => f.fileId === transfer.fileId);
if (!rf || transfer.status !== 'completed') return null;
@@ -367,12 +366,12 @@ const FileTransferComponent = ({ webrtcManager, isConnected }) => {
a.click();
rf.revokeObjectURL(url);
} catch (e) {
- alert('Не удалось начать скачивание: ' + e.message);
+ alert('Failed to start download: ' + e.message);
}
}
}, [
React.createElement('i', { key: 'i', className: 'fas fa-download mr-1' }),
- 'Скачать'
+ 'Download'
]);
})(),
React.createElement('button', {