Fix(wayland): improve error message when xdg-desktop-portal is unavailable #12897 (#14543)

* Fix: Wayland requires higher version of linux distro. Please try X11 desktop or change your OS. #12897

* refactor(wayland): optimize translation keys for binary size and improve dbus matching
This commit is contained in:
Qusai Ismael
2026-03-17 05:37:20 +00:00
committed by GitHub
parent 02da7132e7
commit 9d8df6a226
50 changed files with 159 additions and 100 deletions

View File

@@ -377,8 +377,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Keyboard Settings", "鍵盤設定"),
("Full Access", "完全存取"),
("Screen Share", "僅分享螢幕畫面"),
("Wayland requires Ubuntu 21.04 or higher version.", "Wayland 需要 Ubuntu 21.04 或更新的版本。"),
("Wayland requires higher version of linux distro. Please try X11 desktop or change your OS.", "Wayland 需要更新版的 Linux 發行版。請嘗試使用 X11 桌面或更改您的作業系統。"),
("ubuntu-21-04-required", "Wayland 需要 Ubuntu 21.04 或更新的版本。"),
("wayland-requires-higher-linux-version", "Wayland 需要更新版的 Linux 發行版。請嘗試使用 X11 桌面或更改您的作業系統。"),
("xdp-portal-unavailable", ""),
("JumpLink", "查看"),
("Please Select the screen to be shared(Operate on the peer side).", "請選擇要分享的螢幕畫面(在對方的裝置上操作)。"),
("Show RustDesk", "顯示 RustDesk"),