 	return outputString
 }
 
-func caseDescriptions() -> String {
+func caseNameDescriptions() -> String {
 	var outputString = ""
 	for caseStatement in caseStatements
 	{
 		if outputString == "" {
-			outputString = caseStatement.description
+			outputString = caseStatement.fontname
 			continue
 		}
 		
-		outputString += "\n\t\t\t\(caseStatement.description)"
+		outputString += "\n\t\t\t\(caseStatement.fontname)"
+	}
+	return outputString
+}
+
+func caseSizeDescriptions() -> String {
+	var outputString = ""
+	for caseStatement in caseStatements
+	{
+		if outputString == "" {
+			outputString = caseStatement.fontsize
+			continue
+		}
+		
+		outputString += "\n\t\t\t\(caseStatement.fontsize)"
 	}
 	return outputString
 }

	fatalError("Please supply template input path")
}

// Read the strings file
var stringsDict: [NSObject: AnyObject]?
guard let localizedInputPath = inputPath else {
	fatalError("We should have the input path of the font plist file")
}
if let localizedData = NSData(contentsOfFile: localizedInputPath),
	let localizedString = NSString(data:localizedData, encoding:NSUTF8StringEncoding) as String?
{
	stringsDict = localizedString.propertyListFromStringsFileFormat()
}

// We now have all the strings in stringsDict
guard let stringsDict = stringsDict else {
	fatalError("We should have a dictionary of strings")
}

// Build case statements
func buildCaseStatements() -> [(casename: String, description: String)] {
	var templateReplacements = [(casename: String, description: String)]()
	for key in stringsDict.keys {
		let camelCaseKey = camelCase(key as! String)
		let casename = "case \(camelCaseKey)\n"
		let description = "case .\(camelCaseKey):\n\t\t\t\t\treturn \"\(key)\""
		templateReplacements += [(casename, description)]
	}
	return templateReplacements
}

	{
		templateString = templateString.stringByReplacingOccurrencesOfString(DECLARATIONS, withString: caseDeclarations())
		
		templateString = templateString.stringByReplacingOccurrencesOfString(NAME_DESCRIPTIONS, withString: caseNameDescriptions())
		
		templateString = templateString.stringByReplacingOccurrencesOfString(SIZE_DESCRIPTIONS, withString: caseSizeDescriptions())
		
		if let data = templateString.dataUsingEncoding(NSUTF8StringEncoding) {
			data.writeToFile(outputPath, atomically: true)
		}
