mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
fredy goes multilingual 🇩🇪 🇺🇸
This commit is contained in:
@@ -5,15 +5,17 @@
|
||||
|
||||
import { Empty, Table, Button } from '@douyinfe/semi-ui-19';
|
||||
import { IconDelete, IconEdit } from '@douyinfe/semi-icons';
|
||||
import { useTranslation } from '../../services/i18n/i18n.jsx';
|
||||
|
||||
export default function NotificationAdapterTable({ notificationAdapter = [], onRemove, onEdit } = {}) {
|
||||
const t = useTranslation();
|
||||
return (
|
||||
<Table
|
||||
pagination={false}
|
||||
empty={<Empty description="No notification adapters found." />}
|
||||
empty={<Empty description={t('notification.tableEmptyState')} />}
|
||||
columns={[
|
||||
{
|
||||
title: 'Name',
|
||||
title: t('notification.tableColumnName'),
|
||||
dataIndex: 'name',
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user