mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Use interpolation rather than concatenation
This commit is contained in:
@@ -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
|
||||
|
||||
2
dist/locales/en.json
vendored
2
dist/locales/en.json
vendored
@@ -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",
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user