diff --git a/data/core.yaml b/data/core.yaml index 877389d33..eedf3580c 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -204,6 +204,9 @@ en: incomplete: feature_list: Search features edit: Edit feature + check: + yes: Yes + no: No background: title: Background description: Background settings diff --git a/dist/locales/en.json b/dist/locales/en.json index afaa65e4e..b9ba67b88 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -250,7 +250,11 @@ "unknown": "Unknown", "incomplete": "", "feature_list": "Search features", - "edit": "Edit feature" + "edit": "Edit feature", + "check": { + "yes": "Yes", + "no": "No" + } }, "background": { "title": "Background", diff --git a/js/id/ui/preset/check.js b/js/id/ui/preset/check.js index 451bea840..dd7bce7da 100644 --- a/js/id/ui/preset/check.js +++ b/js/id/ui/preset/check.js @@ -39,7 +39,7 @@ iD.ui.preset.check = function(field) { value = tags[field.key]; box.property('indeterminate', !value); box.property('checked', value === 'yes'); - text.text(value || t('inspector.unknown')); + text.text(value ? t('inspector.check.' + value, {default: value}) : t('inspector.unknown')); label.classed('set', !!value); };