Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReaderFooter (lang): "Show toc markers" to "Show chapter markers" #2735

Merged
merged 1 commit into from
Apr 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/apps/reader/modules/readerfooter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/readerfooter_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down