From b67842209def01587beae78a1bcb25aac58a11e8 Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 25 Apr 2019 11:55:20 -0300 Subject: Add Scooter category --- web/images/scooter.svg | 11 +++++++++++ web/l10n/en.json | 5 +++-- web/l10n/pt_BR.json | 3 ++- web/load.js | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 web/images/scooter.svg diff --git a/web/images/scooter.svg b/web/images/scooter.svg new file mode 100644 index 00000000..7295b415 --- /dev/null +++ b/web/images/scooter.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/web/l10n/en.json b/web/l10n/en.json index 183bc885..59b93545 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -1,4 +1,4 @@ -{ +pt{ "sharedLoading": "Loading...", "sharedHide": "Hide", "sharedSave": "Save", @@ -424,6 +424,7 @@ "categoryTrolleybus": "Trolleybus", "categoryTruck": "Truck", "categoryVan": "Van", + "categoryScooter": "Scooter", "maintenanceStart": "Start", "maintenancePeriod": "Period" -} \ No newline at end of file +} diff --git a/web/l10n/pt_BR.json b/web/l10n/pt_BR.json index cee1066e..102ea877 100644 --- a/web/l10n/pt_BR.json +++ b/web/l10n/pt_BR.json @@ -424,6 +424,7 @@ "categoryTrolleybus": "Ônibus Elétrico", "categoryTruck": "Caminhão", "categoryVan": "Van", + "categoryScooter": "Patinete", "maintenanceStart": "Começar", "maintenancePeriod": "Período" -} \ No newline at end of file +} diff --git a/web/load.js b/web/load.js index e72c8baa..59b0e527 100644 --- a/web/load.js +++ b/web/load.js @@ -175,7 +175,7 @@ } window.Images = ['arrow', 'default', 'animal', 'bicycle', 'boat', 'bus', 'car', 'crane', 'helicopter', 'motorcycle', - 'offroad', 'person', 'pickup', 'plane', 'ship', 'tractor', 'train', 'tram', 'trolleybus', 'truck', 'van']; + 'offroad', 'person', 'pickup', 'plane', 'ship', 'tractor', 'train', 'tram', 'trolleybus', 'truck', 'van', 'scooter']; for (i = 0; i < window.Images.length; i++) { addSvgFile('images/' + window.Images[i] + '.svg', window.Images[i] + 'Svg'); -- cgit v1.2.3