1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

repair uploader translate bug (#2808)

This commit is contained in:
杨顺强
2019-01-10 16:35:44 +08:00
committed by Daniel Pan
parent 598a76904e
commit 61d1518fcd

View File

@@ -46,7 +46,7 @@ class UploadListItem extends React.Component {
</td>
<td className="upload-operation">
{(!item.isSaved && progress !== 100) && (
<a href="#" onClick={this.onUploadCancel}>{gettext(('cancel'))}</a>
<a href="#" onClick={this.onUploadCancel}>{gettext('cancel')}</a>
)}
{(!item.isSaved && progress === 100) && (
<span className="sf-font">{gettext('saving...')}</span>