Add profile name in profile deletion confirmation message (#2722)

* Add profile name in profile deletion confirmation message

* Update contributors

* leave old translation and add new one
This commit is contained in:
chandraiyengar 2023-10-12 04:34:52 +01:00 committed by GitHub
parent 73eab9280d
commit b35a11ffd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -144,6 +144,7 @@ Michael Eliachevitch <m.eliachevitch@posteo.de>
Carlo Quick <https://github.com/CarloQuick>
Dominique Martinet <asmadeus@codewreck.org>
Virinci
chandraiyengar <github.com/chandraiyengar>
********************

View file

@ -1,6 +1,7 @@
qt-misc-addon-will-be-installed-when-a = Add-on will be installed when a profile is opened.
qt-misc-addons = Add-ons
qt-misc-all-cards-notes-and-media-for = All cards, notes, and media for this profile will be deleted. Are you sure?
qt-misc-all-cards-notes-and-media-for2 = All cards, notes, and media for the profile "{ $name }" will be deleted. Are you sure?
qt-misc-anki-updatedanki-has-been-released = <h1>Anki Updated</h1>Anki { $val } has been released.<br><br>
qt-misc-automatic-syncing-and-backups-have-been = Automatic syncing and backups have been disabled while restoring. To enable them again, close the profile or restart Anki.
qt-misc-back-side-only = Back Side Only

View file

@ -411,7 +411,7 @@ class AnkiQt(QMainWindow):
return
# sure?
if not askUser(
tr.qt_misc_all_cards_notes_and_media_for(),
tr.qt_misc_all_cards_notes_and_media_for2(name=self.pm.name),
msgfunc=QMessageBox.warning,
defaultno=True,
):