Skip to content

feat: add Filipino (fil_PH) locale support#967

Merged
afc163 merged 2 commits into
react-component:masterfrom
jinrong-ncu:master
May 14, 2026
Merged

feat: add Filipino (fil_PH) locale support#967
afc163 merged 2 commits into
react-component:masterfrom
jinrong-ncu:master

Conversation

@jinrong-ncu
Copy link
Copy Markdown
Contributor

@jinrong-ncu jinrong-ncu commented May 14, 2026

Summary by CodeRabbit

发布说明

  • 新功能
    • 添加了菲律宾语(菲律宾)语言支持,包括日期/时间选择器标签和导航术语的本地化翻译。

Review Change Stack

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

Someone is attempting to deploy a commit to the React Component Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2026

Warning

Rate limit exceeded

@jinrong-ncu has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 55 minutes and 44 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e0655294-5d8b-4af3-846b-54332e9c9fb3

📥 Commits

Reviewing files that changed from the base of the PR and between ac7f907 and c0fd68c.

📒 Files selected for processing (1)
  • src/locale/fil_PH.ts

总体描述

本 PR 为 react-component/picker 添加了新的 Filipino (Philippines) 区域设置模块,包含日期/时间选择器的本地化标签和导航文本。

变更内容

Filipino (Philippines) 区域设置

层级 / 文件 摘要
Filipino 区域设置模块
src/locale/fil_PH.ts
新增 fil_PH 区域设置,扩展 commonLocale 并提供菲律宾地区的日期/时间选择器本地化翻译(今天/现在、清除/确认、周/月/年、选择提示、上/下月/年/十年/世纪等)。

关联 PR

  • react-component/picker#943:同样通过在 src/locale/*_*.ts 中扩展 commonLocale 并覆盖相同的日期/时间选择器标签键来添加新的区域设置模块。

评估

🎯 1 (简单) | ⏱️ ~3 分钟

诗歌

🐰 菲律宾的日期来了,
翻译准确又周全,
fil_PH 模块见分晓,
本地化之路更宽阔,
兔子欢呼庆新添!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR标题准确反映了主要变更——添加菲律宾语(fil_PH)语言包支持,标题简洁清晰,与代码更改完全相符。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the Filipino (Philippines) locale configuration, providing translations for common date and time UI elements. The review feedback suggests improving the consistency of keyboard shortcut labels by capitalizing 'Left' and 'Right' and recommends adding 'shortWeekDays' and 'shortMonths' to ensure comprehensive localization support.

Comment thread src/locale/fil_PH.ts Outdated
Comment thread src/locale/fil_PH.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.81%. Comparing base (30c896c) to head (c0fd68c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #967   +/-   ##
=======================================
  Coverage   98.81%   98.81%           
=======================================
  Files          65       65           
  Lines        2695     2695           
  Branches      744      749    +5     
=======================================
  Hits         2663     2663           
  Misses         29       29           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@afc163 afc163 merged commit f3cc765 into react-component:master May 14, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants