fix ci
This commit is contained in:
parent
5253d67e04
commit
56f27ec356
@ -401,7 +401,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
|
||||
launchUrl(Uri.parse('https://rustdesk.com'));
|
||||
},
|
||||
child: Text(
|
||||
translate("powered by RustDesk"),
|
||||
translate("powered_by_me"),
|
||||
overflow: TextOverflow.clip,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
|
@ -1828,6 +1828,10 @@ pub fn is_outgoing_only() -> SyncReturn<bool> {
|
||||
SyncReturn(config::is_outgoing_only())
|
||||
}
|
||||
|
||||
pub fn is_custom_client() -> SyncReturn<bool> {
|
||||
SyncReturn(get_app_name() != "RustDesk")
|
||||
}
|
||||
|
||||
pub fn is_disable_settings() -> SyncReturn<bool> {
|
||||
SyncReturn(config::is_disable_settings())
|
||||
}
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "双重认证代码必须是 6 位数字。"),
|
||||
("Multiple Windows sessions found", "发现多个 Windows 会话"),
|
||||
("Please select the session you want to connect to", "请选择您要连接的会话"),
|
||||
("powered by RustDesk", "由 RustDesk 提供支持"),
|
||||
("powered_by_me", "由 RustDesk 提供支持"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "Kód 2FA musí mít 6 číslic."),
|
||||
("Multiple Windows sessions found", "Bylo nalezeno více relací Windows"),
|
||||
("Please select the session you want to connect to", "Vyberte relaci, ke které se chcete připojit"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "Der 2FA-Code muss 6 Ziffern haben."),
|
||||
("Multiple Windows sessions found", "Mehrere Windows-Sitzungen gefunden"),
|
||||
("Please select the session you want to connect to", "Bitte wählen Sie die Sitzung, mit der Sie sich verbinden möchten"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "El cóidigo 2FA debe tener 6 dígitos"),
|
||||
("Multiple Windows sessions found", "Encontradas sesiones de múltiples ventanas"),
|
||||
("Please select the session you want to connect to", "Por favor, seleccione la sesión a la que se desea conectar"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "کد احراز هویت دو مرحله ای باید 6 رقم باشد"),
|
||||
("Multiple Windows sessions found", "چندین جلسه پیدا شد"),
|
||||
("Please select the session you want to connect to", "لطفاً جلسه ای را که می خواهید به آن متصل شوید انتخاب کنید"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "Il codice 2FA deve essere composto da 6 cifre."),
|
||||
("Multiple Windows sessions found", "Rilevate sessioni Windows multiple"),
|
||||
("Please select the session you want to connect to", "Seleziona la sessione a cui connetterti"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "2FA kodam ir jābūt ar 6 cipariem."),
|
||||
("Multiple Windows sessions found", "Atrastas vairākas Windows sesijas"),
|
||||
("Please select the session you want to connect to", "Lūdzu, atlasiet sesiju, ar kuru vēlaties izveidot savienojumu"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "2FA-code moet 6 cijfers lang zijn."),
|
||||
("Multiple Windows sessions found", "Meerdere Windows-sessies gevonden"),
|
||||
("Please select the session you want to connect to", "Selecteer de sessie waarmee je verbinding wilt maken"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "Kod 2FA musi zawierać 6 cyfr."),
|
||||
("Multiple Windows sessions found", "Znaleziono wiele sesji Windows"),
|
||||
("Please select the session you want to connect to", "Wybierz sesję, do której chcesz się podłączyć"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "Код двухфакторной аутентификации должен состоять из 6 цифр."),
|
||||
("Multiple Windows sessions found", "Обнаружено несколько сеансов Windows"),
|
||||
("Please select the session you want to connect to", "Выберите сеанс, к которому хотите подключиться"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "Kód 2FA musí obsahovať 6 číslic."),
|
||||
("Multiple Windows sessions found", "Našlo sa viacero relácií systému Windows"),
|
||||
("Please select the session you want to connect to", "Vyberte reláciu, ku ktorej sa chcete pripojiť"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "二步驟驗證碼必須是 6 位數字。"),
|
||||
("Multiple Windows sessions found", "發現多個 Windows 工作階段"),
|
||||
("Please select the session you want to connect to", "請選擇您想要連結的工作階段"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", "Код двофакторної автентифікації повинен складатися з 6 символів."),
|
||||
("Multiple Windows sessions found", "Виявлено декілька сеансів Windows"),
|
||||
("Please select the session you want to connect to", "Будь ласка, оберіть сеанс, до якого ви хочете підключитися"),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple Windows sessions found", ""),
|
||||
("Please select the session you want to connect to", ""),
|
||||
("powered by RustDesk", ""),
|
||||
("powered_by_me", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user