diff --git a/frontend/ui/networkmgr.lua b/frontend/ui/networkmgr.lua index 28dceeadc..81f4d578e 100644 --- a/frontend/ui/networkmgr.lua +++ b/frontend/ui/networkmgr.lua @@ -82,7 +82,7 @@ end function NetworkMgr:getWifiStatus() local socket = require("socket") - return socket.dns.toip("www.google.com") ~= nil + return socket.dns.toip("www.example.com") ~= nil end function NetworkMgr:setHTTPProxy(proxy) diff --git a/frontend/ui/otamanager.lua b/frontend/ui/otamanager.lua index d8874e270..f8752e30f 100644 --- a/frontend/ui/otamanager.lua +++ b/frontend/ui/otamanager.lua @@ -121,8 +121,9 @@ function OTAManager:fetchAndProcessUpdate() text = _("Your KOReader is up to date."), }) elseif ota_version == nil then + local channel = ota_channels[OTAManager:getOTAChannel()] UIManager:show(InfoMessage:new{ - text = _("OTA package is not available."), + text = T(_("OTA package is not available on %1 channel."), channel), }) elseif ota_version then UIManager:show(ConfirmBox:new{ @@ -212,7 +213,7 @@ function OTAManager:getOTAMenuTable() if NetworkMgr:getWifiStatus() == false then NetworkMgr:promptWifiOn() else - OTAManager.fetchAndProcessUpdate() + OTAManager:fetchAndProcessUpdate() end end }, diff --git a/platform/kindle/libkohelper.sh b/platform/kindle/libkohelper.sh index eb4cc383e..29cd035fd 100644 --- a/platform/kindle/libkohelper.sh +++ b/platform/kindle/libkohelper.sh @@ -22,6 +22,13 @@ case "${kmodel}" in EIPS_X_RES=16 EIPS_Y_RES=24 # Manually mesured, should be accurate. ;; + "13" | "54" | "2A" | "4F" | "52" | "53" ) + # Kindle Voyage + SCREEN_X_RES=1072 + SCREEN_Y_RES=1448 + EIPS_X_RES=16 + EIPS_Y_RES=24 # Manually mesured, should be accurate. + ;; * ) # Handle legacy devices... if [ -f "/etc/rc.d/functions" ] && grep "EIPS" "/etc/rc.d/functions" > /dev/null 2>&1 ; then