Skip to content

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix(settings): complete and correct the shortcuts list (#614)

Dipak Chaudhari140ced6a377c
diff --git a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
index a55c28a7..e2fa49d2 100644
--- a/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
+++ b/frontend/app/pages/dashboard/settings/_views/shortcuts.vue
@@ -32,6 +32,14 @@
<span>{{ t('application.shortcuts.printPage') }}</span>
<span><kbd>Ctrl</kbd> <kbd>P</kbd></span>
</div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.openSettings') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>,</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.deleteElement') }}</span>
+ <span><kbd>Delete</kbd></span>
+ </div>
<div class="shortcut">
<span>{{ t('application.shortcuts.closeModal') }}</span>
<span><kbd>Esc</kbd></span>
@@ -102,14 +110,77 @@
<span>{{ t('application.shortcuts.underlineText') }}</span>
<span><kbd>Ctrl</kbd> <kbd>U</kbd></span>
</div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.strikethroughText') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>S</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.highlightText') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>H</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.superscriptText') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>↑</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.subscriptText') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>↓</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.mathInline') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>M</kbd></span>
+ </div>
<div class="shortcut">
<span>{{ t('application.shortcuts.insertLink') }}</span>
- <span><kbd>Ctrl</kbd> <kbd>L</kbd></span>
+ <span><kbd>Ctrl</kbd> <kbd>K</kbd></span>
</div>
<div class="shortcut">
<span>{{ t('application.shortcuts.insertImage') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>I</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.inlineCode') }}</span>
<span><kbd>Ctrl</kbd> <kbd>E</kbd></span>
</div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.insertCodeBlock') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>C</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.headingLevel') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>1</kbd>…<kbd>6</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.insertQuote') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>.</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.orderedList') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>7</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.bulletList') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>8</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.taskList') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>9</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.insertSeparator') }}</span>
+ <span><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>R</kbd></span>
+ </div>
+ </div>
+ <p>{{ t('application.shortcuts.sections.commandCenter') }}</p>
+ <div class="shortcuts">
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.toggleAdvancedView') }}</span>
+ <span><kbd>ArrowRight</kbd></span>
+ </div>
+ <div class="shortcut">
+ <span>{{ t('application.shortcuts.toggleQuickView') }}</span>
+ <span><kbd>ArrowLeft</kbd></span>
+ </div>
</div>
<p>{{ t('application.shortcuts.sections.search') }}</p>
<div class="shortcuts">
diff --git a/frontend/i18n/locales/de/application.ts b/frontend/i18n/locales/de/application.ts
index 7583a873..5da61686 100644
--- a/frontend/i18n/locales/de/application.ts
+++ b/frontend/i18n/locales/de/application.ts
@@ -1,22 +1,33 @@
export default {
shortcuts: {
boldText: 'Fettgedruckter Text',
+ bulletList: 'Aufzählungsliste',
closeModal: 'Aktuelles Modalfenster schließen',
copyText: 'Auswahl oder aktuelle Zeile kopieren',
createCategory: 'Kategorie erstellen',
createDocument: 'Dokument erstellen',
cutText: 'Ausgewählte Zeile oder aktuelle Zeile ausschneiden',
+ deleteElement: 'Aktuelles Element löschen',
editDocument: 'Dokument bearbeiten',
exitPage: 'Seite verlassen',
+ headingLevel: 'Überschrift (Ebene 1-6)',
+ highlightText: 'Text hervorheben',
+ inlineCode: 'Inline-Code',
+ insertCodeBlock: 'Codeblock einfügen',
insertImage: 'Bild einfügen',
insertLink: 'Link einfügen',
+ insertQuote: 'Zitat einfügen',
+ insertSeparator: 'Trennlinie einfügen',
italicText: 'Kursiver Text',
+ mathInline: 'Inline-Mathe',
nextDocument: 'Neues Dokument',
nextSearchResult: 'Nächstes Suchergebnis',
openCDN: 'CDN-Uploader öffnen',
openCmdCenter: 'Kommandozentrale öffnen',
openFindDialog: 'Suchdialog öffnen',
openSelectedSearchResult: 'Ausgewähltes Ergebnis öffnen',
+ openSettings: 'Einstellungen öffnen',
+ orderedList: 'Nummerierte Liste',
pasteText: 'Einfügen aus Zwischenablage',
prevDocument: 'Vorheriges Dokument',
prevSearchResult: 'Vorheriges Suchergebnis',
@@ -25,13 +36,20 @@ export default {
reloadPage: 'Seite neuladen',
savePage: 'Aktuelle Seite speichern',
sections: {
+ commandCenter: 'Kommandozentrale',
document: 'Dokument',
editor: 'Editor',
general: 'Allgemein',
other: 'Andere',
search: 'Suchen',
},
+ strikethroughText: 'Durchgestrichener Text',
+ subscriptText: 'Tiefgestellt',
+ superscriptText: 'Hochgestellt',
+ taskList: 'Aufgabenliste',
+ toggleAdvancedView: 'Zur erweiterten Ansicht wechseln',
togglePreview: 'Vorschau ein-/ausblenden',
+ toggleQuickView: 'Zur Schnellansicht wechseln',
underlineText: 'Text unterstreichen',
undoAction: 'Letzte Aktion rückgängig machen',
},
diff --git a/frontend/i18n/locales/en/application.ts b/frontend/i18n/locales/en/application.ts
index b81ff91f..cfd0197d 100644
--- a/frontend/i18n/locales/en/application.ts
+++ b/frontend/i18n/locales/en/application.ts
@@ -1,22 +1,33 @@
export default {
shortcuts: {
boldText: 'Bold text',
+ bulletList: 'Bullet list',
closeModal: 'Close current modal',
copyText: 'Copy selection or current line',
createCategory: 'Create category',
createDocument: 'Create document',
cutText: 'Cut selection or current line',
+ deleteElement: 'Delete the current element',
editDocument: 'Edit document',
exitPage: 'Leave page',
+ headingLevel: 'Heading (level 1-6)',
+ highlightText: 'Highlight text',
+ inlineCode: 'Inline code',
+ insertCodeBlock: 'Insert code block',
insertImage: 'Insert image',
insertLink: 'Insert link',
+ insertQuote: 'Insert quote block',
+ insertSeparator: 'Insert line separator',
italicText: 'Italic text',
+ mathInline: 'Inline math',
nextDocument: 'Next document',
nextSearchResult: 'Next search result',
openCDN: 'Open CDN uploader',
openCmdCenter: 'Open command center',
openFindDialog: 'Open find dialog',
openSelectedSearchResult: 'Open selected result',
+ openSettings: 'Open settings',
+ orderedList: 'Numbered list',
pasteText: 'Paste from clipboard',
prevDocument: 'Previous document',
prevSearchResult: 'Previous search result',
@@ -25,13 +36,20 @@ export default {
reloadPage: 'Reload page',
savePage: 'Save current page',
sections: {
+ commandCenter: 'Command center',
document: 'Document',
editor: 'Editor',
general: 'General',
other: 'Other',
search: 'Search',
},
+ strikethroughText: 'Strikethrough text',
+ subscriptText: 'Subscript',
+ superscriptText: 'Superscript',
+ taskList: 'Task list',
+ toggleAdvancedView: 'Switch to advanced view',
togglePreview: 'Toggle preview',
+ toggleQuickView: 'Switch to quick view',
underlineText: 'Underline text',
undoAction: 'Undo last action',
},
diff --git a/frontend/i18n/locales/fr/application.ts b/frontend/i18n/locales/fr/application.ts
index 1341f53c..31f2c781 100644
--- a/frontend/i18n/locales/fr/application.ts
+++ b/frontend/i18n/locales/fr/application.ts
@@ -1,22 +1,33 @@
export default {
shortcuts: {
boldText: 'Mettre le texte en gras',
+ bulletList: 'Liste à puces',
closeModal: 'Fermer la fenêtre modale actuelle',
copyText: 'Copier le texte sélectionné ou la ligne si aucune sélection',
createCategory: 'Créer une nouvelle catégorie',
createDocument: 'Créer un nouveau document',
cutText: 'Couper le texte sélectionné ou la ligne si aucune sélection',
+ deleteElement: "Supprimer l'élément courant",
editDocument: 'Modifier le document',
exitPage: 'Quitter la page',
+ headingLevel: 'Titre (niveau 1-6)',
+ highlightText: 'Surligner le texte',
+ inlineCode: 'Code en ligne',
+ insertCodeBlock: 'Insérer un bloc de code',
insertImage: 'Insérer une image',
insertLink: 'Insérer un lien',
+ insertQuote: 'Insérer une citation',
+ insertSeparator: 'Insérer un séparateur',
italicText: 'Mettre le texte en italique',
+ mathInline: 'Math en ligne',
nextDocument: 'Aller au document suivant',
nextSearchResult: 'Résultat de recherche suivant',
openCDN: 'Ouvrir le téléverseur CDN',
openCmdCenter: 'Ouvrir le centre de commandes',
openFindDialog: 'Ouvrir la boîte de dialogue de recherche',
openSelectedSearchResult: 'Ouvrir le résultat de recherche sélectionné',
+ openSettings: 'Ouvrir les paramètres',
+ orderedList: 'Liste numérotée',
pasteText: 'Coller depuis le presse-papiers',
prevDocument: 'Aller au document précédent',
prevSearchResult: 'Résultat de recherche précédent',
@@ -25,13 +36,20 @@ export default {
reloadPage: 'Recharger la page',
savePage: 'Enregistrer la page actuelle',
sections: {
+ commandCenter: 'Centre de commandes',
document: 'Document',
editor: 'Éditeur',
general: 'Général',
other: 'Autre',
search: 'Recherche',
},
+ strikethroughText: 'Texte barré',
+ subscriptText: 'Indice',
+ superscriptText: 'Exposant',
+ taskList: 'Liste de tâches',
+ toggleAdvancedView: 'Passer à la vue avancée',
togglePreview: "Basculer l'aperçu",
+ toggleQuickView: 'Passer à la vue rapide',
underlineText: 'Souligner le texte',
undoAction: 'Annuler la dernière action',
},
diff --git a/frontend/i18n/locales/it/application.ts b/frontend/i18n/locales/it/application.ts
index da12fc87..68850d54 100644
--- a/frontend/i18n/locales/it/application.ts
+++ b/frontend/i18n/locales/it/application.ts
@@ -1,22 +1,33 @@
export default {
shortcuts: {
boldText: 'Testo in grassetto',
+ bulletList: 'Elenco puntato',
closeModal: 'Chiudi finestra modale corrente',
copyText: 'Copia selezione o riga corrente',
createCategory: 'Crea categoria',
createDocument: 'Crea documento',
cutText: 'Taglia selezione o riga corrente',
+ deleteElement: "Elimina l'elemento corrente",
editDocument: 'Modifica documento',
exitPage: 'Lascia la pagina',
+ headingLevel: 'Titolo (livello 1-6)',
+ highlightText: 'Evidenzia testo',
+ inlineCode: 'Codice inline',
+ insertCodeBlock: 'Inserisci blocco di codice',
insertImage: 'Inserisci immagine',
insertLink: 'Inserisci link',
+ insertQuote: 'Inserisci citazione',
+ insertSeparator: 'Inserisci separatore',
italicText: 'Testo in corsivo',
+ mathInline: 'Matematica inline',
nextDocument: 'Documento successivo',
nextSearchResult: 'Risultato di ricerca successivo',
openCDN: 'Apri uploader CDN',
openCmdCenter: 'Apri centro comandi',
openFindDialog: 'Apri finestra di ricerca',
openSelectedSearchResult: 'Apri risultato selezionato',
+ openSettings: 'Apri impostazioni',
+ orderedList: 'Elenco numerato',
pasteText: 'Incolla dagli appunti',
prevDocument: 'Documento precedente',
prevSearchResult: 'Risultato di ricerca precedente',
@@ -25,13 +36,20 @@ export default {
reloadPage: 'Ricarica pagina',
savePage: 'Salva pagina corrente',
sections: {
+ commandCenter: 'Centro comandi',
document: 'Documento',
editor: 'Editor',
general: 'Generale',
other: 'Altro',
search: 'Ricerca',
},
+ strikethroughText: 'Testo barrato',
+ subscriptText: 'Pedice',
+ superscriptText: 'Apice',
+ taskList: 'Elenco attività',
+ toggleAdvancedView: 'Passa alla vista avanzata',
togglePreview: 'Attiva/disattiva anteprima',
+ toggleQuickView: 'Passa alla vista rapida',
underlineText: 'Testo sottolineato',
undoAction: 'Annulla l\'ultima azione',
},
diff --git a/frontend/i18n/locales/ko/application.ts b/frontend/i18n/locales/ko/application.ts
index 6de15796..ae6eabfc 100644
--- a/frontend/i18n/locales/ko/application.ts
+++ b/frontend/i18n/locales/ko/application.ts
@@ -1,22 +1,33 @@
export default {
shortcuts: {
boldText: '굵게',
+ bulletList: '글머리 기호 목록',
closeModal: '현재 모달 닫기',
copyText: '선택 영역 또는 현재 줄 복사',
createCategory: '카테고리 생성',
createDocument: '문서 생성',
cutText: '선택 영역 또는 현재 줄 잘라내기',
+ deleteElement: '현재 요소 삭제',
editDocument: '문서 편집',
exitPage: '페이지 나가기',
+ headingLevel: '제목 (1-6단계)',
+ highlightText: '형광펜',
+ inlineCode: '인라인 코드',
+ insertCodeBlock: '코드 블록 삽입',
insertImage: '이미지 삽입',
insertLink: '링크 삽입',
+ insertQuote: '인용구 삽입',
+ insertSeparator: '구분선 삽입',
italicText: '기울임꼴',
+ mathInline: '인라인 수식',
nextDocument: '다음 문서',
nextSearchResult: '다음 검색 결과',
openCDN: 'CDN 업로더 열기',
openCmdCenter: '커맨드 센터 열기',
openFindDialog: '찾기 대화상자 열기',
openSelectedSearchResult: '선택한 결과 열기',
+ openSettings: '설정 열기',
+ orderedList: '번호 목록',
pasteText: '클립보드에서 붙여넣기',
prevDocument: '이전 문서',
prevSearchResult: '이전 검색 결과',
@@ -25,13 +36,20 @@ export default {
reloadPage: '페이지 새로고침',
savePage: '현재 페이지 저장',
sections: {
+ commandCenter: '커맨드 센터',
document: '문서',
editor: '에디터',
general: '일반',
other: '기타',
search: '검색',
},
+ strikethroughText: '취소선',
+ subscriptText: '아래 첨자',
+ superscriptText: '위 첨자',
+ taskList: '작업 목록',
+ toggleAdvancedView: '고급 보기로 전환',
togglePreview: '미리보기 전환',
+ toggleQuickView: '빠른 보기로 전환',
underlineText: '밑줄',
undoAction: '마지막 작업 실행 취소',
},
diff --git a/frontend/i18n/locales/uk/application.ts b/frontend/i18n/locales/uk/application.ts
index 090a1e0c..440929dc 100644
--- a/frontend/i18n/locales/uk/application.ts
+++ b/frontend/i18n/locales/uk/application.ts
@@ -1,22 +1,33 @@
export default {
shortcuts: {
boldText: 'Жирний шрифт',
+ bulletList: 'Маркований список',
closeModal: 'Закрити поточне вікно',
copyText: 'Скопіювати виділене або поточний рядок',
createCategory: 'Створити категорію',
createDocument: 'Створити документ',
cutText: 'Вирізати виділене або поточний рядок',
+ deleteElement: 'Видалити поточний елемент',
editDocument: 'Редагувати документ',
exitPage: 'Вийти зі сторінки',
+ headingLevel: 'Заголовок (рівень 1-6)',
+ highlightText: 'Виділити текст',
+ inlineCode: 'Вбудований код',
+ insertCodeBlock: 'Вставити блок коду',
insertImage: 'Вставити зображення',
insertLink: 'Вставити посилання',
+ insertQuote: 'Вставити цитату',
+ insertSeparator: 'Вставити роздільник',
italicText: 'Текст курсивом',
+ mathInline: 'Вбудована формула',
nextDocument: 'Наступний документ',
nextSearchResult: 'Наступний результат пошуку',
openCDN: 'Відкрити завантажувач CDN',
openCmdCenter: 'Відкрити командний центр',
openFindDialog: 'Відкрити вікно пошуку',
openSelectedSearchResult: 'Відкрити вибраний результат',
+ openSettings: 'Відкрити налаштування',
+ orderedList: 'Нумерований список',
pasteText: 'Вставити з буфера обміну',
prevDocument: 'Попередній документ',
prevSearchResult: 'Попередній результат пошуку',
@@ -25,13 +36,20 @@ export default {
reloadPage: 'Оновити сторінку',
savePage: 'Зберегти поточну сторінку',
sections: {
+ commandCenter: 'Командний центр',
document: 'Документ',
editor: 'Редактор',
general: 'Загальне',
other: 'Інше',
search: 'Пошук',
},
+ strikethroughText: 'Закреслений текст',
+ subscriptText: 'Нижній індекс',
+ superscriptText: 'Верхній індекс',
+ taskList: 'Список завдань',
+ toggleAdvancedView: 'Перейти до розширеного перегляду',
togglePreview: 'Увімкнути попередній перегляд',
+ toggleQuickView: 'Перейти до швидкого перегляду',
underlineText: 'Підкреслити текст',
undoAction: 'Скасувати останню дію',
},