אם יש לכם רעיון מעניין למה קורים פה דברים, דברו איתנו בסלאק!
+
+ מה רואים בגרף?
+
+ {description}
+
{t('errorPage.text')}
+
+ {t('errorPage.text2')}
+
+ https://github.com/hasadna/open-bus-map-search/issues/new
+
+
{loaded} {`- `} - {TEXTS.show_x_bus_locations} {` `} - {TEXTS.from_time_x_to_time_y + {t('show_x_bus_locations')} {` `} + {t('from_time_x_to_time_y') .replace('XXX', moment(from).format('hh:mm A')) .replace('YYY', moment(to).format('hh:mm A'))}
diff --git a/src/pages/singleLineMap/index.tsx b/src/pages/singleLineMap/index.tsx index a2299eec..f029498a 100644 --- a/src/pages/singleLineMap/index.tsx +++ b/src/pages/singleLineMap/index.tsx @@ -8,7 +8,7 @@ import LineNumberSelector from 'src/pages/components/LineSelector' import OperatorSelector from 'src/pages/components/OperatorSelector' import RouteSelector from 'src/pages/components/RouteSelector' import { INPUT_SIZE } from 'src/resources/sizes' -import { TEXTS } from 'src/resources/texts' +import { useTranslation } from 'react-i18next' import { SearchContext } from '../../model/pageState' import { NotFound } from '../components/NotFound' import { Point } from '../realtimeMap' @@ -22,7 +22,7 @@ import getAgencyList, { Agency } from 'src/api/agencyList' import { VehicleLocation } from 'src/model/vehicleLocation' import { getColorByHashString } from '../dashboard/AllLineschart/OperatorHbarChart/utils' import { DateSelector } from '../components/DateSelector' -import { CircularProgress } from '@mui/material' +import { CircularProgress, Tooltip } from '@mui/material' import { FilterPositionsByStartTimeSelector } from '../components/FilterPositionsByStartTimeSelector' import { PageContainer } from '../components/PageContainer' import { busIcon, busIconPath } from '../components/utils/BusIcon' @@ -46,6 +46,7 @@ const SingleLineMapPage = () => { const [isExpanded, setIsExpanded] = useState