Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: plugins add github plugin link

shuaid0e18f4ee6f1
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index c865fc08..550de66f 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -1659,6 +1659,7 @@ ui:
text: Only logged in users can access this community.
installed_plugins:
title: Installed Plugins
+ plugin_link: Plugins extend and expand the functionality of Answer. You may find plugins in the <1>Answer Plugin Repository.</1>.
filter:
all: All
active: Active
diff --git a/ui/src/pages/Admin/Plugins/Installed/index.tsx b/ui/src/pages/Admin/Plugins/Installed/index.tsx
index cde0cb1b..b55e7eb3 100644
--- a/ui/src/pages/Admin/Plugins/Installed/index.tsx
+++ b/ui/src/pages/Admin/Plugins/Installed/index.tsx
@@ -1,7 +1,7 @@
import { FC } from 'react';
import { Table, Dropdown, Stack } from 'react-bootstrap';
import { useSearchParams, useNavigate } from 'react-router-dom';
-import { useTranslation } from 'react-i18next';
+import { useTranslation, Trans } from 'react-i18next';
import classNames from 'classnames';
@@ -58,7 +58,20 @@ const Users: FC = () => {
return (
<>
- <h3 className="mb-4">{t('title')}</h3>
+ <h3>{t('title')}</h3>
+ <div className="mb-4">
+ <Trans i18nKey="admin.installed_plugins.plugin_link">
+ Plugins extend and expand the functionality of Answer. You may find
+ plugins in the
+ <a
+ href="https://github.com/answerdev/plugins"
+ target="_blank"
+ rel="noreferrer">
+ Answer Plugin Repository
+ </a>
+ .
+ </Trans>
+ </div>
<div className="d-flex justify-content-between align-items-center mb-3">
<Stack direction="horizontal" gap={3}>
<QueryGroup