if (!empty($params['id'])) {
$newParams = [
- 'label' => "New $contact",
+ 'label' => ts("New %1", [1 => $contact]),
'is_active' => $active,
];
CRM_Core_BAO_Navigation::processUpdate(['name' => "New $contactName"], $newParams);
$value = ['name' => "New $name"];
CRM_Core_BAO_Navigation::retrieve($value, $navinfo);
$navigation = [
- 'label' => "New $contact",
+ 'label' => ts("New %1", [1 => $contact]),
'name' => "New $contactName",
'url' => "civicrm/contact/add?ct=$name&cst=$contactName&reset=1",
'permission' => 'add contacts',