aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/aliases.ts
blob: 4fc08ecb9ce65545c9271b3e877f47b1eee0be09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { m } from './paraglide/messages';

export const placeNameMap = new Map<string, string>();
for (const [v1, v2] of [
  ['Freiburg(Brsg)', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg(Breisgau)', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg(Breisgau) Hbf', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg (Breisgau)', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg (Breisgau) Hbf', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg im Breisgau', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg im Breisgau Hbf', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg im Breisgau Hauptbahnhof', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg (D)', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg (D), Busbahnhof', 'Freiburg(Breisgau) Hbf'],
  ['Freiburg Hauptbahnhof', 'Freiburg(Breisgau) Hbf'],
  ['S+U Berlin Hauptbahnhof', 'Berlin Hbf'],
  ['Berlin Hauptbahnhof', 'Berlin Hbf'],
])
  placeNameMap.set(v1.toLowerCase(), v2);
export const operators = new Map<string, string>();
operators.set('Schweizerische Bundesbahnen SBB', m.operator_sbb());
operators.set('SBB', m.operator_sbb());

operators.set('SZU', m.operator_szu());
operators.set('Sihltal-Zürich-Uetliberg-Bahn', m.operator_szu());

operators.set('Verkehrsbetriebe Zürich', m.operator_vbz()); // buses
operators.set('Verkehrsbetriebe Zürich INFO+', m.operator_vbz()); // trams

operators.set('BLS AG (bls)', m.operator_bls());

operators.set('Städtische Verkehrsbetriebe Bern', m.operator_bernmobil());

operators.set('Regionalverkehr Bern-Solothurn', m.operator_rbs());

operators.set('Verkehrsbetriebe Glattal', m.operator_vbg());