Skip to content

Commit

Permalink
remove translations (will complete later)
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Nov 11, 2024
1 parent e2827b2 commit 78740e4
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 73 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/SettingsSidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ const SidebarOptions = ({ user = null, t }) => (
roles={["admin"]}
/>
<Option
btnText={t("settings.community-hub")}
btnText="Community Hub"
icon={<Globe className="h-5 w-5 flex-shrink-0" />}
childOptions={[
{
Expand Down
6 changes: 0 additions & 6 deletions frontend/src/locales/de/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const TRANSLATIONS = {
"experimental-features": "Experimentelle Funktionen",
contact: "Support kontaktieren",
"browser-extension": "Browser-Erweiterung",
"community-hub": "Community-Hub",
},

login: {
Expand Down Expand Up @@ -480,11 +479,6 @@ const TRANSLATIONS = {
vector: "Vektordatenbank",
anonymous: "Anonyme Telemetrie aktiviert",
},

"community-hub": {
title: "Community-Hub",
description: "Teilen und zusammenarbeiten mit der AnythingLLM-Community.",
},
};

export default TRANSLATIONS;
7 changes: 0 additions & 7 deletions frontend/src/locales/en/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const TRANSLATIONS = {
"experimental-features": "Experimental Features",
contact: "Contact Support",
"browser-extension": "Browser Extension",
"community-hub": "Community Hub",
},

// Page Definitions
Expand Down Expand Up @@ -335,12 +334,6 @@ const TRANSLATIONS = {
},
},

// Community Hub
"community-hub": {
title: "Community Hub",
description: "Share and collaborate with the AnythingLLM community.",
},

// API Keys
api: {
title: "API Keys",
Expand Down
6 changes: 0 additions & 6 deletions frontend/src/locales/es/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const TRANSLATIONS = {
"experimental-features": "Funciones Experimentales",
contact: "Contactar Soporte",
"browser-extension": "Extensión del navegador",
"community-hub": "Centro Comunitario",
},

login: {
Expand Down Expand Up @@ -483,11 +482,6 @@ const TRANSLATIONS = {
vector: "Base de datos de vectores",
anonymous: "Telemetría anónima habilitada",
},

"community-hub": {
title: "Centro Comunitario",
description: "Comparte y colabora con la comunidad de AnythingLLM.",
},
};

export default TRANSLATIONS;
7 changes: 0 additions & 7 deletions frontend/src/locales/fr/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const TRANSLATIONS = {
"experimental-features": "Fonctionnalités Expérimentales",
contact: "Contacter le Support",
"browser-extension": "Extension de navigateur",
"community-hub": "Espace Communautaire",
},

// Page Definitions
Expand Down Expand Up @@ -499,12 +498,6 @@ const TRANSLATIONS = {
vector: "Base de données vectorielle",
anonymous: "Télémétrie anonyme activée",
},

// Community Hub
"community-hub": {
title: "Espace Communautaire",
description: "Partagez et collaborez avec la communauté AnythingLLM.",
},
};

export default TRANSLATIONS;
7 changes: 0 additions & 7 deletions frontend/src/locales/he/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const TRANSLATIONS = {
"experimental-features": "תכונות ניסיוניות",
contact: "צור קשר עם התמיכה",
"browser-extension": "תוסף דפדפן",
"community-hub": "קהילת מופע AnythingLLM",
},

// Page Definitions
Expand Down Expand Up @@ -329,12 +328,6 @@ const TRANSLATIONS = {
},
},

// Community Hub
"community-hub": {
title: "קהילת מופע AnythingLLM",
description: "שתף והפגשו עם קהילת AnythingLLM.",
},

// API Keys
api: {
title: "מפתחות API",
Expand Down
7 changes: 0 additions & 7 deletions frontend/src/locales/it/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const TRANSLATIONS = {
"experimental-features": "Caratteristiche sperimentali",
contact: "Contatta il Supporto",
"browser-extension": "Estensione del browser",
"community-hub": "Hub della Comunità",
},

// Page Definitions
Expand Down Expand Up @@ -496,12 +495,6 @@ const TRANSLATIONS = {
vector: "Database vettoriale",
anonymous: "Telemetria anonima abilitata",
},

// Community Hub
"community-hub": {
title: "Hub della Comunità",
description: "Condividi e collabora con la comunità di AnythingLLM.",
},
};

export default TRANSLATIONS;
7 changes: 0 additions & 7 deletions frontend/src/locales/ko/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const TRANSLATIONS = {
"experimental-features": "실험적 기능",
contact: "지원팀 연락",
"browser-extension": "브라우저 확장 프로그램",
"community-hub": "커뮤니티 허브",
},

// Page Definitions
Expand Down Expand Up @@ -481,12 +480,6 @@ const TRANSLATIONS = {
vector: "벡터 데이터베이스",
anonymous: "익명 원격 분석 활성화",
},

// Community Hub
"community-hub": {
title: "커뮤니티 허브",
description: "AnythingLLM 커뮤니티와 공유하고 협력하세요.",
},
};

export default TRANSLATIONS;
7 changes: 0 additions & 7 deletions frontend/src/locales/pt_BR/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const TRANSLATIONS = {
"experimental-features": "Recursos Experimentais",
contact: "Contato com Suporte",
"browser-extension": "Extensão do navegador",
"community-hub": "Hub da Comunidade",
},

// Page Definitions
Expand Down Expand Up @@ -494,12 +493,6 @@ const TRANSLATIONS = {
vector: "Banco de Dados Vetorial",
anonymous: "Telemetria Anônima Ativada",
},

// Community Hub
"community-hub": {
title: "Hub da Comunidade",
description: "Compartilhe e colabore com a comunidade AnythingLLM.",
},
};

