aboutsummaryrefslogtreecommitdiff
path: root/src/lang
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-11-23 01:18:36 +0100
committer0neGal <mail@0negal.com>2022-11-23 01:18:36 +0100
commit47d62df1a205789574bd3c8e06af0fdc07322306 (patch)
treea182ebf001e3eb6ba7bb155cba5393f94d7835e4 /src/lang
parenta12c73e95f7de4167d4e20f77d5e942f1e12d179 (diff)
downloadViper-47d62df1a205789574bd3c8e06af0fdc07322306.tar.gz
Viper-47d62df1a205789574bd3c8e06af0fdc07322306.zip
added more user friendly error message
When JavaScript errors occur outside of the renderer, they'll no longer display a big and confusingly detailed error stack, now they'll simply be shown a toast about the fact that an error happened. The user can then click this to get more details, but still without it being as invasive and obtuse as before.
Diffstat (limited to 'src/lang')
-rw-r--r--src/lang/en.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lang/en.json b/src/lang/en.json
index aadcee0..4ba077a 100644
--- a/src/lang/en.json
+++ b/src/lang/en.json
@@ -136,10 +136,12 @@
"gui.toast.title.duped": "Duplicate folder names!",
"gui.toast.title.failed": "Failed to install",
"gui.toast.title.malformed": "Incorrect folder structure!",
+ "gui.toast.title.unknown_error": "Unknown Error!",
"gui.toast.desc.installed": "has been installed successfully!",
"gui.toast.desc.malformed": "has an incorrect folder structure, if you're the developer, you should fix this.",
"gui.toast.desc.failed": "An unknown error occurred while trying to install the mod. This may be the author's fault, and it may also be Viper's fault.",
"gui.toast.desc.duped": "has multiple mod folders in it, with the same name, causing duplicate folders, if you're the developer, you should fix this.",
+ "gui.toast.desc.unknown_error": "An unknown error occurred, click for more details. You may want to take a screenshot of the detailed error when filing a bug report.",
"gui.toast.noInternet.title": "No Internet",
"gui.toast.noInternet.desc": "Viper may not work properly.",