remove translation

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-07-29 18:02:12 +08:00
parent 2e256c0fca
commit 3343210e8b
37 changed files with 3 additions and 73 deletions

View File

@ -377,7 +377,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
link: 'https://rustdesk.com/docs/en/manual/linux/#x11-required'); link: 'https://rustdesk.com/docs/en/manual/linux/#x11-required');
} else if (bind.mainIsLoginWayland()) { } else if (bind.mainIsLoginWayland()) {
return buildInstallCard("Warning", return buildInstallCard("Warning",
translate("login_wayland_text_tip"), "", () async {}, translate("Login screen using Wayland is not supported"), "", () async {},
help: 'Help', help: 'Help',
link: 'https://rustdesk.com/docs/en/manual/linux/#login-screen'); link: 'https://rustdesk.com/docs/en/manual/linux/#login-screen');
} }

View File

@ -2103,8 +2103,8 @@ lazy_static::lazy_static! {
use hbb_common::config::LINK_HEADLESS_LINUX_SUPPORT; use hbb_common::config::LINK_HEADLESS_LINUX_SUPPORT;
let map = HashMap::from([(LOGIN_SCREEN_WAYLAND, LoginErrorMsgBox{ let map = HashMap::from([(LOGIN_SCREEN_WAYLAND, LoginErrorMsgBox{
msgtype: "error", msgtype: "error",
title: "login_wayland_title_tip", title: "Login Error",
text: "login_wayland_text_tip", text: "Login screen using Wayland is not supported",
link: "https://rustdesk.com/docs/en/manual/linux/#login-screen", link: "https://rustdesk.com/docs/en/manual/linux/#login-screen",
try_again: true, try_again: true,
}), (LOGIN_MSG_DESKTOP_SESSION_NOT_READY, LoginErrorMsgBox{ }), (LOGIN_MSG_DESKTOP_SESSION_NOT_READY, LoginErrorMsgBox{

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "管理的设备数已达到最大值"), ("exceed_max_devices", "管理的设备数已达到最大值"),
("Sync with recent sessions", "同步最近会话"), ("Sync with recent sessions", "同步最近会话"),
("Sort tags", "对标签进行排序"), ("Sort tags", "对标签进行排序"),
("login_wayland_title_tip", "无法连接"),
("login_wayland_text_tip", "不支持 Wayland 登录界面。"),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -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."), ("exceed_max_devices", "Sie haben die maximale Anzahl der verwalteten Geräte erreicht."),
("Sync with recent sessions", "Synchronisierung mit den letzten Sitzungen"), ("Sync with recent sessions", "Synchronisierung mit den letzten Sitzungen"),
("Sort tags", "Tags sortieren"), ("Sort tags", "Tags sortieren"),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -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."), ("clipboard_wait_response_timeout_tip", "Timed out waiting for copy response."),
("logout_tip", "Are you sure you want to log out?"), ("logout_tip", "Are you sure you want to log out?"),
("exceed_max_devices", "You have reached the maximum number of managed devices."), ("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(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -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."), ("exceed_max_devices", "Has alcanzado el máximo número de dispositivos administrados."),
("Sync with recent sessions", "Sincronizar con sesiones recientes"), ("Sync with recent sessions", "Sincronizar con sesiones recientes"),
("Sort tags", "Ordenar etiquetas"), ("Sort tags", "Ordenar etiquetas"),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -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."), ("exceed_max_devices", "Hai raggiunto il numero massimo di dispositivi gestibili."),
("Sync with recent sessions", "Sincronizza con le sessioni recenti"), ("Sync with recent sessions", "Sincronizza con le sessioni recenti"),
("Sort tags", "Ordina etichette"), ("Sort tags", "Ordina etichette"),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "Достигнуто максимальне количество управляемых устройств."), ("exceed_max_devices", "Достигнуто максимальне количество управляемых устройств."),
("Sync with recent sessions", "Синхронизация последних сессий"), ("Sync with recent sessions", "Синхронизация последних сессий"),
("Sort tags", "Сортировка меток"), ("Sort tags", "Сортировка меток"),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -524,7 +524,5 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""), ("exceed_max_devices", ""),
("Sync with recent sessions", ""), ("Sync with recent sessions", ""),
("Sort tags", ""), ("Sort tags", ""),
("login_wayland_title_tip", ""),
("login_wayland_text_tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }