Browse Source

fix(dashboard): Localize data table row selection text

Relates to #4004
Housein Abo Shaar 1 week ago
parent
commit
7d14fc889d

+ 3 - 1
packages/dashboard/src/lib/components/data-table/data-table-pagination.tsx

@@ -14,7 +14,9 @@ export function DataTablePagination<TData>({ table }: DataTablePaginationProps<T
     return (
     return (
         <div className="flex items-center justify-between px-2">
         <div className="flex items-center justify-between px-2">
             <div className="flex-1 text-sm text-muted-foreground">
             <div className="flex-1 text-sm text-muted-foreground">
-                {selectedRowCount} of {table.getFilteredRowModel().rows.length} row(s) selected.
+                <Trans>
+                    {selectedRowCount} of {table.getFilteredRowModel().rows.length} row(s) selected.
+                </Trans>
             </div>
             </div>
             <div className="flex items-center space-x-6 lg:space-x-8">
             <div className="flex items-center space-x-6 lg:space-x-8">
                 <div className="flex items-center space-x-2">
                 <div className="flex items-center space-x-2">