Skip to content

Commit

Permalink
Merge pull request #182 from OpenHistoricalMap/1ec5-invalid-date-fix-…
Browse files Browse the repository at this point in the history
…append-567

Fix errors populating invalid date error messages
  • Loading branch information
danrademacher authored Dec 12, 2023
2 parents 518546c + 9e5e279 commit 83092bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/validations/invalid_format.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function validationFormatting() {
.enter()
.append('div')
.attr('class', 'issue-reference')
.text(t.append('issues.invalid_format.date.reference'));
.call(t.append('issues.invalid_format.date.reference'));
}

function validateDate(key, msgKey) {
Expand Down Expand Up @@ -47,7 +47,7 @@ export function validationFormatting() {
var newTags = Object.assign({}, entityInGraph.tags);
newTags[key] = normalized.value;
return actionChangeTags(entityInGraph.id, newTags)(graph);
}, t.append('issues.fix.reformat_date.annotation'));
}, t('issues.fix.reformat_date.annotation'));
}
}));
}
Expand All @@ -61,7 +61,7 @@ export function validationFormatting() {
var newTags = Object.assign({}, entityInGraph.tags);
delete newTags[key];
return actionChangeTags(entityInGraph.id, newTags)(graph);
}, t.append('issues.fix.remove_tag.annotation'));
}, t('issues.fix.remove_tag.annotation'));
}
}));
return fixes;
Expand Down

0 comments on commit 83092bc

Please sign in to comment.