Add toggle open/close entry attachments shortcut
This commit is contained in:
parent
b338c9b3c2
commit
a44ba4abcb
19 changed files with 19 additions and 0 deletions
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Artikel nach oben blättern",
|
||||
"page.keyboard_shortcuts.remove_feed": "Dieses Abonnement entfernen",
|
||||
"page.keyboard_shortcuts.go_to_search": "Fokus auf das Suchformular setzen",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Artikel Anhänge öffnen/schließen",
|
||||
"page.keyboard_shortcuts.close_modal": "Liste der Tastenkürzel schließen",
|
||||
"page.users.title": "Benutzer",
|
||||
"page.users.username": "Benutzername",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Μετακινηση στοιχείου στην κορυφή",
|
||||
"page.keyboard_shortcuts.remove_feed": "Κατάργηση αυτής της ροής",
|
||||
"page.keyboard_shortcuts.go_to_search": "Ορίστε εστίαση στη φόρμα αναζήτησης",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Κλείσιμο παραθύρου διαλόγου",
|
||||
"page.users.title": "Χρήστες",
|
||||
"page.users.username": "Χρήστης",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Scroll item to top",
|
||||
"page.keyboard_shortcuts.remove_feed": "Remove this feed",
|
||||
"page.keyboard_shortcuts.go_to_search": "Set focus on search form",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Close modal dialog",
|
||||
"page.users.title": "Users",
|
||||
"page.users.username": "Username",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Desplazar elemento hacia arriba",
|
||||
"page.keyboard_shortcuts.remove_feed": "Quitar esta fuente",
|
||||
"page.keyboard_shortcuts.go_to_search": "Centrarse en el cuadro de búsqueda",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Cerrar el cuadro de diálogo modal",
|
||||
"page.users.title": "Usuarios",
|
||||
"page.users.username": "Nombre de usuario",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Vieritä ylös",
|
||||
"page.keyboard_shortcuts.remove_feed": "Poista tämä syöte",
|
||||
"page.keyboard_shortcuts.go_to_search": "Aseta painopiste hakukenttään",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Sulje modaalinen valintaikkuna",
|
||||
"page.users.title": "Käyttäjät",
|
||||
"page.users.username": "Käyttäjätunnus",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Faire défiler l'élément vers le haut",
|
||||
"page.keyboard_shortcuts.remove_feed": "Supprimer ce flux",
|
||||
"page.keyboard_shortcuts.go_to_search": "Mettre le focus sur le champ de recherche",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Fermer la boite de dialogue",
|
||||
"page.users.title": "Utilisateurs",
|
||||
"page.users.username": "Nom d'utilisateur",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "आइटम को ऊपर तक स्क्रॉल करें",
|
||||
"page.keyboard_shortcuts.remove_feed": "यह फ़ीड हटाएं",
|
||||
"page.keyboard_shortcuts.go_to_search": "सर्च फॉर्म पर फोकस सेट करें",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "मोडल डायलॉग बंद करें",
|
||||
"page.users.title": "उपभोक्ता",
|
||||
"page.users.username": "यूसर्नेम",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Scorri l'articolo in alto",
|
||||
"page.keyboard_shortcuts.remove_feed": "Rimuovi questo feed",
|
||||
"page.keyboard_shortcuts.go_to_search": "Apri la casella di ricerca",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Chiudi la finestra di dialogo",
|
||||
"page.users.title": "Utenti",
|
||||
"page.users.username": "Nome utente",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "アイテムが上端になるようにスクロール",
|
||||
"page.keyboard_shortcuts.remove_feed": "このフィードを削除",
|
||||
"page.keyboard_shortcuts.go_to_search": "検索フォームに移動",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "モーダルダイアログを閉じる",
|
||||
"page.users.title": "ユーザー一覧",
|
||||
"page.users.username": "ユーザー名",
|
||||
|
|
|
@ -163,6 +163,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Scroll artikel naar boven",
|
||||
"page.keyboard_shortcuts.remove_feed": "Verwijder deze feed",
|
||||
"page.keyboard_shortcuts.go_to_search": "Focus instellen op zoekformulier",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Sluit dialoogscherm",
|
||||
"page.users.title": "Gebruikers",
|
||||
"page.users.username": "Gebruikersnaam",
|
||||
|
|
|
@ -164,6 +164,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Przewiń artykuł do góry",
|
||||
"page.keyboard_shortcuts.remove_feed": "Usuń ten kanał",
|
||||
"page.keyboard_shortcuts.go_to_search": "Ustaw fokus na formularzu wyszukiwania",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Zamknij listę skrótów klawiszowych",
|
||||
"page.users.title": "Użytkownicy",
|
||||
"page.users.username": "Nazwa użytkownika",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Role o item para cima",
|
||||
"page.keyboard_shortcuts.remove_feed": "Remover essa fonte",
|
||||
"page.keyboard_shortcuts.go_to_search": "Ir para o campo de busca",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Fechar janela",
|
||||
"page.users.title": "Usuários",
|
||||
"page.users.username": "Nome de usuário",
|
||||
|
|
|
@ -164,6 +164,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Прокрутите элемент вверх",
|
||||
"page.keyboard_shortcuts.remove_feed": "Удалить эту подписку",
|
||||
"page.keyboard_shortcuts.go_to_search": "Установить фокус в поисковой форме",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Закрыть модальный диалог",
|
||||
"page.users.title": "Пользователи",
|
||||
"page.users.username": "Имя пользователя",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Öğeyi en üste kaydır",
|
||||
"page.keyboard_shortcuts.remove_feed": "Bu beslemeyi kaldır",
|
||||
"page.keyboard_shortcuts.go_to_search": "Arama formuna odakla",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "İletişim kutusunu kapat",
|
||||
"page.users.title": "Kullanıcılar",
|
||||
"page.users.username": "Kullanıcı adı",
|
||||
|
|
|
@ -161,6 +161,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "Прокрутити запис догори",
|
||||
"page.keyboard_shortcuts.remove_feed": "Видалити цю стрічку",
|
||||
"page.keyboard_shortcuts.go_to_search": "Поставити фокус на поле пошуку",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "Закрити модальне діалогове вікно",
|
||||
"page.users.title": "Користувачі",
|
||||
"page.users.username": "Ім’я користувача",
|
||||
|
|
|
@ -160,6 +160,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "滚动到顶部",
|
||||
"page.keyboard_shortcuts.remove_feed": "删除此源",
|
||||
"page.keyboard_shortcuts.go_to_search": "将焦点放在搜索表单上",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "关闭对话窗口",
|
||||
"page.users.title": "用户",
|
||||
"page.users.username": "用户名",
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
"page.keyboard_shortcuts.scroll_item_to_top": "滾動到頂部",
|
||||
"page.keyboard_shortcuts.remove_feed": "刪除此Feed",
|
||||
"page.keyboard_shortcuts.go_to_search": "將焦點放在搜尋表單上",
|
||||
"page.keyboard_shortcuts.toggle_entry_attachments": "Toggle open/close entry attachments",
|
||||
"page.keyboard_shortcuts.close_modal": "關閉對話視窗",
|
||||
"page.users.title": "使用者",
|
||||
"page.users.username": "使用者名稱",
|
||||
|
|
|
@ -158,6 +158,7 @@
|
|||
<li>{{ t "page.keyboard_shortcuts.download_content" }} = <strong>d</strong></li>
|
||||
<li>{{ t "page.keyboard_shortcuts.toggle_bookmark_status" }} = <strong>f</strong></li>
|
||||
<li>{{ t "page.keyboard_shortcuts.save_article" }} = <strong>s</strong></li>
|
||||
<li>{{ t "page.keyboard_shortcuts.toggle_entry_attachments" }} = <strong>a</strong></li>
|
||||
<li>{{ t "page.keyboard_shortcuts.scroll_item_to_top" }} = <strong>z + t</strong></li>
|
||||
<li>{{ t "page.keyboard_shortcuts.refresh_all_feeds" }} = <strong>R</strong></li>
|
||||
<li>{{ t "page.keyboard_shortcuts.remove_feed" }} = <strong>#</strong></li>
|
||||
|
|
1
ui/static/js/bootstrap.js
vendored
1
ui/static/js/bootstrap.js
vendored
|
@ -35,6 +35,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
keyboardHandler.on("+", () => goToAddSubscription());
|
||||
keyboardHandler.on("#", () => unsubscribeFromFeed());
|
||||
keyboardHandler.on("/", (e) => setFocusToSearchInput(e));
|
||||
keyboardHandler.on("a", () => document.querySelector('.entry-enclosures').toggleAttribute('open'));
|
||||
keyboardHandler.on("Escape", () => ModalHandler.close());
|
||||
keyboardHandler.listen();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue