mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 22:11:30 +08:00
fix: new translation message (#12312)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", "用户名或密码不正确。"),
|
||||
("The user is not an administrator.", "用户不是管理员。"),
|
||||
("Failed to check if the user is an administrator.", "检查用户是否为管理员时出错。"),
|
||||
("Supported only by the installation version.", "仅安装版本支持。"),
|
||||
("Supported only in the installed version.", "仅在以安装版本受支持。"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Incorrect username or password.", ""),
|
||||
("The user is not an administrator.", ""),
|
||||
("Failed to check if the user is an administrator.", ""),
|
||||
("Supported only by the installation version.", ""),
|
||||
("Supported only in the installed version.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -1969,7 +1969,7 @@ impl Connection {
|
||||
}
|
||||
#[cfg(target_os = "windows")]
|
||||
if !lr.os_login.username.is_empty() && !crate::platform::is_installed() {
|
||||
self.send_login_error("Supported only by the installation version.")
|
||||
self.send_login_error("Supported only in the installed version.")
|
||||
.await;
|
||||
sleep(1.).await;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user