Bug 572597 - change "invalid" to "unnamed"

Also don't print element itself, the data is almost always useless

Change-Id: Id3db94b389da1fac2afce3585b87fe7b1c2ec8a4
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/179981
Reviewed-by: Rolf Theunissen <rolf.theunissen@gmail.com>
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java
index 38e8572..89daaac 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java
@@ -1385,7 +1385,7 @@
 		}
 		String elementId = elt.getElementId();
 		if (elementId == null) {
-			return "Invalid element: " + elt; //$NON-NLS-1$
+			return "Unnamed element"; //$NON-NLS-1$
 		}
 		ActionSetRegistry registry = WorkbenchPlugin.getDefault().getActionSetRegistry();
 		IActionSetDescriptor findActionSet = registry.findActionSet(elementId);