Skip to content

Commit 010230f

Browse files
chore: modified issue to work items
1 parent a2e5704 commit 010230f

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

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

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@
505505
},
506506
"group_by": "Group by",
507507
"epic": "Epic",
508-
"issue": "Issue",
508+
"work_item": "Work item",
509509
"add": "Add",
510510
"warning": "Warning",
511511
"updating": "Updating",
@@ -529,7 +529,7 @@
529529
"public": "Public",
530530
"private": "Private"
531531
},
532-
"sub_issues": "Sub-issues",
532+
"sub_work_items": "Sub-work items",
533533
"order_by": {
534534
"label": "Order by",
535535
"manual": "Manual",
@@ -621,45 +621,45 @@
621621
},
622622

623623
"issue": {
624-
"label": "{count, plural, one {Issue} other {Issues}}",
625-
"all": "All Issues",
624+
"label": "{count, plural, one {Work item} other {Work items}}",
625+
"all": "All Work items",
626626
"title": {
627-
"label": "Issue title",
628-
"required": "Issue title is required."
627+
"label": "Work item title",
628+
"required": "Work item title is required."
629629
},
630630
"add": {
631-
"press_enter": "Press 'Enter' to add another issue",
632-
"label": "Add Issue",
631+
"press_enter": "Press 'Enter' to add another work item",
632+
"label": "Add Work item",
633633
"cycle": {
634-
"failed": "Issue could not be added to the cycle. Please try again."
634+
"failed": "Work item could not be added to the cycle. Please try again."
635635
},
636636
"assignee": "Add assignees",
637637
"start_date": "Add start date",
638638
"due_date": "Add due date",
639-
"parent": "Add parent issue",
640-
"sub_issue": "Add sub-issue",
639+
"parent": "Add parent work item",
640+
"sub_issue": "Add sub-work item",
641641
"relation": "Add relation",
642642
"link": "Add link"
643643
},
644644
"remove": {
645645
"cycle": {
646-
"loading": "Removing issue from the cycle...",
647-
"success": "Issue removed from the cycle successfully.",
648-
"failed": "Issue could not be removed from the cycle. Please try again."
646+
"loading": "Removing work item from the cycle...",
647+
"success": "Work item removed from the cycle successfully.",
648+
"failed": "Work item could not be removed from the cycle. Please try again."
649649
},
650650
"module": {
651-
"loading": "Removing issue from the module...",
652-
"success": "Issue removed from the module successfully.",
653-
"failed": "Issue could not be removed from the module. Please try again."
651+
"loading": "Removing work item from the module...",
652+
"success": "Work item removed from the module successfully.",
653+
"failed": "Work item could not be removed from the module. Please try again."
654654
},
655655
"parent": {
656-
"label": "Remove Parent Issue"
656+
"label": "Remove Parent Work item"
657657
}
658658
},
659-
"new": "New Issue",
660-
"adding": "Adding issue...",
659+
"new": "New Work item",
660+
"adding": "Adding work item...",
661661
"create": {
662-
"success": "Issue created successfully"
662+
"success": "Work item created successfully"
663663
},
664664
"priority": {
665665
"urgent": "Urgent",
@@ -671,14 +671,14 @@
671671
"properties": {
672672
"label": "Display Properties",
673673
"id": "ID",
674-
"issue_type": "Issue Type",
675-
"sub_issue_count": "Sub issue count",
674+
"issue_type": "Work item Type",
675+
"sub_issue_count": "Sub work item count",
676676
"attachment_count": "Attachment count",
677677
"created_on": "Created on",
678678
"sub_issue": "Sub-issue"
679679
},
680680
"extra": {
681-
"show_sub_issues": "Show sub-issues",
681+
"show_sub_issues": "Show sub-work items",
682682
"show_empty_groups": "Show empty groups"
683683
}
684684
},
@@ -720,26 +720,26 @@
720720
},
721721
"empty_state": {
722722
"issue_detail": {
723-
"title": "Issue does not exist",
724-
"description": "The issue you are looking for does not exist, has been archived, or has been deleted.",
723+
"title": "work item does not exist",
724+
"description": "The work item you are looking for does not exist, has been archived, or has been deleted.",
725725
"primary_button": {
726-
"text": "View other issues"
726+
"text": "View other work items"
727727
}
728728
}
729729
},
730730
"sibling": {
731-
"label": "Sibling issues"
731+
"label": "Sibling work items"
732732
},
733733
"archive": {
734-
"description": "Only completed or canceled\nissues can be archived",
735-
"label": "Archive Issue",
736-
"confirm_message": "Are you sure you want to archive the issue? All your archived issues can be restored later.",
734+
"description": "Only completed or canceled\nwork items can be archived",
735+
"label": "Archive Work item",
736+
"confirm_message": "Are you sure you want to archive the work item? All your archived work items can be restored later.",
737737
"success": {
738738
"label": "Archive success",
739739
"message": "Your archives can be found in project archives."
740740
},
741741
"failed": {
742-
"message": "Issue could not be archived. Please try again."
742+
"message": "Work item could not be archived. Please try again."
743743
}
744744
},
745745
"relation": {

web/core/components/issues/delete-issue-modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const DeleteIssueModal: React.FC<Props> = (props) => {
7575
type: TOAST_TYPE.SUCCESS,
7676
title: t("common.success"),
7777
message: t("entity.delete.success", {
78-
entity: isSubIssue ? t("common.sub_issue") : isEpic ? t("common.epic") : t("common.issue"),
78+
entity: isSubIssue ? t("common.sub_issue") : isEpic ? t("common.epic") : t("common.work_item"),
7979
}),
8080
});
8181
onClose();
@@ -102,7 +102,7 @@ export const DeleteIssueModal: React.FC<Props> = (props) => {
102102
handleSubmit={handleIssueDelete}
103103
isSubmitting={isDeleting}
104104
isOpen={isOpen}
105-
title={t("entity.delete.label", { entity: isEpic ? t("common.epic") : t("common.issue") })}
105+
title={t("entity.delete.label", { entity: isEpic ? t("common.epic") : t("common.work_item") })}
106106
content={
107107
<>
108108
{`Are you sure you want to delete ${isEpic ? "epic" : "issue"} `}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export const IssueProperties: React.FC<IIssueProperties> = observer((props) => {
435435
shouldRenderProperty={(properties) => !!properties.sub_issue_count && !!subIssueCount}
436436
>
437437
<Tooltip
438-
tooltipHeading={isEpic ? t("issues.label", { count: 2 }) : t("common.sub_issues")}
438+
tooltipHeading={isEpic ? t("issues.label", { count: 2 }) : t("common.sub_work_items")}
439439
tooltipContent={`${subIssueCount}`}
440440
isMobile={isMobile}
441441
renderByDefault={false}

0 commit comments

Comments
 (0)