From 8d5c385c766781adb249460bf0c1ccd035841934 Mon Sep 17 00:00:00 2001 From: llama Date: Wed, 3 Sep 2025 04:54:17 +0800 Subject: [PATCH] use existing translation instead of adding new one (#4310) (#4316) Co-authored-by: Abdo --- ftl/core/adding.ftl | 5 ----- qt/aqt/addcards.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ftl/core/adding.ftl b/ftl/core/adding.ftl index a090576aa..e94333008 100644 --- a/ftl/core/adding.ftl +++ b/ftl/core/adding.ftl @@ -1,10 +1,5 @@ adding-add-shortcut-ctrlandenter = Add (shortcut: ctrl+enter) adding-added = Added -adding-added-cards = - Added { $count -> - [one] { $count } card - *[other] { $count } cards - } adding-discard-current-input = Discard current input? adding-keep-editing = Keep Editing adding-edit = Edit "{ $val }" diff --git a/qt/aqt/addcards.py b/qt/aqt/addcards.py index 68f5c4259..a27d86234 100644 --- a/qt/aqt/addcards.py +++ b/qt/aqt/addcards.py @@ -300,7 +300,7 @@ class AddCards(QMainWindow): self.addHistory(note) - tooltip(tr.adding_added_cards(count=changes.count), period=500) + tooltip(tr.importing_cards_added(count=changes.count), period=500) av_player.stop_and_clear_queue() self._load_new_note(sticky_fields_from=note) gui_hooks.add_cards_did_add_note(note)