|
@@ -1,12 +1,10 @@
|
|
|
(ns ^:bb-compatible frontend.modules.shortcut.dicts
|
|
(ns ^:bb-compatible frontend.modules.shortcut.dicts
|
|
|
"Provides dictionary entries for shortcuts"
|
|
"Provides dictionary entries for shortcuts"
|
|
|
(:require [medley.core :as medley]))
|
|
(:require [medley.core :as medley]))
|
|
|
-
|
|
|
|
|
(defn- decorate-namespace [k]
|
|
(defn- decorate-namespace [k]
|
|
|
(let [n (name k)
|
|
(let [n (name k)
|
|
|
ns (namespace k)]
|
|
ns (namespace k)]
|
|
|
(keyword (str "command." ns) n)))
|
|
(keyword (str "command." ns) n)))
|
|
|
-
|
|
|
|
|
(def ^:large-vars/data-var all-default-keyboard-shortcuts
|
|
(def ^:large-vars/data-var all-default-keyboard-shortcuts
|
|
|
{:date-picker/complete "Date picker: Choose selected day"
|
|
{:date-picker/complete "Date picker: Choose selected day"
|
|
|
:date-picker/prev-day "Date picker: Select previous day"
|
|
:date-picker/prev-day "Date picker: Select previous day"
|
|
@@ -115,7 +113,6 @@
|
|
|
:editor/toggle-open-blocks "Toggle open blocks (collapse or expand all blocks)"
|
|
:editor/toggle-open-blocks "Toggle open blocks (collapse or expand all blocks)"
|
|
|
:ui/toggle-cards "Toggle cards"
|
|
:ui/toggle-cards "Toggle cards"
|
|
|
:git/commit "Git commit message"})
|
|
:git/commit "Git commit message"})
|
|
|
-
|
|
|
|
|
(def category
|
|
(def category
|
|
|
{:shortcut.category/basics "Basics"
|
|
{:shortcut.category/basics "Basics"
|
|
|
:shortcut.category/formatting "Formatting"
|
|
:shortcut.category/formatting "Formatting"
|
|
@@ -125,7 +122,6 @@
|
|
|
:shortcut.category/block-selection "Block selection (press Esc to quit selection)"
|
|
:shortcut.category/block-selection "Block selection (press Esc to quit selection)"
|
|
|
:shortcut.category/toggle "Toggle"
|
|
:shortcut.category/toggle "Toggle"
|
|
|
:shortcut.category/others "Others"})
|
|
:shortcut.category/others "Others"})
|
|
|
-
|
|
|
|
|
(def ^:large-vars/data-var dicts
|
|
(def ^:large-vars/data-var dicts
|
|
|
{:en (merge
|
|
{:en (merge
|
|
|
;; Dynamically add this ns since command descriptions have to
|
|
;; Dynamically add this ns since command descriptions have to
|
|
@@ -133,6 +129,7 @@
|
|
|
;; have a namespce
|
|
;; have a namespce
|
|
|
(medley/map-keys decorate-namespace all-default-keyboard-shortcuts)
|
|
(medley/map-keys decorate-namespace all-default-keyboard-shortcuts)
|
|
|
category)
|
|
category)
|
|
|
|
|
+
|
|
|
:zh-CN {:shortcut.category/formatting "格式化"
|
|
:zh-CN {:shortcut.category/formatting "格式化"
|
|
|
:shortcut.category/basics "基础操作"
|
|
:shortcut.category/basics "基础操作"
|
|
|
:shortcut.category/navigating "移动"
|
|
:shortcut.category/navigating "移动"
|
|
@@ -198,7 +195,6 @@
|
|
|
:command.editor/open-edit "编辑选中块"
|
|
:command.editor/open-edit "编辑选中块"
|
|
|
:command.editor/delete-selection "删除选中块"
|
|
:command.editor/delete-selection "删除选中块"
|
|
|
:command.editor/toggle-open-blocks "切换折叠/展开所有块(非编辑状态)"}
|
|
:command.editor/toggle-open-blocks "切换折叠/展开所有块(非编辑状态)"}
|
|
|
-
|
|
|
|
|
:zh-Hant {:command.editor/indent "縮進塊標簽"
|
|
:zh-Hant {:command.editor/indent "縮進塊標簽"
|
|
|
:command.editor/outdent "取消縮進塊"
|
|
:command.editor/outdent "取消縮進塊"
|
|
|
:command.editor/move-block-up "向上移動塊"
|
|
:command.editor/move-block-up "向上移動塊"
|
|
@@ -221,7 +217,7 @@
|
|
|
:command.ui/toggle-theme "“在暗色/亮色主題之間切換”"
|
|
:command.ui/toggle-theme "“在暗色/亮色主題之間切換”"
|
|
|
:command.ui/toggle-right-sidebar "啟用/關閉右側欄"
|
|
:command.ui/toggle-right-sidebar "啟用/關閉右側欄"
|
|
|
:command.go/journals "跳轉到日記"}
|
|
:command.go/journals "跳轉到日記"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:de {:shortcut.category/formatting "Formatierung"
|
|
:de {:shortcut.category/formatting "Formatierung"
|
|
|
:command.editor/indent "Block einrücken"
|
|
:command.editor/indent "Block einrücken"
|
|
|
:command.editor/outdent "Block ausrücken"
|
|
:command.editor/outdent "Block ausrücken"
|
|
@@ -245,7 +241,6 @@
|
|
|
:command.git/commit "Git Commit-Nachricht"
|
|
:command.git/commit "Git Commit-Nachricht"
|
|
|
:command.editor/select-block-down "Block unterhalb auswählen"
|
|
:command.editor/select-block-down "Block unterhalb auswählen"
|
|
|
:command.editor/select-all-blocks "Alle Blöcke auswählen"}
|
|
:command.editor/select-all-blocks "Alle Blöcke auswählen"}
|
|
|
-
|
|
|
|
|
:fr {:shortcut.category/formatting "Formats"
|
|
:fr {:shortcut.category/formatting "Formats"
|
|
|
:command.editor/indent "Indenter un Bloc vers la droite"
|
|
:command.editor/indent "Indenter un Bloc vers la droite"
|
|
|
:command.editor/outdent "Indenter un Bloc vers la gauche"
|
|
:command.editor/outdent "Indenter un Bloc vers la gauche"
|
|
@@ -269,7 +264,7 @@
|
|
|
:command.ui/toggle-theme "Intervertir le thème foncé/clair"
|
|
:command.ui/toggle-theme "Intervertir le thème foncé/clair"
|
|
|
:command.ui/toggle-right-sidebar "Afficher/cacher la barre latérale"
|
|
:command.ui/toggle-right-sidebar "Afficher/cacher la barre latérale"
|
|
|
:command.go/journals "Aller au Journal"}
|
|
:command.go/journals "Aller au Journal"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:af {:shortcut.category/formatting "Formatering"
|
|
:af {:shortcut.category/formatting "Formatering"
|
|
|
:command.editor/indent "Ingekeepte blok oortjie"
|
|
:command.editor/indent "Ingekeepte blok oortjie"
|
|
|
:command.editor/outdent "Oningekeepte blok"
|
|
:command.editor/outdent "Oningekeepte blok"
|
|
@@ -293,7 +288,7 @@
|
|
|
:command.go/journals "Spring na joernale"
|
|
:command.go/journals "Spring na joernale"
|
|
|
:command.ui/toggle-theme "Wissel tussen donker/lig temas"
|
|
:command.ui/toggle-theme "Wissel tussen donker/lig temas"
|
|
|
:command.ui/toggle-right-sidebar "Wissel regter sybalk"}
|
|
:command.ui/toggle-right-sidebar "Wissel regter sybalk"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:es {:shortcut.category/formatting "Formato"
|
|
:es {:shortcut.category/formatting "Formato"
|
|
|
:shortcut.category/basics "Básico"
|
|
:shortcut.category/basics "Básico"
|
|
|
:shortcut.category/navigating "Navegación"
|
|
:shortcut.category/navigating "Navegación"
|
|
@@ -357,7 +352,7 @@
|
|
|
:command.editor/open-edit "Editar bloque seleccionado"
|
|
:command.editor/open-edit "Editar bloque seleccionado"
|
|
|
:command.editor/delete-selection "Eliminar bloques seleccionados"
|
|
:command.editor/delete-selection "Eliminar bloques seleccionados"
|
|
|
:command.editor/toggle-open-blocks "Alternar bloques abieros, (colapsar o expandir todos)"}
|
|
:command.editor/toggle-open-blocks "Alternar bloques abieros, (colapsar o expandir todos)"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:ru {:shortcut.category/formatting "Форматирование"
|
|
:ru {:shortcut.category/formatting "Форматирование"
|
|
|
:shortcut.category/basics "Базовые"
|
|
:shortcut.category/basics "Базовые"
|
|
|
:shortcut.category/navigating "Навигация"
|
|
:shortcut.category/navigating "Навигация"
|
|
@@ -421,7 +416,7 @@
|
|
|
:command.editor/open-edit "Редактировать выбранный блок"
|
|
:command.editor/open-edit "Редактировать выбранный блок"
|
|
|
:command.editor/delete-selection "Удалить выбранные блоки"
|
|
:command.editor/delete-selection "Удалить выбранные блоки"
|
|
|
:command.editor/toggle-open-blocks "Переключить открытые блоки (свернуть или развернуть все)"}
|
|
:command.editor/toggle-open-blocks "Переключить открытые блоки (свернуть или развернуть все)"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:nb-NO {:shortcut.category/formatting "Formatering"
|
|
:nb-NO {:shortcut.category/formatting "Formatering"
|
|
|
:shortcut.category/basics "Basis"
|
|
:shortcut.category/basics "Basis"
|
|
|
:shortcut.category/navigating "Navigasjon"
|
|
:shortcut.category/navigating "Navigasjon"
|
|
@@ -486,7 +481,7 @@
|
|
|
:command.editor/open-edit "Rediger valgt blokk"
|
|
:command.editor/open-edit "Rediger valgt blokk"
|
|
|
:command.editor/delete-selection "Slett valgte blokker"
|
|
:command.editor/delete-selection "Slett valgte blokker"
|
|
|
:command.editor/toggle-open-blocks "Veksle åpne blokker (slå sammen eller utvid alle blokker)"}
|
|
:command.editor/toggle-open-blocks "Veksle åpne blokker (slå sammen eller utvid alle blokker)"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:pt-PT {:shortcut.category/formatting "Formatação"
|
|
:pt-PT {:shortcut.category/formatting "Formatação"
|
|
|
:shortcut.category/basics "Básico"
|
|
:shortcut.category/basics "Básico"
|
|
|
:shortcut.category/navigating "Navegação"
|
|
:shortcut.category/navigating "Navegação"
|
|
@@ -550,7 +545,7 @@
|
|
|
:command.editor/open-edit "Editar bloco selecionado"
|
|
:command.editor/open-edit "Editar bloco selecionado"
|
|
|
:command.editor/delete-selection "Eliminar blocos selecionados"
|
|
:command.editor/delete-selection "Eliminar blocos selecionados"
|
|
|
:command.editor/toggle-open-blocks "Alternar blocos abertos (colapsar ou expandir todos)"}
|
|
:command.editor/toggle-open-blocks "Alternar blocos abertos (colapsar ou expandir todos)"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:pt-BR {:shortcut.category/formatting "Formatação"
|
|
:pt-BR {:shortcut.category/formatting "Formatação"
|
|
|
:shortcut.category/basics "Básico"
|
|
:shortcut.category/basics "Básico"
|
|
|
:shortcut.category/navigating "Navegação"
|
|
:shortcut.category/navigating "Navegação"
|
|
@@ -664,7 +659,7 @@
|
|
|
:command.misc/copy "Copiar (copiar seleção ou referência do bloco)"
|
|
:command.misc/copy "Copiar (copiar seleção ou referência do bloco)"
|
|
|
:command.ui/goto-plugins "Ir para o painel de plugins"
|
|
:command.ui/goto-plugins "Ir para o painel de plugins"
|
|
|
:command.ui/open-new-window "Abra uma nova janela"}
|
|
:command.ui/open-new-window "Abra uma nova janela"}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
:ja {:shortcut.category/formatting "フォーマット"
|
|
:ja {:shortcut.category/formatting "フォーマット"
|
|
|
:shortcut.category/basics "基本操作"
|
|
:shortcut.category/basics "基本操作"
|
|
|
:shortcut.category/navigating "ナビゲーション"
|
|
:shortcut.category/navigating "ナビゲーション"
|
|
@@ -781,6 +776,123 @@
|
|
|
:command.ui/goto-plugins "プラグインへ"
|
|
:command.ui/goto-plugins "プラグインへ"
|
|
|
:command.ui/select-theme-color "利用可能なテーマ色を選択"}
|
|
:command.ui/select-theme-color "利用可能なテーマ色を選択"}
|
|
|
|
|
|
|
|
|
|
+ :it {:command.date-picker/complete "Selettore data: scegli il giorno selezionato"
|
|
|
|
|
+ :command.date-picker/prev-day "Selettore data: Seleziona il giorno precedente"
|
|
|
|
|
+ :command.date-picker/next-day "Selettore data: Seleziona il giorno successivo"
|
|
|
|
|
+ :command.date-picker/prev-week "Selettore data: Seleziona la settimana precedente"
|
|
|
|
|
+ :command.date-picker/next-week "Selettore data: Seleziona la settimana successiva"
|
|
|
|
|
+ :command.pdf/previous-page "Pagina precedente del pdf corrente"
|
|
|
|
|
+ :command.pdf/next-page "Pagina successiva del pdf corrente"
|
|
|
|
|
+ :command.auto-complete/complete "Auto completamento: Scegli l'oggetto selezionato"
|
|
|
|
|
+ :command.auto-complete/prev "Auto completamento: Seleziona l'oggetto precedente"
|
|
|
|
|
+ :command.auto-complete/next "Auto completamento: Seleziona l'oggetto successivo"
|
|
|
|
|
+ :command.auto-complete/shift-complete "Auto completamento: Apri l'oggetto selezionato nella barra laterale"
|
|
|
|
|
+ :command.auto-complete/open-link "Auto completamento: Apri l'oggetto selezionato nel browser"
|
|
|
|
|
+ :command.cards/toggle-answers "Carte: mostra/nascondi risposte/chiusure"
|
|
|
|
|
+ :command.cards/next-card "Carte: prossima carta"
|
|
|
|
|
+ :command.cards/forgotten "Carte: dimenticato"
|
|
|
|
|
+ :command.cards/remembered "Carte: ricordato"
|
|
|
|
|
+ :command.cards/recall "Carte: ci ho messo un pò a ricordarlo"
|
|
|
|
|
+ :command.editor/escape-editing "Esci dalla modifica"
|
|
|
|
|
+ :command.editor/backspace "Tasto Backspace / Cancella all'indietro"
|
|
|
|
|
+ :command.editor/delete "Tasto Delete / Cancella avanti"
|
|
|
|
|
+ :command.editor/new-block "Crea un nuovo blocco"
|
|
|
|
|
+ :command.editor/new-line "Nuova riga accapo nel blocco attuale"
|
|
|
|
|
+ :command.editor/follow-link "Segui il link sotto al cursore"
|
|
|
|
|
+ :command.editor/open-link-in-sidebar "Apri il link nella barra laterale"
|
|
|
|
|
+ :command.editor/bold "Grassetto"
|
|
|
|
|
+ :command.editor/italics "Corsivo"
|
|
|
|
|
+ :command.editor/highlight "Evidenzia"
|
|
|
|
|
+ :command.editor/strike-through "Barrato"
|
|
|
|
|
+ :command.editor/clear-block "Elimina l'intero contenuto del blocco"
|
|
|
|
|
+ :command.editor/kill-line-before "Cancella la riga prima della posizione del cursore"
|
|
|
|
|
+ :command.editor/kill-line-after "Cancella la riga dopo la posizione del cursore"
|
|
|
|
|
+ :command.editor/beginning-of-block "Muovi il cursore all'inizio di un blocco"
|
|
|
|
|
+ :command.editor/end-of-block "Muovi il cursore alla fine di un blocco"
|
|
|
|
|
+ :command.editor/forward-word "Muovi il cursore in avanti di una parola"
|
|
|
|
|
+ :command.editor/backward-word "Muovi il cursore all'indietro di una parola"
|
|
|
|
|
+ :command.editor/forward-kill-word "Elimina una parola in avanti"
|
|
|
|
|
+ :command.editor/backward-kill-word "Elimina una parola all'indietro"
|
|
|
|
|
+ :command.editor/replace-block-reference-at-point "Sostituisci il riferimento di blocco con il suo contenuto al punto"
|
|
|
|
|
+ :command.editor/paste-text-in-one-block-at-point "Incolla testo in un blocco al punto"
|
|
|
|
|
+ :command.editor/insert-youtube-timestamp "Inserisci marca temporale di youtube"
|
|
|
|
|
+ :command.editor/cycle-todo "Cicla lo stato TODO dell'elemento corrente"
|
|
|
|
|
+ :command.editor/up "Muovi il cursore sopra / Seleziona sopra"
|
|
|
|
|
+ :command.editor/down "Muovi il cursore sotto / Seleziona sotto"
|
|
|
|
|
+ :command.editor/left "Muovi il cursore a sinistra / Apri il blocco selezionato all'inizio"
|
|
|
|
|
+ :command.editor/right "Muovi il cursore a destra / Apri il blocco selezionato all'inizio"
|
|
|
|
|
+ :command.editor/select-up "Seleziona il contenuto sopra"
|
|
|
|
|
+ :command.editor/select-down "Seleziona il contenuto sotto"
|
|
|
|
|
+ :command.editor/move-block-up "Muovi il blocco sopra"
|
|
|
|
|
+ :command.editor/move-block-down "Muovi il blocco sotto"
|
|
|
|
|
+ :command.editor/open-edit "Modifica il blocco selezionato"
|
|
|
|
|
+ :command.editor/select-block-up "Seleziona blocco sopra"
|
|
|
|
|
+ :command.editor/select-block-down "Seleziona blocco sotto"
|
|
|
|
|
+ :command.editor/delete-selection "Elimina i blocchi selezionati"
|
|
|
|
|
+ :command.editor/expand-block-children "Espandi"
|
|
|
|
|
+ :command.editor/collapse-block-children "Collassa"
|
|
|
|
|
+ :command.editor/indent "Rientra blocco"
|
|
|
|
|
+ :command.editor/outdent "Annulla il rientro blocco"
|
|
|
|
|
+ :command.editor/copy "Copia (copia una selezione o un riferimento di blocco)"
|
|
|
|
|
+ :command.editor/cut "Taglia"
|
|
|
|
|
+ :command.editor/undo "Annulla"
|
|
|
|
|
+ :command.editor/redo "Rifai"
|
|
|
|
|
+ :command.editor/insert-link "Link HTML"
|
|
|
|
|
+ :command.editor/select-all-blocks "Seleziona tutti i blocchi"
|
|
|
|
|
+ :command.editor/zoom-in "Ingrandisci blocco di modifica / Avanti altrimenti"
|
|
|
|
|
+ :command.editor/zoom-out "Rimpicciolisci il blocco di modifica / Indietro altrimenti"
|
|
|
|
|
+ :command.ui/toggle-brackets "Selezionare se visualizzare le parentesi"
|
|
|
|
|
+ :command.go/search-in-page "Cerca nella pagina attuale"
|
|
|
|
|
+ :command.go/search "Ricerca testo completo"
|
|
|
|
|
+ :command.go/journals "Vai ai diari"
|
|
|
|
|
+ :command.go/backward "Indietro"
|
|
|
|
|
+ :command.go/forward "Avanti"
|
|
|
|
|
+ :command.search/re-index "Ricostruisci indice di ricerca"
|
|
|
|
|
+ :command.sidebar/open-today-page "Apri la pagina di oggi nella barra laterale destra"
|
|
|
|
|
+ :command.sidebar/clear "Pulisci tutto nella barra laterale destra"
|
|
|
|
|
+ :command.misc/copy "mod+c"
|
|
|
|
|
+ :command.command-palette/toggle "Attiva/disattiva tavolozza comandi"
|
|
|
|
|
+ :command.graph/open "Seleziona il diagramma da aprire"
|
|
|
|
|
+ :command.graph/remove "Rimuovi un diagramma"
|
|
|
|
|
+ :command.graph/add "Aggiungi un diagramma"
|
|
|
|
|
+ :command.graph/save "Salva il diagramma corrente su disco"
|
|
|
|
|
+ :command.command/run "Esegui comando git"
|
|
|
|
|
+ :command.go/home "Vai all'inizio"
|
|
|
|
|
+ :command.go/all-pages "Vai a tutte le pagine"
|
|
|
|
|
+ :command.go/graph-view "Vai alla visualizzazione diagramma"
|
|
|
|
|
+ :command.go/keyboard-shortcuts "Vai alle scorciatoie da tastiera"
|
|
|
|
|
+ :command.go/tomorrow "Vai a domani"
|
|
|
|
|
+ :command.go/next-journal "Vai al prossimo diario"
|
|
|
|
|
+ :command.go/prev-journal "Vai al diario precedente"
|
|
|
|
|
+ :command.go/flashcards "Attiva/disattiva carte flash"
|
|
|
|
|
+ :command.ui/toggle-document-mode "Attiva/disattiva modalità documento"
|
|
|
|
|
+ :command.ui/toggle-settings "Attiva/disattiva impostazioni"
|
|
|
|
|
+ :command.ui/toggle-right-sidebar "Attiva/disattiva barra laterale destra"
|
|
|
|
|
+ :command.ui/toggle-left-sidebar "Attiva/disattiva barra laterale sinistra"
|
|
|
|
|
+ :command.ui/toggle-help "Attiva/disattiva aiuto"
|
|
|
|
|
+ :command.ui/toggle-theme "Passa dal tema scuro a quello chiaro"
|
|
|
|
|
+ :command.ui/toggle-contents "Attiva/disattiva i contenuti nella barra laterale"
|
|
|
|
|
+ :command.ui/open-new-window "Apri un'altra finestra"
|
|
|
|
|
+ :command.command/toggle-favorite "Aggiungi a/rimuovi dai preferiti"
|
|
|
|
|
+ :command.editor/open-file-in-default-app "Apri file nell'app predefinita"
|
|
|
|
|
+ :command.editor/open-file-in-directory "Apri file nella directory principale"
|
|
|
|
|
+ :command.editor/copy-current-file "Copia file corrente"
|
|
|
|
|
+ :command.ui/toggle-wide-mode "Attiva/disattiva modalità ampia"
|
|
|
|
|
+ :command.ui/select-theme-color "Seleziona i colori del tema disponibili"
|
|
|
|
|
+ :command.ui/goto-plugins "Vai alla dashboard dei plugin"
|
|
|
|
|
+ :command.editor/toggle-open-blocks "Attiva/disattiva i blocchi aperti (comprimi o espandi tutti i blocchi)"
|
|
|
|
|
+ :command.ui/toggle-cards "Attiva/disattiva le carte"
|
|
|
|
|
+ :command.git/commit "Git messaggio di commit"
|
|
|
|
|
+ :shortcut.category/basics "Nozioni di base"
|
|
|
|
|
+ :shortcut.category/formatting "Formattazione"
|
|
|
|
|
+ :shortcut.category/navigating "Navigazione"
|
|
|
|
|
+ :shortcut.category/block-editing "Modiifica blocco generale"
|
|
|
|
|
+ :shortcut.category/block-command-editing "Modifica comandi blocco"
|
|
|
|
|
+ :shortcut.category/block-selection "Selezione blocco (premi Esc per uscire dalla selezione)"
|
|
|
|
|
+ :shortcut.category/toggle "Attiva/disattiva"
|
|
|
|
|
+ :shortcut.category/others "Altri"
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
:tr {:shortcut.category/basics "Temel bilgiler"
|
|
:tr {:shortcut.category/basics "Temel bilgiler"
|
|
|
:shortcut.category/formatting "Biçimlendirme"
|
|
:shortcut.category/formatting "Biçimlendirme"
|
|
|
:shortcut.category/navigating "Gezinme"
|
|
:shortcut.category/navigating "Gezinme"
|