Make link to privacy notice in splash screen translatable

(closes #7171)
This commit is contained in:
Bryan Housel
2019-12-25 16:54:14 -05:00
parent a657ab8775
commit 96b2b42ba7
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -803,7 +803,8 @@ en:
welcome: Welcome to the iD OpenStreetMap editor
text: "iD is a friendly but powerful tool for contributing to the world's best free world map. This is version {version}. For more information see {website} and report bugs at {github}."
privacy_update: "Our privacy policy has recently been updated."
privacy: "{updateMessage} By using this software, you agree to do so in accordance with the iD privacy policy, which can be found {here}."
privacy_policy: iD privacy policy
privacy: "{updateMessage} By using this software, you agree to do so in accordance with the {privacyLink}."
walkthrough: "Start the Walkthrough"
start: "Edit now"
source_switch:
+2 -1
View File
@@ -1005,7 +1005,8 @@
"welcome": "Welcome to the iD OpenStreetMap editor",
"text": "iD is a friendly but powerful tool for contributing to the world's best free world map. This is version {version}. For more information see {website} and report bugs at {github}.",
"privacy_update": "Our privacy policy has recently been updated.",
"privacy": "{updateMessage} By using this software, you agree to do so in accordance with the iD privacy policy, which can be found {here}.",
"privacy_policy": "iD privacy policy",
"privacy": "{updateMessage} By using this software, you agree to do so in accordance with the {privacyLink}.",
"walkthrough": "Start the Walkthrough",
"start": "Edit now"
},
+2 -1
View File
@@ -54,7 +54,8 @@ export function uiSplash(context) {
.append('p')
.html(t('splash.privacy', {
updateMessage: updateMessage,
here: '<a target="_blank" href="https://github.com/openstreetmap/iD/blob/master/PRIVACY.md">here</a>'
privacyLink: '<a target="_blank" href="https://github.com/openstreetmap/iD/blob/master/PRIVACY.md">' +
t('splash.privacy_policy') + '</a>'
}));
let buttonWrap = introModal