From 89f83aca7329d4a13b2a8f10c7de0bd3bbc0e835 Mon Sep 17 00:00:00 2001 From: saml33 Date: Sat, 2 Dec 2023 22:55:19 +1100 Subject: [PATCH] fix missing translations --- pages/404.tsx | 1 + pages/borrow.tsx | 1 + pages/dashboard/index.tsx | 1 + pages/dashboard/mangoaccount.tsx | 1 + pages/dashboard/risks.tsx | 1 + pages/dashboard/slippage.tsx | 1 + pages/governance/list.tsx | 1 + pages/governance/vote.tsx | 1 + pages/index.tsx | 2 +- pages/leaderboard.tsx | 1 + pages/nft/index.tsx | 3 ++- pages/rewards.tsx | 1 + pages/search.tsx | 1 + pages/stats.tsx | 1 + pages/swap.tsx | 2 +- pages/trade.tsx | 1 + 16 files changed, 17 insertions(+), 3 deletions(-) diff --git a/pages/404.tsx b/pages/404.tsx index 13245092..b5d89631 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -6,6 +6,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/borrow.tsx b/pages/borrow.tsx index bf85ee1a..1cc09e7d 100644 --- a/pages/borrow.tsx +++ b/pages/borrow.tsx @@ -7,6 +7,7 @@ export async function getStaticProps({ locale }: { locale: string }) { props: { ...(await serverSideTranslations(locale, [ 'borrow', + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/dashboard/index.tsx b/pages/dashboard/index.tsx index 3a7155b8..4715ef15 100644 --- a/pages/dashboard/index.tsx +++ b/pages/dashboard/index.tsx @@ -40,6 +40,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/dashboard/mangoaccount.tsx b/pages/dashboard/mangoaccount.tsx index 568ddc39..7efd716d 100644 --- a/pages/dashboard/mangoaccount.tsx +++ b/pages/dashboard/mangoaccount.tsx @@ -20,6 +20,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/dashboard/risks.tsx b/pages/dashboard/risks.tsx index 6623824c..83a530a2 100644 --- a/pages/dashboard/risks.tsx +++ b/pages/dashboard/risks.tsx @@ -18,6 +18,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/dashboard/slippage.tsx b/pages/dashboard/slippage.tsx index e8b0799b..5638b413 100644 --- a/pages/dashboard/slippage.tsx +++ b/pages/dashboard/slippage.tsx @@ -14,6 +14,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/governance/list.tsx b/pages/governance/list.tsx index 44b5ec09..59225612 100644 --- a/pages/governance/list.tsx +++ b/pages/governance/list.tsx @@ -10,6 +10,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'governance', 'notifications', diff --git a/pages/governance/vote.tsx b/pages/governance/vote.tsx index f45d023b..9c1ea599 100644 --- a/pages/governance/vote.tsx +++ b/pages/governance/vote.tsx @@ -8,6 +8,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'governance', 'notifications', diff --git a/pages/index.tsx b/pages/index.tsx index 3b90eb6c..d06abc06 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -8,6 +8,7 @@ export async function getStaticProps({ locale }: { locale: string }) { ...(await serverSideTranslations(locale, [ 'account', 'activity', + 'close-account', 'common', 'explore', 'governance', @@ -21,7 +22,6 @@ export async function getStaticProps({ locale }: { locale: string }) { 'stats', 'token', 'trade', - 'close-account', ])), }, } diff --git a/pages/leaderboard.tsx b/pages/leaderboard.tsx index 796ecffe..b9aaed0b 100644 --- a/pages/leaderboard.tsx +++ b/pages/leaderboard.tsx @@ -7,6 +7,7 @@ export async function getStaticProps({ locale }: { locale: string }) { props: { ...(await serverSideTranslations(locale, [ 'account', + 'close-account', 'common', 'leaderboard', 'notifications', diff --git a/pages/nft/index.tsx b/pages/nft/index.tsx index ebefc1fc..be0b7909 100644 --- a/pages/nft/index.tsx +++ b/pages/nft/index.tsx @@ -20,7 +20,9 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', + 'nft-market', 'notifications', 'onboarding', 'profile', @@ -28,7 +30,6 @@ export async function getStaticProps({ locale }: { locale: string }) { 'settings', 'token', 'trade', - 'nft-market', ])), }, } diff --git a/pages/rewards.tsx b/pages/rewards.tsx index 53260c29..6d5ab079 100644 --- a/pages/rewards.tsx +++ b/pages/rewards.tsx @@ -8,6 +8,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'governance', 'notifications', diff --git a/pages/search.tsx b/pages/search.tsx index 7350212d..5bf4ae19 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -6,6 +6,7 @@ export async function getStaticProps({ locale }: { locale: string }) { return { props: { ...(await serverSideTranslations(locale, [ + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/stats.tsx b/pages/stats.tsx index 72b39b34..bf81d836 100644 --- a/pages/stats.tsx +++ b/pages/stats.tsx @@ -7,6 +7,7 @@ export async function getStaticProps({ locale }: { locale: string }) { props: { ...(await serverSideTranslations(locale, [ 'activity', + 'close-account', 'common', 'notifications', 'onboarding', diff --git a/pages/swap.tsx b/pages/swap.tsx index 1b6d5bd4..85cacdf1 100644 --- a/pages/swap.tsx +++ b/pages/swap.tsx @@ -7,6 +7,7 @@ export async function getStaticProps({ locale }: { locale: string }) { props: { ...(await serverSideTranslations(locale, [ 'account', + 'close-account', 'common', 'notifications', 'onboarding', @@ -16,7 +17,6 @@ export async function getStaticProps({ locale }: { locale: string }) { 'settings', 'swap', 'trade', - 'close-account', ])), }, } diff --git a/pages/trade.tsx b/pages/trade.tsx index 5d9292fa..acb71c8a 100644 --- a/pages/trade.tsx +++ b/pages/trade.tsx @@ -22,6 +22,7 @@ export async function getStaticProps({ locale }: { locale: string }) { 'onboarding', 'onboarding-tours', 'profile', + 'search', 'settings', 'swap', 'trade',