From f82f150fe93a1cd4e0558f8d61eb10a603d8ae5f Mon Sep 17 00:00:00 2001 From: Mihkel Oviir Date: Fri, 11 Jan 2019 00:04:17 +0200 Subject: [PATCH] fixes --- package.json | 2 +- src/config/translations.json | 6 ++++-- src/geop/components/geolocation/GeoLocation.js | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 527cf12..de43d9e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "webpack --mode development", "build:test": "webpack --mode production", - "build:prod": "webpack --mode production && rm dist/**/*.map", + "build:prod": "webpack --mode production && rm dist/*.map", "build:translations": "python3 scripts/translations.py", "start": "webpack-dev-server --mode development --inline --hot --open", "start:ssl": "webpack-dev-server --mode development --port 3001 --inline --hot --https --open", diff --git a/src/config/translations.json b/src/config/translations.json index d3da294..6c2b6b4 100644 --- a/src/config/translations.json +++ b/src/config/translations.json @@ -155,7 +155,8 @@ "Waypoint|Trailhead": "Trailhead", "Waypoint|Virtual Stage": "Virtual Stage", "Zoom in": "Zoom in", - "Zoom out": "Zoom out" + "Zoom out": "Zoom out", + "Too Many Requests": "Too Many Requests" }, "et": { "Account": "Konto", @@ -313,6 +314,7 @@ "Waypoint|Trailhead": "Matkaraja algus", "Waypoint|Virtual Stage": "Virtuaalne vahepunkt", "Zoom in": "Suurenda", - "Zoom out": "Vähenda" + "Zoom out": "Vähenda", + "Too Many Requests": "Päringute limiit on täis" } } diff --git a/src/geop/components/geolocation/GeoLocation.js b/src/geop/components/geolocation/GeoLocation.js index 42a47ff..460c7a6 100644 --- a/src/geop/components/geolocation/GeoLocation.js +++ b/src/geop/components/geolocation/GeoLocation.js @@ -247,7 +247,7 @@ class GeoLocation extends Component { }, true) const trackStyle = createStyle({ stroke: { - color: 'rgba(255, 0, 0, 0.5)', + color: 'rgba(0, 133, 203, 1)', width: 3, lineDash: [5, 5] }