From 4647e5eebdd23fa510fa614391b24d10f13f0361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20St=C3=B6cker?= Date: Sat, 30 Nov 2024 23:08:33 +0100 Subject: [PATCH] fix shortcut parsing hints --- .../josm/plugins/mapillary/gui/imageinfo/ClipboardAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapillary/gui/imageinfo/ClipboardAction.java b/src/main/java/org/openstreetmap/josm/plugins/mapillary/gui/imageinfo/ClipboardAction.java index d0d49b8fc..cf2e9ee23 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapillary/gui/imageinfo/ClipboardAction.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapillary/gui/imageinfo/ClipboardAction.java @@ -63,8 +63,8 @@ public class ClipboardAction extends MapillaryAction { */ public ClipboardAction(final String name, final String successMessage, final Transferable contents) { super(tr(name), "copy", tr("Copy {0} to clipboard", tr(name)), - Shortcut.registerShortcut("mapillary:copy_to_clipboard_" + name.replace(' ', '_'), - /* NO-SHORTCUT - add definition in classes using ClipboardAction */ + Shortcut.registerShortcut(/* NO-SHORTCUT - add definition in classes using ClipboardAction */ + "mapillary:copy_to_clipboard_" + name.replace(' ', '_'), tr("Mapillary: {0}", tr(name)), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), false, "mapillary:copy_to_clipboard_" + name.replace(' ', '_'), false); this.contents = contents;