mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 04:45:08 +08:00
Merge pull request #3069 from ONLYOFFICE/feature/screen-readers
[DE PE SSE PDF] Fix bug 67588
This commit is contained in:
@ -143,7 +143,7 @@ define([
|
||||
|
||||
var templateTitleBox = '<section id="box-document-title">' +
|
||||
'<div class="extra"></div>' +
|
||||
'<div class="hedset">' +
|
||||
'<div class="hedset" role="menubar" aria-label="<%= scope.ariaQuickAccessToolbar %>">' +
|
||||
'<div class="btn-slot" id="slot-btn-dt-home"></div>' +
|
||||
'<div class="btn-slot" id="slot-btn-dt-save" data-layout-name="header-save"></div>' +
|
||||
'<div class="btn-slot" id="slot-btn-dt-print"></div>' +
|
||||
@ -999,7 +999,7 @@ define([
|
||||
return $html;
|
||||
} else
|
||||
if ( role == 'title' ) {
|
||||
var $html = $(_.template(templateTitleBox)());
|
||||
var $html = $(_.template(templateTitleBox)({scope: me}));
|
||||
|
||||
!!$labelDocName && $labelDocName.hide().off(); // hide document title if it was created in right box
|
||||
$labelDocName = $html.find('#title-doc-name');
|
||||
@ -1365,7 +1365,8 @@ define([
|
||||
helpDocMode: 'Easily change the way you work on a document: edit, review and track changes, or view only. This works individually for each user. So, you won’t affect or disturb other co-authors. ',
|
||||
helpDocModeHeader: 'Switch between modes',
|
||||
helpQuickAccess: 'Hide or show the functional buttons of your choice.',
|
||||
helpQuickAccessHeader: 'Customize Quick Access'
|
||||
helpQuickAccessHeader: 'Customize Quick Access',
|
||||
ariaQuickAccessToolbar: 'Quick access toolbar'
|
||||
}
|
||||
}(), Common.Views.Header || {}))
|
||||
});
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<div class="panel-menu">
|
||||
<div class="panel-menu" role="menubar" aria-label="<%= scope.ariaFileMenu %>">
|
||||
<li class="fm-first-item"></li>
|
||||
<li id="fm-btn-return" class="fm-btn" data-layout-name="toolbar-file-close"></li>
|
||||
<li class="devider"></li>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div id="view-left-menu" class="tool-menu left">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="Left menu">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="<%= scope.ariaLeftMenu %>">
|
||||
<button id="left-btn-searchbar" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target="left-panel-search"><i class="icon toolbar__icon btn-menu-search"> </i></button>
|
||||
<!-- /** coauthoring begin **/ -->
|
||||
<button id="left-btn-comments" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target="left-panel-comments"><i class="icon toolbar__icon btn-menu-comments"> </i></button>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<div id="id-form-settings" class="settings-panel">
|
||||
</div>
|
||||
</div>
|
||||
<div class="tool-menu-btns" role="menubar" aria-label="Right menu" aria-orientation="vertical">
|
||||
<div class="tool-menu-btns" role="menubar" aria-label="<%= scope.ariaRightMenu %>" aria-orientation="vertical">
|
||||
<div class="ct-btn-category arrow-left"></div>
|
||||
<button id="id-right-menu-text" class="btn btn-category arrow-left" data-hint="0" data-hint-direction="left" data-hint-offset="big" content-target="id-paragraph-settings"><i class="icon toolbar__icon btn-paragraph"> </i></button>
|
||||
<button id="id-right-menu-table" class="btn btn-category arrow-left" data-hint="0" data-hint-direction="left" data-hint-offset="big" content-target="id-table-settings"><i class="icon toolbar__icon btn-menu-table"> </i></button>
|
||||
|
||||
@ -94,7 +94,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template());
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.miClose = new Common.UI.MenuItem({
|
||||
el : $markup.elementById('#fm-btn-return'),
|
||||
@ -675,6 +675,7 @@ define([
|
||||
btnSaveCopyAsCaption : 'Save Copy as...',
|
||||
btnExitCaption : 'Exit',
|
||||
btnFileOpenCaption : 'Open...',
|
||||
btnCloseEditor : 'Close File'
|
||||
btnCloseEditor : 'Close File',
|
||||
ariaFileMenu : 'File menu'
|
||||
}, DE.Views.FileMenu || {}));
|
||||
});
|
||||
|
||||
@ -72,7 +72,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template({}));
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.btnMoreContainer = $markup.find('#slot-left-menu-more');
|
||||
Common.UI.SideMenu.prototype.render.call(this);
|
||||
@ -520,6 +520,7 @@ define([
|
||||
tipNavigation: 'Navigation',
|
||||
tipOutline: 'Headings',
|
||||
txtLimit: 'Limit Access',
|
||||
txtEditor: 'Document Editor'
|
||||
txtEditor: 'Document Editor',
|
||||
ariaLeftMenu: 'Left menu'
|
||||
}, DE.Views.LeftMenu || {}));
|
||||
});
|
||||
|
||||
@ -163,7 +163,7 @@ define([
|
||||
this.$el.css('width', ((open) ? MENU_SCALE_PART : SCALE_MIN) + 'px');
|
||||
this.$el.show();
|
||||
|
||||
var $markup = $(this.template({}));
|
||||
var $markup = $(this.template({scope: this}));
|
||||
this.$el.html($markup);
|
||||
|
||||
this.btnMoreContainer = $markup.find('#slot-right-menu-more');
|
||||
@ -386,6 +386,7 @@ define([
|
||||
txtChartSettings: 'Chart Settings',
|
||||
txtMailMergeSettings: 'Mail Merge Settings',
|
||||
txtSignatureSettings: 'Signature Settings',
|
||||
txtFormSettings: 'Form Settings'
|
||||
txtFormSettings: 'Form Settings',
|
||||
ariaRightMenu: 'Right menu'
|
||||
}, DE.Views.RightMenu || {}));
|
||||
});
|
||||
@ -577,6 +577,7 @@
|
||||
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
||||
"Common.Views.Header.txtAccessRights": "Change access rights",
|
||||
"Common.Views.Header.txtRename": "Rename",
|
||||
"Common.Views.Header.ariaQuickAccessToolbar": "Quick access toolbar",
|
||||
"Common.Views.History.textVersionHistory": "Version History",
|
||||
"Common.Views.History.textHighlightDeleted": "Highlight deleted",
|
||||
"Common.Views.History.textHideAll": "Hide detailed changes",
|
||||
@ -2133,6 +2134,7 @@
|
||||
"DE.Views.FileMenu.btnSettingsCaption": "Advanced Settings",
|
||||
"DE.Views.FileMenu.btnToEditCaption": "Edit Document",
|
||||
"DE.Views.FileMenu.textDownload": "Download",
|
||||
"DE.Views.FileMenu.ariaFileMenu": "File menu",
|
||||
"DE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank document",
|
||||
"DE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New",
|
||||
"DE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
||||
@ -2554,6 +2556,7 @@
|
||||
"DE.Views.LeftMenu.txtLimit": "Limit access",
|
||||
"DE.Views.LeftMenu.txtTrial": "TRIAL MODE",
|
||||
"DE.Views.LeftMenu.txtTrialDev": "Trial Developer Mode",
|
||||
"DE.Views.LeftMenu.ariaLeftMenu": "Left menu",
|
||||
"DE.Views.LineNumbersDialog.textAddLineNumbering": "Add line numbering",
|
||||
"DE.Views.LineNumbersDialog.textApplyTo": "Apply changes to",
|
||||
"DE.Views.LineNumbersDialog.textContinuous": "Continuous",
|
||||
@ -2935,6 +2938,7 @@
|
||||
"DE.Views.RightMenu.txtSignatureSettings": "Signature settings",
|
||||
"DE.Views.RightMenu.txtTableSettings": "Table settings",
|
||||
"DE.Views.RightMenu.txtTextArtSettings": "Text Art settings",
|
||||
"DE.Views.RightMenu.ariaRightMenu": "Right menu",
|
||||
"DE.Views.RoleDeleteDlg.textLabel": "To delete this role, you need to move the fields associated with it to another role.",
|
||||
"DE.Views.RoleDeleteDlg.textSelect": "Select for field merger role",
|
||||
"DE.Views.RoleDeleteDlg.textTitle": "Delete role",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<div class="panel-menu">
|
||||
<div class="panel-menu" role="menubar" aria-label="<%= scope.ariaFileMenu %>">
|
||||
<li class="fm-first-item"></li>
|
||||
<li id="fm-btn-return" class="fm-btn" data-layout-name="toolbar-file-close"></li>
|
||||
<li class="devider"></li>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div id="view-left-menu" class="tool-menu left">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="Left menu">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="<%= scope.ariaLeftMenu %>">
|
||||
<button id="left-btn-searchbar" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target="left-panel-search"><i class="icon toolbar__icon btn-menu-search"> </i></button>
|
||||
<!-- /** coauthoring begin **/ -->
|
||||
<button id="left-btn-comments" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target="left-panel-comments"><i class="icon toolbar__icon btn-menu-comments"> </i></button>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<!-- <div id="id-signature-settings" class="settings-panel">-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div class="tool-menu-btns">
|
||||
<div class="tool-menu-btns" role="menubar" aria-label="<%= scope.ariaRightMenu %>" aria-orientation="vertical">
|
||||
<div class="ct-btn-category arrow-left"></div>
|
||||
<button id="id-right-menu-shape" class="btn btn-category arrow-left" content-target="id-shape-settings" data-hint="0" data-hint-direction="left" data-hint-offset="big"><i class="icon toolbar__icon btn-menu-shape"> </i></button>
|
||||
<button id="id-right-menu-image" class="btn btn-category arrow-left" content-target="id-image-settings" data-hint="0" data-hint-direction="left" data-hint-offset="big"><i class="icon toolbar__icon btn-menu-image"> </i></button>
|
||||
|
||||
@ -94,7 +94,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template());
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.miClose = new Common.UI.MenuItem({
|
||||
el : $markup.elementById('#fm-btn-return'),
|
||||
@ -643,6 +643,7 @@ define([
|
||||
btnSaveCopyAsCaption : 'Save Copy as...',
|
||||
btnExitCaption : 'Exit',
|
||||
btnFileOpenCaption : 'Open...',
|
||||
btnCloseEditor : 'Close File'
|
||||
btnCloseEditor : 'Close File',
|
||||
ariaFileMenu : 'File menu'
|
||||
}, PDFE.Views.FileMenu || {}));
|
||||
});
|
||||
|
||||
@ -71,7 +71,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template({}));
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.btnMoreContainer = $markup.find('#slot-left-menu-more');
|
||||
Common.UI.SideMenu.prototype.render.call(this);
|
||||
@ -507,6 +507,7 @@ define([
|
||||
tipNavigation: 'Navigation',
|
||||
tipOutline: 'Headings',
|
||||
txtLimit: 'Limit Access',
|
||||
txtEditor: 'PDF Editor'
|
||||
txtEditor: 'PDF Editor',
|
||||
ariaLeftMenu: 'Left menu'
|
||||
}, PDFE.Views.LeftMenu || {}));
|
||||
});
|
||||
|
||||
@ -152,7 +152,7 @@ define([
|
||||
// el.css('width', ((open) ? MENU_SCALE_PART : SCALE_MIN) + 'px');
|
||||
el.show();
|
||||
|
||||
el.html(this.template({}));
|
||||
el.html(this.template({scope: this}));
|
||||
|
||||
this.btnMoreContainer = $('#slot-right-menu-more');
|
||||
Common.UI.SideMenu.prototype.render.call(this);
|
||||
@ -324,6 +324,7 @@ define([
|
||||
txtShapeSettings: 'Shape Settings',
|
||||
txtTextArtSettings: 'Text Art Settings',
|
||||
txtChartSettings: 'Chart Settings',
|
||||
txtSignatureSettings: 'Signature Settings'
|
||||
txtSignatureSettings: 'Signature Settings',
|
||||
ariaRightMenu: 'Right menu'
|
||||
}, PDFE.Views.RightMenu || {}));
|
||||
});
|
||||
@ -239,6 +239,7 @@
|
||||
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
||||
"Common.Views.Header.txtAccessRights": "Change access rights",
|
||||
"Common.Views.Header.txtRename": "Rename",
|
||||
"Common.Views.Header.ariaQuickAccessToolbar": "Quick access toolbar",
|
||||
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
|
||||
"Common.Views.ImageFromUrlDialog.txtEmpty": "This field is required",
|
||||
"Common.Views.ImageFromUrlDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
|
||||
@ -1233,6 +1234,7 @@
|
||||
"PDFE.Views.FileMenu.btnSettingsCaption": "Advanced Settings",
|
||||
"PDFE.Views.FileMenu.btnToEditCaption": "Edit Document",
|
||||
"PDFE.Views.FileMenu.textDownload": "Download",
|
||||
"PDFE.Views.FileMenu.ariaFileMenu": "File menu",
|
||||
"PDFE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Document",
|
||||
"PDFE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create new",
|
||||
"PDFE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
||||
@ -1477,6 +1479,7 @@
|
||||
"PDFE.Views.LeftMenu.txtLimit": "Limit Access",
|
||||
"PDFE.Views.LeftMenu.txtTrial": "TRIAL MODE",
|
||||
"PDFE.Views.LeftMenu.txtTrialDev": "Trial Developer Mode",
|
||||
"PDFE.Views.LeftMenu.ariaLeftMenu": "Left menu",
|
||||
"PDFE.Views.Navigation.strNavigate": "Headings",
|
||||
"PDFE.Views.Navigation.txtClosePanel": "Close headings",
|
||||
"PDFE.Views.Navigation.txtCollapse": "Collapse all",
|
||||
@ -1582,6 +1585,7 @@
|
||||
"PDFE.Views.RightMenu.txtShapeSettings": "Shape settings",
|
||||
"PDFE.Views.RightMenu.txtTableSettings": "Table settings",
|
||||
"PDFE.Views.RightMenu.txtTextArtSettings": "Text Art settings",
|
||||
"PDFE.Views.RightMenu.ariaRightMenu": "Right menu",
|
||||
"PDFE.Views.ShapeSettings.strBackground": "Background color",
|
||||
"PDFE.Views.ShapeSettings.strChange": "Change shape",
|
||||
"PDFE.Views.ShapeSettings.strColor": "Color",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<div class="panel-menu">
|
||||
<div class="panel-menu" role="menubar" aria-label="<%= scope.ariaFileMenu %>">
|
||||
<li class="fm-first-item"></li>
|
||||
<li id="fm-btn-return" class="fm-btn" data-layout-name="toolbar-file-close"></li>
|
||||
<li class="devider"></li>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div id="view-left-menu" class="tool-menu left">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="Left menu">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="<%= scope.ariaLeftMenu %>">
|
||||
<button id="left-btn-searchbar" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target="left-panel-search"><i class="icon toolbar__icon btn-menu-search"> </i></button>
|
||||
<button id="left-btn-thumbs" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-thumbs"> </i></button>
|
||||
<!-- /** coauthoring begin **/ -->
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
<div id="id-signature-settings" class="settings-panel">
|
||||
</div>
|
||||
</div>
|
||||
<div class="tool-menu-btns" role="menubar" aria-label="Right menu" aria-orientation="vertical">
|
||||
<div class="tool-menu-btns" role="menubar" aria-label="<%= scope.ariaRightMenu %>" aria-orientation="vertical">
|
||||
<div class="ct-btn-category arrow-left"></div>
|
||||
<button id="id-right-menu-slide" class="btn btn-category arrow-left" content-target="id-slide-settings" data-hint="0" data-hint-direction="left" data-hint-offset="big"><i class="icon toolbar__icon btn-menu-slide"> </i></button>
|
||||
<button id="id-right-menu-shape" class="btn btn-category arrow-left" content-target="id-shape-settings" data-hint="0" data-hint-direction="left" data-hint-offset="big"><i class="icon toolbar__icon btn-menu-shape"> </i></button>
|
||||
|
||||
@ -93,7 +93,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template());
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.miClose = new Common.UI.MenuItem({
|
||||
el : $markup.elementById('#fm-btn-return'),
|
||||
@ -680,6 +680,7 @@ define([
|
||||
btnHistoryCaption : 'Versions History',
|
||||
btnExitCaption : 'Exit',
|
||||
btnFileOpenCaption : 'Open...',
|
||||
btnCloseEditor : 'Close File'
|
||||
btnCloseEditor : 'Close File',
|
||||
ariaFileMenu : 'File menu'
|
||||
}, PE.Views.FileMenu || {}));
|
||||
});
|
||||
|
||||
@ -70,7 +70,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template({}));
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.btnMoreContainer = $markup.find('#slot-left-menu-more');
|
||||
Common.UI.SideMenu.prototype.render.call(this);
|
||||
@ -473,6 +473,7 @@ define([
|
||||
txtTrial: 'TRIAL MODE',
|
||||
txtTrialDev: 'Trial Developer Mode',
|
||||
txtLimit: 'Limit Access',
|
||||
txtEditor: 'Presentation Editor'
|
||||
txtEditor: 'Presentation Editor',
|
||||
ariaLeftMenu: 'Left menu'
|
||||
}, PE.Views.LeftMenu || {}));
|
||||
});
|
||||
|
||||
@ -162,7 +162,7 @@ define([
|
||||
el.css('width', ((open) ? MENU_SCALE_PART : SCALE_MIN) + 'px');
|
||||
el.show();
|
||||
|
||||
el.html(this.template({}));
|
||||
el.html(this.template({scope: this}));
|
||||
|
||||
this.btnMoreContainer = $('#slot-right-menu-more');
|
||||
Common.UI.SideMenu.prototype.render.call(this);
|
||||
@ -341,6 +341,7 @@ define([
|
||||
txtTextArtSettings: 'Text Art Settings',
|
||||
txtSlideSettings: 'Slide Settings',
|
||||
txtChartSettings: 'Chart Settings',
|
||||
txtSignatureSettings: 'Signature Settings'
|
||||
txtSignatureSettings: 'Signature Settings',
|
||||
ariaRightMenu: 'Right menu'
|
||||
}, PE.Views.RightMenu || {}));
|
||||
});
|
||||
@ -657,6 +657,7 @@
|
||||
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
||||
"Common.Views.Header.txtAccessRights": "Change access rights",
|
||||
"Common.Views.Header.txtRename": "Rename",
|
||||
"Common.Views.Header.ariaQuickAccessToolbar": "Quick access toolbar",
|
||||
"Common.Views.History.textVersionHistory": "Version History",
|
||||
"Common.Views.History.textHighlightDeleted": "Highlight deleted",
|
||||
"Common.Views.History.textHideAll": "Hide detailed changes",
|
||||
@ -2009,6 +2010,7 @@
|
||||
"PE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy As",
|
||||
"PE.Views.FileMenu.btnSettingsCaption": "Advanced Settings",
|
||||
"PE.Views.FileMenu.btnToEditCaption": "Edit Presentation",
|
||||
"PE.Views.FileMenu.ariaFileMenu": "File menu",
|
||||
"PE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Presentation",
|
||||
"PE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New",
|
||||
"PE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
||||
@ -2208,6 +2210,7 @@
|
||||
"PE.Views.LeftMenu.txtLimit": "Limit access",
|
||||
"PE.Views.LeftMenu.txtTrial": "TRIAL MODE",
|
||||
"PE.Views.LeftMenu.txtTrialDev": "Trial Developer Mode",
|
||||
"PE.Views.LeftMenu.ariaLeftMenu": "Left menu",
|
||||
"PE.Views.ParagraphSettings.strLineHeight": "Line spacing",
|
||||
"PE.Views.ParagraphSettings.strParagraphSpacing": "Paragraph spacing",
|
||||
"PE.Views.ParagraphSettings.strSpacingAfter": "After",
|
||||
@ -2283,6 +2286,7 @@
|
||||
"PE.Views.RightMenu.txtSlideSettings": "Slide settings",
|
||||
"PE.Views.RightMenu.txtTableSettings": "Table settings",
|
||||
"PE.Views.RightMenu.txtTextArtSettings": "Text Art settings",
|
||||
"PE.Views.RightMenu.ariaRightMenu": "Right menu",
|
||||
"PE.Views.ShapeSettings.strBackground": "Background color",
|
||||
"PE.Views.ShapeSettings.strChange": "Change shape",
|
||||
"PE.Views.ShapeSettings.strColor": "Color",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<div class="panel-menu">
|
||||
<div class="panel-menu" role="menubar" aria-label="<%= scope.ariaFileMenu %>">
|
||||
<li class="fm-first-item"></li>
|
||||
<li id="fm-btn-return" class="fm-btn" data-layout-name="toolbar-file-close"></li>
|
||||
<li class="devider"></li>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div id="view-left-menu" class="tool-menu left">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="Left menu">
|
||||
<div class="tool-menu-btns" role="menubar" aria-orientation="vertical" aria-label="<%= scope.ariaLeftMenu %>">
|
||||
<button id="left-btn-searchbar" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target="left-panel-search"><i class="icon toolbar__icon btn-menu-search"> </i></button>
|
||||
<!-- /** coauthoring begin **/ -->
|
||||
<button id="left-btn-comments" class="btn btn-category" content-target="left-panel-comments" data-hint="0" data-hint-direction="right" data-hint-offset="big"><i class="icon toolbar__icon btn-menu-comments"> </i></button>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<div id="id-slicer-settings" class="settings-panel">
|
||||
</div>
|
||||
</div>
|
||||
<div class="tool-menu-btns" role="menubar" aria-label="Right menu" aria-orientation="vertical">
|
||||
<div class="tool-menu-btns" role="menubar" aria-label="<%= scope.ariaRightMenu %>" aria-orientation="vertical">
|
||||
<div class="ct-btn-category arrow-left"></div>
|
||||
<button id="id-right-menu-cell" class="btn btn-category arrow-left" data-hint="0" data-hint-direction="left" data-hint-offset="big" content-target="id-cell-settings"><i class="icon toolbar__icon btn-menu-cell"> </i></button>
|
||||
<button id="id-right-menu-table" class="btn btn-category arrow-left" data-hint="0" data-hint-direction="left" data-hint-offset="big" content-target="id-table-settings"><i class="icon toolbar__icon btn-menu-table"> </i></button>
|
||||
|
||||
@ -80,7 +80,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template());
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.miClose = new Common.UI.MenuItem({
|
||||
el : $markup.elementById('#fm-btn-return'),
|
||||
@ -656,6 +656,7 @@ define([
|
||||
btnExitCaption : 'Exit',
|
||||
btnFileOpenCaption : 'Open...',
|
||||
btnExportToPDFCaption : 'Export to PDF',
|
||||
btnCloseEditor : 'Close File'
|
||||
btnCloseEditor : 'Close File',
|
||||
ariaFileMenu : 'File menu'
|
||||
}, SSE.Views.FileMenu || {}));
|
||||
});
|
||||
|
||||
@ -62,7 +62,7 @@ define([
|
||||
},
|
||||
|
||||
render: function () {
|
||||
var $markup = $(this.template({}));
|
||||
var $markup = $(this.template({scope: this}));
|
||||
|
||||
this.btnMoreContainer = $markup.find('#slot-left-menu-more');
|
||||
Common.UI.SideMenu.prototype.render.call(this);
|
||||
@ -456,6 +456,7 @@ define([
|
||||
tipSpellcheck: 'Spell checking',
|
||||
txtTrialDev: 'Trial Developer Mode',
|
||||
txtLimit: 'Limit Access',
|
||||
txtEditor: 'Spreadsheet Editor'
|
||||
txtEditor: 'Spreadsheet Editor',
|
||||
ariaLeftMenu: 'Left menu'
|
||||
}, SSE.Views.LeftMenu || {}));
|
||||
});
|
||||
|
||||
@ -188,7 +188,7 @@ define([
|
||||
el.css('z-index', 101);
|
||||
el.show();
|
||||
|
||||
el.html(this.template({}));
|
||||
el.html(this.template({scope: this}));
|
||||
|
||||
this.btnMoreContainer = $('#slot-right-menu-more');
|
||||
Common.UI.SideMenu.prototype.render.call(this);
|
||||
@ -382,6 +382,7 @@ define([
|
||||
txtPivotSettings: 'Pivot Table Settings',
|
||||
txtSignatureSettings: 'Signature Settings',
|
||||
txtCellSettings: 'Cell Settings',
|
||||
txtSlicerSettings: 'Slicer Settings'
|
||||
txtSlicerSettings: 'Slicer Settings',
|
||||
ariaRightMenu: 'Right menu'
|
||||
}, SSE.Views.RightMenu || {}));
|
||||
});
|
||||
@ -494,6 +494,7 @@
|
||||
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
||||
"Common.Views.Header.txtAccessRights": "Change access rights",
|
||||
"Common.Views.Header.txtRename": "Rename",
|
||||
"Common.Views.Header.ariaQuickAccessToolbar": "Quick access toolbar",
|
||||
"Common.Views.History.textVersionHistory": "Version History",
|
||||
"Common.Views.History.textHighlightDeleted": "Highlight deleted",
|
||||
"Common.Views.History.textHideAll": "Hide detailed changes",
|
||||
@ -2614,6 +2615,7 @@
|
||||
"SSE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy As",
|
||||
"SSE.Views.FileMenu.btnSettingsCaption": "Advanced Settings",
|
||||
"SSE.Views.FileMenu.btnToEditCaption": "Edit Spreadsheet",
|
||||
"SSE.Views.FileMenu.ariaFileMenu": "File menu",
|
||||
"SSE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Spreadsheet",
|
||||
"SSE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New",
|
||||
"SSE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
||||
@ -3128,6 +3130,7 @@
|
||||
"SSE.Views.LeftMenu.txtLimit": "Limit access",
|
||||
"SSE.Views.LeftMenu.txtTrial": "TRIAL MODE",
|
||||
"SSE.Views.LeftMenu.txtTrialDev": "Trial Developer Mode",
|
||||
"SSE.Views.LeftMenu.ariaLeftMenu": "Left menu",
|
||||
"SSE.Views.MacroDialog.textMacro": "Macro name",
|
||||
"SSE.Views.MacroDialog.textTitle": "Assign macro",
|
||||
"SSE.Views.MainSettingsPrint.okButtonText": "Save",
|
||||
@ -3597,6 +3600,7 @@
|
||||
"SSE.Views.RightMenu.txtSparklineSettings": "Sparkline settings",
|
||||
"SSE.Views.RightMenu.txtTableSettings": "Table settings",
|
||||
"SSE.Views.RightMenu.txtTextArtSettings": "Text Art settings",
|
||||
"SSE.Views.RightMenu.ariaRightMenu": "Right menu",
|
||||
"SSE.Views.ScaleDialog.textAuto": "Auto",
|
||||
"SSE.Views.ScaleDialog.textError": "The entered value is incorrect.",
|
||||
"SSE.Views.ScaleDialog.textFewPages": "pages",
|
||||
|
||||
Reference in New Issue
Block a user