diff --git a/flutter/lib/desktop/pages/desktop_home_page.dart b/flutter/lib/desktop/pages/desktop_home_page.dart index 05b0c1720..0911808d0 100644 --- a/flutter/lib/desktop/pages/desktop_home_page.dart +++ b/flutter/lib/desktop/pages/desktop_home_page.dart @@ -377,7 +377,7 @@ class _DesktopHomePageState extends State link: 'https://rustdesk.com/docs/en/manual/linux/#x11-required'); } else if (bind.mainIsLoginWayland()) { return buildInstallCard("Warning", - translate("login_wayland_text_tip"), "", () async {}, + translate("Login screen using Wayland is not supported"), "", () async {}, help: 'Help', link: 'https://rustdesk.com/docs/en/manual/linux/#login-screen'); } diff --git a/src/client.rs b/src/client.rs index dbd893c5a..e98e6bd3a 100644 --- a/src/client.rs +++ b/src/client.rs @@ -2103,8 +2103,8 @@ lazy_static::lazy_static! { use hbb_common::config::LINK_HEADLESS_LINUX_SUPPORT; let map = HashMap::from([(LOGIN_SCREEN_WAYLAND, LoginErrorMsgBox{ msgtype: "error", - title: "login_wayland_title_tip", - text: "login_wayland_text_tip", + title: "Login Error", + text: "Login screen using Wayland is not supported", link: "https://rustdesk.com/docs/en/manual/linux/#login-screen", try_again: true, }), (LOGIN_MSG_DESKTOP_SESSION_NOT_READY, LoginErrorMsgBox{ diff --git a/src/lang/ca.rs b/src/lang/ca.rs index b172ec34b..51a731c35 100644 --- a/src/lang/ca.rs +++ b/src/lang/ca.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/cn.rs b/src/lang/cn.rs index 004a9e1fc..b4a76c62e 100644 --- a/src/lang/cn.rs +++ b/src/lang/cn.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", "管理的设备数已达到最大值"), ("Sync with recent sessions", "同步最近会话"), ("Sort tags", "对标签进行排序"), - ("login_wayland_title_tip", "无法连接"), - ("login_wayland_text_tip", "不支持 Wayland 登录界面。"), ].iter().cloned().collect(); } diff --git a/src/lang/cs.rs b/src/lang/cs.rs index cd6e23142..29898eaf7 100644 --- a/src/lang/cs.rs +++ b/src/lang/cs.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/da.rs b/src/lang/da.rs index 6400e6f1c..0a4adaf36 100644 --- a/src/lang/da.rs +++ b/src/lang/da.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/de.rs b/src/lang/de.rs index ff01fa645..c42ac5719 100644 --- a/src/lang/de.rs +++ b/src/lang/de.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", "Sie haben die maximale Anzahl der verwalteten Geräte erreicht."), ("Sync with recent sessions", "Synchronisierung mit den letzten Sitzungen"), ("Sort tags", "Tags sortieren"), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/el.rs b/src/lang/el.rs index d49df927a..eb91e9a83 100644 --- a/src/lang/el.rs +++ b/src/lang/el.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/en.rs b/src/lang/en.rs index e9b2789a3..001d9133d 100644 --- a/src/lang/en.rs +++ b/src/lang/en.rs @@ -73,7 +73,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("clipboard_wait_response_timeout_tip", "Timed out waiting for copy response."), ("logout_tip", "Are you sure you want to log out?"), ("exceed_max_devices", "You have reached the maximum number of managed devices."), - ("login_wayland_title_tip", "Failed to connect"), - ("login_wayland_text_tip", "Login screen using Wayland is not supported."), ].iter().cloned().collect(); } diff --git a/src/lang/eo.rs b/src/lang/eo.rs index 23965e679..a576538ef 100644 --- a/src/lang/eo.rs +++ b/src/lang/eo.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/es.rs b/src/lang/es.rs index cf764c542..c39bcb7f5 100644 --- a/src/lang/es.rs +++ b/src/lang/es.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", "Has alcanzado el máximo número de dispositivos administrados."), ("Sync with recent sessions", "Sincronizar con sesiones recientes"), ("Sort tags", "Ordenar etiquetas"), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fa.rs b/src/lang/fa.rs index 9f4ece250..112edf32a 100644 --- a/src/lang/fa.rs +++ b/src/lang/fa.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fr.rs b/src/lang/fr.rs index 2fae8c90d..57c548e08 100644 --- a/src/lang/fr.rs +++ b/src/lang/fr.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hu.rs b/src/lang/hu.rs index 69cba6c72..638ed3adf 100644 --- a/src/lang/hu.rs +++ b/src/lang/hu.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/id.rs b/src/lang/id.rs index e6b1e268f..ac9df01b3 100644 --- a/src/lang/id.rs +++ b/src/lang/id.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/it.rs b/src/lang/it.rs index d7fea8cec..c89e6cf72 100644 --- a/src/lang/it.rs +++ b/src/lang/it.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", "Hai raggiunto il numero massimo di dispositivi gestibili."), ("Sync with recent sessions", "Sincronizza con le sessioni recenti"), ("Sort tags", "Ordina etichette"), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ja.rs b/src/lang/ja.rs index 05cb41089..67234039d 100644 --- a/src/lang/ja.rs +++ b/src/lang/ja.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ko.rs b/src/lang/ko.rs index f0e1b4d4b..c0b71c205 100644 --- a/src/lang/ko.rs +++ b/src/lang/ko.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/kz.rs b/src/lang/kz.rs index 2732835e3..829c59c73 100644 --- a/src/lang/kz.rs +++ b/src/lang/kz.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lt.rs b/src/lang/lt.rs index ea2c80e8e..69936b2b4 100644 --- a/src/lang/lt.rs +++ b/src/lang/lt.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nl.rs b/src/lang/nl.rs index 91c90559a..92bd7fd1f 100644 --- a/src/lang/nl.rs +++ b/src/lang/nl.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pl.rs b/src/lang/pl.rs index a6196206d..af6d11659 100644 --- a/src/lang/pl.rs +++ b/src/lang/pl.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rs index 91e1020bd..52675daf7 100644 --- a/src/lang/pt_PT.rs +++ b/src/lang/pt_PT.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rs index ac374a5ec..195b79804 100644 --- a/src/lang/ptbr.rs +++ b/src/lang/ptbr.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ro.rs b/src/lang/ro.rs index 00494e359..378d7c035 100644 --- a/src/lang/ro.rs +++ b/src/lang/ro.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ru.rs b/src/lang/ru.rs index 7b29c106f..6b48ef20b 100644 --- a/src/lang/ru.rs +++ b/src/lang/ru.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", "Достигнуто максимальне количество управляемых устройств."), ("Sync with recent sessions", "Синхронизация последних сессий"), ("Sort tags", "Сортировка меток"), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sk.rs b/src/lang/sk.rs index 2dc9e572c..f24f55bef 100644 --- a/src/lang/sk.rs +++ b/src/lang/sk.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sl.rs b/src/lang/sl.rs index f74220b92..ff5c254e0 100755 --- a/src/lang/sl.rs +++ b/src/lang/sl.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sq.rs b/src/lang/sq.rs index 4ce234d23..797328139 100644 --- a/src/lang/sq.rs +++ b/src/lang/sq.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sr.rs b/src/lang/sr.rs index 233eff041..3bb40f4ce 100644 --- a/src/lang/sr.rs +++ b/src/lang/sr.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sv.rs b/src/lang/sv.rs index 034643a13..ac898e38f 100644 --- a/src/lang/sv.rs +++ b/src/lang/sv.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/template.rs b/src/lang/template.rs index 42784f016..5c710624f 100644 --- a/src/lang/template.rs +++ b/src/lang/template.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/th.rs b/src/lang/th.rs index 64b422ce6..2b2d0f4b2 100644 --- a/src/lang/th.rs +++ b/src/lang/th.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tr.rs b/src/lang/tr.rs index 26041d881..d7bd99f25 100644 --- a/src/lang/tr.rs +++ b/src/lang/tr.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tw.rs b/src/lang/tw.rs index 75f0c7a87..bef733f00 100644 --- a/src/lang/tw.rs +++ b/src/lang/tw.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ua.rs b/src/lang/ua.rs index 44df50c47..3b115a5f3 100644 --- a/src/lang/ua.rs +++ b/src/lang/ua.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/vn.rs b/src/lang/vn.rs index 2441193bf..59490da1d 100644 --- a/src/lang/vn.rs +++ b/src/lang/vn.rs @@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("exceed_max_devices", ""), ("Sync with recent sessions", ""), ("Sort tags", ""), - ("login_wayland_title_tip", ""), - ("login_wayland_text_tip", ""), ].iter().cloned().collect(); }