feat: add Tagalog (tl_PH) locale for picker#969
Conversation
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Add Filipino (Tagalog) translation for picker components. Use tl_PH instead of fil_PH to align with the ecosystem standards, ensuring compatibility with dayjs (tl-ph) and antd integration.
|
Someone is attempting to deploy a commit to the React Component Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
概览新增 变更塔加禄语本地化文件
相关的 PR
代码审查工作量🎯 1 (平凡) | ⏱️ ~3 分钟 诗文
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Code Review
This pull request introduces a new Tagalog (Philippines) locale file (tl_PH.ts) for the date picker components. Feedback was provided to include shortWeekDays and shortMonths in the locale definition to ensure full localization and prevent a mix of English and Tagalog in the user interface.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #969 +/- ##
=======================================
Coverage 98.81% 98.81%
=======================================
Files 65 65
Lines 2695 2695
Branches 744 724 -20
=======================================
Hits 2663 2663
Misses 29 29
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/locale/tl_PH.ts`:
- Around line 1-43: The file is missing imports for the Locale type and
commonLocale and does not export the locale constant; add an import for Locale
and commonLocale (matching how other locale files import them) at the top of the
file and add an export for the locale constant at the bottom so that the Locale
type, commonLocale, and the locale object are properly referenced and exported
(ensure you reference the existing symbols Locale, commonLocale, and locale).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: c0b221c6-34b3-4e2d-b20f-3c96433a50a6
📒 Files selected for processing (1)
src/locale/tl_PH.ts
Summary by CodeRabbit
发布说明
新功能