0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-12 16:50:43 -05:00

Updated file_mismatch_dialog_message message text

This commit is contained in:
Dev 2024-06-02 14:00:19 +01:00
parent c70394659d
commit b40cc2eae4
3 changed files with 9 additions and 3 deletions

View File

@ -160,7 +160,10 @@ namespace SPT.Launcher.Helpers
englishLocale.level = "Level";
englishLocale.game_path = "Game Path";
englishLocale.patching = "Patching";
englishLocale.file_mismatch_dialog_message = "The input file hash doesn't match the expected hash. You may be using the wrong version\nof SPT for your client files.\n\nDo you want to continue?";
englishLocale.file_mismatch_dialog_message = "We noticed your EFT files do not match what we expected to see for SPT: {0}" +
"\nPlease check you have the latest version of live EFT installed" +
"\nIf not, delete SPT, update live EFT and run the Installer in an empty folder again" +
"\n\nAre you sure you want to proceed?";
englishLocale.yes = "Yes";
englishLocale.no = "No";
englishLocale.open_folder = "Open Folder";

View File

@ -26,7 +26,10 @@ namespace SPT.Launcher.Models
{
if(info.Status == ByteBanger.PatchResultType.InputChecksumMismatch)
{
var result = await DialogHost.DialogHost.Show(new ConfirmationDialogViewModel(null, LocalizationProvider.Instance.file_mismatch_dialog_message));
string serverVersion = ServerManager.GetVersion();
var localeText = string.Format(LocalizationProvider.Instance.file_mismatch_dialog_message, serverVersion);
var result = await DialogHost.DialogHost.Show(new ConfirmationDialogViewModel(null, localeText));
if(result != null && result is bool confirmation && !confirmation)
{

View File

@ -63,7 +63,7 @@
"side": "Side",
"level": "Level",
"patching": "Patching",
"file_mismatch_dialog_message": "The input file hash doesn't match the expected hash. You may be using the wrong version\nof SPT for your client files.\n\nDo you want to continue?",
"file_mismatch_dialog_message": "We noticed your EFT files do not match what we expected to see for SPT: {0}\nPlease check you have the latest version of EFT installed\nIf not, delete SPT, update live EFT and run the Installer in an empty folder again\n\nAre you sure you want to proceed?",
"yes": "Yes",
"no": "No",
"open_folder": "Open Folder",