forked from openlp/openlp
more string fixes
This commit is contained in:
parent
854149408f
commit
49a48c6463
@ -91,10 +91,9 @@ class FormattingTagForm(QtGui.QDialog, Ui_FormattingTagDialog, FormattingTagCont
|
|||||||
"""
|
"""
|
||||||
new_row = self.tag_table_widget.rowCount()
|
new_row = self.tag_table_widget.rowCount()
|
||||||
self.tag_table_widget.insertRow(new_row)
|
self.tag_table_widget.insertRow(new_row)
|
||||||
self.tag_table_widget.setItem(new_row, 0,
|
self.tag_table_widget.setItem(new_row, 0, QtGui.QTableWidgetItem(translate('OpenLP.FormattingTagForm',
|
||||||
QtGui.QTableWidgetItem(translate('OpenLP.FormattingTagForm', 'New Tag%s')
|
'New Tag %d' % new_row)))
|
||||||
% str(new_row)))
|
self.tag_table_widget.setItem(new_row, 1, QtGui.QTableWidgetItem('n%d' % new_row))
|
||||||
self.tag_table_widget.setItem(new_row, 1, QtGui.QTableWidgetItem('n%s' % str(new_row)))
|
|
||||||
self.tag_table_widget.setItem(new_row, 2,
|
self.tag_table_widget.setItem(new_row, 2,
|
||||||
QtGui.QTableWidgetItem(translate('OpenLP.FormattingTagForm', '<HTML here>')))
|
QtGui.QTableWidgetItem(translate('OpenLP.FormattingTagForm', '<HTML here>')))
|
||||||
self.tag_table_widget.setItem(new_row, 3, QtGui.QTableWidgetItem(''))
|
self.tag_table_widget.setItem(new_row, 3, QtGui.QTableWidgetItem(''))
|
||||||
|
@ -149,7 +149,7 @@ class CSVBible(BibleDB):
|
|||||||
book_ptr = book.name
|
book_ptr = book.name
|
||||||
self.wizard.increment_progress_bar(
|
self.wizard.increment_progress_bar(
|
||||||
translate('BiblesPlugin.CSVBible',
|
translate('BiblesPlugin.CSVBible',
|
||||||
'Importing verses from %s... Importing verses from <book name>...') % book.name)
|
'Importing verses from %s...' % book.name, 'Importing verses from <book name>...'))
|
||||||
self.session.commit()
|
self.session.commit()
|
||||||
try:
|
try:
|
||||||
verse_text = str(line[3], details['encoding'])
|
verse_text = str(line[3], details['encoding'])
|
||||||
|
Loading…
Reference in New Issue
Block a user