[chore] readertypeset: normalize string indentation

Same as <https://github.com/koreader/koreader/blob/ece884a368862841fa97b0c8acab429c05621132/frontend/ui/widget/configdialog.lua#L1015-L1019>.
This commit is contained in:
Frans de Jonge committed 2019-08-25 15:48:43 +02:00
1 parent 102180b202
commit f3c3989b7f
1 file changed
+5 -5
@@ -515,13 +515,13 @@ function ReaderTypeset:onSetPageMargins(margins, refresh_callback)
-- Show a toast on set, with the unscaled & scaled values
UIManager:show(InfoMessage:new{
text = T(_([[
Margins set to:
Margins set to:
horizontal: %1 (%2px)
top: %3 (%4px)
bottom: %5 (%6px)
horizontal: %1 (%2px)
top: %3 (%4px)
bottom: %5 (%6px)
Tap to dismiss.]]),
Tap to dismiss.]]),
margins[1], left, margins[2], top, margins[4], bottom),
dismiss_callback = refresh_callback,
})