Merge pull request #2233 from Frenzie/master

kosync: improve a couple of strings
pull/2243/head
Qingping Hou 8 years ago committed by GitHub
commit 95b571a4c7

@ -278,7 +278,7 @@ end
local function promptLogin() local function promptLogin()
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = _("Please register / login before using progress synchronization feature."), text = _("Please register or login before using the progress synchronization feature."),
timeout = 3, timeout = 3,
}) })
end end
@ -356,7 +356,7 @@ function KOSync:getProgress(manual)
DEBUG("current progress", percentage) DEBUG("current progress", percentage)
if body.percentage > percentage and body.progress ~= progress then if body.percentage > percentage and body.progress ~= progress then
UIManager:show(ConfirmBox:new{ UIManager:show(ConfirmBox:new{
text = T(_("Sync to furthest location %1% from device '%2'?"), text = T(_("Sync to furthest location read (%1%) from device '%2'?"),
Math.round(body.percentage*100), body.device), Math.round(body.percentage*100), body.device),
ok_callback = function() ok_callback = function()
self:syncToProgress(body.progress) self:syncToProgress(body.progress)

Loading…
Cancel
Save