import utils from "../../services/utils.js";
import BasicWidget from "../basic_widget.js";
import { t } from "../../services/i18n.js";
const TPL = `
${t('help.noteNavigation')}
- ${t('help.goUpDown')}
- ${t('help.collapseExpand')}
- ${t('help.notSet')}, ${t('help.notSet')} - ${t('help.goBackForwards')}
- ${t('help.notSet')} - ${t('help.showJumpToNoteDialog')}
- ${t('help.notSet')} - ${t('help.scrollToActiveNote')}
- ${t('help.jumpToParentNote')}
- ${t('help.notSet')} - ${t('help.collapseWholeTree')}
- ${t('help.notSet')} - ${t('help.collapseSubTree')}
${t('help.tabShortcuts')}
- ${t('help.newTabNoteLink')}
${t('help.onlyInDesktop')}:
- ${t('help.notSet')} ${t('help.openEmptyTab')}
- ${t('help.notSet')} ${t('help.closeActiveTab')}
- ${t('help.notSet')} ${t('help.activateNextTab')}
- ${t('help.notSet')} ${t('help.activatePreviousTab')}
${t('help.creatingNotes')}
- ${t('help.notSet')} - ${t('help.createNoteAfter')}
- ${t('help.notSet')} - ${t('help.createNoteInto')}
- ${t('help.notSet')} - ${t('help.editBranchPrefix')}
${t('help.movingCloningNotes')}
- ${t('help.notSet')}, ${t('help.notSet')} - ${t('help.moveNoteUpDown')}
- ${t('help.notSet')}, ${t('help.notSet')} - ${t('help.moveNoteUpHierarchy')}
- ${t('help.notSet')}, ${t('help.notSet')} - ${t('help.multiSelectNote')}
- ${t('help.notSet')} - ${t('help.selectAllNotes')}
- ${t('help.selectNote')}
- ${t('help.notSet')} - ${t('help.copyNotes')}
- ${t('help.notSet')} - ${t('help.cutNotes')}
- ${t('help.notSet')} - ${t('help.pasteNotes')}
- ${t('help.notSet')} - ${t('help.deleteNotes')}
${t('help.editingNotes')}
- ${t('help.notSet')} ${t('help.editNoteTitle')}
- ${t('help.createEditLink')}
- ${t('help.notSet')} - ${t('help.createInternalLink')}
- ${t('help.notSet')} - ${t('help.followLink')}
- ${t('help.notSet')} - ${t('help.insertDateTime')}
- ${t('help.notSet')} - ${t('help.jumpToTreePane')}
- ${t('help.headings')}
- ${t('help.bulletList')}
- ${t('help.numberedList')}
- ${t('help.blockQuote')}
${t('help.troubleshooting')}
- ${t('help.notSet')} - ${t('help.reloadFrontend')}
- ${t('help.notSet')} - ${t('help.showDevTools')}
- ${t('help.notSet')} - ${t('help.showSQLConsole')}
${t('help.other')}
- ${t('help.notSet')} - ${t('help.quickSearch')}
- ${t('help.notSet')} - ${t('help.inPageSearch')}
`;
export default class HelpDialog extends BasicWidget {
doRender() {
this.$widget = $(TPL);
}
showHelpEvent() {
utils.openDialog(this.$widget);
}
}