mirror of
https://github.com/koreader/koreader.git
synced 2025-12-18 12:02:09 +01:00
chore: style cleanup for infomessage
This commit is contained in:
committed by
Frans de Jonge
parent
0b47c81b1a
commit
23c2955500
@@ -27,7 +27,7 @@ function DropBox:downloadFile(item, password, path, close)
|
||||
})
|
||||
else
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("Could not save file to:\n") .. path,
|
||||
text = T(_("Could not save file to:\n%1"), path),
|
||||
timeout = 3,
|
||||
})
|
||||
end
|
||||
@@ -81,7 +81,7 @@ function DropBox:config(item, callback)
|
||||
{
|
||||
text = _("Info"),
|
||||
callback = function()
|
||||
UIManager:show(InfoMessage:new{text = text_info })
|
||||
UIManager:show(InfoMessage:new{ text = text_info })
|
||||
end
|
||||
},
|
||||
{
|
||||
@@ -99,7 +99,9 @@ function DropBox:config(item, callback)
|
||||
self.settings_dialog:onClose()
|
||||
UIManager:close(self.settings_dialog)
|
||||
else
|
||||
UIManager:show(InfoMessage:new{text = "Please fill in all fields." })
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("Please fill in all fields.")
|
||||
})
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user