Translate "Okay" in confirm dialogs

This commit is contained in:
Tom MacWright
2013-05-07 15:31:20 -04:00
parent 044bd937a7
commit 08dca79f9e
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -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}."
+3
View File
@@ -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}.",
+1 -1
View File
@@ -20,7 +20,7 @@ iD.ui.confirm = function(selection) {
.on('click.confirm', function() {
modal.remove();
})
.text('Okay');
.text(t('confirm.okay'));
return modal;
};