This commit is contained in:
Kovid Goyal 2017-07-09 21:43:40 +05:30
commit 745dd7b3f9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -84,7 +84,7 @@ def create_adv_tab(self):
self.tab_widget.addTab(w, _("A&dvanced search"))
w.g1 = QGroupBox(_("Find entries that have..."), w)
w.g2 = QGroupBox(("But don't show entries that have..."), w)
w.g2 = QGroupBox(_("But don't show entries that have..."), w)
w.l = l = QVBoxLayout(w)
l.addWidget(w.g1), l.addWidget(w.g2), l.addStretch(10)
@ -106,7 +106,7 @@ def create_adv_tab(self):
def create_simple_tab(self, db):
self.simple_tab = w = QWidget(self.tab_widget)
self.tab_widget.addTab(w, ("Titl&e/author/series..."))
self.tab_widget.addTab(w, _("Titl&e/author/series..."))
w.l = l = QFormLayout(w)
l.setFieldGrowthPolicy(l.AllNonFixedFieldsGrow)
@ -155,7 +155,7 @@ def create_simple_tab(self, db):
def create_date_tab(self, db):
self.date_tab = w = QWidget(self.tab_widget)
self.tab_widget.addTab(w, ("&Date searches"))
self.tab_widget.addTab(w, _("&Date searches"))
w.l = l = QVBoxLayout(w)
def a(w):