mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-07-08 08:15:11 +03:00
Compare commits
9 Commits
e5fa40e903
...
fa369365a5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa369365a5 | ||
|
|
7345366ba7 | ||
|
|
6151ea7128 | ||
|
|
440ab26b69 | ||
|
|
caadd72ab2 | ||
|
|
d59d543ec1 | ||
|
|
58d1109510 | ||
|
|
9c52e25a6a | ||
|
|
62a44c5a09 |
Submodule libs/hbb_common updated: 822701e416...2e9f641101
@@ -432,7 +432,7 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
}
|
||||
return None;
|
||||
} else if args[0] == "--password" {
|
||||
if config::is_disable_settings() {
|
||||
if is_cli_setting_change_disabled() {
|
||||
println!("Settings are disabled!");
|
||||
return None;
|
||||
}
|
||||
@@ -474,7 +474,7 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
println!("{}", crate::ipc::get_id());
|
||||
return None;
|
||||
} else if args[0] == "--set-id" {
|
||||
if config::is_disable_settings() {
|
||||
if is_cli_setting_change_disabled() {
|
||||
println!("Settings are disabled!");
|
||||
return None;
|
||||
}
|
||||
@@ -521,7 +521,7 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
}
|
||||
return None;
|
||||
} else if args[0] == "--option" {
|
||||
if config::is_disable_settings() {
|
||||
if is_cli_setting_change_disabled() {
|
||||
println!("Settings are disabled!");
|
||||
return None;
|
||||
}
|
||||
@@ -967,6 +967,14 @@ fn is_user_main_ipc_scope_cli_command(args: &[String]) -> bool {
|
||||
)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn is_cli_setting_change_disabled() -> bool {
|
||||
let option = config::keys::OPTION_ALLOW_COMMAND_LINE_SETTINGS_WHEN_SETTINGS_DISABLED;
|
||||
let allow_command_line_settings =
|
||||
config::option2bool(option, &crate::get_builtin_option(option));
|
||||
config::is_disable_settings() && !allow_command_line_settings
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
@@ -744,6 +744,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("password-hidden-tip", "Ein permanentes Passwort wurde festgelegt (ausgeblendet)."),
|
||||
("preset-password-in-use-tip", "Das voreingestellte Passwort wird derzeit verwendet."),
|
||||
("Enable privacy mode", "Datenschutzmodus aktivieren"),
|
||||
("allow-remote-toolbar-docking-any-edge", ""),
|
||||
("allow-remote-toolbar-docking-any-edge", "Andocken der Remote-Symbolleiste an jeden Fensterrand zulassen"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -744,6 +744,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("password-hidden-tip", "È impostata una password permanente (nascosta)."),
|
||||
("preset-password-in-use-tip", "È attualmente in uso la password preimpostata."),
|
||||
("Enable privacy mode", "Abilita modalità privacy"),
|
||||
("allow-remote-toolbar-docking-any-edge", ""),
|
||||
("allow-remote-toolbar-docking-any-edge", "Consenti ancoraggio barra strumenti remota a qualsiasi bordo della finestra"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -379,7 +379,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Screen Share", "Ekrāna kopīgošana"),
|
||||
("ubuntu-21-04-required", "Wayland nepieciešama Ubuntu 21.04 vai jaunāka versija."),
|
||||
("wayland-requires-higher-linux-version", "Wayland nepieciešama augstāka Linux distro versija. Lūdzu, izmēģiniet X11 desktop vai mainiet savu OS."),
|
||||
("xdp-portal-unavailable", ""),
|
||||
("xdp-portal-unavailable", "Wayland ekrānuzņēmums neizdevās. XDG darbvirsmas portāls, iespējams, ir avarējis vai nav pieejams. Mēģiniet to restartēt, izmantojot komandu `systemctl --user restart xdg-desktop-portal`."),
|
||||
("JumpLink", "Skatīt"),
|
||||
("Please Select the screen to be shared(Operate on the peer side).", "Lūdzu, atlasiet kopīgojamo ekrānu (darbojieties sesijas pusē)."),
|
||||
("Show RustDesk", "Rādīt RustDesk"),
|
||||
@@ -710,40 +710,40 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("elevation_username_tip", "Ievadiet lietotājvārdu vai domēnu\\lietotājvārdu"),
|
||||
("Preparing for installation ...", "Gatavošanās instalēšanai..."),
|
||||
("Show my cursor", "Rādīt manu kursoru"),
|
||||
("Scale custom", ""),
|
||||
("Custom scale slider", ""),
|
||||
("Decrease", ""),
|
||||
("Increase", ""),
|
||||
("Show virtual mouse", ""),
|
||||
("Virtual mouse size", ""),
|
||||
("Small", ""),
|
||||
("Large", ""),
|
||||
("Show virtual joystick", ""),
|
||||
("Edit note", ""),
|
||||
("Alias", ""),
|
||||
("ScrollEdge", ""),
|
||||
("Allow insecure TLS fallback", ""),
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
("input note here", ""),
|
||||
("note-at-conn-end-tip", ""),
|
||||
("Show terminal extra keys", ""),
|
||||
("Relative mouse mode", ""),
|
||||
("rel-mouse-not-supported-peer-tip", ""),
|
||||
("rel-mouse-not-ready-tip", ""),
|
||||
("rel-mouse-lock-failed-tip", ""),
|
||||
("rel-mouse-exit-{}-tip", ""),
|
||||
("rel-mouse-permission-lost-tip", ""),
|
||||
("Changelog", ""),
|
||||
("keep-awake-during-outgoing-sessions-label", ""),
|
||||
("keep-awake-during-incoming-sessions-label", ""),
|
||||
("Scale custom", "Pielāgota mērogošana"),
|
||||
("Custom scale slider", "Pielāgota mēroga slīdnis"),
|
||||
("Decrease", "Samazināt"),
|
||||
("Increase", "Palielināt"),
|
||||
("Show virtual mouse", "Rādīt virtuālo peli"),
|
||||
("Virtual mouse size", "Virtuālās peles izmērs"),
|
||||
("Small", "Mazs"),
|
||||
("Large", "Liels"),
|
||||
("Show virtual joystick", "Rādīt virtuālo kursorsviru"),
|
||||
("Edit note", "Rediģēt piezīmi"),
|
||||
("Alias", "Pseidonīms"),
|
||||
("ScrollEdge", "Ritināšanas mala"),
|
||||
("Allow insecure TLS fallback", "Atļaut nedrošu TLS rezerves protokolu"),
|
||||
("allow-insecure-tls-fallback-tip", "Pēc noklusējuma RustDesk pārbauda servera sertifikātu protokoliem, izmantojot TLS.\nJa šī opcija ir iespējota, RustDesk izlaidīs verifikācijas soli un turpinās darbību verifikācijas kļūmes gadījumā."),
|
||||
("Disable UDP", "Atspējot UDP"),
|
||||
("disable-udp-tip", "Nosaka, vai izmantot tikai TCP.\nKad šī opcija ir iespējota, RustDesk vairs neizmantos UDP 21116, tā vietā tiks izmantots TCP 21116."),
|
||||
("server-oss-not-support-tip", "PIEZĪME. RustDesk servera OSS neietver šo funkciju."),
|
||||
("input note here", "ievadiet piezīmi šeit"),
|
||||
("note-at-conn-end-tip", "Pieprasīt piezīmi savienojuma beigās"),
|
||||
("Show terminal extra keys", "Rādīt termināļa papildu taustiņus"),
|
||||
("Relative mouse mode", "Relatīvais peles režīms"),
|
||||
("rel-mouse-not-supported-peer-tip", "Pievienotais partneris neatbalsta relatīvo peles režīmu."),
|
||||
("rel-mouse-not-ready-tip", "Relatīvais peles režīms vēl nav gatavs. Lūdzu, mēģiniet vēlreiz."),
|
||||
("rel-mouse-lock-failed-tip", "Neizdevās bloķēt kursoru. Relatīvais peles režīms ir atspējots."),
|
||||
("rel-mouse-exit-{}-tip", "Nospiediet {}, lai izietu."),
|
||||
("rel-mouse-permission-lost-tip", "Tastatūras atļauja tika atsaukta. Relatīvais peles režīms ir atspējots."),
|
||||
("Changelog", "Izmaiņu žurnāls"),
|
||||
("keep-awake-during-outgoing-sessions-label", "Atstāt ekrānu nomodā izejošo sesiju laikā"),
|
||||
("keep-awake-during-incoming-sessions-label", "Atstāt ekrānu nomodā ienākošo sesiju laikā"),
|
||||
("Continue with {}", "Turpināt ar {}"),
|
||||
("Display Name", ""),
|
||||
("password-hidden-tip", ""),
|
||||
("preset-password-in-use-tip", ""),
|
||||
("Enable privacy mode", ""),
|
||||
("allow-remote-toolbar-docking-any-edge", ""),
|
||||
("Display Name", "Parādāmais vārds"),
|
||||
("password-hidden-tip", "Pastāvīgā parole ir iestatīta (slēpta)."),
|
||||
("preset-password-in-use-tip", "Iepriekš iestatītā parole pašlaik tiek izmantota."),
|
||||
("Enable privacy mode", "Iespējot privātuma režīmu"),
|
||||
("allow-remote-toolbar-docking-any-edge", "Atļaut attālās rīkjoslas piestiprināšanu pie jebkuras loga malas"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -744,6 +744,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("password-hidden-tip", "Er is een permanent wachtwoord ingesteld (verborgen)."),
|
||||
("preset-password-in-use-tip", "Het basis wachtwoord is momenteel in gebruik."),
|
||||
("Enable privacy mode", "Privacymodus inschakelen"),
|
||||
("allow-remote-toolbar-docking-any-edge", ""),
|
||||
("allow-remote-toolbar-docking-any-edge", "Sta toe om de werkbalk-op-afstand aan de rand van het venster te plaatsen"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -743,7 +743,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Display Name", "Nazwa wyświetlana"),
|
||||
("password-hidden-tip", "Ustawiono (ukryto) stare hasło."),
|
||||
("preset-password-in-use-tip", "Obecnie używane jest hasło domyślne."),
|
||||
("Enable privacy mode", ""),
|
||||
("allow-remote-toolbar-docking-any-edge", ""),
|
||||
("Enable privacy mode", "Włącz tryb prywatny"),
|
||||
("allow-remote-toolbar-docking-any-edge", "Zezwalaj na dokowanie zdalnego paska narzędzi do dowolnej krawędzi"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -114,8 +114,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Speed", "Velocidade"),
|
||||
("Custom Image Quality", "Qualidade Visual Personalizada"),
|
||||
("Privacy mode", "Modo privado"),
|
||||
("Block user input", "Bloquear entrada de usuário"),
|
||||
("Unblock user input", "Desbloquear entrada de usuário"),
|
||||
("Block user input", "Bloquear entrada do usuário"),
|
||||
("Unblock user input", "Desbloquear entrada do usuário"),
|
||||
("Adjust Window", "Ajustar Janela"),
|
||||
("Original", "Original"),
|
||||
("Shrink", "Reduzir"),
|
||||
@@ -144,9 +144,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Failed to connect via relay server", "Falha ao conectar através do servidor de relay"),
|
||||
("Failed to make direct connection to remote desktop", "Falha ao fazer conexão direta ao desktop remoto"),
|
||||
("Set Password", "Definir Senha"),
|
||||
("OS Password", "Senha do SO"),
|
||||
("OS Password", "Senha do Sistema"),
|
||||
("install_tip", "Devido ao UAC, o RustDesk não funciona corretamente como o lado remoto em alguns casos. Para evitar o UAC, por favor clique no botão abaixo para instalar o RustDesk no sistema."),
|
||||
("Click to upgrade", "Clique para fazer o upgrade"),
|
||||
("Click to upgrade", "Iniciar atualização"),
|
||||
("Configure", "Configurar"),
|
||||
("config_acc", "Para controlar seu computador remotamente, você precisa conceder ao RustDesk permissões de \"Acessibilidade\"."),
|
||||
("config_screen", "Para acessar seu computador remotamente, você precisa conceder ao RustDesk permissões de \"Gravar a Tela\"/"),
|
||||
@@ -160,7 +160,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Accept and Install", "Aceitar e Instalar"),
|
||||
("End-user license agreement", "Acordo de licença do usuário final"),
|
||||
("Generating ...", "Gerando ..."),
|
||||
("Your installation is lower version.", "Sua instalação é de uma versão menor."),
|
||||
("Your installation is lower version.", "Instalação desatualizada."),
|
||||
("not_close_tcp_tip", "Não feche esta janela enquanto estiver utilizando o túnel"),
|
||||
("Listening ...", "Escutando ..."),
|
||||
("Remote Host", "Host Remoto"),
|
||||
@@ -199,8 +199,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Warning", "Aviso"),
|
||||
("Login screen using Wayland is not supported", "Tela de Login utilizando Wayland não é suportada"),
|
||||
("Reboot required", "Reinicialização necessária"),
|
||||
("Unsupported display server", "Servidor de display não suportado"),
|
||||
("x11 expected", "x11 esperado"),
|
||||
("Unsupported display server", "Servidor gráfico não suportado"),
|
||||
("x11 expected", "Necessário x11"),
|
||||
("Port", "Porta"),
|
||||
("Settings", "Configurações"),
|
||||
("Username", "Nome de usuário"),
|
||||
@@ -263,7 +263,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Canvas Zoom", "Zoom na tela"),
|
||||
("Reset canvas", "Reiniciar tela"),
|
||||
("No permission of file transfer", "Sem permissão para transferência de arquivo"),
|
||||
("Note", "Nota"),
|
||||
("Note", "Anotações"),
|
||||
("Connection", "Conexão"),
|
||||
("Share screen", "Compartilhar Tela"),
|
||||
("Chat", "Chat"),
|
||||
@@ -555,7 +555,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Big tiles", "Ícones grandes"),
|
||||
("Small tiles", "Ícones pequenos"),
|
||||
("List", "Lista"),
|
||||
("Virtual display", "Display Virtual"),
|
||||
("Virtual display", "Tela virtual"),
|
||||
("Plug out all", "Desconectar tudo"),
|
||||
("True color (4:4:4)", "Cor verdadeira (4:4:4)"),
|
||||
("Enable blocking user input", "Habilitar bloqueio da entrada do usuário"),
|
||||
@@ -672,7 +672,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("remote-printing-disallowed-text-tip", "As configurações do dispositivo controlado não permitem impressão remota."),
|
||||
("save-settings-tip", "Salvar configurações"),
|
||||
("dont-show-again-tip", "Não mostrar novamente"),
|
||||
("Take screenshot", "Capturar de tela"),
|
||||
("Take screenshot", "Capturar tela"),
|
||||
("Taking screenshot", "Capturando tela"),
|
||||
("screenshot-merged-screen-not-supported-tip", "Mesclar a captura de tela de múltiplos monitores não é suportada no momento. Por favor, alterne para um único monitor e tente novamente."),
|
||||
("screenshot-action-tip", "Por favor, selecione como deseja continuar com a captura de tela."),
|
||||
@@ -719,7 +719,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Small", "Pequeno"),
|
||||
("Large", "Grande"),
|
||||
("Show virtual joystick", "Mostrar joystick virtual"),
|
||||
("Edit note", "Editar nota"),
|
||||
("Edit note", "Editar anotação"),
|
||||
("Alias", "Apelido"),
|
||||
("ScrollEdge", "Rolagem nas bordas"),
|
||||
("Allow insecure TLS fallback", "Permitir fallback TLS inseguro"),
|
||||
@@ -727,8 +727,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Disable UDP", "Desabilitar UDP"),
|
||||
("disable-udp-tip", "Controla se deve usar somente TCP.\nCom esta opção habilitada, o RustDesk não usará mais UDP 21116, TCP 21116 será usado no lugar."),
|
||||
("server-oss-not-support-tip", "NOTA: O servidor RustDesk OSS não inclui este recurso."),
|
||||
("input note here", "Insira uma nota aqui"),
|
||||
("note-at-conn-end-tip", "Solicitar nota ao final da conexão"),
|
||||
("input note here", "Insira uma anotação aqui"),
|
||||
("note-at-conn-end-tip", "Solicitar anotação ao final da conexão"),
|
||||
("Show terminal extra keys", "Mostrar teclas extras do terminal"),
|
||||
("Relative mouse mode", "Modo de mouse relativo"),
|
||||
("rel-mouse-not-supported-peer-tip", "O modo de mouse relativo não é suportado pelo parceiro conectado."),
|
||||
|
||||
@@ -744,6 +744,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("password-hidden-tip", "Установлен постоянный пароль (скрытый)."),
|
||||
("preset-password-in-use-tip", "Установленный пароль сейчас используется."),
|
||||
("Enable privacy mode", "Использовать режим конфиденциальности"),
|
||||
("allow-remote-toolbar-docking-any-edge", ""),
|
||||
("allow-remote-toolbar-docking-any-edge", "Разрешать прикрепление удалённой панели инструментов к любому краю окна"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -744,6 +744,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("password-hidden-tip", "Parola gizli"),
|
||||
("preset-password-in-use-tip", "Önceden ayarlanmış parola kullanılıyor"),
|
||||
("Enable privacy mode", "Gizlilik modunu etkinleştir"),
|
||||
("allow-remote-toolbar-docking-any-edge", ""),
|
||||
("allow-remote-toolbar-docking-any-edge", "Uzak araç çubuğunun pencerenin herhangi bir kenarına sabitlenmesine izin ver"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user