Skip to content

Commit 0a101be

Browse files
authored
Merge pull request #883 from danielhjames/BK-2486
BK-2486 Change the button label and tooltip to match behaviour
2 parents b727dc8 + 9214584 commit 0a101be

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

lib/booktype/apps/edit/templates/edit/book_edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<div id="left-tabpane" class="tabpane left-tabpane">
5959
<section class="tab-content" source_id="chapters-tab">
6060
<h3>{% trans "Chapters" %}</h3>
61-
<button href="#" role="button" class="btn btn-default btn-xs" id="" rel="tooltip" title="" data-placement="bottom" data-original-title="{% trans "EXPAND TOC" %}">{% trans "EXPAND TOC" %}</button>
61+
<button href="#" role="button" class="btn btn-default btn-xs" id="" rel="tooltip" title="" data-placement="bottom" data-original-title="{% trans "Leave this chapter and return to the Table of Contents" %}">{% trans "Table of Contents" %}</button>
6262
<div class="scrollable">
6363
<ul class="edit-toc">
6464
</ul>

lib/booktype/locale/en/LC_MESSAGES/django.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Booktype 2.4\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2018-05-09 10:15+0100\n"
10+
"POT-Creation-Date: 2018-05-09 13:12+0100\n"
1111
"PO-Revision-Date: 2015-05-15 11:52+0100\n"
1212
"Last-Translator: Daniel James <daniel.james@sourcefabric.org>\n"
1313
"Language-Team: Sourcefabric Localization <contact@sourcefabric.org>\n"
@@ -1962,7 +1962,13 @@ msgid "Chapters"
19621962
msgstr ""
19631963

19641964
#: lib/booktype/apps/edit/templates/edit/book_edit.html:61
1965-
msgid "EXPAND TOC"
1965+
msgid "Leave this chapter and return to the Table of Contents"
1966+
msgstr ""
1967+
1968+
#: lib/booktype/apps/edit/templates/edit/book_edit.html:61
1969+
#: lib/booktype/apps/edit/templates/edit/panel_toc.html:230
1970+
#: lib/booktype/apps/reader/templates/reader/book_draft_page.html:22
1971+
msgid "Table of Contents"
19661972
msgstr ""
19671973

19681974
#: lib/booktype/apps/edit/templates/edit/book_edit.html:69
@@ -3747,11 +3753,6 @@ msgstr ""
37473753
msgid "Locked exclusively"
37483754
msgstr ""
37493755

3750-
#: lib/booktype/apps/edit/templates/edit/panel_toc.html:230
3751-
#: lib/booktype/apps/reader/templates/reader/book_draft_page.html:22
3752-
msgid "Table of Contents"
3753-
msgstr ""
3754-
37553756
#: lib/booktype/apps/edit/templates/edit/panel_toc.html:233
37563757
msgid "Detail View"
37573758
msgstr ""

0 commit comments

Comments
 (0)