| @@ -158,12 +158,16 @@ | ||
| 158 | 158 | data-month-filter="<?php echo esc_attr($selected_month_filter ?? 'all'); ?>" |
| 159 | 159 | data-sort="<?php echo esc_attr($sort_key); ?>"> |
| 160 | 160 | <button type="button" class="yatra-availability-load-more-btn"> |
| 161 | 161 | <?php echo yatra_svg_icon('plus', 'yatra-icon-sm'); ?> |
| 162 | - <?php echo esc_html(sprintf(__('Load more departures (%d remaining)', 'yatra'), $remaining_after_load)); ?> | |
| 162 | + <?php | |
| 163 | + /* translators: %d: number of additional departures still available to load. */ | |
| 164 | + echo esc_html(sprintf(__('Load more departures (%d remaining)', 'yatra'), $remaining_after_load)); | |
| 165 | + ?> | |
| 163 | 166 | </button> |
| 164 | 167 | <span class="yatra-availability-count-info"> |
| 165 | 168 | <?php echo esc_html(sprintf( |
| 169 | + /* translators: 1: number of departures currently loaded, 2: total number of departures matching the filter. */ | |
| 166 | 170 | __('Showing %1$d of %2$d departures', 'yatra'), |
| 167 | 171 | $availability_loaded_count, |
| 168 | 172 | $availability_total_matching |
| 169 | 173 | )); ?> |