mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 17:39:55 +08:00
refactor(server): config system (#11081)
This commit is contained in:
@@ -8048,6 +8048,10 @@ export function useAFFiNEI18N(): {
|
||||
* `You can not mention yourself.`
|
||||
*/
|
||||
["error.MENTION_USER_ONESELF_DENIED"](): string;
|
||||
/**
|
||||
* `Invalid app config.`
|
||||
*/
|
||||
["error.INVALID_APP_CONFIG"](): string;
|
||||
} { const { t } = useTranslation(); return useMemo(() => createProxy((key) => t.bind(null, key)), [t]); }
|
||||
function createComponent(i18nKey: string) {
|
||||
return (props) => createElement(Trans, { i18nKey, shouldUnescape: true, ...props });
|
||||
|
||||
@@ -1985,5 +1985,6 @@
|
||||
"error.UNSUPPORTED_CLIENT_VERSION": "Unsupported client with version [{{clientVersion}}], required version is [{{requiredVersion}}].",
|
||||
"error.NOTIFICATION_NOT_FOUND": "Notification not found.",
|
||||
"error.MENTION_USER_DOC_ACCESS_DENIED": "Mentioned user can not access doc {{docId}}.",
|
||||
"error.MENTION_USER_ONESELF_DENIED": "You can not mention yourself."
|
||||
"error.MENTION_USER_ONESELF_DENIED": "You can not mention yourself.",
|
||||
"error.INVALID_APP_CONFIG": "Invalid app config."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user