Tweaked the wording of client side database check messages to make them more user friendly

This commit is contained in:
SimplifiedPrivacy 2026-07-14 20:58:23 -04:00
parent 54c5ef9bf4
commit 0e9d82d2bb

View file

@ -271,9 +271,10 @@ def get_custom_message(reason: str, compatability_dict: dict) -> str:
GUI's startup script in __main__
"""
if reason == "upgrade":
custom_error = "You just upgraded HydraVeil, so let's upgrade your database to handle the new data types."
custom_error = "You just upgraded HydraVeil, so let's upgrade your database to handle the new data types. This will NOT harm your existing profiles or browser sessions."
elif reason == "old_app":
custom_error = "You're using an old version of HydraVeil, with a newer version of the database. This means the older app would crash trying to handle the newer data."
custom_error = "Upgrade Time! You're using an old version of HydraVeil, with a newer version of the database. This means the older app would crash trying to handle the newer data. This will NOT harm your existing profiles or browser sessions."
else:
error_msg = compatability_dict.get("error", "Unknown reason.")
custom_error = f"There was an error with upgrading your database version. Please tell customer support: {error_msg}."