diff --git a/src/assets/locals/ar.json b/src/assets/locals/ar.json index de47b42..63cb0b6 100644 --- a/src/assets/locals/ar.json +++ b/src/assets/locals/ar.json @@ -251,7 +251,8 @@ "couponNotApplicable": "رمز القسيمة غير مطبق", "am": "ص", "pm": "م", - "cannotSelectPastDate": "لا يمكنك اختيار تاريخ سابق. يرجى اختيار اليوم أو تاريخ مستقبلي." + "cannotSelectPastDate": "لا يمكنك اختيار تاريخ سابق. يرجى اختيار اليوم أو تاريخ مستقبلي.", + "checkRequiredFields": "يرجى التحقق من الحقول المطلوبة" }, "checkout": { "title": "الدفع", diff --git a/src/assets/locals/en.json b/src/assets/locals/en.json index dd670fb..2848704 100644 --- a/src/assets/locals/en.json +++ b/src/assets/locals/en.json @@ -261,7 +261,8 @@ "couponNotApplicable": "Coupon not applicable", "am": "AM", "pm": "PM", - "cannotSelectPastDate": "You cannot select a past date. Please select today or a future date." + "cannotSelectPastDate": "You cannot select a past date. Please select today or a future date.", + "checkRequiredFields": "Please check required fields" }, "checkout": { "title": "Checkout", diff --git a/src/components/ArabicPrice/ArabicPrice.tsx b/src/components/ArabicPrice/ArabicPrice.tsx index 3d549e9..c0d6cc3 100644 --- a/src/components/ArabicPrice/ArabicPrice.tsx +++ b/src/components/ArabicPrice/ArabicPrice.tsx @@ -20,8 +20,7 @@ const ArabicPrice: React.FC = ({ hideCurrency = false, }) => { const { isRTL } = useAppSelector((state) => state.locale); - const {restaurant} = useAppSelector(state => state.order) - + const { restaurant } = useAppSelector((state) => state.order); // Format the price to ensure it has 2 decimal places const formattedPrice = typeof price === "number" ? price.toFixed(2) : price; @@ -38,7 +37,6 @@ const ArabicPrice: React.FC = ({ style={{ display: "inline-flex", alignItems: "baseline", - gap: "0.2em", lineHeight: 1, ...restStyle, }} @@ -54,6 +52,7 @@ const ArabicPrice: React.FC = ({ > {formattedPrice} + = ({ ...(decorationStyle ?? {}), }} > - {isRTL ? restaurant.local_currency : restaurant.global_currency} + {isRTL ? restaurant.local_currency : restaurant.global_currency} ) : !hideCurrency ? ( @@ -79,6 +78,7 @@ const ArabicPrice: React.FC = ({ > {formattedPrice} + = ({ }} > {isRTL ? restaurant.local_currency : restaurant.global_currency} - + ) : ( {formattedPrice} diff --git a/src/components/CustomBottomSheet/GiftBottomSheet.tsx b/src/components/CustomBottomSheet/GiftBottomSheet.tsx index d0983da..b98edd3 100644 --- a/src/components/CustomBottomSheet/GiftBottomSheet.tsx +++ b/src/components/CustomBottomSheet/GiftBottomSheet.tsx @@ -148,7 +148,7 @@ export function GiftBottomSheet({
- diff --git a/src/components/CustomBottomSheet/InfoButtonSheet.tsx b/src/components/CustomBottomSheet/InfoButtonSheet.tsx index 3582ba5..e39279e 100644 --- a/src/components/CustomBottomSheet/InfoButtonSheet.tsx +++ b/src/components/CustomBottomSheet/InfoButtonSheet.tsx @@ -50,7 +50,7 @@ export function InfoButtonSheet({ {description}
- diff --git a/src/components/CustomBottomSheet/MapBottomSheet.tsx b/src/components/CustomBottomSheet/MapBottomSheet.tsx index ac7e09a..59df802 100644 --- a/src/components/CustomBottomSheet/MapBottomSheet.tsx +++ b/src/components/CustomBottomSheet/MapBottomSheet.tsx @@ -121,8 +121,9 @@ export function MapBottomSheet({ {t("cart.cancel")}