get_by_translation_id( $translation->id ); if ( $translation->translation_status ) { if ( count( $notes ) > 0 ) { ?>

current_user_can( 'approve', 'translation', $translation->id, array( 'translation' => $translation, ) ) || get_current_user_id() === (int) $translation->user_id ) { ?>