Skip to content

Portable Tool for an Ideal Windows Setup

fix case sensitivity

Greedeks2c75e5a92242
diff --git a/.Source/GTweak/GTweak.csproj b/.Source/GTweak/GTweak.csproj
index e7437db4..1fd449bb 100644
--- a/.Source/GTweak/GTweak.csproj
+++ b/.Source/GTweak/GTweak.csproj
@@ -282,7 +282,7 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
- <Page Include="Languages\pt-br\Localize.xaml">
+ <Page Include="Languages\pt-BR\Localize.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
@@ -294,7 +294,7 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
- <Page Include="Languages\zh-tw\Localize.xaml">
+ <Page Include="Languages\zh-TW\Localize.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
diff --git a/.Source/GTweak/Languages/pt-br/Localize.xaml b/.Source/GTweak/Languages/pt-BR/Localize.xaml
similarity index 100%
rename from .Source/GTweak/Languages/pt-br/Localize.xaml
rename to .Source/GTweak/Languages/pt-BR/Localize.xaml
diff --git a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs
index f32b4d6a..8a40ad1c 100644
--- a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs
+++ b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs
@@ -66,7 +66,7 @@ namespace GTweak.Utilities.Configuration
{
CultureInfo culture = CultureInfo.CurrentUICulture;
string[] parts = culture.Name.Split('-');
- return (culture.TwoLetterISOLanguageName.ToLowerInvariant(), parts.Length > 1 ? parts[1].ToLowerInvariant() : string.Empty);
+ return (culture.TwoLetterISOLanguageName.ToLowerInvariant(), parts.Length > 1 ? parts[1].ToUpperInvariant() : string.Empty);
}
internal ImageSource GetProfileImage()