Change open file dialog

This commit is contained in:
Julia Radzhabova 2021-02-02 12:59:45 +03:00
parent ffca21bce1
commit b2dbf6b3c8
4 changed files with 7 additions and 3 deletions

View file

@ -59,7 +59,7 @@ define([
width = 414; width = 414;
height = 277; height = 277;
} else { } else {
width = (options.type !== Common.Utils.importTextType.DRM) ? 340 : (options.warning ? 420 : 262); width = (options.type !== Common.Utils.importTextType.DRM) ? 340 : (options.warning ? 420 : 280);
height = (options.type == Common.Utils.importTextType.CSV || options.type == Common.Utils.importTextType.Paste || options.type == Common.Utils.importTextType.Columns) ? 190 : (options.warning ? 187 : 147); height = (options.type == Common.Utils.importTextType.CSV || options.type == Common.Utils.importTextType.Paste || options.type == Common.Utils.importTextType.Columns) ? 190 : (options.warning ? 187 : 147);
} }
@ -92,7 +92,7 @@ define([
'</div>', '</div>',
'<% } else { %>', '<% } else { %>',
'<div>', '<div>',
'<label class="header">' + t.txtPassword + '</label>', '<label class="">' + t.txtOpenFile + '</label>',
'<div id="id-password-txt"></div>', '<div id="id-password-txt"></div>',
'</div>', '</div>',
'<% } %>', '<% } %>',
@ -507,7 +507,8 @@ define([
txtColon: 'Colon', txtColon: 'Colon',
txtSemicolon: 'Semicolon', txtSemicolon: 'Semicolon',
txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset.', txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset.',
txtAdvanced: 'Advanced' txtAdvanced: 'Advanced',
txtOpenFile: "Enter a password to open the file"
}, Common.Views.OpenDialog || {})); }, Common.Views.OpenDialog || {}));
}); });

View file

@ -257,6 +257,7 @@
"Common.Views.OpenDialog.txtEncoding": "Encoding ", "Common.Views.OpenDialog.txtEncoding": "Encoding ",
"Common.Views.OpenDialog.txtIncorrectPwd": "Password is incorrect.", "Common.Views.OpenDialog.txtIncorrectPwd": "Password is incorrect.",
"Common.Views.OpenDialog.txtPassword": "Password", "Common.Views.OpenDialog.txtPassword": "Password",
"Common.Views.OpenDialog.txtOpenFile": "Enter a password to open the file",
"Common.Views.OpenDialog.txtPreview": "Preview", "Common.Views.OpenDialog.txtPreview": "Preview",
"Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.", "Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.",
"Common.Views.OpenDialog.txtTitle": "Choose %1 options", "Common.Views.OpenDialog.txtTitle": "Choose %1 options",

View file

@ -160,6 +160,7 @@
"Common.Views.OpenDialog.txtEncoding": "Encoding ", "Common.Views.OpenDialog.txtEncoding": "Encoding ",
"Common.Views.OpenDialog.txtIncorrectPwd": "Password is incorrect.", "Common.Views.OpenDialog.txtIncorrectPwd": "Password is incorrect.",
"Common.Views.OpenDialog.txtPassword": "Password", "Common.Views.OpenDialog.txtPassword": "Password",
"Common.Views.OpenDialog.txtOpenFile": "Enter a password to open the file",
"Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.", "Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.",
"Common.Views.OpenDialog.txtTitle": "Choose %1 options", "Common.Views.OpenDialog.txtTitle": "Choose %1 options",
"Common.Views.OpenDialog.txtTitleProtected": "Protected File", "Common.Views.OpenDialog.txtTitleProtected": "Protected File",

View file

@ -153,6 +153,7 @@
"Common.Views.OpenDialog.txtIncorrectPwd": "Password is incorrect.", "Common.Views.OpenDialog.txtIncorrectPwd": "Password is incorrect.",
"Common.Views.OpenDialog.txtOther": "Other", "Common.Views.OpenDialog.txtOther": "Other",
"Common.Views.OpenDialog.txtPassword": "Password", "Common.Views.OpenDialog.txtPassword": "Password",
"Common.Views.OpenDialog.txtOpenFile": "Enter a password to open the file",
"Common.Views.OpenDialog.txtPreview": "Preview", "Common.Views.OpenDialog.txtPreview": "Preview",
"Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.", "Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.",
"Common.Views.OpenDialog.txtSemicolon": "Semicolon", "Common.Views.OpenDialog.txtSemicolon": "Semicolon",