self.label.setText(_('Match HTML &tags with tag name:'))
self.tag.setItemText(0, _('*'))
self.tag.setItemText(1, _('a'))
self.tag.setItemText(2, _('br'))
self.tag.setItemText(3, _('div'))
self.tag.setItemText(4, _('h1'))
self.tag.setItemText(5, _('h2'))
self.tag.setItemText(6, _('h3'))
self.tag.setItemText(7, _('h4'))
self.tag.setItemText(8, _('h5'))
self.tag.setItemText(9, _('h6'))
self.tag.setItemText(10, _('hr'))
self.tag.setItemText(11, _('span'))
self.label_2.setText(_('Having the &attribute:'))
self.label_3.setText(_('With &value:'))
self.label_4.setText(_('(A regular expression)'))
self.label_5.setText(_('<p>For example, to match all h2 tags that have class="chapter", set tag to <i>h2</i>, attribute to <i>class</i> and value to <i>chapter</i>.</p><p>Leaving attribute blank will match any attribute and leaving value blank will match any value. Setting tag to * will match any tag.</p><p>To learn more advanced usage of XPath see the <a href="http://calibre-ebook.com/user_manual/xpath.html">XPath Tutorial</a>.'))