1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 03:41:12 +00:00

repair translate error (#3911)

This commit is contained in:
杨顺强
2019-07-25 07:55:52 +08:00
committed by Daniel Pan
parent daf7741c64
commit eecc8968b5
7 changed files with 15 additions and 15 deletions

View File

@@ -119,7 +119,7 @@ class PublicSharedView extends React.Component {
}).catch(error => {
let errMessage = Utils.getErrorMsg(error);
if (errMessage === gettext('Error')) {
errMessage = gettext('Failed unshared {name}').replace('{name}', repo.repo_name);
errMessage = gettext('Failed to unshare {name}').replace('{name}', repo.repo_name);
}
toaster(errMessage);
});