= 3 ? 'bg-red-100 text-red-800' :
@@ -985,13 +985,15 @@ const DroneDetectionPopup = ({ detection, age, droneTypes, droneDetectionHistory
{detection.movement_analysis.rssiTrend && (
- Instant trend:
+ {t('map.instantTrend')}:
- {detection.movement_analysis.rssiTrend.trend}
+ {detection.movement_analysis.rssiTrend.trend === 'STRENGTHENING' ? t('map.strengthening') :
+ detection.movement_analysis.rssiTrend.trend === 'WEAKENING' ? t('map.weakening') :
+ detection.movement_analysis.rssiTrend.trend}
{detection.movement_analysis.rssiTrend.change !== 0 && (
({detection.movement_analysis.rssiTrend.change > 0 ? '+' : ''}{typeof detection.movement_analysis.rssiTrend.change === 'number' ? detection.movement_analysis.rssiTrend.change.toFixed(1) : 'N/A'}dB)
diff --git a/client/src/utils/tempTranslations.js b/client/src/utils/tempTranslations.js
index 91a401b..6182228 100644
--- a/client/src/utils/tempTranslations.js
+++ b/client/src/utils/tempTranslations.js
@@ -314,7 +314,38 @@ const translations = {
droneLabels: 'Drone ID labels shown',
positionOffsets: 'Slight position offsets for visibility',
ringSize: 'Ring size = estimated distance from detector',
- showDroneDetections: 'Show Drone Detections'
+ showDroneDetections: 'Show Drone Detections',
+ droneDetectionDetails: 'Drone Detection Details',
+ live: 'LIVE',
+ droneId: 'Drone ID',
+ type: 'Type',
+ rssi: 'RSSI',
+ frequency: 'Frequency',
+ detectionTimeline: 'Detection Timeline',
+ firstDetected: 'First detected',
+ latestDetection: 'Latest detection',
+ currentDetection: 'Current Detection',
+ confidence: 'Confidence',
+ duration: 'Duration',
+ detector: 'Detector',
+ location: 'Location',
+ realTimeAnalysis: 'Real-time Analysis',
+ firstDetection: 'First detection',
+ movementAnalysis: 'Movement Analysis',
+ totalDetections: 'Total detections',
+ signalStrengthTrend: 'Signal Strength Trend',
+ lastDetections: 'Last 8 detections (oldest to newest)',
+ approaching: 'APPROACHING',
+ retreating: 'RETREATING',
+ stablePosition: 'STABLE POSITION',
+ rssiChange: 'RSSI change',
+ over: 'over',
+ minutes: 'minutes',
+ instantTrend: 'Instant trend',
+ strengthening: 'STRENGTHENING',
+ weakening: 'WEAKENING',
+ deviceName: 'Device',
+ unknown: 'Unknown'
},
movementAlerts: {
title: 'Movement Alerts',
@@ -713,7 +744,38 @@ const translations = {
droneLabels: 'Drönar-ID-etiketter visas',
positionOffsets: 'Lätta positionsförskjutningar för synlighet',
ringSize: 'Ringstorlek = uppskattad distans frĂĄn detektor',
- showDroneDetections: 'Visa drönardetekteringar'
+ showDroneDetections: 'Visa drönardetekteringar',
+ droneDetectionDetails: 'Drönardetekteringsdetaljer',
+ live: 'LIVE',
+ droneId: 'Drönar-ID',
+ type: 'Typ',
+ rssi: 'RSSI',
+ frequency: 'Frekvens',
+ detectionTimeline: 'Detekteringstidslinje',
+ firstDetected: 'Först detekterad',
+ latestDetection: 'Senaste detektion',
+ currentDetection: 'Aktuell detektion',
+ confidence: 'Konfidensgrad',
+ duration: 'Varaktighet',
+ detector: 'Detektor',
+ location: 'Plats',
+ realTimeAnalysis: 'Realtidsanalys',
+ firstDetection: 'Första detektion',
+ movementAnalysis: 'Rörelseanalys',
+ totalDetections: 'Totalt antal detektioner',
+ signalStrengthTrend: 'Signalstyrketrend',
+ lastDetections: 'Senaste 8 detektioner (äldsta till nyaste)',
+ approaching: 'NÄRMAR SIG',
+ retreating: 'DRAR SIG TILLBAKA',
+ stablePosition: 'STABIL POSITION',
+ rssiChange: 'RSSI-förändring',
+ over: 'över',
+ minutes: 'minuter',
+ instantTrend: 'Omedelbar trend',
+ strengthening: 'FÖRSTÄRKNING',
+ weakening: 'FĂ–RSVAGNING',
+ deviceName: 'Enhet',
+ unknown: 'Okänd'
},
movementAlerts: {
title: 'Rörelselarm',