Skip to content

Commit

Permalink
Enable Italian language
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Jan 22, 2024
1 parent d3cb417 commit 78ef070
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion TwitchDownloaderWPF/Services/AvailableCultures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static class AvailableCultures
public static readonly Culture English;
public static readonly Culture Spanish;
public static readonly Culture French;
public static readonly Culture Italian;
public static readonly Culture Polish;
public static readonly Culture Russian;
public static readonly Culture Turkish;
Expand All @@ -29,19 +30,22 @@ public static class AvailableCultures

public static readonly Culture[] All;

// ReSharper disable StringLiteralTypo
static AvailableCultures()
{
All = new[]
{
English = new Culture("en-US", "English"),
Spanish = new Culture("es-ES", "Spanish"),
Spanish = new Culture("es-ES", "Español"),
French = new Culture("fr-FR", "Français"),
Italian = new Culture("it-it", "Italiano"),
Polish = new Culture("pl-PL", "Polski"),
Russian = new Culture("ru-RU", "Русский"),
Turkish = new Culture("tr-TR", "Türkçe"),
Ukrainian = new Culture("uk-ua", "Українська"),
SimplifiedChinese = new Culture("zh-CN", "简体中文")
};
}
// ReSharper enable StringLiteralTypo
}
}
5 changes: 4 additions & 1 deletion TwitchDownloaderWPF/TwitchDownloaderWPF.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<OutputType>WinExe</OutputType>
Expand Down Expand Up @@ -90,6 +90,9 @@
<EmbeddedResource Update="Translations\Strings.fr.resx">
<DependentUpon>Strings.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Translations\Strings.it.resx">
<DependentUpon>Strings.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Translations\Strings.pl.resx">
<DependentUpon>Strings.resx</DependentUpon>
</EmbeddedResource>
Expand Down

0 comments on commit 78ef070

Please sign in to comment.