[Mobile] Add warning when open file protected with password

This commit is contained in:
Julia Radzhabova 2018-04-27 16:05:38 +03:00
parent f9e19ea473
commit 1fea85b4b1
6 changed files with 12 additions and 6 deletions

View file

@ -1093,7 +1093,7 @@ define([
me._state.openDlg = uiApp.modal({
title: me.advDRMOptions,
text: me.advDRMEnterPassword,
text: me.txtProtected,
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
buttons: [
{
@ -1292,7 +1292,8 @@ define([
txtStyle_footnote_text: 'Footnote Text',
txtHeader: "Header",
txtFooter: "Footer",
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider upgrading your current license or purchasing a commercial one.'
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider upgrading your current license or purchasing a commercial one.',
txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset'
}
})(), DE.Controllers.Main || {}))
});

View file

@ -37,6 +37,7 @@
"DE.Controllers.EditText.textAuto": "Auto",
"DE.Controllers.EditText.textFonts": "Fonts",
"DE.Controllers.EditText.textPt": "pt",
"DE.Controllers.Main.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset",
"DE.Controllers.Main.advDRMEnterPassword": "Enter your password:",
"DE.Controllers.Main.advDRMOptions": "Protected File",
"DE.Controllers.Main.advDRMPassword": "Password",

View file

@ -1037,7 +1037,7 @@ define([
me._state.openDlg = uiApp.modal({
title: me.advDRMOptions,
text: me.advDRMEnterPassword,
text: me.txtProtected,
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
buttons: [
{
@ -1285,7 +1285,8 @@ define([
txtSlideNumber: 'Slide number',
txtSlideSubtitle: 'Slide subtitle',
txtSlideTitle: 'Slide title',
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider upgrading your current license or purchasing a commercial one.'
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider upgrading your current license or purchasing a commercial one.',
txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset'
}
})(), PE.Controllers.Main || {}))
});

View file

@ -55,6 +55,7 @@
"PE.Controllers.EditText.textAuto": "Auto",
"PE.Controllers.EditText.textFonts": "Fonts",
"PE.Controllers.EditText.textPt": "pt",
"PE.Controllers.Main.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset",
"PE.Controllers.Main.advDRMEnterPassword": "Enter your password:",
"PE.Controllers.Main.advDRMOptions": "Protected File",
"PE.Controllers.Main.advDRMPassword": "Password",

View file

@ -1220,7 +1220,7 @@ define([
me._state.openDlg = uiApp.modal({
title: me.advDRMOptions,
text: me.advDRMEnterPassword,
text: me.txtProtected,
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
buttons: [
{
@ -1450,7 +1450,8 @@ define([
txtStyle_Percent: 'Percent',
txtStyle_Comma: 'Comma',
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider upgrading your current license or purchasing a commercial one.',
errorMaxPoints: 'The maximum number of points in series per chart is 4096.'
errorMaxPoints: 'The maximum number of points in series per chart is 4096.',
txtProtected: 'Once you enter the password and open the file, the current password to the file will be reset'
}
})(), SSE.Controllers.Main || {}))
});

View file

@ -93,6 +93,7 @@
"SSE.Controllers.EditHyperlink.textInvalidRange": "Invalid cells range",
"SSE.Controllers.EditHyperlink.txtNotUrl": "This field should be a URL in the format \"http://www.example.com\"",
"SSE.Controllers.Main.advCSVOptions": "Choose CSV Options",
"SSE.Controllers.Main.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset",
"SSE.Controllers.Main.advDRMEnterPassword": "Enter your password:",
"SSE.Controllers.Main.advDRMOptions": "Protected File",
"SSE.Controllers.Main.advDRMPassword": "Password",