Web:Client: change Collaborator to PowerUser

This commit is contained in:
Timofey Boyko 2023-03-22 10:13:11 +03:00
parent 145b343da7
commit 1803b25779
9 changed files with 15 additions and 15 deletions

View File

@ -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",

View File

@ -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");

View File

@ -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:

View File

@ -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");

View File

@ -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");
}

View File

@ -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");

View File

@ -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",

View File

@ -23,7 +23,7 @@ class MembersHelper {
},
collaborator: {
key: "collaborator",
label: this.t("Common:Collaborator"),
label: this.t("Common:PowerUser"),
access: ShareAccessRights.Collaborator,
},
viewer: {

View File

@ -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 = {