mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
[VE] Add static shortcunts in hints
This commit is contained in:
@ -925,10 +925,9 @@ define([
|
||||
|
||||
if ( config.canPrint ) {
|
||||
this.btnPrint = createTitleButton('toolbar__icon icon--inverse btn-print', $html.findById('#slot-hbtn-print'), undefined, 'bottom', 'big', 'P');
|
||||
this.btnPrint.updateHint(this.tipPrint);
|
||||
this.shortcutHints.PrintPreviewAndPrint = {
|
||||
btn: me.btnPrint,
|
||||
label: me.tipPrint
|
||||
label: me.tipPrint + (!!window.VE ? (Common.Utils.String.platformKey('Ctrl+P')) : '')
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -119,7 +119,7 @@ define([
|
||||
VE.getController('Common.Controllers.Shortcuts').updateShortcutHints({
|
||||
OpenChatPanel: {
|
||||
btn: this.btnChat,
|
||||
label: this.tipChat
|
||||
label: this.tipChat + Common.Utils.String.platformKey('Alt+Q', ' (' + (Common.Utils.isMac ? Common.Utils.String.textCtrl + '+' : '') + '{0})')
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -57,11 +57,11 @@ define([
|
||||
VE.getController('Common.Controllers.Shortcuts').updateShortcutHints({
|
||||
ZoomOut: {
|
||||
btn: me.btnZoomDown,
|
||||
label: me.tipZoomOut
|
||||
label: me.tipZoomOut + Common.Utils.String.platformKey('Ctrl+-')
|
||||
},
|
||||
ZoomIn: {
|
||||
btn: me.btnZoomUp,
|
||||
label: me.tipZoomIn
|
||||
label: me.tipZoomIn + Common.Utils.String.platformKey('Ctrl++')
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user