2
0
mirror of https://github.com/koreader/koreader synced 2024-11-11 19:11:14 +00:00

[chore] readertypeset: normalize string indentation

Same as <ece884a368/frontend/ui/widget/configdialog.lua (L1015-L1019)>.
This commit is contained in:
Frans de Jonge 2019-08-25 15:38:15 +02:00
parent 102180b202
commit f3c3989b7f

View File

@ -515,13 +515,13 @@ function ReaderTypeset:onSetPageMargins(margins, refresh_callback)
-- Show a toast on set, with the unscaled & scaled values -- Show a toast on set, with the unscaled & scaled values
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = T(_([[ text = T(_([[
Margins set to: Margins set to:
horizontal: %1 (%2px) horizontal: %1 (%2px)
top: %3 (%4px) top: %3 (%4px)
bottom: %5 (%6px) bottom: %5 (%6px)
Tap to dismiss.]]), Tap to dismiss.]]),
margins[1], left, margins[2], top, margins[4], bottom), margins[1], left, margins[2], top, margins[4], bottom),
dismiss_callback = refresh_callback, dismiss_callback = refresh_callback,
}) })