Translate text in changes section on save panel. (fixes #2417)

This commit is contained in:
Bryan Housel
2014-10-22 10:27:59 -04:00
parent 041e0e5b66
commit 712f533212
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -184,6 +184,7 @@ en:
upload_explanation_with_user: "The changes you upload as {user} will be visible on all maps that use OpenStreetMap data."
save: Save
cancel: Cancel
changes: Changes
warnings: Warnings
modified: Modified
deleted: Deleted
+1
View File
@@ -231,6 +231,7 @@
"upload_explanation_with_user": "The changes you upload as {user} will be visible on all maps that use OpenStreetMap data.",
"save": "Save",
"cancel": "Cancel",
"changes": "Changes",
"warnings": "Warnings",
"modified": "Modified",
"deleted": "Deleted",
+2 -2
View File
@@ -134,7 +134,7 @@ iD.ui.Commit = function(context) {
.attr('class', 'commit-section modal-section fillL2');
changeSection.append('h3')
.text(summary.length + ' Changes');
.text(summary.length + ' ' + t('commit.changes'));
var li = changeSection.append('ul')
.attr('class', 'changeset-list')
@@ -154,7 +154,7 @@ iD.ui.Commit = function(context) {
li.append('span')
.attr('class', 'change-type')
.text(function(d) {
return d.changeType + ' ';
return t('commit.' + d.changeType) + ' ';
});
li.append('strong')