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"),