* src/ViewManager.py: fix message
* src/Config/_GrampsConfigKeys.py: set default value * src/QuestionDialog.py: set value from config * data/gramps.schemas.in: fix default value svn: r7331
This commit is contained in:
@ -1054,22 +1054,21 @@ def check_for_portability_problems(filetype):
|
||||
# sys.version_info variable
|
||||
|
||||
version = (sys.version_info[0],sys.version_info[1])
|
||||
|
||||
if version < (2, 5) and Config.get(Config.PORT_WARN):
|
||||
if version < (2, 5) and not Config.get(Config.PORT_WARN):
|
||||
QuestionDialog.MessageHideDialog(
|
||||
_('Database is not portable'),
|
||||
_('Your system is running an old version of python. This '
|
||||
'prevents you from being able to copy your database to '
|
||||
'other machines. For most people, this is not a problem.\n\n'
|
||||
'If you need to transfer the database to another machine, '
|
||||
'export to GRAMPS Package, and import the GRAMPS Package '
|
||||
'export to a GRAMPS Package, and import the GRAMPS Package '
|
||||
'on the other machine.\n\nIf you feel you need to be able '
|
||||
'to transfer this file between machines without exporting, '
|
||||
'you need to either upgrade to version 2.5 of python, or '
|
||||
'disable transactions in the preferences menu. Disabling '
|
||||
'transactions will slow down your performance, and may allow '
|
||||
'your database to become corrupted if an error occurs while '
|
||||
'data is being saved'),
|
||||
'transactions will slow down your performance, and may '
|
||||
'allow your database to become corrupted if an error '
|
||||
'occurs while data is being saved'),
|
||||
Config.PORT_WARN)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user