Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Multi-Language Descriptions for 'Switch' Component and Update Mes…
…sage Assistant Placeholder (infiniflow#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):
- Loading branch information