Add warning when set the password

This commit is contained in:
Julia Radzhabova 2021-02-02 13:28:35 +03:00
parent b2dbf6b3c8
commit 822d88b6d9
4 changed files with 8 additions and 3 deletions

View file

@ -54,8 +54,8 @@ define([
_options = {};
_.extend(_options, {
width : 350,
height : 238,
width : 370,
height : 270,
header : true,
cls : 'modal-dlg',
contentTemplate : '',
@ -77,6 +77,7 @@ define([
'<label>' + t.txtRepeat + '</label>',
'</div>',
'<div id="id-repeat-txt" class="input-row" style="margin-bottom: 10px;"></div>',
'<label>' + t.txtWarning + '</label>',
'</div>'
].join('');
@ -154,7 +155,8 @@ define([
txtPassword : "Password",
txtDescription : "A Password is required to open this document",
txtRepeat: 'Repeat password',
txtIncorrectPwd: 'Confirmation password is not identical'
txtIncorrectPwd: 'Confirmation password is not identical',
txtWarning: 'Warning: If you lose or forget the password, it cannot be recovered. Please keep it in a safe place.'
}, Common.Views.PasswordDialog || {}));
});

View file

@ -267,6 +267,7 @@
"Common.Views.PasswordDialog.txtPassword": "Password",
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
"Common.Views.PasswordDialog.txtTitle": "Set Password",
"Common.Views.PasswordDialog.txtWarning": "Warning: If you lose or forget the password, it cannot be recovered. Please keep it in a safe place.",
"Common.Views.PluginDlg.textLoading": "Loading",
"Common.Views.Plugins.groupCaption": "Plugins",
"Common.Views.Plugins.strPlugins": "Plugins",

View file

@ -169,6 +169,7 @@
"Common.Views.PasswordDialog.txtPassword": "Password",
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
"Common.Views.PasswordDialog.txtTitle": "Set Password",
"Common.Views.PasswordDialog.txtWarning": "Warning: If you lose or forget the password, it cannot be recovered. Please keep it in a safe place.",
"Common.Views.PluginDlg.textLoading": "Loading",
"Common.Views.Plugins.groupCaption": "Plugins",
"Common.Views.Plugins.strPlugins": "Plugins",

View file

@ -166,6 +166,7 @@
"Common.Views.PasswordDialog.txtPassword": "Password",
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
"Common.Views.PasswordDialog.txtTitle": "Set Password",
"Common.Views.PasswordDialog.txtWarning": "Warning: If you lose or forget the password, it cannot be recovered. Please keep it in a safe place.",
"Common.Views.PluginDlg.textLoading": "Loading",
"Common.Views.Plugins.groupCaption": "Plugins",
"Common.Views.Plugins.strPlugins": "Plugins",