From 3b7492ae03d6b97b725d1b7af4473a993b0aaff3 Mon Sep 17 00:00:00 2001
From: Zoriot
Date: Mon, 12 Jan 2026 21:58:25 +0100
Subject: [PATCH] =?UTF-8?q?feat(dash/team):=20=E2=9C=A8=20Add=20"View=20te?=
=?UTF-8?q?ams=20on=20the=20map"=20link=20and=20translations?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apps/frontend/public/locales/de/teams.json | 1 +
apps/frontend/public/locales/en/teams.json | 1 +
apps/frontend/public/locales/fr/teams.json | 1 +
apps/frontend/public/locales/nl/teams.json | 1 +
apps/frontend/public/locales/no/teams.json | 1 +
apps/frontend/public/locales/ru/teams.json | 1 +
apps/frontend/public/locales/zh/teams.json | 1 +
apps/frontend/public/locales/zhs/teams.json | 1 +
apps/frontend/src/pages/teams/index.tsx | 4 ++++
9 files changed, 12 insertions(+)
diff --git a/apps/frontend/public/locales/de/teams.json b/apps/frontend/public/locales/de/teams.json
index b4c4be37..4153b04f 100644
--- a/apps/frontend/public/locales/de/teams.json
+++ b/apps/frontend/public/locales/de/teams.json
@@ -3,6 +3,7 @@
"title": "Bau Teams"
},
"description": "Bauteams sind der einfachste Weg, an Build The Earth teilzunehmen. Diese Gruppen arbeiten auf einem Multiplayer-Server zusammen, um Städte, Regionen und manchmal sogar ganze Länder aufzubauen. Alles, was du tun musst, ist auf \"Bewerben\" zu klicken und schon kannst du mithelfen!",
+ "viewOnMap": "Teams auf der Karte anzeigen",
"joining": "Um an einem Build-Team teilzunehmen, musst du je nach Team die Minecraft Java Edition oder die Minecraft Bedrock Edition besitzen. In den meisten Fällen musst du auch das Build The Earth Modpack installiert haben.",
"members": "{{num}} Mitglieder",
"team": {
diff --git a/apps/frontend/public/locales/en/teams.json b/apps/frontend/public/locales/en/teams.json
index 194111f3..b1dcce41 100644
--- a/apps/frontend/public/locales/en/teams.json
+++ b/apps/frontend/public/locales/en/teams.json
@@ -3,6 +3,7 @@
"title": "Build Teams"
},
"description": "Build teams are the easiest way to join Build The Earth. These groups work together on a multiplayer server to build cities, regions and sometimes even entire countries. All you need to do is click 'Apply to join' and within no time you can start helping out!",
+ "viewOnMap": "View teams on the map",
"joining": "To participate in a build team, you need to have purchased Minecraft Java Edition or Minecraft Bedrock Edition, depending on the team. In most cases, you will also be required to have the Build The Earth Modpack installed.",
"members": "{{num}} Members",
"team": {
diff --git a/apps/frontend/public/locales/fr/teams.json b/apps/frontend/public/locales/fr/teams.json
index 9d7b3320..75e7db1e 100644
--- a/apps/frontend/public/locales/fr/teams.json
+++ b/apps/frontend/public/locales/fr/teams.json
@@ -3,6 +3,7 @@
"title": "Teams de build"
},
"description": "Les équipes de construction sont le moyen le plus simple de rejoindre BuildTheEarth. Ces groupes travaillent ensemble sur un serveur multijoueur pour construire des villes, des régions et parfois des pays entiers. Tout ce que vous avez à faire est de cliquer sur \"Postuler pour rejoindre\" et en un rien de temps vous pourrez commencer à nous aider !",
+ "viewOnMap": "Voir les équipes sur la carte",
"joining": "Pour participer à une équipe de construction, vous devez avoir acheté Minecraft Java Edition ou Minecraft Bedrock Edition, selon l'équipe. Dans la plupart des cas, vous devrez également avoir le modpack BuildTheEarth installé.",
"members": "{{num}} Membres",
"team": {
diff --git a/apps/frontend/public/locales/nl/teams.json b/apps/frontend/public/locales/nl/teams.json
index 9881bfa6..44f26490 100644
--- a/apps/frontend/public/locales/nl/teams.json
+++ b/apps/frontend/public/locales/nl/teams.json
@@ -3,6 +3,7 @@
"title": "Build Teams"
},
"description": "Build Teams zijn de eenvoudigste manier om mee te doen aan Build The Earth. Deze groepen werken samen op een multiplayer server om steden, regio's en soms zelfs hele landen na te bouwen. Je hoeft alleen maar op 'Meld je aan om mee te doen' te klikken om in no time mee te kunnen helpen!",
+ "viewOnMap": "Bekijk teams op de kaart",
"joining": "Om in een Build Team mee te kunnen bouwen moet je Minecraft Java editie of Minecraft Bedrock editie hebben gekocht, afhankelijk van het team. In de meeste gevallen moet je ook de Build The Earth Modpack geïnstalleerd hebben.",
"members": "{{num}} Leden",
"team": {
diff --git a/apps/frontend/public/locales/no/teams.json b/apps/frontend/public/locales/no/teams.json
index 863a4c3b..0d69e47e 100644
--- a/apps/frontend/public/locales/no/teams.json
+++ b/apps/frontend/public/locales/no/teams.json
@@ -3,6 +3,7 @@
"title": "Byggelag"
},
"description": "Byggelag er den enkleste måten å bli med i BuildTheEarth. Disse gruppene samarbeider på en flerspiller-server for å bygge byer, regioner og noen ganger til og med hele land. Alt du trenger å gjøre er å klikke på 'Søk om å bli med', og innen kort tid kan du begynne å hjelpe til!",
+ "viewOnMap": "Se lag på kartet",
"joining": "For å delta i et byggelag, må du ha kjøpt Minecraft Java Edition eller Minecraft Bedrock Edition, avhengig av laget. I de fleste tilfeller må du også ha BuildTheEarth-Modpack installert.",
"members": "{{num}} Medlemmer",
"team": {
diff --git a/apps/frontend/public/locales/ru/teams.json b/apps/frontend/public/locales/ru/teams.json
index b97f9cdf..d81b43e1 100644
--- a/apps/frontend/public/locales/ru/teams.json
+++ b/apps/frontend/public/locales/ru/teams.json
@@ -3,6 +3,7 @@
"title": "Команды строителей"
},
"description": "Команды строителей - лëгкий способ присоединиться к BuildTheEarth. Такие команды строят вместе на отдельном сервере свои страны и города. Всë что нужно - нажать на кнопку \"Присоединиться\" и немного подождать, после чего вы уже сможете помогать с воссозданием мира!",
+ "viewOnMap": "Посмотреть команды на карте",
"joining": "Чтобы участвовать в команде, у вас должна быть лицензия Minecraft Java Edition или Minecraft Bedrock Edition, в зависимости от команды. В большинстве случаев вам также потребуется установить модуль Build The Earth Modpack.",
"members": "{{num}} Участников",
"team": {
diff --git a/apps/frontend/public/locales/zh/teams.json b/apps/frontend/public/locales/zh/teams.json
index d446e614..a0a1169b 100644
--- a/apps/frontend/public/locales/zh/teams.json
+++ b/apps/frontend/public/locales/zh/teams.json
@@ -3,6 +3,7 @@
"title": "建築團隊"
},
"description": "加入建築團隊是參與Build The Earth最簡單的方式。這些團體在多人伺服器上合作建造城市、區域,有時甚至是整個國家。您只需要點擊「申請加入」,然後就可以立即展開協助!",
+ "viewOnMap": "在地圖上查看團隊",
"joining": "要加入建築團隊,您需要購買Minecraft Java版或Minecraft 基岩版,具體取決於團隊。在大多數情況下,您還需要安裝Build The Earth模組包。",
"members": "{{num}} 名成員",
"team": {
diff --git a/apps/frontend/public/locales/zhs/teams.json b/apps/frontend/public/locales/zhs/teams.json
index a1b062e4..a18c35a3 100644
--- a/apps/frontend/public/locales/zhs/teams.json
+++ b/apps/frontend/public/locales/zhs/teams.json
@@ -3,6 +3,7 @@
"title": "建筑团队"
},
"description": "建筑团队是加入构建地球的最简单方式。 这些小组在多人游戏服务器上合作,建设城市、区域,有时甚至整个国家。 您需要做的只是单击「申请加入」并在任何时间内开始给予帮助!",
+ "viewOnMap": "在地图上查看团队",
"joining": "要参与建筑团队,您需要购买我的世界Java版或我的世界基岩版, 视团队而定。 在大多数情况下,您还需要安装Build The Earth模组包。",
"members": "{{num}} 个成员",
"team": {
diff --git a/apps/frontend/src/pages/teams/index.tsx b/apps/frontend/src/pages/teams/index.tsx
index 897b7d13..b9d9cd78 100644
--- a/apps/frontend/src/pages/teams/index.tsx
+++ b/apps/frontend/src/pages/teams/index.tsx
@@ -20,6 +20,7 @@ import { NextPage } from 'next';
import { useTranslation } from 'next-i18next';
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
import { useRouter } from 'next/router';
+import Link from 'next/link';
import { useState } from 'react';
const Teams: NextPage = ({ data }: any) => {
@@ -41,6 +42,9 @@ const Teams: NextPage = ({ data }: any) => {
{t('description')}