diff options
author | 0neGal <mail@0negal.com> | 2022-11-23 00:49:58 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-11-23 00:49:58 +0100 |
commit | a12c73e95f7de4167d4e20f77d5e942f1e12d179 (patch) | |
tree | f00e9b4b70617506c911840d258dbdfc7b286851 /src/lang | |
parent | acce3855ab1f99d5e1245696df0123240f7b9034 (diff) | |
download | Viper-a12c73e95f7de4167d4e20f77d5e942f1e12d179.tar.gz Viper-a12c73e95f7de4167d4e20f77d5e942f1e12d179.zip |
actually fix duplicate mods
If a mod has multiple mod folders inside it, however all with the same
name, they'll be merged together, this now fixes that, by adding
"(dupe)" to the end of it, along with displaying an error, however it
will install successfully.
This also happens to add some duplicate toast protection, however this
should be reworked, but I am not bothered to deal with it right now, and
I instead will be putting this on future me.
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 51093fa..aadcee0 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -133,11 +133,13 @@ "gui.gamepath.lost": "Gamepath no longer exists/can't be found!\n\nMake sure your drive is mounted properly, or if you moved your game location that you update the game path.\n\nViper may not work properly until next restart!", "gui.toast.title.installed": "Mod installed!", + "gui.toast.title.duped": "Duplicate folder names!", "gui.toast.title.failed": "Failed to install", "gui.toast.title.malformed": "Incorrect folder structure!", "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.noInternet.title": "No Internet", "gui.toast.noInternet.desc": "Viper may not work properly.", |