Skip to content

Commit

Permalink
fix: patch missing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluefissure committed Dec 15, 2023
1 parent 7a6c7d9 commit a07cc1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/XIVLauncher.Core/Components/MainPage/MainPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1204,10 +1204,14 @@ private void PatcherOnFail(PatchManager.FailReason reason, string versionId)
var dlFailureLoc = Loc.Localize("PatchManDlFailure",
"XIVLauncher could not verify the downloaded game files. Please restart and try again.\n\nThis usually indicates a problem with your internet connection.\nIf this error persists, try using a VPN set to Japan.\n\nContext: {0}\n{1}");

var sdoPatchMissingFailureLoc = Loc.Localize("SdoPatchMissing",
"游戏补丁列表的早期补丁被删除,导致无法通过补丁安装游戏,请手动安装游戏客户端并设置包含 game 文件夹的游戏路径。\nContext: {0}\n{1}");

switch (reason)
{
case PatchManager.FailReason.DownloadProblem:
App.ShowMessageBlocking(string.Format(dlFailureLoc, "Problem", versionId), "XIVLauncherCN Error");
var errorMsg = (versionId == "2014.03.24.0001.000") ? sdoPatchMissingFailureLoc : dlFailureLoc;
App.ShowMessageBlocking(string.Format(errorMsg, "Problem", versionId), "XIVLauncherCN Error");
break;

case PatchManager.FailReason.HashCheck:
Expand Down

0 comments on commit a07cc1f

Please sign in to comment.