import{i18n as t}from"../i18n/i18n.js";import{ActionRegistration as o}from"../ui/ui.js";const e={resetView:"Reset view",switchToPanMode:"Switch to pan mode",switchToRotateMode:"Switch to rotate mode",zoomIn:"Zoom in",zoomOut:"Zoom out",panOrRotateUp:"Pan or rotate up",panOrRotateDown:"Pan or rotate down",panOrRotateLeft:"Pan or rotate left",panOrRotateRight:"Pan or rotate right"},i=t.registerUIStrings("layer_viewer/layer_viewer-meta.ts",e),n=t.getLazilyComputedLocalizedString.bind(void 0,i);o.registerActionExtension({actionId:"layers.reset-view",category:o.ActionCategory.LAYERS,title:n(e.resetView),bindings:[{shortcut:"0"}]}),o.registerActionExtension({actionId:"layers.pan-mode",category:o.ActionCategory.LAYERS,title:n(e.switchToPanMode),bindings:[{shortcut:"x"}]}),o.registerActionExtension({actionId:"layers.rotate-mode",category:o.ActionCategory.LAYERS,title:n(e.switchToRotateMode),bindings:[{shortcut:"v"}]}),o.registerActionExtension({actionId:"layers.zoom-in",category:o.ActionCategory.LAYERS,title:n(e.zoomIn),bindings:[{shortcut:"Shift+Plus"},{shortcut:"NumpadPlus"}]}),o.registerActionExtension({actionId:"layers.zoom-out",category:o.ActionCategory.LAYERS,title:n(e.zoomOut),bindings:[{shortcut:"Shift+Minus"},{shortcut:"NumpadMinus"}]}),o.registerActionExtension({actionId:"layers.up",category:o.ActionCategory.LAYERS,title:n(e.panOrRotateUp),bindings:[{shortcut:"Up"},{shortcut:"w"}]}),o.registerActionExtension({actionId:"layers.down",category:o.ActionCategory.LAYERS,title:n(e.panOrRotateDown),bindings:[{shortcut:"Down"},{shortcut:"s"}]}),o.registerActionExtension({actionId:"layers.left",category:o.ActionCategory.LAYERS,title:n(e.panOrRotateLeft),bindings:[{shortcut:"Left"},{shortcut:"a"}]}),o.registerActionExtension({actionId:"layers.right",category:o.ActionCategory.LAYERS,title:n(e.panOrRotateRight),bindings:[{shortcut:"Right"},{shortcut:"d"}]});export{e as UIStrings};
