diff --git a/client/src/pages/Devices.jsx b/client/src/pages/Devices.jsx index f7d0521..4a379b7 100644 --- a/client/src/pages/Devices.jsx +++ b/client/src/pages/Devices.jsx @@ -530,7 +530,7 @@ const Devices = () => { onClick={() => handleViewOnMap(selectedDevice)} className="flex-1 bg-primary-100 text-primary-700 py-2 px-3 rounded hover:bg-primary-200 transition-colors text-sm font-medium" > - View on Map + {t('devices.viewOnMap')} )} @@ -538,7 +538,7 @@ const Devices = () => { onClick={() => setShowDetailsModal(false)} className="flex-1 bg-gray-100 text-gray-700 py-2 px-3 rounded hover:bg-gray-200 transition-colors text-sm font-medium" > - Close + {t('devices.close')} diff --git a/client/src/pages/MapView.jsx b/client/src/pages/MapView.jsx index f5ddff8..48393fa 100644 --- a/client/src/pages/MapView.jsx +++ b/client/src/pages/MapView.jsx @@ -610,25 +610,25 @@ const MapView = () => { {/* Map Legend - Fixed positioning and visibility */}