Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Shin0by committed Oct 26, 2023
1 parent af9d2ad commit 2cca0c2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion StarCitizen Helper/Controls/WL_Modification.vb
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,12 @@ Public Class WL_Modification
RaiseEvent _Event_GameExeFile_Update_Before(Value)
If _VARS.ConfigFileIsOK = False Then Exit Property
If Len(Value) < _VARS.FileNameMinLen + _VARS.FilePathMinLen Then GoTo Finalize
If LCase(Strings.Right(Value, Len(Property_GameExeFileName))) <> LCase(Property_GameExeFileName) Then _LOG._sAdd("MODIFICATION", _LANG._Get("Modification_MSG_IncorrectGameExePath", Property_GameExeFileName), Value, 1) : GoTo Finalize
If _FSO._FileExits(Value) = False Then GoTo Finalize

_JSETTINGS._SetValue("configuration.main", "exe_path", Value, True)
If _JSETTINGS._GetValue("configuration.main.exe_path", Nothing) Is Nothing Then GoTo Finalize

If _FSO._FileExits(Value) = False Then GoTo Finalize
Me.sGameExeFilePath = Value
Me.sGameExeFileName = CType(_FSO._GetFileInfo(Me.sGameExeFilePath).ValueObject, FileInfo).Name
Me.sGameExeFolderPath = CType(_FSO._GetFileInfo(Me.sGameExeFilePath).ValueObject, FileInfo).Directory.FullName
Expand Down
1 change: 1 addition & 0 deletions StarCitizen Helper/Resources/default_chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ Modification_OpenFileDialog_GameFile = 游戏启动文件
Modification_MSG_CoreNotFound = {0}核心未发现, 请检查窗口下方使用提示
Modification_MSG_VersionUnspecified = 未知版本
Modification_ListName_LocalizationType = 本地化变更
Modification_MSG_IncorrectGameExePath = Wrong path to game file: {0}

#SysLanguage
Pack_MSG_CreateLangFolder = 已为软件本地化包创建文件夹:\n\t{0}
Expand Down
1 change: 1 addition & 0 deletions StarCitizen Helper/Resources/default_english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ Modification_OpenFileDialog_GameFile = Game exec file
Modification_MSG_CoreNotFound = {0} not found, check instruction at the bottom of the window
Modification_MSG_VersionUnspecified = unknown version
Modification_ListName_LocalizationType = Localization variations
Modification_MSG_IncorrectGameExePath = Wrong path to game file: {0}

#SysLanguage
Pack_MSG_CreateLangFolder = Created folder for application language packs:\n\t{0}
Expand Down
1 change: 1 addition & 0 deletions StarCitizen Helper/Resources/default_korean.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ Modification_OpenFileDialog_GameFile = 게임 실행파일
Modification_MSG_CoreNotFound = {0} 을/를 찾을 수 없습니다. 창 하단의 지침을 확인하십시오.
Modification_MSG_VersionUnspecified = 알 수 없는 버전
Modification_ListName_LocalizationType = Localization variations
Modification_MSG_IncorrectGameExePath = Wrong path to game file: {0}

#SysLanguage
Pack_MSG_CreateLangFolder = 애플리케이션 언어팩을 위한 폴더 생성됨:\n\t{0}
Expand Down
1 change: 1 addition & 0 deletions StarCitizen Helper/Resources/default_russian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ Modification_OpenFileDialog_GameFile =
Modification_MSG_CoreNotFound = �� ������� ����� {0}, �������� ���������� � ������ ����� ����
Modification_MSG_VersionUnspecified = �� ������������ ������
Modification_ListName_LocalizationType = ������� �����������
Modification_MSG_IncorrectGameExePath = �� ����� ������ ���� � ����� ����: {0}

#SysLanguage
Pack_MSG_CreateLangFolder = ������� ����� ��� �������� �������:\n\t{0}
Expand Down

0 comments on commit 2cca0c2

Please sign in to comment.