Cleanup format of generated Apple strings file.

* Remove unnecessary linebreaks.
* Make section headers stand out.
This commit is contained in:
Sebastian Celis 2012-03-21 11:12:24 -05:00
parent 9277e070fe
commit a3e4e42b15

View file

@ -79,7 +79,7 @@ module Twine
if !printed_section
f.puts ''
if section.name && section.name.length > 0
f.print "/* #{section.name} */\n\n"
f.print "/********** #{section.name} **********/\n\n"
end
printed_section = true
end
@ -97,8 +97,6 @@ module Twine
if comment && comment.length > 0
f.print "/* #{comment} */\n"
else
f.print "\n"
end
f.print "\"#{key}\" = \"#{value}\";\n\n"