From 693f3c40eed72f7c827b45c0d9e70697fc6cc34b Mon Sep 17 00:00:00 2001 From: Silarn Date: Tue, 8 May 2018 19:33:25 -0500 Subject: [PATCH] Better error message when archives can't be extracted --- src/installationmanager.cpp | 3 +- src/organizer_en.ts | 216 ++++++++++++++++++------------------ 2 files changed, 108 insertions(+), 111 deletions(-) diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp index 8cfe04cba..fead2bc4c 100644 --- a/src/installationmanager.cpp +++ b/src/installationmanager.cpp @@ -854,7 +854,8 @@ bool InstallationManager::install(const QString &fileName, } } - reportError(tr("None of the available installer plugins were able to handle that archive")); + reportError(tr("None of the available installer plugins were able to handle that archive.\n" + "This is likely due to a corrupted or incompatible download or unrecognized archive format.")); return false; } diff --git a/src/organizer_en.ts b/src/organizer_en.ts index 09c100cf7..0a604b277 100644 --- a/src/organizer_en.ts +++ b/src/organizer_en.ts @@ -645,251 +645,251 @@ p, li { white-space: pre-wrap; } - + Wrong Game - + The download link is for a mod for "%1" but this instance of MO has been set up for "%2". - - + + Already Started - + A download for this mod file has already been queued. - + There is already a download started for this file (mod: %1, file: %2). - - + + remove: invalid download index %1 - + failed to delete %1 - + failed to delete meta file for %1 - + restore: invalid download index: %1 - + cancel: invalid download index %1 - + pause: invalid download index %1 - + resume: invalid download index %1 - + resume (int): invalid download index %1 - + No known download urls. Sorry, this download can't be resumed. - + query: invalid download index %1 - + Please enter the nexus mod id - + Mod ID: - + Please select the source game code for %1 - + get pending: invalid download index %1 - + get path: invalid download index %1 - + Main - + Update - + Optional - + Old - + Misc - + Unknown - + display name: invalid download index %1 - + file name: invalid download index %1 - + file time: invalid download index %1 - + file size: invalid download index %1 - + progress: invalid download index %1 - + state: invalid download index %1 - + infocomplete: invalid download index %1 - - + + mod id: invalid download index %1 - + ishidden: invalid download index %1 - + file info: invalid download index %1 - + mark installed: invalid download index %1 - + mark uninstalled: invalid download index %1 - + Memory allocation error (in processing progress event). - + Memory allocation error (in processing downloaded data). - + Information updated - - + + No matching file found on Nexus! Maybe this file is no longer available or it was renamed? - + No file on Nexus matches the selected file by name. Please manually choose the correct one. - + No download server available. Please try again later. - + Failed to request file info from nexus: %1 - + Warning: Content type is: %1 - + Download header content length: %1 downloaded file size: %2 - + Download failed: %1 (%2) - + failed to re-open %1 @@ -1217,33 +1217,33 @@ p, li { white-space: pre-wrap; } - + Extracting files - + failed to create backup - + Mod Name - + Name - + Invalid name - + The name you entered is invalid, please enter a different one. @@ -1254,51 +1254,53 @@ p, li { white-space: pre-wrap; } - None of the available installer plugins were able to handle that archive + None of the available installer plugins were able to handle that archive. +This is likely due to a corrupted or incompatible download or unrecognized archive format. + None of the available installer plugins were able to handle that archive - + no error - + 7z.dll not found - + 7z.dll isn't valid - + archive not found - + failed to open archive - + unsupported archive type - + internal library error - + archive invalid - + unknown archive error @@ -3991,147 +3993,147 @@ p, li { white-space: pre-wrap; } - - + + Installation successful - - + + Configure Mod - - + + This mod contains ini tweaks. Do you want to configure them now? - - + + mod "%1" not found - - + + Installation cancelled - - + + The mod was not installed completely. - + Executable "%1" not found - + Start Steam? - + Steam is required to be running already to correctly start the game. Should MO try to start steam now? - + Error - + No profile set - + Failed to refresh list of esps: %1 - + Multiple esps/esls activated, please check that they don't conflict. - + Download? - + A download has been started but no installed page plugin recognizes it. If you download anyway no information (i.e. version) will be associated with the download. Continue? - + failed to update mod list: %1 - - + + login successful - + Login failed - + Login failed, try again? - + login failed: %1. Download will not be associated with an account - + login failed: %1 - + login failed: %1. You need to log-in with Nexus to update MO. - + MO1 "Script Extender" load mechanism has left hook.dll in your game folder - - + + Description missing - + <a href="%1">hook.dll</a> has been found in your game folder (right click to copy the full path). This is most likely a leftover of setting the ModOrganizer 1 load mechanism to "Script Extender", in which case you must remove this file either by changing the load mechanism in ModOrganizer 1 or manually removing the file, otherwise the game is likely to crash and burn. - + failed to save load order: %1 - + The designated write target "%1" is not enabled. @@ -4955,12 +4957,6 @@ If the folder was still in use, restart MO and try again. %1 not found - - - - game doesn't support a script extender - - Failed to delete %1