mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Be consistent with the case: "Last Read" -> "Last read".
This commit is contained in:
@@ -84,10 +84,10 @@ function FileInfo:init(path, fname)
|
||||
local history = DocToHistory(self.pathfile)
|
||||
local file, msg = io.open(history, "r")
|
||||
if not file then
|
||||
info_entry = {dir = "Last Read", name = "Never"}
|
||||
info_entry = {dir = "Last read", name = "Never"}
|
||||
table.insert(self.result, info_entry)
|
||||
else
|
||||
info_entry = {dir = "Last Read", name = FileInfo:FileCreated(history, "change")}
|
||||
info_entry = {dir = "Last read", name = FileInfo:FileCreated(history, "change")}
|
||||
table.insert(self.result, info_entry)
|
||||
local file_type = string.lower(string.match(self.pathfile, ".+%.([^.]+)"))
|
||||
local to_search, add, factor = "[\"last_percent\"]", "%", 100
|
||||
|
||||
Reference in New Issue
Block a user