diff --git a/src/app/(dashboard)/dashboard/logs/AuditLogTab.tsx b/src/app/(dashboard)/dashboard/logs/AuditLogTab.tsx index 4adf9a1ccd..e8f3a98186 100644 --- a/src/app/(dashboard)/dashboard/logs/AuditLogTab.tsx +++ b/src/app/(dashboard)/dashboard/logs/AuditLogTab.tsx @@ -6,6 +6,7 @@ */ import { useState, useEffect, useCallback } from "react"; +import { useTranslations } from "next-intl"; interface AuditEntry { id: number; @@ -27,6 +28,7 @@ export default function AuditLogTab() { const [actorFilter, setActorFilter] = useState(""); const [offset, setOffset] = useState(0); const [hasMore, setHasMore] = useState(false); + const t = useTranslations("logs"); const fetchEntries = useCallback(async () => { setLoading(true); @@ -85,10 +87,8 @@ export default function AuditLogTab() { {/* Header */}
- Administrative actions and security events -
+{t("auditLogDesc")}
- Configure a new AI provider to use with your applications. -
+{t("configureNewProvider")}
{/* Form */} @@ -98,7 +98,7 @@ export default function NewProviderPage() { options={providerOptions} value={formData.provider} onChange={(e) => handleChange("provider", e.target.value)} - placeholder="Select a provider" + placeholder={t("selectProviderPlaceholder")} error={errors.provider as string} required /> @@ -116,7 +116,7 @@ export default function NewProviderPage() {{selectedProvider.name}
-Selected provider
+{t("selectedProvider")}
- Connect your account using OAuth2 authentication. -
+{t("connectOAuth2")}