diff --git a/frontend/src/components/dialog/confirm-apply-folder-properties-dialog.js b/frontend/src/components/dialog/confirm-apply-folder-properties-dialog.js index 48f4a931411..71a5ff0852e 100644 --- a/frontend/src/components/dialog/confirm-apply-folder-properties-dialog.js +++ b/frontend/src/components/dialog/confirm-apply-folder-properties-dialog.js @@ -28,7 +28,7 @@ class ConfirmApplyFolderPropertiesDialog extends React.Component { const { repoID, path } = this.props; this.setState({ submitting: true }); seafileAPI.applyFolderExtendedProperties(repoID, path).then(() => { - toaster.success('Applied folder properties'); + toaster.success(gettext('Successfully applied the properties.')); this.props.toggle(); }).catch(error => { let errorMsg = Utils.getErrorMsg(error); @@ -47,7 +47,7 @@ class ConfirmApplyFolderPropertiesDialog extends React.Component {

- {gettext('Are you sure to apply properties to all files inside the folder?')} + {gettext('Are you sure you want to apply the properties to all the files inside the folder?')}

diff --git a/frontend/src/pages/lib-content-view/lib-content-view.js b/frontend/src/pages/lib-content-view/lib-content-view.js index f9616757942..eadf9a4b231 100644 --- a/frontend/src/pages/lib-content-view/lib-content-view.js +++ b/frontend/src/pages/lib-content-view/lib-content-view.js @@ -1254,7 +1254,7 @@ class LibContentView extends React.Component { this.addDirent(newFileName, 'file', res.data.size); this.setState({isConvertLoading: false}); - let message = gettext('Successfully converted file.'); + let message = gettext('Successfully converted the file.'); toaster.success(message); }).catch((error) => { @@ -1262,7 +1262,7 @@ class LibContentView extends React.Component { this.setState({isConvertLoading: false}); if (errMessage === gettext('Error')) { let name = Utils.getFileName(path); - errMessage = gettext('Convert {name} failed').replace('{name}', name); + errMessage = gettext('Failed to convert {name}.').replace('{name}', name); } toaster.danger(errMessage); });