do not translate log messages
This commit is contained in:
parent
681aed959e
commit
6cac4882b5
3 changed files with 15 additions and 19 deletions
|
@ -74,15 +74,14 @@ class CRM_TwingleCampaign_BAO_CustomGroup {
|
|||
Civi::log()->error("$this->extensionName could not create new custom group
|
||||
for \"$this->name\": $this->results['error_message']"
|
||||
);
|
||||
CRM_Utils_System::setUFMessage(ts("Creation of custom group '%1'
|
||||
failed. Find more information in the logs.",
|
||||
$this->name));
|
||||
CRM_Utils_System::setUFMessage("Creation of custom group '$this->name'
|
||||
failed. Find more information in the logs.");
|
||||
}
|
||||
else {
|
||||
Civi::log()->error("$this->extensionName could not create new
|
||||
custom group: $this->results['error_message']");
|
||||
CRM_Utils_System::setUFMessage(ts("Creation of custom group
|
||||
failed. Find more information in the logs."));
|
||||
CRM_Utils_System::setUFMessage("Creation of custom group
|
||||
failed. Find more information in the logs.");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue