aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-29 21:07:37 -0700
committerGitHub <noreply@github.com>2019-04-29 21:07:37 -0700
commite9f15d345f0f123b62a3f38b73501ab6270bc4ae (patch)
tree3108a851874b11df91e5b377994291b33efa5360
parentab9a88c784808f941f6813ab359a520c40c20789 (diff)
parent63de5069b3978b709daff13ef16ad35eb7f0da05 (diff)
downloadtrackermap-web-e9f15d345f0f123b62a3f38b73501ab6270bc4ae.tar.gz
trackermap-web-e9f15d345f0f123b62a3f38b73501ab6270bc4ae.tar.bz2
trackermap-web-e9f15d345f0f123b62a3f38b73501ab6270bc4ae.zip
Merge pull request #739 from lcsvcn/master
Add Category Scooter
-rw-r--r--web/images/scooter.svg59
-rw-r--r--web/l10n/en.json3
-rw-r--r--web/l10n/pt_BR.json3
-rw-r--r--web/load.js2
4 files changed, 64 insertions, 3 deletions
diff --git a/web/images/scooter.svg b/web/images/scooter.svg
new file mode 100644
index 00000000..31ccec7e
--- /dev/null
+++ b/web/images/scooter.svg
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="40"
+ height="40"
+ viewBox="0 0 40 40"
+ id="svg4145"
+ version="1.1"
+ sodipodi:docname="scooter.svg"
+ inkscape:version="0.92.4 (33fec40, 2019-01-16)">
+ <defs
+ id="defs4147" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ showgrid="false"
+ units="px"
+ inkscape:zoom="5.9"
+ inkscape:cx="20"
+ inkscape:cy="20"
+ inkscape:window-width="1920"
+ inkscape:window-height="1043"
+ inkscape:window-x="1366"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="layer1" />
+ <metadata
+ id="metadata4150">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1">
+ <path
+ style="fill:#008000;fill-opacity:1;stroke:#333333;stroke-width:1.89999998;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 20.001953 3.6816406 L 18.871094 7.0722656 A 12.37437 12.37437 0 0 1 20.001953 7.0097656 A 12.37437 12.37437 0 0 1 21.130859 7.0664062 L 20.001953 3.6816406 z M 20 7.625 A 12.37437 12.37437 0 0 0 7.625 20 A 12.37437 12.37437 0 0 0 20 32.375 A 12.37437 12.37437 0 0 0 32.375 20 A 12.37437 12.37437 0 0 0 20 7.625 z "
+ id="background" />
+ <path
+ d="m 25.796581,22.593608 -0.736646,-2.977183 v 0 l -1.32596,-5.519499 c -0.07364,-0.301063 -0.368323,-0.501772 -0.699813,-0.501772 h -2.062605 c -0.405097,0 -0.736644,0.301063 -0.736644,0.66903 0,0.367967 0.331547,0.66903 0.736644,0.66903 h 1.473289 l 1.178632,4.783566 -2.173102,4.18141 h -4.235708 c -0.184161,-1.639123 -1.694283,-2.876776 -3.535896,-2.876776 -0.294657,0 -0.552483,0.234135 -0.552483,0.501772 0,0.267586 0.257826,0.501772 0.552483,0.501772 1.252297,0 2.2836,0.836287 2.430928,1.906709 h -0.773476 c -0.294659,-0.769358 -1.104968,-1.304608 -2.062606,-1.304608 -1.178632,0 -2.173103,0.869739 -2.173103,1.973638 0,1.103926 0.957639,1.973639 2.173103,1.973639 0.957638,0 1.767947,-0.535171 2.062606,-1.304609 l 6.519335,-0.03345 c 0.29463,0 0.515652,-0.133805 0.662952,-0.367913 l 1.583758,-3.044087 0.257854,1.103847 c -0.589316,0.334515 -0.9945,0.970093 -0.9945,1.672575 0,1.070474 0.957639,1.973639 2.173161,1.973639 1.215435,0 2.173103,-0.869687 2.173103,-1.973639 0.03683,-1.070422 -0.810339,-1.90671 -1.915306,-2.007092 z M 13.31045,25.537366 c -0.589316,0 -1.068135,-0.434896 -1.068135,-0.970147 0,-0.535171 0.478819,-0.970093 1.068135,-0.970093 0.33149,0 0.589316,0.133806 0.810309,0.334515 h -0.441987 c -0.405154,0 -0.736645,0.301064 -0.736645,0.66903 0,0.367966 0.331491,0.66903 0.736645,0.66903 v 0 h 0.441987 c -0.18416,0.133806 -0.478819,0.267665 -0.810309,0.267665 z m 12.265108,0 c -0.589258,0 -1.068135,-0.434896 -1.068135,-0.970147 0,-0.200656 0.07369,-0.401392 0.184161,-0.535171 l 0.07369,0.334515 c 0.07364,0.301063 0.368322,0.501772 0.699812,0.501772 0.03683,0 0.110468,0 0.147329,0 0.405155,-0.06693 0.626177,-0.434896 0.552484,-0.769411 l -0.07364,-0.367966 c 0.331491,0.167257 0.589258,0.501772 0.589258,0.869739 -0.03678,0.501773 -0.515622,0.936669 -1.104968,0.936669 z"
+ id="path4"
+ inkscape:connector-curvature="0"
+ style="stroke-width:0.02753035" />
+ </g>
+</svg>
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 183bc885..7b14934d 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -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');