Apply suggestions from code review

reviewable/pr11678/r11
SomeGuy 4 weeks ago committed by GitHub
parent 280f23e1b8
commit 2a67ff4972
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -982,7 +982,7 @@ function ReaderFooter:textOptionTitles(option)
mem_usage = T(_("KOReader memory usage (%1)"), symbol_prefix[symbol].mem_usage),
wifi_status = T(_("Wi-Fi status (%1)"), symbol_prefix[symbol].wifi_status),
book_title = _("Book title"),
book_chapter = _("Current chapter"),
book_chapter = _("Chapter title"),
custom_text = T(_("Custom text (long press to edit): \'%1\'%2"), self.custom_text,
self.custom_text_repetitions > 1 and
string.format(" × %d", self.custom_text_repetitions) or ""),
@ -1963,7 +1963,7 @@ With this feature enabled, the current page is factored in, resulting in the cou
default_value = Device:hasAuxBattery() and 200 or 100,
unit = "%",
value_hold_step = 10,
title_text = _("Set minimum threshold to hide battery item"),
title_text = _("Minimum threshold to hide battery item"),
callback = function(spin)
self.settings.battery_hide_threshold = spin.value
self:refreshFooter(true, true)

Loading…
Cancel
Save