MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / reportContextLabels

Function reportContextLabels

deployments/desktop/static/desktop.js:2744–2752  ·  view source on GitHub ↗
(reportId)

Source from the content-addressed store, hash-verified

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;

Callers 1

showReportContextMenuFunction · 0.85

Calls 1

responseLanguageFunction · 0.85

Tested by

no test coverage detected