Rename setting "Save on quit" to "Save on project close"

See PR #615

This rename is being done to clarify that when a user enables "Save on
project close" then the project will be saved whenever the user
chooses to close the project or to quit Manuskript.

Note that the actual name of the setting saveOnQuit should also be
changed but instead has been marked as a future TODO because it
involves a change in the project file format.
This commit is contained in:
Curtis Gedak 2019-08-22 13:54:20 -06:00
parent f4c8108b28
commit 65fb184f60
3 changed files with 3 additions and 2 deletions

View file

@ -138,6 +138,7 @@ def save(filename=None, protocol=None):
"openIndexes": openIndexes,
"autoSave":autoSave,
"autoSaveDelay":autoSaveDelay,
# TODO: Settings Cleanup Task -- Rename saveOnQuit to saveOnProjectClose -- see PR #615
"saveOnQuit":saveOnQuit,
"autoSaveNoChanges":autoSaveNoChanges,
"autoSaveNoChangesDelay":autoSaveNoChangesDelay,

View file

@ -1854,7 +1854,7 @@ class Ui_Settings(object):
self.label.setText(_translate("Settings", "minutes."))
self.chkAutoSaveNoChanges.setText(_translate("Settings", "If no changes during"))
self.label_14.setText(_translate("Settings", "seconds."))
self.chkSaveOnQuit.setText(_translate("Settings", "Save on quit"))
self.chkSaveOnQuit.setText(_translate("Settings", "Save on project close"))
self.chkSaveToZip.setToolTip(_translate("Settings", "<html><head/><body><p>If you check this option, your project will be save as one single file. Easier to copy or backup, but does not allow collaborative editing, or versionning.<br/>If this is unchecked, your project will be save as a folder containing many small files.</p></body></html>"))
self.chkSaveToZip.setText(_translate("Settings", "Save to one single file"))
self.lblTitleGeneral_2.setText(_translate("Settings", "Revisions"))

View file

@ -407,7 +407,7 @@
</font>
</property>
<property name="text">
<string>Save on quit</string>
<string>Save on project close</string>
</property>
<property name="checked">
<bool>true</bool>