diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf
index 7535206a4..1f71afd16 100644
--- a/src-ui/messages.xlf
+++ b/src-ui/messages.xlf
@@ -4985,7 +4985,7 @@
Keyboard shortcuts
src/app/components/common/hotkey-dialog/hotkey-dialog.component.ts
- 20
+ 22
diff --git a/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.spec.ts b/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.spec.ts
index ce11797a7..e96f9d3f1 100644
--- a/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.spec.ts
+++ b/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.spec.ts
@@ -29,7 +29,7 @@ describe('HotkeyDialogComponent', () => {
})
it('should format keys', () => {
- expect(component.formatKey('control.a')).toEqual('⌃ + a') // ⌃ + a
- expect(component.formatKey('control.a', true)).toEqual('⌘ + a') // ⌘ + a
+ expect(component.formatKey('control.a')).toEqual('⌃ a') // ⌃ + a
+ expect(component.formatKey('control.a', true)).toEqual('⌘ a') // ⌘ + a
})
})
diff --git a/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.ts b/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.ts
index f89d5be51..429e2db17 100644
--- a/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.ts
+++ b/src-ui/src/app/components/common/hotkey-dialog/hotkey-dialog.component.ts
@@ -9,6 +9,8 @@ const SYMBOLS = {
right: '→', // →
up: '↑', // ↑
down: '↓', // ↓
+ arrowleft: '←', // ←
+ arrowright: '→', // →
}
@Component({
@@ -33,6 +35,6 @@ export class HotkeyDialogComponent {
return key
.split('.')
.map((k) => SYMBOLS[k] || k)
- .join(' + ')
+ .join(' ')
}
}