mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
optimize translate code (#4465)
This commit is contained in:
@@ -15,8 +15,8 @@ class CopyMoveDirentProgressDialog extends React.Component {
|
||||
render() {
|
||||
|
||||
let { type , asyncOperationProgress, asyncOperatedFilesLength } = this.props;
|
||||
let title = type === 'move' ? gettext('Move {files_length} items') : gettext('Copy {files_length} items');
|
||||
title = title.replace('{files_length}', asyncOperatedFilesLength);
|
||||
let title = type === 'move' ? gettext('Move {num} items') : gettext('Copy {num} items');
|
||||
title = title.replace('{num}', asyncOperatedFilesLength);
|
||||
let progressStyle = {
|
||||
width: asyncOperationProgress + '%',
|
||||
lineHeight: '40px',
|
||||
|
Reference in New Issue
Block a user