From ef33dd0bf3285017f2a1c73a8bd811634c12019a Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Mon, 25 Apr 2016 13:30:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A5=D0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MineOS/OS.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/MineOS/OS.lua b/MineOS/OS.lua index aeb2162a..dbc5ec5a 100644 --- a/MineOS/OS.lua +++ b/MineOS/OS.lua @@ -561,28 +561,28 @@ while true do {lang.contextMenuRemoveWallpaper, not wallpaper} ) - if action == "Показывать скрытые файлы" then + if action == lang.showHiddenFiles then showHiddenFiles = true drawAll() - elseif action == "Скрывать скрытые файлы" then + elseif action == lang.hideHiddenFiles then showHiddenFiles = false drawAll() - elseif action == "Показывать формат файлов" then + elseif action == lang.showFileFormat then showFileFormat = true drawAll() - elseif action == "Скрывать формат файлов" then + elseif action == lang.hideFileFormat then showFileFormat = false drawAll() - elseif action == "Сортировать по имени" then + elseif action == lang.sortByName then sortingMethod = "name" drawAll() - elseif action == "Сортировать по дате" then + elseif action == lang.sortByDate then sortingMethod = "date" drawAll() - elseif action == "Сортировать по типу" then + elseif action == lang.sortByType then sortingMethod = "type" drawAll() - elseif action == "Удалить обои" then + elseif action == lang.contextMenuRemoveWallpaper then wallpaper = nil fs.remove(pathToWallpaper) drawAll(true)