From e5e876f717397b09a8022a11dea859fd5c403312 Mon Sep 17 00:00:00 2001
From: Norbert Renner
- Privacy PolicyPrivacy Policy, = 400 ? i18next.t('map.attribution-osm-long') : i18next.t('map.attribution-osm-short'); + var privacyPolicyUrl = BR.conf.privacyPolicyUrl || 'https://brouter.de/privacypolicy.html'; map.attributionControl.setPrefix( '© ' + osmAttribution + @@ -40,7 +41,9 @@ BR.Map = { ' · ' + i18next.t('map.copyright') + '' + - ' · ' + + ' · ' + i18next.t('map.privacy') + '' ); diff --git a/js/index.js b/js/index.js index 66096a8..1256073 100644 --- a/js/index.js +++ b/js/index.js @@ -426,7 +426,9 @@ }, function(err, t) { jqueryI18next.init(i18next, $); - $('html').localize(); + $('html').localize({ + privacyPolicyUrl: BR.conf.privacyPolicyUrl || 'https://brouter.de/privacypolicy.html' + }); mapContext = BR.Map.initMap(); verifyTouchStyle(mapContext); diff --git a/locales/en.json b/locales/en.json index 8cd6a5d..d5c103b 100644 --- a/locales/en.json +++ b/locales/en.json @@ -8,7 +8,7 @@ "data": "Data:", "data-description": "This is based on OpenStreetMap. It is usually updated daily, see dates of data files.", "description": "Online service of the BRouter routing engine. For the offline Android app and more information see brouter.de", - "details": "Privacy Policy, \nCredits,\nChangelog and\nmore info on the client.", + "details": "Privacy Policy, \nCredits,\nChangelog and\nmore info on the client.", "support": "General discussions/questions, support", "title": "About" },