Update Owliver language and suggestions
This commit is contained in:
@@ -9,6 +9,7 @@ import { LoadingOverlay } from '@/components/ds/LoadingState';
|
||||
import { Pagination } from '@/components/ds/Pagination';
|
||||
import { Checkbox } from '@/components/ui/checkbox';
|
||||
import { usePreferences } from '@/lib/krowHooks';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
/**
|
||||
* DataTable — the app's one table.
|
||||
@@ -62,6 +63,7 @@ export function DataTable({
|
||||
rowClassName,
|
||||
stickyHeader = false,
|
||||
}: DsProps) {
|
||||
const { t } = useTranslation();
|
||||
/* ── Sorting ─────────────────────────────────────────────────────────── */
|
||||
/* Row height follows the account's density preference. Only the vertical
|
||||
padding changes — same columns, same type, same behaviour. */
|
||||
@@ -205,7 +207,7 @@ export function DataTable({
|
||||
<Checkbox
|
||||
checked={allOnPageSelected ? true : someOnPageSelected ? 'indeterminate' : false}
|
||||
onCheckedChange={toggleAll}
|
||||
aria-label="Select all rows on this page"
|
||||
aria-label={t('dataTable.selectAllRowsOnThisPage')}
|
||||
/>
|
||||
</th>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user