Skip to content

Commit

Permalink
Distinguish tip and message on missing start date validator rule
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Mar 23, 2024
1 parent 7892786 commit eeec11e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions data/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1896,9 +1896,9 @@ en:
reference: "Multipolygon members must have an inner or outer role."
missing_start_date:
title: Missing Start Dates
feature:
message: "Find features that are missing a start date"
reference: "Every feature should have a start date to prevent it from appearing since the beginning of time. If you are not sure about the start date, you can add an approximate date or a date range using the EDTF date field."
tip: "Find features that are missing a start date"
message: "{feature} has no start date"
reference: "Every feature should have a start date to prevent it from appearing since the beginning of time. If you are unsure of the start date, you can add an approximate date or a date range using the EDTF date field."
missing_tag:
title: Missing Tags
tip: "Find features that are missing descriptive tags"
Expand Down
2 changes: 1 addition & 1 deletion modules/validations/missing_start_date.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function validationMissingStartDate(context) {
severity: 'warning',
message: (context) => {
const entity = context.hasEntity(entityID);
return entity ? t.append('issues.missing_start_date.feature.message', {
return entity ? t.append('issues.missing_start_date.message', {
feature: utilDisplayLabel(entity, context.graph())
}) : '';
},
Expand Down

0 comments on commit eeec11e

Please sign in to comment.