feat(core): add more notification types (#11156)

This commit is contained in:
EYHN
2025-03-25 14:51:08 +08:00
committed by GitHub
parent a2e3d318ba
commit 36eb4991c9
16 changed files with 510 additions and 57 deletions
@@ -14,7 +14,7 @@
"it-IT": 94,
"it": 1,
"ja": 94,
"ko": 60,
"ko": 59,
"pl": 94,
"pt-BR": 94,
"ru": 94,
+34
View File
@@ -1114,6 +1114,10 @@ export function useAFFiNEI18N(): {
["com.affine.auth.sign.auth.code.resend.hint"](options: {
readonly second: string;
}): string;
/**
* `Sent`
*/
["com.affine.auth.sent"](): string;
/**
* `The verification link failed to be sent, please try again later.`
*/
@@ -7417,6 +7421,10 @@ export function useAFFiNEI18N(): {
* `Transcribing`
*/
["com.affine.attachmentViewer.audio.transcribing"](): string;
/**
* `Accept & Join`
*/
["com.affine.notification.invitation.accept"](): string;
/**
* `An internal error occurred.`
*/
@@ -8451,4 +8459,30 @@ export const TypedTrans: {
}, {
a: JSX.Element;
}>>;
/**
* `<1>{{username}}</1> has accept your invitation`
*/
["com.affine.notification.invitation-accepted"]: ComponentType<TypedTransProps<{
readonly username: string;
}, {
["1"]: JSX.Element;
}>>;
/**
* `There is an issue regarding your invitation to <1>{{workspaceName}}</1> `
*/
["com.affine.notification.invitation-blocked"]: ComponentType<TypedTransProps<{
readonly workspaceName: string;
}, {
["1"]: JSX.Element;
}>>;
/**
* `<1>{{username}}</1> invited you to join <2>{{workspaceName}}</2>`
*/
["com.affine.notification.invitation"]: ComponentType<TypedTransProps<Readonly<{
username: string;
workspaceName: string;
}>, {
["1"]: JSX.Element;
["2"]: JSX.Element;
}>>;
} = /*#__PURE__*/ createProxy(createComponent);
@@ -270,6 +270,7 @@
"com.affine.auth.sign.auth.code.continue": "Continue with code",
"com.affine.auth.sign.auth.code.resend": "Resend code",
"com.affine.auth.sign.auth.code.resend.hint": "Resend in {{second}}s",
"com.affine.auth.sent": "Sent",
"com.affine.auth.sent.change.email.fail": "The verification link failed to be sent, please try again later.",
"com.affine.auth.sent.change.email.hint": "Verification link has been sent.",
"com.affine.auth.sent.change.password.hint": "Reset password link has been sent.",
@@ -1847,6 +1848,10 @@
"com.affine.integration.properties": "Integration properties",
"com.affine.attachmentViewer.audio.notes": "Notes",
"com.affine.attachmentViewer.audio.transcribing": "Transcribing",
"com.affine.notification.invitation-accepted": "<1>{{username}}</1> has accept your invitation",
"com.affine.notification.invitation-blocked": "There is an issue regarding your invitation to <1>{{workspaceName}}</1> ",
"com.affine.notification.invitation": "<1>{{username}}</1> invited you to join <2>{{workspaceName}}</2>",
"com.affine.notification.invitation.accept": "Accept & Join",
"error.INTERNAL_SERVER_ERROR": "An internal error occurred.",
"error.NETWORK_ERROR": "Network error.",
"error.TOO_MANY_REQUEST": "Too many requests.",