[chore] Remove unnecessary indent on new line (#5391)

pull/5396/head
Robert 5 years ago committed by Frans de Jonge
parent b7d464ae4b
commit e315d8690d

@ -23,7 +23,7 @@ function DropBox:downloadFile(item, password, path, close)
})
else
UIManager:show(ConfirmBox:new{
text = T(_("File saved to:\n %1\nWould you like to read the downloaded book now?"),
text = T(_("File saved to:\n%1\nWould you like to read the downloaded book now?"),
path),
ok_callback = function()
close()
@ -50,7 +50,7 @@ function DropBox:config(item, callback)
"7. Under the 'Generated access token' section, then enter code in Dropbox token field."
local hint_top = _("Your Dropbox name")
local text_top = ""
local hint_bottom = _("Dropbox token\n\n\n\n ")
local hint_bottom = _("Dropbox token\n\n\n\n")
local text_bottom = ""
local title
local text_button_right = _("Add")

@ -32,7 +32,7 @@ function Ftp:downloadFile(item, address, user, pass, path, close)
})
else
UIManager:show(ConfirmBox:new{
text = T(_("File saved to:\n %1\nWould you like to read the downloaded book now?"),
text = T(_("File saved to:\n%1\nWould you like to read the downloaded book now?"),
path),
ok_callback = function()
close()

@ -25,7 +25,7 @@ function OPDSCatalog:init()
close_callback = function() return self:onClose() end,
file_downloaded_callback = function(downloaded_file)
UIManager:show(ConfirmBox:new{
text = T(_("File saved to:\n %1\nWould you like to read the downloaded book now?"),
text = T(_("File saved to:\n%1\nWould you like to read the downloaded book now?"),
downloaded_file),
ok_text = _("Read now"),
cancel_text = _("Read later"),

@ -87,7 +87,7 @@ function Screensaver:chooseFolder()
screensaver_dir = DataStorage:getDataDir() .. "/screenshots/"
end
self.choose_dialog = ButtonDialogTitle:new{
title = T(_("Current screensaver image directory:\n %1"), screensaver_dir),
title = T(_("Current screensaver image directory:\n%1"), screensaver_dir),
buttons = buttons
}
UIManager:show(self.choose_dialog)
@ -149,8 +149,8 @@ function Screensaver:chooseFile(document_cover)
if screensaver_image == nil then
screensaver_image = DataStorage:getDataDir() .. "/resources/koreader.png"
end
local title = document_cover and T(_("Current screensaver document cover:\n %1"), screensaver_document_cover)
or T(_("Current screensaver image:\n %1"), screensaver_image)
local title = document_cover and T(_("Current screensaver document cover:\n%1"), screensaver_document_cover)
or T(_("Current screensaver image:\n%1"), screensaver_image)
self.choose_dialog = ButtonDialogTitle:new{
title = title,
buttons = buttons

Loading…
Cancel
Save