diff options
author | Max Horn | 2011-04-18 17:43:19 +0200 |
---|---|---|
committer | Max Horn | 2011-04-18 18:22:03 +0200 |
commit | bac8fa70fdd4c32d06288b3579ee30ba40e77ece (patch) | |
tree | 4a3368d31c7a8fcc5f737a28d378f7f85025eb89 | |
parent | 73f04118f3d03e25fa1139cfea2b1330f0098bd4 (diff) | |
download | scummvm-rg350-bac8fa70fdd4c32d06288b3579ee30ba40e77ece.tar.gz scummvm-rg350-bac8fa70fdd4c32d06288b3579ee30ba40e77ece.tar.bz2 scummvm-rg350-bac8fa70fdd4c32d06288b3579ee30ba40e77ece.zip |
COMMON: Cleanup error messages
-rw-r--r-- | common/error.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/error.cpp b/common/error.cpp index d0e301b091..68702d40a0 100644 --- a/common/error.cpp +++ b/common/error.cpp @@ -41,13 +41,13 @@ static String errorToString(ErrorCode errorCode) { case kNoError: return _s("No error"); case kInvalidPathError: - return _s("Invalid Path"); + return _s("Invalid path"); case kNoGameDataFoundError: - return _s("Game Data not found"); + return _s("Game data not found"); case kUnsupportedGameidError: - return _s("Game Id not supported"); + return _s("Game id not supported"); case kUnsupportedColorMode: - return _s("Unsupported Color Mode"); + return _s("Unsupported color mode"); case kReadPermissionDenied: return _s("Read permission denied"); @@ -56,7 +56,7 @@ static String errorToString(ErrorCode errorCode) { // The following three overlap a bit with kInvalidPathError and each other. Which to keep? case kPathDoesNotExist: - return _s("Path not exists"); + return _s("Path does not exist"); case kPathNotDirectory: return _s("Path not a directory"); case kPathNotFile: @@ -65,7 +65,7 @@ static String errorToString(ErrorCode errorCode) { case kCreatingFileFailed: return _s("Cannot create file"); case kReadingFailed: - return _s("Reading failed"); + return _s("Reading data failed"); case kWritingFailed: return _s("Writing data failed"); @@ -75,7 +75,7 @@ static String errorToString(ErrorCode errorCode) { case kNoSavesError: case kArgumentNotProcessed: default: - return _s("Unknown Error"); + return _s("Unknown error"); } } |