adjust wording

pull/2/merge
Qingping Hou 12 years ago
parent 4063195f93
commit 8d74649642

@ -394,7 +394,7 @@ function CREReader:adjustCreReaderCommands()
end
)
self.commands:add(KEY_B, MOD_ALT, "B",
"add book mark to current page",
"add bookmark to current page",
function(self)
ok = self:addBookmark(self.doc:getXPointer())
if not ok then

@ -51,7 +51,6 @@ function FileSearcher:readDir()
end
function FileSearcher:setPath(newPath)
InfoMessage:show("Reading filenames...",0)
self.path = newPath
self:readDir()
self.items = #self.files

@ -46,7 +46,7 @@ end
function sizeUtf8Text(x, width, face, text, kerning)
if text == nil then
debug("# sizeUtf8Text called without text");
debug("sizeUtf8Text called without text");
return
end
-- may still need more adaptive pen placement when kerning,
@ -78,7 +78,7 @@ end
function renderUtf8Text(buffer, x, y, face, text, kerning)
if text == nil then
debug("# renderUtf8Text called without text");
debug("renderUtf8Text called without text");
return 0
end
-- may still need more adaptive pen placement when kerning,

@ -1945,12 +1945,12 @@ function UniReader:addAllCommands()
unireader:showToc()
end)
self.commands:add(KEY_B,nil,"B",
"show book marks",
"show bookmarks",
function(unireader)
unireader:showBookMarks()
end)
self.commands:add(KEY_B,MOD_ALT,"B",
"add book mark to current page",
"add bookmark to current page",
function(unireader)
ok = unireader:addBookmark(self.pageno)
if not ok then

Loading…
Cancel
Save