228
228
:param first_time_wizard: The wizard form
230
230
first_time_wizard.setWindowTitle(translate('OpenLP.FirstTimeWizard', 'First Time Wizard'))
231
first_time_wizard.title_label.setText('<span style="font-size:14pt; font-weight:600;">%s</span>' %
232
translate('OpenLP.FirstTimeWizard', 'Welcome to the First Time Wizard'))
231
text = translate('OpenLP.FirstTimeWizard', 'Welcome to the First Time Wizard')
232
first_time_wizard.title_label.setText('<span style="font-size:14pt; font-weight:600;">{text}'
233
'</span>'.format(text=text))
234
button = clean_button_text(first_time_wizard.buttonText(QtWidgets.QWizard.NextButton))
233
235
first_time_wizard.information_label.setText(
234
236
translate('OpenLP.FirstTimeWizard', 'This wizard will help you to configure OpenLP for initial use. '
235
'Click the %s button below to start.') %
236
clean_button_text(first_time_wizard.buttonText(QtWidgets.QWizard.NextButton)))
237
'Click the {button} button below to start.').format(button=button))
237
238
self.download_page.setTitle(translate('OpenLP.FirstTimeWizard', 'Downloading Resource Index'))
238
239
self.download_page.setSubTitle(translate('OpenLP.FirstTimeWizard', 'Please wait while the resource index is '
264
265
self.no_internet_page.setTitle(translate('OpenLP.FirstTimeWizard', 'No Internet Connection'))
265
266
self.no_internet_page.setSubTitle(
266
267
translate('OpenLP.FirstTimeWizard', 'Unable to detect an Internet connection.'))
268
button = clean_button_text(first_time_wizard.buttonText(QtWidgets.QWizard.FinishButton))
267
269
self.no_internet_text = translate('OpenLP.FirstTimeWizard',
268
270
'No Internet connection was found. The First Time Wizard needs an Internet '
269
271
'connection in order to be able to download sample songs, Bibles and themes.'
270
' Click the %s button now to start OpenLP with initial settings and '
272
' Click the {button} button now to start OpenLP with initial settings and '
271
273
'no sample data.\n\nTo re-run the First Time Wizard and import this sample '
272
274
'data at a later time, check your Internet connection and re-run this '
273
'wizard by selecting "Tools/Re-run First Time Wizard" from OpenLP.') % \
274
clean_button_text(first_time_wizard.buttonText(QtWidgets.QWizard.FinishButton))
275
'wizard by selecting "Tools/Re-run First Time Wizard" from OpenLP.'
276
).format(button=button)
277
button = clean_button_text(first_time_wizard.buttonText(QtWidgets.QWizard.CancelButton))
275
278
self.cancel_wizard_text = translate('OpenLP.FirstTimeWizard',
276
279
'\n\nTo cancel the First Time Wizard completely (and not start OpenLP), '
277
'click the %s button now.') % \
278
clean_button_text(first_time_wizard.buttonText(QtWidgets.QWizard.CancelButton))
280
'click the {button} button now.').format(button=button)
279
281
self.songs_page.setTitle(translate('OpenLP.FirstTimeWizard', 'Sample Songs'))
280
282
self.songs_page.setSubTitle(translate('OpenLP.FirstTimeWizard', 'Select and download public domain songs.'))
281
283
self.bibles_page.setTitle(translate('OpenLP.FirstTimeWizard', 'Sample Bibles'))