@@ -221,11 +221,11 @@ const FileTransferComponent = ({ webrtcManager, isConnected }) => {
221221 React . createElement ( 'p' , {
222222 key : 'text' ,
223223 className : "text-primary font-medium"
224- } , 'Перетащите файлы сюда или нажмите для выбора ' ) ,
224+ } , 'Drag files here or click to select ' ) ,
225225 React . createElement ( 'p' , {
226226 key : 'subtext' ,
227227 className : "text-muted text-sm"
228- } , 'Максимальный размер : 100 МБ на файл ' )
228+ } , 'Maximum size : 100 MB per file ' )
229229 ] )
230230 ] ) ,
231231
@@ -351,7 +351,6 @@ const FileTransferComponent = ({ webrtcManager, isConnected }) => {
351351 } , formatFileSize ( transfer . fileSize ) )
352352 ] ) ,
353353 React . createElement ( 'div' , { key : 'actions' , className : 'flex items-center space-x-2' } , [
354- // Кнопка скачать, если файл уже готов (есть в readyFiles)
355354 ( ( ) => {
356355 const rf = readyFiles . find ( f => f . fileId === transfer . fileId ) ;
357356 if ( ! rf || transfer . status !== 'completed' ) return null ;
@@ -367,12 +366,12 @@ const FileTransferComponent = ({ webrtcManager, isConnected }) => {
367366 a . click ( ) ;
368367 rf . revokeObjectURL ( url ) ;
369368 } catch ( e ) {
370- alert ( 'Не удалось начать скачивание : ' + e . message ) ;
369+ alert ( 'Failed to start download : ' + e . message ) ;
371370 }
372371 }
373372 } , [
374373 React . createElement ( 'i' , { key : 'i' , className : 'fas fa-download mr-1' } ) ,
375- 'Скачать '
374+ 'Download '
376375 ] ) ;
377376 } ) ( ) ,
378377 React . createElement ( 'button' , {
0 commit comments