Skip to content

Commit

Permalink
OTAManager: Slightly less cryptic error on connectivity issues
Browse files Browse the repository at this point in the history
(On either end).

Re: koreader#11258
  • Loading branch information
NiLuJe committed Jan 12, 2024
1 parent 1e8747a commit da0851d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/ui/otamanager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,8 @@ function OTAManager:fetchAndProcessUpdate()
text = T(_("Device no longer supported.\n\nPlease check %1"), "https://github.com/koreader/koreader/wiki/deprecated-devices")
})
elseif ota_version == nil then
local channel = ota_channels[OTAManager:getOTAChannel()]
UIManager:show(InfoMessage:new{
text = T(_("Update information not available on %1 channel."), channel),
text = _("Unable to contact OTA server. Try again later, or try another mirror."),
})
elseif ota_version then
local update_message = T(_("Do you want to update?\nInstalled version: %1\nAvailable version: %2"),
Expand Down

0 comments on commit da0851d

Please sign in to comment.