Tidy up generate_from_settingtypes.lua a bit.
authorTim <t4im@users.noreply.github.com>
Wed, 27 Jul 2016 16:46:02 +0000 (18:46 +0200)
committerest31 <MTest31@outlook.com>
Sat, 20 Aug 2016 13:48:47 +0000 (15:48 +0200)
commit6590140260d0338ab5a0fd2bbcd4c72f07dd963d
tree6aba1e18a131f59b7b0e343b01b2ae93778ba377
parentba501273094b0c6c77404610f2dee81c031d0074
Tidy up generate_from_settingtypes.lua a bit.

* Multiline strings
* Table-concat instead of String-concats
* string.rep instead of loop-concat
* string.format %q instead of manual quotation by gsub
* Assert writeable files
* Generate new settings_translation_file
builtin/mainmenu/generate_from_settingtypes.lua
src/settings_translation_file.cpp