win_copy_paste_test: change ui 'File Transfer' to 'Allow file copying and pasting'

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2022-06-06 11:57:05 +08:00
parent 5b2c53e603
commit 57bd3a9816
16 changed files with 16 additions and 43 deletions

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "允许使用键盘鼠标"),
("Allow using clipboard", "允许使用剪贴板"),
("Allow hearing sound", "允许听到声音"),
("Allow file transfer", "允许文件传输"),
("File transfer", "文件传输"),
("Allow file copying and pasting", "允许复制粘贴文件"),
("Connected", "已经连接"),
("Direct and encrypted connection", "加密直连"),
("Relayed and encrypted connection", "加密中继连接"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "已选择"),
("Screen Capture", "屏幕录制"),
("Input Control", "输入控制"),
("File Transfer", "文件传输"),
("Audio Capture", "音频录制"),
("File Connection", "文件连接"),
("Screen Connection", "屏幕连接"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Umožnit ovládání mé klávesnice a myši"),
("Allow using clipboard", "Umožnit používání schránky"),
("Allow hearing sound", "Umožnit slyšet můj zvuk"),
("Allow file transfer", "Umožnit přenos souborů"),
("File transfer", "Přenos souborů"),
("Allow file copying and pasting", "Povolit kopírování a vkládání souborů"),
("Connected", "Připojeno"),
("Direct and encrypted connection", "Přímé a šifrované spojení"),
("Relayed and encrypted connection", "Předávané (relay) a šifrované spojení"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Vybráno"),
("Screen Capture", "Zachytávání obrazovky"),
("Input Control", "Ovládání vstupních zařízení"),
("File Transfer", "Přenos souborů"),
("Audio Capture", "Zachytávání zvuku"),
("File Connection", "Souborové spojení"),
("Screen Connection", "Spojení obrazovky"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Tillad brug af tastatur og mus"),
("Allow using clipboard", "Tillad brug af udklipsholderen"),
("Allow hearing sound", "Tillader hørelse fra lyd"),
("Allow file transfer", "Tillad filoverførsel"),
("File transfer", "Filtransmission "),
("Allow file copying and pasting", "Tillad fil kopiering og indsættelse"),
("Connected", "Forbundet"),
("Direct and encrypted connection", "Direkte og krypteret forbindelse"),
("Relayed and encrypted connection", "Brugt relæet og krypteret forbindelse"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Valgte"),
("Screen Capture", "Skærmoptagelse"),
("Input Control", "Inputkontrol"),
("File Transfer", "Filtransmission"),
("Audio Capture", "Lydoptagelse"),
("File Connection", "Filforbindelse"),
("Screen Connection", "Færdiggørelse"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Erlaubt die Verwendung von Tastatur und Maus"),
("Allow using clipboard", "Verwendung der Zwischenablage zulassen"),
("Allow hearing sound", "Erlaubt das Hören von Sound"),
("Allow file transfer", "Dateiübertragung zulassen"),
("File transfer", "Datei Übertragung"),
("Allow file copying and pasting", "Kopieren und Einfügen von Dateien zulassen"),
("Connected", "Verbunden"),
("Direct and encrypted connection", "Direkte und verschlüsselte Verbindung"),
("Relayed and encrypted connection", "Vermittelte und verschlüsselte Verbindung"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Ausgewählt"),
("Screen Capture", "Bildschirmaufnahme"),
("Input Control", "Eingabesteuerung"),
("File Transfer", "Datei Übertragung"),
("Audio Capture", "Audioaufnahme"),
("File Connection", "Dateiverbindung"),
("Screen Connection", "Bildschirmanschluss"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Permesi la uzon de la klavaro kaj muso"),
("Allow using clipboard", "Permesi la uzon de la poŝo"),
("Allow hearing sound", "Permesi la uzon de la sono"),
("Allow file transfer", "Permesi la dosiertransigadon"),
("File transfer", "Dosiertransigado"),
("Allow file copying and pasting", "Permesu kopii kaj alglui dosierojn"),
("Connected", "Konektata"),
("Direct and encrypted connection", "Konekcio direkta ĉifrata"),
("Relayed and encrypted connection", "Konekcio relajsa ĉifrata"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", ""),
("Screen Capture", ""),
("Input Control", ""),
("File Transfer", ""),
("Audio Capture", ""),
("File Connection", ""),
("Screen Connection", ""),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Autoriser l'utilisation du clavier et de la souris"),
("Allow using clipboard", "Autoriser l'utilisation du presse-papier"),
("Allow hearing sound", "Autoriser l'audition du son"),
("Allow file transfer", "Autoriser le transfert de fichiers"),
("File transfer", "Transfert de fichiers"),
("Allow file copying and pasting", "Autoriser le copier-coller de fichiers"),
("Connected", "Connecté"),
("Direct and encrypted connection", "Connexion directe chiffrée"),
("Relayed and encrypted connection", "Connexion relais chiffrée"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Choisi"),
("Screen Capture", "Capture d'écran"),
("Input Control", "Contrôle de saisie"),
("File Transfer", "Transfert de fichier"),
("Audio Capture", "Capture audio"),
("File Connection", "Connexion de fichier"),
("Screen Connection", "Connexion de l'écran"),

View File

@ -157,7 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Izinkan menggunakan keyboard dan mouse"),
("Allow using clipboard", "Izinkan menggunakan papan klip"),
("Allow hearing sound", "Izinkan mendengarkan suara"),
("Allow file transfer", "Izinkan transfer file"),
("Allow file copying and pasting", "Izinkan penyalinan dan tempel file"),
("File transfer", "Transfer file"),
("Connected", "Terkoneksi"),
("Direct and encrypted connection", "Koneksi langsung dan terenkripsi"),
@ -250,7 +250,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Dipilih"),
("Screen Capture", "Rekam Layar"),
("Input Control", "kontrol input"),
("File Transfer", "Transfer File"),
("Audio Capture", "Rekam Suara"),
("File Connection", "Koneksi File"),
("Screen Connection", "koneksi layar"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Consenti l'uso di tastiera e mouse"),
("Allow using clipboard", "Consenti l'uso degli appunti"),
("Allow hearing sound", "Consenti la riproduzione dell'audio"),
("Allow file transfer", "Consenti trasferimento file"),
("File transfer", "Trasferimento di file"),
("Allow file copying and pasting", "Consenti copia e incolla di file"),
("Connected", "Connesso"),
("Direct and encrypted connection", "Connessione diretta e cifrata"),
("Relayed and encrypted connection", "Connessione tramite relay e cifrata"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Selezionato"),
("Screen Capture", "Cattura schermo"),
("Input Control", "Controllo di input"),
("File Transfer", "Trasferimento di file"),
("Audio Capture", "Acquisizione audio"),
("File Connection", "Connessione file"),
("Screen Connection", "Connessione schermo"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Permitir o uso de teclado e mouse"),
("Allow using clipboard", "Permitir o uso da área de transferência"),
("Allow hearing sound", "Permitir escutar som"),
("Allow file transfer", "Permitir transferência de arquivo"),
("File transfer", "Transferência de arquivo"),
("Allow file copying and pasting", "Permitir copiar e pegar arquivos"),
("Connected", "Conectado"),
("Direct and encrypted connection", "Conexão direta e criptografada"),
("Relayed and encrypted connection", "Conexão via relay e criptografada"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Selecionado"),
("Screen Capture", "Captura de Tela"),
("Input Control", "Controle de Entrada"),
("File Transfer", "Transferência de Arquivo"),
("Audio Capture", "Captura de Áudio"),
("File Connection", "Conexão de Arquivo"),
("Screen Connection", "Conexão de Tela"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Разрешить использование клавиатуры и мыши"),
("Allow using clipboard", "Разрешить использование буфера обмена"),
("Allow hearing sound", "Разрешить передачу звука"),
("Allow file transfer", "Разрешить передачу файлов"),
("File transfer", "Передача файлов"),
("Allow file copying and pasting", "Разрешить копирование и вставку файлов"),
("Connected", "Подключено"),
("Direct and encrypted connection", "Прямое и шифрованное соединение"),
("Relayed and encrypted connection", "Коммутируемое и зашифрованное соединение"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Выбрано"),
("Screen Capture", "Захват экрана"),
("Input Control", "Входной контроль"),
("File Transfer", "Передача файлов"),
("Audio Capture", "Захват аудио"),
("File Connection", "Файловое соединение"),
("Screen Connection", "Подключение экрана"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Povoliť používanie klávesnice a myši"),
("Allow using clipboard", "Povoliť používanie schránky"),
("Allow hearing sound", "Povoliť zvuky"),
("Allow file transfer", "Povoliť prenos súborov"),
("File transfer", "Prenos súborov"),
("Allow file copying and pasting", "Povoliť kopírovanie a vkladanie súborov"),
("Connected", "Pripojené"),
("Direct and encrypted connection", "Priame a šifrované spojenie"),
("Relayed and encrypted connection", "Sprostredkované a šifrované spojenie"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Vybrané"),
("Screen Capture", "Snímanie obrazovky"),
("Input Control", "Ovládanie vstupných zariadení"),
("File Transfer", "Prenos súborov"),
("Audio Capture", "Snímanie zvuku"),
("File Connection", "Pripojenie súborov"),
("Screen Connection", "Pripojenie obrazu"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", ""),
("Allow using clipboard", ""),
("Allow hearing sound", ""),
("Allow file transfer", ""),
("File transfer", ""),
("Allow file copying and pasting", ""),
("Connected", ""),
("Direct and encrypted connection", ""),
("Relayed and encrypted connection", ""),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", ""),
("Screen Capture", ""),
("Input Control", ""),
("File Transfer", ""),
("Audio Capture", ""),
("File Connection", ""),
("Screen Connection", ""),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "Klavye ve fare kullanımına izin ver"),
("Allow using clipboard", "Pano kullanımına izin ver"),
("Allow hearing sound", "Sesi duymaya izin ver"),
("Allow file transfer", "Dosya aktarımına izin ver"),
("File transfer", "Dosya transferi"),
("Allow file copying and pasting", "Dosya kopyalamaya ve yapıştırmaya izin ver"),
("Connected", "Bağlandı"),
("Direct and encrypted connection", "Doğrudan ve şifreli bağlantı"),
("Relayed and encrypted connection", "Aktarmalı ve şifreli bağlantı"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "Seçildi"),
("Screen Capture", "Ekran görüntüsü"),
("Input Control", "Giriş Kontrolü"),
("File Transfer", "Dosya transferi"),
("Audio Capture", "Ses Yakalama"),
("File Connection", "Dosya Bağlantısı"),
("Screen Connection", "Ekran Bağlantısı"),

View File

@ -157,8 +157,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Allow using keyboard and mouse", "允許使用鍵盤和滑鼠"),
("Allow using clipboard", "允許使用剪貼簿"),
("Allow hearing sound", "允許分享音訊"),
("Allow file transfer", "允許文件傳輸"),
("File transfer", "文件傳輸"),
("Allow file copying and pasting", "允許文件複製和粘貼"),
("Connected", "已連接"),
("Direct and encrypted connection", "加密直接連線"),
("Relayed and encrypted connection", "加密轉送連線"),
@ -250,7 +249,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Selected", "已選擇"),
("Screen Capture", "畫面錄製"),
("Input Control", "輸入控制"),
("File Transfer", "檔案傳輸"),
("Audio Capture", "音訊錄製"),
("File Connection", "檔案連線"),
("Screen Connection", "畫面連線"),

View File

@ -45,7 +45,7 @@ class Body: Reactor.Component
<div class={!c.keyboard ? "disabled" : ""} title={translate('Allow using keyboard and mouse')}><icon .keyboard /></div>
<div class={!c.clipboard ? "disabled" : ""} title={translate('Allow using clipboard')}><icon .clipboard /></div>
<div class={!c.audio ? "disabled" : ""} title={translate('Allow hearing sound')}><icon .audio /></div>
<div class={!c.file ? "disabled" : ""} title={translate('Allow file transfer')}><icon .file /></div>
<div class={!c.file ? "disabled" : ""} title={translate('Allow file copying and pasting')}><icon .file /></div>
</div>}
{c.port_forward ? <div>Port Forwarding: {c.port_forward}</div> : ""}
<div style="size:*"/>

View File

@ -160,7 +160,7 @@ class Header: Reactor.Component {
<div .separator />
<li #show-remote-cursor .toggle-option><span>{svg_checkmark}</span>{translate('Show remote cursor')}</li>
{audio_enabled ? <li #disable-audio .toggle-option><span>{svg_checkmark}</span>{translate('Mute')}</li> : ""}
{is_win && pi.platform == 'Windows' && file_enabled ? <li #enable-file-transfer .toggle-option><span>{svg_checkmark}</span>{translate('File transfer')}</li> : ""}
{is_win && pi.platform == 'Windows' && file_enabled ? <li #enable-file-transfer .toggle-option><span>{svg_checkmark}</span>{translate('Allow file copying and pasting')}</li> : ""}
{keyboard_enabled && clipboard_enabled ? <li #disable-clipboard .toggle-option><span>{svg_checkmark}</span>{translate('Disable clipboard')}</li> : ""}
{keyboard_enabled ? <li #lock-after-session-end .toggle-option><span>{svg_checkmark}</span>{translate('Lock after session end')}</li> : ""}
{keyboard_enabled && pi.platform == "Windows" ? <li #privacy-mode><span>{svg_checkmark}</span>{translate('Privacy mode')}</li> : ""}