-
Notifications
You must be signed in to change notification settings - Fork 17
fix: localization #166
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
base: master
Are you sure you want to change the base?
fix: localization #166
Conversation
🤖 AI Code Analysis Results📝 Manual Coding⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 0% 0 of 1,038 characters (0%) in newly added lines are AI-generated 📊 Analysis Summary
📋 Per-File Breakdown (New Lines Only)
📝 This PR contains traditional hand-written code. 📊 Raw Data (for dashboard){
"timestamp": "2025-11-03T08:06:33.691Z",
"repository": "deriv-com/derivatives-bot",
"branch": "unknown",
"author": "unknown",
"summary": {
"totalCharacters": 1038,
"aiCharacters": 0,
"percentage": 0
},
"files": [
{
"name": "src/utils/market-category-translator.ts",
"totalCharacters": 1038,
"aiCharacters": 0,
"percentage": 0,
"status": "modified",
"hasAddedContent": true,
"addedContent": "/**\n * Market categories that should NOT be translated and remain in English\n */\nconst KEEP_IN_ENGLISH_CATEGORIES = [\n 'Derived',\n 'Baskets',\n 'Synthetics',\n 'Forex',\n // Derived subcategories\n 'Continuous Indices',\n 'Crash/Boom',\n 'Jump Indices',\n 'Daily Reset Indices',\n 'Step Indices',\n // Forex subcategories\n 'Major Pairs',\n 'Minor Pairs',\n 'Exotic Pairs',\n 'Forex Basket',\n // Additional derived categories\n 'Volatility Indices',\n 'Basket I..."
}
]
}🚀 Analysis powered by ShiftAI • Analyzes only PR changes, not entire files |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
|
Claude finished @rupato-deriv's task —— View job Code Review Complete ✅Tasks
SummaryThis PR refactors the localization logic for market categories by moving items that should not be translated (like "Derived", "Forex", trade types, etc.) from the translation dictionary into a separate Priority Items🔴 HIGH PRIORITY
🟡 MEDIUM PRIORITY
🟢 LOW PRIORITY
Detailed Analysis✅ What's Good
|
Deploying derivatives-bot with
|
| Latest commit: |
d23b479
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://aefaf622.derivatives-bot.pages.dev |
| Branch Preview URL: | https://rupato-fix--localization-mar.derivatives-bot.pages.dev |
🤖 Auto-generated PR
This PR was automatically created by ShiftAI CLI.
fix: localization