Fix message translation
This commit is contained in:
parent
a37e65be52
commit
5203f82b80
|
@ -159,9 +159,7 @@ class LdapBackendForm extends BaseBackendForm
|
|||
);
|
||||
$testConn->assertAuthenticationPossible();
|
||||
} catch (Exception $exc) {
|
||||
$this->addErrorMessage(
|
||||
t('Connection Validation Failed: ' . $exc->getMessage())
|
||||
);
|
||||
$this->addErrorMessage(sprintf(t('Connection validation failed: %s'), $exc->getMessage()));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue