import { __, sprintf } from '@wordpress/i18n'; export const UpdateSettingConfirm = ({ inputs, onConfirm, onCancel }) => { const handleConfirm = () => { onConfirm({ data: inputs }); }; return (
{sprintf( // translators: 1: setting name, 2: new setting value __( 'The AI Agent wants to change the setting "%1$s" to "%2$s". Please confirm.', 'extendify-local', ), inputs.settingName, inputs.newSettingValue, )}