-
-
Notifications
You must be signed in to change notification settings - Fork 333
feat: add telugu language support #931
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
""" Walkthrough本次更改新增了一个用于印度泰卢固语(te_IN)的本地化文件,提供了日期和时间选择器相关 UI 标签的泰卢固语翻译。该文件通过合并通用本地化设置和泰卢固语特定翻译,导出 locale 常量。 Changes
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
src/locale/te_IN.tsOops! Something went wrong! :( ESLint: 8.57.1 Error: Cannot read config file: /.eslintrc.js
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches
🧪 Generate 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/locale/te_IN.ts (1)
4-6
: 格式建议:添加空格以符合项目风格
const locale: Locale={
建议改为const locale: Locale = {
,同时各属性的冒号后面添加空格,以通过 Prettier/ESLint 校验并保持与其他 locale 文件一致。
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/locale/te_IN.ts
(1 hunks)
🔇 Additional comments (3)
src/locale/te_IN.ts (3)
1-2
: 导入声明检查
导入commonLocale
和Locale
类型都正确无误,符合项目规范。
7-29
: 校验翻译准确性
请由熟悉泰卢固语的同学或专业译者确认所有文案(例如clear: 'స్పష్టమైన'
等)在对应日期/时间选择器场景下是否语义准确。
32-33
: 导出默认 locale
export default locale;
正确导出,符合预期。
Co-authored-by: afc163 <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #931 +/- ##
=======================================
Coverage 98.80% 98.80%
=======================================
Files 65 65
Lines 2669 2669
Branches 737 737
=======================================
Hits 2637 2637
Misses 29 29
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Add support for telugu language.
Summary by CodeRabbit