An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
add ColorPicker translations
21pagesd87ea854bc38
diff --git a/flutter/lib/common/widgets/address_book.dart b/flutter/lib/common/widgets/address_book.dartindex 292266ae7..4af74e319 100644--- a/flutter/lib/common/widgets/address_book.dart+++ b/flutter/lib/common/widgets/address_book.dart@@ -579,6 +579,13 @@ class AddressBookTag extends StatelessWidget {ColorPickerType.accent: false,ColorPickerType.wheel: true,},+ pickerTypeLabels: {+ ColorPickerType.primary: translate("Primary Color"),+ ColorPickerType.wheel: translate("HSV Color"),+ },+ actionButtons: ColorPickerActionButtons(+ dialogOkButtonLabel: translate("OK"),+ dialogCancelButtonLabel: translate("Cancel")),showColorCode: true,);if (oldColor != newColor) {diff --git a/flutter/lib/common/widgets/peer_card.dart b/flutter/lib/common/widgets/peer_card.dartindex 74f0dcb31..a9d18b42c 100644--- a/flutter/lib/common/widgets/peer_card.dart+++ b/flutter/lib/common/widgets/peer_card.dart@@ -735,11 +735,12 @@ abstract class BasePeerCard extends StatelessWidget {proc: () async {bool result = gFFI.abModel.changePassword(id, '');await bind.mainForgetPassword(id: id);+ bool toast = false;if (result) {- bool toast = tab == PeerTabIndex.ab;+ toast = tab == PeerTabIndex.ab;gFFI.abModel.pushAb(toastIfFail: toast, toastIfSucc: toast);}- showToast(translate('Successful'));+ if (!toast) showToast(translate('Successful'));},padding: menuPadding,dismissOnClicked: true,diff --git a/src/lang/ca.rs b/src/lang/ca.rsindex 4801abcae..baf6992b9 100644--- a/src/lang/ca.rs+++ b/src/lang/ca.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/cn.rs b/src/lang/cn.rsindex 3313537d1..8c20966c0 100644--- a/src/lang/cn.rs+++ b/src/lang/cn.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "未成功上传地址簿"),("synced_peer_readded_tip", "最近会话中存在的设备将会被重新同步到地址簿。"),("Change Color", "更改颜色"),+ ("Primary Color", "基本色"),+ ("HSV Color", "HSV 色"),].iter().cloned().collect();}diff --git a/src/lang/cs.rs b/src/lang/cs.rsindex 3d913b0d6..0e4d4db65 100644--- a/src/lang/cs.rs+++ b/src/lang/cs.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "Nepodařilo se synchronizovat adresář se serverem"),("synced_peer_readded_tip", "Zařízení, která byla přítomna v posledních relacích, budou synchronizována zpět do adresáře."),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/da.rs b/src/lang/da.rsindex afaf98386..c5540e75e 100644--- a/src/lang/da.rs+++ b/src/lang/da.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/de.rs b/src/lang/de.rsindex 8eb066f30..c528acceb 100644--- a/src/lang/de.rs+++ b/src/lang/de.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "Synchronisierung des Adressbuchs mit dem Server fehlgeschlagen"),("synced_peer_readded_tip", "Die Geräte, die in den letzten Sitzungen vorhanden waren, werden erneut zum Adressbuch hinzugefügt."),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/el.rs b/src/lang/el.rsindex 56805e574..4e065c803 100644--- a/src/lang/el.rs+++ b/src/lang/el.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/eo.rs b/src/lang/eo.rsindex bcb467839..c77126729 100644--- a/src/lang/eo.rs+++ b/src/lang/eo.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/es.rs b/src/lang/es.rsindex 5384dfead..7bb24ac53 100644--- a/src/lang/es.rs+++ b/src/lang/es.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "No se ha podido sincronizar el directorio con el servidor"),("synced_peer_readded_tip", "Los dispositivos presentes en sesiones recientes se sincronizarán con el directorio."),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/fa.rs b/src/lang/fa.rsindex fab82f661..35207642a 100644--- a/src/lang/fa.rs+++ b/src/lang/fa.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/fr.rs b/src/lang/fr.rsindex 24cc268ee..f9263d572 100644--- a/src/lang/fr.rs+++ b/src/lang/fr.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "Échec de la synchronisation du carnet d'adresses"),("synced_peer_readded_tip", "Les appareils qui étaient présents dans les sessions récentes seront synchronisés avec le carnet d'adresses."),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/hu.rs b/src/lang/hu.rsindex aaf888d23..722011788 100644--- a/src/lang/hu.rs+++ b/src/lang/hu.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/id.rs b/src/lang/id.rsindex a7b12f2ed..c8c343c5b 100644--- a/src/lang/id.rs+++ b/src/lang/id.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "Gagal menyinkronkan buku alamat ke server"),("synced_peer_readded_tip", "Perangkat yang terdaftar dalam sesi-sesi terbaru akan di-sinkronkan kembali ke buku alamat."),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/it.rs b/src/lang/it.rsindex 3b8bd8416..22088a061 100644--- a/src/lang/it.rs+++ b/src/lang/it.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "Impossibile sincronizzare la rubrica con il server"),("synced_peer_readded_tip", "I dispositivi presenti nelle sessioni recenti saranno sincronizzati di nuovo nella rubrica."),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/ja.rs b/src/lang/ja.rsindex 1a9e8da4f..b1da5d94c 100644--- a/src/lang/ja.rs+++ b/src/lang/ja.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/ko.rs b/src/lang/ko.rsindex 28c34f7e2..a69b38e26 100644--- a/src/lang/ko.rs+++ b/src/lang/ko.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/kz.rs b/src/lang/kz.rsindex 2fb2b8b92..ccca49561 100644--- a/src/lang/kz.rs+++ b/src/lang/kz.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/lt.rs b/src/lang/lt.rsindex 6a8c7e9f5..873f5909a 100644--- a/src/lang/lt.rs+++ b/src/lang/lt.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/nl.rs b/src/lang/nl.rsindex 3b08427df..2be2d5da2 100644--- a/src/lang/nl.rs+++ b/src/lang/nl.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/pl.rs b/src/lang/pl.rsindex 67b9d188a..0391dd2f3 100644--- a/src/lang/pl.rs+++ b/src/lang/pl.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rsindex 416600eeb..becb4c8ee 100644--- a/src/lang/pt_PT.rs+++ b/src/lang/pt_PT.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rsindex 98e469f7e..704b56d1e 100644--- a/src/lang/ptbr.rs+++ b/src/lang/ptbr.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/ro.rs b/src/lang/ro.rsindex f4d44b3ae..2f248262b 100644--- a/src/lang/ro.rs+++ b/src/lang/ro.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/ru.rs b/src/lang/ru.rsindex 37fdb2060..1c43912c6 100644--- a/src/lang/ru.rs+++ b/src/lang/ru.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "Невозможно синхронизировать адресную книгу с сервером"),("synced_peer_readded_tip", "Устройства, присутствовавшие в последних сеансах, будут синхронизированы с адресной книгой."),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/sk.rs b/src/lang/sk.rsindex 8421bd2b0..9711586d3 100644--- a/src/lang/sk.rs+++ b/src/lang/sk.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/sl.rs b/src/lang/sl.rsindex f4c5ff385..f5f4f95f2 100755--- a/src/lang/sl.rs+++ b/src/lang/sl.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/sq.rs b/src/lang/sq.rsindex 11e3e1ccb..e5d310ebb 100644--- a/src/lang/sq.rs+++ b/src/lang/sq.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/sr.rs b/src/lang/sr.rsindex 494999475..480964e6e 100644--- a/src/lang/sr.rs+++ b/src/lang/sr.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/sv.rs b/src/lang/sv.rsindex 4c0f73f5a..cf94e7064 100644--- a/src/lang/sv.rs+++ b/src/lang/sv.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/template.rs b/src/lang/template.rsindex ee7fb0d46..c71a30342 100644--- a/src/lang/template.rs+++ b/src/lang/template.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/th.rs b/src/lang/th.rsindex e6f12d85e..1ec47d26c 100644--- a/src/lang/th.rs+++ b/src/lang/th.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/tr.rs b/src/lang/tr.rsindex bb3ab5de6..3c3a10da2 100644--- a/src/lang/tr.rs+++ b/src/lang/tr.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/tw.rs b/src/lang/tw.rsindex 8f28395d3..8ef8ca895 100644--- a/src/lang/tw.rs+++ b/src/lang/tw.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", "未成功上傳地址簿"),("synced_peer_readded_tip", "最近會話中存在的設備將會被重新同步到地址簿。"),("Change Color", "更改顏色"),+ ("Primary Color", "基本色"),+ ("HSV Color", "HSV 色"),].iter().cloned().collect();}diff --git a/src/lang/ua.rs b/src/lang/ua.rsindex 69ca7c2da..6be8c93b2 100644--- a/src/lang/ua.rs+++ b/src/lang/ua.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}diff --git a/src/lang/vn.rs b/src/lang/vn.rsindex 7a0cce355..d83d9ef42 100644--- a/src/lang/vn.rs+++ b/src/lang/vn.rs@@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("push_ab_failed_tip", ""),("synced_peer_readded_tip", ""),("Change Color", ""),+ ("Primary Color", ""),+ ("HSV Color", ""),].iter().cloned().collect();}