Skip to content
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

Upload组件国际化的问题 #4697

Closed
xuqiang1227 opened this issue Jan 24, 2017 · 2 comments
Closed

Upload组件国际化的问题 #4697

xuqiang1227 opened this issue Jan 24, 2017 · 2 comments
Assignees
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.

Comments

@xuqiang1227
Copy link

我们在使用Upload组件时,有几个地方无法实现国际化处理。
在upload组件的源码中:
components/upload/uploadList.tsx
74行:icon = <div className={${prefixCls}-list-item-uploading-text}>文件上传中; (上传文件)
137行:<Icon type="delete" title="Remove file" onClick={() => this.handleClose(file)} />(Remove file)
140行: <Icon type="cross" title="Remove file" onClick={() => this.handleClose(file)} />(Remove file)

这几个地方请支持国际化实现。谢谢!

@afc163 afc163 closed this as completed in f4021d5 Jan 24, 2017
@afc163 afc163 reopened this Jan 24, 2017
@afc163
Copy link
Member

afc163 commented Jan 24, 2017

先改成英文。后续可以支持默认文案配置,类似 Table 和 DatePicker。着急的话,欢迎 PR ~

@afc163 afc163 added Enhancement help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. labels Jan 24, 2017
@afc163 afc163 closed this as completed Mar 1, 2017
@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.
Projects
None yet
Development

No branches or pull requests

3 participants