         
         for entry in parsedLines {
             let caseName = entry.key.asSwiftIdentifier(forbiddenChars: "_")
-            enumText += "\tcase \(caseName)"
+            enumText += "    case \(caseName)"
             if !entry.types.isEmpty {
                 enumText += "(" + ", ".join(entry.types.map{ $0.rawValue }) + ")"
             }

        
        enumText += "extension \(enumName.asSwiftIdentifier()) : CustomStringConvertible {\n"
        
        enumText += "\tvar description : String { return self.string }\n\n"
        
        enumText += "\tvar string : String {\n"
        enumText += "\t\tswitch self {\n"
        
        for entry in parsedLines {
            let caseName = entry.key.asSwiftIdentifier(forbiddenChars: "_")
            enumText += "\t\t\tcase .\(caseName)"
            if !entry.types.isEmpty {
                let params = (0..<entry.types.count).map { "let p\($0)" }
                enumText += "(" + ", ".join(params) + ")"
            }
            enumText += ":\n"
            enumText += "\t\t\t\treturn L10n.tr(\"\(entry.key)\""
            if !entry.types.isEmpty {
                enumText += ", "
                let params = (0..<entry.types.count).map { "p\($0)" }

            enumText += ")\n"
        }
        
        enumText += "        }\n"
        enumText += "    }\n\n"
        
        enumText += "    private static func tr(key: String, _ args: CVarArgType...) -> String {\n"
        enumText += "        let format = NSLocalizedString(key, comment: \"\")\n"
        enumText += "        return String(format: format, arguments: args)\n"
        enumText += "    }\n"
        enumText += "}\n\n"
        
        enumText += "func tr(key: L10n) -> String {\n"
        enumText += "    return key.string\n"
        enumText += "}\n"
        
        return enumText
