diff --git a/blog-site/src/layouts/Base.astro b/blog-site/src/layouts/Base.astro index e6e93c6b6..3702b01ee 100644 --- a/blog-site/src/layouts/Base.astro +++ b/blog-site/src/layouts/Base.astro @@ -115,7 +115,6 @@ const keywordTags = keywords ? keywords.split(',').map(k => k.trim()).slice(0, 6 Docs Status GitHub - Discussions Discord X diff --git a/docs/docs.json b/docs/docs.json index aa79f9353..9c7a52b37 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -292,10 +292,6 @@ "label": "GitHub", "href": "https://github.com/koala73/worldmonitor" }, - { - "label": "Discussions", - "href": "https://github.com/koala73/worldmonitor/discussions" - }, { "label": "Discord", "href": "https://discord.gg/re63kWKxaz" diff --git a/pro-test/src/App.tsx b/pro-test/src/App.tsx index 3d879819f..ee97d5259 100644 --- a/pro-test/src/App.tsx +++ b/pro-test/src/App.tsx @@ -936,7 +936,6 @@ const Footer = () => ( Docs Status GitHub - Discussions Discord X @@ -1137,7 +1136,6 @@ const EnterprisePage = () => ( Docs Status GitHub - Discussions Discord X diff --git a/src/app/panel-layout.ts b/src/app/panel-layout.ts index b540dd83f..f68a0e3b0 100644 --- a/src/app/panel-layout.ts +++ b/src/app/panel-layout.ts @@ -349,7 +349,7 @@ export class PanelLayoutManager implements AppModule { Docs Status GitHub - Discussions + Discord X © ${new Date().getFullYear()} World Monitor diff --git a/src/components/CommunityWidget.ts b/src/components/CommunityWidget.ts index f7e313b16..06408d9a7 100644 --- a/src/components/CommunityWidget.ts +++ b/src/components/CommunityWidget.ts @@ -1,8 +1,8 @@ import { t } from '@/services/i18n'; import { getDismissed, setDismissed } from '@/utils/cross-domain-storage'; -const DISMISSED_KEY = 'wm-community-dismissed'; -const DISCUSSION_URL = 'https://github.com/koala73/worldmonitor/discussions/94'; +const DISMISSED_KEY = 'wm-community-dismissed-v2'; +const DISCUSSION_URL = 'https://discord.gg/re63kWKxaz'; export function mountCommunityWidget(): void { if (getDismissed(DISMISSED_KEY)) return; diff --git a/src/locales/ar.json b/src/locales/ar.json index 2c16e6e6f..00789994d 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -924,8 +924,8 @@ "nuclear": "نووي" }, "community": { - "joinDiscussion": "انضم إلى النقاش", - "openDiscussion": "فتح النقاش", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "عدم العرض مجدداً", "sectionLabel": "المجتمع" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "فتح ملخص البلد", "copyCoordinates": "نسخ الإحداثيات" } -} +} \ No newline at end of file diff --git a/src/locales/bg.json b/src/locales/bg.json index 376ae1717..26cf3b184 100644 --- a/src/locales/bg.json +++ b/src/locales/bg.json @@ -958,8 +958,8 @@ "nuclear": "Ядрена" }, "community": { - "joinDiscussion": "Присъединете се към дискусията", - "openDiscussion": "Отворена дискусия", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Не показвай отново", "sectionLabel": "Общност" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Отвори обзор на страната", "copyCoordinates": "Копирай координати" } -} +} \ No newline at end of file diff --git a/src/locales/cs.json b/src/locales/cs.json index 82a36437e..0d9150d44 100644 --- a/src/locales/cs.json +++ b/src/locales/cs.json @@ -948,8 +948,8 @@ "nuclear": "Jaderné zařízení" }, "community": { - "joinDiscussion": "Připojit se k diskusi", - "openDiscussion": "Otevřít diskusi", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Příště nezobrazovat", "sectionLabel": "Komunita" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Otevřít přehled země", "copyCoordinates": "Kopírovat souřadnice" } -} +} \ No newline at end of file diff --git a/src/locales/de.json b/src/locales/de.json index 8071c0636..56bb68af4 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1060,8 +1060,8 @@ "nuclear": "Nuklear" }, "community": { - "joinDiscussion": "An der Diskussion teilnehmen", - "openDiscussion": "Diskussion öffnen", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Nicht mehr anzeigen", "sectionLabel": "Gemeinschaft" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Länderübersicht öffnen", "copyCoordinates": "Koordinaten kopieren" } -} +} \ No newline at end of file diff --git a/src/locales/el.json b/src/locales/el.json index 2c3a05433..5b8c1b5c2 100644 --- a/src/locales/el.json +++ b/src/locales/el.json @@ -958,8 +958,8 @@ "nuclear": "Πυρηνικό" }, "community": { - "joinDiscussion": "Συμμετοχή στη Συζήτηση", - "openDiscussion": "Ανοιχτή Συζήτηση", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Να μην εμφανιστεί ξανά", "sectionLabel": "Κοινότητα" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Άνοιγμα επισκόπησης χώρας", "copyCoordinates": "Αντιγραφή συντεταγμένων" } -} +} \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index 7150e82ac..be924fb0a 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1090,8 +1090,8 @@ "nuclear": "Nuclear" }, "community": { - "joinDiscussion": "Join the Discussion", - "openDiscussion": "Open Discussion", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Don't show again", "sectionLabel": "Community" }, diff --git a/src/locales/es.json b/src/locales/es.json index acd57ed00..521f8b67d 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -1060,8 +1060,8 @@ "nuclear": "Nuclear" }, "community": { - "joinDiscussion": "Únete a la discusión", - "openDiscussion": "Abrir discusión", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "No mostrar de nuevo", "sectionLabel": "Comunidad" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Abrir resumen del país", "copyCoordinates": "Copiar coordenadas" } -} +} \ No newline at end of file diff --git a/src/locales/fr.json b/src/locales/fr.json index 084d17245..dd007713a 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -924,8 +924,8 @@ "nuclear": "Nucléaire" }, "community": { - "joinDiscussion": "Rejoindre la discussion", - "openDiscussion": "Ouvrir la discussion", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Ne plus afficher", "sectionLabel": "Communauté" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Ouvrir la fiche pays", "copyCoordinates": "Copier les coordonnées" } -} +} \ No newline at end of file diff --git a/src/locales/it.json b/src/locales/it.json index 5e19ebb64..da5d02697 100644 --- a/src/locales/it.json +++ b/src/locales/it.json @@ -1060,8 +1060,8 @@ "nuclear": "Nucleare" }, "community": { - "joinDiscussion": "Unisciti alla discussione", - "openDiscussion": "Apri discussione", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Non mostrare più", "sectionLabel": "Comunità" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Apri scheda paese", "copyCoordinates": "Copia coordinate" } -} +} \ No newline at end of file diff --git a/src/locales/ja.json b/src/locales/ja.json index 96a336725..80cb04301 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -958,8 +958,8 @@ "nuclear": "核施設" }, "community": { - "joinDiscussion": "ディスカッションに参加", - "openDiscussion": "ディスカッションを開く", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "今後表示しない", "sectionLabel": "コミュニティ" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "国の概要を開く", "copyCoordinates": "座標をコピー" } -} +} \ No newline at end of file diff --git a/src/locales/ko.json b/src/locales/ko.json index 7cc5c3fa7..061bb2757 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -958,8 +958,8 @@ "nuclear": "핵 시설" }, "community": { - "joinDiscussion": "토론 참여", - "openDiscussion": "토론 열기", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "다시 표시하지 않기", "sectionLabel": "커뮤니티" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "국가 개요 열기", "copyCoordinates": "좌표 복사" } -} +} \ No newline at end of file diff --git a/src/locales/nl.json b/src/locales/nl.json index 4e1fec216..98028f850 100644 --- a/src/locales/nl.json +++ b/src/locales/nl.json @@ -739,8 +739,8 @@ "nuclear": "Nucleair" }, "community": { - "joinDiscussion": "Doe mee aan de discussie", - "openDiscussion": "Open discussie", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Niet meer tonen", "sectionLabel": "Gemeenschap" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Landenoverzicht openen", "copyCoordinates": "Coördinaten kopiëren" } -} +} \ No newline at end of file diff --git a/src/locales/pl.json b/src/locales/pl.json index d169048d1..ed2920028 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -1036,8 +1036,8 @@ "nuclear": "Obiekt jądrowy" }, "community": { - "joinDiscussion": "Dołącz do dyskusji", - "openDiscussion": "Otwórz dyskusję", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Nie pokazuj ponownie", "sectionLabel": "Społeczność" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Otwórz przegląd kraju", "copyCoordinates": "Kopiuj współrzędne" } -} +} \ No newline at end of file diff --git a/src/locales/pt.json b/src/locales/pt.json index 1dd4aa1a9..acda6e212 100644 --- a/src/locales/pt.json +++ b/src/locales/pt.json @@ -739,8 +739,8 @@ "nuclear": "Nuclear" }, "community": { - "joinDiscussion": "Junte-se à discussão", - "openDiscussion": "Abrir discussão", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Não mostrar novamente", "sectionLabel": "Comunidade" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Abrir resumo do país", "copyCoordinates": "Copiar coordenadas" } -} +} \ No newline at end of file diff --git a/src/locales/ro.json b/src/locales/ro.json index 9d7adee7f..ccd7693e7 100644 --- a/src/locales/ro.json +++ b/src/locales/ro.json @@ -958,8 +958,8 @@ "nuclear": "Nuclear" }, "community": { - "joinDiscussion": "Alăturați-vă discuției", - "openDiscussion": "Deschideți discuția", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Nu mai afișa", "sectionLabel": "Comunitate" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Deschide prezentarea țării", "copyCoordinates": "Copiază coordonatele" } -} +} \ No newline at end of file diff --git a/src/locales/ru.json b/src/locales/ru.json index ce21da14a..b09cacafa 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -958,8 +958,8 @@ "nuclear": "Ядерный" }, "community": { - "joinDiscussion": "Присоединиться к обсуждению", - "openDiscussion": "Открыть обсуждение", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Больше не показывать", "sectionLabel": "Сообщество" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Открыть обзор страны", "copyCoordinates": "Скопировать координаты" } -} +} \ No newline at end of file diff --git a/src/locales/sv.json b/src/locales/sv.json index 364b91c36..2fef1232d 100644 --- a/src/locales/sv.json +++ b/src/locales/sv.json @@ -739,8 +739,8 @@ "nuclear": "Kärnteknisk" }, "community": { - "joinDiscussion": "Gå med i diskussionen", - "openDiscussion": "Öppna diskussion", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Visa inte igen", "sectionLabel": "Gemenskap" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Öppna landsöversikt", "copyCoordinates": "Kopiera koordinater" } -} +} \ No newline at end of file diff --git a/src/locales/th.json b/src/locales/th.json index 02970509b..6f35b6e2e 100644 --- a/src/locales/th.json +++ b/src/locales/th.json @@ -958,8 +958,8 @@ "nuclear": "นิวเคลียร์" }, "community": { - "joinDiscussion": "เข้าร่วมการสนทนา", - "openDiscussion": "เปิดการสนทนา", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "ไม่แสดงอีก", "sectionLabel": "ชุมชน" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "เปิดภาพรวมประเทศ", "copyCoordinates": "คัดลอกพิกัด" } -} +} \ No newline at end of file diff --git a/src/locales/tr.json b/src/locales/tr.json index 033935d4c..ae7fc25c9 100644 --- a/src/locales/tr.json +++ b/src/locales/tr.json @@ -958,8 +958,8 @@ "nuclear": "Nukleer" }, "community": { - "joinDiscussion": "Tartismaya Katilin", - "openDiscussion": "Tartismayi Ac", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Bir daha gosterme", "sectionLabel": "Topluluk" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Ülke özetini aç", "copyCoordinates": "Koordinatları kopyala" } -} +} \ No newline at end of file diff --git a/src/locales/vi.json b/src/locales/vi.json index 23f7971e8..3409a90c9 100644 --- a/src/locales/vi.json +++ b/src/locales/vi.json @@ -958,8 +958,8 @@ "nuclear": "Hạt nhân" }, "community": { - "joinDiscussion": "Tham gia Thảo luận", - "openDiscussion": "Mở Thảo luận", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "Không hiển thị lại", "sectionLabel": "Cộng đồng" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "Mở tổng quan quốc gia", "copyCoordinates": "Sao chép tọa độ" } -} +} \ No newline at end of file diff --git a/src/locales/zh.json b/src/locales/zh.json index b5658b16c..176d343ff 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -958,8 +958,8 @@ "nuclear": "核设施" }, "community": { - "joinDiscussion": "加入讨论", - "openDiscussion": "打开讨论", + "joinDiscussion": "Join Discord", + "openDiscussion": "Join Discord", "dontShowAgain": "不再显示", "sectionLabel": "社区" }, @@ -2403,4 +2403,4 @@ "openCountryBrief": "打开国家简报", "copyCoordinates": "复制坐标" } -} +} \ No newline at end of file diff --git a/src/services/preferences-content.ts b/src/services/preferences-content.ts index 5af719982..422daca45 100644 --- a/src/services/preferences-content.ts +++ b/src/services/preferences-content.ts @@ -245,7 +245,7 @@ export function renderPreferences(host: PreferencesHost): PreferencesResult {
`; - html += ` + html += ` ${t('components.community.joinDiscussion')} `;