diff --git a/src/components/AppBar/Profile.tsx b/src/components/AppBar/Profile.tsx index 508f640..c14d318 100644 --- a/src/components/AppBar/Profile.tsx +++ b/src/components/AppBar/Profile.tsx @@ -66,8 +66,8 @@ const Profile: React.FC = ({ avatarImageSrc, profileName }) => { { router.replace("/changepassword") }}>{t("Change Password")} - {language === "zh" && { onLangClick("en") }}>{t("Change To English Version")}} - {language === "en" && { onLangClick("zh") }}>{t("Change To Chinese Version")}} + {/* {language === "zh" && { onLangClick("en") }}>{t("Change To English Version")}} + {language === "en" && { onLangClick("zh") }}>{t("Change To Chinese Version")}} */} signOut()}>{t("Sign out")} diff --git a/src/components/ProjectFinancialSummary/ProjectFinancialCard.tsx b/src/components/ProjectFinancialSummary/ProjectFinancialCard.tsx index ee43ef5..86fa6f4 100644 --- a/src/components/ProjectFinancialSummary/ProjectFinancialCard.tsx +++ b/src/components/ProjectFinancialSummary/ProjectFinancialCard.tsx @@ -180,8 +180,8 @@ const ProjectFinancialCard: React.FC = ({
-
{"Positive: (e) > or = (d)"}
-
{"Negative: (e) < (d)"}
+
{t("Positive") + ": (e) > or = (d)"}
+
{t("Negative") + ": (e) < (d)"}

@@ -197,8 +197,8 @@ const ProjectFinancialCard: React.FC = ({
-
{"Positive: (e) > or = (d)"}
-
{"Negative: (e) < (d)"}
+
{t("Positive") + ": (e) > or = (d)"}
+
{t("Negative") + ": (e) < (d)"}

@@ -255,8 +255,8 @@ const ProjectFinancialCard: React.FC = ({
-
{"Positive: (b) > or = (d)"}
-
{"Negative: (b) < (d)"}
+
{t("Positive") + ": (b) > or = (d)"}
+
{t("Negative") + ": (b) < (d)"}

@@ -272,8 +272,8 @@ const ProjectFinancialCard: React.FC = ({
-
{"Positive: (b) > or = (d)"}
-
{"Negative: (b) < (d)"}
+
{t("Positive") + ": (b) > or = (d)"}
+
{t("Negative") + ": (b) < (d)"}

@@ -294,7 +294,7 @@ const ProjectFinancialCard: React.FC = ({ {ProjectedCPI}
-
{"Positive: (b) / (d)"}
+
{t("Positive") + ": (b) / (d)"}
)} @@ -307,7 +307,7 @@ const ProjectFinancialCard: React.FC = ({ {ProjectedCPI}
-
{"Positive: (b) / (d)"}
+
{"(k) = (b) / (d)"}
)}