Skip to content

Commit 23ee2c3

Browse files
committed
fix: correct missing and incorrect translation keys in MonitorView
1 parent af4103a commit 23ee2c3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/DashboardViews/MonitorView.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,11 @@ export default function MonitorView({ isDark = true }: { isDark?: boolean }) {
439439
isDark ? "border-white/10 hover:bg-white/5 text-white/80" : "border-black/10 hover:bg-gray-50 text-gray-700"
440440
)}
441441
>
442-
<option value="all">{t('monitor.filter.allPriorities')}</option>
443-
<option value="critical">{t('monitor.filter.critical')}</option>
444-
<option value="high">{t('monitor.filter.high')}</option>
445-
<option value="medium">{t('monitor.filter.medium')}</option>
446-
<option value="low">{t('monitor.filter.low')}</option>
442+
<option value="all">{t('history.filter.allPriorities')}</option>
443+
<option value="critical">{t('dashboard.priority.critical')}</option>
444+
<option value="high">{t('dashboard.priority.high')}</option>
445+
<option value="medium">{t('dashboard.priority.medium')}</option>
446+
<option value="low">{t('dashboard.priority.low')}</option>
447447
</select>
448448
</div>
449449
</div>
@@ -559,17 +559,17 @@ export default function MonitorView({ isDark = true }: { isDark?: boolean }) {
559559
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
560560
<div>
561561
<h4 className={cn("text-xs font-semibold uppercase tracking-wider mb-2 flex items-center gap-1.5", isDark ? "text-white/40" : "text-black/40")}>
562-
{t('monitor.detail.summary')}
562+
{t('history.intent')}
563563
</h4>
564564
<div className={cn("p-4 rounded-xl border", isDark ? "border-white/10 bg-black/20" : "border-black/5 bg-white")}>
565565
<p className={cn("text-sm leading-relaxed", isDark ? "text-white/80" : "text-gray-700")}>
566-
{call.summary.summaryText || t('monitor.detail.noSummary')}
566+
{call.summary.summaryText || t('history.noTranscript')}
567567
</p>
568568
</div>
569569
</div>
570570
{call.extractedFields.length > 0 && (
571571
<div>
572-
<h4 className={cn("text-xs font-semibold uppercase tracking-wider mb-2", isDark ? "text-white/40" : "text-black/40")}>{t('monitor.detail.extractedData')}</h4>
572+
<h4 className={cn("text-xs font-semibold uppercase tracking-wider mb-2", isDark ? "text-white/40" : "text-black/40")}>{t('history.extractedInfo')}</h4>
573573
<div className={cn("rounded-xl border border-white/10", isDark ? "bg-black/20" : "bg-white")}>
574574
<div className="space-y-1 p-3">
575575
{call.extractedFields.map(field => (

0 commit comments

Comments
 (0)