mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
ReaderFooter (lang): "Show toc markers" to "Show chapter markers"
I think it sounds more natural as chapter than as table of content, which is an implementation detail (i.e., the chapter markers are shown based on what's in the TOC). Also removed redundant "this" from "Remaining pages in this chapter"
This commit is contained in:
parent
3a75b6deab
commit
92b9139294
@ -310,11 +310,11 @@ end
|
|||||||
|
|
||||||
local option_titles = {
|
local option_titles = {
|
||||||
all_at_once = _("Show all at once"),
|
all_at_once = _("Show all at once"),
|
||||||
toc_markers = _("Show table of content markers"),
|
toc_markers = _("Show chapter markers"),
|
||||||
auto_refresh_time = _("Auto refresh time"),
|
auto_refresh_time = _("Auto refresh time"),
|
||||||
page_progress = _("Current page"),
|
page_progress = _("Current page"),
|
||||||
time = _("Current time"),
|
time = _("Current time"),
|
||||||
pages_left = _("Pages left in this chapter"),
|
pages_left = _("Pages left in chapter"),
|
||||||
battery = _("Battery status"),
|
battery = _("Battery status"),
|
||||||
percentage = _("Progress percentage"),
|
percentage = _("Progress percentage"),
|
||||||
book_time_to_read = _("Book time to read"),
|
book_time_to_read = _("Book time to read"),
|
||||||
|
@ -194,7 +194,7 @@ describe("Readerfooter module", function()
|
|||||||
assert.are.same('=> 1', footer.footer_text.text)
|
assert.are.same('=> 1', footer.footer_text.text)
|
||||||
|
|
||||||
-- disable page left, battery should follow
|
-- disable page left, battery should follow
|
||||||
tapFooterMenu(fake_menu, "Pages left in this chapter")
|
tapFooterMenu(fake_menu, "Pages left in chapter")
|
||||||
assert.are.same('B:0%', footer.footer_text.text)
|
assert.are.same('B:0%', footer.footer_text.text)
|
||||||
|
|
||||||
-- disable battery, percentage should follow
|
-- disable battery, percentage should follow
|
||||||
@ -495,7 +495,7 @@ describe("Readerfooter module", function()
|
|||||||
assert.are.same('1 / 2 | => 1', footer.footer_text.text)
|
assert.are.same('1 / 2 | => 1', footer.footer_text.text)
|
||||||
|
|
||||||
-- remove mode from footer text
|
-- remove mode from footer text
|
||||||
tapFooterMenu(fake_menu, "Pages left in this chapter")
|
tapFooterMenu(fake_menu, "Pages left in chapter")
|
||||||
assert.are.same('1 / 2', footer.footer_text.text)
|
assert.are.same('1 / 2', footer.footer_text.text)
|
||||||
|
|
||||||
-- add mode to footer text
|
-- add mode to footer text
|
||||||
|
Loading…
Reference in New Issue
Block a user