fix(core): adjust share menu (#10164)

close AF-2218 AF-2215 AF-2221
This commit is contained in:
JimmFly
2025-02-14 10:32:12 +00:00
parent 36800f2d24
commit 9048b38069
20 changed files with 328 additions and 184 deletions

View File

@@ -14,7 +14,7 @@
"it-IT": 88,
"it": 1,
"ja": 88,
"ko": 64,
"ko": 63,
"pl": 88,
"pt-BR": 88,
"ru": 88,

View File

@@ -3586,6 +3586,10 @@ export function useAFFiNEI18N(): {
* `Real-time syncing & collaboration for more people.`
*/
["com.affine.payment.cloud.pro.benefit.g1-8"](): string;
/**
* `Granular edit access to docs.`
*/
["com.affine.payment.cloud.pro.benefit.g1-9"](): string;
/**
* `For family and small teams.`
*/
@@ -5886,6 +5890,10 @@ export function useAFFiNEI18N(): {
* `Members in workspace`
*/
["com.affine.share-menu.option.permission.label"](): string;
/**
* `Workspace admins and owner automatically have Can manage permissions.`
*/
["com.affine.share-menu.option.permission.tips"](): string;
/**
* `Publish to web`
*/
@@ -5933,6 +5941,22 @@ export function useAFFiNEI18N(): {
* `Set as owner`
*/
["com.affine.share-menu.member-management.set-as-owner"](): string;
/**
* `Make this person the owner?`
*/
["com.affine.share-menu.member-management.set-as-owner.confirm.title"](): string;
/**
* `The new owner will be effective immediately, and you might lose access to this doc if other users remove you, please confirm.`
*/
["com.affine.share-menu.member-management.set-as-owner.confirm.description"](): string;
/**
* `Permission updated`
*/
["com.affine.share-menu.member-management.update-success"](): string;
/**
* `Failed to update permission`
*/
["com.affine.share-menu.member-management.update-fail"](): string;
/**
* `{{memberCount}} collaborators in the doc`
*/

View File

@@ -894,6 +894,7 @@
"com.affine.payment.cloud.pro.benefit.g1-6": "Add comments on Doc and Edgeless.",
"com.affine.payment.cloud.pro.benefit.g1-7": "Community support.",
"com.affine.payment.cloud.pro.benefit.g1-8": "Real-time syncing & collaboration for more people.",
"com.affine.payment.cloud.pro.benefit.g1-9": "Granular edit access to docs.",
"com.affine.payment.cloud.pro.description": "For family and small teams.",
"com.affine.payment.cloud.pro.name": "Pro",
"com.affine.payment.cloud.pro.title.billed-yearly": "annually",
@@ -1470,6 +1471,7 @@
"com.affine.share-menu.option.permission.can-edit": "Can edit",
"com.affine.share-menu.option.permission.can-read": "Can read",
"com.affine.share-menu.option.permission.label": "Members in workspace",
"com.affine.share-menu.option.permission.tips": "Workspace admins and owner automatically have Can manage permissions.",
"com.affine.share-menu.publish-to-web": "Publish to web",
"com.affine.share-menu.share-privately": "Share privately",
"com.affine.share-menu.shareButton": "Share",
@@ -1479,6 +1481,10 @@
"com.affine.share-menu.member-management.member-count-more": "{{member1}}, {{member2}} and {{memberCount}} others",
"com.affine.share-menu.member-management.remove": "Remove",
"com.affine.share-menu.member-management.set-as-owner": "Set as owner",
"com.affine.share-menu.member-management.set-as-owner.confirm.title": "Make this person the owner?",
"com.affine.share-menu.member-management.set-as-owner.confirm.description": "The new owner will be effective immediately, and you might lose access to this doc if other users remove you, please confirm.",
"com.affine.share-menu.member-management.update-success": "Permission updated",
"com.affine.share-menu.member-management.update-fail": "Failed to update permission",
"com.affine.share-menu.member-management.header": "{{memberCount}} collaborators in the doc",
"com.affine.share-menu.member-management.add-collaborators": "Add collaborators",
"com.affine.share-menu.invite-editor.header": "Send invite",