This commit is contained in:
Igor Timofeev 2015-10-30 07:39:54 +03:00
parent a102badd20
commit efa55471cf

View File

@ -243,7 +243,7 @@ do
local language = ecs.universalWindow("auto", "auto", 30, ecs.windowColors.background, true, {"EmptyLine"}, {"CenterText", 0x262626, "Select language"}, {"Select", 0x262626, 0x880000, "Russian", "English"}, {"Button", {0xffffff, 0x262626, "OK"}}) local language = ecs.universalWindow("auto", "auto", 30, ecs.windowColors.background, true, {"EmptyLine"}, {"CenterText", 0x262626, "Select language"}, {"Select", 0x262626, 0x880000, "Russian", "English"}, {"Button", {0xffffff, 0x262626, "OK"}})
language = language[1] language = language[1]
--УСТАНАВЛИВАЕМ НУЖНЫЙ ЯЗЫК --УСТАНАВЛИВАЕМ НУЖНЫЙ ЯЗЫК
local path = "MineOS/System/OS/Language.txt" local path = "MineOS/System/OS/Language.lua"
fs.remove(path) fs.remove(path)
fs.makeDirectory(fs.path(path)) fs.makeDirectory(fs.path(path))
local file = io.open(path, "w") local file = io.open(path, "w")