mirror of
https://github.com/ankitects/anki.git
synced 2025-12-11 05:46:55 -05:00
Backup warning needs a new string
We need a new key, as we've introduced a variable. Missed this in the PR review.
This commit is contained in:
parent
cf2652f233
commit
7fb261c90b
2 changed files with 3 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ qt-misc-please-select-1-card = (please select 1 card)
|
|||
qt-misc-please-select-a-deck = Please select a deck.
|
||||
qt-misc-please-use-fileimport-to-import-this = Please use File>Import to import this file.
|
||||
qt-misc-processing = Processing...
|
||||
qt-misc-replace-your-collection-with-an-earlier = Replace your collection with an earlier backup from { $val }?
|
||||
qt-misc-replace-your-collection-with-an-earlier2 = Replace your collection with an earlier backup from { $val }?
|
||||
qt-misc-revert-to-backup = Revert to backup
|
||||
# please do not change the quote character, and please only change the font name if you have confirmed the new name is a valid Windows font
|
||||
qt-misc-segoe-ui = "Segoe UI"
|
||||
|
|
@ -77,3 +77,4 @@ qt-misc-layout-horizontal-enabled = Horizontal layout enabled
|
|||
## deprecated- these strings will be removed in the future, and do not need
|
||||
## to be translated
|
||||
|
||||
qt-misc-replace-your-collection-with-an-earlier = Replace your collection with an earlier backup?
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@ class AnkiQt(QMainWindow):
|
|||
|
||||
def do_open(path: str) -> None:
|
||||
if not askUser(
|
||||
tr.qt_misc_replace_your_collection_with_an_earlier(
|
||||
tr.qt_misc_replace_your_collection_with_an_earlier2(
|
||||
os.path.basename(path)
|
||||
),
|
||||
msgfunc=QMessageBox.warning,
|
||||
|
|
|
|||
Loading…
Reference in a new issue