Skip to content

Commit

Permalink
Merge pull request civicrm#29861 from demeritcowboy/email1
Browse files Browse the repository at this point in the history
Simplify a ts
  • Loading branch information
eileenmcnaughton authored Apr 1, 2024
2 parents 9e8aa03 + 7098f73 commit 0d8c732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Contact/Form/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ public function buildQuickForm(): void {
//Email box
$this->addField("email[1][email]", [
'entity' => 'email',
'aria-label' => ts('Email %1', [1 => 1]),
'label' => ts('Email %1', [1 => 1]),
'aria-label' => ts('Email 1'),
'label' => ts('Email 1'),
]);
$this->addRule("email[1][email]", ts('Email is not valid.'), 'email');
CRM_Contact_Form_Edit_Phone::buildQuickForm($this, 1);
Expand Down

0 comments on commit 0d8c732

Please sign in to comment.