1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

[i18n] 'delete repo dialog': updated the text

This commit is contained in:
llj
2022-02-11 11:34:56 +08:00
parent 2c88ec3354
commit a713c1fe72

View File

@@ -52,9 +52,9 @@ class DeleteRepoDialog extends Component {
let message = gettext('Are you sure you want to delete %s ?');
message = message.replace('%s', repoName);
let alert_message = gettext('This library has been shared to {user_placeholder} users and {group_placeholder} groups.');
alert_message = alert_message.replace('{user_placeholder}', this.state.sharedToUserCount);
alert_message = alert_message.replace('{group_placeholder}', this.state.sharedToGroupCount);
let alert_message = gettext('This library has been shared to {user_amount} user(s) and {group_amount} group(s).');
alert_message = alert_message.replace('{user_amount}', this.state.sharedToUserCount);
alert_message = alert_message.replace('{group_amount}', this.state.sharedToGroupCount);
const { toggle: toggleDialog } = this.props;