From fc642ff15ac4df8d03df9073b8a4d263939d9945 Mon Sep 17 00:00:00 2001 From: Mahmut Elmas Date: Mon, 4 Apr 2016 15:42:06 +0300 Subject: [PATCH] add Turkish --- mods/character_editor/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/character_editor/init.lua b/mods/character_editor/init.lua index d636950..005fe9d 100644 --- a/mods/character_editor/init.lua +++ b/mods/character_editor/init.lua @@ -40,6 +40,7 @@ character_editor.window = character_editor.window .. "label[0,0;Select your lang character_editor.window = character_editor.window .. "button[3,2;2,1;lang_EN;EN]" character_editor.window = character_editor.window .. "button[3,3;2,1;lang_DE;DE]" character_editor.window = character_editor.window .. "button[3,4;2,1;lang_FR;FR]" +character_editor.window = character_editor.window .. "button[3,5;2,1;lang_TR;TR]" function character_editor.show_window(player) local name = player:get_player_name() @@ -85,6 +86,9 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) elseif fields["lang_FR"] then print("FR") character_editor.language[name] = "fr/" + elseif fields["lang_TR"] then + print("TR") + character_editor.language[name] = "tr/" end end end)