add translation for "open command palette" command
This commit is contained in:
parent
2c293694c0
commit
34b30b2bc2
3 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
{
|
||||
"shell": {
|
||||
"command": {
|
||||
"openCommandPalette": "Open command palette"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"welcome": {
|
||||
"title": "Hi, welcome!",
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{
|
||||
"shell": {
|
||||
"command": {
|
||||
"openCommandPalette": "Open commando palet"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"welcome": {
|
||||
"title": "Hoi, welkom!",
|
||||
|
|
|
@ -28,7 +28,7 @@ export default function Editor(props: ParentProps) {
|
|||
const lightness = createMemo(() => colorScheme() === ColorScheme.Light ? .9 : .2);
|
||||
|
||||
const commands = [
|
||||
createCommand('open command palette', () => {
|
||||
createCommand('shell.command.openCommandPalette', () => {
|
||||
commandPalette()?.show();
|
||||
}, { key: 'p', modifier: Modifier.Control | Modifier.Shift }),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue