diff options
author | PilzAdam <pilzadam@minetest.net> | 2015-10-25 19:14:07 +0100 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2015-10-25 19:14:07 +0100 |
commit | eba5f7cd6cfb550b28de230bd5013a771d37b196 (patch) | |
tree | 0cf7944568de7bc39fd5a1bc5c6f900901221f55 | |
parent | eb92bfb03038aa2ed42af46ff5ec7d144f0ff9af (diff) | |
download | minetest-eba5f7cd6cfb550b28de230bd5013a771d37b196.tar.gz minetest-eba5f7cd6cfb550b28de230bd5013a771d37b196.tar.bz2 minetest-eba5f7cd6cfb550b28de230bd5013a771d37b196.zip |
Fix parameter passing to gettext call
-rw-r--r-- | builtin/mainmenu/tab_settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index d1ebb23ad..6d71904cd 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -493,7 +493,7 @@ local function handle_change_setting_buttons(this, fields) value = value:trim() if not value:match(CHAR_CLASSES.FLAGS .. "+") or not setting.possible:match("[,]?" .. value .. "[,]?") then - this.data.error_message = fgettext_ne("\"" .. value .. "\" is not a valid flag.") + this.data.error_message = fgettext_ne("\"$1\" is not a valid flag.", value) this.data.entered_text = fields["te_setting_value"] core.update_formspec(this:get_formspec()) return true |