mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
LSformElement::password: fix confirmChangeQuestion translation
This commit is contained in:
parent
f66b7186e8
commit
e44be00ebd
1 changed files with 3 additions and 1 deletions
|
@ -168,7 +168,9 @@ class LSformElement_password extends LSformElement {
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($params['confirmChange']) {
|
if ($params['confirmChange']) {
|
||||||
$params['confirmChangeQuestion'] = getFData(__($this -> getParam('html_options.confirmChangeQuestion', '%{label}: Do you confirm the password change?')), $this -> label);
|
$defaultConfirmChangeQuestion = ___('%{label}: Do you confirm the password change?');
|
||||||
|
$params['confirmChangeQuestion'] = getFData(__($this -> getParam('html_options.confirmChangeQuestion', $defaultConfirmChangeQuestion)), $this -> label);
|
||||||
|
}
|
||||||
|
|
||||||
if ($params['confirmInput']) {
|
if ($params['confirmInput']) {
|
||||||
$defaultConfirmInputError = ___('Passwords entered did not match.');
|
$defaultConfirmInputError = ___('Passwords entered did not match.');
|
||||||
|
|
Loading…
Reference in a new issue