Use interpolation rather than concatenation

This commit is contained in:
John Firebaugh
2014-10-22 11:16:26 -07:00
parent 0b1a54acca
commit eb9876c2de
3 changed files with 3 additions and 3 deletions

View File

@@ -184,7 +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
changes: "{count} Changes"
warnings: Warnings
modified: Modified
deleted: Deleted

View File

@@ -231,7 +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",
"changes": "{count} Changes",
"warnings": "Warnings",
"modified": "Modified",
"deleted": "Deleted",

View File

@@ -134,7 +134,7 @@ iD.ui.Commit = function(context) {
.attr('class', 'commit-section modal-section fillL2');
changeSection.append('h3')
.text(summary.length + ' ' + t('commit.changes'));
.text(t('commit.changes', {count: summary.length}));
var li = changeSection.append('ul')
.attr('class', 'changeset-list')