fix(webui): localize update check copy

This commit is contained in:
chengyongru
2026-06-14 17:59:31 +08:00
committed by Xubin Ren
parent 1b17aa1632
commit b226a95588
11 changed files with 85 additions and 1 deletions
@@ -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}