         switch self {
         case .empty:
             return NSLocalizedString("Name can’t be empty.", comment: "")
-            
         case .containSlash:
             return NSLocalizedString("You can’t use a name that contains “/”.", comment: "")
-            
         case .startWithDot:
             return NSLocalizedString("You can’t use a name that begins with a dot “.”.", comment: "")
-            
         case .duplicated(let name):
             return String(format: NSLocalizedString("The name “%@” is already taken.", comment: ""), name)
         }

        switch self.type {
        case .syntaxStyle:
            return NSLocalizedString("Do you want to replace it?\nReplaced style can’t be restored.", comment: "")
            
        case .theme:
            return NSLocalizedString("Do you want to replace it?\nReplaced theme can’t be restored.", comment: "")
            
        case .replacement:
            return NSLocalizedString("Do you want to replace it?\nReplaced definition can’t be restored.", comment: "")
        }

            return true
            
        default:
            preconditionFailure()
        }
    }
    
