(reportId)
| 2742 | } |
| 2743 | |
| 2744 | function reportContextLabels(reportId) { |
| 2745 | const isEn = responseLanguage() === "en"; |
| 2746 | return { |
| 2747 | highlight: state.highlightedReports.has(reportId) |
| 2748 | ? (isEn ? "Remove highlight" : "取消高亮") |
| 2749 | : (isEn ? "Highlight" : "高亮"), |
| 2750 | delete: isEn ? "Delete report" : "删除报告" |
| 2751 | }; |
| 2752 | } |
| 2753 | |
| 2754 | function ensureReportContextMenu() { |
| 2755 | if (state.reportContextMenu) return state.reportContextMenu; |
no test coverage detected