Fix: Update the pagination prompt text in zh.ts, changing "page" to "item/page" #3221 (#9978)

### 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:
chanx
2025-09-08 17:14:23 +08:00
committed by GitHub
parent f514482c0a
commit e8018fde83
3 changed files with 3 additions and 7 deletions

View File

@ -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(),
}));
}, []);

View File

@ -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',
},
},
};

View File

@ -1498,7 +1498,7 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
},
pagination: {
total: '总共 {{total}} 条',
page: '页',
page: '{{page}}条/页',
},
},
};