Pledge List: Clarify that hours pledged is per week.

This commit is contained in:
Ian Dunn 2019-10-31 17:59:04 -05:00
parent 1b3e2e3301
commit 98b365a012
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB

View file

@ -39,7 +39,7 @@ $total_hours = $pledge->{ PledgeMeta\META_PREFIX . 'pledge-total-hours' };
$contributor_title = sprintf( $contributor_title = sprintf(
esc_html( esc_html(
_n( '%1$s has pledged %2$d hour', '%1$s has pledged %2$d hours', $total_hours, 'wordpressorg' ) _n( '%1$s has pledged %2$d hour a week', '%1$s has pledged %2$d hours a week', $total_hours, 'wordpressorg' )
), ),
wp_kses_post( get_the_title() ), wp_kses_post( get_the_title() ),
intval( $total_hours ) intval( $total_hours )