The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
fix(i18n): mark table headers for translation (#2174)
Konrada610a06372d7
diff --git a/apps/remix/app/components/tables/admin-dashboard-users-table.tsx b/apps/remix/app/components/tables/admin-dashboard-users-table.tsxindex c409f7d2c..b54b3484e 100644--- a/apps/remix/app/components/tables/admin-dashboard-users-table.tsx+++ b/apps/remix/app/components/tables/admin-dashboard-users-table.tsx@@ -51,7 +51,7 @@ export const AdminDashboardUsersTable = ({const columns = useMemo(() => {return [{- header: 'ID',+ header: _(msg`ID`),accessorKey: 'id',cell: ({ row }) => <div>{row.original.id}</div>,},diff --git a/apps/remix/app/components/tables/admin-document-recipient-item-table.tsx b/apps/remix/app/components/tables/admin-document-recipient-item-table.tsxindex 89a9366b1..ccd7926f2 100644--- a/apps/remix/app/components/tables/admin-document-recipient-item-table.tsx+++ b/apps/remix/app/components/tables/admin-document-recipient-item-table.tsx@@ -57,7 +57,7 @@ export const AdminDocumentRecipientItemTable = ({ recipient }: RecipientItemPropconst columns = useMemo(() => {return [{- header: 'ID',+ header: _(msg`ID`),accessorKey: 'id',cell: ({ row }) => <div>{row.original.id}</div>,},diff --git a/apps/remix/app/components/tables/document-logs-table.tsx b/apps/remix/app/components/tables/document-logs-table.tsxindex a042c6a44..38f45cbb9 100644--- a/apps/remix/app/components/tables/document-logs-table.tsx+++ b/apps/remix/app/components/tables/document-logs-table.tsx@@ -96,11 +96,11 @@ export const DocumentLogsTable = ({ documentId }: DocumentLogsTableProps) => {cell: ({ row }) => <span>{formatDocumentAuditLogAction(_, row.original).description}</span>,},{- header: 'IP Address',+ header: _(msg`IP Address`),accessorKey: 'ipAddress',},{- header: 'Browser',+ header: _(msg`Browser`),cell: ({ row }) => {if (!row.original.userAgent) {return 'N/A';diff --git a/apps/remix/app/components/tables/settings-security-activity-table.tsx b/apps/remix/app/components/tables/settings-security-activity-table.tsxindex 9001425c6..18bba7d62 100644--- a/apps/remix/app/components/tables/settings-security-activity-table.tsx+++ b/apps/remix/app/components/tables/settings-security-activity-table.tsx@@ -104,7 +104,7 @@ export const SettingsSecurityActivityTable = () => {},},{- header: 'IP Address',+ header: _(msg`IP Address`),accessorKey: 'ipAddress',cell: ({ row }) => row.original.ipAddress ?? 'N/A',},diff --git a/apps/remix/app/routes/_authenticated+/admin+/documents._index.tsx b/apps/remix/app/routes/_authenticated+/admin+/documents._index.tsxindex 0504fed76..d7bc18be8 100644--- a/apps/remix/app/routes/_authenticated+/admin+/documents._index.tsx+++ b/apps/remix/app/routes/_authenticated+/admin+/documents._index.tsx@@ -114,7 +114,7 @@ export default function AdminDocumentsPage() {},},{- header: 'Last updated',+ header: _(msg`Last updated`),accessorKey: 'updatedAt',cell: ({ row }) => i18n.date(row.original.updatedAt),},