[Bug] 中文语言界面下,删除助手的选项按钮是英文
💻 系统环境
Windows
📦 部署环境
Official Preview
🌐 浏览器
Firefox
🐛 问题描述
如下图所示:
我记得之前是中文显示的。
🚦 期望结果
No response
📷 复现步骤
No response
📝 补充信息
No response
👀 @Godoword
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
这不是很正常吗
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Isn't this normal?
应该是语言切换的问题,我研究下为啥
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should be a language switching problem. I'll look into why.
这不是很正常吗
之前版本呈现的是中文“确认”和“取消”,虽然不影响什么,但是我的强迫症犯了(
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Sorry I didn’t notice it before😥
这不是很正常吗
之前版本呈现的是中文“确认”和“取消”,虽然不影响什么,但是我的强迫症犯了(
sorry 我之前没留意到😥
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Isn't this normal?

The previous version presented "confirm" and "cancel" in Chinese. Although it didn't affect anything, it made me suffer from obsessive-compulsive disorder (
Sorry I didn’t notice it before😥
@arvinxx 应该是静态方法丢失上下文导致的。modal.confirm 方法封装后手动指定 okText cancelText 或许可以。 https://ant.design/docs/blog/why-not-static-cn
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
@arvinxx It should be caused by the static method losing context. It may be possible to manually specify okText cancelText after encapsulating the modal.confirm method. https://ant.design/docs/blog/why-not-static-cn
✅ @Godoword
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
:tada: This issue has been resolved in version 0.145.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
