Skip to content

Commit

Permalink
Fix for bug #1404526 using the template I found in gui2.library.model…
Browse files Browse the repository at this point in the history
…s.py: ngettext("Series", 'Series', 1). Note that the same problem existed in the match_books dialog.
  • Loading branch information
cbhaley committed Dec 20, 2014
1 parent 148c26b commit e97557a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/calibre/gui2/dialogs/match_books.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self, gui, view, id_, row_index):
self.books_table.setHorizontalHeaderItem(0, t)
t = QTableWidgetItem(_('Authors'))
self.books_table.setHorizontalHeaderItem(1, t)
t = QTableWidgetItem(_('Series'))
t = QTableWidgetItem(ngettext("Series", 'Series', 1))
self.books_table.setHorizontalHeaderItem(2, t)
self.books_table_header_height = self.books_table.height()
self.books_table.cellDoubleClicked.connect(self.book_doubleclicked)
Expand Down
2 changes: 1 addition & 1 deletion src/calibre/gui2/dialogs/quickview.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(self, gui, view, row):
self.books_table.setHorizontalHeaderItem(self.title_column, t)
t = QTableWidgetItem(_('Authors'))
self.books_table.setHorizontalHeaderItem(self.author_column, t)
t = QTableWidgetItem(_('Series'))
t = QTableWidgetItem(ngettext("Series", 'Series', 1))
self.books_table.setHorizontalHeaderItem(self.series_column, t)
self.books_table_header_height = self.books_table.height()
self.books_table.cellDoubleClicked.connect(self.book_doubleclicked)
Expand Down

0 comments on commit e97557a

Please sign in to comment.