Merge pull request #15413 from hrwX/update_notification_msg
chore: update msg_print messages
This commit is contained in:
commit
6ba68ea5a3
1 changed files with 6 additions and 6 deletions
|
|
@ -69,15 +69,15 @@ frappe.ready(function() {
|
|||
const confirm_password = $('#confirm_password').val()
|
||||
if (!args.old_password && !args.key) {
|
||||
frappe.msgprint({
|
||||
title: "{{ _('Message') }}",
|
||||
message: "{{ _('Old Password Required.') }}",
|
||||
title: "{{ _('Missing Value') }}",
|
||||
message: "{{ _('Please enter your old password.') }}",
|
||||
clear: true
|
||||
});
|
||||
}
|
||||
if (!args.new_password) {
|
||||
frappe.msgprint({
|
||||
title: "{{ _('Message') }}",
|
||||
message: "{{ _('New Password Required.') }}",
|
||||
title: "{{ _('Missing Value') }}",
|
||||
message: "{{ _('Please enter your new password.') }}",
|
||||
clear: true
|
||||
});
|
||||
}
|
||||
|
|
@ -110,8 +110,8 @@ frappe.ready(function() {
|
|||
.html("{{ _('Status Updated') }}");
|
||||
if(r.message) {
|
||||
frappe.msgprint({
|
||||
title: "{{ _('Message') }}",
|
||||
message: "{{ _('Password Updated') }}",
|
||||
title: "{{ _('Password set') }}",
|
||||
message: "{{ _('Your new password has been set successfully.') }}",
|
||||
// password is updated successfully
|
||||
// clear any server message
|
||||
clear: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue