diff --git a/data/core.yaml b/data/core.yaml index bf34a83a2..cf88aac13 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -190,6 +190,8 @@ en: facebook: "Share on Facebook" tweet: "Tweet" okay: "Okay" + confirm: + okay: "Okay" 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}." diff --git a/dist/locales/en.json b/dist/locales/en.json index 47a31a5c0..baead9e93 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -234,6 +234,9 @@ "tweet": "Tweet", "okay": "Okay" }, + "confirm": { + "okay": "Okay" + }, "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}.", diff --git a/js/id/ui/confirm.js b/js/id/ui/confirm.js index c82b4c1ab..55704be4e 100644 --- a/js/id/ui/confirm.js +++ b/js/id/ui/confirm.js @@ -20,7 +20,7 @@ iD.ui.confirm = function(selection) { .on('click.confirm', function() { modal.remove(); }) - .text('Okay'); + .text(t('confirm.okay')); return modal; };