Skip to content

Commit 2ac3aed

Browse files
prateekshourya29lifeiscontent
authored andcommitted
chore: update breadcrumb translation of work item detail page (#6653)
1 parent 5d199d5 commit 2ac3aed

File tree

6 files changed

+10
-2
lines changed

6 files changed

+10
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@
492492
"epic": "Epic",
493493
"epics": "Epics",
494494
"work_item": "Work item",
495+
"work_items": "Work items",
495496
"sub_work_item": "Sub-work item",
496497
"add": "Add",
497498
"warning": "Warning",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@
662662
"epic": "Epic",
663663
"epics": "Epics",
664664
"work_item": "Elemento de trabajo",
665+
"work_items": "Elementos de trabajo",
665666
"sub_work_item": "Sub-elemento de trabajo",
666667
"add": "Agregar",
667668
"warning": "Advertencia",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@
662662
"epic": "Epic",
663663
"epics": "Epics",
664664
"work_item": "Élément de travail",
665+
"work_items": "Éléments de travail",
665666
"sub_work_item": "Sous-élément de travail",
666667
"add": "Ajouter",
667668
"warning": "Avertissement",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@
662662
"epic": "エピック",
663663
"epics": "エピック",
664664
"work_item": "作業項目",
665+
"work_items": "作業項目",
665666
"sub_work_item": "サブ作業項目",
666667
"add": "追加",
667668
"warning": "警告",

packages/i18n/src/locales/zh-CN/translations.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@
662662
"epic": "史诗",
663663
"epics": "史诗",
664664
"work_item": "工作项",
665+
"work_items": "工作项",
665666
"sub_work_item": "子工作项",
666667
"add": "添加",
667668
"warning": "警告",

web/app/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import { observer } from "mobx-react";
44
import { useParams } from "next/navigation";
55
import { Briefcase } from "lucide-react";
6-
// ui
6+
// plane imports
7+
import { useTranslation } from "@plane/i18n";
78
import { Breadcrumbs, LayersIcon, Header, Logo } from "@plane/ui";
89
// components
910
import { BreadcrumbLink } from "@/components/common";
@@ -16,6 +17,8 @@ export const ProjectIssueDetailsHeader = observer(() => {
1617
// router
1718
const router = useAppRouter();
1819
const { workspaceSlug, workItem } = useParams();
20+
// plane hooks
21+
const { t } = useTranslation();
1922
// store hooks
2023
const { getProjectById, loader } = useProject();
2124
const {
@@ -61,7 +64,7 @@ export const ProjectIssueDetailsHeader = observer(() => {
6164
link={
6265
<BreadcrumbLink
6366
href={`/${workspaceSlug}/projects/${projectId}/issues`}
64-
label="Issues"
67+
label={t("common.work_items")}
6568
icon={<LayersIcon className="h-4 w-4 text-custom-text-300" />}
6669
/>
6770
}

0 commit comments

Comments
 (0)