diff --git a/src/i18n/locales/en/reports.json b/src/i18n/locales/en/reports.json index f869ec1..6aa4340 100644 --- a/src/i18n/locales/en/reports.json +++ b/src/i18n/locales/en/reports.json @@ -21,9 +21,7 @@ "excel": "Excel" }, "empty": "No matching reports", - "connected": "Connected", - "pending": "Pending", - "backendPending": "Backend API not connected yet", + "backendPending": "This report is temporarily unavailable", "filterPanel": "Filters", "queryHint": "Set filters and run a query to preview and export.", "query": "Query", @@ -44,14 +42,14 @@ "empty": "No data. Adjust filters and try again.", "exportableRows": "rows exportable", "columns": { - "primary": "Primary", - "secondary": "Secondary", - "metricA": "Metric A", - "metricB": "Metric B", - "metricC": "Metric C", - "status": "Status", - "extra": "Extra", - "time": "Time" + "primary": "", + "secondary": "", + "metricA": "", + "metricB": "", + "metricC": "", + "status": "", + "extra": "", + "time": "" }, "stats": { "records": "Records", diff --git a/src/i18n/locales/ne/reports.json b/src/i18n/locales/ne/reports.json index e14ccc8..e82571f 100644 --- a/src/i18n/locales/ne/reports.json +++ b/src/i18n/locales/ne/reports.json @@ -21,9 +21,7 @@ "excel": "Excel" }, "empty": "मिल्ने रिपोर्ट छैन", - "connected": "जोडिएको", - "pending": "बाँकी", - "backendPending": "ब्याकएन्ड API जोडिन बाँकी", + "backendPending": "यो रिपोर्ट अस्थायी रूपमा उपलब्ध छैन", "filterPanel": "फिल्टर", "queryHint": "फिल्टर सेट गरी क्वेरी चलाउनुहोस्।", "query": "क्वेरी", @@ -44,14 +42,14 @@ "empty": "डाटा छैन।", "exportableRows": "पङ्क्ति निर्यात योग्य", "columns": { - "primary": "मुख्य", - "secondary": "दोस्रो", - "metricA": "मेट्रिक A", - "metricB": "मेट्रिक B", - "metricC": "मेट्रिक C", - "status": "स्थिति", - "extra": "अतिरिक्त", - "time": "समय" + "primary": "", + "secondary": "", + "metricA": "", + "metricB": "", + "metricC": "", + "status": "", + "extra": "", + "time": "" }, "stats": { "records": "रेकर्ड", diff --git a/src/i18n/locales/zh/reports.json b/src/i18n/locales/zh/reports.json index 07daff4..982b3b1 100644 --- a/src/i18n/locales/zh/reports.json +++ b/src/i18n/locales/zh/reports.json @@ -21,9 +21,7 @@ "excel": "Excel" }, "empty": "没有匹配的报表", - "connected": "已接入", - "pending": "待接入", - "backendPending": "后端接口待接入", + "backendPending": "该报表暂不可用", "filterPanel": "筛选条件", "queryHint": "设置筛选条件后点击查询,可预览并导出。", "query": "查询", @@ -44,14 +42,14 @@ "empty": "暂无数据,请调整筛选条件后重试。", "exportableRows": "行可导出", "columns": { - "primary": "主字段", - "secondary": "次字段", - "metricA": "指标 A", - "metricB": "指标 B", - "metricC": "指标 C", - "status": "状态", - "extra": "附加", - "time": "时间" + "primary": "", + "secondary": "", + "metricA": "", + "metricB": "", + "metricC": "", + "status": "", + "extra": "", + "time": "" }, "stats": { "records": "记录数", diff --git a/src/modules/reports/reports-console.tsx b/src/modules/reports/reports-console.tsx index b4ea2eb..90c2a92 100644 --- a/src/modules/reports/reports-console.tsx +++ b/src/modules/reports/reports-console.tsx @@ -374,7 +374,7 @@ export function ReportsConsole() { const selectedReport = REPORTS.find((report) => report.key === selectedKey) ?? REPORTS[0]; const exportFileBase = useMemo(() => { - const segments = [selectedReport.key]; + const segments: string[] = [selectedReport.key]; if (filters.drawNo.trim()) segments.push(filters.drawNo.trim()); if (filters.number.trim()) segments.push(filters.number.trim()); if (filters.player.trim()) segments.push(filters.player.trim()); @@ -1193,9 +1193,6 @@ export function ReportsConsole() { {t(`categories.${report.category}`)} · {formatKind(report.filterKind, t)} - - {report.connected ? t("connected") : t("pending")} - ); })} @@ -1209,10 +1206,6 @@ export function ReportsConsole() { {t("filterPanel")}

{t(`items.${selectedReport.key}.summary`)}

-
- {t(`categories.${selectedReport.category}`)} - {t(`scopes.${selectedReport.scope}`)} -