diff --git a/src/components/debug/DebugInfo.tsx b/src/components/debug/DebugInfo.tsx
index b2a0c2e..d941402 100644
--- a/src/components/debug/DebugInfo.tsx
+++ b/src/components/debug/DebugInfo.tsx
@@ -13,6 +13,7 @@ import {
Globe,
} from "lucide-react";
import { CacheType } from "@/lib/services/base-api.service";
+import { useTranslation } from "react-i18next";
interface RequestTiming {
url: string;
@@ -49,6 +50,7 @@ export function DebugInfo() {
const [isMinimized, setIsMinimized] = useState(false);
const [isRefreshing, setIsRefreshing] = useState(false);
const pathname = usePathname();
+ const { t } = useTranslation();
const fetchLogs = async () => {
try {
@@ -100,10 +102,10 @@ export function DebugInfo() {
>
-
DEBUG
+ {t("debug.title")}
{!isMinimized && (
- {sortedLogs.length} entrée{sortedLogs.length > 1 ? "s" : ""}
+ {sortedLogs.length} {t("debug.entries", { count: sortedLogs.length })}
)}
@@ -111,7 +113,7 @@ export function DebugInfo() {