diff --git a/data/core.yaml b/data/core.yaml index b049cff91..183f5e7cc 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -29,6 +29,7 @@ en: title: Note description: "Spotted an issue? Let other mappers know." tail: Click on the map to add a note. + key: N add_preset: title: "Add {feature}" point: diff --git a/dist/locales/en.json b/dist/locales/en.json index 6a4db5140..ae188d242 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -35,7 +35,8 @@ "add_note": { "title": "Note", "description": "Spotted an issue? Let other mappers know.", - "tail": "Click on the map to add a note." + "tail": "Click on the map to add a note.", + "key": "N" }, "add_preset": { "title": "Add {feature}", diff --git a/modules/modes/add_note.js b/modules/modes/add_note.js index c8d1376c4..d7e105113 100644 --- a/modules/modes/add_note.js +++ b/modules/modes/add_note.js @@ -11,7 +11,7 @@ export function modeAddNote(context) { button: 'note', title: t('modes.add_note.title'), description: t('modes.add_note.description'), - key: 'N' + key: t('modes.add_note.key') }; var behavior = behaviorDraw(context)