← All changes
|
templates/partials/single-trip/content-important-info.php
+3
-3
3.0.2.6
→
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"> |