mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
i18n downgrade&quit button
This commit is contained in:
parent
39ae5936fc
commit
bfbab8b498
3 changed files with 5 additions and 1 deletions
|
@ -232,6 +232,7 @@ class AnkiQt(QMainWindow):
|
|||
qconnect(f.profiles.currentRowChanged, self.onProfileRowChange)
|
||||
f.statusbar.setVisible(False)
|
||||
qconnect(f.downgrade_button.clicked, self._on_downgrade)
|
||||
f.downgrade_button.setText(tr(TR.PROFILES_DOWNGRADE_AND_QUIT))
|
||||
# enter key opens profile
|
||||
QShortcut(QKeySequence("Return"), d, activated=self.onOpenProfile) # type: ignore
|
||||
self.refreshProfilesList()
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<item>
|
||||
<widget class="QPushButton" name="downgrade_button">
|
||||
<property name="text">
|
||||
<string notr="true">Downgrade && Quit</string>
|
||||
<string notr="true">DOWNGRADE</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -4,3 +4,6 @@ profiles-folder-readme =
|
|||
please see:
|
||||
|
||||
{$link}
|
||||
|
||||
# will appear as 'Downgrade & Quit'
|
||||
profiles-downgrade-and-quit = Downgrade && Quit
|
||||
|
|
Loading…
Reference in a new issue