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 | resources/js/components/booking/TaxDisplay.tsx +6 -3 3.0.3 → 3.0.17 View file →
@@ -8,8 +8,9 @@
8 8 */
9 9
10 10 import React from "react";
11 11 import { taxService } from "../../services/TaxService";
12 +import { __ } from "../../lib/i18n";
12 13
13 14 interface TaxDisplayProps {
14 15 subtotal: number;
15 16 country?: string;
@@ -36,9 +37,11 @@
36 37 return (
37 38 <div className={`space-y-2 ${className}`}>
38 39 {/* Subtotal */}
39 40 <div className="flex justify-between text-sm">
40 - <span className="text-gray-600 dark:text-gray-400">Subtotal</span>
41 + <span className="text-gray-600 dark:text-gray-400">
42 + {__("Subtotal", "yatra")}
43 + </span>
41 44 <span className="font-medium text-gray-900 dark:text-gray-100">
42 45 {taxService.formatPrice(taxCalculation.subtotal)}
43 46 </span>
44 47 </div>
@@ -62,9 +65,9 @@
62 65 {/* Total */}
63 66 <div className="border-t pt-2">
64 67 <div className="flex justify-between">
65 68 <span className="font-semibold text-gray-900 dark:text-gray-100">
66 - Total
69 + {__("Total", "yatra")}
67 70 </span>
68 71 <span className="font-bold text-lg text-gray-900 dark:text-gray-100">
69 72 {taxService.formatPrice(taxCalculation.total_amount)}
70 73 </span>
@@ -73,9 +76,9 @@
73 76
74 77 {/* Tax Inclusive Notice */}
75 78 {taxCalculation.tax_inclusive && (
76 79 <div className="text-xs text-gray-500 dark:text-gray-400 italic">
77 - * Tax included in price
80 + {__("* Tax included in price", "yatra")}
78 81 </div>
79 82 )}
80 83 </div>
81 84 );