if (count($this->_contactIds) > 1) {
// more than one contact deleted
$message = ts('One of the selected contacts has an address record that is shared with 1 other contact.', [
if (count($this->_contactIds) > 1) {
// more than one contact deleted
$message = ts('One of the selected contacts has an address record that is shared with 1 other contact.', [
- 'plural' => 'One or more selected contacts have address records which are shared with %count other contacts.',
- 'count' => $sharedAddressCount,
- ]);
+ 'plural' => 'One or more selected contacts have address records which are shared with %count other contacts.',
+ 'count' => $sharedAddressCount,
+ ]);
}
else {
// only one contact deleted
$message = ts('This contact has an address record which is shared with 1 other contact.', [
}
else {
// only one contact deleted
$message = ts('This contact has an address record which is shared with 1 other contact.', [
- 'plural' => 'This contact has an address record which is shared with %count other contacts.',
- 'count' => $sharedAddressCount,
- ]);
+ 'plural' => 'This contact has an address record which is shared with %count other contacts.',
+ 'count' => $sharedAddressCount,
+ ]);
}
elseif ($this->_skipUndelete) {
$status = ts('%1 has been permanently deleted.', [
}
elseif ($this->_skipUndelete) {
$status = ts('%1 has been permanently deleted.', [