mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
parent
bbd7d057d8
commit
b877026248
2 changed files with 4 additions and 6 deletions
|
@ -72,7 +72,6 @@ browsing-note = Note
|
|||
browsing-note-initial = N
|
||||
browsing-notes-tagged = Notes tagged.
|
||||
browsing-nothing = Nothing
|
||||
browsing-only-new-cards-can-be-repositioned = Only new cards can be repositioned.
|
||||
browsing-optional-filter = Optional filter:
|
||||
browsing-override-back-template = Override back template:
|
||||
browsing-override-font = Override font:
|
||||
|
@ -175,3 +174,7 @@ browsing-reparented-decks =
|
|||
[one] Renamed { $count } deck.
|
||||
*[other] Renamed { $count } decks.
|
||||
}
|
||||
|
||||
## obsolete; no need to translate
|
||||
|
||||
browsing-only-new-cards-can-be-repositioned = Only new cards can be repositioned.
|
||||
|
|
|
@ -52,7 +52,6 @@ from aqt.utils import (
|
|||
saveGeom,
|
||||
saveSplitter,
|
||||
saveState,
|
||||
showInfo,
|
||||
showWarning,
|
||||
skip_if_selection_is_empty,
|
||||
tr,
|
||||
|
@ -753,10 +752,6 @@ class Browser(QMainWindow):
|
|||
@skip_if_selection_is_empty
|
||||
@ensure_editor_saved
|
||||
def reposition(self) -> None:
|
||||
if self.card and self.card.queue != QUEUE_TYPE_NEW:
|
||||
showInfo(tr.browsing_only_new_cards_can_be_repositioned(), parent=self)
|
||||
return
|
||||
|
||||
if op := reposition_new_cards_dialog(
|
||||
parent=self, card_ids=self.selected_cards()
|
||||
):
|
||||
|
|
Loading…
Reference in a new issue