Update translation template and fix incorrect use of ts()
This commit is contained in:
parent
2834f8028d
commit
fa301676e3
5 changed files with 862 additions and 274 deletions
|
@ -546,7 +546,7 @@ class CRM_Twingle_Submission {
|
|||
if (!empty($line_item['is_error'])) {
|
||||
$line_item_name = $line_item_data['name'];
|
||||
throw new CiviCRM_API3_Exception(
|
||||
E::ts("Could not create line item for product '$line_item_name'"),
|
||||
E::ts("Could not create line item for product '%1'", [1 => $line_item_name]),
|
||||
'api_error'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue