Hi,
After checking native plugin files with “Theme Check” plugin (
https://wordpress.org/plugins/theme-check/) I got:
1) First warning:
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘the-events-calendar’
related to modules/meta/venus.php
and modules/meta/organizer.php
<?php esc_html_e( tribe_get_venue_label_singular(), ‘the-events-calendar’ ) ?>
2) Second warning:
WARNING: Found a translation function that has an incorrect number of arguments. Function _n, with the arguments ‘View 1 %1$s’, ‘View All %2$s %3$s’, total_events, ‘the-events-calendar’
related to month/single-day.php
$view_all_label = sprintf(_n('View %1$s %2$s', 'View All %1$s %2$s', $day['total_events'], 'the-events-calendar'), $day['total_events'], $events_label);
Could you please write the most recommended way to fix it?
The fixes are necessary to pass the theme check and upload the theme public on wordpress.org.
Thanks!