mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2702 (Trivial Calibre Welcome Wizard wording discrepancy)
This commit is contained in:
parent
4739423f97
commit
8fff3d58c0
@ -318,8 +318,9 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
pm = QMenu()
|
pm = QMenu()
|
||||||
ap = self.action_preferences
|
ap = self.action_preferences
|
||||||
pm.addAction(ap.icon(), ap.text())
|
pm.addAction(ap.icon(), ap.text())
|
||||||
pm.addAction(self.preferences_action)
|
|
||||||
pm.addAction(_('Run welcome wizard'))
|
pm.addAction(_('Run welcome wizard'))
|
||||||
|
self.connect(pm.actions()[0], SIGNAL('triggered(bool)'),
|
||||||
|
self.do_config)
|
||||||
self.connect(pm.actions()[1], SIGNAL('triggered(bool)'),
|
self.connect(pm.actions()[1], SIGNAL('triggered(bool)'),
|
||||||
self.run_wizard)
|
self.run_wizard)
|
||||||
self.action_preferences.setMenu(pm)
|
self.action_preferences.setMenu(pm)
|
||||||
|
@ -482,6 +482,9 @@ class Wizard(QWizard):
|
|||||||
self.device_page = DevicePage()
|
self.device_page = DevicePage()
|
||||||
self.library_page = LibraryPage()
|
self.library_page = LibraryPage()
|
||||||
self.finish_page = FinishPage()
|
self.finish_page = FinishPage()
|
||||||
|
bt = self.buttonText(self.FinishButton)
|
||||||
|
t = unicode(self.finish_page.finish_text.text())
|
||||||
|
self.finish_page.finish_text.setText(t%bt)
|
||||||
self.kindle_page = KindlePage()
|
self.kindle_page = KindlePage()
|
||||||
self.stanza_page = StanzaPage()
|
self.stanza_page = StanzaPage()
|
||||||
self.setPage(self.library_page.ID, self.library_page)
|
self.setPage(self.library_page.ID, self.library_page)
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="finish_text">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><h2>Congratulations!</h2> You have succesfully setup calibre. Press the Finish button to apply your settings.</string>
|
<string><h2>Congratulations!</h2> You have successfully setup calibre. Press the %s button to apply your settings.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user