Fix: Optimized the test results page layout and internationalization #3221 (#9974)

### What problem does this PR solve?

Fix: Optimized the test results page layout and internationalization

- Added an empty data component for when test results are empty
- Optimized internationalization support for the paging component
- Updated the layout and style of the test results page
- Added a tooltip for when test results are empty

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-09-08 12:49:12 +08:00
committed by GitHub
parent f48aed6d4a
commit cf18231713
10 changed files with 149 additions and 20 deletions

View File

@ -46,6 +46,7 @@ export default {
remove: 'Remove',
search: 'Search',
noDataFound: 'No data found.',
noData: 'No data',
promptPlaceholder: `Please input or use / to quickly insert variables.`,
mcp: {
namePlaceholder: 'My MCP Server',
@ -138,6 +139,10 @@ export default {
processBeginAt: 'Begin at',
processDuration: 'Duration',
progressMsg: 'Progress',
noTestResultsForRuned:
'No relevant results found. Try adjusting your query or parameters.',
noTestResultsForNotRuned:
'No test has been run yet. Results will appear here.',
testingDescription:
'Conduct a retrieval test to check if RAGFlow can recover the intended content for the LLM. If you have adjusted the default settings, such as keyword similarity weight or similarity threshold, to achieve the optimal results, be aware that these changes will not be automatically saved. You must apply them to your chat assistant settings or the Retrieval agent component settings.',
similarityThreshold: 'Similarity threshold',
@ -1579,5 +1584,9 @@ This delimiter is used to split the input text into several text pieces echo of
korean: 'Korean',
vietnamese: 'Vietnamese',
},
pagination: {
total: 'Total {{total}}',
page: 'Page',
},
},
};