mirror of
https://github.com/ankitects/anki.git
synced 2025-12-12 22:36: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-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-please-use-fileimport-to-import-this = Please use File>Import to import this file.
|
||||||
qt-misc-processing = Processing...
|
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
|
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
|
# 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"
|
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
|
## deprecated- these strings will be removed in the future, and do not need
|
||||||
## to be translated
|
## 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:
|
def do_open(path: str) -> None:
|
||||||
if not askUser(
|
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)
|
os.path.basename(path)
|
||||||
),
|
),
|
||||||
msgfunc=QMessageBox.warning,
|
msgfunc=QMessageBox.warning,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue