Capitalization: change a few mentions of calibre to lowercase

The author likes it that way. See http://calibre-ebook.com/about
pull/1141/head
Frans de Jonge 10 years ago
parent ff4e2f3458
commit e5029b54c1

@ -35,7 +35,7 @@ local CatalogCache = Cache:new{
local OPDSBrowser = Menu:extend{ local OPDSBrowser = Menu:extend{
opds_servers = {}, opds_servers = {},
calibre_name = _("Local Calibre catalog"), calibre_name = _("Local calibre catalog"),
catalog_type = "application/atom%+xml", catalog_type = "application/atom%+xml",
search_type = "application/opensearchdescription%+xml", search_type = "application/opensearchdescription%+xml",

@ -114,9 +114,9 @@ function CalibreCompanion:initCalibreMQ(host, port)
self.calibre_socket:start() self.calibre_socket:start()
self.calibre_messagequeue = UIManager:insertZMQ(self.calibre_socket) self.calibre_messagequeue = UIManager:insertZMQ(self.calibre_socket)
end end
DEBUG("connected to Calibre", host, port) DEBUG("connected to calibre", host, port)
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = _("Connected to Calibre server at ") .. host .. ":" .. port, text = _("Connected to calibre server at ") .. host .. ":" .. port,
timeout = 1, timeout = 1,
}) })
end end
@ -147,14 +147,14 @@ function CalibreCompanion:connect()
else else
DEBUG("cannot connect to calibre") DEBUG("cannot connect to calibre")
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = _("Cannot connect to Calibre."), text = _("Cannot connect to calibre."),
}) })
return return
end end
end end
function CalibreCompanion:disconnect() function CalibreCompanion:disconnect()
DEBUG("disconnect from Calibre") DEBUG("disconnect from calibre")
self.calibre_socket:stop() self.calibre_socket:stop()
UIManager:removeZMQ(self.calibre_messagequeue) UIManager:removeZMQ(self.calibre_messagequeue)
self.calibre_socket = nil self.calibre_socket = nil

Loading…
Cancel
Save