2
0
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:
Frans de Jonge 2017-04-07 23:07:35 +02:00 committed by Qingping Hou
parent 3a75b6deab
commit 92b9139294
2 changed files with 4 additions and 4 deletions

View File

@ -310,11 +310,11 @@ end
local option_titles = {
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"),
page_progress = _("Current page"),
time = _("Current time"),
pages_left = _("Pages left in this chapter"),
pages_left = _("Pages left in chapter"),
battery = _("Battery status"),
percentage = _("Progress percentage"),
book_time_to_read = _("Book time to read"),

View File

@ -194,7 +194,7 @@ describe("Readerfooter module", function()
assert.are.same('=> 1', footer.footer_text.text)
-- 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)
-- disable battery, percentage should follow
@ -495,7 +495,7 @@ describe("Readerfooter module", function()
assert.are.same('1 / 2 | => 1', footer.footer_text.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)
-- add mode to footer text