From f08933f93c18d8e8c577262ef4e19b63c1d3c5de Mon Sep 17 00:00:00 2001 From: fufesou Date: Tue, 7 May 2024 15:21:38 +0800 Subject: [PATCH] fix: translate, proxy (#7923) * fix: translate, proxy Signed-off-by: fufesou * refact: proxy server, change placeholder to tooltip Signed-off-by: fufesou --------- Signed-off-by: fufesou --- .../desktop/pages/desktop_setting_page.dart | 31 ++++++++++++++----- src/lang/ar.rs | 1 + src/lang/bg.rs | 1 + src/lang/ca.rs | 1 + src/lang/cn.rs | 2 +- src/lang/cs.rs | 1 + src/lang/da.rs | 1 + src/lang/de.rs | 1 + src/lang/el.rs | 1 + src/lang/en.rs | 2 +- src/lang/eo.rs | 1 + src/lang/es.rs | 1 + src/lang/et.rs | 1 + src/lang/fa.rs | 1 + src/lang/fr.rs | 1 + src/lang/he.rs | 1 + src/lang/hr.rs | 2 ++ src/lang/hu.rs | 3 +- src/lang/id.rs | 1 + src/lang/it.rs | 1 + src/lang/ja.rs | 1 + src/lang/ko.rs | 1 + src/lang/kz.rs | 1 + src/lang/lt.rs | 1 + src/lang/lv.rs | 1 + src/lang/nb.rs | 1 + src/lang/nl.rs | 1 + src/lang/pl.rs | 1 + src/lang/pt_PT.rs | 1 + src/lang/ptbr.rs | 1 + src/lang/ro.rs | 1 + src/lang/ru.rs | 1 + src/lang/sk.rs | 1 + src/lang/sl.rs | 1 + src/lang/sq.rs | 1 + src/lang/sr.rs | 3 +- src/lang/sv.rs | 1 + src/lang/template.rs | 1 + src/lang/th.rs | 1 + src/lang/tr.rs | 1 + src/lang/tw.rs | 1 + src/lang/ua.rs | 1 + src/lang/vn.rs | 1 + 43 files changed, 69 insertions(+), 11 deletions(-) diff --git a/flutter/lib/desktop/pages/desktop_setting_page.dart b/flutter/lib/desktop/pages/desktop_setting_page.dart index fab7b56d7..c5f437263 100644 --- a/flutter/lib/desktop/pages/desktop_setting_page.dart +++ b/flutter/lib/desktop/pages/desktop_setting_page.dart @@ -2107,17 +2107,34 @@ void changeSocks5Proxy() async { Row( children: [ ConstrainedBox( - constraints: const BoxConstraints(minWidth: 140), - child: Text( - '${translate("Server")}:', - textAlign: TextAlign.right, - ).marginOnly(right: 10)), + constraints: const BoxConstraints(minWidth: 140), + child: Align( + alignment: Alignment.centerRight, + child: Row( + children: [ + Text( + translate('Server'), + ).marginOnly(right: 4), + Tooltip( + waitDuration: Duration(milliseconds: 0), + message: translate("default_proxy_tip"), + child: Icon( + Icons.help_outline_outlined, + size: 16, + color: Theme.of(context) + .textTheme + .titleLarge + ?.color + ?.withOpacity(0.5), + ), + ), + ], + )).marginOnly(right: 10), + ), Expanded( child: TextField( decoration: InputDecoration( errorText: proxyMsg.isNotEmpty ? proxyMsg : null, - hintText: translate( - 'Default protocol and port are Socks5 and 1080'), ), controller: proxyController, autofocus: true, diff --git a/src/lang/ar.rs b/src/lang/ar.rs index 626f1bcfb..649b9f8eb 100644 --- a/src/lang/ar.rs +++ b/src/lang/ar.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/bg.rs b/src/lang/bg.rs index 9aa3ddac9..99fda4fd8 100644 --- a/src/lang/bg.rs +++ b/src/lang/bg.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ca.rs b/src/lang/ca.rs index 2ac1fbbae..77153f754 100644 --- a/src/lang/ca.rs +++ b/src/lang/ca.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/cn.rs b/src/lang/cn.rs index d815cec65..a25115f0b 100644 --- a/src/lang/cn.rs +++ b/src/lang/cn.rs @@ -240,7 +240,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid folder name", "无效文件夹名称"), ("Socks5 Proxy", "Socks5 代理"), ("Socks5/Http(s) Proxy", "Socks5/Http(s) 代理"), - ("Default protocol and port are Socks5 and 1080", "默认代理协议及端口为Socks5和1080"), ("Discovered", "已发现"), ("install_daemon_tip", "为了开机启动,请安装系统服务。"), ("Remote ID", "远程 ID"), @@ -606,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "没有物理显示器,没必要使用隐私模式。"), ("Follow remote cursor", "跟随远程光标"), ("Follow remote window focus", "跟随远程窗口焦点"), + ("default_proxy_tip", "默认代理协议及端口为 Socks5 和 1080"), ].iter().cloned().collect(); } diff --git a/src/lang/cs.rs b/src/lang/cs.rs index b50e325fe..0761d2564 100644 --- a/src/lang/cs.rs +++ b/src/lang/cs.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Žádné fyzické displeje, není třeba používat režim soukromí."), ("Follow remote cursor", "Sledovat dálkový kurzor"), ("Follow remote window focus", "Sledovat zaměření vzdáleného okna"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/da.rs b/src/lang/da.rs index d05c0cd9b..ad5384143 100644 --- a/src/lang/da.rs +++ b/src/lang/da.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/de.rs b/src/lang/de.rs index ad7084213..9eb93d26a 100644 --- a/src/lang/de.rs +++ b/src/lang/de.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Keine physischen Bildschirme; keine Notwendigkeit, den Datenschutzmodus zu verwenden."), ("Follow remote cursor", "Dem entfernten Cursor folgen"), ("Follow remote window focus", "Dem Fokus des entfernten Fensters folgen"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/el.rs b/src/lang/el.rs index 22953dd74..02a889bc3 100644 --- a/src/lang/el.rs +++ b/src/lang/el.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/en.rs b/src/lang/en.rs index cc0b32051..bdd1d6206 100644 --- a/src/lang/en.rs +++ b/src/lang/en.rs @@ -61,7 +61,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Remove from Favorites", "Remove from favorites"), ("Socks5 Proxy", "Socks5 proxy"), ("Socks5/Http(s) Proxy", "Socks5/Http(s) proxy"), - ("Default protocol and port are Socks5 and 1080", "Default protocol and port are Socks5 and 1080"), ("install_daemon_tip", "For starting on boot, you need to install system service."), ("Are you sure to close the connection?", "Are you sure you want to close the connection?"), ("One-Finger Tap", "One-finger tap"), @@ -224,5 +223,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "No physical displays, no need to use the privacy mode."), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", "Default protocol and port are Socks5 and 1080"), ].iter().cloned().collect(); } diff --git a/src/lang/eo.rs b/src/lang/eo.rs index 44a1d01a0..4ed6a2658 100644 --- a/src/lang/eo.rs +++ b/src/lang/eo.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/es.rs b/src/lang/es.rs index 348db87ea..e4fa9984c 100644 --- a/src/lang/es.rs +++ b/src/lang/es.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "No hay pantallas físicas, no es necesario usar el modo privado."), ("Follow remote cursor", "Seguir cursor remoto"), ("Follow remote window focus", "Seguir ventana remota activa"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/et.rs b/src/lang/et.rs index 6dad57845..434a4ade9 100644 --- a/src/lang/et.rs +++ b/src/lang/et.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fa.rs b/src/lang/fa.rs index 872f8f5d0..134494a47 100644 --- a/src/lang/fa.rs +++ b/src/lang/fa.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fr.rs b/src/lang/fr.rs index 43d21b6d0..521d65012 100644 --- a/src/lang/fr.rs +++ b/src/lang/fr.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/he.rs b/src/lang/he.rs index e5b4429fe..94cd44c45 100644 --- a/src/lang/he.rs +++ b/src/lang/he.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hr.rs b/src/lang/hr.rs index cf65fe093..6b0f372d8 100644 --- a/src/lang/hr.rs +++ b/src/lang/hr.rs @@ -239,6 +239,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Empty", "Prazno"), ("Invalid folder name", "Nevažeći naziv mape"), ("Socks5 Proxy", "Socks5 Proxy"), + ("Socks5/Http(s) Proxy", ""), ("Discovered", "Otkriveno"), ("install_daemon_tip", "Servis sustava mora biti instaliran ako se želi pokrenuti pri pokretanju sustava."), ("Remote ID", "Udaljeni ID"), @@ -604,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hu.rs b/src/lang/hu.rs index 5c568c32d..5ddb6e335 100644 --- a/src/lang/hu.rs +++ b/src/lang/hu.rs @@ -239,7 +239,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Empty", "Üres"), ("Invalid folder name", "Helytelen mappa név"), ("Socks5 Proxy", "Socks5 Proxy"), - ("Socks5/Http(s) Proxy", "Socks5/Http(s) Proxy"), + ("Socks5/Http(s) Proxy", "Socks5/Http(s) Proxy"), ("Discovered", "Felfedezett"), ("install_daemon_tip", "Az automatikus indításhoz szükséges a szolgáltatás telepítése"), ("Remote ID", "Távoli azonosító"), @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/id.rs b/src/lang/id.rs index cca611212..389ec8677 100644 --- a/src/lang/id.rs +++ b/src/lang/id.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/it.rs b/src/lang/it.rs index 1fbe6285c..03b4462d2 100644 --- a/src/lang/it.rs +++ b/src/lang/it.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Nessun display fisico, nessuna necessità di usare la modalità privacy."), ("Follow remote cursor", "Segui cursore remoto"), ("Follow remote window focus", "Segui focus finestra remota"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ja.rs b/src/lang/ja.rs index 7d154e650..7df3fc665 100644 --- a/src/lang/ja.rs +++ b/src/lang/ja.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ko.rs b/src/lang/ko.rs index 09a4f8101..7cc226b56 100644 --- a/src/lang/ko.rs +++ b/src/lang/ko.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/kz.rs b/src/lang/kz.rs index 8642012df..7ac4fa836 100644 --- a/src/lang/kz.rs +++ b/src/lang/kz.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lt.rs b/src/lang/lt.rs index 8864408a3..9218cbbd6 100644 --- a/src/lang/lt.rs +++ b/src/lang/lt.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lv.rs b/src/lang/lv.rs index 4b7a659e4..4bf006e4f 100644 --- a/src/lang/lv.rs +++ b/src/lang/lv.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Nav fizisku displeju, nav jāizmanto privātuma režīms."), ("Follow remote cursor", "Sekot attālajam kursoram"), ("Follow remote window focus", "Sekot attālā loga fokusam"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nb.rs b/src/lang/nb.rs index 2bc2f4834..dc12a41d6 100644 --- a/src/lang/nb.rs +++ b/src/lang/nb.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nl.rs b/src/lang/nl.rs index 4fd22b254..86d9c1479 100644 --- a/src/lang/nl.rs +++ b/src/lang/nl.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Geen fysieke schermen, geen privémodus nodig."), ("Follow remote cursor", "Volg de cursor op afstand"), ("Follow remote window focus", "Volg de focus van het venster op afstand"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pl.rs b/src/lang/pl.rs index e90922529..b27f7ce08 100644 --- a/src/lang/pl.rs +++ b/src/lang/pl.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Brak fizycznych wyświetlaczy, tryb prywatny nie jest potrzebny."), ("Follow remote cursor", "Podążaj za zdalnym kursorem"), ("Follow remote window focus", "Podążaj za aktywnością zdalnych okien"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rs index 70baf3248..21786001f 100644 --- a/src/lang/pt_PT.rs +++ b/src/lang/pt_PT.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rs index c7a0126a8..18e13fefd 100644 --- a/src/lang/ptbr.rs +++ b/src/lang/ptbr.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ro.rs b/src/lang/ro.rs index eca66abc0..1296b1305 100644 --- a/src/lang/ro.rs +++ b/src/lang/ro.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ru.rs b/src/lang/ru.rs index 2553c0925..015776710 100644 --- a/src/lang/ru.rs +++ b/src/lang/ru.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Физические дисплеи отсутствуют, нет необходимости использовать режим конфиденциальности."), ("Follow remote cursor", "Следовать за удалённым курсором"), ("Follow remote window focus", "Следовать за фокусом удалённого окна"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sk.rs b/src/lang/sk.rs index 15d1de1f6..9206ebdf5 100644 --- a/src/lang/sk.rs +++ b/src/lang/sk.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "Žiadne fyzické displeje, nie je potrebné používať režim ochrany osobných údajov."), ("Follow remote cursor", "Nasledovať vzdialený kurzor"), ("Follow remote window focus", "Nasledovať vzdialené zameranie okna"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sl.rs b/src/lang/sl.rs index 4c6e4dcb3..381e42461 100755 --- a/src/lang/sl.rs +++ b/src/lang/sl.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sq.rs b/src/lang/sq.rs index dba37a298..4928d7fe6 100644 --- a/src/lang/sq.rs +++ b/src/lang/sq.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sr.rs b/src/lang/sr.rs index c1ddb69e1..fe956ebfc 100644 --- a/src/lang/sr.rs +++ b/src/lang/sr.rs @@ -239,7 +239,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Empty", "Prazno"), ("Invalid folder name", "Pogrešno ime direktorijuma"), ("Socks5 Proxy", "Socks5 proksi"), - ("Socks5/Http(s) Proxy", "Socks5/Http(s) proksi"), + ("Socks5/Http(s) Proxy", "Socks5/Http(s) proksi"), ("Discovered", "Otkriveno"), ("install_daemon_tip", "Za pokretanje pri startu sistema, treba da instalirate sistemski servis."), ("Remote ID", "Udaljeni ID"), @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sv.rs b/src/lang/sv.rs index 8bc643257..c0e53aaa6 100644 --- a/src/lang/sv.rs +++ b/src/lang/sv.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/template.rs b/src/lang/template.rs index 86dbdd4f1..8a791f3af 100644 --- a/src/lang/template.rs +++ b/src/lang/template.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/th.rs b/src/lang/th.rs index 558b7ed12..40b77d102 100644 --- a/src/lang/th.rs +++ b/src/lang/th.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tr.rs b/src/lang/tr.rs index bf8d03f0c..23c6638e4 100644 --- a/src/lang/tr.rs +++ b/src/lang/tr.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tw.rs b/src/lang/tw.rs index c5bf3ca49..4a54ea2df 100644 --- a/src/lang/tw.rs +++ b/src/lang/tw.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", "沒有物理螢幕,沒必要使用隱私模式。"), ("Follow remote cursor", "跟隨遠端游標"), ("Follow remote window focus", "跟隨遠端視窗焦點"), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ua.rs b/src/lang/ua.rs index 4c668cec1..0e63a333e 100644 --- a/src/lang/ua.rs +++ b/src/lang/ua.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); } diff --git a/src/lang/vn.rs b/src/lang/vn.rs index a70679062..5e5da1e52 100644 --- a/src/lang/vn.rs +++ b/src/lang/vn.rs @@ -605,5 +605,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("no_need_privacy_mode_no_physical_displays_tip", ""), ("Follow remote cursor", ""), ("Follow remote window focus", ""), + ("default_proxy_tip", ""), ].iter().cloned().collect(); }