-
- if ($this->trimmed('iamsure') != _('I am sure.')) {
- $this->_error = _('You must write "I am sure." exactly in the box.');
+ // !!! If this string is changed, it also needs to be changed in DeleteAccountForm::formData()
+ // TRANS: Confirmation text for user deletion. The user has to type this exactly the same, including punctuation.
+ $iamsure = _('I am sure.');
+ if ($this->trimmed('iamsure') != $iamsure ) {
+ // TRANS: Notification for user about the text that must be input to be able to delete a user account.
+ // TRANS: %s is the text that needs to be input.
+ $this->_error = sprintf(_('You must write "%s" exactly in the box.'), $iamsure);