Skip to content

Commit

Permalink
Add plural translation
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Nov 23, 2023
1 parent d0fe144 commit 83c2718
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion antispam_bee.php
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,12 @@ public static function add_dashboard_count( $items = array() ) {
$items[] = '<span class="ab-count">' . esc_html(
sprintf(
// translators: The number of spam comments Antispam Bee blocked so far.
__( '%s Blocked', 'antispam-bee' ),
_n(
'%s Blocked',
'%s Blocked',
self::_get_spam_count(),
'antispam-bee'
),
self::_get_spam_count()
)
) . '</span>';
Expand Down

0 comments on commit 83c2718

Please sign in to comment.