import React from 'react';
import { useTranslation } from 'react-i18next';
import { metaKeyName, } from '../../../utils/metaKey';
function KeyboardShortcutModal() {
const { t } = useTranslation();
return (
{t('KeyboardShortcuts.CodeEditing.CodeEditing')}
{t('KeyboardShortcuts.ShortcutsFollow')} {t('KeyboardShortcuts.SublimeText')}.
-
{'\u21E7'} + Tab
{t('KeyboardShortcuts.CodeEditing.Tidy')}
-
{metaKeyName} + F
{t('KeyboardShortcuts.CodeEditing.FindText')}
-
{metaKeyName} + G
{t('KeyboardShortcuts.CodeEditing.FindNextTextMatch')}
-
{metaKeyName} + {'\u21E7'} + G
{t('KeyboardShortcuts.CodeEditing.FindPreviousTextMatch')}
-
{metaKeyName} + [
{t('KeyboardShortcuts.CodeEditing.IndentCodeLeft')}
-
{metaKeyName} + ]
{t('KeyboardShortcuts.CodeEditing.IndentCodeRight')}
-
{metaKeyName} + /
{t('KeyboardShortcuts.CodeEditing.CommentLine')}
General
-
{metaKeyName} + S
{t('Common.Save')}
-
{metaKeyName} + Enter
{t('KeyboardShortcuts.General.StartSketch')}
-
{metaKeyName} + {'\u21E7'} + Enter
{t('KeyboardShortcuts.General.StopSketch')}
-
{metaKeyName} + {'\u21E7'} + 1
{t('KeyboardShortcuts.General.TurnOnAccessibleOutput')}
-
{metaKeyName} + {'\u21E7'} + 2
{t('KeyboardShortcuts.General.TurnOffAccessibleOutput')}
);
}
export default KeyboardShortcutModal;