From 093cdb11fab1937afb4dfb9aef6a4f1a4eca8887 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 4 Jul 2018 09:27:51 +0500 Subject: Add Tram, Train and Trolleybus categories --- web/images/train.svg | 48 +++++++++++++++++++++++++++++++++++++++++++++++ web/images/tram.svg | 48 +++++++++++++++++++++++++++++++++++++++++++++++ web/images/trolleybus.svg | 48 +++++++++++++++++++++++++++++++++++++++++++++++ web/l10n/en.json | 3 +++ web/load.js | 4 ++-- 5 files changed, 149 insertions(+), 2 deletions(-) create mode 100644 web/images/train.svg create mode 100644 web/images/tram.svg create mode 100644 web/images/trolleybus.svg (limited to 'web') diff --git a/web/images/train.svg b/web/images/train.svg new file mode 100644 index 0000000..949db92 --- /dev/null +++ b/web/images/train.svg @@ -0,0 +1,48 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/web/images/tram.svg b/web/images/tram.svg new file mode 100644 index 0000000..31d3108 --- /dev/null +++ b/web/images/tram.svg @@ -0,0 +1,48 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/web/images/trolleybus.svg b/web/images/trolleybus.svg new file mode 100644 index 0000000..ebd7229 --- /dev/null +++ b/web/images/trolleybus.svg @@ -0,0 +1,48 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/web/l10n/en.json b/web/l10n/en.json index e6a8a99..c7fb1e7 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -414,6 +414,9 @@ "categoryPlane": "Plane", "categoryShip": "Ship", "categoryTractor": "Tractor", + "categoryTrain": "Train", + "categoryTram": "Tram", + "categoryTrolleybus": "Trolleybus", "categoryTruck": "Truck", "categoryVan": "Van", "maintenanceStart": "Start", diff --git a/web/load.js b/web/load.js index 78f1101..4143fd7 100644 --- a/web/load.js +++ b/web/load.js @@ -177,8 +177,8 @@ addScriptFile('//cdnjs.cloudflare.com/ajax/libs/proj4js/' + proj4jsVersion + '/proj4.js'); } - window.Images = ['arrow', 'default', 'animal', 'bicycle', 'boat', 'bus', 'car', 'crane', 'helicopter', - 'motorcycle', 'offroad', 'person', 'pickup', 'plane', 'ship', 'tractor', 'truck', 'van']; + window.Images = ['arrow', 'default', 'animal', 'bicycle', 'boat', 'bus', 'car', 'crane', 'helicopter', 'motorcycle', + 'offroad', 'person', 'pickup', 'plane', 'ship', 'tractor', 'train', 'tram', 'trolleybus', 'truck', 'van']; for (i = 0; i < window.Images.length; i++) { addSvgFile('images/' + window.Images[i] + '.svg', window.Images[i] + 'Svg'); -- cgit v1.2.3