make string "changelog" in welcome message translatable

closes #8948
This commit is contained in:
Martin Raifer
2022-02-04 09:44:07 +01:00
parent d931102372
commit 609c9f63a8
2 changed files with 2 additions and 1 deletions

View File

@@ -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}."

View File

@@ -53,7 +53,7 @@ export function uiSplash(context) {
.append('p')
.html(t.html('splash.text', {
version: context.version,
website: { html: '<a target="_blank" href="https://github.com/openstreetmap/iD/blob/develop/CHANGELOG.md#whats-new">changelog</a>' },
website: { html: '<a target="_blank" href="https://github.com/openstreetmap/iD/blob/develop/CHANGELOG.md#whats-new">' + t.html('splash.changelog') + '</a>' },
github: { html: '<a target="_blank" href="https://github.com/openstreetmap/iD/issues">github.com</a>' }
}));