mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
[i18n] fixup
This commit is contained in:
@@ -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 {
|
||||
</ModalHeader>
|
||||
<ModalBody>
|
||||
<p>
|
||||
{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?')}
|
||||
</p>
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
|
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user