add version update translation (#10225)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-12-08 18:27:45 +08:00 committed by GitHub
parent d4a712bb32
commit ec466d459f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 45 additions and 1 deletions

View file

@ -430,7 +430,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
bind.mainUriPrefixSync().contains('rustdesk')) {
return buildInstallCard(
"Status",
"There is a newer version of ${bind.mainGetAppNameSync()} ${bind.mainGetNewVersion()} available.",
"${translate("newer-version-of-{${bind.mainGetAppNameSync()}}-tip")} (${bind.mainGetNewVersion()}).",
"Click to download", () async {
final Uri url = Uri.parse('https://rustdesk.com/download');
await launchUrl(url);