mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 13:24:52 +00:00
[i18n] 'delete repo dialog': updated the text
This commit is contained in:
@@ -52,9 +52,9 @@ class DeleteRepoDialog extends Component {
|
|||||||
let message = gettext('Are you sure you want to delete %s ?');
|
let message = gettext('Are you sure you want to delete %s ?');
|
||||||
message = message.replace('%s', repoName);
|
message = message.replace('%s', repoName);
|
||||||
|
|
||||||
let alert_message = gettext('This library has been shared to {user_placeholder} users and {group_placeholder} groups.');
|
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_placeholder}', this.state.sharedToUserCount);
|
alert_message = alert_message.replace('{user_amount}', this.state.sharedToUserCount);
|
||||||
alert_message = alert_message.replace('{group_placeholder}', this.state.sharedToGroupCount);
|
alert_message = alert_message.replace('{group_amount}', this.state.sharedToGroupCount);
|
||||||
|
|
||||||
const { toggle: toggleDialog } = this.props;
|
const { toggle: toggleDialog } = this.props;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user