translation: team -> workspace

This commit is contained in:
Tom Moor
2023-10-18 08:32:43 -04:00
parent 89694a561f
commit d536fa9939
9 changed files with 26 additions and 23 deletions

View File

@@ -121,11 +121,11 @@ class ErrorBoundary extends React.Component<Props> {
<Button onClick={this.handleReload}>{t("Reload")}</Button>{" "}
{this.showDetails ? (
<Button onClick={this.handleReportBug} neutral>
<Trans>Report a Bug</Trans>
<Trans>Report a bug</Trans>
</Button>
) : (
<Button onClick={this.handleShowDetails} neutral>
<Trans>Show Detail</Trans>
<Trans>Show detail</Trans>
</Button>
)}
</p>

View File

@@ -68,7 +68,7 @@ function AddPeopleToCollection({ collection }: Props) {
return (
<Flex column>
<Text type="secondary">
{t("Need to add someone whos not yet on the team yet?")}{" "}
{t("Need to add someone whos not on the team yet?")}{" "}
<ButtonLink onClick={setInviteModalOpen}>
{t("Invite people to {{ teamName }}", {
teamName: team.name,

View File

@@ -256,7 +256,7 @@ function CollectionPermissions({ collectionId }: Props) {
</Trans>
) : (
<Trans>
Public sharing is currently disabled in the team security
Public sharing is currently disabled in the workspace security
settings.
</Trans>
)

View File

@@ -21,7 +21,7 @@ const ErrorSuspended = () => {
<p>
<Trans
defaults="A team admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly."
defaults="A workspace admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly."
values={{
suspendedContactEmail: auth.suspendedContactEmail,
}}

View File

@@ -144,7 +144,7 @@ function Security() {
<Text type="secondary">
<Trans>
Settings that impact the access, security, and content of your
knowledge base.
workspace.
</Trans>
</Text>

View File

@@ -63,7 +63,7 @@ function Slack() {
<Notice>
<Trans>
Whoops, you need to accept the permissions in Slack to connect{" "}
{{ appName }} to your team. Try again?
{{ appName }} to your workspace. Try again?
</Trans>
</Notice>
)}
@@ -71,7 +71,7 @@ function Slack() {
<Notice>
<Trans>
Something went wrong while authenticating your request. Please try
logging in again?
logging in again.
</Trans>
</Notice>
)}

View File

@@ -69,12 +69,16 @@ export function UserSuspendedError({
}: {
adminEmail: string | undefined;
}) {
return httpErrors(403, "Your access has been suspended by the team admin", {
id: "user_suspended",
errorData: {
adminEmail,
},
});
return httpErrors(
403,
"Your access has been suspended by a workspace admin",
{
id: "user_suspended",
errorData: {
adminEmail,
},
}
);
}
export function InvalidRequestError(message = "Request invalid") {

View File

@@ -181,7 +181,7 @@ describe("Authentication middleware", () => {
}
expect(error.message).toEqual(
"Your access has been suspended by the team admin"
"Your access has been suspended by a workspace admin"
);
expect(error.errorData.adminEmail).toEqual(admin.email);
});

View File

@@ -181,8 +181,7 @@
"Something Unexpected Happened": "Something Unexpected Happened",
"Sorry, an unrecoverable error occurred{{notified}}. Please try reloading the page, it may have been a temporary glitch.": "Sorry, an unrecoverable error occurred{{notified}}. Please try reloading the page, it may have been a temporary glitch.",
"our engineers have been notified": "our engineers have been notified",
"Report a Bug": "Report a Bug",
"Show Detail": "Show Detail",
"Show detail": "Show detail",
"Current version": "Current version",
"{{userName}} edited": "{{userName}} edited",
"{{userName}} archived": "{{userName}} archived",
@@ -457,7 +456,7 @@
"No groups left to add": "No groups left to add",
"Add": "Add",
"{{ userName }} was added to the collection": "{{ userName }} was added to the collection",
"Need to add someone whos not yet on the team yet?": "Need to add someone whos not yet on the team yet?",
"Need to add someone whos not on the team yet?": "Need to add someone whos not on the team yet?",
"Invite people to {{ teamName }}": "Invite people to {{ teamName }}",
"Search by name": "Search by name",
"Search people": "Search people",
@@ -481,7 +480,7 @@
"Workspace members can view and edit documents in the <em>{{ collectionName }}</em> collection by default.": "Workspace members can view and edit documents in the <em>{{ collectionName }}</em> collection by default.",
"Workspace members can view documents in the <em>{{ collectionName }}</em> collection by\n default.": "Workspace members can view documents in the <em>{{ collectionName }}</em> collection by\n default.",
"When enabled, documents can be shared publicly on the internet.": "When enabled, documents can be shared publicly on the internet.",
"Public sharing is currently disabled in the team security settings.": "Public sharing is currently disabled in the team security settings.",
"Public sharing is currently disabled in the workspace security settings.": "Public sharing is currently disabled in the workspace security settings.",
"Additional access": "Additional access",
"Add groups": "Add groups",
"Add people": "Add people",
@@ -602,7 +601,7 @@
"We were unable to load the document while offline.": "We were unable to load the document while offline.",
"Your account has been suspended": "Your account has been suspended",
"Warning Sign": "Warning Sign",
"A team admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly.": "A team admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly.",
"A workspace admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly.": "A workspace admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly.",
"Are you sure about that? Deleting the <em>{{groupName}}</em> group will cause its members to lose access to collections and documents that it is associated with.": "Are you sure about that? Deleting the <em>{{groupName}}</em> group will cause its members to lose access to collections and documents that it is associated with.",
"You can edit the name of this group at any time, however doing so too often might confuse your team mates.": "You can edit the name of this group at any time, however doing so too often might confuse your team mates.",
"{{userName}} was added to the group": "{{userName}} was added to the group",
@@ -857,7 +856,7 @@
"This could be your real name, or a nickname — however youd like people to refer to you.": "This could be your real name, or a nickname — however youd like people to refer to you.",
"Are you sure you want to require invites?": "Are you sure you want to require invites?",
"New users will first need to be invited to create an account. <em>Default role</em> and <em>Allowed domains</em> will no longer apply.": "New users will first need to be invited to create an account. <em>Default role</em> and <em>Allowed domains</em> will no longer apply.",
"Settings that impact the access, security, and content of your knowledge base.": "Settings that impact the access, security, and content of your knowledge base.",
"Settings that impact the access, security, and content of your workspace.": "Settings that impact the access, security, and content of your workspace.",
"Allow members to sign-in with {{ authProvider }}": "Allow members to sign-in with {{ authProvider }}",
"Connected": "Connected",
"Disabled": "Disabled",
@@ -909,8 +908,8 @@
"Posting to the <em>{{ channelName }}</em> channel on": "Posting to the <em>{{ channelName }}</em> channel on",
"These events should be posted to Slack": "These events should be posted to Slack",
"Disconnect": "Disconnect",
"Whoops, you need to accept the permissions in Slack to connect {{appName}} to your team. Try again?": "Whoops, you need to accept the permissions in Slack to connect {{appName}} to your team. Try again?",
"Something went wrong while authenticating your request. Please try logging in again?": "Something went wrong while authenticating your request. Please try logging in again?",
"Whoops, you need to accept the permissions in Slack to connect {{appName}} to your workspace. Try again?": "Whoops, you need to accept the permissions in Slack to connect {{appName}} to your workspace. Try again?",
"Something went wrong while authenticating your request. Please try logging in again.": "Something went wrong while authenticating your request. Please try logging in again.",
"Get rich previews of {{ appName }} links shared in Slack and use the <em>{{ command }}</em> slash command to search for documents without leaving your chat.": "Get rich previews of {{ appName }} links shared in Slack and use the <em>{{ command }}</em> slash command to search for documents without leaving your chat.",
"Connect {{appName}} collections to Slack channels. Messages will be automatically posted to Slack when documents are published or updated.": "Connect {{appName}} collections to Slack channels. Messages will be automatically posted to Slack when documents are published or updated.",
"Connect": "Connect",