chore: added missing translations; improved route filters order

This commit is contained in:
2026-03-15 00:51:32 +01:00
parent 4f42c0d878
commit 5e31948a5d
4 changed files with 30 additions and 18 deletions
+8 -8
View File
@@ -110,14 +110,14 @@ export const initFilters = {
export const sliderGroups: SliderGroup[] = [
'vMax',
'level',
'routeOneWay',
'routeOneWayCatenary',
'routeOneWayInternal',
'routeOneWayInternalCatenary',
'routeTwoWay',
'routeOneWay',
'routeTwoWayCatenary',
'routeTwoWayInternal',
'routeTwoWayInternalCatenary'
'routeTwoWay',
'routeOneWayInternalCatenary',
'routeOneWayInternal',
'routeTwoWayInternalCatenary',
'routeTwoWayInternal'
];
export const sliderGroupsOptions: Record<SliderGroup, SliderOptions[]> = {
@@ -208,8 +208,8 @@ export const filtersSections: Record<StationFilterSection, StationFilter[]> = {
],
blockades: ['SBL', 'PBL'],
signals: ['modern', 'semaphores', 'mixed', 'historical'],
externalRoutes: ['oneWay', 'oneWayCatenary', 'twoWay', 'twoWayCatenary'],
internalRoutes: ['oneWayInt', 'oneWayCatenaryInt', 'twoWayInt', 'twoWayCatenaryInt']
externalRoutes: ['oneWayCatenary', 'oneWay', 'twoWayCatenary', 'twoWay'],
internalRoutes: ['oneWayCatenaryInt', 'oneWayInt', 'twoWayCatenaryInt', 'twoWayInt']
};
export function setupFilters(currentFilters: Record<string, any>) {