- Added internationalization (i18n) support across various components, enabling dynamic language switching and improved user experience. - Updated multiple components to utilize translation functions for labels, buttons, and messages, ensuring consistent language display. - Enhanced the user interface by refining text elements in the ChannelsTable, LogsTable, and various settings pages, improving clarity and accessibility. - Adjusted CSS styles for better responsiveness and layout consistency across different screen sizes.
23 lines
496 B
JavaScript
23 lines
496 B
JavaScript
import React from 'react';
|
|
import RedemptionsTable from '../../components/RedemptionsTable';
|
|
import { Layout } from '@douyinfe/semi-ui';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
const Redemption = () => {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<>
|
|
<Layout>
|
|
<Layout.Header>
|
|
<h3>{t('管理兑换码')}</h3>
|
|
</Layout.Header>
|
|
<Layout.Content>
|
|
<RedemptionsTable />
|
|
</Layout.Content>
|
|
</Layout>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default Redemption;
|