This commit is contained in:
rustdesk
2024-03-14 11:45:16 +08:00
parent 5253d67e04
commit 56f27ec356
42 changed files with 45 additions and 41 deletions

View File

@@ -158,7 +158,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
s = s.replace("{}", &value);
}
if !crate::is_rustdesk() {
if s.contains("RustDesk") && !name.starts_with("upgrade_rustdesk_server_pro") {
if s.contains("RustDesk") && !name.starts_with("upgrade_rustdesk_server_pro") && name != "powered_by_me" {
s = s.replace("RustDesk", &crate::get_app_name());
}
}