[diagnose] use single quote for translate string when possible (it is not possible to use single quote for strings with single quote due to gettext's bug)