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