do not translate log messages
This commit is contained in:
parent
681aed959e
commit
6cac4882b5
3 changed files with 15 additions and 19 deletions
|
@ -79,9 +79,8 @@ class CRM_TwingleCampaign_BAO_OptionValue {
|
|||
}
|
||||
// If the option value could not get created: log error
|
||||
else {
|
||||
CRM_Utils_System::setUFMessage(ts("Creation of custom value '%1'
|
||||
failed. Find more information in the logs.",
|
||||
$this->name));
|
||||
CRM_Utils_System::setUFMessage("Creation of custom value '$this->name)'
|
||||
failed. Find more information in the logs.");
|
||||
if ($this->label && $this->option_group_id) {
|
||||
Civi::log()
|
||||
->error("$this->extensionName could not create new option value
|
||||
|
@ -97,10 +96,10 @@ class CRM_TwingleCampaign_BAO_OptionValue {
|
|||
}
|
||||
}
|
||||
else {
|
||||
CRM_Utils_System::setUFMessage(ts("Creation of custom value '%1'
|
||||
CRM_Utils_System::setUFMessage("Creation of custom value '$this->name'
|
||||
failed, because a custom value with that name already exists.
|
||||
Find more information in the logs.",
|
||||
$this->name));
|
||||
Find more information in the logs."
|
||||
);
|
||||
Civi::log()
|
||||
->error("$this->extensionName could not create new custom value
|
||||
\"$this->name\" for group \"$this->option_group_id\" because a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue