Commit 375e23d 1 parent 5ec7f6d commit 375e23d Copy full SHA for 375e23d
File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,25 +26,25 @@ async function submitNewPassword() {
26
26
27
27
if (currentPassword === null || currentPassword === " " ) {
28
28
showAlert = true ;
29
- alertMessage = i18n .tr .settings .passwordEmpty ;
29
+ alertMessage = i18n .tr .settings .passwordEmptyError ;
30
30
return ;
31
31
}
32
32
33
33
if (newPassword === null || newPassword === " " ) {
34
34
showAlert = true ;
35
- alertMessage = i18n .tr .settings .passwordEmpty ;
35
+ alertMessage = i18n .tr .settings .passwordEmptyError ;
36
36
return ;
37
37
}
38
38
39
39
if (newPassword !== newPasswordRepeat ) {
40
40
showAlert = true ;
41
- alertMessage = i18n .tr .settings .passwordsDontMatch ;
41
+ alertMessage = i18n .tr .settings .passwordsDontMatchError ;
42
42
return ;
43
43
}
44
44
45
45
if (newPassword === currentPassword ) {
46
46
showAlert = true ;
47
- alertMessage = i18n .tr .settings .passwordsTheSame ;
47
+ alertMessage = i18n .tr .settings .passwordsTheSameError ;
48
48
return ;
49
49
}
50
50
Original file line number Diff line number Diff line change @@ -206,9 +206,9 @@ export const translationIds = {
206
206
newPasswordConfirm : "Neues Passwort bestätigen" ,
207
207
confirmChange : "Änderungen bestätigen" ,
208
208
confirmPasswordChangeSuccess : "Änderung des Passworts erfolgreich" ,
209
- passwordEmpty : "Das Passwort darf nicht leer sein" ,
210
- passwordsDontMatch : "Passwörter stimmen nicht überein" ,
211
- passwordsTheSame : "Das neue Passwort darf nicht dem alten entsprechen" ,
209
+ passwordEmptyError : "Das Passwort darf nicht leer sein" ,
210
+ passwordsDontMatchError : "Passwörter stimmen nicht überein" ,
211
+ passwordsTheSameError : "Das neue Passwort darf nicht dem alten entsprechen" ,
212
212
closeWindow : "Fenster schließen" ,
213
213
sendError : "Beim Senden der Daten ist ein Fehler aufgetreten" ,
214
214
defaultAlertMessage : "Ein Fehler ist aufgetreten" ,
You can’t perform that action at this time.
0 commit comments