String (@NotNull OptionDescription description) { if (description instanceof RegistryTextOptionDescriptor) return LangBundle.message("group.registry"); String groupName = description.getGroupName(); String settings = SystemInfo.isMac ? LangBundle.message("group.preferences") : LangBundle.message("group.settings"); if (groupName == null || groupName.equals(description.getHit())) return settings; return settings + " > " + groupName; }