mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 06:45:29 +02:00
Update subproject commit in l10n and zen-components
``
This commit is contained in:
parent
a9e0fca099
commit
c494973e16
3 changed files with 4 additions and 15 deletions
|
@ -15,7 +15,7 @@ export var ZenCustomizableUI = new class {
|
|||
{
|
||||
type: this.TYPE_TOOLBAR,
|
||||
defaultPlacements: [
|
||||
"PanelUI-menu-button", "zen-expand-sidebar-button", "zen-profile-button"
|
||||
"preferences-button", "zen-expand-sidebar-button", "zen-profile-button"
|
||||
],
|
||||
defaultCollapsed: null,
|
||||
}
|
||||
|
@ -71,8 +71,6 @@ export var ZenCustomizableUI = new class {
|
|||
</toolbar>
|
||||
`);
|
||||
window.document.getElementById('navigator-toolbox').prepend(sidebarBox);
|
||||
const sideBarTopButtons = window.document.getElementById('zen-sidebar-top-buttons')
|
||||
.querySelector('#zen-sidebar-top-buttons-customization-target');
|
||||
|
||||
const newTab = window.document.getElementById('vertical-tabs-newtab-button');
|
||||
newTab.classList.add('zen-sidebar-action-button');
|
||||
|
@ -81,13 +79,6 @@ export var ZenCustomizableUI = new class {
|
|||
wrapper.id = 'zen-workspaces-button';
|
||||
window.document.getElementById('zen-sidebar-icons-wrapper').prepend(wrapper);
|
||||
|
||||
const panelMenu = window.document.getElementById('PanelUI-menu-button');
|
||||
panelMenu.classList.add('zen-sidebar-action-button');
|
||||
panelMenu.setAttribute('cui-areatype', 'toolbar');
|
||||
panelMenu.setAttribute('removable', 'true');
|
||||
|
||||
sideBarTopButtons.prepend(panelMenu);
|
||||
|
||||
for (let id of this.defaultSidebarIcons) {
|
||||
const elem = window.document.getElementById(id);
|
||||
if (!elem) continue;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 072a6099b4faf381e555e8d98dbaedd7a3c8c773
|
||||
Subproject commit a8648e284b6addbc85fce367f6916808cd534cd1
|
|
@ -649,6 +649,7 @@ var zenMissingKeyboardShortcutL10n = {
|
|||
key_sanitize: "zen-key-sanitize",
|
||||
key_wrCaptureCmd: "zen-key-wr-capture-cmd",
|
||||
key_wrToggleCaptureSequenceCmd: "zen-key-wr-toggle-capture-sequence-cmd",
|
||||
key_undoCloseWindow: "zen-key-undo-close-window",
|
||||
|
||||
key_selectTab1: "zen-key-select-tab-1",
|
||||
key_selectTab2: "zen-key-select-tab-2",
|
||||
|
@ -723,10 +724,7 @@ var gZenCKSSettings = {
|
|||
const group = shortcut.getGroup();
|
||||
const keyInString = shortcut.toUserString();
|
||||
|
||||
const hasLabel = !l10nID;
|
||||
const labelValue = !hasLabel
|
||||
? l10nID
|
||||
: zenMissingKeyboardShortcutL10n[keyID];
|
||||
const labelValue = zenMissingKeyboardShortcutL10n[keyID] ?? l10nID;
|
||||
|
||||
let fragment = window.MozXULElement.parseXULToFragment(`
|
||||
<hbox class="${ZEN_CKS_CLASS_BASE}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue