From 9aee4cc4a15abcc87cdd646cc5083d35a9113ddc Mon Sep 17 00:00:00 2001 From: smo Date: Wed, 13 May 2026 08:15:07 +0200 Subject: [PATCH 1/2] remove telegram [fr es it in tr ru pt] --- cypress/fixture/homepage.config.ts | 32 ---------------------- public/locales/de/layout.json | 21 -------------- public/locales/en-US/layout.json | 21 -------------- public/locales/fr/layout.json | 21 -------------- public/locales/zh-Hans/layout.json | 21 -------------- public/locales/zh-Hant/layout.json | 21 -------------- src/layouts/components/Community.tsx | 41 ++-------------------------- 7 files changed, 3 insertions(+), 175 deletions(-) diff --git a/cypress/fixture/homepage.config.ts b/cypress/fixture/homepage.config.ts index 1c33d8d43..7b2475e33 100644 --- a/cypress/fixture/homepage.config.ts +++ b/cypress/fixture/homepage.config.ts @@ -90,36 +90,4 @@ export const communityLinks = [ headerId: "telegram-de-blockchain", href: "https://t.me/defiblockchain_DE", }, - { - headerId: "telegram-fr-blockchain", - href: "https://t.me/defiblockchain_FR", - }, - { - headerId: "telegram-es", - href: "https://t.me/official_defichain_es", - }, - { - headerId: "telegram-it", - href: "https://t.me/defiblockchain_IT", - }, - { - headerId: "telegram-id", - href: "https://t.me/defiblockchain_ID", - }, - { - headerId: "telegram-tr", - href: "https://t.me/defiblockchain_TR", - }, - { - headerId: "telegram-zh", - href: "https://t.me/defichain_ZH", - }, - { - headerId: "telegram-ru", - href: "https://t.me/defichain_RU", - }, - { - headerId: "telegram-pt", - href: "https://t.me/defichain_PT", - }, ]; diff --git a/public/locales/de/layout.json b/public/locales/de/layout.json index 776253d01..dd7da0115 100644 --- a/public/locales/de/layout.json +++ b/public/locales/de/layout.json @@ -123,27 +123,6 @@ { "title": "Telegram (DE)" }, - { - "title": "Telegram (FR)" - }, - { - "title": "Telegram (ES)" - }, - { - "title": "Telegram (IT)" - }, - { - "title": "Telegram (IN)" - }, - { - "title": "Telegram (TR)" - }, - { - "title": "Telegram (RU)" - }, - { - "title": "Telegram (PT)" - }, { "title": "Telegram (Masternodes EN)" }, diff --git a/public/locales/en-US/layout.json b/public/locales/en-US/layout.json index 24cc38a9e..3717b574a 100644 --- a/public/locales/en-US/layout.json +++ b/public/locales/en-US/layout.json @@ -125,27 +125,6 @@ { "title": "Telegram (DE)" }, - { - "title": "Telegram (FR)" - }, - { - "title": "Telegram (ES)" - }, - { - "title": "Telegram (IT)" - }, - { - "title": "Telegram (IN)" - }, - { - "title": "Telegram (TR)" - }, - { - "title": "Telegram (RU)" - }, - { - "title": "Telegram (PT)" - }, { "title": "Telegram (Masternodes EN)" }, diff --git a/public/locales/fr/layout.json b/public/locales/fr/layout.json index 2c0eaf7ad..e2d8c9f09 100644 --- a/public/locales/fr/layout.json +++ b/public/locales/fr/layout.json @@ -121,27 +121,6 @@ { "title": "Telegram (DE)" }, - { - "title": "Telegram (FR)" - }, - { - "title": "Telegram (ES)" - }, - { - "title": "Telegram (IT)" - }, - { - "title": "Telegram (IN)" - }, - { - "title": "Telegram (TR)" - }, - { - "title": "Telegram (RU)" - }, - { - "title": "Telegram (PT)" - }, { "title": "Telegram (Masternodes EN)" }, diff --git a/public/locales/zh-Hans/layout.json b/public/locales/zh-Hans/layout.json index c26d7a1b9..360971057 100644 --- a/public/locales/zh-Hans/layout.json +++ b/public/locales/zh-Hans/layout.json @@ -121,27 +121,6 @@ { "title": "Telegram (DE)" }, - { - "title": "Telegram (FR)" - }, - { - "title": "Telegram (ES)" - }, - { - "title": "Telegram (IT)" - }, - { - "title": "Telegram (IN)" - }, - { - "title": "Telegram (TR)" - }, - { - "title": "Telegram (RU)" - }, - { - "title": "Telegram (PT)" - }, { "title": "Telegram (Masternodes EN)" }, diff --git a/public/locales/zh-Hant/layout.json b/public/locales/zh-Hant/layout.json index 8b0f1eed7..36f702199 100644 --- a/public/locales/zh-Hant/layout.json +++ b/public/locales/zh-Hant/layout.json @@ -121,27 +121,6 @@ { "title": "Telegram (DE)" }, - { - "title": "Telegram (FR)" - }, - { - "title": "Telegram (ES)" - }, - { - "title": "Telegram (IT)" - }, - { - "title": "Telegram (IN)" - }, - { - "title": "Telegram (TR)" - }, - { - "title": "Telegram (RU)" - }, - { - "title": "Telegram (PT)" - }, { "title": "Telegram (Masternodes EN)" }, diff --git a/src/layouts/components/Community.tsx b/src/layouts/components/Community.tsx index c5573343b..a212001cf 100644 --- a/src/layouts/components/Community.tsx +++ b/src/layouts/components/Community.tsx @@ -75,54 +75,19 @@ export function Community() { title: entries[1].labels[7].title, testID: "community-telegram-de-blockchain", }, - { - href: "https://t.me/defiblockchain_FR", - title: entries[1].labels[8].title, - testID: "community-telegram-fr-blockchain", - }, - { - href: "https://t.me/official_defichain_es", - title: entries[1].labels[9].title, - testID: "community-telegram-es", - }, - { - href: "https://t.me/defiblockchain_IT", - title: entries[1].labels[10].title, - testID: "community-telegram-it", - }, - { - href: "https://t.me/DevHackBLR", - title: entries[1].labels[11].title, - testID: "community-telegram-in", - }, - { - href: "https://t.me/defiblockchain_TR", - title: entries[1].labels[12].title, - testID: "community-telegram-tr", - }, - { - href: "https://t.me/defichain_RU", - title: entries[1].labels[13].title, - testID: "community-telegram-ru", - }, - { - href: "https://t.me/defiblockchain_PT", - title: entries[1].labels[14].title, - testID: "community-telegram-pt", - }, { href: "https://t.me/DeFiMasternodes", - title: entries[1].labels[15].title, + title: entries[1].labels[8].title, testID: "community-telegram-mn-en", }, { href: "https://t.me/DeFiChainMNGerman", - title: entries[1].labels[16].title, + title: entries[1].labels[9].title, testID: "community-telegram-mn-de", }, { href: "https://defichainwiki.com", - title: entries[1].labels[17].title, + title: entries[1].labels[10].title, testID: "community-wiki", }, ], From f6f126a4397f4ca84407044cd61b29db00de3601 Mon Sep 17 00:00:00 2001 From: smo Date: Wed, 13 May 2026 09:25:33 +0200 Subject: [PATCH 2/2] change wiki url --- src/layouts/components/Community.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/components/Community.tsx b/src/layouts/components/Community.tsx index a212001cf..ca64d8534 100644 --- a/src/layouts/components/Community.tsx +++ b/src/layouts/components/Community.tsx @@ -86,7 +86,7 @@ export function Community() { testID: "community-telegram-mn-de", }, { - href: "https://defichainwiki.com", + href: "https://wiki.defichain.com", title: entries[1].labels[10].title, testID: "community-wiki", },