mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
improve warning message
This commit is contained in:
parent
8d7b8feaa1
commit
ca7f27ea93
2 changed files with 10 additions and 8 deletions
|
@ -1477,9 +1477,12 @@ class AnkiQt(QMainWindow):
|
|||
ret = self.deck.fixIntegrity()
|
||||
if ret == "ok":
|
||||
ret = _("""\
|
||||
No problems found. Some data structures have been rebuilt in case
|
||||
they were causing problems. On the next sync, all cards will be
|
||||
sent to the server.""")
|
||||
No problems found. Some data structures have been rebuilt in case<br>
|
||||
they were causing problems.<p>
|
||||
<b>On the next sync, all cards will be sent to the server.</b><br>
|
||||
If you have changes on the server and have not synced locally,<br>
|
||||
do not sync your deck. Restore your deck from an automatic<br>
|
||||
backup and then run this command again after syncing.""")
|
||||
ui.utils.showInfo(ret)
|
||||
ret = True
|
||||
else:
|
||||
|
|
|
@ -460,12 +460,11 @@
|
|||
<property name="title" >
|
||||
<string>&Advanced</string>
|
||||
</property>
|
||||
<addaction name="actionMergeModels" />
|
||||
<addaction name="separator" />
|
||||
<addaction name="actionCheckMediaDatabase" />
|
||||
<addaction name="separator" />
|
||||
<addaction name="actionCheckDatabaseIntegrity" />
|
||||
<addaction name="actionCheckMediaDatabase" />
|
||||
<addaction name="actionOptimizeDatabase" />
|
||||
<addaction name="separator" />
|
||||
<addaction name="actionMergeModels" />
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuPlugins" >
|
||||
<property name="title" >
|
||||
|
@ -911,7 +910,7 @@
|
|||
<normaloff>:/icons/sqlitebrowser.png</normaloff>:/icons/sqlitebrowser.png</iconset>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Check Database Integrity</string>
|
||||
<string>Check Database..</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionOptimizeDatabase" >
|
||||
|
|
Loading…
Reference in a new issue