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()
|
ret = self.deck.fixIntegrity()
|
||||||
if ret == "ok":
|
if ret == "ok":
|
||||||
ret = _("""\
|
ret = _("""\
|
||||||
No problems found. Some data structures have been rebuilt in case
|
No problems found. Some data structures have been rebuilt in case<br>
|
||||||
they were causing problems. On the next sync, all cards will be
|
they were causing problems.<p>
|
||||||
sent to the server.""")
|
<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)
|
ui.utils.showInfo(ret)
|
||||||
ret = True
|
ret = True
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -460,12 +460,11 @@
|
||||||
<property name="title" >
|
<property name="title" >
|
||||||
<string>&Advanced</string>
|
<string>&Advanced</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionMergeModels" />
|
|
||||||
<addaction name="separator" />
|
|
||||||
<addaction name="actionCheckMediaDatabase" />
|
|
||||||
<addaction name="separator" />
|
|
||||||
<addaction name="actionCheckDatabaseIntegrity" />
|
<addaction name="actionCheckDatabaseIntegrity" />
|
||||||
|
<addaction name="actionCheckMediaDatabase" />
|
||||||
<addaction name="actionOptimizeDatabase" />
|
<addaction name="actionOptimizeDatabase" />
|
||||||
|
<addaction name="separator" />
|
||||||
|
<addaction name="actionMergeModels" />
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuPlugins" >
|
<widget class="QMenu" name="menuPlugins" >
|
||||||
<property name="title" >
|
<property name="title" >
|
||||||
|
@ -911,7 +910,7 @@
|
||||||
<normaloff>:/icons/sqlitebrowser.png</normaloff>:/icons/sqlitebrowser.png</iconset>
|
<normaloff>:/icons/sqlitebrowser.png</normaloff>:/icons/sqlitebrowser.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Check Database Integrity</string>
|
<string>Check Database..</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionOptimizeDatabase" >
|
<action name="actionOptimizeDatabase" >
|
||||||
|
|
Loading…
Reference in a new issue