fix(webui): localize update check copy

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-06-14 17:59:31 +08:00
1 parent 1b17aa1632
commit b226a95588
11 files changed
+85 -1

No files matched your search

@@ -1942,7 +1942,10 @@ function VersionCheckRow({ currentVersion }: { currentVersion?: string }) {
{result?.type === "update" ? (
<span className="inline-flex items-center gap-1.5 text-[12px] text-blue-600 dark:text-blue-300">
<ArrowUpCircle className="h-3 w-3" aria-hidden />
{tx("settings.about.updateAvailable", "Update available")}{result.latestVersion && ` v${result.latestVersion}`}
{t("settings.about.updateAvailable", {
defaultValue: "Update available v{{version}}",
version: result.latestVersion,
})}
{result.pypiUrl ? (
<a
href={result.pypiUrl}