Merge pull request #103 from ONLYOFFICE/feature/bugfix5.1.3
Feature/bugfix5.1.3
This commit is contained in:
commit
272fc79fe6
|
@ -48,7 +48,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
template: _.template([
|
template: _.template([
|
||||||
'<div class="synch-tip-root <%= scope.placement %>">',
|
'<div class="synch-tip-root <% if (!!scope.options.extCls) {print(scope.options.extCls + \" \");} %><%= scope.placement %>">',
|
||||||
'<div class="asc-synchronizetip">',
|
'<div class="asc-synchronizetip">',
|
||||||
'<div class="tip-arrow <%= scope.placement %>"></div>',
|
'<div class="tip-arrow <%= scope.placement %>"></div>',
|
||||||
'<div>',
|
'<div>',
|
||||||
|
|
|
@ -55,8 +55,8 @@ define([
|
||||||
|
|
||||||
_.extend(_options, {
|
_.extend(_options, {
|
||||||
closable : false,
|
closable : false,
|
||||||
width : (options.preview) ? 414 : 262,
|
width : (options.preview) ? 414 : ((options.type == Asc.c_oAscAdvancedOptionsID.DRM) ? 370 : 262),
|
||||||
height : (options.preview) ? 291 : ((options.type == Asc.c_oAscAdvancedOptionsID.CSV) ? 205 : 155),
|
height : (options.preview) ? 277 : ((options.type == Asc.c_oAscAdvancedOptionsID.CSV) ? 190 : 187),
|
||||||
header : true,
|
header : true,
|
||||||
preview : options.preview,
|
preview : options.preview,
|
||||||
cls : 'open-dlg',
|
cls : 'open-dlg',
|
||||||
|
@ -70,8 +70,12 @@ define([
|
||||||
'<div class="box" style="height:' + (_options.height - 85) + 'px;">',
|
'<div class="box" style="height:' + (_options.height - 85) + 'px;">',
|
||||||
'<div class="content-panel" >',
|
'<div class="content-panel" >',
|
||||||
'<% if (type == Asc.c_oAscAdvancedOptionsID.DRM) { %>',
|
'<% if (type == Asc.c_oAscAdvancedOptionsID.DRM) { %>',
|
||||||
'<label class="header">' + t.txtPassword + '</label>',
|
'<div>',
|
||||||
'<div id="id-password-txt" style="margin-bottom:15px;"></div>',
|
'<div class="icon img-commonctrl warn"/>',
|
||||||
|
'<div style="padding-left: 50px;"><div style="font-size: 12px;">' + t.txtProtected+ '</div>',
|
||||||
|
'<label class="header" style="margin-top: 15px;">' + t.txtPassword + '</label>',
|
||||||
|
'<div id="id-password-txt" style="width: 240px;"></div></div>',
|
||||||
|
'</div>',
|
||||||
'<% } else { %>',
|
'<% } else { %>',
|
||||||
'<div style="display: inline-block; margin-bottom:15px;margin-right: 10px;">',
|
'<div style="display: inline-block; margin-bottom:15px;margin-right: 10px;">',
|
||||||
'<label class="header">' + t.txtEncoding + '</label>',
|
'<label class="header">' + t.txtEncoding + '</label>',
|
||||||
|
@ -105,11 +109,10 @@ define([
|
||||||
'<% } %>',
|
'<% } %>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div class="separator horizontal"/>',
|
|
||||||
'<div class="footer center">',
|
'<div class="footer center">',
|
||||||
'<button class="btn normal dlg-btn primary" result="ok" style="margin-right:10px;">' + t.okButtonText + '</button>',
|
'<button class="btn normal dlg-btn primary" result="ok">' + t.okButtonText + '</button>',
|
||||||
'<% if (closable) { %>',
|
'<% if (closable) { %>',
|
||||||
'<button class="btn normal dlg-btn" result="cancel">' + t.closeButtonText + '</button>',
|
'<button class="btn normal dlg-btn" result="cancel" style="margin-left:10px;">' + t.closeButtonText + '</button>',
|
||||||
'<% } %>',
|
'<% } %>',
|
||||||
'</div>'
|
'</div>'
|
||||||
].join('');
|
].join('');
|
||||||
|
@ -527,7 +530,8 @@ define([
|
||||||
txtPreview: 'Preview',
|
txtPreview: 'Preview',
|
||||||
txtComma: 'Comma',
|
txtComma: 'Comma',
|
||||||
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.'
|
||||||
|
|
||||||
}, Common.Views.OpenDialog || {}));
|
}, Common.Views.OpenDialog || {}));
|
||||||
});
|
});
|
|
@ -51,7 +51,7 @@ define([
|
||||||
|
|
||||||
Common.Views.SignDialog = Common.UI.Window.extend(_.extend({
|
Common.Views.SignDialog = Common.UI.Window.extend(_.extend({
|
||||||
options: {
|
options: {
|
||||||
width: 350,
|
width: 370,
|
||||||
style: 'min-width: 350px;',
|
style: 'min-width: 350px;',
|
||||||
cls: 'modal-dlg'
|
cls: 'modal-dlg'
|
||||||
},
|
},
|
||||||
|
@ -90,10 +90,10 @@ define([
|
||||||
'<div id="id-dlg-sign-fonts" class="input-row" style="display: inline-block;"></div>',
|
'<div id="id-dlg-sign-fonts" class="input-row" style="display: inline-block;"></div>',
|
||||||
'<div id="id-dlg-sign-font-size" class="input-row" style="display: inline-block;margin-left: 3px;"></div>',
|
'<div id="id-dlg-sign-font-size" class="input-row" style="display: inline-block;margin-left: 3px;"></div>',
|
||||||
'<div id="id-dlg-sign-bold" style="display: inline-block;margin-left: 3px;"></div>','<div id="id-dlg-sign-italic" style="display: inline-block;margin-left: 3px;"></div>',
|
'<div id="id-dlg-sign-bold" style="display: inline-block;margin-left: 3px;"></div>','<div id="id-dlg-sign-italic" style="display: inline-block;margin-left: 3px;"></div>',
|
||||||
'<div class="input-row" style="margin-top: 10px;">',
|
'<div style="margin: 10px 0 5px 0;">',
|
||||||
'<label>' + this.textUseImage + '</label>',
|
'<label>' + this.textUseImage + '</label>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<button id="id-dlg-sign-image" class="btn btn-text-default" style="">' + this.textSelectImage + '</button>',
|
'<button id="id-dlg-sign-image" class="btn btn-text-default auto">' + this.textSelectImage + '</button>',
|
||||||
'<div class="input-row" style="margin-top: 10px;">',
|
'<div class="input-row" style="margin-top: 10px;">',
|
||||||
'<label style="font-weight: bold;">' + this.textSignature + '</label>',
|
'<label style="font-weight: bold;">' + this.textSignature + '</label>',
|
||||||
'</div>',
|
'</div>',
|
||||||
|
@ -143,7 +143,7 @@ define([
|
||||||
me.cmbFonts = new Common.UI.ComboBoxFonts({
|
me.cmbFonts = new Common.UI.ComboBoxFonts({
|
||||||
el : $('#id-dlg-sign-fonts'),
|
el : $('#id-dlg-sign-fonts'),
|
||||||
cls : 'input-group-nr',
|
cls : 'input-group-nr',
|
||||||
style : 'width: 214px;',
|
style : 'width: 234px;',
|
||||||
menuCls : 'scrollable-menu',
|
menuCls : 'scrollable-menu',
|
||||||
menuStyle : 'min-width: 55px;max-height: 270px;',
|
menuStyle : 'min-width: 55px;max-height: 270px;',
|
||||||
store : new Common.Collections.Fonts(),
|
store : new Common.Collections.Fonts(),
|
||||||
|
@ -265,9 +265,9 @@ define([
|
||||||
|
|
||||||
afterRender: function () {
|
afterRender: function () {
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.binding = {
|
if (!this.binding)
|
||||||
certificateChanged: _.bind(this.onCertificateChanged, this)
|
this.binding = {};
|
||||||
};
|
this.binding.certificateChanged = _.bind(this.onCertificateChanged, this);
|
||||||
this.api.asc_registerCallback('on_signature_defaultcertificate_ret', this.binding.certificateChanged);
|
this.api.asc_registerCallback('on_signature_defaultcertificate_ret', this.binding.certificateChanged);
|
||||||
this.api.asc_registerCallback('on_signature_selectsertificate_ret', this.binding.certificateChanged);
|
this.api.asc_registerCallback('on_signature_selectsertificate_ret', this.binding.certificateChanged);
|
||||||
this.api.asc_GetDefaultCertificate();
|
this.api.asc_GetDefaultCertificate();
|
||||||
|
|
|
@ -208,6 +208,6 @@ define([
|
||||||
txtEmpty: 'This field is required',
|
txtEmpty: 'This field is required',
|
||||||
textAllowComment: 'Allow signer to add comment in the signature dialog',
|
textAllowComment: 'Allow signer to add comment in the signature dialog',
|
||||||
textShowDate: 'Show sign date in signature line',
|
textShowDate: 'Show sign date in signature line',
|
||||||
textTitle: 'Signature Settings'
|
textTitle: 'Signature Setup'
|
||||||
}, Common.Views.SignSettingsDialog || {}))
|
}, Common.Views.SignSettingsDialog || {}))
|
||||||
});
|
});
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
.content-panel {
|
.content-panel {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
padding: 15px;
|
padding: 15px 15px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.inner-content {
|
.inner-content {
|
||||||
|
@ -74,6 +74,17 @@
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
float: left;
|
||||||
|
width: 35px;
|
||||||
|
height: 35px;
|
||||||
|
|
||||||
|
&.warn {
|
||||||
|
height: 32px;
|
||||||
|
background-position: @alerts-offset-x @alerts-offset-y - 105px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.footer {
|
.footer {
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
.synch-tip-root {
|
.synch-tip-root {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: @zindex-tooltip + 5;
|
z-index: @zindex-navbar + 2;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
|
||||||
|
&.inc-index {
|
||||||
|
z-index: @zindex-navbar + 4;
|
||||||
|
}
|
||||||
|
|
||||||
.tip-arrow {
|
.tip-arrow {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -242,13 +242,13 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 102;
|
z-index: @zindex-navbar + 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar {
|
.toolbar {
|
||||||
&.cover {
|
&.cover {
|
||||||
ul {
|
ul {
|
||||||
z-index: 102;
|
z-index: @zindex-navbar + 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -333,7 +333,7 @@ define([
|
||||||
|
|
||||||
value = Common.localStorage.getBool("de-settings-livecomment", true);
|
value = Common.localStorage.getBool("de-settings-livecomment", true);
|
||||||
Common.Utils.InternalSettings.set("de-settings-livecomment", value);
|
Common.Utils.InternalSettings.set("de-settings-livecomment", value);
|
||||||
var resolved = Common.localStorage.getBool("de-settings-resolvedcomment", true);
|
var resolved = Common.localStorage.getBool("de-settings-resolvedcomment");
|
||||||
Common.Utils.InternalSettings.set("de-settings-resolvedcomment", resolved);
|
Common.Utils.InternalSettings.set("de-settings-resolvedcomment", resolved);
|
||||||
if (this.mode.canComments && this.leftMenu.panelComments.isVisible())
|
if (this.mode.canComments && this.leftMenu.panelComments.isVisible())
|
||||||
value = resolved = true;
|
value = resolved = true;
|
||||||
|
|
|
@ -625,7 +625,7 @@ define([
|
||||||
if (this.api && !toolbarView._state.previewmode) {
|
if (this.api && !toolbarView._state.previewmode) {
|
||||||
var cansave = this.api.asc_isDocumentCanSave(),
|
var cansave = this.api.asc_isDocumentCanSave(),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
isSyncButton = $('.icon', toolbarView.btnSave.cmpEl).hasClass('btn-synch'),
|
isSyncButton = toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
isDisabled = !cansave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !cansave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
toolbarView.btnSave.setDisabled(isDisabled);
|
toolbarView.btnSave.setDisabled(isDisabled);
|
||||||
}
|
}
|
||||||
|
@ -815,7 +815,7 @@ define([
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
this.isLiveCommenting = Common.localStorage.getBool("de-settings-livecomment", true);
|
this.isLiveCommenting = Common.localStorage.getBool("de-settings-livecomment", true);
|
||||||
Common.Utils.InternalSettings.set("de-settings-livecomment", this.isLiveCommenting);
|
Common.Utils.InternalSettings.set("de-settings-livecomment", this.isLiveCommenting);
|
||||||
value = Common.localStorage.getBool("de-settings-resolvedcomment", true);
|
value = Common.localStorage.getBool("de-settings-resolvedcomment");
|
||||||
Common.Utils.InternalSettings.set("de-settings-resolvedcomment", value);
|
Common.Utils.InternalSettings.set("de-settings-resolvedcomment", value);
|
||||||
this.isLiveCommenting ? this.api.asc_showComments(value) : this.api.asc_hideComments();
|
this.isLiveCommenting ? this.api.asc_showComments(value) : this.api.asc_hideComments();
|
||||||
/** coauthoring end **/
|
/** coauthoring end **/
|
||||||
|
@ -1518,7 +1518,7 @@ define([
|
||||||
var toolbarView = this.getApplication().getController('Toolbar').getView();
|
var toolbarView = this.getApplication().getController('Toolbar').getView();
|
||||||
|
|
||||||
if (toolbarView && !toolbarView._state.previewmode) {
|
if (toolbarView && !toolbarView._state.previewmode) {
|
||||||
var isSyncButton = toolbarView.btnSave.$icon.hasClass('btn-synch'),
|
var isSyncButton = toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
isDisabled = !isModified && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !isModified && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
toolbarView.btnSave.setDisabled(isDisabled);
|
toolbarView.btnSave.setDisabled(isDisabled);
|
||||||
|
@ -1534,7 +1534,7 @@ define([
|
||||||
var toolbarView = this.getApplication().getController('Toolbar').getView();
|
var toolbarView = this.getApplication().getController('Toolbar').getView();
|
||||||
|
|
||||||
if (toolbarView && this.api && !toolbarView._state.previewmode) {
|
if (toolbarView && this.api && !toolbarView._state.previewmode) {
|
||||||
var isSyncButton = $('.icon', toolbarView.btnSave.cmpEl).hasClass('btn-synch'),
|
var isSyncButton = toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
isDisabled = !isCanSave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !isCanSave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
toolbarView.btnSave.setDisabled(isDisabled);
|
toolbarView.btnSave.setDisabled(isDisabled);
|
||||||
|
@ -2143,7 +2143,7 @@ define([
|
||||||
errorKeyExpire: 'Key descriptor expired',
|
errorKeyExpire: 'Key descriptor expired',
|
||||||
errorUsersExceed: 'Count of users was exceed',
|
errorUsersExceed: 'Count of users was exceed',
|
||||||
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
||||||
errorFilePassProtect: 'The document is password protected.',
|
errorFilePassProtect: 'The file is password protected and cannot be opened.',
|
||||||
txtBasicShapes: 'Basic Shapes',
|
txtBasicShapes: 'Basic Shapes',
|
||||||
txtFiguredArrows: 'Figured Arrows',
|
txtFiguredArrows: 'Figured Arrows',
|
||||||
txtMath: 'Math',
|
txtMath: 'Math',
|
||||||
|
|
|
@ -205,6 +205,7 @@ define([
|
||||||
onSelectItem: function(picker, item, record, e){
|
onSelectItem: function(picker, item, record, e){
|
||||||
if (!this._navigationObject) return;
|
if (!this._navigationObject) return;
|
||||||
this._navigationObject.goto(record.get('index'));
|
this._navigationObject.goto(record.get('index'));
|
||||||
|
Common.NotificationCenter.trigger('edit:complete', this.panelNavigation);
|
||||||
},
|
},
|
||||||
|
|
||||||
onMenuItemClick: function (menu, item) {
|
onMenuItemClick: function (menu, item) {
|
||||||
|
|
|
@ -1115,7 +1115,7 @@ define([
|
||||||
'<div id="fms-btn-add-pwd" style="width:190px;"></div>',
|
'<div id="fms-btn-add-pwd" style="width:190px;"></div>',
|
||||||
'<table id="id-fms-view-pwd" cols="2" width="300">',
|
'<table id="id-fms-view-pwd" cols="2" width="300">',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="2"><span style="cursor: default;"><%= scope.txtEncrypted %></span></td>',
|
'<td colspan="2"><label style="cursor: default;"><%= scope.txtEncrypted %></label></td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td><div id="fms-btn-change-pwd" style="width:190px;"></div></td>',
|
'<td><div id="fms-btn-change-pwd" style="width:190px;"></div></td>',
|
||||||
|
@ -1139,7 +1139,7 @@ define([
|
||||||
this.templateSignature = _.template([
|
this.templateSignature = _.template([
|
||||||
'<table cols="2" width="300" class="<% if (!hasRequested && !hasSigned) { %>hidden<% } %>"">',
|
'<table cols="2" width="300" class="<% if (!hasRequested && !hasSigned) { %>hidden<% } %>"">',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="2"><span style="cursor: default;"><%= tipText %></span></td>',
|
'<td colspan="2"><label style="cursor: default;"><%= tipText %></label></td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td><label class="link signature-view-link">' + me.txtView + '</label></td>',
|
'<td><label class="link signature-view-link">' + me.txtView + '</label></td>',
|
||||||
|
|
|
@ -2052,6 +2052,7 @@ define([
|
||||||
|
|
||||||
createSynchTip: function () {
|
createSynchTip: function () {
|
||||||
this.synchTooltip = new Common.UI.SynchronizeTip({
|
this.synchTooltip = new Common.UI.SynchronizeTip({
|
||||||
|
extCls: this.mode.isDesktopApp ? 'inc-index' : undefined,
|
||||||
target: this.btnCollabChanges.$el
|
target: this.btnCollabChanges.$el
|
||||||
});
|
});
|
||||||
this.synchTooltip.on('dontshowclick', function () {
|
this.synchTooltip.on('dontshowclick', function () {
|
||||||
|
|
|
@ -191,6 +191,7 @@
|
||||||
"Common.Views.OpenDialog.txtPreview": "Preview",
|
"Common.Views.OpenDialog.txtPreview": "Preview",
|
||||||
"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",
|
||||||
|
"Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.",
|
||||||
"Common.Views.PasswordDialog.cancelButtonText": "Cancel",
|
"Common.Views.PasswordDialog.cancelButtonText": "Cancel",
|
||||||
"Common.Views.PasswordDialog.okButtonText": "OK",
|
"Common.Views.PasswordDialog.okButtonText": "OK",
|
||||||
"Common.Views.PasswordDialog.txtDescription": "Set a password to protect this document",
|
"Common.Views.PasswordDialog.txtDescription": "Set a password to protect this document",
|
||||||
|
@ -291,7 +292,7 @@
|
||||||
"Common.Views.SignSettingsDialog.textInfoTitle": "Signer Title",
|
"Common.Views.SignSettingsDialog.textInfoTitle": "Signer Title",
|
||||||
"Common.Views.SignSettingsDialog.textInstructions": "Instructions for Signer",
|
"Common.Views.SignSettingsDialog.textInstructions": "Instructions for Signer",
|
||||||
"Common.Views.SignSettingsDialog.textShowDate": "Show sign date in signature line",
|
"Common.Views.SignSettingsDialog.textShowDate": "Show sign date in signature line",
|
||||||
"Common.Views.SignSettingsDialog.textTitle": "Signature Settings",
|
"Common.Views.SignSettingsDialog.textTitle": "Signature Setup",
|
||||||
"Common.Views.SignSettingsDialog.txtEmpty": "This field is required",
|
"Common.Views.SignSettingsDialog.txtEmpty": "This field is required",
|
||||||
"DE.Controllers.LeftMenu.leavePageText": "All unsaved changes in this document will be lost.<br> Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.",
|
"DE.Controllers.LeftMenu.leavePageText": "All unsaved changes in this document will be lost.<br> Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.",
|
||||||
"DE.Controllers.LeftMenu.newDocumentTitle": "Unnamed document",
|
"DE.Controllers.LeftMenu.newDocumentTitle": "Unnamed document",
|
||||||
|
@ -321,7 +322,7 @@
|
||||||
"DE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
"DE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
||||||
"DE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
"DE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||||
"DE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
"DE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
||||||
"DE.Controllers.Main.errorFilePassProtect": "The document is password protected and could not be opened.",
|
"DE.Controllers.Main.errorFilePassProtect": "The file is password protected and could not be opened.",
|
||||||
"DE.Controllers.Main.errorForceSave": "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
"DE.Controllers.Main.errorForceSave": "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
||||||
"DE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
"DE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
||||||
"DE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
"DE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
||||||
|
|
|
@ -373,7 +373,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#panel-protect {
|
#panel-protect {
|
||||||
label, span {
|
label {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 32px;
|
top: 32px;
|
||||||
left: 48px;
|
left: 48px;
|
||||||
right: 45px;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
background-color: @gray-light;
|
background-color: @gray-light;
|
||||||
z-index: @zindex-tooltip + 1;
|
/* z-index: @zindex-tooltip + 1; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-group-mask {
|
.toolbar-group-mask {
|
||||||
|
|
|
@ -1093,7 +1093,7 @@ define([
|
||||||
|
|
||||||
me._state.openDlg = uiApp.modal({
|
me._state.openDlg = uiApp.modal({
|
||||||
title: me.advDRMOptions,
|
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>',
|
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
@ -1221,7 +1221,7 @@ define([
|
||||||
errorKeyExpire: 'Key descriptor expired',
|
errorKeyExpire: 'Key descriptor expired',
|
||||||
errorUsersExceed: 'Count of users was exceed',
|
errorUsersExceed: 'Count of users was exceed',
|
||||||
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
||||||
errorFilePassProtect: 'The document is password protected.',
|
errorFilePassProtect: 'The file is password protected and could not be opened.',
|
||||||
txtEditingMode: 'Set editing mode...',
|
txtEditingMode: 'Set editing mode...',
|
||||||
textAnonymous: 'Anonymous',
|
textAnonymous: 'Anonymous',
|
||||||
loadingDocumentTitleText: 'Loading document',
|
loadingDocumentTitleText: 'Loading document',
|
||||||
|
@ -1292,7 +1292,8 @@ define([
|
||||||
txtStyle_footnote_text: 'Footnote Text',
|
txtStyle_footnote_text: 'Footnote Text',
|
||||||
txtHeader: "Header",
|
txtHeader: "Header",
|
||||||
txtFooter: "Footer",
|
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 || {}))
|
})(), DE.Controllers.Main || {}))
|
||||||
});
|
});
|
|
@ -37,6 +37,7 @@
|
||||||
"DE.Controllers.EditText.textAuto": "Auto",
|
"DE.Controllers.EditText.textAuto": "Auto",
|
||||||
"DE.Controllers.EditText.textFonts": "Fonts",
|
"DE.Controllers.EditText.textFonts": "Fonts",
|
||||||
"DE.Controllers.EditText.textPt": "pt",
|
"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.advDRMEnterPassword": "Enter your password:",
|
||||||
"DE.Controllers.Main.advDRMOptions": "Protected File",
|
"DE.Controllers.Main.advDRMOptions": "Protected File",
|
||||||
"DE.Controllers.Main.advDRMPassword": "Password",
|
"DE.Controllers.Main.advDRMPassword": "Password",
|
||||||
|
@ -58,7 +59,7 @@
|
||||||
"DE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please, contact support.",
|
"DE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please, contact support.",
|
||||||
"DE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
"DE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||||
"DE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
"DE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
||||||
"DE.Controllers.Main.errorFilePassProtect": "The document is password protected.",
|
"DE.Controllers.Main.errorFilePassProtect": "The file is password protected and could not be opened.",
|
||||||
"DE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
"DE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
||||||
"DE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
"DE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
||||||
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
|
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
|
||||||
|
|
|
@ -426,7 +426,7 @@ define([
|
||||||
if (this.api && this.api.asc_isDocumentCanSave) {
|
if (this.api && this.api.asc_isDocumentCanSave) {
|
||||||
var cansave = this.api.asc_isDocumentCanSave(),
|
var cansave = this.api.asc_isDocumentCanSave(),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
isSyncButton = $('.icon', toolbarView.btnSave.cmpEl).hasClass('btn-synch'),
|
isSyncButton = toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
isDisabled = !cansave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !cansave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
toolbarView.btnSave.setDisabled(isDisabled);
|
toolbarView.btnSave.setDisabled(isDisabled);
|
||||||
}
|
}
|
||||||
|
@ -1268,7 +1268,7 @@ define([
|
||||||
|
|
||||||
var toolbarView = this.getApplication().getController('Toolbar').getView('Toolbar');
|
var toolbarView = this.getApplication().getController('Toolbar').getView('Toolbar');
|
||||||
if (toolbarView) {
|
if (toolbarView) {
|
||||||
var isSyncButton = $('.icon', toolbarView.btnSave.cmpEl).hasClass('btn-synch'),
|
var isSyncButton = toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
isDisabled = !isModified && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !isModified && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
toolbarView.btnSave.setDisabled(isDisabled);
|
toolbarView.btnSave.setDisabled(isDisabled);
|
||||||
|
@ -1277,7 +1277,7 @@ define([
|
||||||
onDocumentCanSaveChanged: function (isCanSave) {
|
onDocumentCanSaveChanged: function (isCanSave) {
|
||||||
var toolbarView = this.getApplication().getController('Toolbar').getView('Toolbar');
|
var toolbarView = this.getApplication().getController('Toolbar').getView('Toolbar');
|
||||||
if ( toolbarView ) {
|
if ( toolbarView ) {
|
||||||
var isSyncButton = $('.icon', toolbarView.btnSave.cmpEl).hasClass('btn-synch'),
|
var isSyncButton = toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
isDisabled = !isCanSave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !isCanSave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
toolbarView.btnSave.setDisabled(isDisabled);
|
toolbarView.btnSave.setDisabled(isDisabled);
|
||||||
|
@ -1944,7 +1944,7 @@ define([
|
||||||
errorUsersExceed: 'Count of users was exceed',
|
errorUsersExceed: 'Count of users was exceed',
|
||||||
txtEditingMode: 'Set editing mode...',
|
txtEditingMode: 'Set editing mode...',
|
||||||
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
||||||
errorFilePassProtect: 'The document is password protected.',
|
errorFilePassProtect: 'The file is password protected and cannot be opened.',
|
||||||
textAnonymous: 'Anonymous',
|
textAnonymous: 'Anonymous',
|
||||||
txtNeedSynchronize: 'You have an updates',
|
txtNeedSynchronize: 'You have an updates',
|
||||||
applyChangesTitleText: 'Loading Data',
|
applyChangesTitleText: 'Loading Data',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="layout-region">
|
<div class="layout-region">
|
||||||
<div id="pe-preview" style="position:absolute; left: 0; top: 0; display:none; width:100%; height:100%; z-index: 1;"></div>
|
<div id="pe-preview" style="position:absolute; left: 0; top: 0; display:none; width:100%; height:100%;"></div>
|
||||||
<section class="layout-ct">
|
<section class="layout-ct">
|
||||||
<div id="file-menu-panel" class="toolbar-fullview-panel" style="display:none;"></div>
|
<div id="file-menu-panel" class="toolbar-fullview-panel" style="display:none;"></div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -880,7 +880,7 @@ define([
|
||||||
'<div id="fms-btn-add-pwd" style="width:190px;"></div>',
|
'<div id="fms-btn-add-pwd" style="width:190px;"></div>',
|
||||||
'<table id="id-fms-view-pwd" cols="2" width="300">',
|
'<table id="id-fms-view-pwd" cols="2" width="300">',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="2"><span style="cursor: default;"><%= scope.txtEncrypted %></span></td>',
|
'<td colspan="2"><label style="cursor: default;"><%= scope.txtEncrypted %></label></td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td><div id="fms-btn-change-pwd" style="width:190px;"></div></td>',
|
'<td><div id="fms-btn-change-pwd" style="width:190px;"></div></td>',
|
||||||
|
@ -904,7 +904,7 @@ define([
|
||||||
this.templateSignature = _.template([
|
this.templateSignature = _.template([
|
||||||
'<table cols="2" width="300" class="<% if (!hasSigned) { %>hidden<% } %>"">',
|
'<table cols="2" width="300" class="<% if (!hasSigned) { %>hidden<% } %>"">',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="2"><span style="cursor: default;"><%= tipText %></span></td>',
|
'<td colspan="2"><label style="cursor: default;"><%= tipText %></label></td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td><label class="link signature-view-link">' + me.txtView + '</label></td>',
|
'<td><label class="link signature-view-link">' + me.txtView + '</label></td>',
|
||||||
|
|
|
@ -109,6 +109,8 @@ define([
|
||||||
me.shapeControls = [];
|
me.shapeControls = [];
|
||||||
me.slideOnlyControls = [];
|
me.slideOnlyControls = [];
|
||||||
me.synchTooltip = undefined;
|
me.synchTooltip = undefined;
|
||||||
|
me.needShowSynchTip = false;
|
||||||
|
|
||||||
me.schemeNames = [
|
me.schemeNames = [
|
||||||
me.txtScheme1, me.txtScheme2, me.txtScheme3, me.txtScheme4, me.txtScheme5,
|
me.txtScheme1, me.txtScheme2, me.txtScheme3, me.txtScheme4, me.txtScheme5,
|
||||||
me.txtScheme6, me.txtScheme7, me.txtScheme8, me.txtScheme9, me.txtScheme10,
|
me.txtScheme6, me.txtScheme7, me.txtScheme8, me.txtScheme9, me.txtScheme10,
|
||||||
|
@ -1254,7 +1256,6 @@ define([
|
||||||
|
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
this.showSynchTip = !Common.localStorage.getBool('pe-hide-synch');
|
this.showSynchTip = !Common.localStorage.getBool('pe-hide-synch');
|
||||||
this.needShowSynchTip = false;
|
|
||||||
|
|
||||||
if (this.needShowSynchTip) {
|
if (this.needShowSynchTip) {
|
||||||
this.needShowSynchTip = false;
|
this.needShowSynchTip = false;
|
||||||
|
@ -1404,6 +1405,7 @@ define([
|
||||||
|
|
||||||
createSynchTip: function () {
|
createSynchTip: function () {
|
||||||
this.synchTooltip = new Common.UI.SynchronizeTip({
|
this.synchTooltip = new Common.UI.SynchronizeTip({
|
||||||
|
extCls: this.mode.isDesktopApp ? 'inc-index' : undefined,
|
||||||
target: this.btnCollabChanges.$el
|
target: this.btnCollabChanges.$el
|
||||||
});
|
});
|
||||||
this.synchTooltip.on('dontshowclick', function () {
|
this.synchTooltip.on('dontshowclick', function () {
|
||||||
|
|
|
@ -123,6 +123,7 @@
|
||||||
"Common.Views.OpenDialog.txtPassword": "Password",
|
"Common.Views.OpenDialog.txtPassword": "Password",
|
||||||
"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",
|
||||||
|
"Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.",
|
||||||
"Common.Views.PasswordDialog.cancelButtonText": "Cancel",
|
"Common.Views.PasswordDialog.cancelButtonText": "Cancel",
|
||||||
"Common.Views.PasswordDialog.okButtonText": "OK",
|
"Common.Views.PasswordDialog.okButtonText": "OK",
|
||||||
"Common.Views.PasswordDialog.txtDescription": "Set a password to protect this document",
|
"Common.Views.PasswordDialog.txtDescription": "Set a password to protect this document",
|
||||||
|
@ -214,7 +215,7 @@
|
||||||
"Common.Views.SignSettingsDialog.textInfoTitle": "Signer Title",
|
"Common.Views.SignSettingsDialog.textInfoTitle": "Signer Title",
|
||||||
"Common.Views.SignSettingsDialog.textInstructions": "Instructions for Signer",
|
"Common.Views.SignSettingsDialog.textInstructions": "Instructions for Signer",
|
||||||
"Common.Views.SignSettingsDialog.textShowDate": "Show sign date in signature line",
|
"Common.Views.SignSettingsDialog.textShowDate": "Show sign date in signature line",
|
||||||
"Common.Views.SignSettingsDialog.textTitle": "Signature Settings",
|
"Common.Views.SignSettingsDialog.textTitle": "Signature Setup",
|
||||||
"Common.Views.SignSettingsDialog.txtEmpty": "This field is required",
|
"Common.Views.SignSettingsDialog.txtEmpty": "This field is required",
|
||||||
"PE.Controllers.LeftMenu.newDocumentTitle": "Unnamed presentation",
|
"PE.Controllers.LeftMenu.newDocumentTitle": "Unnamed presentation",
|
||||||
"PE.Controllers.LeftMenu.requestEditRightsText": "Requesting editing rights...",
|
"PE.Controllers.LeftMenu.requestEditRightsText": "Requesting editing rights...",
|
||||||
|
@ -235,7 +236,7 @@
|
||||||
"PE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
"PE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
||||||
"PE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
"PE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||||
"PE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
"PE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
||||||
"PE.Controllers.Main.errorFilePassProtect": "The document is password protected and could not be opened.",
|
"PE.Controllers.Main.errorFilePassProtect": "The file is password protected and could not be opened.",
|
||||||
"PE.Controllers.Main.errorForceSave": "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
"PE.Controllers.Main.errorForceSave": "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
||||||
"PE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
"PE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
||||||
"PE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
"PE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#pe-preview {
|
||||||
|
z-index: @zindex-navbar+3;
|
||||||
|
}
|
||||||
.preview-controls {
|
.preview-controls {
|
||||||
display: table;
|
display: table;
|
||||||
background: @gray-light;
|
background: @gray-light;
|
||||||
|
|
|
@ -454,7 +454,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#panel-protect {
|
#panel-protect {
|
||||||
label, span {
|
label {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,11 +25,11 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 32px;
|
top: 32px;
|
||||||
left: 48px;
|
left: 48px;
|
||||||
right: 45px;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
background-color: @gray-light;
|
background-color: @gray-light;
|
||||||
z-index: @zindex-tooltip + 1;
|
/*z-index: @zindex-tooltip + 1;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-layouts {
|
.menu-layouts {
|
||||||
|
|
|
@ -1037,7 +1037,7 @@ define([
|
||||||
|
|
||||||
me._state.openDlg = uiApp.modal({
|
me._state.openDlg = uiApp.modal({
|
||||||
title: me.advDRMOptions,
|
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>',
|
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
@ -1224,7 +1224,7 @@ define([
|
||||||
errorUsersExceed: 'Count of users was exceed',
|
errorUsersExceed: 'Count of users was exceed',
|
||||||
txtEditingMode: 'Set editing mode...',
|
txtEditingMode: 'Set editing mode...',
|
||||||
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
||||||
errorFilePassProtect: 'The document is password protected.',
|
errorFilePassProtect: 'The file is password protected and cannot be opened.',
|
||||||
textAnonymous: 'Anonymous',
|
textAnonymous: 'Anonymous',
|
||||||
txtNeedSynchronize: 'You have an updates',
|
txtNeedSynchronize: 'You have an updates',
|
||||||
applyChangesTitleText: 'Loading Data',
|
applyChangesTitleText: 'Loading Data',
|
||||||
|
@ -1285,7 +1285,8 @@ define([
|
||||||
txtSlideNumber: 'Slide number',
|
txtSlideNumber: 'Slide number',
|
||||||
txtSlideSubtitle: 'Slide subtitle',
|
txtSlideSubtitle: 'Slide subtitle',
|
||||||
txtSlideTitle: 'Slide title',
|
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 || {}))
|
})(), PE.Controllers.Main || {}))
|
||||||
});
|
});
|
|
@ -55,6 +55,7 @@
|
||||||
"PE.Controllers.EditText.textAuto": "Auto",
|
"PE.Controllers.EditText.textAuto": "Auto",
|
||||||
"PE.Controllers.EditText.textFonts": "Fonts",
|
"PE.Controllers.EditText.textFonts": "Fonts",
|
||||||
"PE.Controllers.EditText.textPt": "pt",
|
"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.advDRMEnterPassword": "Enter your password:",
|
||||||
"PE.Controllers.Main.advDRMOptions": "Protected File",
|
"PE.Controllers.Main.advDRMOptions": "Protected File",
|
||||||
"PE.Controllers.Main.advDRMPassword": "Password",
|
"PE.Controllers.Main.advDRMPassword": "Password",
|
||||||
|
@ -73,7 +74,7 @@
|
||||||
"PE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please, contact support.",
|
"PE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please, contact support.",
|
||||||
"PE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
"PE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||||
"PE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
"PE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
||||||
"PE.Controllers.Main.errorFilePassProtect": "The document is password protected.",
|
"PE.Controllers.Main.errorFilePassProtect": "The file is password protected and cannot be opened.",
|
||||||
"PE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
"PE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
|
||||||
"PE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
"PE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
|
||||||
"PE.Controllers.Main.errorProcessSaveResult": "Saving is failed.",
|
"PE.Controllers.Main.errorProcessSaveResult": "Saving is failed.",
|
||||||
|
|
|
@ -279,7 +279,7 @@ define([
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
value = Common.localStorage.getBool("sse-settings-livecomment", true);
|
value = Common.localStorage.getBool("sse-settings-livecomment", true);
|
||||||
Common.Utils.InternalSettings.set("sse-settings-livecomment", value);
|
Common.Utils.InternalSettings.set("sse-settings-livecomment", value);
|
||||||
var resolved = Common.localStorage.getBool("sse-settings-resolvedcomment", true);
|
var resolved = Common.localStorage.getBool("sse-settings-resolvedcomment");
|
||||||
Common.Utils.InternalSettings.set("sse-settings-resolvedcomment", resolved);
|
Common.Utils.InternalSettings.set("sse-settings-resolvedcomment", resolved);
|
||||||
|
|
||||||
if (this.mode.canComments && this.leftMenu.panelComments.isVisible())
|
if (this.mode.canComments && this.leftMenu.panelComments.isVisible())
|
||||||
|
|
|
@ -616,7 +616,7 @@ define([
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
this.isLiveCommenting = Common.localStorage.getBool("sse-settings-livecomment", true);
|
this.isLiveCommenting = Common.localStorage.getBool("sse-settings-livecomment", true);
|
||||||
Common.Utils.InternalSettings.set("sse-settings-livecomment", this.isLiveCommenting);
|
Common.Utils.InternalSettings.set("sse-settings-livecomment", this.isLiveCommenting);
|
||||||
value = Common.localStorage.getBool("sse-settings-resolvedcomment", true);
|
value = Common.localStorage.getBool("sse-settings-resolvedcomment");
|
||||||
Common.Utils.InternalSettings.set("sse-settings-resolvedcomment", value);
|
Common.Utils.InternalSettings.set("sse-settings-resolvedcomment", value);
|
||||||
this.isLiveCommenting ? this.api.asc_showComments(value) : this.api.asc_hideComments();
|
this.isLiveCommenting ? this.api.asc_showComments(value) : this.api.asc_hideComments();
|
||||||
|
|
||||||
|
@ -1412,8 +1412,8 @@ define([
|
||||||
this.updateWindowTitle(change);
|
this.updateWindowTitle(change);
|
||||||
Common.Gateway.setDocumentModified(change);
|
Common.Gateway.setDocumentModified(change);
|
||||||
|
|
||||||
if (this.toolbarView && this.toolbarView.btnSave && this.api) {
|
if (this.toolbarView && this.toolbarView.btnCollabChanges && this.api) {
|
||||||
var isSyncButton = $('.icon', this.toolbarView.btnSave.cmpEl).hasClass('btn-synch'),
|
var isSyncButton = this.toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
cansave = this.api.asc_isDocumentCanSave(),
|
cansave = this.api.asc_isDocumentCanSave(),
|
||||||
isDisabled = !cansave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !cansave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
|
@ -1422,8 +1422,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onDocumentCanSaveChanged: function (isCanSave) {
|
onDocumentCanSaveChanged: function (isCanSave) {
|
||||||
if (this.toolbarView && this.toolbarView.btnSave) {
|
if (this.toolbarView && this.toolbarView.btnCollabChanges) {
|
||||||
var isSyncButton = $('.icon', this.toolbarView.btnSave.cmpEl).hasClass('btn-synch'),
|
var isSyncButton = this.toolbarView.btnCollabChanges.$icon.hasClass('btn-synch'),
|
||||||
forcesave = this.appOptions.forcesave,
|
forcesave = this.appOptions.forcesave,
|
||||||
isDisabled = !isCanSave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
isDisabled = !isCanSave && !isSyncButton && !forcesave || this._state.isDisconnected || this._state.fastCoauth && this._state.usersCount>1 && !forcesave;
|
||||||
this.toolbarView.btnSave.setDisabled(isDisabled);
|
this.toolbarView.btnSave.setDisabled(isDisabled);
|
||||||
|
@ -2108,7 +2108,7 @@ define([
|
||||||
errorMoveRange: 'Cann\'t change a part of merged cell',
|
errorMoveRange: 'Cann\'t change a part of merged cell',
|
||||||
errorBadImageUrl: 'Image url is incorrect',
|
errorBadImageUrl: 'Image url is incorrect',
|
||||||
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
||||||
errorFilePassProtect: 'The document is password protected.',
|
errorFilePassProtect: 'The file is password protected and cannot be opened.',
|
||||||
errorLockedAll: 'The operation could not be done as the sheet has been locked by another user.',
|
errorLockedAll: 'The operation could not be done as the sheet has been locked by another user.',
|
||||||
txtEditingMode: 'Set editing mode...',
|
txtEditingMode: 'Set editing mode...',
|
||||||
textLoadingDocument: 'Loading spreadsheet',
|
textLoadingDocument: 'Loading spreadsheet',
|
||||||
|
|
|
@ -1340,7 +1340,7 @@ define([
|
||||||
'<div id="fms-btn-add-pwd" style="width:190px;"></div>',
|
'<div id="fms-btn-add-pwd" style="width:190px;"></div>',
|
||||||
'<table id="id-fms-view-pwd" cols="2" width="300">',
|
'<table id="id-fms-view-pwd" cols="2" width="300">',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="2"><span style="cursor: default;"><%= scope.txtEncrypted %></span></td>',
|
'<td colspan="2"><label style="cursor: default;"><%= scope.txtEncrypted %></label></td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td><div id="fms-btn-change-pwd" style="width:190px;"></div></td>',
|
'<td><div id="fms-btn-change-pwd" style="width:190px;"></div></td>',
|
||||||
|
@ -1364,7 +1364,7 @@ define([
|
||||||
this.templateSignature = _.template([
|
this.templateSignature = _.template([
|
||||||
'<table cols="2" width="300" class="<% if (!hasRequested && !hasSigned) { %>hidden<% } %>"">',
|
'<table cols="2" width="300" class="<% if (!hasRequested && !hasSigned) { %>hidden<% } %>"">',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="2"><span style="cursor: default;"><%= tipText %></span></td>',
|
'<td colspan="2"><label style="cursor: default;"><%= tipText %></label></td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td><label class="link signature-view-link">' + me.txtView + '</label></td>',
|
'<td><label class="link signature-view-link">' + me.txtView + '</label></td>',
|
||||||
|
|
|
@ -1756,6 +1756,7 @@ define([
|
||||||
|
|
||||||
createSynchTip: function () {
|
createSynchTip: function () {
|
||||||
this.synchTooltip = new Common.UI.SynchronizeTip({
|
this.synchTooltip = new Common.UI.SynchronizeTip({
|
||||||
|
extCls: this.mode.isDesktopApp ? 'inc-index' : undefined,
|
||||||
target: this.btnCollabChanges.$el
|
target: this.btnCollabChanges.$el
|
||||||
});
|
});
|
||||||
this.synchTooltip.on('dontshowclick', function() {
|
this.synchTooltip.on('dontshowclick', function() {
|
||||||
|
|
|
@ -113,6 +113,7 @@
|
||||||
"Common.Views.OpenDialog.txtTab": "Tab",
|
"Common.Views.OpenDialog.txtTab": "Tab",
|
||||||
"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",
|
||||||
|
"Common.Views.OpenDialog.txtProtected": "Once you enter the password and open the file, the current password to the file will be reset.",
|
||||||
"Common.Views.PasswordDialog.cancelButtonText": "Cancel",
|
"Common.Views.PasswordDialog.cancelButtonText": "Cancel",
|
||||||
"Common.Views.PasswordDialog.okButtonText": "OK",
|
"Common.Views.PasswordDialog.okButtonText": "OK",
|
||||||
"Common.Views.PasswordDialog.txtDescription": "Set a password to protect this document",
|
"Common.Views.PasswordDialog.txtDescription": "Set a password to protect this document",
|
||||||
|
@ -204,7 +205,7 @@
|
||||||
"Common.Views.SignSettingsDialog.textInfoTitle": "Signer Title",
|
"Common.Views.SignSettingsDialog.textInfoTitle": "Signer Title",
|
||||||
"Common.Views.SignSettingsDialog.textInstructions": "Instructions for Signer",
|
"Common.Views.SignSettingsDialog.textInstructions": "Instructions for Signer",
|
||||||
"Common.Views.SignSettingsDialog.textShowDate": "Show sign date in signature line",
|
"Common.Views.SignSettingsDialog.textShowDate": "Show sign date in signature line",
|
||||||
"Common.Views.SignSettingsDialog.textTitle": "Signature Settings",
|
"Common.Views.SignSettingsDialog.textTitle": "Signature Setup",
|
||||||
"Common.Views.SignSettingsDialog.txtEmpty": "This field is required",
|
"Common.Views.SignSettingsDialog.txtEmpty": "This field is required",
|
||||||
"SSE.Controllers.DocumentHolder.alignmentText": "Alignment",
|
"SSE.Controllers.DocumentHolder.alignmentText": "Alignment",
|
||||||
"SSE.Controllers.DocumentHolder.centerText": "Center",
|
"SSE.Controllers.DocumentHolder.centerText": "Center",
|
||||||
|
@ -366,7 +367,7 @@
|
||||||
"SSE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
"SSE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
||||||
"SSE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
"SSE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||||
"SSE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
"SSE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
||||||
"SSE.Controllers.Main.errorFilePassProtect": "The document is password protected and could not be opened.",
|
"SSE.Controllers.Main.errorFilePassProtect": "The file is password protected and cannot be opened.",
|
||||||
"SSE.Controllers.Main.errorFileRequest": "External error.<br>File request error. Please contact support in case the error persists.",
|
"SSE.Controllers.Main.errorFileRequest": "External error.<br>File request error. Please contact support in case the error persists.",
|
||||||
"SSE.Controllers.Main.errorFileVKey": "External error.<br>Incorrect security key. Please contact support in case the error persists.",
|
"SSE.Controllers.Main.errorFileVKey": "External error.<br>Incorrect security key. Please contact support in case the error persists.",
|
||||||
"SSE.Controllers.Main.errorFillRange": "Could not fill the selected range of cells.<br>All the merged cells need to be the same size.",
|
"SSE.Controllers.Main.errorFillRange": "Could not fill the selected range of cells.<br>All the merged cells need to be the same size.",
|
||||||
|
|
|
@ -523,7 +523,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#panel-protect {
|
#panel-protect {
|
||||||
label, span {
|
label {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,11 +47,11 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 32px;
|
top: 32px;
|
||||||
left: 48px;
|
left: 48px;
|
||||||
right: 45px;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
background-color: @gray-light;
|
background-color: @gray-light;
|
||||||
z-index: @zindex-tooltip + 1;
|
/*z-index: @zindex-tooltip + 1;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-schemas-menu {
|
.color-schemas-menu {
|
||||||
|
|
|
@ -1220,7 +1220,7 @@ define([
|
||||||
|
|
||||||
me._state.openDlg = uiApp.modal({
|
me._state.openDlg = uiApp.modal({
|
||||||
title: me.advDRMOptions,
|
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>',
|
afterText: '<div class="input-field"><input type="password" name="modal-password" placeholder="' + me.advDRMPassword + '" class="modal-text-input"></div>',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
@ -1352,7 +1352,7 @@ define([
|
||||||
errorKeyExpire: 'Key descriptor expired',
|
errorKeyExpire: 'Key descriptor expired',
|
||||||
errorUsersExceed: 'Count of users was exceed',
|
errorUsersExceed: 'Count of users was exceed',
|
||||||
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
errorCoAuthoringDisconnect: 'Server connection lost. You can\'t edit anymore.',
|
||||||
errorFilePassProtect: 'The document is password protected.',
|
errorFilePassProtect: 'The file is password protected and cannot be opened.',
|
||||||
txtBasicShapes: 'Basic Shapes',
|
txtBasicShapes: 'Basic Shapes',
|
||||||
txtFiguredArrows: 'Figured Arrows',
|
txtFiguredArrows: 'Figured Arrows',
|
||||||
txtMath: 'Math',
|
txtMath: 'Math',
|
||||||
|
@ -1450,7 +1450,8 @@ define([
|
||||||
txtStyle_Percent: 'Percent',
|
txtStyle_Percent: 'Percent',
|
||||||
txtStyle_Comma: 'Comma',
|
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.',
|
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 || {}))
|
})(), SSE.Controllers.Main || {}))
|
||||||
});
|
});
|
|
@ -93,6 +93,7 @@
|
||||||
"SSE.Controllers.EditHyperlink.textInvalidRange": "Invalid cells range",
|
"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.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.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.advDRMEnterPassword": "Enter your password:",
|
||||||
"SSE.Controllers.Main.advDRMOptions": "Protected File",
|
"SSE.Controllers.Main.advDRMOptions": "Protected File",
|
||||||
"SSE.Controllers.Main.advDRMPassword": "Password",
|
"SSE.Controllers.Main.advDRMPassword": "Password",
|
||||||
|
@ -123,7 +124,7 @@
|
||||||
"SSE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
"SSE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please contact support in case the error persists.",
|
||||||
"SSE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
"SSE.Controllers.Main.errorDataRange": "Incorrect data range.",
|
||||||
"SSE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
"SSE.Controllers.Main.errorDefaultMessage": "Error code: %1",
|
||||||
"SSE.Controllers.Main.errorFilePassProtect": "The document is password protected and could not be opened.",
|
"SSE.Controllers.Main.errorFilePassProtect": "The file is password protected and cannot be opened.",
|
||||||
"SSE.Controllers.Main.errorFileRequest": "External error.<br>File request error. Please contact support in case the error persists.",
|
"SSE.Controllers.Main.errorFileRequest": "External error.<br>File request error. Please contact support in case the error persists.",
|
||||||
"SSE.Controllers.Main.errorFileVKey": "External error.<br>Incorrect security key. Please contact support in case the error persists.",
|
"SSE.Controllers.Main.errorFileVKey": "External error.<br>Incorrect security key. Please contact support in case the error persists.",
|
||||||
"SSE.Controllers.Main.errorFillRange": "Could not fill the selected range of cells.<br>All the merged cells need to be the same size.",
|
"SSE.Controllers.Main.errorFillRange": "Could not fill the selected range of cells.<br>All the merged cells need to be the same size.",
|
||||||
|
|
Loading…
Reference in a new issue