mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
minor: rename Koreader to KOReader
This commit is contained in:
@@ -10,7 +10,7 @@ local dummy = require("ffi/zeromq_h")
|
||||
|
||||
--[[
|
||||
This plugin implements a simple Calibre Companion protocol that communicates
|
||||
with Calibre Wireless Server from which users can send documents to Koreader
|
||||
with Calibre Wireless Server from which users can send documents to KOReader
|
||||
devices directly with WIFI connection.
|
||||
|
||||
Note that Calibre Companion(CC) is a trade mark held by MultiPie Ltd. The
|
||||
@@ -243,16 +243,16 @@ function CalibreCompanion:getInitInfo(arg)
|
||||
passwordHash = "",
|
||||
canReceiveBookBinary = true,
|
||||
maxBookContentPacketLen = 4096,
|
||||
appName = "Koreader Calibre plugin",
|
||||
appName = "KOReader Calibre plugin",
|
||||
ccVersionNumber = 106,
|
||||
deviceName = "Koreader",
|
||||
deviceName = "KOReader",
|
||||
canStreamBooks = true,
|
||||
versionOK = true,
|
||||
canDeleteMultipleBooks = true,
|
||||
canSendOkToSendbook = true,
|
||||
coverHeight = 240,
|
||||
cacheUsesLpaths = true,
|
||||
deviceKind = "Koreader",
|
||||
deviceKind = "KOReader",
|
||||
}
|
||||
self:sendJsonData('OK', init_info)
|
||||
end
|
||||
@@ -262,10 +262,10 @@ function CalibreCompanion:getDeviceInfo(arg)
|
||||
local device_info = {
|
||||
device_info = {
|
||||
device_store_uuid = G_reader_settings:readSetting("device_store_uuid"),
|
||||
device_name = "Koreader Calibre Companion",
|
||||
device_name = "KOReader Calibre Companion",
|
||||
},
|
||||
version = 106,
|
||||
device_version = "koreader",
|
||||
device_version = "KOReader",
|
||||
}
|
||||
self:sendJsonData('OK', device_info)
|
||||
end
|
||||
|
||||
@@ -98,7 +98,7 @@ local extensions = {
|
||||
[".doc"] = true,
|
||||
}
|
||||
|
||||
-- remove file extensions added by former Koreader
|
||||
-- remove file extensions added by former KOReader
|
||||
-- extract author name in "Title(Author)" format
|
||||
-- extract author name in "Title - Author" format
|
||||
function MyClipping:getTitle(line)
|
||||
|
||||
@@ -22,7 +22,7 @@ local l10n = {
|
||||
|
||||
local KOSync = InputContainer:new{
|
||||
name = "kosync",
|
||||
title = _("Register/login to Koreader server"),
|
||||
title = _("Register/login to KOReader server"),
|
||||
}
|
||||
|
||||
function KOSync:init()
|
||||
@@ -177,7 +177,7 @@ function KOSync:doRegister(username, password)
|
||||
self.kosync_username = username
|
||||
self.kosync_userkey = userkey
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("Registered to Koreader server successfully."),
|
||||
text = _("Registered to KOReader server successfully."),
|
||||
})
|
||||
else
|
||||
UIManager:show(InfoMessage:new{
|
||||
@@ -207,7 +207,7 @@ function KOSync:doLogin(username, password)
|
||||
self.kosync_username = username
|
||||
self.kosync_userkey = userkey
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("Logged in to Koreader server successfully."),
|
||||
text = _("Logged in to KOReader server successfully."),
|
||||
})
|
||||
else
|
||||
UIManager:show(InfoMessage:new{
|
||||
|
||||
Reference in New Issue
Block a user