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-testimonials.php +16 -3 3.0.3 → 3.0.17 View file →
@@ -55,13 +55,26 @@
55 55 $trip_date = !empty($testimonial->trip_date) ? $testimonial->trip_date : '';
56 56 $location = !empty($testimonial->location) ? $testimonial->location : '';
57 57
58 58 if ($trip_date && $location) {
59 - echo esc_html(sprintf(__('Traveled %s in %s', 'yatra'), $trip_date, $location));
59 + echo esc_html(sprintf(
60 + /* translators: 1: trip date, 2: location name. */
61 + __('Traveled %1$s in %2$s', 'yatra'),
62 + $trip_date,
63 + $location
64 + ));
60 65 } elseif ($trip_date) {
61 - echo esc_html(sprintf(__('Traveled %s', 'yatra'), $trip_date));
66 + echo esc_html(sprintf(
67 + /* translators: %s: trip date. */
68 + __('Traveled %s', 'yatra'),
69 + $trip_date
70 + ));
62 71 } elseif ($location) {
63 - echo esc_html(sprintf(__('Traveled in %s', 'yatra'), $location));
72 + echo esc_html(sprintf(
73 + /* translators: %s: location name. */
74 + __('Traveled in %s', 'yatra'),
75 + $location
76 + ));
64 77 } else {
65 78 echo esc_html__('Verified Traveler', 'yatra');
66 79 }
67 80 ?>