refact, wayland login screen translate
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
5403166552
commit
2e256c0fca
@ -377,7 +377,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
|
||||
link: 'https://rustdesk.com/docs/en/manual/linux/#x11-required');
|
||||
} else if (bind.mainIsLoginWayland()) {
|
||||
return buildInstallCard("Warning",
|
||||
"Login screen using Wayland is not supported", "", () async {},
|
||||
translate("login_wayland_text_tip"), "", () async {},
|
||||
help: 'Help',
|
||||
link: 'https://rustdesk.com/docs/en/manual/linux/#login-screen');
|
||||
}
|
||||
|
@ -74,6 +74,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("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 of Wayland is not supported."),
|
||||
("login_wayland_text_tip", "Login screen using Wayland is not supported."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user