export default TRANSLATIONS;
7 changes: 0 additions & 7 deletions frontend/src/locales/ru/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const TRANSLATIONS = {
"experimental-features": "Экспериментальные функции",
contact: "联系支持Связаться с Поддержкой",
"browser-extension": "Расширение браузера",
"community-hub": "Центр Сообщества",
},

login: {
Expand Down Expand Up @@ -461,12 +460,6 @@ const TRANSLATIONS = {
vector: "Векторная база данных",
anonymous: "Анонимная телеметрия включена",
},

// Community Hub
"community-hub": {
title: "Центр Сообщества",
description: "Поделитесь и сотрудничайте с сообществом AnythingLLM.",
},
};

export default TRANSLATIONS;
7 changes: 0 additions & 7 deletions frontend/src/locales/zh/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const TRANSLATIONS = {
"experimental-features": "实验功能",
contact: "联系支持",
"browser-extension": "浏览器扩展",
"community-hub": "社区中心",
},

// Page Definitions
Expand Down Expand Up @@ -464,12 +463,6 @@ const TRANSLATIONS = {
vector: "向量数据库",
anonymous: "启用匿名遥测",
},

// Community Hub
"community-hub": {
title: "社区中心",
description: "与 AnythingLLM 社区分享和协作。",
},
};

export default TRANSLATIONS;
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import Sidebar from "@/components/SettingsSidebar";
import { isMobile } from "react-device-detect";
import { useTranslation } from "react-i18next";
import HubItems from "./HubItems";

export default function CommunityHub() {
const { t } = useTranslation();
return (
<div className="w-screen h-screen overflow-hidden bg-sidebar flex">
<Sidebar />
Expand All @@ -16,11 +14,11 @@ export default function CommunityHub() {
<div className="w-full flex flex-col gap-y-1 pb-6 border-white border-b-2 border-opacity-10">
<div className="items-center">
<p className="text-lg leading-6 font-bold text-white">
{t("community-hub.title")}
Community Hub
</p>
</div>
<p className="text-xs leading-[18px] font-base text-white text-opacity-60">
{t("community-hub.description")}
Share and collaborate with the AnythingLLM community.
</p>
</div>
<HubItems />
Expand Down

0 comments on commit 78740e4

Please sign in to comment.