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')) { bind.mainUriPrefixSync().contains('rustdesk')) {
return buildInstallCard( return buildInstallCard(
"Status", "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 { "Click to download", () async {
final Uri url = Uri.parse('https://rustdesk.com/download'); final Uri url = Uri.parse('https://rustdesk.com/download');
await launchUrl(url); await launchUrl(url);

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "剪贴板已同步"), ("Clipboard is synchronized", "剪贴板已同步"),
("Update client clipboard", "更新客户端的粘贴板"), ("Update client clipboard", "更新客户端的粘贴板"),
("Untagged", "无标签"), ("Untagged", "无标签"),
("newer-version-of-{}-tip", "{} 版本更新"),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Zwischenablage ist synchronisiert"), ("Clipboard is synchronized", "Zwischenablage ist synchronisiert"),
("Update client clipboard", "Client-Zwischenablage aktualisieren"), ("Update client clipboard", "Client-Zwischenablage aktualisieren"),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -236,5 +236,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enable-trusted-devices-tip", "Skip 2FA verification on trusted devices"), ("enable-trusted-devices-tip", "Skip 2FA verification on trusted devices"),
("one-way-file-transfer-tip", "One-way file transfer is enabled on the controlled side."), ("one-way-file-transfer-tip", "One-way file transfer is enabled on the controlled side."),
("web_id_input_tip", "You can input an ID in the same server, direct IP access is not supported in web client.\nIf you want to access a device on another server, please append the server address (<id>@<server_address>?key=<key_value>), for example,\n9123456234@192.168.16.1:21117?key=5Qbwsde3unUcJBtrx9ZkvUmwFNoExHzpryHuPUdqlWM=.\nIf you want to access a device on a public server, please input \"<id>@public\", the key is not needed for public server."), ("web_id_input_tip", "You can input an ID in the same server, direct IP access is not supported in web client.\nIf you want to access a device on another server, please append the server address (<id>@<server_address>?key=<key_value>), for example,\n9123456234@192.168.16.1:21117?key=5Qbwsde3unUcJBtrx9ZkvUmwFNoExHzpryHuPUdqlWM=.\nIf you want to access a device on a public server, please input \"<id>@public\", the key is not needed for public server."),
("newer-version-of-{}-tip", "There is a newer version of {} available"),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Portapapeles sincronizado"), ("Clipboard is synchronized", "Portapapeles sincronizado"),
("Update client clipboard", "Actualizar portapapeles del cliente"), ("Update client clipboard", "Actualizar portapapeles del cliente"),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "A vágólap szinkronizálva van"), ("Clipboard is synchronized", "A vágólap szinkronizálva van"),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Gli appunti sono sincronizzati"), ("Clipboard is synchronized", "Gli appunti sono sincronizzati"),
("Update client clipboard", "Aggiorna appunti client"), ("Update client clipboard", "Aggiorna appunti client"),
("Untagged", "Senza tag"), ("Untagged", "Senza tag"),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "클립보드가 동기화됨"), ("Clipboard is synchronized", "클립보드가 동기화됨"),
("Update client clipboard", "클라이언트 클립보드 업데이트"), ("Update client clipboard", "클라이언트 클립보드 업데이트"),
("Untagged", "태그 없음"), ("Untagged", "태그 없음"),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Starpliktuve ir sinhronizēta"), ("Clipboard is synchronized", "Starpliktuve ir sinhronizēta"),
("Update client clipboard", "Atjaunināt klienta starpliktuvi"), ("Update client clipboard", "Atjaunināt klienta starpliktuvi"),
("Untagged", "Neatzīmēts"), ("Untagged", "Neatzīmēts"),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Klembord is gesynchroniseerd"), ("Clipboard is synchronized", "Klembord is gesynchroniseerd"),
("Update client clipboard", "Klembord van client bijwerken"), ("Update client clipboard", "Klembord van client bijwerken"),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Schowek jest zsynchronizowany"), ("Clipboard is synchronized", "Schowek jest zsynchronizowany"),
("Update client clipboard", "Uaktualnij schowek klienta"), ("Update client clipboard", "Uaktualnij schowek klienta"),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Буфер обмена синхронизирован"), ("Clipboard is synchronized", "Буфер обмена синхронизирован"),
("Update client clipboard", "Обновить буфер обмена клиента"), ("Update client clipboard", "Обновить буфер обмена клиента"),
("Untagged", "Без метки"), ("Untagged", "Без метки"),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", "There is a newer version of {} available"),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "剪貼簿已同步"), ("Clipboard is synchronized", "剪貼簿已同步"),
("Update client clipboard", "更新客戶端的剪貼簿"), ("Update client clipboard", "更新客戶端的剪貼簿"),
("Untagged", "無標籤"), ("Untagged", "無標籤"),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", "Буфер обміну синхронізовано"), ("Clipboard is synchronized", "Буфер обміну синхронізовано"),
("Update client clipboard", "Оновити буфер обміну клієнта"), ("Update client clipboard", "Оновити буфер обміну клієнта"),
("Untagged", "Без міток"), ("Untagged", "Без міток"),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -655,5 +655,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Clipboard is synchronized", ""), ("Clipboard is synchronized", ""),
("Update client clipboard", ""), ("Update client clipboard", ""),
("Untagged", ""), ("Untagged", ""),
("newer-version-of-{}-tip", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }