Merge branch 'master' into remove_wallpaper_win_linux

This commit is contained in:
RustDesk
2023-10-14 10:20:55 +08:00
committed by GitHub
5 changed files with 31 additions and 6 deletions

View File

@@ -147,10 +147,22 @@ fn handle_config_options(config_options: HashMap<String, String>) {
config_options
.iter()
.map(|(k, v)| {
if v.is_empty() {
options.remove(k);
if k == "allow-share-rdp" {
// only changes made after installation take effect.
#[cfg(windows)]
if crate::ui_interface::is_rdp_service_open() {
let current = crate::ui_interface::is_share_rdp();
let set = v == "Y";
if current != set {
crate::platform::windows::set_share_rdp(set);
}
}
} else {
options.insert(k.to_string(), v.to_string());
if v.is_empty() {
options.remove(k);
} else {
options.insert(k.to_string(), v.to_string());
}
}
})
.count();

View File

@@ -555,8 +555,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Check for software update on startup", "Beim Start auf Softwareaktualisierung prüfen"),
("upgrade_rustdesk_server_pro_to_{}_tip", "Bitte aktualisieren Sie RustDesk Server Pro auf die Version {} oder neuer!"),
("pull_group_failed_tip", "Aktualisierung der Gruppe fehlgeschlagen"),
("Filter by intersection", ""),
("Remove wallpaper during incoming sessions", ""),
("Test", ""),
("Filter by intersection", "Nach Schnittpunkt filtern")
].iter().cloned().collect();
}

View File

@@ -19,7 +19,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Recent Sessions", "Sesi Terkini"),
("Address Book", "Buku Alamat"),
("Confirmation", "Konfirmasi"),
("TCP Tunneling", "TCP Tunneling"),
("TCP Tunneling", "Tunneling TCP"),
("Remove", "Hapus"),
("Refresh random password", "Perbarui kata sandi acak"),
("Set your own password", "Tetapkan kata sandi Anda"),
@@ -172,7 +172,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Local Port", "Port Lokal"),
("Local Address", "Alamat lokal"),
("Change Local Port", "Ubah Port Lokal"),
("setup_server_tip", "Sudah siap, Untuk mendapatkan koneksi yang lebih baik, disarankan untuk menginstal di server anda sendiri"),
("setup_server_tip", "Untuk mendapatkan koneksi yang lebih baik, disarankan untuk menginstal di server anda sendiri"),
("Too short, at least 6 characters.", "Terlalu pendek, setidaknya 6 karekter."),
("The confirmation is not identical.", "Konfirmasi tidak identik."),
("Permissions", "Izin"),

View File

@@ -365,6 +365,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Audio Input Device", "Dispositivo ingresso audio"),
("Use IP Whitelisting", "Usa elenco IP autorizzati"),
("Network", "Rete"),
("Enable RDP", "Abilita RDP"),
("Pin Toolbar", "Blocca barra strumenti"),
("Unpin Toolbar", "Sblocca barra strumenti"),
("Recording", "Registrazione"),