aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas <lcs.vcn@gmail.com>2019-04-25 11:55:20 -0300
committerLucas <lcs.vcn@gmail.com>2019-04-25 11:57:12 -0300
commitb67842209def01587beae78a1bcb25aac58a11e8 (patch)
tree3697ec2c9e0d0e878fc7e2a1713620d02e3ceaf4
parent17c237aa7bfc1956ef231f42bfb31d911eb8ad3a (diff)
downloadtrackermap-web-b67842209def01587beae78a1bcb25aac58a11e8.tar.gz
trackermap-web-b67842209def01587beae78a1bcb25aac58a11e8.tar.bz2
trackermap-web-b67842209def01587beae78a1bcb25aac58a11e8.zip
Add Scooter category
-rw-r--r--web/images/scooter.svg11
-rw-r--r--web/l10n/en.json5
-rw-r--r--web/l10n/pt_BR.json3
-rw-r--r--web/load.js2
4 files changed, 17 insertions, 4 deletions
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg viewBox="215.545 254.082 39.552 39.93" width="39.552" height="39.93" xmlns="http://www.w3.org/2000/svg">
+ <g id="layer1" transform="matrix(1, 0, 0, 1, 214.511383, 254.293442)">
+ <path style="fill:#008000;fill-opacity:1;stroke:#333333;stroke-width:1.89999998;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 21.002 3.682 L 19.871 7.072 C 20.247 7.034 20.624 7.013 21.002 7.01 C 21.379 7.011 21.756 7.03 22.131 7.066 L 21.002 3.682 Z M 21 7.625 C 18.582 7.625 16.325 8.318 14.419 9.518 C 10.938 11.708 8.625 15.584 8.625 20 C 8.625 26.835 14.165 32.375 21 32.375 C 27.835 32.375 33.375 26.835 33.375 20 C 33.375 13.165 27.835 7.625 21 7.625 Z" id="background"/>
+ </g>
+ <g transform="matrix(0.02153, 0, 0, 0.029326, 228.484329, 265.50705)" style="">
+ <g id="Layer_1_97_">
+ <path d="M 531.579 386.846 L 506.079 273.371 L 506.079 273.371 L 460.179 62.996 C 457.63 51.521 447.429 43.871 435.954 43.871 L 364.554 43.871 C 350.531 43.871 339.054 55.346 339.054 69.371 C 339.054 83.396 350.531 94.871 364.554 94.871 L 415.554 94.871 L 456.354 277.196 L 381.129 436.57 L 234.504 436.57 C 228.129 374.095 175.854 326.922 112.104 326.922 C 101.904 326.922 92.979 335.846 92.979 346.047 C 92.979 356.246 101.904 365.172 112.104 365.172 C 155.454 365.172 191.154 397.047 196.254 437.846 L 169.479 437.846 C 159.279 408.522 131.229 388.121 98.079 388.121 C 57.279 388.121 22.854 421.271 22.854 463.346 C 22.854 505.422 56.004 538.571 98.079 538.571 C 131.229 538.571 159.279 518.173 169.479 488.846 L 395.155 487.571 C 405.354 487.571 413.005 482.471 418.104 473.548 L 472.928 357.523 L 481.854 399.596 C 461.454 412.346 447.428 436.571 447.428 463.346 C 447.428 504.147 480.578 538.571 522.655 538.571 C 564.729 538.571 597.88 505.423 597.88 463.346 C 599.155 422.547 569.829 390.672 531.579 386.846 Z M 99.354 499.047 C 78.954 499.047 62.379 482.471 62.379 462.07 C 62.379 441.672 78.954 425.095 99.354 425.095 C 110.829 425.095 119.754 430.195 127.404 437.845 L 112.104 437.845 C 98.079 437.845 86.604 449.32 86.604 463.345 C 86.604 477.37 98.079 488.845 112.104 488.845 L 112.104 488.845 L 127.404 488.845 C 121.029 493.945 110.829 499.047 99.354 499.047 Z M 523.928 499.047 C 503.53 499.047 486.953 482.471 486.953 462.07 C 486.953 454.422 489.504 446.771 493.328 441.672 L 495.879 454.422 C 498.428 465.897 508.629 473.547 520.104 473.547 C 521.379 473.547 523.928 473.547 525.204 473.547 C 539.229 470.996 546.88 456.971 544.329 444.221 L 541.78 430.196 C 553.255 436.571 562.178 449.321 562.178 463.346 C 560.905 482.471 544.329 499.047 523.928 499.047 Z"/>
+ </g>
+ </g>
+</svg> \ 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');