import { __ } from '@wordpress/i18n'; import type { Problem } from '../../shared/links/problem'; export function problemAction( problem: Problem ): string { switch ( problem ) { case 'blocked': return __( 'Review', 'aiplaz-link-checkup' ); case 'moved': return __( 'Update', 'aiplaz-link-checkup' ); case 'broken': return __( 'Fix', 'aiplaz-link-checkup' ); } }