A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: fix hotkey arrows (#8583)
shamoonb0dd77bfd8ed
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlfindex 7535206a4..1f71afd16 100644--- a/src-ui/messages.xlf+++ b/src-ui/messages.xlf@@ -4985,7 +4985,7 @@<source>Keyboard shortcuts</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/common/hotkey-dialog/hotkey-dialog.component.ts</context>- <context context-type="linenumber">20</context>+ <context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="4814285799071780083" datatype="html">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.tsindex 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.tsindex 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(' ')}}