From 609c9f63a8a670cce78ec8d2a25da3a6910d136b Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Fri, 4 Feb 2022 09:44:07 +0100 Subject: [PATCH] make string "changelog" in welcome message translatable closes #8948 --- data/core.yaml | 1 + modules/ui/splash.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/core.yaml b/data/core.yaml index 55fec4aad..5c691fb41 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -1042,6 +1042,7 @@ en: splash: 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}." + changelog: changelog privacy_update: "Our privacy policy has recently been updated." privacy_policy: iD privacy policy privacy: "{updateMessage} By using this software, you agree to do so in accordance with the {privacyLink}." diff --git a/modules/ui/splash.js b/modules/ui/splash.js index 3c1f7ed6f..992585e69 100644 --- a/modules/ui/splash.js +++ b/modules/ui/splash.js @@ -53,7 +53,7 @@ export function uiSplash(context) { .append('p') .html(t.html('splash.text', { version: context.version, - website: { html: 'changelog' }, + website: { html: '' + t.html('splash.changelog') + '' }, github: { html: 'github.com' } }));