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.

Merge branch 'dev' into feature-plugin

LinkinStars4a8ae2b166a7
diff --cc i18n/zh_CN.yaml
index 72eb92c4,604c7e23..d36e727c
--- a/i18n/zh_CN.yaml
+++ b/i18n/zh_CN.yaml
@@@ -1321,24 -1311,8 +1318,25 @@@ ui
title: 非公开的
label: 需要登录
text: 只有登录用户才能访问这个社区。
+ installed_plugins:
+ title: 插件列表
+ filter:
+ all: 全部
+ active: 启用
+ inactive: 未启用
+ outdated: 已过期
+ plugins:
+ label: 插件
+ text: 选择一个插件
+ name: 插件名称
+ version: 插件版本
+ status: 状态
+ action: 操作
+ deactivate: 停用
+ activate: 启用
+ settings: 设置
form:
+ optional: (选填)
empty: 不能为空
invalid: 是无效的
btn_submit: 保存
diff --cc ui/src/hooks/index.ts
index 756d8724,ca4fa1ea..f7942048
--- a/ui/src/hooks/index.ts
+++ b/ui/src/hooks/index.ts
@@@ -8,8 -8,8 +8,9 @@@ import useChangeUserRoleModal from './u
import useUserModal from './useUserModal';
import useChangePasswordModal from './useChangePasswordModal';
import usePageTags from './usePageTags';
+import useLoginRedirect from './useLoginRedirect';
import usePromptWithUnload from './usePrompt';
+ import useImgViewer from './useImgViewer';
export {
useTagModal,
@@@ -22,6 -22,6 +23,7 @@@
useUserModal,
useChangePasswordModal,
usePageTags,
+ useLoginRedirect,
usePromptWithUnload,
+ useImgViewer,
};
diff --cc ui/src/utils/index.ts
index 1dc80b71,dc31d743..4e1478be
--- a/ui/src/utils/index.ts
+++ b/ui/src/utils/index.ts
@@@ -1,8 -1,10 +1,10 @@@
export { default as request } from './request';
export { default as Storage } from './storage';
export { floppyNavigation } from './floppyNavigation';
+ export { default as storageExpires } from './storageWithExpires';
+ export { default as SaveDraft } from './saveDraft';
-export * as guard from './guard';
-export * as localize from './localize';
export * from './common';
export * from './color';
+export * as localize from './localize';
+export * as guard from './guard';