1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

[misc] updated text, fixup, cleaned up code & files for 'list sdoc revisions'

This commit is contained in:
llj
2023-08-25 18:04:38 +08:00
parent 6586660701
commit 1b53fe6265
11 changed files with 6 additions and 154 deletions

View File

@@ -157,7 +157,7 @@ class LinkCreation extends React.Component {
return false;
}
if (parseInt(linkAmount) > SHARE_LINK_MAX_NUMBER) {
this.setState({errorInfo: gettext('Please enter an integer smaller than 200 as number of links.')});
this.setState({errorInfo: gettext('Please enter an integer not bigger than {max_number} as number of links.').replace('{max_number}', SHARE_LINK_MAX_NUMBER)});
return false;
}
}