diff --git a/flutter/lib/desktop/pages/desktop_home_page.dart b/flutter/lib/desktop/pages/desktop_home_page.dart index 0a75175db..339ecddb0 100644 --- a/flutter/lib/desktop/pages/desktop_home_page.dart +++ b/flutter/lib/desktop/pages/desktop_home_page.dart @@ -450,7 +450,11 @@ class _DesktopHomePageState extends State "${translate("new-version-of-{${bind.mainGetAppNameSync()}}-tip")} (${bind.mainGetNewVersion()}).", btnText, onPressed, - closeButton: true); + closeButton: true, + help: isToUpdate ? 'Changelog' : null, + link: isToUpdate + ? 'https://github.com/rustdesk/rustdesk/releases/tag/${bind.mainGetNewVersion()}' + : null); } if (systemError.isNotEmpty) { return buildInstallCard("", systemError, "", () {}); diff --git a/src/lang/ar.rs b/src/lang/ar.rs index 0a9b4f60a..cee43eaad 100644 --- a/src/lang/ar.rs +++ b/src/lang/ar.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/be.rs b/src/lang/be.rs index 52cb7a683..6d090d45f 100644 --- a/src/lang/be.rs +++ b/src/lang/be.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/bg.rs b/src/lang/bg.rs index 04c3fadd8..e7e56f22b 100644 --- a/src/lang/bg.rs +++ b/src/lang/bg.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ca.rs b/src/lang/ca.rs index 1b7a5d38d..fc75a83b9 100644 --- a/src/lang/ca.rs +++ b/src/lang/ca.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/cn.rs b/src/lang/cn.rs index f710bbc86..1f3b02577 100644 --- a/src/lang/cn.rs +++ b/src/lang/cn.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", "无法锁定鼠标,相对鼠标模式已禁用"), ("rel-mouse-exit-{}-tip", "按下 {} 退出"), ("rel-mouse-permission-lost-tip", "键盘权限被撤销。相对鼠标模式已被禁用。"), + ("Changelog", "更新日志"), ].iter().cloned().collect(); } diff --git a/src/lang/cs.rs b/src/lang/cs.rs index bfcf1a94f..ccba57553 100644 --- a/src/lang/cs.rs +++ b/src/lang/cs.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/da.rs b/src/lang/da.rs index 48008bc51..c90fa7118 100644 --- a/src/lang/da.rs +++ b/src/lang/da.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/de.rs b/src/lang/de.rs index 1efa68150..3d9568a52 100644 --- a/src/lang/de.rs +++ b/src/lang/de.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/el.rs b/src/lang/el.rs index d10b3fed4..edfa93e55 100644 --- a/src/lang/el.rs +++ b/src/lang/el.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/eo.rs b/src/lang/eo.rs index 31026afe1..c41845731 100644 --- a/src/lang/eo.rs +++ b/src/lang/eo.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/es.rs b/src/lang/es.rs index 008b60ba0..d6958e643 100644 --- a/src/lang/es.rs +++ b/src/lang/es.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/et.rs b/src/lang/et.rs index 6ce75fee6..f78990e99 100644 --- a/src/lang/et.rs +++ b/src/lang/et.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/eu.rs b/src/lang/eu.rs index abeb81805..cb1fdc143 100644 --- a/src/lang/eu.rs +++ b/src/lang/eu.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fa.rs b/src/lang/fa.rs index 6cfac9f4a..18d331007 100644 --- a/src/lang/fa.rs +++ b/src/lang/fa.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fi.rs b/src/lang/fi.rs index f79fd9208..00f9692c4 100644 --- a/src/lang/fi.rs +++ b/src/lang/fi.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fr.rs b/src/lang/fr.rs index c64ffb918..c67db4203 100644 --- a/src/lang/fr.rs +++ b/src/lang/fr.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ge.rs b/src/lang/ge.rs index d9ec41195..e59fca4dd 100644 --- a/src/lang/ge.rs +++ b/src/lang/ge.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/he.rs b/src/lang/he.rs index 0b0a775d2..a92905bd9 100644 --- a/src/lang/he.rs +++ b/src/lang/he.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hr.rs b/src/lang/hr.rs index 24b0b0b80..e998b0672 100644 --- a/src/lang/hr.rs +++ b/src/lang/hr.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hu.rs b/src/lang/hu.rs index d2cd48dff..dccd191dc 100644 --- a/src/lang/hu.rs +++ b/src/lang/hu.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/id.rs b/src/lang/id.rs index 091ea996f..0bd200e4b 100644 --- a/src/lang/id.rs +++ b/src/lang/id.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/it.rs b/src/lang/it.rs index 2f4ee009c..94307efd4 100644 --- a/src/lang/it.rs +++ b/src/lang/it.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ja.rs b/src/lang/ja.rs index 2cc68c4ec..fd479c266 100644 --- a/src/lang/ja.rs +++ b/src/lang/ja.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ko.rs b/src/lang/ko.rs index 77833d713..c009f29b3 100644 --- a/src/lang/ko.rs +++ b/src/lang/ko.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/kz.rs b/src/lang/kz.rs index f32d56fb0..9f5cabc78 100644 --- a/src/lang/kz.rs +++ b/src/lang/kz.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lt.rs b/src/lang/lt.rs index 1db3f6286..0e0711d4d 100644 --- a/src/lang/lt.rs +++ b/src/lang/lt.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lv.rs b/src/lang/lv.rs index 20872d7e1..20a1abb94 100644 --- a/src/lang/lv.rs +++ b/src/lang/lv.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nb.rs b/src/lang/nb.rs index 690cbfb8c..67bfebdf7 100644 --- a/src/lang/nb.rs +++ b/src/lang/nb.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nl.rs b/src/lang/nl.rs index 142e4f972..6b2c7dc66 100644 --- a/src/lang/nl.rs +++ b/src/lang/nl.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pl.rs b/src/lang/pl.rs index b06a92fc2..2bae03e2d 100644 --- a/src/lang/pl.rs +++ b/src/lang/pl.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rs index 1e489cd43..d97013c90 100644 --- a/src/lang/pt_PT.rs +++ b/src/lang/pt_PT.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rs index 8cf598b36..25624b87f 100644 --- a/src/lang/ptbr.rs +++ b/src/lang/ptbr.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ro.rs b/src/lang/ro.rs index cd8b0f929..bd76b34c3 100644 --- a/src/lang/ro.rs +++ b/src/lang/ro.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ru.rs b/src/lang/ru.rs index 877e87a4f..38b737136 100644 --- a/src/lang/ru.rs +++ b/src/lang/ru.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sc.rs b/src/lang/sc.rs index 156391842..a775bf234 100644 --- a/src/lang/sc.rs +++ b/src/lang/sc.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sk.rs b/src/lang/sk.rs index 872603a63..efbcac7ed 100644 --- a/src/lang/sk.rs +++ b/src/lang/sk.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sl.rs b/src/lang/sl.rs index 276d042cc..bf0a1e6b4 100755 --- a/src/lang/sl.rs +++ b/src/lang/sl.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sq.rs b/src/lang/sq.rs index 94dc602ec..8f1e333a4 100644 --- a/src/lang/sq.rs +++ b/src/lang/sq.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sr.rs b/src/lang/sr.rs index 1b180eb7e..407725e9b 100644 --- a/src/lang/sr.rs +++ b/src/lang/sr.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sv.rs b/src/lang/sv.rs index 914e937be..d82883dc2 100644 --- a/src/lang/sv.rs +++ b/src/lang/sv.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ta.rs b/src/lang/ta.rs index 48e8fb575..a4ac03d78 100644 --- a/src/lang/ta.rs +++ b/src/lang/ta.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/template.rs b/src/lang/template.rs index bd6bbfbdd..a0a8e31c8 100644 --- a/src/lang/template.rs +++ b/src/lang/template.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/th.rs b/src/lang/th.rs index 5b8d1eb86..86b3522d3 100644 --- a/src/lang/th.rs +++ b/src/lang/th.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tr.rs b/src/lang/tr.rs index 24b735243..ec7633743 100644 --- a/src/lang/tr.rs +++ b/src/lang/tr.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tw.rs b/src/lang/tw.rs index 36a111960..e93ae0f15 100644 --- a/src/lang/tw.rs +++ b/src/lang/tw.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/uk.rs b/src/lang/uk.rs index dc695e0b9..7c58f7e91 100644 --- a/src/lang/uk.rs +++ b/src/lang/uk.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); } diff --git a/src/lang/vi.rs b/src/lang/vi.rs index f00a7ec77..dbfa11da6 100644 --- a/src/lang/vi.rs +++ b/src/lang/vi.rs @@ -736,5 +736,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("rel-mouse-lock-failed-tip", ""), ("rel-mouse-exit-{}-tip", ""), ("rel-mouse-permission-lost-tip", ""), + ("Changelog", ""), ].iter().cloned().collect(); }