diff options
author | 0neGal <mail@0negal.com> | 2024-12-20 20:21:28 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-12-20 20:21:28 +0100 |
commit | 00d04db553eb53abb48f0b4e3649a6912fdc10df (patch) | |
tree | 9e4d4ac04b01010b4c2faa71543440114308be86 /src/lang | |
parent | 01da499a2cc510536aa7cfa38ffa96ba50adb540 (diff) | |
download | Viper-00d04db553eb53abb48f0b4e3649a6912fdc10df.tar.gz Viper-00d04db553eb53abb48f0b4e3649a6912fdc10df.zip |
added request.check_with_toasts() and use it
This makes it very simple to check if some endpoints are available, and
show a toast if not, with an error message saying exactly what isn't
available. Currently made use for updates with GitHub and installs with
Thunderstore.
Diffstat (limited to 'src/lang')
-rw-r--r-- | src/lang/en.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lang/en.json b/src/lang/en.json index 28e4ecb..9540ad2 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -267,6 +267,7 @@ "malformed": "Incorrect folder structure!", "unknown_error": "Unknown Error!", "no_internet": "No Internet", + "failed_to_connect": "Failed to connect", "failed_launch_command": "Failed running launch command", "missing_launch_command": "Missing launch command", "missing_steam": "Missing Steam", @@ -281,6 +282,7 @@ "duped": "has multiple mod folders in it, with the same name, causing duplicate folders, if you're the developer, you should fix this.", "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.", "no_internet": "Viper may not work properly.", + "failed_to_connect": "A connection could not be established to %s, check your internet, firewall or whether %s is currently down", "failed_launch_command": "Something went wrong whilst running the custom launch command", "missing_launch_command": "There's currently no custom launch command set, one has to be configured to launch", "missing_steam": "Can't launch with Steam directly, as it doesn't seem to be installed", |