From 603d67a509892925d7dd1efc4cc61c0340951b74 Mon Sep 17 00:00:00 2001 From: marona Date: Fri, 12 Mar 2021 15:54:24 +0900 Subject: [PATCH 1/2] Fix warning bug --- SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs b/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs index 7f33aaa..b7df764 100644 --- a/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs +++ b/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs @@ -101,7 +101,7 @@ public int Phase Properties.Resources.MSG_Title_GeneralError, MessageBoxButton.OK, MessageBoxImage.Error); return; } - if (!App.Settings.AcceptInstallWarning) + if (value == 6 && !App.Settings.AcceptInstallWarning) { var dialogResult = MessageBox.Show(Properties.Resources.MSG_Desc_InstallWarning, Properties.Resources.MSG_Title_GeneralWarning, MessageBoxButton.YesNo, From d7189a177b50060d22d3847610b4bc6824370969 Mon Sep 17 00:00:00 2001 From: marona Date: Fri, 12 Mar 2021 16:27:00 +0900 Subject: [PATCH 2/2] add localization message on uninstall/enable/disable --- .../Properties/Resources.Designer.cs | 27 +++++++++++++++++++ .../Properties/Resources.ko-KR.resx | 9 +++++++ .../Properties/Resources.resx | 9 +++++++ .../Windows/MainWindow.xaml.cs | 6 ++--- 4 files changed, 48 insertions(+), 3 deletions(-) diff --git a/SCTools/SCTool_Redesigned/Properties/Resources.Designer.cs b/SCTools/SCTool_Redesigned/Properties/Resources.Designer.cs index 0492b7d..9ddcb8c 100644 --- a/SCTools/SCTool_Redesigned/Properties/Resources.Designer.cs +++ b/SCTools/SCTool_Redesigned/Properties/Resources.Designer.cs @@ -269,6 +269,24 @@ public static string MSG_Decs_SelectLocalization { } } + /// + /// Localization disabled.과(와) 유사한 지역화된 문자열을 찾습니다. + /// + public static string MSG_Desc_Disable { + get { + return ResourceManager.GetString("MSG_Desc_Disable", resourceCulture); + } + } + + /// + /// Localization enabled.과(와) 유사한 지역화된 문자열을 찾습니다. + /// + public static string MSG_Desc_Enable { + get { + return ResourceManager.GetString("MSG_Desc_Enable", resourceCulture); + } + } + /// /// Dear friend, ///We are happy to see the interest to our project. @@ -292,6 +310,15 @@ public static string MSG_Desc_InvalidAccess { } } + /// + /// Localization removed successful과(와) 유사한 지역화된 문자열을 찾습니다. + /// + public static string MSG_Desc_Uninstall { + get { + return ResourceManager.GetString("MSG_Desc_Uninstall", resourceCulture); + } + } + /// /// Could't open hyperlink과(와) 유사한 지역화된 문자열을 찾습니다. /// diff --git a/SCTools/SCTool_Redesigned/Properties/Resources.ko-KR.resx b/SCTools/SCTool_Redesigned/Properties/Resources.ko-KR.resx index f05c17a..a448f1e 100644 --- a/SCTools/SCTool_Redesigned/Properties/Resources.ko-KR.resx +++ b/SCTools/SCTool_Redesigned/Properties/Resources.ko-KR.resx @@ -181,6 +181,12 @@ 게임에 적용할 언어팩을 선택하십시오. + + 패치 비활성화 완료 + + + 패치 활성화 완료 + 여러분, 본 프로젝트에 관심을 가져주셔서 감사합니다! @@ -195,6 +201,9 @@ 잘못된 접근입니다. + + 패치 제거 완료 + 하이퍼링크를 열 수 없음 diff --git a/SCTools/SCTool_Redesigned/Properties/Resources.resx b/SCTools/SCTool_Redesigned/Properties/Resources.resx index b77f434..eace264 100644 --- a/SCTools/SCTool_Redesigned/Properties/Resources.resx +++ b/SCTools/SCTool_Redesigned/Properties/Resources.resx @@ -187,6 +187,12 @@ Please select the localization to apply to the game. + + Localization disabled. + + + Localization enabled. + Dear friend, We are happy to see the interest to our project. @@ -201,6 +207,9 @@ By clicking "Yes", you confirm that you have read and understood the warning and Invalid Access + + Localization removed successful + Could't open hyperlink diff --git a/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs b/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs index b7df764..e558079 100644 --- a/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs +++ b/SCTools/SCTool_Redesigned/Windows/MainWindow.xaml.cs @@ -357,7 +357,7 @@ private void UninstallBtn_Click(object sender, RoutedEventArgs e) { _installmode = InstallerMode.uninstall; Phase = 6; - MessageBox.Show("패치 제거 완료"); //왜인진 몰라도 이거 빼면 frame_all content가 안 비워짐.... + MessageBox.Show(Properties.Resources.MSG_Desc_Uninstall); //왜인진 몰라도 이거 빼면 frame_all content가 안 비워짐.... Phase = 3; } @@ -366,9 +366,9 @@ private void DisableBtn_Click(object sender, RoutedEventArgs e) _installmode = InstallerMode.disable; Phase = 6; if (RepositoryManager.TargetInstallation.IsEnabled) - MessageBox.Show("패치 활성화 완료"); + MessageBox.Show(Properties.Resources.MSG_Desc_Enable); else - MessageBox.Show("패치 비활성화 완료"); + MessageBox.Show(Properties.Resources.MSG_Desc_Disable); Phase = 3; }