Add missing gettext to sao forgotten password button

Otherwise the text can not be traanslated
This commit is contained in:
Sergi Almacellas Abellana
2024-04-18 17:54:52 +02:00
parent c80310c2dc
commit ea01ba7d47
+2 -1
View File
@@ -547,7 +547,8 @@
'type': 'button',
'title': Sao.i18n.gettext(
"Send you an email to reset your password."),
}).text("Reset forgotten password").click(() => {
}).text(Sao.i18n.gettext(
"Reset forgotten password")).click(() => {
session.do_reset_password().then(() => {
return Sao.common.message.run(Sao.i18n.gettext(
"A request to reset your password has been sent.\n" +