Be consistent with the case: "Last Read" -> "Last read".

This commit is contained in:
Tigran Aivazian
2012-09-20 00:08:59 +01:00
parent b8e29b77bc
commit b3f8ddf67d

View File

@@ -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