import React from 'react'; import { useTranslation } from 'react-i18next'; import { GATE_ORDER } from '../../utils/playreelApi'; import { AUTO_APPROVABLE, setAutoApprove, useAutoApprove } from '../../utils/playreelPrefs'; /** * 게이트 자동 승인 설정 — 롱컷 시작 화면에 놓는다(playreel 원본과 같은 자리). * 스위치는 되돌릴 수 있는 ①·③ 만 있고, 나머지는 잠금으로 이유를 알려준다. */ const PlayreelAutoApprovePanel: React.FC = () => { const { t } = useTranslation(); const prefs = useAutoApprove(); return (
{t('playreel.auto.title')}
{t('playreel.auto.gate', { step: GATE_ORDER.indexOf(gate) + 1, name })}
{t(`playreel.auto.${gate}`)}
{t('playreel.auto.lockedTitle')}
{t('playreel.auto.lockedDesc')}