TagReader: Cleanup string functions

This commit is contained in:
Jonas Kvinge
2024-07-05 16:21:50 +02:00
parent 59752e6fe9
commit 0435d6d7b9
6 changed files with 266 additions and 240 deletions

View File

@@ -42,8 +42,10 @@ QString TagReaderBase::ErrorString(const Result &result) {
return QObject::tr("File is unsupported");
case Result::ErrorCode::FilenameMissing:
return QObject::tr("Filename is missing");
case Result::ErrorCode::FileDoesNotExist:
return QObject::tr("File does not exist");
case Result::ErrorCode::FileOpenError:
return QObject::tr("File can not be opened");
return QObject::tr("File could not be opened");
case Result::ErrorCode::FileParseError:
return QObject::tr("Could not parse file");
case Result::ErrorCode::FileSaveError: