fix(editor): improve error message in mention (#11309)
Close [BS-2972](https://linear.app/affine-design/issue/BS-2972/邀请了无权限阅读的用户时,报错信息展示不正确) Close [BS-2973](https://linear.app/affine-design/issue/BS-2973/也没有区分邀请人是否有邀请权限,并如设计稿给出邀请提示)
This commit is contained in:
@@ -7031,6 +7031,24 @@ export function useAFFiNEI18N(): {
|
||||
* `Mention Members`
|
||||
*/
|
||||
["com.affine.editor.at-menu.mention-members"](): string;
|
||||
/**
|
||||
* `Member not notified`
|
||||
*/
|
||||
["com.affine.editor.at-menu.member-not-notified"](): string;
|
||||
/**
|
||||
* `This member does not have access to this doc, they are not notified.`
|
||||
*/
|
||||
["com.affine.editor.at-menu.member-not-notified-message"](): string;
|
||||
/**
|
||||
* `Access needed`
|
||||
*/
|
||||
["com.affine.editor.at-menu.access-needed"](): string;
|
||||
/**
|
||||
* `{{username}} does not have access to this doc, do you want to invite and notify them?`
|
||||
*/
|
||||
["com.affine.editor.at-menu.access-needed-message"](options: {
|
||||
readonly username: string;
|
||||
}): string;
|
||||
/**
|
||||
* `Show`
|
||||
*/
|
||||
|
||||
@@ -1746,6 +1746,10 @@
|
||||
"com.affine.editor.at-menu.journal": "Journal",
|
||||
"com.affine.editor.at-menu.date-picker": "Select a specific date",
|
||||
"com.affine.editor.at-menu.mention-members": "Mention Members",
|
||||
"com.affine.editor.at-menu.member-not-notified": "Member not notified",
|
||||
"com.affine.editor.at-menu.member-not-notified-message": "This member does not have access to this doc, they are not notified.",
|
||||
"com.affine.editor.at-menu.access-needed": "Access needed",
|
||||
"com.affine.editor.at-menu.access-needed-message": "{{username}} does not have access to this doc, do you want to invite and notify them?",
|
||||
"com.affine.editor.bi-directional-link-panel.show": "Show",
|
||||
"com.affine.editor.bi-directional-link-panel.hide": "Hide",
|
||||
"com.affine.editor.edgeless-note-header.fold-page-block": "Fold page block",
|
||||
|
||||
Reference in New Issue
Block a user