From 6590140260d0338ab5a0fd2bbcd4c72f07dd963d Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 27 Jul 2016 18:46:02 +0200 Subject: 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 --- src/settings_translation_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings_translation_file.cpp') diff --git a/src/settings_translation_file.cpp b/src/settings_translation_file.cpp index 3e82279cd..10e38e1a7 100644 --- a/src/settings_translation_file.cpp +++ b/src/settings_translation_file.cpp @@ -1,6 +1,6 @@ // This file is automatically generated // It conatins a bunch of fake gettext calls, to tell xgettext about the strings in config files -// To update it, refer to the bottom of builtin/mainmenu/tab_settings.lua +// To update it, refer to the bottom of builtin/mainmenu/dlg_settings_advanced.lua fake_function() { gettext("Client"); -- cgit v1.2.3