Skip to content

Commit ac686d8

Browse files
committed
fix(bug-state): fix for review + translation
1 parent 022242e commit ac686d8

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/app/theme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const SEVERITY_HUES: Record<Severities, string> = {
1616
medium: CHARTS_COLOR_PALETTE.blueRoyal,
1717
low: CHARTS_COLOR_PALETTE.darkPine,
1818
};
19-
19+
// temporary fix for the bug state colors
2020
export const BUG_STATE_COLORS: Record<
2121
BugState,
2222
{ stroke: string; color: string }

src/common/components/BugDetail/BugStateDropdown.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable security/detect-object-injection */
21
import {
32
Dropdown,
43
Select,

src/common/components/utils/getBugStateLabel.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable security/detect-object-injection */
21
import { TFunction } from 'react-i18next';
32

43
export const getBugStateLabel = (state: BugState, t: TFunction): string => {

src/locales/en/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"__BUGS_PAGE_BUG_DETAIL_PRIORITY_LABEL": "Priority",
7878
"__BUGS_PAGE_BUG_DETAIL_SEVERITY_TITLE_H_TO_L": "By highest severity",
7979
"__BUGS_PAGE_BUG_DETAIL_SEVERITY_TITLE_L_TO_H": "By lowest severity",
80-
"__BUGS_PAGE_BUG_DETAIL_STATE_LABEL": "State",
80+
"__BUGS_PAGE_BUG_DETAIL_STATE_LABEL": "Status",
8181
"__BUGS_PAGE_BUG_DETAIL_PRIORITY_TITLE_H_TO_L": "By highest priority",
8282
"__BUGS_PAGE_BUG_DETAIL_PRIORITY_TITLE_L_TO_H": "By lowest priority",
8383
"__BUGS_PAGE_BUG_DETAIL_SIBLINGS_DUPLICATES_SUBTITLE": "Bugs reported on other devices and replicating the behavior of the unique bug",

0 commit comments

Comments
 (0)