From 4afb60358b1a73b6fdd445f0b21d61906a57536b Mon Sep 17 00:00:00 2001 From: Alex Cheung Date: Mon, 12 Aug 2024 17:04:02 +0800 Subject: [PATCH] update i18n --- src/pages/Proof/Payment/Pay_Online.js | 9 ++++++--- src/translations/en.json | 8 ++++---- src/translations/zh-CN.json | 16 ++++++++-------- src/translations/zh-HK.json | 16 ++++++++-------- 4 files changed, 26 insertions(+), 23 deletions(-) diff --git a/src/pages/Proof/Payment/Pay_Online.js b/src/pages/Proof/Payment/Pay_Online.js index c530d73..30e76ea 100644 --- a/src/pages/Proof/Payment/Pay_Online.js +++ b/src/pages/Proof/Payment/Pay_Online.js @@ -32,7 +32,9 @@ import { // useEffect, useState } from "react"; -import { PNSPS_BUTTON_THEME, PNSPS_LONG_BUTTON_THEME } from "../../../themes/buttonConst"; +import { PNSPS_BUTTON_THEME, + // PNSPS_LONG_BUTTON_THEME + } from "../../../themes/buttonConst"; import { ThemeProvider } from "@emotion/react"; import { FormattedMessage, useIntl } from "react-intl"; // ==============================|| DASHBOARD - DEFAULT ||============================== // @@ -167,7 +169,7 @@ const Index = () => { id: 'proofPaymentBody_online2' }, { - paymentDeadline: DateUtils.dateStr(record?.closingDate), + paymentDeadline: DateUtils.dateFormat(record?.closingDate, intl.formatMessage({id: "dateStrFormat"})), } ) }} /> @@ -175,10 +177,11 @@ const Index = () => { - +