void (@DialogMessage String errMessage, Project project) { String suggestion = ""; if (errMessage.contains(PyBundle.message("debugger.cython.extension.python.h"))) { suggestion = PyBundle.message("debugger.cython.extension.python.h.not.found", getInstallPythonCommand(project)); } else if (errMessage.contains(PyBundle.message("debugger.cython.extension.gcc"))) { suggestion = PyBundle.message("debugger.cython.extension.gcc.failed"); } else if(errMessage.contains(PyBundle.message("debugger.cython.extension.gcc.not.found"))) { suggestion = PyBundle.message("debugger.cython.extension.gcc.not.found.suggestion"); } showErrorDialog(project, errMessage + suggestion); }