Skip to content

Commit

Permalink
Include emojis in the text
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Apr 18, 2024
1 parent d60d0cf commit 0557144
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@
<?php endforeach; ?>
</ul>
</div>
<details class="event-stats-summary">
<summary>View stats summary in text </summary>
<details class="event-stats-summary" open>
<summary><?php esc_html_e( 'View stats summary in text', 'gp-translation-events' ); ?></summary>
<p class="event-stats-text">
<?php
$new_contributors = array_filter(
Expand All @@ -185,7 +185,7 @@ function ( $contributor ) use ( $stats_calculator, $event_start ) {
if ( ! empty( $new_contributors ) ) {
$new_contributors_text = sprintf(
// translators: %d is the number of new contributors.
_n( '(%d new contributor!)', '(%d new contributors!)', count( $new_contributors ), 'gp-translation-events' ),
_n( '(%d new contributor 🎉)', '(%d new contributors 🎉)', count( $new_contributors ), 'gp-translation-events' ),
count( $new_contributors )
);
}
Expand Down

0 comments on commit 0557144

Please sign in to comment.