Skip to content

Commit a36564c

Browse files
fix: language support keys (#6558)
* fix: renamed keys * fix: space app * chore: renamed issues to work items * chore: update site manifest
1 parent 4e1c630 commit a36564c

File tree

21 files changed

+54
-40
lines changed

21 files changed

+54
-40
lines changed

packages/i18n/src/locales/en/translations.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,7 @@
11331133
"label": "Add Project"
11341134
},
11351135
"network": {
1136+
"label": "Network",
11361137
"private": {
11371138
"title": "Private",
11381139
"description": "Accessible only by invite"

space/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const metadata: Metadata = {
1515
url: "https://sites.plane.so/",
1616
},
1717
keywords:
18-
"software development, customer feedback, software, accelerate, code management, release management, project management, issue tracking, agile, scrum, kanban, collaboration",
18+
"software development, customer feedback, software, accelerate, code management, release management, project management, work item tracking, agile, scrum, kanban, collaboration",
1919
twitter: {
2020
site: "@planepowers",
2121
},

space/app/provider.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { FC, ReactNode } from "react";
44
// components
5+
import { TranslationProvider } from "@plane/i18n";
56
import { InstanceProvider } from "@/lib/instance-provider";
67
import { StoreProvider } from "@/lib/store-provider";
78
import { ToastProvider } from "@/lib/toast-provider";
@@ -15,9 +16,11 @@ export const AppProvider: FC<IAppProvider> = (props) => {
1516

1617
return (
1718
<StoreProvider>
18-
<ToastProvider>
19-
<InstanceProvider>{children}</InstanceProvider>
20-
</ToastProvider>
19+
<TranslationProvider>
20+
<ToastProvider>
21+
<InstanceProvider>{children}</InstanceProvider>
22+
</ToastProvider>
23+
</TranslationProvider>
2124
</StoreProvider>
2225
);
2326
};

space/core/components/account/auth-forms/auth-header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Titles: TAuthHeaderDetails = {
2525
},
2626
[EAuthModes.SIGN_UP]: {
2727
header: "View, comment, and do more",
28-
subHeader: "Sign up or log in to work with Plane Issues and Pages.",
28+
subHeader: "Sign up or log in to work with Plane work items and Pages.",
2929
},
3030
};
3131

@@ -38,7 +38,7 @@ export const AuthHeader: FC<TAuthHeader> = (props) => {
3838
}
3939

4040
return {
41-
header: "Comment or react to issues",
41+
header: "Comment or react to work itemss",
4242
subHeader: "Use plane to add your valuable inputs to features.",
4343
};
4444
};

space/core/components/instance/instance-failure-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const InstanceFailureView: FC = () => {
2525
<h3 className="font-medium text-2xl text-white ">Unable to fetch instance details.</h3>
2626
<p className="font-medium text-base text-center">
2727
We were unable to fetch the details of the instance. <br />
28-
Fret not, it might just be a connectivity issue.
28+
Fret not, it might just be a connectivity work items.
2929
</p>
3030
</div>
3131
<div className="flex justify-center">

space/core/components/issues/issue-layouts/issue-layout-HOC.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const IssueLayoutHOC = observer((props: Props) => {
2626
}
2727

2828
if (getGroupIssueCount(undefined, undefined, false) === 0) {
29-
return <div className="flex w-full h-full items-center justify-center">No Issues Found</div>;
29+
return <div className="flex w-full h-full items-center justify-center">No work items Found</div>;
3030
}
3131

3232
return <>{props.children}</>;

space/core/components/issues/issue-layouts/properties/all-properties.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const IssueProperties: React.FC<IIssueProperties> = observer((props) => {
137137
displayPropertyKey="sub_issue_count"
138138
shouldRenderProperty={(properties) => !!properties.sub_issue_count && !!issue.sub_issues_count}
139139
>
140-
<Tooltip tooltipHeading="Sub-issues" tooltipContent={`${issue.sub_issues_count}`}>
140+
<Tooltip tooltipHeading="Sub-work items" tooltipContent={`${issue.sub_issues_count}`}>
141141
<div
142142
className={cn(
143143
"flex h-5 flex-shrink-0 items-center justify-center gap-2 overflow-hidden rounded border-[0.5px] border-custom-border-300 px-2.5 py-1",

space/core/components/issues/issue-layouts/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const getGroupByColumns = (
5050
case "created_by":
5151
return getCreatedByColumns(member) as any;
5252
default:
53-
if (includeNone) return [{ id: `All Issues`, name: `All Issues`, payload: {}, icon: undefined }];
53+
if (includeNone) return [{ id: `All Issues`, name: `All work items`, payload: {}, icon: undefined }];
5454
}
5555
};
5656

space/core/components/issues/peek-overview/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const PeekOverviewHeader: React.FC<Props> = observer((props) => {
5050
setToast({
5151
type: TOAST_TYPE.SUCCESS,
5252
title: "Link copied!",
53-
message: "Issue link copied to clipboard.",
53+
message: "Work item link copied to clipboard.",
5454
});
5555
});
5656
};

space/core/components/issues/peek-overview/issue-properties.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const PeekOverviewIssueProperties: React.FC<Props> = observer(({ issueDet
4343
setToast({
4444
type: TOAST_TYPE.INFO,
4545
title: "Link copied!",
46-
message: "Issue link copied to clipboard",
46+
message: "Work item link copied to clipboard",
4747
});
4848
});
4949
};

0 commit comments

Comments
 (0)