PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.16
Yatra – Travel Booking & Tour Operator Software v3.0.16
3.0.16 3.0.15 3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 All 84 releases
← All changes | templates/shortcodes/trip-category.php +5 -4 3.0.3 → 3.0.16 View file →
@@ -25,11 +25,12 @@
25 25 <?php if (!empty($categories)): ?>
26 26 <div class="yatra-destination-count">
27 27 <?php
28 28 printf(
29 - esc_html__('Showing %d of %d categories', 'yatra'),
30 - esc_html(count($categories)),
31 - esc_html($total_found)
29 + /* translators: 1: number of categories shown, 2: total categories available. */
30 + esc_html__('Showing %1$d of %2$d categories', 'yatra'),
31 + (int) count($categories),
32 + (int) $total_found
32 33 );
33 34 ?>
34 35 </div>
35 36 <?php endif; ?>
@@ -83,9 +84,9 @@
83 84 <?php if (!empty($category_row['min_price'])): ?>
84 85 <div class="category-stat price">
85 86 <span class="category-stat-icon">$</span>
86 87 <span class="category-stat-value">
87 - <?php esc_html_e('From', 'yatra'); ?> <?php echo esc_html(yatra_get_currency_symbol(get_option('yatra_currency', 'USD')) . number_format($category_row['min_price'], 2)); ?>
88 + <?php esc_html_e('From', 'yatra'); ?> <?php echo esc_html(yatra_format_price((float) $category_row['min_price'])); ?>
88 89 </span>
89 90 </div>
90 91 <?php endif; ?>
91 92 </div>