Add warning when set the password
This commit is contained in:
parent
b2dbf6b3c8
commit
822d88b6d9
|
@ -54,8 +54,8 @@ define([
|
||||||
_options = {};
|
_options = {};
|
||||||
|
|
||||||
_.extend(_options, {
|
_.extend(_options, {
|
||||||
width : 350,
|
width : 370,
|
||||||
height : 238,
|
height : 270,
|
||||||
header : true,
|
header : true,
|
||||||
cls : 'modal-dlg',
|
cls : 'modal-dlg',
|
||||||
contentTemplate : '',
|
contentTemplate : '',
|
||||||
|
@ -77,6 +77,7 @@ define([
|
||||||
'<label>' + t.txtRepeat + '</label>',
|
'<label>' + t.txtRepeat + '</label>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div id="id-repeat-txt" class="input-row" style="margin-bottom: 10px;"></div>',
|
'<div id="id-repeat-txt" class="input-row" style="margin-bottom: 10px;"></div>',
|
||||||
|
'<label>' + t.txtWarning + '</label>',
|
||||||
'</div>'
|
'</div>'
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
|
@ -154,7 +155,8 @@ define([
|
||||||
txtPassword : "Password",
|
txtPassword : "Password",
|
||||||
txtDescription : "A Password is required to open this document",
|
txtDescription : "A Password is required to open this document",
|
||||||
txtRepeat: 'Repeat password',
|
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 || {}));
|
}, Common.Views.PasswordDialog || {}));
|
||||||
});
|
});
|
|
@ -267,6 +267,7 @@
|
||||||
"Common.Views.PasswordDialog.txtPassword": "Password",
|
"Common.Views.PasswordDialog.txtPassword": "Password",
|
||||||
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
|
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
|
||||||
"Common.Views.PasswordDialog.txtTitle": "Set 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.PluginDlg.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.groupCaption": "Plugins",
|
"Common.Views.Plugins.groupCaption": "Plugins",
|
||||||
"Common.Views.Plugins.strPlugins": "Plugins",
|
"Common.Views.Plugins.strPlugins": "Plugins",
|
||||||
|
|
|
@ -169,6 +169,7 @@
|
||||||
"Common.Views.PasswordDialog.txtPassword": "Password",
|
"Common.Views.PasswordDialog.txtPassword": "Password",
|
||||||
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
|
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
|
||||||
"Common.Views.PasswordDialog.txtTitle": "Set 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.PluginDlg.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.groupCaption": "Plugins",
|
"Common.Views.Plugins.groupCaption": "Plugins",
|
||||||
"Common.Views.Plugins.strPlugins": "Plugins",
|
"Common.Views.Plugins.strPlugins": "Plugins",
|
||||||
|
|
|
@ -166,6 +166,7 @@
|
||||||
"Common.Views.PasswordDialog.txtPassword": "Password",
|
"Common.Views.PasswordDialog.txtPassword": "Password",
|
||||||
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
|
"Common.Views.PasswordDialog.txtRepeat": "Repeat password",
|
||||||
"Common.Views.PasswordDialog.txtTitle": "Set 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.PluginDlg.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.groupCaption": "Plugins",
|
"Common.Views.Plugins.groupCaption": "Plugins",
|
||||||
"Common.Views.Plugins.strPlugins": "Plugins",
|
"Common.Views.Plugins.strPlugins": "Plugins",
|
||||||
|
|
Loading…
Reference in a new issue