From d70b3a3fa40933e1ed6fc1b4a5ffe8d6f9c390f9 Mon Sep 17 00:00:00 2001 From: Eduard Gert Date: Tue, 9 Jun 2026 18:23:07 +0200 Subject: [PATCH] update debug bundle text --- .../settings/SettingsTroubleshooting.tsx | 27 ++++++++++++------- client/ui/i18n/locales/de/common.json | 2 +- client/ui/i18n/locales/en/common.json | 6 ++--- client/ui/i18n/locales/es/common.json | 2 +- client/ui/i18n/locales/fr/common.json | 2 +- client/ui/i18n/locales/hu/common.json | 2 +- client/ui/i18n/locales/it/common.json | 2 +- client/ui/i18n/locales/pt/common.json | 2 +- client/ui/i18n/locales/ru/common.json | 2 +- client/ui/i18n/locales/zh-CN/common.json | 2 +- 10 files changed, 28 insertions(+), 21 deletions(-) diff --git a/client/ui/frontend/src/modules/settings/SettingsTroubleshooting.tsx b/client/ui/frontend/src/modules/settings/SettingsTroubleshooting.tsx index 50288e3cc..d3aa060fb 100644 --- a/client/ui/frontend/src/modules/settings/SettingsTroubleshooting.tsx +++ b/client/ui/frontend/src/modules/settings/SettingsTroubleshooting.tsx @@ -13,6 +13,7 @@ import { Input } from "@/components/inputs/Input"; import { Label } from "@/components/typography/Label"; import { SquareIcon } from "@/components/SquareIcon"; import { cn } from "@/lib/cn"; +import { formatRemaining } from "@/lib/formatters"; import type { DebugStage } from "@/contexts/DebugBundleContext"; import { useDebugBundleContext } from "@/contexts/DebugBundleContext"; import { SectionGroup, SettingsBottomBar } from "@/modules/settings/SettingsSection.tsx"; @@ -133,13 +134,24 @@ function ProgressSection({ -
+
{stageLabel(stage, t)} {t("settings.troubleshooting.progress.description")}
+ {stage.kind === "capturing" && ( +
+ {formatRemaining(stage.remainingSec)} +
+ )} +