Fix jwt-token
This commit is contained in:
@@ -7,7 +7,8 @@ const translations = {
|
||||
devices: 'Devices',
|
||||
alerts: 'Alerts',
|
||||
settings: 'Settings',
|
||||
logout: 'Logout'
|
||||
logout: 'Logout',
|
||||
map: 'Map View'
|
||||
},
|
||||
dashboard: {
|
||||
title: 'System Overview',
|
||||
@@ -19,10 +20,19 @@ const translations = {
|
||||
activeAlerts: 'Active Alerts',
|
||||
totalDetections: 'Total Detections',
|
||||
noData: 'No data available',
|
||||
loading: 'Loading...'
|
||||
loading: 'Loading...',
|
||||
refreshData: 'Refresh Data',
|
||||
notificationsEnabled: 'Notifications Enabled',
|
||||
notificationsDisabled: 'Notifications Disabled',
|
||||
detectionHistory: 'Detection History',
|
||||
deviceStatus: 'Device Status',
|
||||
lastHour: 'Last Hour',
|
||||
last24Hours: 'Last 24 Hours',
|
||||
thisWeek: 'This Week'
|
||||
},
|
||||
detections: {
|
||||
title: 'Drone Detections',
|
||||
description: 'History of all drone detections from your devices',
|
||||
noDetections: 'No detections found',
|
||||
loading: 'Loading detections...',
|
||||
timestamp: 'Timestamp',
|
||||
@@ -30,48 +40,173 @@ const translations = {
|
||||
confidence: 'Confidence',
|
||||
location: 'Location',
|
||||
device: 'Device',
|
||||
actions: 'Actions'
|
||||
actions: 'Actions',
|
||||
searchPlaceholder: 'Search detections...',
|
||||
filterByType: 'Filter by type',
|
||||
filterByDevice: 'Filter by device',
|
||||
exportData: 'Export Data',
|
||||
viewDetails: 'View Details',
|
||||
showOnMap: 'Show on Map',
|
||||
highConfidence: 'High Confidence',
|
||||
mediumConfidence: 'Medium Confidence',
|
||||
lowConfidence: 'Low Confidence'
|
||||
},
|
||||
devices: {
|
||||
title: 'Device Management',
|
||||
description: 'Monitor and manage your detection devices',
|
||||
noDevices: 'No devices found',
|
||||
loading: 'Loading devices...',
|
||||
name: 'Name',
|
||||
status: 'Status',
|
||||
lastSeen: 'Last Seen',
|
||||
location: 'Location',
|
||||
actions: 'Actions'
|
||||
actions: 'Actions',
|
||||
addDevice: 'Add Device',
|
||||
editDevice: 'Edit Device',
|
||||
deleteDevice: 'Delete Device',
|
||||
deviceDetails: 'Device Details',
|
||||
batteryLevel: 'Battery Level',
|
||||
signalStrength: 'Signal Strength',
|
||||
firmware: 'Firmware',
|
||||
ipAddress: 'IP Address',
|
||||
macAddress: 'MAC Address'
|
||||
},
|
||||
alerts: {
|
||||
title: 'Alert Management',
|
||||
description: 'Configure and manage detection alerts',
|
||||
noAlerts: 'No alerts found',
|
||||
loading: 'Loading alerts...',
|
||||
type: 'Type',
|
||||
priority: 'Priority',
|
||||
status: 'Status',
|
||||
created: 'Created',
|
||||
actions: 'Actions'
|
||||
actions: 'Actions',
|
||||
createAlert: 'Create Alert',
|
||||
editAlert: 'Edit Alert',
|
||||
deleteAlert: 'Delete Alert',
|
||||
alertName: 'Alert Name',
|
||||
alertDescription: 'Description',
|
||||
triggerConditions: 'Trigger Conditions',
|
||||
notificationSettings: 'Notification Settings',
|
||||
emailNotifications: 'Email Notifications',
|
||||
smsNotifications: 'SMS Notifications',
|
||||
webhookUrl: 'Webhook URL',
|
||||
highPriority: 'High Priority',
|
||||
mediumPriority: 'Medium Priority',
|
||||
lowPriority: 'Low Priority',
|
||||
active: 'Active',
|
||||
inactive: 'Inactive',
|
||||
triggered: 'Triggered'
|
||||
},
|
||||
settings: {
|
||||
title: 'Settings',
|
||||
description: 'Configure your account and system preferences',
|
||||
profile: 'Profile',
|
||||
notifications: 'Notifications',
|
||||
system: 'System'
|
||||
system: 'System',
|
||||
account: 'Account Settings',
|
||||
security: 'Security Settings',
|
||||
preferences: 'Preferences',
|
||||
language: 'Language',
|
||||
timezone: 'Timezone',
|
||||
emailSettings: 'Email Settings',
|
||||
passwordSettings: 'Password Settings',
|
||||
twoFactorAuth: 'Two-Factor Authentication',
|
||||
apiKeys: 'API Keys',
|
||||
dataRetention: 'Data Retention',
|
||||
exportData: 'Export Data',
|
||||
deleteAccount: 'Delete Account'
|
||||
},
|
||||
auth: {
|
||||
login: 'Login',
|
||||
logout: 'Logout',
|
||||
username: 'Username',
|
||||
password: 'Password',
|
||||
email: 'Email',
|
||||
confirmPassword: 'Confirm Password',
|
||||
forgotPassword: 'Forgot Password?',
|
||||
signIn: 'Sign In',
|
||||
signUp: 'Sign Up',
|
||||
register: 'Register',
|
||||
signingIn: 'Signing in...',
|
||||
registering: 'Creating account...',
|
||||
rememberMe: 'Remember me',
|
||||
createAccount: 'Create Account',
|
||||
alreadyHaveAccount: 'Already have an account?',
|
||||
dontHaveAccount: "Don't have an account?",
|
||||
resetPassword: 'Reset Password',
|
||||
backToLogin: 'Back to Login'
|
||||
},
|
||||
map: {
|
||||
title: 'Map View',
|
||||
description: 'Real-time detection locations and device status',
|
||||
loading: 'Loading map...',
|
||||
noDetections: 'No detections to display',
|
||||
deviceLocation: 'Device Location',
|
||||
detectionLocation: 'Detection Location',
|
||||
lastDetection: 'Last Detection',
|
||||
deviceOnline: 'Device Online',
|
||||
deviceOffline: 'Device Offline',
|
||||
zoomToLocation: 'Zoom to Location',
|
||||
showAllDevices: 'Show All Devices',
|
||||
showDetections: 'Show Detections',
|
||||
filterByTime: 'Filter by Time',
|
||||
realTimeUpdates: 'Real-time Updates'
|
||||
},
|
||||
app: {
|
||||
title: 'UAM-ILS Drone Detection System'
|
||||
title: 'UAM-ILS Drone Detection System',
|
||||
subtitle: 'Real-time Drone Monitoring',
|
||||
connectionStatus: 'Connection Status',
|
||||
connected: 'Connected',
|
||||
disconnected: 'Disconnected',
|
||||
systemStatus: 'System Status',
|
||||
online: 'Online',
|
||||
offline: 'Offline'
|
||||
},
|
||||
common: {
|
||||
loading: 'Loading...',
|
||||
error: 'Error',
|
||||
success: 'Success',
|
||||
warning: 'Warning',
|
||||
info: 'Information',
|
||||
cancel: 'Cancel',
|
||||
save: 'Save',
|
||||
delete: 'Delete',
|
||||
edit: 'Edit',
|
||||
view: 'View',
|
||||
close: 'Close',
|
||||
refresh: 'Refresh'
|
||||
refresh: 'Refresh',
|
||||
search: 'Search',
|
||||
filter: 'Filter',
|
||||
export: 'Export',
|
||||
import: 'Import',
|
||||
add: 'Add',
|
||||
remove: 'Remove',
|
||||
update: 'Update',
|
||||
confirm: 'Confirm',
|
||||
yes: 'Yes',
|
||||
no: 'No',
|
||||
ok: 'OK',
|
||||
apply: 'Apply',
|
||||
reset: 'Reset',
|
||||
clear: 'Clear',
|
||||
all: 'All',
|
||||
none: 'None',
|
||||
selected: 'Selected',
|
||||
total: 'Total',
|
||||
page: 'Page',
|
||||
of: 'of',
|
||||
previous: 'Previous',
|
||||
next: 'Next',
|
||||
first: 'First',
|
||||
last: 'Last',
|
||||
date: 'Date',
|
||||
time: 'Time',
|
||||
status: 'Status',
|
||||
type: 'Type',
|
||||
name: 'Name',
|
||||
description: 'Description',
|
||||
actions: 'Actions'
|
||||
}
|
||||
},
|
||||
sv: {
|
||||
@@ -81,7 +216,8 @@ const translations = {
|
||||
devices: 'Enheter',
|
||||
alerts: 'Larm',
|
||||
settings: 'Inställningar',
|
||||
logout: 'Logga ut'
|
||||
logout: 'Logga ut',
|
||||
map: 'Kartvy'
|
||||
},
|
||||
dashboard: {
|
||||
title: 'Systemöversikt',
|
||||
@@ -93,10 +229,19 @@ const translations = {
|
||||
activeAlerts: 'Aktiva larm',
|
||||
totalDetections: 'Totala detekteringar',
|
||||
noData: 'Ingen data tillgänglig',
|
||||
loading: 'Laddar...'
|
||||
loading: 'Laddar...',
|
||||
refreshData: 'Uppdatera data',
|
||||
notificationsEnabled: 'Aviseringar aktiverade',
|
||||
notificationsDisabled: 'Aviseringar inaktiverade',
|
||||
detectionHistory: 'Detekteringshistorik',
|
||||
deviceStatus: 'Enhetsstatus',
|
||||
lastHour: 'Senaste timmen',
|
||||
last24Hours: 'Senaste 24 timmarna',
|
||||
thisWeek: 'Denna vecka'
|
||||
},
|
||||
detections: {
|
||||
title: 'Drönaredetekteringar',
|
||||
description: 'Historik över alla drönaredetekteringar från dina enheter',
|
||||
noDetections: 'Inga detekteringar hittades',
|
||||
loading: 'Laddar detekteringar...',
|
||||
timestamp: 'Tidsstämpel',
|
||||
@@ -104,48 +249,173 @@ const translations = {
|
||||
confidence: 'Säkerhet',
|
||||
location: 'Plats',
|
||||
device: 'Enhet',
|
||||
actions: 'Åtgärder'
|
||||
actions: 'Åtgärder',
|
||||
searchPlaceholder: 'Sök detekteringar...',
|
||||
filterByType: 'Filtrera efter typ',
|
||||
filterByDevice: 'Filtrera efter enhet',
|
||||
exportData: 'Exportera data',
|
||||
viewDetails: 'Visa detaljer',
|
||||
showOnMap: 'Visa på karta',
|
||||
highConfidence: 'Hög säkerhet',
|
||||
mediumConfidence: 'Medel säkerhet',
|
||||
lowConfidence: 'Låg säkerhet'
|
||||
},
|
||||
devices: {
|
||||
title: 'Enhetshantering',
|
||||
description: 'Övervaka och hantera dina detekteringsenheter',
|
||||
noDevices: 'Inga enheter hittades',
|
||||
loading: 'Laddar enheter...',
|
||||
name: 'Namn',
|
||||
status: 'Status',
|
||||
lastSeen: 'Senast sedd',
|
||||
location: 'Plats',
|
||||
actions: 'Åtgärder'
|
||||
actions: 'Åtgärder',
|
||||
addDevice: 'Lägg till enhet',
|
||||
editDevice: 'Redigera enhet',
|
||||
deleteDevice: 'Ta bort enhet',
|
||||
deviceDetails: 'Enhetsdetaljer',
|
||||
batteryLevel: 'Batterinivå',
|
||||
signalStrength: 'Signalstyrka',
|
||||
firmware: 'Firmware',
|
||||
ipAddress: 'IP-adress',
|
||||
macAddress: 'MAC-adress'
|
||||
},
|
||||
alerts: {
|
||||
title: 'Larmhantering',
|
||||
description: 'Konfigurera och hantera detekteringslarm',
|
||||
noAlerts: 'Inga larm hittades',
|
||||
loading: 'Laddar larm...',
|
||||
type: 'Typ',
|
||||
priority: 'Prioritet',
|
||||
status: 'Status',
|
||||
created: 'Skapad',
|
||||
actions: 'Åtgärder'
|
||||
actions: 'Åtgärder',
|
||||
createAlert: 'Skapa larm',
|
||||
editAlert: 'Redigera larm',
|
||||
deleteAlert: 'Ta bort larm',
|
||||
alertName: 'Larmnamn',
|
||||
alertDescription: 'Beskrivning',
|
||||
triggerConditions: 'Utlösningsvillkor',
|
||||
notificationSettings: 'Aviseringsinställningar',
|
||||
emailNotifications: 'E-postaviseringar',
|
||||
smsNotifications: 'SMS-aviseringar',
|
||||
webhookUrl: 'Webhook URL',
|
||||
highPriority: 'Hög prioritet',
|
||||
mediumPriority: 'Medel prioritet',
|
||||
lowPriority: 'Låg prioritet',
|
||||
active: 'Aktiv',
|
||||
inactive: 'Inaktiv',
|
||||
triggered: 'Utlöst'
|
||||
},
|
||||
settings: {
|
||||
title: 'Inställningar',
|
||||
description: 'Konfigurera ditt konto och systempreferenser',
|
||||
profile: 'Profil',
|
||||
notifications: 'Aviseringar',
|
||||
system: 'System'
|
||||
system: 'System',
|
||||
account: 'Kontoinställningar',
|
||||
security: 'Säkerhetsinställningar',
|
||||
preferences: 'Preferenser',
|
||||
language: 'Språk',
|
||||
timezone: 'Tidszon',
|
||||
emailSettings: 'E-postinställningar',
|
||||
passwordSettings: 'Lösenordsinställningar',
|
||||
twoFactorAuth: 'Tvåfaktorsautentisering',
|
||||
apiKeys: 'API-nycklar',
|
||||
dataRetention: 'Datalagring',
|
||||
exportData: 'Exportera data',
|
||||
deleteAccount: 'Ta bort konto'
|
||||
},
|
||||
auth: {
|
||||
login: 'Logga in',
|
||||
logout: 'Logga ut',
|
||||
username: 'Användarnamn',
|
||||
password: 'Lösenord',
|
||||
email: 'E-post',
|
||||
confirmPassword: 'Bekräfta lösenord',
|
||||
forgotPassword: 'Glömt lösenord?',
|
||||
signIn: 'Logga in',
|
||||
signUp: 'Registrera',
|
||||
register: 'Registrera',
|
||||
signingIn: 'Loggar in...',
|
||||
registering: 'Skapar konto...',
|
||||
rememberMe: 'Kom ihåg mig',
|
||||
createAccount: 'Skapa konto',
|
||||
alreadyHaveAccount: 'Har du redan ett konto?',
|
||||
dontHaveAccount: 'Har du inget konto?',
|
||||
resetPassword: 'Återställ lösenord',
|
||||
backToLogin: 'Tillbaka till inloggning'
|
||||
},
|
||||
map: {
|
||||
title: 'Kartvy',
|
||||
description: 'Realtidsdetekteringsplatser och enhetsstatus',
|
||||
loading: 'Laddar karta...',
|
||||
noDetections: 'Inga detekteringar att visa',
|
||||
deviceLocation: 'Enhetsplats',
|
||||
detectionLocation: 'Detekteringsplats',
|
||||
lastDetection: 'Senaste detektion',
|
||||
deviceOnline: 'Enhet online',
|
||||
deviceOffline: 'Enhet offline',
|
||||
zoomToLocation: 'Zooma till plats',
|
||||
showAllDevices: 'Visa alla enheter',
|
||||
showDetections: 'Visa detekteringar',
|
||||
filterByTime: 'Filtrera efter tid',
|
||||
realTimeUpdates: 'Realtidsuppdateringar'
|
||||
},
|
||||
app: {
|
||||
title: 'UAM-ILS Drönardetekteringssystem'
|
||||
title: 'UAM-ILS Drönardetekteringssystem',
|
||||
subtitle: 'Realtids drönarövervakning',
|
||||
connectionStatus: 'Anslutningsstatus',
|
||||
connected: 'Ansluten',
|
||||
disconnected: 'Frånkopplad',
|
||||
systemStatus: 'Systemstatus',
|
||||
online: 'Online',
|
||||
offline: 'Offline'
|
||||
},
|
||||
common: {
|
||||
loading: 'Laddar...',
|
||||
error: 'Fel',
|
||||
success: 'Framgång',
|
||||
warning: 'Varning',
|
||||
info: 'Information',
|
||||
cancel: 'Avbryt',
|
||||
save: 'Spara',
|
||||
delete: 'Ta bort',
|
||||
edit: 'Redigera',
|
||||
view: 'Visa',
|
||||
close: 'Stäng',
|
||||
refresh: 'Uppdatera'
|
||||
refresh: 'Uppdatera',
|
||||
search: 'Sök',
|
||||
filter: 'Filtrera',
|
||||
export: 'Exportera',
|
||||
import: 'Importera',
|
||||
add: 'Lägg till',
|
||||
remove: 'Ta bort',
|
||||
update: 'Uppdatera',
|
||||
confirm: 'Bekräfta',
|
||||
yes: 'Ja',
|
||||
no: 'Nej',
|
||||
ok: 'OK',
|
||||
apply: 'Tillämpa',
|
||||
reset: 'Återställ',
|
||||
clear: 'Rensa',
|
||||
all: 'Alla',
|
||||
none: 'Inga',
|
||||
selected: 'Valda',
|
||||
total: 'Totalt',
|
||||
page: 'Sida',
|
||||
of: 'av',
|
||||
previous: 'Föregående',
|
||||
next: 'Nästa',
|
||||
first: 'Första',
|
||||
last: 'Sista',
|
||||
date: 'Datum',
|
||||
time: 'Tid',
|
||||
status: 'Status',
|
||||
type: 'Typ',
|
||||
name: 'Namn',
|
||||
description: 'Beskrivning',
|
||||
actions: 'Åtgärder'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user