-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add i18n Support for Chat Components (#1729)
* Add translation path in NewChat.tsx * Update newChatDialog strings in en-US.json * Add translation path in ThreadList.tsx * Update ThreadList strings in en-US.json * Add translation path in AskFileButton.tsx * Update askFIleButton strings in en-US.json * Update time group labels in ThreadList.tsx * feat: add Translator import in AskFileButton.tsx Add missing import: import { Translator } from '@components/i18n'; * add Translator import in NewChat.tsx * add missing comma in en-US.json * Revert placeholder text in ThreadList.tsx * Fix props passing to Translator component * Fix props passing to Translator component on askFileButton * simplify translation in AskFileButton * simplify translation in AskFileButton * fix: update thread deletion test selector spec.cy.ts Use role and button.bg-primary to find confirm button in alert dialog - More reliable way to select buttons in open dialog - Works with translated strings
- Loading branch information
Showing
5 changed files
with
75 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters