Fix message translation

This commit is contained in:
Johannes Meyer 2014-08-11 10:44:21 +02:00
parent a37e65be52
commit 5203f82b80
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}