@samitouri / QOSami-HFS / commits / 78268732

fix: "password change" was not translated

Massimo Melina committed May 6, 2023 at 23:39 UTC 78268732ba443db82c306c3f250bbb59972168ea
1 file changed +1 -1
frontend/src/UserPanel.ts
+1 -1
@@ -39,7 +39,7 @@ export default function showUserPanel() {
39 throw e
40 return apiCall('change_password', { newPassword: pwd }) // unencrypted version
41 })
42 - return alertDialog(t`Password changed`)
42 + return alertDialog(t('password_changed', "Password changed"))
43 }
44 catch(e) {
45 return alertDialog(e as Error)