PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.17
Yatra – Travel Booking & Tour Operator Software v3.0.17
3.0.17 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 All 85 releases
← All changes | templates/partials/single-trip/content-important-info.php +3 -3 3.0.2.8 → 3.0.17 View file →
@@ -7,9 +7,9 @@
7 7 // Expected variables: $trip
8 8 ?>
9 9 <section class="yatra-trip-section" id="important-info">
10 10 <h2 class="yatra-trip-section-title">
11 - <?php yatra_render_tab_icon($tab->icon ?? null, 'info', 'yatra-trip-section-title-icon', $tab->label ?? 'Important Information'); ?>
11 + <?php yatra_render_tab_icon($tab->icon ?? null, 'info', 'yatra-trip-section-title-icon', $tab->label ?? __('Important Information', 'yatra')); ?>
12 12 <?php echo esc_html(isset($tab->label) ? $tab->label : __('Important Information', 'yatra')); ?>
13 13 </h2>
14 14 <p class="yatra-section-description">
15 15 <?php esc_html_e('Essential information you need to know before booking this trip', 'yatra'); ?>
@@ -121,11 +121,11 @@
121 121 <?php if (!empty($trip->meal_plan)): ?>
122 122 <div class="yatra-info-detail-row">
123 123 <span class="yatra-info-label">
124 124 <?php echo yatra_svg_icon('utensils', 'yatra-icon-tiny'); ?>
125 - <?php esc_html_e('Meals:', 'yatra'); ?>
125 + <?php esc_html_e('Meal Plan:', 'yatra'); ?>
126 126 </span>
127 - <span class="yatra-info-value"><?php echo esc_html(ucwords(str_replace('_', ' ', $trip->meal_plan))); ?></span>
127 + <span class="yatra-info-value"><?php echo esc_html(yatra_meal_plan_label((string) $trip->meal_plan)); ?></span>
128 128 </div>
129 129 <?php endif; ?>
130 130 <?php if (!empty($trip->accommodation_details)): ?>
131 131 <div class="yatra-info-description">