Web:Client: change Collaborator to PowerUser
This commit is contained in:
parent
145b343da7
commit
1803b25779
@ -322,7 +322,7 @@ const ArticleMainButtonContent = (props) => {
|
||||
id: "invite_room-collaborator",
|
||||
className: "main-button_drop-down",
|
||||
icon: PersonReactSvgUrl,
|
||||
label: t("Common:Collaborator"),
|
||||
label: t("Common:PowerUser"),
|
||||
onClick: onInvite,
|
||||
action: EmployeeType.Collaborator,
|
||||
key: "collaborator",
|
||||
|
@ -102,7 +102,7 @@ const ChangeUserTypeEvent = ({
|
||||
case "manager":
|
||||
return t("Common:RoomAdmin");
|
||||
case "collaborator":
|
||||
return t("Common:Collaborator");
|
||||
return t("Common:PowerUser");
|
||||
case "user":
|
||||
default:
|
||||
return t("Common:User");
|
||||
|
@ -33,8 +33,8 @@ export const getAccessOptions = (
|
||||
},
|
||||
collaborator: {
|
||||
key: "collaborator",
|
||||
label: t("Common:Collaborator"),
|
||||
description: t("Translations:RoleCollaboratorDescription"),
|
||||
label: t("Common:PowerUser"),
|
||||
description: t("Translations:RolePowerUserDescription"),
|
||||
quota: t("Common:Paid"),
|
||||
color: "#EDC409",
|
||||
access:
|
||||
|
@ -61,7 +61,7 @@ const UserContent = ({
|
||||
: role === "admin"
|
||||
? t("Common:DocSpaceAdmin")
|
||||
: isCollaborator
|
||||
? t("Common:Collaborator")
|
||||
? t("Common:PowerUser")
|
||||
: isVisitor
|
||||
? t("Common:User")
|
||||
: t("Common:RoomAdmin");
|
||||
|
@ -171,8 +171,8 @@ const PeopleTableRow = (props) => {
|
||||
};
|
||||
const collaboratorOption = {
|
||||
key: "collaborator",
|
||||
title: t("Common:Collaborator"),
|
||||
label: t("Common:Collaborator"),
|
||||
title: t("Common:PowerUser"),
|
||||
label: t("Common:PowerUser"),
|
||||
action: "collaborator",
|
||||
};
|
||||
const userOption = {
|
||||
@ -237,7 +237,7 @@ const PeopleTableRow = (props) => {
|
||||
case "manager":
|
||||
return t("Common:RoomAdmin");
|
||||
case "collaborator":
|
||||
return t("Common:Collaborator");
|
||||
return t("Common:PowerUser");
|
||||
case "user":
|
||||
return t("Common:User");
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ const SectionFilterContent = ({
|
||||
id: "filter_type-room-admin",
|
||||
key: EmployeeType.Collaborator,
|
||||
group: "filter-type",
|
||||
label: t("Common:Collaborator"),
|
||||
label: t("Common:PowerUser"),
|
||||
},
|
||||
{
|
||||
id: "filter_type-user",
|
||||
@ -326,7 +326,7 @@ const SectionFilterContent = ({
|
||||
label = t("Common:RoomAdmin");
|
||||
break;
|
||||
case EmployeeType.Collaborator:
|
||||
label = t("Common:Collaborator");
|
||||
label = t("Common:PowerUser");
|
||||
break;
|
||||
case EmployeeType.Guest:
|
||||
label = t("Common:User");
|
||||
|
@ -268,7 +268,7 @@ const SectionHeaderContent = (props) => {
|
||||
id: "accounts-add_collaborator",
|
||||
className: "main-button_drop-down",
|
||||
icon: PersonReactSvgUrl,
|
||||
label: t("Common:Collaborator"),
|
||||
label: t("Common:PowerUser"),
|
||||
onClick: onInvite,
|
||||
"data-type": EmployeeType.Collaborator,
|
||||
key: "collaborator",
|
||||
|
@ -23,7 +23,7 @@ class MembersHelper {
|
||||
},
|
||||
collaborator: {
|
||||
key: "collaborator",
|
||||
label: this.t("Common:Collaborator"),
|
||||
label: this.t("Common:PowerUser"),
|
||||
access: ShareAccessRights.Collaborator,
|
||||
},
|
||||
viewer: {
|
||||
|
@ -51,7 +51,7 @@ const Accounts = ({
|
||||
case "manager":
|
||||
return t("Common:RoomAdmin");
|
||||
case "collaborator":
|
||||
return t("Common:Collaborator");
|
||||
return t("Common:PowerUser");
|
||||
case "user":
|
||||
return t("Common:User");
|
||||
}
|
||||
@ -77,8 +77,8 @@ const Accounts = ({
|
||||
const collaboratorOption = {
|
||||
id: "info-account-type_collaborator",
|
||||
key: "collaborator",
|
||||
title: t("Common:Collaborator"),
|
||||
label: t("Common:Collaborator"),
|
||||
title: t("Common:PowerUser"),
|
||||
label: t("Common:PowerUser"),
|
||||
action: "collaborator",
|
||||
};
|
||||
const userOption = {
|
||||
|
Loading…
Reference in New Issue
Block a user