mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Fix: Update the pagination prompt text in zh.ts, changing "page" to "item/page" ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -33,11 +33,7 @@ export function RAGFlowPagination({
|
||||
|
||||
const sizeChangerOptions: RAGFlowSelectOptionType[] = useMemo(() => {
|
||||
return [10, 20, 50, 100].map((x) => ({
|
||||
label: (
|
||||
<span>
|
||||
{x} / {t('pagination.page')}
|
||||
</span>
|
||||
),
|
||||
label: <span>{t('pagination.page', { page: x })}</span>,
|
||||
value: x.toString(),
|
||||
}));
|
||||
}, []);
|
||||
|
||||
@ -1586,7 +1586,7 @@ This delimiter is used to split the input text into several text pieces echo of
|
||||
},
|
||||
pagination: {
|
||||
total: 'Total {{total}}',
|
||||
page: 'Page',
|
||||
page: '{{page}} /Page',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -1498,7 +1498,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
},
|
||||
pagination: {
|
||||
total: '总共 {{total}} 条',
|
||||
page: '页',
|
||||
page: '{{page}}条/页',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user