fix: i18n (#71)

* fix: block_identifier text

* fix: i18n

* chore: auto-fix linting and formatting issues

* fix: block button

* fix: ConfirmBlock text

* fix: i18n

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
This commit is contained in:
仓鼠
2024-12-23 00:38:40 +08:00
committed by GitHub
co-authored by hamster1963
parent 7fdac38291
commit f694c97704
8 changed files with 172 additions and 16 deletions
+5 -5
View File
@@ -96,11 +96,11 @@ export default function WAFPage() {
cell: ({ row }) => <span>{wafBlockReasons[row.original.block_reason] || ""}</span>,
},
{
header: t("LastBlockIdentifier"),
accessorKey: "lastBlockIdentifier",
accessorFn: (row) => (
<span>{wafBlockIdentifiers[row.block_identifier] || row.block_identifier}</span>
),
header: t("BlockIdentifier"),
accessorKey: "BlockIdentifier",
accessorFn: (row) => {
return wafBlockIdentifiers[row.block_identifier] || row.block_identifier
},
},
{
header: t("LastBlockTime"),