Rename "Filtered Deck from Current Filter"

This commit is contained in:
RumovZ 2021-02-01 12:09:37 +01:00
parent 6b1d5f14e8
commit 0949cdc73e
3 changed files with 6 additions and 6 deletions

View File

@ -24,6 +24,7 @@ browsing-change-to = Change { $val } to:
browsing-clear-unused = Clear Unused
browsing-clear-unused-tags = Clear Unused Tags
browsing-created = Created
browsing-create-filtered-deck = Create Filtered Deck...
browsing-ctrlandshiftande = Ctrl+Shift+E
browsing-current-deck = Current Deck
browsing-current-note-type = Current note type:
@ -36,7 +37,6 @@ browsing-enter-tags-to-add = Enter tags to add:
browsing-enter-tags-to-delete = Enter tags to delete:
browsing-filter = Filter...
browsing-filtered = (filtered)
browsing-filter-to-deck = Current Filter to Filtered Deck...
browsing-find = <b>Find</b>:
browsing-find-and-replace = Find and Replace
browsing-find-duplicates = Find Duplicates

View File

@ -481,7 +481,7 @@ class Browser(QMainWindow):
qconnect(f.actionSelectNotes.triggered, self.selectNotes)
if not isMac:
f.actionClose.setVisible(False)
qconnect(f.actionFilterToDeck.triggered, self.filterToDeck)
qconnect(f.actionCreateFilteredDeck.triggered, self.createFilteredDeck)
# notes
qconnect(f.actionAdd.triggered, self.mw.onAddCard)
qconnect(f.actionAdd_Tags.triggered, lambda: self.addTags())
@ -1190,7 +1190,7 @@ where id in %s"""
if nids:
ChangeModel(self, nids)
def filterToDeck(self):
def createFilteredDeck(self):
search = self.form.searchEdit.lineEdit().text()
aqt.dialogs.open("DynDeckConfDialog", self.mw, search=search)

View File

@ -231,7 +231,7 @@
<addaction name="separator"/>
<addaction name="actionClose"/>
<addaction name="separator"/>
<addaction name="actionFilterToDeck"/>
<addaction name="actionCreateFilteredDeck"/>
</widget>
<widget class="QMenu" name="menuJump">
<property name="title">
@ -585,9 +585,9 @@
<string notr="true">Ctrl+Shift+E</string>
</property>
</action>
<action name="actionFilterToDeck">
<action name="actionCreateFilteredDeck">
<property name="text">
<string>BROWSING_FILTER_TO_DECK</string>
<string>BROWSING_CREATE_FILTERED_DECK</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+G</string>