diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx index 9bc384861..dbab1e4f3 100644 --- a/web/src/components/overlay/detail/SearchDetailDialog.tsx +++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx @@ -226,7 +226,7 @@ export default function SearchDetailDialog({ {item == "object_lifecycle" && ( )} -
{t("type.{item}")}
+
{t(`type.${item}`)}
))} @@ -310,8 +310,8 @@ function ObjectDetailsTab({ const formattedDate = useFormattedTimestamp( search?.start_time ?? 0, config?.ui.time_format == "24hour" - ? t("time.formattedTimestampWithYear.24hour") - : t("time.formattedTimestampWithYear"), + ? t("time.formattedTimestampWithYear.24hour", { ns: "common" }) + : t("time.formattedTimestampWithYear", { ns: "common" }), config?.ui.timezone, );