Skip to content

Commit

Permalink
Merge pull request #1195 from TheZoker/add-camper-category
Browse files Browse the repository at this point in the history
Add camper device category
  • Loading branch information
tananaev authored Nov 24, 2023
2 parents dc46059 + 6515beb commit a1dce94
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modern/src/common/util/deviceCategories.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default [
'boat',
'bus',
'car',
'camper',
'crane',
'helicopter',
'motorcycle',
Expand Down
2 changes: 2 additions & 0 deletions modern/src/map/core/preloadImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import bicycleSvg from '../../resources/images/icon/bicycle.svg';
import boatSvg from '../../resources/images/icon/boat.svg';
import busSvg from '../../resources/images/icon/bus.svg';
import carSvg from '../../resources/images/icon/car.svg';
import camperSvg from '../../resources/images/icon/camper.svg';
import craneSvg from '../../resources/images/icon/crane.svg';
import defaultSvg from '../../resources/images/icon/default.svg';
import helicopterSvg from '../../resources/images/icon/helicopter.svg';
Expand All @@ -32,6 +33,7 @@ export const mapIcons = {
boat: boatSvg,
bus: busSvg,
car: carSvg,
camper: camperSvg,
crane: craneSvg,
default: defaultSvg,
helicopter: helicopterSvg,
Expand Down
2 changes: 2 additions & 0 deletions modern/src/resources/images/icon/camper.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 modern/src/resources/l10n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@
"categoryBoat": "Boat",
"categoryBus": "Bus",
"categoryCar": "Car",
"categoryCamper": "Camper",
"categoryCrane": "Crane",
"categoryHelicopter": "Helicopter",
"categoryMotorcycle": "Motorcycle",
Expand Down

0 comments on commit a1dce94

Please sign in to comment.