Skip to content

Commit

Permalink
Error message localized using 't' function.
Browse files Browse the repository at this point in the history
Co-authored-by: Dezső BICZÓ <[email protected]>
  • Loading branch information
shishir-intelli and mxr576 authored Oct 3, 2023
1 parent 8cfd894 commit 2a8d47f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function validateApigeexTeamEnabled(RequestEvent $event) {
$organization = $this->orgController->load($this->connector->getOrganization());
if ($organization && $this->orgController->isOrganizationApigeeX()) {
if ($organization->getAddonsConfig() || TRUE === $organization->getAddonsConfig()->getMonetizationConfig()->getEnabled()) {
$this->messenger->addError('The Teams module functionality is not available for monetization enabled org on Apigee X / Hybrid and should be uninstalled.');
$this->messenger->addError($this->t('The Teams module functionality is not available for monetization enabled org on Apigee X / Hybrid and should be uninstalled.'));
}
}
}
Expand Down

0 comments on commit 2a8d47f

Please sign in to comment.