Pledge list: Update pledge description text

Fixes #285
This commit is contained in:
Kelly Dwan 2024-09-06 09:51:37 -04:00
parent 42cd761420
commit 36207fc915
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D

View file

@ -63,7 +63,7 @@ function get_meta_binding_value( $args, $block ) {
case 'org-contribution-short-details':
$contribution_data = XProfile\get_aggregate_contributor_data_for_pledge( $block->context['postId'] );
return sprintf(
__( 'Has pledged %s hours per week.', 'wporg-5ftf' ),
__( 'pledges %s hours per week.', 'wporg-5ftf' ),
number_format_i18n( absint( $contribution_data['hours'] ) ),
);
case 'user-contribution-details':