9e91662ac7
This patch adds Mottie keyboard (https://github.com/Mottie/Keyboard) to advanced editor. To test: 1) Apply patches 2) perl install/data/mysql/updatedatabase.pl 3) Enable EnableAdvancedCatalogingEditor system preference 4) Go to cataloguing and to Advanced editor 5) Click on Keyboard shortcuts SUCCESS => the keyboard shortcut "Ctrl-K" should be displayed, with "Toggle keyboard" as description 6) press Ctrl-K SUCCESS => a virtual keyboard should be displayed, and a new toolbar button labeled "Keyboard layout" should appear. => when you press a letter on both the physical and virtual keyboard, they should be added to the editor. 7) Click on "Keyboard layout" SUCCESS => a modal should appear, where you can filter and select keyboard layouts. => when you select a layout, it should be reflected on the keyboard. => when you close the modal without selecting a layout, it should keep using the previous layout. 8) Sign off Sponsored-by: Round Rock Public Library Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
16 lines
963 B
PHP
16 lines
963 B
PHP
[%- BLOCK keyboard_shortcut_descriptions -%]
|
|
[% SWITCH shortcut_name %]
|
|
[%- CASE 'insert_copyright' -%]<span>Insert copyright symbol (©)</span>
|
|
[%- CASE 'insert_copyright_sound' -%]<span>Insert copyright symbol (℗) (sound recordings)</span>
|
|
[%- CASE 'insert_delimiter' -%]<span>Insert delimiter (‡)</span>
|
|
[%- CASE 'subfield_help' -%]<span>Get help on current subfield</span>
|
|
[%- CASE 'link_authorities' -%]<span>Link field to authorities</span>
|
|
[%- CASE 'delete_field' -%]<span>Delete current field</span>
|
|
[%- CASE 'delete_subfield' -%]<span>Delete current subfield</span>
|
|
[%- CASE 'new_line' -%]<span>New field on next line</span>
|
|
[%- CASE 'line_break' -%]<span>Insert line break</span>
|
|
[%- CASE 'next_position' -%]<span>Move to next position</span>
|
|
[%- CASE 'prev_position' -%]<span>Move to previous position</span>
|
|
[%- CASE 'toggle_keyboard' -%]<span>Toggle Keyboard</span>
|
|
[%- END -%]
|
|
[%- END -%]
|