Wrap intl in span identifying translation

This commit is contained in:
Jamie Curnow committed 2025-10-02 23:06:51 +10:00
1 parent fcb08d3003
commit 227e818040
68 files changed
+1076 -510

No files matched your search

+4 -2
View File
@@ -2,7 +2,7 @@ import { useState } from "react";
import Alert from "react-bootstrap/Alert";
import { LoadingPage } from "src/components";
import { useAuditLogs } from "src/hooks";
import { intl } from "src/locale";
import { T } from "src/locale";
import { EventDetailsModal } from "src/modals";
import Table from "./Table";
@@ -25,7 +25,9 @@ export default function TableWrapper() {
<div className="card-header">
<div className="row w-full">
<div className="col">
<h2 className="mt-1 mb-0">{intl.formatMessage({ id: "auditlog.title" })}</h2>
<h2 className="mt-1 mb-0">
<T id="auditlog.title" />
</h2>
</div>
</div>
</div>