ant-design / ant-design/pro-components

🐛[BUG] ProFormCaptcha组件 i18n缺陷

Open
#8,899 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述

![image](https://github.com/user-attachments/assets/6d88363d-22ac-4b93-ba6f-74a7b13cdce7)
ProFormCaptcha 在修改i18n为en-US 获取验证码按钮没有i18n翻译

### 🏞 期望结果
预期需要获取验证码按钮翻译i18n

### © 版本信息

- ProComponents 版本: ^2.4.0
- umi 版本 @umijs/max ^4.2.13
- 浏览器环境 Chrome 131.0.6778.86 正式版本
- 开发环境 Sonoma 14.5

Contributor guide

Open the contributing guide

Research direction

Locate the ProFormCaptcha component and its internationalization configuration, then reproduce the issue with the locale set to en-US. Compare the translation key used by the 获取验证码 button with the available en-US messages. Done means the button displays its English translation while other locales continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.