-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Feat(wren-ui): add Azerbaijani (AZ_AZ) language support #2021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit adds Azerbaijani (AZ_AZ) language support across the wren-ui project. Changes include: - Added AZ_AZ = 'AZ_AZ' to ProjectLanguage enum in __types__.ts - Added AZ_AZ = 'Azerbaijani' to WrenAILanguage enum in adaptor.ts - Added AZ_AZ to GraphQL ProjectLanguage enum in schema.ts - Mapped ProjectLanguage.AZ_AZ to 'Azerbaijani' in getLanguageText (language.ts)
|
Caution Review failedThe pull request is closed. Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughAdds Azerbaijani (AZ_AZ) to language enums and the UI language lookup: updates client/server ProjectLanguage, server WrenAILanguage, and getLanguageText mapping. No control-flow or behavior changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for the Azerbaijani language across the Wren UI application.
- Adds
AZ_AZas a new language option in theProjectLanguageenum - Updates the language mapping utilities to include Azerbaijani
- Ensures consistency across GraphQL schema, type definitions, and adaptor models
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| wren-ui/src/utils/language.ts | Adds Azerbaijani language text mapping to the getLanguageText function |
| wren-ui/src/apollo/server/schema.ts | Adds AZ_AZ to the GraphQL ProjectLanguage enum |
| wren-ui/src/apollo/server/models/adaptor.ts | Adds Azerbaijani to the WrenAILanguage enum without trailing comma |
| wren-ui/src/apollo/client/graphql/types.ts | Adds AZ_AZ to the client-side ProjectLanguage enum (auto-generated) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fredalai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit adds Azerbaijani (AZ_AZ) language support across the wren-ui project.
Changes include:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.