use existing translation instead of adding new one (#4310) (#4316)

Co-authored-by: Abdo <abdo@abdnh.net>
This commit is contained in:
llama 2025-09-03 04:54:17 +08:00 committed by GitHub
parent 153b972dfd
commit 8d5c385c76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -1,10 +1,5 @@
adding-add-shortcut-ctrlandenter = Add (shortcut: ctrl+enter) adding-add-shortcut-ctrlandenter = Add (shortcut: ctrl+enter)
adding-added = Added adding-added = Added
adding-added-cards =
Added { $count ->
[one] { $count } card
*[other] { $count } cards
}
adding-discard-current-input = Discard current input? adding-discard-current-input = Discard current input?
adding-keep-editing = Keep Editing adding-keep-editing = Keep Editing
adding-edit = Edit "{ $val }" adding-edit = Edit "{ $val }"

View file

@ -300,7 +300,7 @@ class AddCards(QMainWindow):
self.addHistory(note) 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() av_player.stop_and_clear_queue()
self._load_new_note(sticky_fields_from=note) self._load_new_note(sticky_fields_from=note)
gui_hooks.add_cards_did_add_note(note) gui_hooks.add_cards_did_add_note(note)