Skip to content

Commit

Permalink
Add trailer category (fix #1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Oct 31, 2024
1 parent cb19b99 commit 5199d36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/util/deviceCategories.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default [
'plane',
'ship',
'tractor',
'trailer',
'train',
'tram',
'truck',
Expand Down
2 changes: 2 additions & 0 deletions src/map/core/preloadImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import planeSvg from '../../resources/images/icon/plane.svg';
import scooterSvg from '../../resources/images/icon/scooter.svg';
import shipSvg from '../../resources/images/icon/ship.svg';
import tractorSvg from '../../resources/images/icon/tractor.svg';
import trailerSvg from '../../resources/images/icon/trailer.svg';
import trainSvg from '../../resources/images/icon/train.svg';
import tramSvg from '../../resources/images/icon/tram.svg';
import truckSvg from '../../resources/images/icon/truck.svg';
Expand All @@ -44,6 +45,7 @@ export const mapIcons = {
ship: shipSvg,
start: startSvg,
tractor: tractorSvg,
trailer: trailerSvg,
train: trainSvg,
tram: tramSvg,
truck: truckSvg,
Expand Down
1 change: 1 addition & 0 deletions src/resources/images/icon/trailer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/resources/l10n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@
"categoryPlane": "Plane",
"categoryShip": "Ship",
"categoryTractor": "Tractor",
"categoryTrailer": "Trailer",
"categoryTrain": "Train",
"categoryTram": "Tram",
"categoryTruck": "Truck",
Expand Down

0 comments on commit 5199d36

Please sign in to comment.