- {
- case wxT('2'):
- wxLogError(wxT("Loading Grey Ascii PNM image is not yet implemented."));
- return FALSE;
- case wxT('5'):
- wxLogError(wxT("Loading Grey Raw PNM image is not yet implemented."));
- return FALSE;
- case wxT('3'): case wxT('6'): break;
- default :
- wxLogError(wxT("Loading PNM image : file not recognized."));
- return FALSE;
- }
+ {
+ case wxT('2'):
+ if (verbose) wxLogError(_("Loading Grey Ascii PNM image is not yet implemented."));
+ return FALSE;
+ case wxT('5'):
+ if (verbose) wxLogError(_("Loading Grey Raw PNM image is not yet implemented."));
+ return FALSE;
+ case wxT('3'):
+ case wxT('6'): break;
+ default:
+ if (verbose) wxLogError(_("PNM: File format is not recognized."));
+ return FALSE;
+ }