File Manager: rename to "KOReader File Browser" and add up arrow to ".."

This should make it clearer to new users what's going on. Fixes #2529.
pull/2559/merge
Frans de Jonge 7 years ago committed by Qingping Hou
parent 4d043e1c90
commit 6458c8e9eb

@ -62,7 +62,7 @@ local function restoreScreenMode()
end
local FileManager = InputContainer:extend{
title = _("File Manager"),
title = _("KOReader File Browser"),
root_path = lfs.currentdir(),
-- our own size
dimen = Geom:new{ w = 400, h = 600 },

@ -154,7 +154,7 @@ function FileChooser:genItemTableFromPath(path)
end
table.sort(dirs, sorting)
if path ~= "/" then table.insert(dirs, 1, {name = ".."}) end
if path ~= "/" then table.insert(dirs, 1, {name = ".."}) end
table.sort(files, sorting)
local item_table = {}

Loading…
Cancel
Save