ragflow/web
Michał Kiełtyka e41268efc6
Add Multi-Language Descriptions for 'Switch' Component and Update Message Assistant Placeholder (#2450)
### What problem does this PR solve?

_This PR addresses the need to describe the "Switch" component across
different languages and corrects a misleading description for a
placeholder message not exclusively tied to a specific assistant type.
By providing clearer and more accurate descriptions, this PR aims to
improve user understanding and usability of the Switch component and the
"Message Resume Assistant..." placeholder in a multilingual context._

### Explanation of Changes

1. **Added Descriptions for "Switch" Component**: 
- Descriptions were added for the "Switch" component in three different
locales:
- **English (EN)**: Provides a concise description of what the "Switch"
component does, focusing on its ability to evaluate conditions and
direct the flow of execution.
- **Simplified Chinese (ZH)**: Translated the English description into
Simplified Chinese to cater to users who prefer this locale.
- **Traditional Chinese (ZH-Traditional)**: Added a Traditional Chinese
version of the description to support users in regions that use
Traditional Chinese.
   
2. **Corrected "Message Resume Assistant..." to "Message the
Assistant..."**:
- Updated the description from "Message Resume Assistant..." to "Message
the Assistant..." in the English locale. This correction makes the
description more generic and accurate, reflecting the placeholder's
broader functionality, which is not limited to Resume Assistants. It now
clearly communicates that the placeholder can be used with various types
of assistants, not just those related to resumes.

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
2024-09-15 16:16:10 +08:00
..
.husky feat: format code before submitting it #1251 (#1252) 2024-06-24 14:48:21 +08:00
public feat: display chunk token number when category of knowledge as general and unavailable llm models appear disabled and if the backend returns 401, it will jump to the login page and fixed the issue where the greeting would disappear when clicking on a new dialog (#117) 2024-03-11 16:13:34 +08:00
src Add Multi-Language Descriptions for 'Switch' Component and Update Message Assistant Placeholder (#2450) 2024-09-15 16:16:10 +08:00
.env feat: Support for conversational streaming (#809) 2024-05-16 20:15:02 +08:00
.eslintrc.js feat: set chunk to available state and select all chunk (#57) 2024-02-06 18:45:20 +08:00
.gitignore Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
.npmrc Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
.prettierignore feat: install prettier to format code and add react-dev-inspector to locate code in the IDE faster (#44) 2024-01-29 15:02:27 +08:00
.prettierrc feat: install prettier to format code and add react-dev-inspector to locate code in the IDE faster (#44) 2024-01-29 15:02:27 +08:00
.umirc.ts feat: Supports text output and sound output #1877 (#2436) 2024-09-14 15:58:02 +08:00
externals.d.ts fix: cannot save the system model setting #468 (#508) 2024-04-23 17:46:56 +08:00
jest-setup.ts feat: test buildNodesAndEdgesFromDSLComponents (#940) 2024-05-27 19:35:14 +08:00
jest.config.ts feat: test buildNodesAndEdgesFromDSLComponents (#940) 2024-05-27 19:35:14 +08:00
package-lock.json feat: Catching errors with IndentedTree #2247 (#2380) 2024-09-12 13:34:33 +08:00
package.json feat: Catching errors with IndentedTree #2247 (#2380) 2024-09-12 13:34:33 +08:00
reducer.js Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
tsconfig.json Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
typings.d.ts fix: Delete the model.ts file of chat #1306 (#2129) 2024-08-28 11:56:35 +08:00