diff --git a/public/assets/locales/en/translation.json b/public/assets/locales/en/translation.json
index 337d0789..ae4efc8a 100644
--- a/public/assets/locales/en/translation.json
+++ b/public/assets/locales/en/translation.json
@@ -227,13 +227,13 @@
"tradedAmount": "Traded",
"avgTradedAmount": "Avg Traded Amount",
"tradedPrice": "Traded Price",
- "aliveOrder": "Live",
+ "liveOrders": "Live Orders",
+ "orderHistory": "Order History",
+ "tradeHistory": "Trade History",
"stoppedOrder": "Stopped",
- "orderHistory": "History",
"stopOrderTime": "Stop Order Time",
"startOrderTime": "Start Order Time",
"cancelOrder": "Cancel Order",
- "orders": "Orders",
"cancelSuccess": "Order successfully canceled!",
"cancelError": "Order not canceled"
},
@@ -245,6 +245,21 @@
"showZeroBalance": "Do not show zero balance.",
"estimateAlert": "The equivalent amount is calculated based on the highest buy offer"
},
+ "history": {
+ "title": "History",
+ "transactions": "Transactions",
+ "transactionsHistory": "Transactions History",
+ "deposit": "Deposit",
+ "withdraw": "Withdraw",
+ "balance": "Balance",
+ "balanceChange": "Balance Change",
+ "currency" : "Currency",
+ "category" : "Category",
+ "size" : "Size",
+ "period" : "Period",
+ "ascendingByTime" : "Ascending By Time",
+ "page": "Page {{page}}"
+ },
"TransactionHistory": {
"buyAndSell" : "Buy And Sell",
"buyAndSellTx" : "Buy And Sell History",
@@ -270,10 +285,12 @@
"ascendingByTime" : "Ascending By Time"
},
"TransactionCategory": {
- "DEPOSIT": "Deposit",
- "FEE": "Fee",
- "TRADE": "Trade",
- "WITHDRAW": "Withdraw",
+ "TRADE" : "Trade",
+ "FEE" : "Fee",
+ "DEPOSIT" : "Deposit",
+ "WITHDRAW" : "Withdraw",
+ "SYSTEM" : "System",
+
"WITHDRAW_REQUEST" : "Withdraw Request",
"WITHDRAW_ACCEPT" : "Withdraw Accept",
"WITHDRAW_REJECT" : "Withdraw Reject",
diff --git a/public/assets/locales/fa/translation.json b/public/assets/locales/fa/translation.json
index 801deefb..29ac1950 100644
--- a/public/assets/locales/fa/translation.json
+++ b/public/assets/locales/fa/translation.json
@@ -227,13 +227,13 @@
"tradedAmount": "مقدار معامله شده",
"avgTradedAmount": "میانگین قیمت معامله",
"tradedPrice": "مبلغ معامله شده",
- "aliveOrder": "سفارشهای جاری",
- "stoppedOrder": "متوقف",
+ "liveOrders": "سفارشهای جاری",
"orderHistory": "تاریخچه سفارشها",
+ "tradeHistory": " تاریخچه معاملهها",
+ "stoppedOrder": "متوقف",
"stopOrderTime": "زمان آخرین معامله",
"startOrderTime": "زمان ثبت سفارش",
"cancelOrder": "لغو سفارش",
- "orders": "معاملهها",
"cancelSuccess": "سفارش با موفقیت لغو شد!",
"cancelError": "خطا در لغو سفارش"
},
@@ -245,6 +245,21 @@
"showZeroBalance": "عدم نمایش موجودی صفر",
"estimateAlert": "مبلغ دارایی معادل براساس بالاترین پیشنهاد خرید محاسبه شده"
},
+ "history": {
+ "title": "تاریخچه",
+ "transactions": "تراکنش ها",
+ "transactionsHistory": "تاریخچه تراکنش ها",
+ "deposit": "واریز",
+ "withdraw": "برداشت",
+ "balance": "موجودی",
+ "balanceChange": "تغییر موجودی",
+ "currency" : "ارز",
+ "category" : "نوع تراکنش",
+ "size" : "تعداد",
+ "period" : "بازه زمانی",
+ "ascendingByTime" : "نمایش براساس جدیدترین",
+ "page": "صفحه {{page}}"
+ },
"TransactionHistory": {
"buyAndSell" : "خرید و فروش",
"buyAndSellTx" : "تاریخچه خرید و فروش",
@@ -270,10 +285,12 @@
"ascendingByTime" : "نمایش براساس جدیدترین"
},
"TransactionCategory": {
- "DEPOSIT" : "واریز",
- "FEE" : "کارمزد",
"TRADE" : "معامله",
+ "FEE" : "کارمزد",
+ "DEPOSIT" : "واریز",
"WITHDRAW" : "برداشت",
+ "SYSTEM" : "سیستم",
+
"WITHDRAW_REQUEST" : "درخواست برداشت",
"WITHDRAW_ACCEPT" : "برداشت موفق",
"WITHDRAW_REJECT" : "رد درخواست برداشت",
diff --git a/src/components/Layout/LayoutHeader/LayoutHeader.js b/src/components/Layout/LayoutHeader/LayoutHeader.js
index fb122cb4..40f5d0f5 100644
--- a/src/components/Layout/LayoutHeader/LayoutHeader.js
+++ b/src/components/Layout/LayoutHeader/LayoutHeader.js
@@ -53,7 +53,6 @@ const LayoutHeader = () => {
});*/
}
-
const logOutHandler = async () => {
logout().then(() => {
toast.success(t("header.logOutSuccess"))
@@ -63,7 +62,6 @@ const LayoutHeader = () => {
})
}
-
const menu = (