Use correct error message when renaming/deleting folder
Unified error message function, Title cased strings
Use ERR_TYPE_* constants
Consolidate all error dialogs into new method
Title Case FILENAME and DIRECTORY_NAME
Use switch, review changes
Merge pull request #8008 from SAPlayer/issue-8003

Use correct error message when renaming/deleting folder