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 authored and GitHub committed 2026-03-17 13:37:20 +08:00
1 parent 02da7132e7
commit 9d8df6a226
50 files changed
+159 -100

No files matched your search

+3 -2
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.", "نیازمند اوبونتو نسخه 21.04 یا بالاتر است Wayland"),
("Wayland requires higher version of linux distro. Please try X11 desktop or change your OS.", "استفاده کنید و یا سیستم عامل خود را تغییر دهید X11 نیازمند نسخه بالاتری از توزیع لینوکس است. لطفا از دسکتاپ با سیستم"),
("ubuntu-21-04-required", "نیازمند اوبونتو نسخه 21.04 یا بالاتر است Wayland"),
("wayland-requires-higher-linux-version", "استفاده کنید و یا سیستم عامل خود را تغییر دهید X11 نیازمند نسخه بالاتری از توزیع لینوکس است. لطفا از دسکتاپ با سیستم"),
("xdp-portal-unavailable", ""),
("JumpLink", "چشم انداز"),
("Please Select the screen to be shared(Operate on the peer side).", "لطفاً صفحه‌ای را برای اشتراک‌گذاری انتخاب کنید (در سمت همتا به همتا کار کنید)."),
("Show RustDesk", "RustDesk نمایش"),